@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');
:root{--navy:#0B2545;--gold:#C9A227;--bg:#F3F5F9;--ink:#1d2430}
*{box-sizing:border-box}body{margin:0;font-family:Tahoma,Arial,sans-serif;background:var(--bg);color:var(--ink);direction:rtl}
#banner:empty{display:none}
#banner{background:#fff3cd;color:#7a5b00;text-align:center;padding:6px;font-size:13px}
header{background:var(--navy);color:#fff;padding:12px 20px;display:flex;gap:12px;align-items:center;border-bottom:4px solid var(--gold);flex-wrap:wrap}
header h1{font-size:18px;margin:0;flex:1}header nav button{background:transparent;color:#fff;border:1px solid #ffffff55;margin:2px}
header nav button.on{background:var(--gold);color:var(--navy)}
main{max-width:none;margin:16px 24px;padding:0}
.card{background:#fff;border-radius:8px;padding:14px;margin-bottom:12px;box-shadow:0 1px 3px #0002}
h2{margin:0 0 10px;color:var(--navy);font-size:17px}h3{margin:12px 0 6px;color:var(--navy);font-size:14px;border-bottom:2px solid var(--gold);padding-bottom:3px}
label{display:block;font-size:13px;margin:6px 0 2px}input,select,textarea{width:100%;padding:7px;border:1px solid #b9c2d0;border-radius:5px;font:inherit}
input.bad,select.bad{border-color:#c0392b;background:#fff3f2}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}
.fltbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:10px 0 12px;padding:12px;border:1px solid #dbe2ee;border-radius:12px;background:#f8fafe}
.fltbar .uf{flex:1 1 160px;min-width:130px}.fltbar .uf.rfq{flex:2 1 240px}.fltbar .uf.us{flex:0 1 150px}
.fltbar label{margin:0 0 2px}.fltbar button{flex:0 0 auto}
.dchips{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}
.dchips button{border:1px solid var(--navy);background:#fff;color:var(--navy);border-radius:16px;padding:4px 12px;font:inherit;cursor:pointer}
.dchips button.on{background:var(--navy);color:#fff}
button{background:var(--navy);color:#fff;border:0;padding:8px 14px;border-radius:5px;cursor:pointer;font:inherit}button.sec{background:#e4e8ef;color:var(--navy)}button.warn{background:#a93226}button:disabled{opacity:.5}
table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:6px;border-bottom:1px solid #e3e7ee;text-align:right}th{background:var(--navy);color:#fff}
.tag{display:inline-block;white-space:nowrap;padding:2px 8px;border-radius:10px;font-size:12px;background:#e4e8ef}.tag.submitted{background:#fde9b0}.tag.approved{background:#cdeccd}.tag.returned{background:#f6c9c4}
.err{background:#fde2df;color:#8a1c12;padding:8px;border-radius:5px;margin:8px 0;white-space:pre-line}.ok{background:#dff3df;color:#1d5c1d;padding:8px;border-radius:5px;margin:8px 0}
.note{background:#fff3cd;padding:8px;border-radius:5px;margin:6px 0}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:8px 0}
.thumbs{display:flex;gap:8px;flex-wrap:wrap}.thumbs figure{margin:0;width:150px}.thumbs img{width:150px;height:100px;object-fit:cover;border-radius:4px}
.login{max-width:360px;margin:60px auto}

.pcl{display:inline-flex;align-items:center;gap:6px;border:1px solid #b9c3d3;border-radius:6px;padding:2px 8px;margin:2px;background:#f7f9fc;white-space:nowrap}

.ucard{border:1px solid #d5dbe6;border-radius:8px;padding:12px;margin:12px 0;background:#fbfcfe}
.uhead{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.uf{flex:1 1 220px}.uf.us{flex:0 0 150px}.uhead .sv{flex:0 0 auto}
.ucount{margin:10px 0 6px;font-size:13px;color:#4a5568}
.ulist{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
.pcl2{display:flex;align-items:flex-start;gap:8px;border:1px solid #cfd7e4;border-radius:6px;padding:6px 8px;background:#fff;font-size:12.5px;line-height:1.5;margin:0}
.pcl2 input{width:auto;margin-top:4px}.pcl2 small{color:#5b6677}
@media(max-width:760px){.ulist{grid-template-columns:1fr}}
td{vertical-align:middle}td:nth-child(n){word-break:normal}.tag+*{white-space:nowrap}

.cpd{background:#fff4d6!important;border-color:#e0a800!important}
.cpbanner{background:#fff4d6;border:1px solid #e0a800;padding:8px;margin:8px 0;border-radius:6px;white-space:pre-wrap}
.files{margin:4px 0;padding-inline-start:20px}
.num{direction:ltr;unicode-bidi:isolate-override;display:inline-block}

.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.pcard{display:flex;flex-direction:column;gap:6px;text-align:right;background:#fff;border:1px solid #d5dbe6;border-radius:10px;padding:14px;color:inherit;font:inherit;cursor:pointer}
.pcard b{font-size:16px;color:var(--navy)}.pcard span{font-size:13px;color:#444}.pcard em{font-style:normal;font-size:12px;border-radius:10px;padding:2px 8px;align-self:flex-start}
.pcard em.on{background:#dff3e4;color:#14682b}.pcard em.warn{background:#fff4d6;color:#7a5b00}.pcard.off{background:#f1f3f6;cursor:default;opacity:.8}.pcard em.off{background:#e3e7ee;color:#555}

.logochip{display:inline-block;background:#fff;border-radius:8px;padding:3px 8px;margin-inline-end:10px;vertical-align:middle}.logochip img{height:34px;width:auto;display:block}
.hero{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid #d5dbe6;border-top:4px solid var(--navy);border-radius:12px;padding:18px 22px;margin-bottom:14px}
.hero img{height:100px;width:auto;max-width:42%}.hero h2{margin:0 0 4px;color:var(--navy);font-size:22px}.hero .sub{color:#8a6d00;font-weight:700;margin-bottom:8px}
.hero .ppl{display:flex;gap:22px;flex-wrap:wrap;font-size:14px;color:#333}.hero .ppl span{background:#f3f5f9;border-radius:8px;padding:4px 10px}
.credit{direction:rtl;text-align:left;padding:18px 22px 22px;font-size:12px;color:#5b6678}
@media(max-width:640px){.hero{flex-direction:column;text-align:center}.hero img{max-width:80%}}
main{min-height:60vh}

main.homebg{position:relative}main.homebg::before{content:'';position:fixed;inset:0;background:url(ets-logo.jpg) center 58%/min(72vw,920px) auto no-repeat;opacity:.055;mix-blend-mode:multiply;pointer-events:none;z-index:0}main.homebg>*{position:relative;z-index:1}
header h1 bdi{white-space:nowrap}


.lgwrap{font-family:'Tajawal','Segoe UI',Tahoma,system-ui,sans-serif;min-height:calc(100vh - 40px);display:flex;align-items:center;justify-content:center;padding:32px 16px;position:relative;overflow:hidden;background:radial-gradient(900px 500px at 85% 10%,rgba(201,162,74,.16),transparent 60%),radial-gradient(800px 600px at 10% 90%,rgba(30,90,200,.28),transparent 60%),linear-gradient(145deg,#050f22,#08183a 55%,#0a2150)}
.lgwrap::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse at center,#000 30%,transparent 75%);mask-image:radial-gradient(ellipse at center,#000 30%,transparent 75%)}
.lgshell{position:relative;width:min(920px,100%);display:grid;grid-template-columns:1fr 1fr;border-radius:28px;overflow:hidden;background:#fff;border:1px solid rgba(226,189,92,.45);box-shadow:0 40px 90px -20px rgba(0,0,0,.65),0 0 0 6px rgba(255,255,255,.04),0 0 80px rgba(201,162,74,.12);animation:lgrise .9s cubic-bezier(.2,.8,.2,1) both}
@keyframes lgrise{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}
.card.login.lg{margin:0;max-width:none;border:0;border-radius:0;box-shadow:none;background:#fff;padding:52px 46px;display:flex;flex-direction:column;justify-content:center;position:relative}
.card.login.lg::after{content:"";position:absolute;top:8%;bottom:8%;left:0;width:1px;background:linear-gradient(transparent,#c9a24a,transparent)}
.lgeye{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;letter-spacing:.12em;color:#a8822f;margin-bottom:10px}
.lgeye::before{content:"";width:26px;height:2px;background:linear-gradient(90deg,#f1d98a,#a8822f)}
.card.login.lg h2{font-size:30px;font-weight:800;margin:0;color:#08183a;border:0;padding:0;line-height:1.2}
.lgwel{margin:6px 0 22px;color:#566684;font-size:16px}
.card.login.lg label{display:block;text-align:right;font-size:15px;font-weight:700;color:#0d2757;margin:14px 0 7px}
.card.login.lg input{width:100%;height:52px;padding:0 16px;border:1.5px solid #e3e8f1;border-radius:14px;font-size:16px;background:#f8fafd;color:#0b1b3a;transition:.25s}
.card.login.lg input::placeholder{color:#a5b0c6}
.card.login.lg input:focus{outline:none;background:#fff;border-color:#c9a24a;box-shadow:0 0 0 4px rgba(201,162,74,.18),0 8px 22px -10px rgba(201,162,74,.5)}
.pwbox{display:flex;gap:10px}.pwbox input{flex:1}.pwbox button{height:52px;padding:0 18px;white-space:nowrap;border:1.5px solid #e3e8f1;border-radius:14px;background:#eef2f9;color:#0d2757;font-weight:700;font-size:14px}
.pwbox button:hover{background:#e3e9f4;border-color:#e2bd5c}
.lgbtn{position:relative;overflow:hidden;width:100%;height:54px;margin-top:24px;border:0;border-radius:14px;font-size:17px;font-weight:800;color:#fff;background:linear-gradient(180deg,#14397a,#08183a);border-bottom:3px solid #c9a24a;box-shadow:0 16px 30px -12px rgba(8,24,58,.75);transition:transform .2s,box-shadow .2s}
.lgbtn::after{content:"";position:absolute;top:0;bottom:0;width:60px;left:-80px;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);transition:left .7s}
.lgbtn:hover{transform:translateY(-2px);box-shadow:0 22px 36px -12px rgba(8,24,58,.85)}.lgbtn:hover::after{left:120%}
.lgbrand{position:relative;padding:48px 36px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;overflow:hidden;background:radial-gradient(420px 320px at 80% 0%,rgba(226,189,92,.22),transparent 65%),linear-gradient(160deg,#16408a,#0a2150 55%,#06142f)}
.lgbrand::before{content:"";position:absolute;inset:0;opacity:.5;background:repeating-linear-gradient(90deg,transparent 0 38px,rgba(255,255,255,.04) 38px 39px);-webkit-mask-image:linear-gradient(transparent,#000 80%);mask-image:linear-gradient(transparent,#000 80%)}
.lgring{position:absolute;width:420px;height:420px;border-radius:50%;border:1px solid rgba(226,189,92,.18);top:-140px;right:-140px}.lgring.two{width:300px;height:300px;top:-80px;right:-80px;border-color:rgba(226,189,92,.28)}
.lgplate{position:relative;z-index:1;width:340px;padding:16px 16px;border-radius:20px;background:linear-gradient(180deg,#fff,#f6f2e6);border:1px solid #f1d98a;box-shadow:0 18px 40px -14px rgba(0,0,0,.6),inset 0 0 0 4px rgba(255,255,255,.7)}
.lglogo{display:block;width:100%;height:auto}
.lgname{position:relative;z-index:1;margin-top:30px;font-size:38px;font-weight:800;letter-spacing:.14em;direction:ltr;color:#fff}
.lgrule{position:relative;z-index:1;width:84px;height:3px;border-radius:3px;margin:12px auto 14px;background:linear-gradient(90deg,transparent,#f1d98a,#c9a24a,transparent)}
.lgsub{position:relative;z-index:1;font-size:18px;color:#e6eefc;line-height:1.5}
.lgcred{position:relative;z-index:1;margin-top:30px;font-size:19px;font-weight:700;color:#c3d1ee;line-height:1.5}.lgcred b{color:#f1d98a;font-size:inherit;font-weight:800;margin-inline-start:6px;text-shadow:0 1px 8px rgba(226,189,92,.35)}
.lgopts{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:14.5px;color:#566684}
.lgchk{display:flex;align-items:center;gap:8px;cursor:pointer;margin:0!important;font-weight:400!important;color:#566684!important;font-size:14.5px!important}
.card.login.lg .lgchk input{width:16px;height:16px;padding:0;accent-color:#c9a24a}
.lgopts a{color:#14397a;text-decoration:none;font-weight:700}.lgopts a:hover{color:#a8822f}
.lgnote{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff8e6;border:1px solid #ecd9a0;color:#6a5310;font-size:14.5px;line-height:1.7}
.urs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 4px;padding:10px;border:1px dashed #cfd7e6;border-radius:10px;background:#fafcff}.urs label{flex:1 1 100%;font-size:12.5px;color:#33415a;margin:0}.urs input{flex:1 1 150px;max-width:220px}
@media(max-width:760px){.lgshell{grid-template-columns:1fr}.lgbrand{order:-1;padding:22px 16px 20px}.lgplate{width:250px;padding:12px}.lgname{margin-top:14px;font-size:30px}.lgrule{margin:8px auto 10px}.lgsub{font-size:16.5px}.lgcred{margin-top:12px;font-size:17px}.card.login.lg{padding:24px 22px 26px}.card.login.lg h2{font-size:27px}.lgwel{margin-bottom:12px}.card.login.lg::after{display:none}}
@media(prefers-reduced-motion:reduce){.lgshell,.lgbtn{animation:none!important;transition:none!important}}
/* ---- Home refinement (navy / gold, same family as the login) ---- */
body{background:linear-gradient(180deg,#eef2f8,#f6f8fc 40%,#eef2f8)}
header{background:linear-gradient(135deg,#061a38,#0B2545 55%,#0f3567);border-bottom:3px solid transparent;border-image:linear-gradient(90deg,#8a6d12,#e6c75a,#8a6d12) 1;box-shadow:0 8px 24px -12px rgba(5,15,34,.6);padding:12px 22px}
header h1{font-size:19px;letter-spacing:.3px}
header nav button{border-radius:999px;border:1px solid rgba(255,255,255,.28);padding:6px 14px;transition:.2s}
header nav button:hover{background:rgba(255,255,255,.12)}
header nav button.on{background:linear-gradient(180deg,#e6c75a,#C9A227);color:#08183a;border-color:#e6c75a;font-weight:700}
.logochip{border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.hero{position:relative;overflow:hidden;gap:28px;padding:26px 30px;border:1px solid rgba(226,189,92,.5);border-top:1px solid rgba(226,189,92,.5);border-radius:20px;color:#fff;background:radial-gradient(420px 260px at 85% 0%,rgba(226,189,92,.2),transparent 65%),linear-gradient(150deg,#16408a,#0a2150 55%,#06142f);box-shadow:0 24px 50px -22px rgba(5,15,34,.7)}
.hero::before{content:"";position:absolute;width:380px;height:380px;border-radius:50%;border:1px solid rgba(226,189,92,.2);top:-150px;inset-inline-end:-120px;pointer-events:none}
.hero .hplate{position:relative;flex:0 0 auto;width:250px;max-width:40%;background:linear-gradient(180deg,#fff,#f6f2e6);border:1px solid #f1d98a;border-radius:16px;padding:12px;box-shadow:0 14px 30px -12px rgba(0,0,0,.6)}.hero .hplate img{display:block;width:100%;height:auto;max-width:none}
.hero>div{position:relative}
.hero h2{color:#fff;font-size:26px;line-height:1.4;margin:0 0 6px}
.hero .sub{display:inline-block;color:#f1d98a;font-size:17px;font-weight:700;margin-bottom:14px;padding-bottom:6px;border-bottom:2px solid #C9A227}
.hero .ppl{gap:10px}.hero .ppl span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#eaf1ff;font-size:15px;padding:6px 14px;border-radius:999px}
.hero .ppl span:last-child{background:rgba(226,189,92,.18);border-color:rgba(226,189,92,.55);color:#f6df9a;font-weight:700}
main>.card>h2{color:#0B2545;font-size:22px}
.pcard{position:relative;overflow:hidden;gap:8px;border:1px solid #dbe2ee;border-radius:16px;padding:18px 18px 16px;background:linear-gradient(180deg,#fff,#fafcff);box-shadow:0 8px 20px -14px rgba(11,37,69,.45);transition:transform .2s,box-shadow .2s,border-color .2s}
.pcard::before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#e6c75a,#C9A227)}
.pcard:not(.off):hover{transform:translateY(-3px);border-color:#e2bd5c;box-shadow:0 18px 32px -16px rgba(11,37,69,.55)}
.pcard b{font-size:18px}.pcard span{font-size:14px;color:#46536b;line-height:1.6}
.pcard em{font-weight:700;font-size:12.5px;padding:3px 11px}
.pcard.off::before{background:#cfd6e3}
.credit{font-size:15px;padding:20px 22px 26px;color:#33415a;font-weight:700}
@media(max-width:640px){.hero{padding:20px 18px;gap:16px}.hero .hplate{width:230px;max-width:75%}.hero h2{font-size:21px}.hero .ppl span{font-size:14px}}

/* ---- Home alternatives (preview) ---- */
.hh{position:relative;overflow:hidden;display:flex;align-items:center;gap:26px;padding:22px 28px;margin-bottom:16px;border-radius:20px;color:#fff;border:1px solid rgba(226,189,92,.5);background:radial-gradient(420px 240px at 12% 0%,rgba(226,189,92,.18),transparent 65%),linear-gradient(150deg,#16408a,#0a2150 55%,#06142f);box-shadow:0 24px 50px -22px rgba(5,15,34,.7)}
.hplate{flex:0 0 auto;width:210px;max-width:38%;background:linear-gradient(180deg,#fff,#f6f2e6);border:1px solid #f1d98a;border-radius:16px;padding:10px;box-shadow:0 14px 30px -12px rgba(0,0,0,.6)}.hplate img{display:block;width:100%;height:auto;max-width:none}
.hbig{font-size:40px;font-weight:800;letter-spacing:.12em;direction:ltr;text-align:right;line-height:1.1}
.hco{color:#dbe6fb;font-size:17px;margin:6px 0 12px}
.hh .ppl,.bppl{display:flex;flex-wrap:wrap;gap:8px}.hh .ppl span,.bppl span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#eaf1ff;font-size:14.5px;padding:5px 13px;border-radius:999px}
.hh .ppl span.cr,.bppl span.cr{background:rgba(226,189,92,.18);border-color:rgba(226,189,92,.55);color:#f6df9a;font-weight:700}
.tgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.tile{position:relative;text-align:right;display:flex;flex-direction:column;gap:6px;padding:18px 18px 16px;min-height:132px;border-radius:18px;border:1px solid #1d3a6e;color:#fff;font:inherit;cursor:pointer;background:linear-gradient(160deg,#0f2f66,#081a3d);box-shadow:0 14px 28px -16px rgba(5,15,34,.8);transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden}
.tile::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#8a6d12,#e6c75a,#8a6d12)}
.tile.big{grid-column:span 2;min-height:150px;background:linear-gradient(150deg,#16408a,#0a2150 60%,#06142f)}
.tile:not(.off):hover{transform:translateY(-4px);border-color:#e2bd5c}
.tile .tn{position:absolute;top:12px;inset-inline-start:14px;font-style:normal;font-size:13px;color:rgba(241,217,138,.7);letter-spacing:.1em;direction:ltr}
.tile b{font-size:21px;margin-top:14px}.tile span{font-size:14px;color:#cddaf2;line-height:1.6}
.tile em{margin-top:auto;font-style:normal;color:#f1d98a;font-size:14px}.tile em strong{font-size:26px;color:#fff;margin-inline-end:4px}
.tile.off{background:#e9edf4;border-color:#d5dbe6;color:#56637b;cursor:default;box-shadow:none}.tile.off span{color:#6b7790}.tile.off::after{background:#c5cddb}.tile.off .tn{color:#9aa6bb}
.tile.warn::after{background:linear-gradient(90deg,#c98a00,#ffd54a,#c98a00)}
.hB{max-width:760px;margin:0 auto}
.bhero{text-align:center;padding:26px 10px 20px}
.bhero .hplate{margin:0 auto;width:300px;max-width:80%}
.bhero .hbig{margin-top:18px;text-align:center;color:#0B2545;font-size:44px}
.bhero .hco{color:#5b6b86;font-size:18px;margin:8px 0 6px}
.bhero .bw{display:inline-block;margin-top:10px;padding:6px 18px;border-radius:999px;background:#fff8e6;border:1px solid #ecd9a0;color:#6a5310;font-weight:700}
.blist{background:#fff;border-radius:20px;border:1px solid #dbe2ee;box-shadow:0 18px 40px -26px rgba(11,37,69,.5);overflow:hidden}
.brow{display:flex;align-items:center;gap:14px;width:100%;text-align:right;padding:16px 22px;background:#fff;border:0;border-bottom:1px solid #edf0f6;border-radius:0;font:inherit;color:#0B2545;cursor:pointer;transition:background .15s}
.brow:last-child{border-bottom:0}.brow:not(.off):hover{background:#f7f3e4}
.brow .bt{flex:1;display:flex;flex-direction:column;gap:3px}.brow .bt b{font-size:18px;color:#0B2545}.brow .bt small{font-size:14px;color:#5b6b86}
.brow em{font-style:normal;font-size:13.5px;font-weight:700;background:#eef2f9;color:#14397a;padding:3px 12px;border-radius:999px}
.brow .ba{font-style:normal;font-size:28px;color:#C9A227;line-height:1;width:18px;text-align:center}
.brow.off{background:#f6f7fa;cursor:default}.brow.off .bt b{color:#7a8599}
.bppl{justify-content:center;margin:18px 0 6px}.bppl span{background:#fff;border:1px solid #dbe2ee;color:#33415a}.bppl span.cr{background:#fff8e6;border-color:#ecd9a0;color:#6a5310}
@media(max-width:820px){.tgrid{grid-template-columns:1fr 1fr}.hh{flex-direction:column;text-align:center;padding:20px 16px}.hh .ppl{justify-content:center}.hbig{text-align:center;font-size:32px}}
@media(max-width:520px){.tgrid{grid-template-columns:1fr}.tile.big{grid-column:auto}.bhero .hbig{font-size:34px}}
.tile.warn{background:linear-gradient(160deg,#0f2f66,#081a3d);color:#fff;border-color:#1d3a6e}.tile.warn span{color:#cddaf2}.tile.warn .tn{color:rgba(241,217,138,.7)}
main.homebg:has(.hA)::before,main.homebg:has(.hB)::before{display:none}
/* home C: light cream + navy hero + gold */
body.hc{background:linear-gradient(180deg,#f4efe2,#faf7ef 40%,#f1ebdb)}
body.hc header{background:#fff;color:var(--navy);border:1px solid #e7dcc0;border-image:none;border-radius:20px;margin:14px 24px 0;max-width:none;box-shadow:0 10px 26px -18px rgba(11,37,69,.5)}
body.hc header nav button{background:#fff;color:var(--navy);border:1px solid #d9c98f}
body.hc header nav button.on{background:linear-gradient(180deg,#e6c75a,#C9A227);color:#08183a}
body.hc header>span{color:#333}
.hC .chero{display:flex;align-items:center;gap:28px;padding:26px 30px;border-radius:22px;color:#fff;border:1px solid rgba(226,189,92,.55);background:radial-gradient(420px 240px at 85% 0%,rgba(226,189,92,.22),transparent 65%),linear-gradient(150deg,#16408a,#0B2545 60%,#061a38);box-shadow:0 18px 36px -22px rgba(11,37,69,.8)}
.hC .chero .hplate{width:260px;max-width:40%}
.hC .cs{border:0;margin:24px 4px 10px;font-size:20px;color:var(--navy);display:flex;align-items:center;gap:12px}.hC .cs::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,#e6c75a,transparent)}
.hC .crow1,.hC .crow2{display:flex;flex-wrap:wrap;gap:14px}
.hC .cc{position:relative;flex:1 1 220px;display:flex;flex-direction:column;gap:6px;text-align:right;background:#fff;color:inherit;border:1px solid #e7dcc0;border-radius:18px;padding:18px 20px;box-shadow:0 10px 22px -16px rgba(11,37,69,.5);font:inherit;cursor:pointer;transition:.2s}
.hC .cc:not(.off):hover{transform:translateY(-3px);border-color:#C9A227}
.hC .cc b{font-size:20px;color:var(--navy)}.hC .cc small{font-size:15px;color:#4a5568;line-height:1.6}
.hC .cc.big{flex-basis:290px;min-height:150px;background:linear-gradient(160deg,#fff,#fbf4de);border:2px solid #C9A227}.hC .cc.big b{font-size:24px}
.hC .cc .cn{font-size:34px;font-weight:800;color:#C9A227;line-height:1}.hC .cc:not(.big) .cn{font-size:26px;color:var(--navy)}.hC .cc .cn:empty{display:none}
.hC .cc em{font-style:normal;font-size:14px;font-weight:700;color:#7a5b00;background:#fff4d6;border-radius:999px;padding:3px 12px;align-self:flex-start}
.hC .cc em.ob{background:#e3e7ee;color:#555}.hC .cc.off{background:#f1efe8;opacity:.85;cursor:default}
.hC .cnote{font-size:14px;color:#5b6475;margin:18px 4px 0}
@media(max-width:640px){.hC .chero{flex-direction:column;text-align:center;padding:20px 16px}.hC .chero .hplate{width:230px;max-width:75%}.hC .hbig{text-align:center;font-size:32px}.hC .ppl{justify-content:center}body.hc header{border-radius:14px;margin:8px}}
.hC .ppl{display:flex;flex-wrap:wrap;gap:10px}.hC .ppl span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#eaf1ff;font-size:15px;padding:6px 14px;border-radius:999px}
.hC .ppl span.cr{background:rgba(226,189,92,.2);border-color:rgba(226,189,92,.6);color:#f6df9a;font-weight:700}
main.homebg:has(.hC)::before{display:none}
/* report form (same family as the home page) */
.fsec{background:#fff;border:1px solid #e7dcc0;border-radius:16px;padding:16px 20px 18px;margin:14px 0;box-shadow:0 10px 22px -18px rgba(11,37,69,.5);border-inline-start:5px solid #C9A227;position:relative}
.fsec h3{margin:0 0 12px;font-size:19px;color:var(--navy);border:0;padding:0}
.fsec label{font-size:14.5px;font-weight:700;color:#33415c;margin-bottom:5px;display:block}
.fsec input,.fsec select,.fsec textarea,body.hc main .card input[type=date],body.hc main .card select{font-size:15px;border-radius:10px;border:1px solid #cfd6e3;padding:9px 12px;background:#fff}
.fsec input,.fsec select{min-height:44px}
.fsec input:focus,.fsec select:focus,.fsec textarea:focus{outline:0;border-color:#C9A227;box-shadow:0 0 0 3px rgba(201,162,39,.25)}
.fsec[data-s="العمالة والمعدات"],.fsec[data-s="التقييمات"],.fsec[data-s="التكاليف"]{border:2px dashed #d9c98f;border-inline-start:5px solid #d9c98f;background:#fffdf6}
.fsec[data-s="العمالة والمعدات"] h3::after,.fsec[data-s="التقييمات"] h3::after,.fsec[data-s="التكاليف"] h3::after{content:"اختياري، اتركه فارغًا إن لم يلزم";font-size:13px;font-weight:700;color:#7a5b00;background:#fff4d6;border-radius:999px;padding:3px 12px;margin-inline-start:10px}
body.hc main .card>h2:first-child{font-size:24px;color:var(--navy)}
#btns button{font-size:16px;padding:11px 22px;border-radius:12px}
#btns button:not(.sec){background:linear-gradient(160deg,#16408a,#0B2545);border:1px solid #C9A227}
@media(max-width:640px){.fsec{padding:14px 14px 16px}}
body.hc main .card label{font-size:14.5px;font-weight:700;color:#33415c}

/* Report form: reference look (approved 26 Nov) - navy hero, numbered sections, step nav, sticky bar */
.fwrap{display:flex;gap:18px;align-items:flex-start}
.fwrap>.card{flex:1 1 auto;min-width:0}
.fsteps{flex:0 0 235px;position:sticky;top:12px;background:#fff;border:1px solid #e7dcc0;border-radius:16px;padding:14px;box-shadow:0 10px 22px -18px rgba(11,37,69,.5)}
.fsteps h4{margin:0 0 10px;font-size:15px;color:var(--navy)}
.fsteps button{display:flex;align-items:center;gap:8px;width:100%;background:none;border:0;padding:7px 6px;border-radius:8px;font-size:13.5px;color:#33415c;cursor:pointer;text-align:start}
.fsteps button:hover{background:#f6f1e3}
.fsteps .fn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#eef2f6;color:#33415c;font-size:12px;font-weight:700;flex:0 0 auto}
.fsteps .fdn{margin-inline-start:auto;color:#1d7a3d;font-weight:800;visibility:hidden}
.fsteps button.done .fn{background:#1d7a3d;color:#fff}
.fsteps button.done .fdn{visibility:visible}
.fhero{display:flex;justify-content:space-between;gap:14px;align-items:center;background:linear-gradient(135deg,#0b2545,#123a6b);color:#fff;border-radius:16px;padding:18px 22px;margin-bottom:14px}
.fhero h2{color:#fff;margin:0 0 4px}
.fhero p{margin:0;font-size:13px;color:#cdd9ea}
.fhchips{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.fhchips .chip{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:999px;padding:5px 12px;font-size:12.5px}
.fsec h3::before{content:var(--sn);display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;font-size:14px;margin-inline-end:8px}
.fbar{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#0b2545;color:#fff;border-radius:14px;padding:10px 16px;margin-top:14px;z-index:5}
.fbar #reqcnt{font-size:13px;color:#cdd9ea}
.fbar .row{margin:0}
@media(max-width:1100px){.fsteps{display:none}}
@media(max-width:760px){
.fbar{flex-direction:column;align-items:stretch;gap:6px;padding:8px 12px;border-radius:12px}
.fbar #reqcnt{text-align:center;font-size:12px;order:-1}
.fbar .row{display:flex;gap:8px;flex-wrap:nowrap}
.fbar .row button{flex:1;padding:9px 6px;font-size:14px;white-space:nowrap}
}
.tscroll{overflow-x:auto}
.tscroll th{white-space:nowrap}
@media(max-width:760px){.tscroll table{min-width:600px}.tscroll table.hist{min-width:820px}}
/* ===== v8: utility strip ===== */
.ustrip{display:flex;align-items:center;gap:10px;background:#08183a;color:#fff;padding:6px 14px;font-size:13px;position:relative;z-index:60}
.uavatar{display:flex;align-items:center;gap:7px;cursor:pointer;padding:3px 8px;border-radius:20px;white-space:nowrap}
.uavatar:hover{background:#ffffff18}
.avc{width:26px;height:26px;border-radius:50%;background:#C9A227;color:#08183a;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.uavimg{width:26px;height:26px;border-radius:50%;object-fit:cover;border:1.5px solid #C9A227}
.uavn{font-weight:600}
.uavr{color:#ffffff99;font-size:11px}
.udrop{position:absolute;top:calc(100% - 2px);right:auto;inset-inline-start:6px;background:#fff;color:#0B2545;border:1px solid #d5dbe5;border-radius:10px;box-shadow:0 8px 24px #0003;min-width:200px;display:flex;flex-direction:column;overflow:hidden;z-index:70}
.udrop button{background:none;border:none;text-align:right;padding:9px 14px;font-size:13px;cursor:pointer;color:#0B2545;font-family:inherit}
.udrop button:hover:not(:disabled){background:#f2f5fa}
.udrop button:disabled{color:#999;cursor:not-allowed}
.udrop .unone{padding:10px 14px;color:#888;font-size:12.5px}
.ubellw{position:relative}
.ubtn{display:flex;align-items:center;gap:5px;background:none;border:1px solid #ffffff44;color:#fff;border-radius:16px;padding:4px 11px;font-size:12.5px;cursor:pointer;font-family:inherit}
.ubtn:hover{background:#ffffff14}
.ubadge{background:#C9A227;color:#08183a;border-radius:9px;font-size:11px;font-weight:700;padding:0 6px;margin-inline-start:2px}
.usearch{display:flex;align-items:center;gap:6px;background:#ffffff12;border:1px solid #ffffff2e;border-radius:16px;padding:4px 10px;position:relative;flex:0 1 300px}
.usearch input{background:none;border:none;outline:none;color:#fff;font-family:inherit;font-size:12.5px;flex:1;min-width:0}
.usearch input::placeholder{color:#ffffff80}
.usdrop{inset-inline-start:0;top:calc(100% + 4px);max-height:280px;overflow-y:auto}
.usdrop button small{color:#888;display:block;font-size:11px}
.ugold{display:flex;align-items:center;gap:5px;background:#C9A227;color:#08183a;border:none;border-radius:16px;padding:4px 12px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit;white-space:nowrap}
.ugold:hover{background:#d9b53a}
.ulogout{background:none;border:1px solid #ffffff44;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none;padding:0}
.ulogout svg{flex:none}
.ulogout:hover{background:#ffffff14}
/* ===== v8: issues ===== */
.thread{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.imsg{background:#f2f5fa;border:1px solid #dfe5ee;border-radius:10px;padding:9px 12px;font-size:13px;line-height:1.8}
.imsg .who{font-size:11px;color:#667;margin-bottom:2px}
.imsg.istatus{background:#fff8e6;border-color:#e8d48a;color:#6b5a12}
.iphoto{max-width:280px;max-height:200px;border-radius:8px;border:1px solid #ccc;display:block;margin-top:4px}
.ist{display:inline-block;border-radius:12px;padding:1px 10px;font-size:11.5px;font-weight:700}
.ist-new{background:#fde2e1;color:#b3261e}
.ist-prog{background:#fff3cd;color:#8a6200}
.ist-done{background:#d8f0e2;color:#1a7a4a}
.ist-esc{background:#e4e9fb;color:#27408b}
.iesc{border-color:#27408b !important;color:#27408b !important}
/* ===== v8: comparison ===== */
td.wkc{background:#f2f5fa}
th.wkc{background:#14325e}
.secrow td{background:#eef1f7;font-weight:700;color:#0B2545;text-align:right}
td.up{color:#1a7a4a;font-weight:700}
td.dn{color:#b3261e;font-weight:700}
td.eq{color:#777}
.csell{display:flex;flex-wrap:wrap;gap:4px 14px;background:#fff;border:1px solid #d5dbe5;border-radius:8px;padding:8px 10px;max-height:120px;overflow-y:auto}
.csell label{display:flex;align-items:center;gap:5px;font-size:12.5px;cursor:pointer;white-space:nowrap}
.muted{color:#888}

.udrop[hidden]{display:none}
/* لوحة النسب */
.dshwrap{margin:0 -4px}.dshtop{background:#14213d;color:#fff;border-radius:16px;padding:14px 22px;margin-bottom:10px;position:sticky;top:0;z-index:60}
.dshbr{display:flex;align-items:center;gap:14px}.dshlogo{width:44px;height:44px;border-radius:8px;background:#fff;padding:2px}
.dshtop small{color:#c9a24a}
.dshg{display:grid;grid-template-columns:1fr 400px;gap:14px}
@media(max-width:1100px){.dshg{grid-template-columns:1fr}}
.dshsub{font-size:12px;color:#55607a;line-height:1.7;margin:0 0 10px}
.dshhd,.dshrow{display:grid;grid-template-columns:200px 130px 1fr 130px;gap:12px;align-items:center}
.dshhd{font-size:12px;color:#fff;background:#14213d;border-radius:8px;padding:8px 12px}
.dshrow{padding:12px;border-bottom:1px solid #e3e7ef}
.dshnm{font-weight:700;font-size:13.5px}.dshnm small{display:block;font-weight:400;color:#55607a;font-size:12px}
.dshpv{font-size:12px;color:#55607a;line-height:1.9}.dshpv span{display:block}.dshpv b{color:#14213d;font-size:14px}
.dshdv{position:relative;height:24px}.dshax{position:absolute;left:50%;top:-4px;bottom:-4px;width:2px;background:#14213d}
.dshvb{position:absolute;top:2px;height:20px;border-radius:4px}
.dshdv em{position:absolute;top:2px;font-style:normal;font-weight:800;font-size:14px}
.dshst{font-size:12px;font-weight:700;margin-top:2px}
.dshnone{color:#8a94a6;font-size:12.5px}
.dshcbox{border-top:5px solid #c9a24a}
.dshcr{display:grid;grid-template-columns:1fr 70px 46px;gap:6px 10px;align-items:center;padding:11px 0;border-bottom:1px solid #e3e7ef}
.dshcr strong{font-size:13px}.dshcr small{color:#55607a;font-size:11px;display:block}
.dshcb{height:10px;background:#e3e7ef;border-radius:5px;position:relative}
.dshcb i{position:absolute;right:0;top:0;bottom:0;background:#c9a24a;border-radius:5px}
.dshcr>b{font-size:14px}.dshcr>small{grid-column:1/-1;margin-top:-4px}

.dshwrap .fltbar{position:sticky;top:72px;z-index:59}

/* ===== v9.5 OCEAN THEME: blue + teal on cool white (matches the reference pages), all tabs ===== */
:root{--navy:#0b3a66;--gold:#1590d4;--bg:#eef3f9;--ink:#16324f;--o1:#0b5fa5;--o2:#1590d4;--o3:#0a7fb8;--teal:#00a79d;--o9:#06223f;--tx:#16324f;--mut:#5b7088;--line:rgba(15,76,129,.13);--sh:0 18px 40px -26px rgba(11,58,102,.35);--gr:linear-gradient(135deg,#0b5fa5,#0a7fb8 60%,#00a79d);--gb:linear-gradient(135deg,#1590d4,#0b5fa5)}
html,body{background:#eef3f9}
body{font-family:'Tajawal','Segoe UI',Tahoma,Arial,sans-serif;color:var(--tx);background:radial-gradient(900px 480px at 92% -8%,rgba(0,167,157,.12),transparent 60%),radial-gradient(900px 520px at 0% 0%,rgba(11,95,165,.10),transparent 60%),#eef3f9;background-attachment:fixed}
body.hc{background:radial-gradient(900px 480px at 92% -8%,rgba(0,167,157,.12),transparent 60%),radial-gradient(900px 520px at 0% 0%,rgba(11,95,165,.10),transparent 60%),#eef3f9;background-attachment:fixed}
main.homebg::before{display:none}
/* utility strip */
.ustrip{background:transparent;color:var(--tx);padding:14px 24px 4px;gap:12px}
.uavatar{padding:3px 6px 3px 10px;border-radius:30px}.uavatar:hover{background:#fff}
.avc{width:40px;height:40px;font-size:17px;background:var(--gb);color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 5px rgba(11,95,165,.25)}
.uavimg{width:40px;height:40px;border-color:#fff;box-shadow:0 0 0 4px rgba(11,95,165,.25)}
.uavn{font-size:15px;font-weight:800;color:var(--o9)}.uavr{color:var(--mut)}
.ustrip #usq{background:#fff;border:1px solid var(--line);color:var(--tx);border-radius:14px;box-shadow:none}
.ustrip #usq::placeholder{color:#8aa0b8}
.ubtn{background:#fff;color:var(--tx);border:1px solid var(--line);border-radius:13px;padding:8px 14px;font-size:13.5px;font-weight:700;box-shadow:0 6px 16px -12px rgba(11,58,102,.5)}
.ubtn:hover{background:#eaf4fc;border-color:var(--o2)}
.ubadge{background:#e0463f;color:#fff}
.ugold{background:var(--gb);color:#fff;border-radius:13px;padding:9px 16px;font-size:13.5px;box-shadow:0 12px 24px -10px rgba(11,95,165,.6)}
.ugold:hover{background:linear-gradient(135deg,#2aa7e0,#0b5fa5)}
.ustrip>button:last-child:not(.ugold):not(.ubtn){background:#fff;border:1px solid var(--line);color:#d64541;border-radius:13px}
.udrop{border-color:var(--line);box-shadow:0 30px 60px -24px rgba(11,58,102,.4);border-radius:16px}
.udrop button{color:var(--o9)}.udrop button:hover:not(:disabled){background:#eaf4fc}
/* header + tabs */
header,body.hc header{background:#fff;color:var(--o9);border:1px solid var(--line);border-image:none;border-radius:22px;margin:10px 24px 0;box-shadow:var(--sh);padding:10px 14px;gap:14px;flex-wrap:nowrap;align-items:center}
header h1{flex:0 0 auto;font-size:0;margin:0;color:var(--o9)}
header h1 bdi{display:none}
.logochip{background:#fff;border:1px solid var(--line);border-radius:14px;padding:4px 10px;margin:0;box-shadow:0 8px 18px -10px rgba(11,95,165,.5)}
.logochip img{height:40px}
header nav{flex:1 1 auto;display:flex;flex-wrap:wrap;gap:6px}
header nav button,body.hc header nav button{background:#f7fafd;color:#35557a;border:1px solid var(--line);border-radius:999px;padding:8px 14px;margin:0;font-size:13.5px;font-weight:600;transition:.2s}
header nav button:hover{background:#eaf4fc;color:var(--o1);border-color:var(--o2)}
header nav button.on,body.hc header nav button.on{background:var(--gb);color:#fff;border-color:transparent;font-weight:800;box-shadow:0 10px 22px -8px rgba(11,95,165,.6)}
header>span{color:var(--tx)}
main{margin:18px 24px}
/* surfaces */
.card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--sh);padding:18px}
h2,main>.card>h2,body.hc main .card>h2:first-child{color:var(--o9)}
h3{color:var(--o9);border-bottom:2px solid rgba(21,144,212,.35)}
label{color:#27445f;font-weight:600}
input,select,textarea{border:1px solid rgba(15,76,129,.2);border-radius:12px;background-color:#fff;color:var(--tx);padding:9px 12px;color-scheme:light}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--o2);box-shadow:0 0 0 4px rgba(21,144,212,.18)}
input[type=checkbox]{accent-color:#0b5fa5}
.fltbar{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--sh);padding:16px 18px}
/* buttons */
button{background:var(--gb);color:#fff;border-radius:12px;padding:9px 16px;font-weight:700;box-shadow:0 10px 20px -12px rgba(11,95,165,.7);transition:.2s}
button:hover:not(:disabled){background:linear-gradient(135deg,#2aa7e0,#0b5fa5)}
button.sec{background:#fff;color:var(--o1);border:1px solid rgba(15,76,129,.22);box-shadow:none}
button.sec:hover:not(:disabled){background:#eaf4fc}
button.warn{background:#d64541;box-shadow:none}
.dchips button{border:1px solid var(--line);background:#fff;color:#35557a;border-radius:999px;box-shadow:none}
.dchips button.on{background:var(--gb);color:#fff;border-color:transparent}
input[type=file]::file-selector-button{background:var(--gb);color:#fff;border:0;border-radius:8px;padding:6px 12px;margin-inline-end:10px}
/* heroes */
.hh,.hC .chero,.fhero,.dshtop,.bhero{background:radial-gradient(480px 260px at 90% 0%,rgba(255,255,255,.24),transparent 65%),var(--gr);color:#fff;border:1px solid rgba(255,255,255,.4);box-shadow:0 36px 70px -36px rgba(11,95,165,.55);border-radius:28px}
.hh::before,.hC .chero::before,.fhero::before,.dshtop::before{content:"";position:absolute;width:420px;height:420px;top:-200px;left:-110px;border-radius:50%;border:1px solid rgba(255,255,255,.22);pointer-events:none}
.hh::after,.hC .chero::after,.fhero::after,.dshtop::after{content:"";position:absolute;width:290px;height:290px;top:-125px;left:-45px;border-radius:50%;border:1px solid rgba(255,255,255,.3);pointer-events:none}
.hC .chero,.fhero,.dshtop{position:relative;overflow:hidden}
.fhero{padding:22px 28px}
.fhero>*,.dshtop>*,.hC .chero>*,.hh>*{position:relative;z-index:1}
.fhero h2,.dshtop h2,.dshtop b{color:#fff}
.fhero p,.dshtop small,.dshtop p{color:#e3f3ff}
.hbig,.hC .chero .hbig,.hh .hbig{color:#fff}
.hco{color:#e6f4ff}
.hplate,.hero .hplate,.bhero .hplate{background:#fff;border:1px solid rgba(255,255,255,.7);box-shadow:0 20px 40px -16px rgba(6,34,63,.55)}
.hh .ppl span,.bppl span,.fhchips .chip,.chip{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.34);color:#fff}
.hh .ppl span.cr,.bppl span.cr{background:#fff;color:var(--o1);border-color:transparent}
.dshlogo{background:#fff;border-radius:12px;padding:3px}
.dshtop{padding:18px 26px;position:sticky}
.dshtop small{color:#d4efff}
/* home cards */
.hC .cs{color:var(--o9)}.hC .cs::after{background:linear-gradient(90deg,var(--o2),transparent)}
.hC .cc{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--sh)}
.hC .cc:not(.off):hover{border-color:rgba(21,144,212,.55);box-shadow:0 28px 50px -26px rgba(11,58,102,.45)}
.hC .cc b{color:var(--o9)}.hC .cc small{color:var(--mut)}
.hC .cc.big{background:#fff;border:1px solid var(--line);border-top:4px solid var(--o2)}
.hC .cc .cn,.hC .cc:not(.big) .cn{background:linear-gradient(180deg,#1590d4,#08457a);-webkit-background-clip:text;background-clip:text;color:transparent}
.hC .cc em{background:#e6f1fb;color:var(--o1);border:1px solid rgba(11,95,165,.22)}
.hC .cc em.ob{background:#eef2f7;color:#6b7f95;border-color:var(--line)}
.hC .cc.off{background:#f4f7fb}
.pcard{background:#fff;border-color:var(--line)}.pcard::before{background:var(--gb)}.pcard b{color:var(--o9)}
.tile,.tile.big,.tile.warn{background:var(--gr);border-color:rgba(255,255,255,.3)}.tile::after,.tile.warn::after{background:rgba(255,255,255,.5)}
.tile em{color:#e3f3ff}.tile .tn{color:rgba(255,255,255,.75)}
.tile.off{background:#eef2f7;color:#56637b}
.brow:not(.off):hover{background:#eaf4fc}.brow .ba{color:var(--o2)}.brow em{background:#e6f1fb;color:var(--o1)}
/* tables */
th{background:linear-gradient(135deg,#0b5fa5,#0a7fb8);color:#fff}
th,td{border-bottom:1px solid rgba(15,76,129,.09)}
td{color:#27445f}
tbody tr:hover{background:#eef6fd}
tfoot td,.secrow td{background:#e6f1fb;color:var(--o9)}
.tscroll{border-radius:16px}
.tag{background:#e8eef5;color:#35557a}
.tag.submitted{background:rgba(217,138,11,.14);color:#a86a06}
.tag.approved{background:rgba(15,157,106,.12);color:#0b7f56}
.tag.returned{background:rgba(214,69,65,.12);color:#c23a36}
.ist-prog{background:rgba(217,138,11,.14);color:#a86a06}.ist-esc{background:#e3eefb;color:#0b5fa5}
.err{background:#fde2df;color:#8a1c12}
/* report form */
.fsec{background:#fff;border:1px solid var(--line);border-inline-start:5px solid var(--o2);border-radius:20px;box-shadow:var(--sh)}
.fsec h3{color:var(--o9)}
.fsec label{color:#27445f}
.fsec input,.fsec select,.fsec textarea{border-color:rgba(15,76,129,.2)}
.fsec input:focus,.fsec select:focus,.fsec textarea:focus{border-color:var(--o2);box-shadow:0 0 0 4px rgba(21,144,212,.18)}
.fsec[data-s="العمالة والمعدات"],.fsec[data-s="التقييمات"],.fsec[data-s="التكاليف"]{border:2px dashed rgba(21,144,212,.4);border-inline-start:5px solid rgba(21,144,212,.55);background:#f6fbff}
.fsec[data-s="العمالة والمعدات"] h3::after,.fsec[data-s="التقييمات"] h3::after,.fsec[data-s="التكاليف"] h3::after{background:#e6f1fb;color:var(--o1)}
.fsec h3::before{background:var(--gb)}
.fsteps{border-color:var(--line)}.fsteps h4{color:var(--o9)}.fsteps button{background:none;box-shadow:none;color:#27445f}.fsteps button:hover{background:#eaf4fc}
.fbar{background:linear-gradient(135deg,#0b3a66,#0b5fa5);border-radius:16px}
.fbar button.sec{background:#fff}
/* dashboard */
.dshhd{background:linear-gradient(135deg,#0b5fa5,#0a7fb8);border-radius:12px}
.dshrow{border-bottom-color:rgba(15,76,129,.09)}.dshrow:hover{background:#eef6fd}
.dshax{background:var(--o9)}.dshpv b{color:var(--o9)}.dshsub{color:var(--mut)}
.dshcbox{border-top:5px solid var(--o2)}
.dshcb{background:#e3ebf4}.dshcb i{background:linear-gradient(90deg,#2aa7e0,#0b5fa5)}
.dshwrap .fltbar{top:78px}
/* login */
.lgwrap{background:radial-gradient(900px 500px at 90% -10%,rgba(0,167,157,.3),transparent 60%),linear-gradient(135deg,#06223f,#0b3a66 55%,#0b5fa5)}
.lgshell{border-color:rgba(255,255,255,.5)}
.lgbrand{background:radial-gradient(420px 320px at 80% 0%,rgba(255,255,255,.25),transparent 65%),var(--gr)}
.lgring,.lgring.two{border-color:rgba(255,255,255,.25)}
.lgplate{background:#fff;border-color:rgba(255,255,255,.8)}
.lgrule{background:linear-gradient(90deg,transparent,#fff,transparent)}
.lgcred b{color:#fff;text-shadow:none}.lgcred{color:#e3f3ff}
.lgeye{color:var(--o1)}.lgeye::before{background:var(--gb)}
.card.login.lg h2{color:var(--o9)}.card.login.lg label{color:var(--o9)}
.card.login.lg input:focus{border-color:var(--o2);box-shadow:0 0 0 4px rgba(21,144,212,.18)}
.card.login.lg::after{background:linear-gradient(transparent,var(--o2),transparent)}
.pwbox button{background:#eef6fd;color:var(--o1);box-shadow:none}
.lgbtn{background:linear-gradient(180deg,#0b5fa5,#0a4a85);border-bottom:3px solid var(--teal)}
.lgopts a{color:var(--o1)}.lgnote{background:#eef6fd;border-color:rgba(11,95,165,.2);color:#27445f}
footer{color:var(--mut)}
.ulogout{background:#fff;border:1px solid var(--line);border-radius:13px;padding:8px 11px;box-shadow:0 6px 16px -12px rgba(11,58,102,.5)}
.ulogout:hover:not(:disabled){background:#fdecea}
.ubtn svg{stroke:#0b5fa5}.ubtn .ubadge{margin-inline-start:4px}
header nav button,body.hc header nav button{padding:7px 11px;font-size:13px}
.logochip img{height:34px}
header h1{margin:0}
/* v9.6 cert log: totals row on top; every header and cell centered horizontally AND vertically (Excel center + middle) */
.certlog table th,.certlog table td{text-align:center;vertical-align:middle}
.certlog table td .openbtn,.certlog table td button{margin-inline:2px}
.certlog table tr.tottop td{background:linear-gradient(135deg,#e6f1fb,#dff3f1);color:#06223f;font-weight:800;font-size:15px;border-bottom:3px solid #1590d4;padding:11px 8px;white-space:nowrap}
.certlog table tr.tottop td.tl{text-align:center;font-size:14px}

/* v9.6 all tables: headers, data and totals centered horizontally and vertically */
table th,table td{text-align:center;vertical-align:middle}
/* profile photo preview */
.photobox{position:fixed;inset:0;z-index:9999;background:rgba(6,34,63,.72);display:flex;align-items:center;justify-content:center;cursor:zoom-out;backdrop-filter:blur(3px)}
.photobox .pbin{background:#fff;border-radius:24px;padding:18px;box-shadow:0 40px 80px -20px rgba(0,0,0,.6);display:flex;flex-direction:column;align-items:center;gap:8px;max-width:92vw}
.photobox img{max-width:min(80vw,560px);max-height:68vh;border-radius:16px;object-fit:contain;background:#eef3f9}
.photobox b{color:#06223f;font-size:16px}.photobox small{color:#5b7088}
/* v9.6 dashboard grid rows (div-based tables): centered like the HTML tables */
.dshhd>*,.dshrow>*{text-align:center;justify-self:stretch;align-self:center}
.dshrow .dshpv span{text-align:center}
.dshcr>*{text-align:center}.dshcr strong,.dshcr small{text-align:center}

/* v9.7 documents library */
.tp{display:inline-block;padding:3px 11px;border-radius:999px;font-size:12px;font-weight:800}
.t1{background:#e3eefb;color:#0b5fa5}.t2{background:#dff3f1;color:#007f78}.t3{background:#fdf0d9;color:#a86a06}.t4{background:#efe6fb;color:#6b3fb0}.t5{background:#e8eef5;color:#35557a}
.fold{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--sh);padding:16px 18px;border-top:4px solid var(--o2);display:flex;flex-direction:column;gap:8px;text-align:center;align-items:center}
.fold h4{margin:0;color:var(--o9);font-size:15px}.fold small{color:var(--mut)}.fold .big{font-size:30px;font-weight:800;color:var(--o1)}
.fold .cnt{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.fgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:6px}
@media(max-width:900px){.fgrid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.fgrid{grid-template-columns:1fr}}

.fold .ctr{font-size:13px;color:var(--o9);background:#eef5fb;border-radius:10px;padding:4px 10px;line-height:1.5}.fold .ctr span{color:var(--mut)}

.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:6px 0 12px}
.cat{display:flex;align-items:center;justify-content:space-between;gap:6px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px 8px}
.cat.on{border-color:var(--o2);box-shadow:0 0 0 2px #cfe6f7}
.cat .catn{background:none;border:0;box-shadow:none;display:flex;gap:8px;align-items:center;padding:2px 4px;cursor:pointer;color:var(--o9)}
.cat .catn b{font-size:15px}.cat .catu{padding:4px 10px;font-size:12px}
@media(max-width:900px){.cats{grid-template-columns:1fr 1fr}}

/* totals cards (shared) */
.tsub{font-size:12.5px;color:#5a7089;margin:6px 2px 8px;text-align:right}
.tcards{display:flex;gap:14px;margin:0 0 16px;flex-wrap:wrap}
.tc{flex:1 1 150px;min-width:0;background:#fdfdfd;border:1px solid #e9ecef;border-right:4px solid #2c91c9;border-radius:14px;padding:13px 18px 12px;box-shadow:0 1px 3px #0b25450d;text-align:right}
.tc small{display:block;font-size:14px;color:#7b8794;font-weight:400;margin-bottom:5px}
.tc b{display:block;font-size:24px;line-height:1.15;color:#1d3a5c;font-weight:800;direction:ltr;text-align:right;font-variant-numeric:lining-nums}
.tcards-s{margin:14px 0 14px}
.tcards-s .tc{flex:0 1 220px}

.photobox{cursor:default;flex-direction:column;gap:10px;padding:14px;background:rgba(6,34,63,.82)}
.photobox .pbtools{display:flex;gap:8px;align-items:center;background:#fff;border-radius:14px;padding:8px 12px;box-shadow:0 10px 30px -10px rgba(0,0,0,.5);flex-wrap:wrap;justify-content:center}
.photobox .pbtools button{border:1px solid #cfe0ee;background:#f4f9fd;color:#0b2545;border-radius:10px;padding:6px 14px;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.photobox .pbtools button:hover{background:#e3f0fb}.photobox .pbtools .pbx{background:#fde4e4;border-color:#e3a8a8;color:#b02a2a}
.photobox .pbz{min-width:48px;text-align:center;color:#0b2545;font-weight:700;direction:ltr}
.photobox .pbstage{width:min(92vw,900px);height:min(66vh,640px);background:#0d1b2a;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none}
.photobox .pbstage img{max-width:100%;max-height:100%;border-radius:0;background:transparent;transform-origin:center center;user-select:none;-webkit-user-drag:none}
.photobox .pbcap{text-align:center}.photobox .pbcap b{color:#fff}.photobox .pbcap small{display:block;color:#c7d6e6;margin-top:4px}

.decbox{border:2px solid #1590d4;background:#f2f9ff;border-radius:14px;padding:12px 16px;margin:14px 0}
.decbox h3{margin:0 0 6px;border:0}.decbox label{display:block;font-weight:700;margin-bottom:6px;color:#06223f}
.retbox{border:2px solid #e0a23a;background:#fff7e6;border-radius:14px;padding:10px 16px;margin:14px 0;color:#5a3a00}.retbox p{margin:6px 0 0;font-size:15px}
.hcards{margin:18px 0 6px}.hcards .tc{flex:1 1 170px}
.tcards-d{margin:14px 0}.tcards-d .tc{flex:1 1 130px}
@media(max-width:700px){.ustrip{flex-wrap:wrap;padding:10px 12px 4px;gap:8px}.ustrip #usq,.ustrip .usqw,.ustrip>div:has(#usq){flex:1 1 100%;min-width:0;max-width:100%;order:9}.ustrip #usq{width:100%;box-sizing:border-box}.photobox .pbtools{max-width:94vw}.photobox .pbstage{width:94vw}.tcards .tc{flex:1 1 140px}}

/* ===== v11 preview: shell + home ===== */
:root{--p:#0077B6;--t:#00B4D8;--pg:#F8F9FA;--red:#E63946}
body,button,input,select,textarea{font-family:'Cairo','Tajawal','Segoe UI',Tahoma,Arial,sans-serif}
body{background:var(--pg)}
.ustrip{display:flex;flex-wrap:nowrap;align-items:center;gap:14px;padding:12px 24px 6px}
.ustrip #uav{order:1}.ustrip #urep{order:2}.ustrip .ubellw{order:3}.ustrip .usearch{order:4;flex:1 1 auto}.ustrip .ulogo{order:5}.ustrip #out{order:6}
.ustrip .usearch #usq{width:100%;box-sizing:border-box;font-size:15px;padding:12px 40px 12px 14px;min-width:0}
.ulogo img{height:46px;width:auto;border-radius:8px;background:#fff;padding:2px}
.ustrip #urep{background:var(--red);border-color:var(--red);color:#fff;border-radius:12px;padding:8px 14px;font-weight:700;font-size:14px}
header{display:block;margin-top:6px}header h1{display:none}
header nav{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
header nav>button,.ngb{font-size:16px;font-weight:700;padding:9px 22px}
header nav button.on,.ngb.on{background:var(--p);color:#fff;border-color:transparent}
.ngrp{position:relative}.ngb{background:#f7fafd;color:#35557a;border:1px solid var(--line);border-radius:999px;cursor:pointer}.ngb i{font-style:normal;font-size:11px;margin-right:4px}
.ndrop{position:absolute;top:calc(100% + 6px);right:0;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px -16px rgba(0,60,100,.4);padding:6px;z-index:80;display:flex;flex-direction:column;gap:2px}
.ndrop[hidden]{display:none}
.ndrop button{background:#fff;border:0;border-radius:10px;text-align:right;padding:10px 14px;font-size:15px;font-weight:600;color:#16324f;margin:0;cursor:pointer;box-shadow:none}
.ndrop button:hover{background:#e6f4fb}.ndrop button.on{background:#e0f1fa;color:var(--p)}
.hN{max-width:1800px;margin:0 auto}
.nban{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:120px;border-radius:20px;padding:18px 28px;color:#fff;background:linear-gradient(120deg,#0a3d6b,#0077B6 60%,#00B4D8)}
.nbl{display:flex;align-items:center;gap:16px}.nbl img{height:84px;border-radius:12px;background:#fff;padding:4px}
.nbl .hbig{font-size:28px;font-weight:800;letter-spacing:1px}.nbl .hco{font-size:15px;opacity:.92}
.nbs{display:flex;gap:12px}.nbs>div{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);border-radius:14px;padding:8px 16px;text-align:center;min-width:104px}
.nbs b{display:block;font-size:26px;line-height:1.1}.nbs small{font-size:13px}
.ncrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:20px 0 6px}
.nc{background:#fff;border-radius:18px;padding:18px 20px;box-shadow:0 4px 14px rgba(0,50,90,.08);display:flex;flex-direction:column;gap:6px;min-height:230px;transition:.2s}
.nc:hover{transform:translateY(-4px);box-shadow:0 16px 30px -12px rgba(0,119,182,.35)}
.nci{font-size:26px}.nc h4{margin:0;font-size:20px;font-weight:800;color:#06223f}
.ncn{font-size:30px;font-weight:700;color:var(--p);text-align:center}.nc p{margin:0;font-size:14px;color:#6b7785;text-align:center;flex:1}
.ncb{background:#fff;color:var(--p);border:2px solid var(--p);border-radius:12px;padding:8px;font-weight:700;font-size:15px;cursor:pointer}.ncb:hover{background:var(--p);color:#fff}
.ngrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ns{background:#fff;border:1px solid #e5eaf0;border-radius:14px;padding:14px;display:flex;align-items:center;gap:10px;font:inherit;cursor:pointer;box-shadow:0 2px 8px rgba(0,50,90,.06);transition:.2s;text-align:right}
.ns:hover{transform:translateY(-3px);border-color:var(--p)}.ns b{flex:1;color:#06223f;font-size:15px}.ns em{font-style:normal;font-weight:800;color:var(--p);font-size:16px}.nsi{font-size:20px}
.nfoot{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin:24px 0 6px;font-size:13px;color:#6b7785}
@media(max-width:900px){.ngrid{grid-template-columns:repeat(2,1fr)}.nban{flex-direction:column;align-items:flex-start}.nbs{flex-wrap:wrap}}
@media(max-width:700px){.ustrip{flex-wrap:wrap}.ustrip .usearch{order:9;flex:1 1 100%}.ndrop{right:auto;left:0}}
.nci{width:44px;height:44px;border-radius:12px;background:#e6f4fb;color:var(--p);display:flex;align-items:center;justify-content:center}.nsi{width:36px;height:36px;border-radius:10px;background:#e6f4fb;color:var(--p);display:flex;align-items:center;justify-content:center;flex:none}.nsi svg{width:20px;height:20px}.nban{flex-wrap:wrap}.ngrid{width:100%}
.ustrip .usearch{min-width:0}
@media(max-width:900px){.ustrip{flex-wrap:wrap}.ustrip .usearch{order:9;flex:1 1 100%}}
header nav .ndrop button,body.hc header nav .ndrop button{background:#fff;border:0;border-radius:10px;padding:10px 14px;font-size:15px;font-weight:600;color:#16324f;box-shadow:none;width:100%}
header nav .ndrop button:hover{background:#e6f4fb}header nav .ndrop button.on,body.hc header nav .ndrop button.on{background:#e0f1fa;color:#0077B6;box-shadow:none}

.langsel{order:0;display:inline-flex;border:1px solid #0077B6;border-radius:999px;overflow:hidden;background:#fff}
.langsel button{border:0;background:#fff;color:#0077B6;font-weight:800;font-size:14px;padding:7px 14px;margin:0;border-radius:0;cursor:pointer;box-shadow:none}
.langsel button.on{background:#0077B6;color:#fff}
html[dir=ltr] body{text-align:left}
html[dir=ltr] .tc,html[dir=ltr] .ns,html[dir=ltr] .nc h4{text-align:left}
.ud,td,th,.dshnm,.tag{unicode-bidi:plaintext}

/*ltr mirror*/html[dir=ltr] body{direction:ltr}html[dir=ltr] .credit{direction:ltr;text-align:right}
html[dir=ltr] .pcard{text-align:left}
html[dir=ltr] .credit{text-align:right}
html[dir=ltr] .card.login.lg label{text-align:left}
html[dir=ltr] .brow{text-align:left}
html[dir=ltr] .hC .cc{text-align:left}
html[dir=ltr] .udrop button{text-align:left}
html[dir=ltr] /* totals cards (shared) */
.tsub{text-align:left}
html[dir=ltr] .tc{text-align:left}
html[dir=ltr] .tc b{text-align:left}
html[dir=ltr] .ns{text-align:left}
@media(max-width:640px){.nbl{flex-wrap:wrap;min-width:0}.nbl img{height:60px}.nbl>div{min-width:0;flex:1 1 180px}.nbl .hbig{font-size:24px;overflow-wrap:anywhere}.nbs>div{min-width:84px;padding:8px 10px}}
@media(max-width:640px){.fhero{flex-direction:column;align-items:stretch;padding:16px}.fhero .fhchips{display:flex;flex-wrap:wrap;gap:6px}.fhero .chip{max-width:100%;white-space:normal;overflow-wrap:anywhere}.fbar{margin-inline:0;width:100%;max-width:100%;flex-direction:row;flex-wrap:wrap;justify-content:stretch}.fbar>*{flex:1 1 130px;min-width:0}.fbar button{width:100%}}
input[type=file]{max-width:100%}@media(max-width:640px){.fsec input[type=file],.fsec .row>*{max-width:100%;min-width:0}}
@media(max-width:640px){.fbar #btns{display:flex;flex-wrap:wrap;gap:8px;width:100%;min-width:0}.fbar #btns button{width:auto;flex:1 1 120px;min-width:0;white-space:normal}.fbar button{width:auto}}

/* v11 */
.etsovl{position:fixed;inset:0;background:rgba(6,34,63,.45);z-index:9000;display:flex;align-items:center;justify-content:center;padding:16px}
.etsbox{background:#fff;border-radius:16px;max-width:640px;width:100%;max-height:90vh;overflow:auto;padding:18px;box-shadow:0 18px 40px -20px rgba(11,58,102,.5)}
.wn{background:#fff8e6;border:1px solid #f0d48a;border-radius:10px;padding:10px 12px;margin:8px 0;font-size:14px;color:#6b4e00}.wn.info{background:#eaf4fb;border-color:#b9dcf1;color:#0b3a66}
.newtag{background:#e6f7f5;color:#00756d;border-radius:6px;padding:1px 6px;font-size:12px}.dnr{color:#b3261e;font-weight:700}

.wlc{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;background:#040719;opacity:0;transition:opacity .45s ease;overflow:hidden}.wlc.on{opacity:1}.wlc.out{opacity:0}.wlc video{width:100%;height:100%;object-fit:contain;background:#040719}.wlce{position:absolute;left:0;right:0;bottom:6%;text-align:center;color:#cfe3f5;font:600 14px/1.5 system-ui,Segoe UI,Arial,sans-serif;padding:0 16px}.wlce[hidden]{display:none}.wlcs{position:absolute;top:14px;inset-inline-end:14px;background:rgba(255,255,255,.12);color:#dfeaf5;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:6px 14px;font:600 13px system-ui,Segoe UI,Arial,sans-serif;cursor:pointer}

.sbox{background:#e6f1fb;color:#0b3a66;border:1px solid rgba(11,95,165,.28);border-inline-start:4px solid #0b5fa5;padding:10px 12px;border-radius:8px;margin:8px 0;white-space:pre-line;font-weight:600}

/* v46: سجل الخطابات: صف الإدخال يحتاج عرضًا كافيًا، ويُمرَّر أفقيًا على الجوال */
.ltreg{min-width:0}
.ltreg #lrow input,.ltreg #lrow select{box-sizing:border-box}
.ltreg #lrco{min-width:110px}.ltreg #lrfm{min-width:80px}.ltreg #lrpb{min-width:90px}.ltreg #lrsb{min-width:150px}.ltreg #lrcd{min-width:66px}.ltreg #lrty{min-width:140px}
@media(max-width:1280px){.tscroll table.ltreg{min-width:0;width:100%}
.ltreg tr:first-child{display:none}.ltreg tr,.ltreg td{display:block;width:auto}.ltreg tr{border:1px solid #dbe2ee;border-radius:14px;margin:10px 0;padding:8px}
.ltreg td{border:0;padding:5px 6px}.ltreg td[data-l]::before{content:attr(data-l);display:block;font-size:12px;color:#5b6b85;margin-bottom:2px}
.ltreg input,.ltreg select{width:100%!important;min-width:0!important}.ltreg #lrow{background:#eef6ff}.ltreg #lrow .row{flex-wrap:wrap}}
.ltreg #lrfl{max-width:105px!important}.ltreg #lrdt{width:128px}.ltreg #lrco,.ltreg #lrpb{width:120px}
.ltreg #lrow td{white-space:normal!important}.ltreg #lrow .row{flex-wrap:wrap}.ltreg #lrsb{width:150px}.ltreg #lrty{width:150px}.ltreg #lrrg{width:90px}.ltreg #lrfm{width:90px}
.ltreg td:last-child{white-space:normal!important;max-width:150px}.ltreg td:last-child button{margin:2px}.ltreg td{white-space:normal}
.ltreg td{min-width:0!important}.ltreg #lrpf{width:74px}.ltreg #lrrg{width:96px}.ltreg #lrcd{width:70px;min-width:60px}.ltreg #lrco,.ltreg #lrpb{width:100px}.ltreg td:last-child{max-width:130px}.ltreg th,.ltreg td{padding-inline:6px}
.ltreg{font-size:13px}.ltreg input,.ltreg select,.ltreg button{font-size:13px}.ltreg td:last-child button{padding:6px 10px}
@media(min-width:1281px){.ltreg #lrpf{width:70px!important;min-width:0!important}.ltreg #lrrg{width:92px!important;min-width:0!important}.ltreg #lrcd{width:64px!important;min-width:0!important}.ltreg #lrdt{width:122px!important;min-width:0!important}.ltreg #lrfm{width:84px!important;min-width:0!important}.ltreg #lrco,.ltreg #lrpb{width:96px!important;min-width:0!important}.ltreg #lrsb{width:130px!important;min-width:0!important}.ltreg #lrty{width:130px!important;min-width:0!important}.ltreg input,.ltreg select{padding-inline:8px!important}}

@media(max-width:1340px) and (min-width:1281px){.tscroll table.ltreg th,.tscroll table.ltreg td{padding-left:3px;padding-right:3px}}

/* v59: سجل الخطابات مضغوط: جدول حقيقي على التابلت والشاشات والطباعة، وبطاقات صغيرة بعمودين على الجوال فقط */
@media(max-width:1280px){
 .tscroll table.ltreg{min-width:1100px;width:100%}
 .ltreg tr:first-child{display:table-row}
 .ltreg tr{display:table-row;border:0;border-radius:0;margin:0;padding:0}
 .ltreg td{display:table-cell;width:auto;padding:5px 4px}
 .ltreg td[data-l]::before{display:none}
 .ltreg input,.ltreg select{width:auto!important}
 .ltreg #lrrg{width:96px!important}.ltreg #lrpf{width:70px!important}.ltreg #lrcd{width:64px!important}.ltreg #lrdt{width:122px!important}
 .ltreg #lrco,.ltreg #lrpb{width:100px!important}.ltreg #lrsb,.ltreg #lrty{width:130px!important}.ltreg #lrfm{width:84px!important}
}
/* compact saved rows */
.ltreg tr:not(#lrow) td{padding-top:4px;padding-bottom:4px;vertical-align:middle}
.ltreg tr:not(#lrow) td:last-child{max-width:none!important;min-width:250px;white-space:nowrap!important}
.ltreg tr:not(#lrow) td:last-child button{padding:3px 9px!important;margin:1px!important;font-size:12px!important}
@media print{
 @page{size:A4 landscape;margin:8mm}
 html,body{height:auto!important}.card.certlog{box-shadow:none!important;padding:0!important;margin:0!important}.card.certlog>p{display:none!important}
 .ustrip,#app>header,#app>footer,#banner,.stickyhbar,.card.certlog>.fhero,.card.certlog>.fltbar,.card.certlog>.row,.card.certlog>.tsub,.card.certlog>.tcards-s,.card.certlog>#lform,#lrow{display:none!important}
 .card.certlog>.tcards:not(.tcards-s){display:flex!important;flex-wrap:nowrap;gap:6px;margin:0 0 6px}.card.certlog>.tcards .tc{padding:3px 8px}
 .tscroll{overflow:visible!important}
 table.ltreg{min-width:0!important;width:100%!important;font-size:10px}
 .ltreg tr:first-child{display:table-row!important}
 .ltreg tr{display:table-row!important;border:0!important;margin:0!important;padding:0!important;break-inside:avoid}
 .ltreg td,.ltreg th{display:table-cell!important;padding:3px!important;border-bottom:1px solid #ccc!important}
 .ltreg td[data-l]::before{display:none!important}
 .ltreg button{display:none!important}
 .ltreg td:last-child,.ltreg th:last-child{display:none!important}
}

.cc-root{--bg:#eef3f9;--tx:#16324f;--mut:#5b7088;--n9:#06223f;--n8:#0b3a66;--n7:#0f4c81;--b6:#0b5fa5;--b5:#0a7fb8;--b4:#1590d4;--teal:#00a79d;--gold:#e2b850;--line:rgba(15,76,129,.13);--sh:0 18px 40px -26px rgba(11,58,102,.38);--ok:#0f9d6a}.cc-root *{box-sizing:border-box;margin:0;padding:0}.cc-root{scroll-behavior:smooth}.cc-root{font-family:'Tajawal','Segoe UI',system-ui,sans-serif;color:var(--tx);direction:rtl;min-height:100vh;
background:radial-gradient(900px 480px at 92% -8%,rgba(0,167,157,.14),transparent 60%),radial-gradient(900px 520px at 0% 0%,rgba(11,95,165,.12),transparent 60%),#eef3f9}.cc-root::before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(11,58,102,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(11,58,102,.04) 1px,transparent 1px);background-size:64px 64px;mask-image:radial-gradient(70% 60% at 50% 20%,#000,transparent)}.cc-wrap{max-width:1360px;margin:0 auto;padding:0 24px 34px;position:relative}.cc-root svg{display:block}.cc-root button{font:inherit;cursor:pointer;color:inherit}@keyframes ccup{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.cc-root .cc-rv{opacity:0;animation:ccup .7s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--d,0)*90ms)}.cc-root .cc-top{position:sticky;top:0;z-index:30;padding-top:14px}.cc-root .cc-bar *{white-space:nowrap}.cc-root .cc-bar{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:22px;padding:9px 12px 9px 14px;box-shadow:var(--sh)}.cc-root .cc-brand{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--n8);font-family:'Segoe UI',Arial,sans-serif;letter-spacing:.03em;font-size:15px}.cc-root .cc-brand svg{width:42px;height:42px;filter:drop-shadow(0 8px 10px rgba(11,95,165,.35))}.cc-root .cc-brand small{display:block;font-family:'Tajawal',sans-serif;font-weight:500;font-size:11px;color:var(--mut);letter-spacing:0;margin-top:-1px}.cc-root .cc-pills{display:flex;gap:6px;margin-inline-start:6px}.cc-root .cc-pills button{position:relative;border:1px solid var(--line);background:#f7fafd;color:#35557a;font-weight:700;font-size:13px;padding:8px 14px;border-radius:999px;display:flex;align-items:center;gap:6px;transition:.2s}.cc-root .cc-pills button:hover{border-color:var(--b4);background:#eaf4fc;color:var(--n7)}.cc-root .cc-pills button.cc-on{color:#fff;border-color:transparent;background:linear-gradient(135deg,#1590d4,#0b5fa5);box-shadow:0 10px 22px -8px rgba(11,95,165,.6)}.cc-root .cc-pills i{font-style:normal;font-size:9px;opacity:.7}.cc-root .cc-sp{margin-inline-start:auto;display:flex;align-items:center;gap:8px}.cc-root .cc-kbar{display:flex;align-items:center;gap:9px;height:40px;width:210px;border:1px solid var(--line);background:#f2f6fb;border-radius:13px;padding:0 12px;color:#8aa0b8;font-size:13px;transition:.2s}.cc-root .cc-kbar:hover{border-color:var(--b4);background:#fff;box-shadow:0 0 0 4px rgba(21,144,212,.12)}.cc-root .cc-kbar svg{color:var(--b4)}.cc-root .cc-kbar kbd{margin-inline-start:auto;direction:ltr;font:600 11px 'Segoe UI',sans-serif;border:1px solid var(--line);background:#fff;color:var(--mut);padding:2px 7px;border-radius:7px}.cc-root .cc-ib{width:40px;height:40px;border-radius:13px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:var(--n7);position:relative;transition:.2s}.cc-root .cc-ib:hover{border-color:var(--b4);background:#eaf4fc}.cc-root .cc-ib .cc-dot{position:absolute;top:9px;inset-inline-end:10px;width:8px;height:8px;border-radius:50%;background:#d64541;box-shadow:0 0 0 2px #fff;display:none}.cc-root .cc-lang{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden;height:40px}.cc-root .cc-lang button{border:0;background:#fff;padding:0 11px;font-weight:700;font-size:12px;color:var(--mut)}.cc-root .cc-lang button.cc-on{background:#e6f1fb;color:var(--b6)}.cc-root .cc-me{display:flex;align-items:center;gap:10px;padding:3px 4px 3px 12px;border-radius:15px;border:1px solid var(--line);background:#fff}.cc-root .cc-me img{width:36px;height:36px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(11,95,165,.28)}.cc-root .cc-me b{display:block;font-size:12.5px;color:var(--n8);line-height:1.2;font-family:'Segoe UI',sans-serif}.cc-root .cc-me small{font-size:11px;color:var(--mut)}.cc-root .cc-gold{height:40px;border:0;border-radius:13px;padding:0 12px;font-weight:800;font-size:12.5px;color:#7a5200;background:linear-gradient(135deg,#f6e3a0,#e2b850);display:flex;align-items:center;gap:7px;box-shadow:0 10px 20px -10px rgba(217,169,63,.8)}.cc-root .cc-bento{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;margin-top:16px}.cc-root .cc-card{background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--sh);position:relative;overflow:hidden}.cc-root .cc-hero{grid-column:span 8;min-height:330px;color:#fff;padding:30px 34px;display:flex;flex-direction:column;border:0;
background:radial-gradient(520px 300px at 88% 0%,rgba(255,255,255,.26),transparent 62%),radial-gradient(420px 260px at 0% 100%,rgba(0,167,157,.55),transparent 70%),linear-gradient(135deg,#0b5fa5,#0a7fb8 62%,#00a79d);box-shadow:0 40px 80px -44px rgba(11,95,165,.7)}.cc-root .cc-hero::before,.cc-root .cc-hero::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none}.cc-root .cc-hero::before{width:520px;height:520px;left:-170px;top:-250px}.cc-root .cc-hero::after{width:360px;height:360px;left:-70px;top:-170px}.cc-root .cc-hi{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;font-size:13px;font-weight:700;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.34);padding:6px 14px;border-radius:999px}.cc-root .cc-hi i{width:8px;height:8px;border-radius:50%;background:#7dffcf;box-shadow:0 0 0 4px rgba(125,255,207,.25);animation:ccpl 2s infinite}@keyframes ccpl{50%{box-shadow:0 0 0 8px rgba(125,255,207,0)}}.cc-root .cc-hero h1{font-size:44px;font-weight:800;margin-top:16px;letter-spacing:-.01em;line-height:1.15}.cc-root .cc-hero h1 span{background:linear-gradient(90deg,#fff,#bff0ff);-webkit-background-clip:text;color:transparent}.cc-root .cc-hero p{margin-top:8px;color:#dff2ff;font-size:15px;max-width:520px;line-height:1.8}.cc-root .cc-hstats{display:flex;gap:12px;margin-top:auto;padding-top:22px;position:relative;z-index:1}.cc-root .cc-st{flex:1;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);border-radius:18px;padding:14px 18px;backdrop-filter:blur(6px);transition:.25s}.cc-root .cc-st:hover{background:rgba(255,255,255,.24);transform:translateY(-3px)}.cc-root .cc-st b{display:block;font-size:34px;font-weight:800;line-height:1.1;font-family:'Segoe UI','Tajawal',sans-serif}.cc-root .cc-st small{font-size:12.5px;color:#d7efff;font-weight:600}.cc-root .cc-st.cc-pr b{display:flex;align-items:center;gap:8px}.cc-root .cc-ring{position:absolute;left:44px;top:34px;width:210px;height:210px;z-index:0}.cc-root .cc-ring text{font-family:'Segoe UI','Tajawal',sans-serif}.cc-root .cc-tick{stroke:rgba(255,255,255,.25);stroke-width:5;stroke-linecap:round;transition:stroke .4s}.cc-root .cc-tick.cc-on{stroke:#fff}.cc-root .cc-quick{grid-column:span 4;padding:22px;display:flex;flex-direction:column;gap:10px}.cc-root .cc-quick h3{font-size:16px;font-weight:800;color:var(--n8);display:flex;align-items:center;gap:8px}.cc-root .cc-quick h3::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,var(--b4),transparent);border-radius:2px;opacity:.5}.cc-root .cc-qa{display:flex;align-items:center;gap:13px;text-align:right;border:1px solid var(--line);background:#f7fafd;border-radius:18px;padding:11px 14px;transition:.25s;position:relative;overflow:hidden}.cc-root .cc-qa:hover{transform:translateX(-4px);border-color:var(--b4);background:#eef6fd;box-shadow:0 14px 26px -18px rgba(11,95,165,.6)}.cc-root .cc-qa .cc-ic{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:#fff;flex:none;background:linear-gradient(135deg,#1590d4,#0b5fa5);box-shadow:0 10px 18px -8px rgba(11,95,165,.6)}.cc-root .cc-qa:nth-of-type(2) .cc-ic{background:linear-gradient(135deg,#00a79d,#0a7fb8)}.cc-root .cc-qa:nth-of-type(3) .cc-ic{background:linear-gradient(135deg,#6b4fc9,#0b5fa5)}.cc-root .cc-qa:nth-of-type(4) .cc-ic{background:linear-gradient(135deg,#e2b850,#d98a0b)}.cc-root .cc-qa b{display:block;font-size:14.5px;color:var(--n8)}.cc-root .cc-qa small{font-size:12px;color:var(--mut)}.cc-root .cc-qa kbd{margin-inline-start:auto;font:700 11px 'Segoe UI',sans-serif;color:var(--mut);border:1px solid var(--line);background:#fff;border-radius:7px;padding:2px 7px}.cc-root .cc-journey{grid-column:span 12;padding:24px 28px}.cc-root .cc-jh{display:flex;align-items:center;gap:12px}.cc-root .cc-jh h3{font-size:19px;font-weight:800;color:var(--n8)}.cc-root .cc-jh small{color:var(--mut);font-size:13px}.cc-root .cc-jh .cc-ok{margin-inline-start:auto;display:flex;align-items:center;gap:7px;color:#0b7f56;background:rgba(15,157,106,.12);font-weight:800;font-size:12.5px;padding:6px 14px;border-radius:999px}.cc-root .cc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:22px;position:relative}.cc-root .cc-steps::before{content:"";position:absolute;top:34px;right:12.5%;left:12.5%;height:4px;background:linear-gradient(90deg,var(--b4),var(--teal));opacity:.25;border-radius:3px}.cc-root .cc-steps::after{content:"";position:absolute;top:34px;right:12.5%;width:0;height:4px;background:linear-gradient(90deg,var(--b4),var(--teal));border-radius:3px;animation:ccfl 1.6s .8s ease-out forwards}@keyframes ccfl{to{width:12%}}.cc-root .cc-step{all:unset;box-sizing:border-box;cursor:pointer;text-align:center;position:relative;padding:0 10px;z-index:1}.cc-root .cc-step .cc-n{width:68px;height:68px;margin:0 auto;border-radius:50%;display:grid;place-items:center;background:#fff;border:3px solid #cfe3f4;color:var(--b6);transition:.3s;position:relative}.cc-root .cc-step:hover .cc-n{transform:translateY(-5px) scale(1.05);border-color:var(--b4);box-shadow:0 18px 28px -14px rgba(11,95,165,.6)}.cc-root .cc-step:first-child .cc-n{background:linear-gradient(135deg,#1590d4,#0b5fa5);color:#fff;border-color:#fff;box-shadow:0 0 0 3px #1590d4,0 16px 26px -12px rgba(11,95,165,.7)}.cc-root .cc-step .cc-c{position:absolute;top:-8px;inset-inline-start:-6px;min-width:26px;height:26px;border-radius:13px;background:#0b3a66;color:#fff;font:800 13px 'Segoe UI',sans-serif;display:grid;place-items:center;padding:0 7px;box-shadow:0 0 0 3px #fff}.cc-root .cc-step b{display:block;margin-top:12px;font-size:16px;color:var(--n8)}.cc-root .cc-step small{display:block;font-size:12.5px;color:var(--mut);margin-top:2px}.cc-root .cc-step .cc-go{display:inline-block;margin-top:9px;font-size:12px;font-weight:800;color:var(--b6);background:#e6f1fb;padding:4px 13px;border-radius:999px;transition:.2s}.cc-root .cc-step:hover .cc-go{background:var(--b6);color:#fff}.cc-root .cc-sec{grid-column:span 12;margin-top:6px}.cc-root .cc-sh{display:flex;align-items:center;gap:12px;margin-bottom:12px}.cc-root .cc-sh h3{font-size:19px;font-weight:800;color:var(--n8)}.cc-root .cc-sh::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,var(--b4),transparent);opacity:.35;border-radius:2px}.cc-root .cc-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.cc-root .cc-t{all:unset;box-sizing:border-box;cursor:pointer;position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--sh);display:flex;flex-direction:column;gap:12px;transition:.28s;--mx:50%;--my:50%}.cc-root .cc-t::before{content:"";position:absolute;inset:0;background:radial-gradient(260px 180px at var(--mx) var(--my),color-mix(in srgb,var(--c) 16%,transparent),transparent 70%);opacity:0;transition:.3s}.cc-root .cc-t:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--c) 55%,#fff);box-shadow:0 28px 44px -26px color-mix(in srgb,var(--c) 70%,#06223f)}.cc-root .cc-t:hover::before{opacity:1}.cc-root .cc-t .cc-ic{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,color-mix(in srgb,var(--c) 70%,#fff),var(--c));box-shadow:0 12px 20px -10px var(--c);position:relative}.cc-root .cc-t b{font-size:16.5px;color:var(--n8);position:relative}.cc-root .cc-t small{font-size:12.5px;color:var(--mut);margin-top:-8px;position:relative;line-height:1.5}.cc-root .cc-t em{position:absolute;top:16px;inset-inline-end:16px;font:800 13px 'Segoe UI',sans-serif;font-style:normal;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff);padding:3px 11px;border-radius:999px}.cc-root .cc-t .cc-ar{position:absolute;bottom:16px;inset-inline-end:16px;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--c);transition:.25s}.cc-root .cc-t:hover .cc-ar{background:var(--c);color:#fff;border-color:transparent;transform:translateX(-4px)}.cc-root .cc-team{grid-column:span 12;padding:18px 24px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.cc-root .cc-team h4{font-size:13px;color:var(--mut);font-weight:700}.cc-root .cc-pp{display:flex;align-items:center;gap:11px;padding:8px 16px 8px 8px;border:1px solid var(--line);border-radius:999px;background:#f7fafd}.cc-root .cc-pp span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:14px;background:linear-gradient(135deg,#1590d4,#00a79d)}.cc-root .cc-pp img{width:38px;height:38px;border-radius:50%;object-fit:cover}.cc-root .cc-pp small{display:block;font-size:11.5px;color:var(--mut)}.cc-root .cc-pp b{font-size:13.5px;color:var(--n8)}.cc-root footer{margin-top:20px;text-align:center;color:var(--mut);font-size:12.5px}.cc-root footer b{color:var(--b6)}.cc-root .cc-pal{position:fixed;inset:0;background:rgba(6,34,63,.45);backdrop-filter:blur(6px);z-index:60;display:none;align-items:flex-start;justify-content:center;padding-top:14vh}.cc-root .cc-pal.cc-open{display:flex}.cc-root .cc-pb{width:min(620px,92vw);background:#fff;border-radius:24px;box-shadow:0 50px 100px -30px rgba(6,34,63,.6);overflow:hidden;animation:ccup .25s both}.cc-root .cc-pb input{width:100%;height:62px;border:0;border-bottom:1px solid var(--line);padding:0 24px;font:inherit;font-size:17px;outline:none;color:var(--tx)}.cc-root .cc-pl{max-height:340px;overflow:auto;padding:8px}.cc-root .cc-pl button{all:unset;box-sizing:border-box;width:100%;display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:13px;cursor:pointer;font-weight:700;color:var(--n8)}.cc-root .cc-pl button small{font-weight:500;color:var(--mut);margin-inline-start:auto}.cc-root .cc-pl button.cc-sel,.cc-root .cc-pl button:hover{background:#eaf4fc}.cc-root .cc-pl button i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#e6f1fb;color:var(--b6);font-style:normal}@media(max-width:1180px){.cc-root .cc-hero,.cc-root .cc-quick{grid-column:span 12}.cc-root .cc-grid{grid-template-columns:repeat(3,1fr)}.cc-root .cc-ring{display:none}.cc-root .cc-pills{display:none}.cc-root .cc-kbar{width:auto;flex:1}}@media(max-width:700px){.cc-root .cc-grid{grid-template-columns:repeat(2,1fr)}.cc-root .cc-steps{grid-template-columns:repeat(2,1fr);gap:26px 0}.cc-root .cc-steps::before,.cc-root .cc-steps::after{display:none}.cc-root .cc-hstats{flex-wrap:wrap}.cc-root .cc-hero h1{font-size:32px}.cc-root .cc-me div,.cc-root .cc-gold span,.cc-root .cc-lang{display:none}}
.cc-root{position:relative;min-height:100vh;margin:0}.cc-root::before{z-index:0}.cc-wrap{z-index:1}body.cc2 .ustrip,body.cc2 header,body.cc2 footer.credit,body.cc2 #banner{display:none!important}body.cc2 main{margin:0;min-height:0}body.cc2 main.homebg::before{display:none}.cc-root .cc-pills{position:relative}.cc-root .cc-dd{position:absolute;top:calc(100% + 6px);inset-inline-start:0;min-width:170px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--sh);padding:6px;z-index:60;display:none}.cc-root .cc-dd.cc-open{display:block}.cc-root .cc-dd button{display:block;width:100%;text-align:start;border:0;background:transparent;padding:9px 12px;border-radius:10px;font-weight:700;font-size:13px;color:var(--n8)}.cc-root .cc-dd button:hover{background:#eaf4fc}.cc-root .cc-pw{position:relative}.cc-root .cc-ib .cc-dot.cc-show{display:block}.cc-root .cc-me{cursor:pointer;position:relative}.cc-root .cc-me .cc-av{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#1590d4,#0b5fa5);color:#fff;display:grid;place-items:center;font-weight:800}.cc-root .cc-ibw{position:relative}.cc-root .cc-bm{inset-inline-start:auto;inset-inline-end:0;min-width:240px}

body.cc2{background:radial-gradient(900px 480px at 92% -8%,rgba(0,167,157,.14),transparent 60%),radial-gradient(900px 520px at 0% 0%,rgba(11,95,165,.12),transparent 60%),#eef3f9;direction:rtl}body.cc2 main{margin:16px 24px}body.cc2 main.homebg{margin:0}.cc-barroot{position:sticky;top:0;z-index:40;min-height:0!important;background:none}.cc-barroot::before{display:none}.cc-barroot .cc-wrap{padding-bottom:0}.cc-barroot .cc-bento{display:none}
body.cc2 main{max-width:1360px;margin:16px auto;padding:0 24px}body.cc2 main.homebg{max-width:none;padding:0}
body.cc2 main>.card{background:rgba(255,255,255,.72);backdrop-filter:blur(10px)}
body.cc2 main .card{border-radius:22px}
body.cc2 main h3{border-bottom:0;position:relative;color:var(--n8,#0b3a66)}
body.cc2 main table{border-radius:14px;overflow:hidden}
.cc-hb{display:contents}.cc-barroot{z-index:5000}body.cc2 .dshtop{top:84px}body.cc2 .dshwrap .fltbar{top:156px}body.cc2 .fsteps{top:96px}

.cc-root .cc-dd button:disabled{opacity:.4;cursor:default}.cc-root .cc-dd button{color:var(--n8,#0b3a66)!important}.cc-root .cc-dd button:disabled:hover{background:transparent}.cc-root .cc-bm{min-width:200px}
.cc-root .cc-wrap{max-width:none;padding-left:18px;padding-right:18px}body.cc2 main{max-width:none;margin:16px 0;padding:0 18px}body.cc2 main.homebg{padding:0}

/* ===== ETS Projects UI Refresh v90 | Modern Corporate ===== */
:root{
  --ets-primary:#145b91;
  --ets-primary-deep:#103f68;
  --ets-accent:#12a89d;
  --ets-surface:#ffffff;
  --ets-canvas:#f3f7fb;
  --ets-border:#e2eaf2;
  --ets-text:#18344d;
  --ets-muted:#6d8195;
  --ets-shadow:0 12px 32px -22px rgba(18,62,99,.32);
}
html{scroll-behavior:smooth}
body{color:var(--ets-text);background:linear-gradient(180deg,#f5f8fc 0%,#edf3f8 100%)}
#app{min-height:100vh}
.ustrip{max-width:1600px;margin-inline:auto;padding:14px 28px 8px;align-items:center}
.ustrip .usearch{flex:1 1 260px;max-width:460px}
.ustrip #usq{min-height:42px;border-radius:13px;background:#fff}
.ustrip .uavatar{min-height:44px}
header,body.hc header{
  max-width:1544px;margin:8px auto 0;padding:10px 14px;
  background:rgba(255,255,255,.94);border:1px solid var(--ets-border);
  border-radius:18px;box-shadow:0 8px 26px -20px rgba(16,63,104,.45);
  backdrop-filter:blur(14px);border-image:none;
}
header nav{gap:7px;align-items:center}
header nav button,body.hc header nav button{
  min-height:38px;padding:8px 13px;border-radius:11px;
  background:transparent;color:#47627b;border:1px solid transparent;
  box-shadow:none;font-size:13.5px;font-weight:700;white-space:nowrap;
}
header nav button:hover{background:#edf5fb;color:var(--ets-primary);border-color:#dceaf5}
header nav button.on,body.hc header nav button.on{
  color:#fff;background:linear-gradient(135deg,var(--ets-primary),var(--ets-primary-deep));
  border-color:transparent;box-shadow:0 7px 16px -10px rgba(20,91,145,.8)
}
main{max-width:1544px;margin:20px auto;padding:0 28px;min-height:64vh}
main>.card,.card{
  background:var(--ets-surface);border:1px solid var(--ets-border);
  border-radius:18px;box-shadow:var(--ets-shadow);padding:20px;
}
main>.card{margin-bottom:16px}
main h2,.card h2{color:#163f63;font-weight:800;letter-spacing:-.15px}
main h3,.card h3{color:#245477;border-bottom:1px solid #e6edf4;padding-bottom:8px;font-weight:800}
label{color:#38566f;font-weight:700}
input,select,textarea{
  min-height:40px;border:1px solid #d9e4ee;border-radius:10px;
  background:#fff;color:var(--ets-text);padding:9px 12px;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
textarea{min-height:90px;line-height:1.7}
input:hover,select:hover,textarea:hover{border-color:#b9cfdf}
input:focus,select:focus,textarea:focus{outline:0;border-color:#3696c8;box-shadow:0 0 0 3px rgba(35,139,190,.13)}
button{border-radius:10px;font-weight:800;box-shadow:0 6px 14px -11px rgba(16,63,104,.75);transition:transform .16s,box-shadow .16s,background .16s}
button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 18px -12px rgba(16,63,104,.8)}
button.sec{background:#f4f8fb;color:#285a7e;border:1px solid #dce7f0;box-shadow:none}
button.sec:hover:not(:disabled){background:#eaf3f9;border-color:#c9dce9}
button.warn{background:#c94c4c;color:#fff}
.fltbar{background:#f8fbfd;border:1px solid #e2ebf3;border-radius:14px;box-shadow:none;padding:14px 16px}
.dchips button{border-radius:999px;background:#f5f9fc;border-color:#dce7f0;color:#41617b;box-shadow:none}
.dchips button.on{background:var(--ets-primary);color:#fff;border-color:var(--ets-primary)}
table{border-collapse:separate;border-spacing:0;font-size:13.5px}
table th{background:#edf4f9;color:#244d6b;font-weight:800;border-bottom:1px solid #dce7ef;padding:11px 10px}
table td{padding:10px;border-bottom:1px solid #edf1f5;color:#344f66}
table tr:last-child td{border-bottom:0}
table tbody tr:hover td{background:#f8fbfd}
.tsroll, .tscroll{overflow-x:auto;border:1px solid #e5edf4;border-radius:13px}
.tag{padding:4px 10px;border-radius:999px;font-weight:700}
.hero{border-radius:20px;box-shadow:0 18px 34px -24px rgba(8,43,75,.65)}
.pgrid{gap:14px}
.pcard{border:1px solid #e0e9f1;border-radius:16px;box-shadow:0 8px 22px -18px rgba(16,63,104,.55);padding:18px;transition:transform .18s,border-color .18s,box-shadow .18s}
.pcard:not(.off):hover{transform:translateY(-3px);border-color:#9dc8df;box-shadow:0 16px 28px -20px rgba(16,63,104,.65)}
.pcard::before{width:3px;background:linear-gradient(180deg,#159bba,#12a89d)}
.fhero,.dshtop,.hh,.hC .chero{border-radius:20px;box-shadow:0 18px 36px -25px rgba(16,63,104,.65)}
.fhero{padding:22px 24px}
.credit{max-width:1544px;margin:20px auto;padding:12px 28px;color:#8293a3}
.lgwrap{background:radial-gradient(850px 500px at 90% 5%,rgba(18,168,157,.2),transparent 62%),linear-gradient(145deg,#0b2944,#123f63 58%,#0c2945)}
.lgshell{border:1px solid rgba(255,255,255,.55);box-shadow:0 34px 90px -28px rgba(4,25,43,.65)}
.lgbrand{background:radial-gradient(420px 320px at 80% 0%,rgba(18,168,157,.25),transparent 65%),linear-gradient(155deg,#17618f,#103d63 58%,#0b2944)}
.lgeye{color:#168d91;letter-spacing:.04em}
.lgeye::before{background:linear-gradient(90deg,#12a89d,#1681b5)}
.card.login.lg input:focus{border-color:#2c9db5;box-shadow:0 0 0 4px rgba(18,168,157,.13)}
.lgbtn{background:linear-gradient(135deg,#176d9e,#124b78);border-bottom:3px solid #12a89d}
.lgbtn:hover{background:linear-gradient(135deg,#2189b7,#124b78)}
.lgopts a{color:#176d9e}
@media(max-width:900px){
  .ustrip{padding:10px 14px 6px;flex-wrap:wrap}
  header,body.hc header{margin:8px 12px 0;flex-wrap:wrap}
  header nav{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px;scrollbar-width:thin}
  main{padding:0 14px;margin:16px auto}
  .credit{padding-inline:14px}
}
@media(max-width:600px){
  .ustrip{gap:8px}
  .ustrip .usearch{order:5;flex-basis:100%;max-width:none}
  header nav button,body.hc header nav button{font-size:12.5px;padding:7px 10px;min-height:35px}
  main{padding:0 10px;margin:12px auto}
  .card,main>.card{padding:14px;border-radius:14px}
  .fhero{padding:17px;border-radius:16px}
  .fltbar{padding:11px;border-radius:12px}
  table{min-width:640px}
  .lgshell{border-radius:20px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
