:root{--navy:#0f2a47;--navy-2:#16385e;--gold:#c9a14a;--bg:#f4f6fa;--card:#fff;--line:#e4e8ef;--text:#1b2433;--muted:#6b7585;--green:#1f9d63;--amber:#c98a12;--red:#d14343;--blue:#2f6fd6;--radius:12px;--shadow:0 1px 2px #1018280d, 0 1px 3px #1018280f}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:Cairo,Tahoma,Segoe UI,sans-serif;font-size:14px}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit;text-decoration:none}h1,h3,h4{margin:0}h1{font-size:22px;font-weight:800}h3{font-size:15px;font-weight:700}.shell{min-height:100%;display:flex}.sidebar{background:var(--navy);color:#dfe6f0;flex-direction:column;flex-shrink:0;width:250px;height:100vh;display:flex;position:sticky;top:0}.brand{border-bottom:1px solid #ffffff14;align-items:center;gap:10px;padding:18px 16px;display:flex}.logo{background:var(--gold);width:38px;height:38px;color:var(--navy);border-radius:10px;place-items:center;font-size:20px;font-weight:800;display:grid}.logo.lg{width:56px;height:56px;font-size:28px}.brand-name{color:#fff;font-size:17px;font-weight:800}.brand-name.dark{color:var(--navy)}.brand-sub{opacity:.7;font-size:11px}.sidebar nav{flex:1;padding:10px 8px;overflow-y:auto}.nav-item{color:#c9d3e1;border-radius:9px;align-items:center;gap:10px;margin-bottom:2px;padding:9px 12px;transition:all .15s;display:flex}.nav-item:hover{color:#fff;background:#ffffff0f}.nav-item.active{color:#fff;box-shadow:inset -3px 0 0 var(--gold);background:#c9a14a29}.nav-item span{flex:1}.nav-item em{background:var(--gold);color:var(--navy);border-radius:20px;padding:0 7px;font-size:11px;font-style:normal;font-weight:700}.wa-status{border-top:1px solid #ffffff14;align-items:center;gap:8px;padding:12px 16px;font-size:12px;display:flex}.dot{background:#34d399;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #34d39933}.main{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line);z-index:5;background:#fff;align-items:center;gap:12px;height:62px;padding:0 20px;display:flex;position:sticky;top:0}.top-search{flex:1;max-width:420px}.topbar>.row{margin-inline-start:auto}.content{flex:1;padding:22px}.foot{text-align:center;color:var(--muted);padding:14px;font-size:12px}.menu,.backdrop{display:none}.row{align-items:center;display:flex}.gap{gap:8px}.between{justify-content:space-between}.grow{flex:1;min-width:0}.muted{color:var(--muted)}.small{font-size:12.5px}.tiny{font-size:11px}.strong{font-weight:700}.mono{direction:ltr;unicode-bidi:embed;font-family:ui-monospace,Consolas,monospace;font-size:12.5px}.center{text-align:center}.center-row{justify-content:center}.center-col{text-align:center;border:0;flex-direction:column}.mt{margin-top:14px}.text-red{color:var(--red)}.ok{color:var(--green)}.warn{color:var(--amber)}.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.btn{background:var(--navy);color:#fff;border:1px solid var(--navy);cursor:pointer;white-space:nowrap;border-radius:9px;align-items:center;gap:6px;padding:8px 14px;font-weight:600;display:inline-flex}.btn:hover{background:var(--navy-2)}.btn.ghost{color:var(--text);border-color:var(--line);background:#fff}.btn.ghost:hover{background:#f7f8fb}.btn.sm{border-radius:7px;padding:4px 10px;font-size:12.5px}.btn.ok{background:var(--green);border-color:var(--green)}.btn.danger{color:var(--red)}.btn.block{justify-content:center;width:100%;padding:11px}.btn:disabled{opacity:.45;cursor:default}.link{color:var(--blue);font-size:12.5px;font-weight:600}.icon-btn{cursor:pointer;width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:relative}.icon-btn:hover{color:var(--text);background:#f1f3f7}.icon-btn i{background:var(--red);color:#fff;border-radius:10px;padding:0 4px;font-size:9px;font-style:normal;font-weight:700;position:absolute;top:2px;left:0}.user{border-inline-start:1px solid var(--line);align-items:center;gap:8px;padding-inline-start:8px;display:flex}.avatar{width:34px;height:34px;color:var(--navy);background:#e7ecf4;border-radius:50%;flex-shrink:0;place-items:center;font-weight:700;display:grid}.search{border:1px solid var(--line);color:var(--muted);background:#f4f6fa;border-radius:9px;align-items:center;gap:6px;padding:0 10px;display:flex}.search input{width:100%;color:var(--text);background:0 0;border:0;outline:none;padding:8px 0}.badge{white-space:nowrap;border-radius:20px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-block}.badge.green{color:var(--green);background:#e5f6ee}.badge.amber{color:var(--amber);background:#fdf3e0}.badge.red{color:var(--red);background:#fde8e8}.badge.blue{color:var(--blue);background:#e6eefc}.badge.gray{color:var(--muted);background:#eef0f4}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:18px;display:flex}.page-head p{margin:4px 0 0}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}.card-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.grid{gap:14px;margin-bottom:14px;display:grid}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.tight{gap:8px;margin:0}.stat{align-items:center;gap:12px;padding:14px;display:flex}.stat-icon{border-radius:11px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.stat-icon.navy{color:var(--navy);background:#e7ecf4}.stat-icon.amber{color:var(--amber);background:#fdf3e0}.stat-icon.blue{color:var(--blue);background:#e6eefc}.stat-icon.gold{color:#a17c26;background:#f8f0dc}.stat-icon.green{color:var(--green);background:#e5f6ee}.stat-icon.red{color:var(--red);background:#fde8e8}.stat-value{font-size:21px;font-weight:800;line-height:1.3}.grid.tight .stat{box-shadow:none}.grid.tight .stat-value{font-size:16px}.bars{align-items:flex-end;gap:10px;height:190px;padding-top:10px;display:flex}.bar-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;height:100%;display:flex}.bar{background:linear-gradient(180deg, var(--gold), #b08636);border-radius:6px 6px 2px 2px;width:100%;max-width:38px;min-height:4px}.bar-val,.bar-label{color:var(--muted);font-size:11px}.health{gap:12px;margin:0;padding:0;list-style:none;display:grid}.health li{align-items:center;gap:8px;display:flex}.list-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:9px 0;display:flex}.list-row:last-child{border-bottom:0}.table-card{padding:0;overflow:hidden}.table-tools{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.table-tools .search{min-width:220px}.chips{flex-wrap:wrap;gap:6px;display:flex}.chips.sm-pad{border-bottom:1px solid var(--line);padding:10px}.chip{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:20px;padding:4px 13px;font-size:12.5px}.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:right;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;background:#f9fafc;padding:10px 14px;font-size:12px;font-weight:600}td{border-bottom:1px solid var(--line);white-space:nowrap;padding:11px 14px}tr:hover td{background:#fafbfd}td.actions .acts{gap:6px;display:flex}td.empty{text-align:center;color:var(--muted);padding:30px}.table-foot{justify-content:space-between;align-items:center;padding:10px 14px;display:flex}select,input,textarea{border:1px solid var(--line);background:#fff;border-radius:8px;outline:none;padding:7px 10px}select:focus,input:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px #c9a14a2e}textarea{resize:vertical;width:100%}.tabs{border-bottom:1px solid var(--line);gap:2px;display:flex;overflow-x:auto}.tab{cursor:pointer;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 14px;font-weight:600}.tab.on{color:var(--navy);border-bottom-color:var(--gold)}.form{gap:14px;max-width:720px;display:grid}.field{gap:6px;display:grid}.field>span{font-size:13px;font-weight:600}.field input,.field select{width:100%}.toggle{cursor:pointer;align-items:center;gap:10px;margin-bottom:10px;display:inline-flex}.toggle input{display:none}.track{background:#d4d9e2;border-radius:20px;width:38px;height:22px;transition:all .2s;position:relative}.thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:all .2s;position:absolute;top:3px;right:3px}.toggle input:checked+.track{background:var(--green)}.toggle input:checked+.track .thumb{right:19px}.warn-box{background:#fdf3e0;border:1px solid #f3dcae;border-radius:8px;padding:10px}.status-line{border-radius:9px;align-items:center;gap:8px;margin-bottom:14px;padding:10px;font-weight:600;display:flex}.status-line.ok{color:var(--green);background:#e5f6ee}.kv{grid-template-columns:auto 1fr;gap:10px 16px;margin:0;display:grid}.kv dt{color:var(--muted)}.kv dd{margin:0}.qr{color:var(--navy);background:#f9fafc;border-radius:10px;place-items:center;margin-bottom:10px;padding:20px;display:grid}.copy-box{border:1px solid var(--line);background:#f4f6fa;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:4px 4px 4px 10px;display:flex;overflow:hidden}.steps{gap:6px;margin:8px 0 0;padding-inline-start:18px;display:grid}.chat{grid-template-columns:300px 1fr;height:calc(100vh - 210px);min-height:440px;padding:0;display:grid;overflow:hidden}.chat-list{border-inline-end:1px solid var(--line);overflow-y:auto}.chat-item{cursor:pointer;text-align:right;border:0;border-bottom:1px solid var(--line);background:0 0;align-items:center;gap:10px;width:100%;padding:12px;display:flex}.chat-item:hover{background:#fafbfd}.chat-item.on{background:#f1f4f9}.pill{background:var(--green);color:#fff;border-radius:20px;padding:0 7px;font-size:11px;font-style:normal;font-weight:700}.chat-pane{flex-direction:column;min-width:0;display:flex}.chat-head{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 14px;display:flex}.msgs{background:#efeae2;flex-direction:column;flex:1;gap:8px;padding:18px;display:flex;overflow-y:auto}.msg{white-space:pre-wrap;background:#fff;border-radius:10px;align-self:flex-start;max-width:70%;padding:8px 12px;box-shadow:0 1px 1px #0000000f}.msg.me{background:#d9fdd3;align-self:flex-end}.composer{border-top:1px solid var(--line);gap:8px;padding:10px;display:flex}.composer input{flex:1}.login{background:linear-gradient(135deg, var(--navy), #1d4a7a);place-items:center;min-height:100%;padding:20px;display:grid}.login-card{gap:14px;width:100%;max-width:380px;padding:28px;display:grid}@media (width<=1000px){.grid.three,.grid.two{grid-template-columns:1fr}}@media (width<=820px){.sidebar{z-index:20;transition:all .25s;position:fixed;right:0;transform:translate(100%)}.nav-open .sidebar{transform:none}.nav-open .backdrop{z-index:15;background:#00000059;display:block;position:fixed;inset:0}.menu{display:grid}.hide-sm{display:none}.content{padding:14px}.chat{grid-template-columns:1fr}.chat-list,.top-search{display:none}}.nav-group{color:#8fa0b8;letter-spacing:.3px;padding:14px 12px 6px;font-size:11px;font-weight:700}.wa-status{color:#dfe6f0}.branch-switch{color:#7a5c17;background:#f8f0dc;border:1px solid #ecdcb4;border-radius:9px;align-items:center;gap:6px;padding:0 8px;display:flex}.branch-switch select{color:#7a5c17;background:0 0;border:0;padding:7px 2px;font-weight:700}.branch-switch select:focus{box-shadow:none}.modal-bg{z-index:50;background:#0f1e3273;place-items:center;padding:16px;animation:.15s fade;display:grid;position:fixed;inset:0}.modal{flex-direction:column;width:100%;max-width:520px;max-height:92vh;padding:0;animation:.18s pop;display:flex}.modal.wide{max-width:720px}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.modal-body{gap:14px;padding:18px;display:grid;overflow-y:auto}.modal-foot{border-top:1px solid var(--line);border-radius:0 0 var(--radius) var(--radius);background:#fafbfd;gap:8px;padding:12px 18px;display:flex}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(8px)scale(.98)}}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.ltr{text-align:right;direction:ltr}.err{color:var(--red);background:#fde8e8;border-radius:8px;margin:0;padding:8px 10px;font-size:13px}.info-box{color:#234a8a;background:#e6eefc;border:1px solid #cfdcf7;border-radius:8px;margin:0;padding:8px 10px}.mb{margin-bottom:14px}.mb-s{margin-bottom:8px}.mt-s{margin-top:6px}.wrap{flex-wrap:wrap}.seg{border:1px solid var(--line);border-radius:9px;display:inline-flex;overflow:hidden}.seg button{cursor:pointer;background:#fff;border:0;padding:7px 18px}.seg button.on{background:var(--navy);color:#fff}.check{cursor:pointer;white-space:nowrap;align-items:center;gap:6px;font-size:13px;display:inline-flex}.picker{position:relative}.picker input{width:100%}.picker-list{border:1px solid var(--line);z-index:5;inset-inline:0;background:#fff;border-radius:9px;margin-top:4px;position:absolute;top:100%;overflow:hidden;box-shadow:0 8px 24px #0000001a}.picker-list button{cursor:pointer;text-align:right;background:#fff;border:0;justify-content:space-between;width:100%;padding:10px 12px;display:flex}.picker-list button:hover{background:#f4f6fa}.picked{background:#fdf9ef;border:1px solid #ecdcb4;border-radius:9px;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.pay-box{border:1px dashed var(--line);background:#f9fafc;border-radius:10px;gap:10px;padding:12px;display:grid}.summary-row{background:#f9fafc;border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;padding:12px;display:grid}.summary-row>div,.branch-nums>div,.method-strip>div{gap:2px;display:grid}.branch-nums{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.branch-nums b{font-size:16px}.method-strip{grid-template-columns:repeat(4,1fr);gap:10px;padding:12px 16px;display:grid}.status-select{cursor:pointer;border:1px solid #0000;border-radius:20px;padding:3px 10px;font-size:12px;font-weight:700}.status-select.s0{color:var(--blue);background:#e6eefc}.status-select.s1{color:var(--amber);background:#fdf3e0}.status-select.s2{color:#6a42c2;background:#ede7fb}.status-select.s3{color:var(--green);background:#e5f6ee}.badge.gold{color:#8a6a1e;background:#f8f0dc}.tag{color:var(--blue);background:#e6eefc;border-radius:6px;margin-inline-start:6px;padding:0 5px;font-size:10px;font-weight:600}.link-plain:hover{color:var(--blue)}tr.cancelled td{color:#a3abb8;background:#fbfbfc}tr.cancelled td .strong{text-decoration:line-through}.strike{color:#a3abb8;text-decoration:line-through}.btn.danger-solid{background:var(--red);border-color:var(--red)}.card.flush{padding:0;overflow:hidden}.card.flush>.card-head{padding:14px 16px 0}.profile{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.avatar.xl{background:var(--navy);width:64px;height:64px;color:var(--gold);font-size:26px}.hbar{margin-bottom:10px}.hbar-track{background:#eef0f4;border-radius:8px;height:8px;margin-top:4px;overflow:hidden}.hbar-track div{background:linear-gradient(90deg, #b08636, var(--gold));border-radius:8px;height:100%}.perms{grid-template-columns:1fr 1fr;gap:8px;display:grid}.perm{border:1px solid var(--line);cursor:pointer;border-radius:9px;align-items:center;gap:8px;padding:9px 10px;font-size:13px;display:flex}.perm:has(input:checked){border-color:var(--gold);background:#fdf9ef}.perm.sensitive span:after{content:" ⚠️"}.dropzone{border:2px dashed var(--line);cursor:pointer;color:var(--muted);text-align:center;border-radius:12px;place-items:center;gap:6px;padding:34px 16px;display:grid}.dropzone:hover{border-color:var(--gold);background:#fdf9ef}.toasts{z-index:60;gap:8px;display:grid;position:fixed;bottom:20px;left:20px}.toast{background:var(--navy);color:#fff;border-radius:10px;align-items:center;gap:8px;padding:10px 16px;animation:.2s pop;display:flex;box-shadow:0 8px 24px #0003}.toast svg{color:#34d399}@media (width<=820px){.form-grid,.perms,.method-strip{grid-template-columns:1fr 1fr}.branch-switch{display:none}}@media (width<=520px){.form-grid,.perms{grid-template-columns:1fr}}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-value{white-space:nowrap}.stat>div:last-child{min-width:0}.nav-item em.green{color:#fff;background:#25d366}.mini-dot{background:#d14343;border-radius:50%;flex-shrink:0;width:8px;height:8px}.mini-dot.on{background:#34d399}.step-title{color:var(--navy);align-items:center;gap:8px;margin-top:4px;font-weight:800;display:flex}.step-title span{background:var(--gold);width:24px;height:24px;color:var(--navy);border-radius:50%;place-items:center;font-size:12px;display:grid}.seg button{align-items:center;gap:6px;display:inline-flex}.form-grid.three-col{grid-template-columns:1fr 1fr 1fr}.span2{grid-column:1/-1}.readonly{border:1px solid var(--line);background:#f9fafc;border-radius:8px;padding:7px 10px;font-weight:800}.saved-line{color:var(--green);background:#e5f6ee;border-radius:9px;align-items:center;gap:8px;padding:10px;font-weight:600;display:flex}.receipt{background:#fff;border:1px dashed #c7ced9;border-radius:12px;padding:16px}.receipt-head{border-bottom:2px solid var(--navy);align-items:center;gap:10px;margin-bottom:10px;padding-bottom:12px;display:flex}.receipt-no{text-align:left;margin-inline-start:auto;display:grid}.receipt-rows>div{border-bottom:1px dotted var(--line);justify-content:space-between;padding:7px 0;display:flex}.receipt-rows>div span{color:var(--muted)}.receipt-rows .total{border-bottom:0;font-size:16px}.receipt-foot{text-align:center;margin-top:10px}.filter-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.chip-n{opacity:.7;margin-inline-start:6px;font-size:11px}.method-cards{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.method-card{border:1px solid var(--line);color:var(--navy);background:#f9fafc;border-radius:10px;justify-items:start;gap:4px;padding:12px;display:grid}.method-card b{color:var(--text);font-size:18px}.total-row{border-top:2px solid var(--line);margin-top:4px;border-bottom:0!important}.lock-note{color:#7a5c17;background:#f8f0dc;border:1px solid #ecdcb4;border-radius:9px;align-items:center;gap:8px;margin-top:0;padding:9px 12px;display:flex}.connected{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.connected h2{margin:0 0 4px;font-size:18px}.big-check{width:70px;height:70px;color:var(--green);background:#e5f6ee;border-radius:50%;place-items:center;display:grid}.shortcuts{grid-template-columns:repeat(4,1fr)}.shortcut{color:var(--navy);gap:6px;transition:all .15s;display:grid}.shortcut:hover{border-color:var(--gold);transform:translateY(-2px)}.choice{text-align:right;cursor:pointer;color:var(--navy);border-width:2px;justify-items:start;gap:8px;display:grid}.choice.on{border-color:var(--gold);background:#fdf9ef}.qr-step{padding:20px}.qr-flow{flex-wrap:wrap;align-items:center;gap:30px;display:flex}.qr.big{border:1px solid var(--line);background:#fff;padding:20px}.bot-tag{color:#6a42c2;background:#ede7fb;border-radius:6px;align-items:center;gap:3px;width:fit-content;margin-bottom:3px;padding:0 5px;font-size:10px;display:inline-flex}.msg{flex-direction:column;display:flex}.tpl{gap:10px;display:grid}.preview{background:#efeae2;border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.preview .msg{max-width:90%}.clamp{-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;max-width:420px;display:-webkit-box;overflow:hidden}textarea{width:100%}@media (width<=1000px){.shortcuts,.method-cards{grid-template-columns:1fr 1fr}.form-grid.three-col{grid-template-columns:1fr}}@media print{body *{visibility:hidden}#receipt,#receipt *{visibility:visible}#receipt{border:0;position:fixed;top:0;left:0;right:0}.printable,.printable *{visibility:visible}.printable{position:absolute;top:0;left:0;right:0}.modal-bg,.modal,.modal-body{background:0 0!important;max-height:none!important;position:static!important;overflow:visible!important}}.field>.seg,.seg.mb-s{display:flex}.seg button{flex:1;justify-content:center}.sup-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px;display:grid}.sup-chat{flex-direction:column;height:calc(100vh - 260px);min-height:460px;padding:0;display:flex;overflow:hidden}.sup-side{flex-direction:column;gap:16px;display:flex}.sup-steps{margin:0;padding-inline-start:18px;line-height:1.9}.sup-kv>div{border-bottom:1px dashed var(--line);justify-content:space-between;padding:8px 0;display:flex}.sup-kv>div:last-child{border:0}@media (width<=900px){.sup-grid{grid-template-columns:1fr}.sup-chat{height:520px}}.cb-tabs{margin-bottom:12px}.daily{gap:12px;display:grid}.dl-h{border-bottom:2px solid var(--navy);margin:8px 0 0;padding-bottom:4px;font-size:14px}.daily table{font-size:12.5px}.dl-sign{border-top:1px dashed var(--line);justify-content:space-between;margin-top:10px;padding-top:12px;display:flex}.shell{--acc:var(--navy)}.nav-item[data-sec=home]{--ic:#60a5fa}.shell:has(.nav-item.active[data-sec=home]){--acc:#2563eb}.nav-item[data-sec=req]{--ic:#a5b4fc}.shell:has(.nav-item.active[data-sec=req]){--acc:#4f46e5}.nav-item[data-sec=cash]{--ic:#34d399}.shell:has(.nav-item.active[data-sec=cash]){--acc:#059669}.nav-item[data-sec=cust]{--ic:#22d3ee}.shell:has(.nav-item.active[data-sec=cust]){--acc:#0e7490}.nav-item[data-sec=wa]{--ic:#4ade80}.shell:has(.nav-item.active[data-sec=wa]){--acc:#128c7e}.nav-item[data-sec=rep]{--ic:#c4b5fd}.shell:has(.nav-item.active[data-sec=rep]){--acc:#7c3aed}.nav-item[data-sec=svc]{--ic:#f9a8d4}.shell:has(.nav-item.active[data-sec=svc]){--acc:#db2777}.nav-item[data-sec=usr]{--ic:#cbd5e1}.shell:has(.nav-item.active[data-sec=usr]){--acc:#475569}.nav-item[data-sec=imp]{--ic:#bef264}.shell:has(.nav-item.active[data-sec=imp]){--acc:#4d7c0f}.nav-item[data-sec=aud]{--ic:#fcd34d}.shell:has(.nav-item.active[data-sec=aud]){--acc:#b45309}.nav-item[data-sec=sup]{--ic:#fdba74}.shell:has(.nav-item.active[data-sec=sup]){--acc:#ea580c}.nav-item svg{color:var(--ic,#c9d3e1)}.nav-item.active{background:color-mix(in srgb,var(--ic) 20%,transparent);box-shadow:inset -3px 0 0 var(--ic)}.nav-group{border-top:1px solid #ffffff17;margin-top:8px}nav>.nav-group:first-child{border:0;margin:0}.topbar{box-shadow:inset 0 -3px 0 var(--acc)}.content>.page-head{background:linear-gradient(to left,color-mix(in srgb,var(--acc) 13%,#fff),#fff 75%);border:1px solid color-mix(in srgb,var(--acc) 25%,#fff);border-inline-start:5px solid var(--acc);border-radius:12px;padding:16px 18px}.content>.page-head h1{color:color-mix(in srgb,var(--acc) 75%,#000)}.content .btn:not(.ghost):not(.ok):not(.danger-solid){background:var(--acc);border-color:var(--acc)}.content .btn:not(.ghost):not(.ok):not(.danger-solid):hover{filter:brightness(.92)}.content .chip.on,.content .seg button.on{background:var(--acc);border-color:var(--acc);color:#fff}.content .card-head h3:before{content:"";background:var(--acc);vertical-align:-2px;border-radius:2px;width:4px;height:15px;margin-inline-end:8px;display:inline-block}.content .stat.card{border-top:3px solid var(--acc)}.content thead th{background:color-mix(in srgb,var(--acc) 7%,#fff)}.content .profile.card{border-inline-start:5px solid var(--acc)}.st-wrap{flex-direction:column;gap:4px;display:flex}.stage-select{color:#92400e;background:#fffbeb;border:1px dashed #f0c674;border-radius:7px;padding:3px 6px;font-size:11.5px}.disc-tag{color:#db2777;font-weight:600}.late-card{border-inline-start:4px solid var(--red)}td.actions .acts{flex-wrap:wrap;justify-content:flex-end;max-width:170px}.dates{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.cf-lines{border:1px solid var(--line);background:#fafbfd;border-radius:9px;padding:4px 12px}.cf-lines>div{border-bottom:1px dashed var(--line);justify-content:space-between;gap:10px;padding:7px 0;display:flex}.cf-lines>div:last-child{border:0}.stg-list{gap:6px;display:grid}.stg-row{align-items:center;gap:6px;display:flex}.stg-row input{flex:1}.stg-n{background:color-mix(in srgb,var(--acc) 14%,#fff);color:var(--acc);border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.msgs3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}@media (width<=1250px){.msgs3{grid-template-columns:1fr}}.off-card{opacity:.6}.due-tools{align-items:center;gap:8px;margin-bottom:8px;display:flex}.due-all{margin:4px 0 6px;display:inline-flex}.due-row{align-items:center;gap:10px}.due-row.on{background:color-mix(in srgb,var(--acc) 7%,#fff)}.tot td{background:#f4f6fa;font-weight:700}.no-perm{text-align:center;padding:40px}.as-user{color:var(--muted);field-sizing:content;cursor:pointer;background:0 0;border:0;width:auto;max-width:170px;padding:0;font-size:11px;display:block}.office-row{align-items:flex-end}.office-row .field{flex:1;min-width:260px}.block-box{color:#7f1d1d;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin:0;padding:12px 14px;line-height:1.9}.ex-sec{border-top:4px solid var(--acc);margin-top:16px}.ex-head h2{color:color-mix(in srgb,var(--acc) 75%,#000);margin:0 0 6px;font-size:19px}.ex-head p{margin:0 0 14px;line-height:1.9}.ex-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.ex-card{background:linear-gradient(180deg,color-mix(in srgb,var(--acc) 8%,#fff),#fff 60%);border:1px solid color-mix(in srgb,var(--acc) 25%,#fff);border-radius:12px;flex-direction:column;gap:6px;padding:14px;display:flex}.ex-name{font-size:15px;font-weight:700}.ex-price{color:var(--acc);font-size:24px;font-weight:800}.ex-price span{color:var(--muted);font-size:12px;font-weight:500}.ex-meta{font-size:12.5px}.ex-btn{justify-content:center;margin-top:auto}.ex-inline{align-self:flex-start;margin-top:8px}.ex-orders{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}.ex-orders h4{margin:0 0 4px}.ex-done{text-align:center;padding:10px}.ex-done-ic{font-size:40px}html,body,#root{height:100%}.loading-box{color:var(--muted);justify-content:center;align-items:center;gap:8px;padding:40px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.row-late td:first-child{box-shadow:inset -3px 0 0 var(--red)}.extra-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.extra-view{color:var(--muted);font-size:11.5px;line-height:1.6}.extra-view b{color:var(--text);font-weight:600}.legacy-tag{color:#6b7585;background:#eef1f6;border-radius:5px;margin-inline-start:4px;padding:0 5px;font-size:10px}.fields-editor{gap:6px;display:grid}.fields-editor .row input{flex:1}.impersonate-bar{color:#7c2d12;text-align:center;background:#ffedd5;border-bottom:1px solid #fdba74;padding:6px;font-size:13px}.impersonate-bar button{margin-inline-start:8px}.pw-card{max-width:420px}.kv{gap:0;display:grid}.kv>div{border-bottom:1px dashed var(--line);justify-content:space-between;gap:10px;padding:7px 0;display:flex}.kv>div:last-child{border:0}.feat-list{flex-wrap:wrap;gap:8px;display:flex}.big-num{font-size:26px;font-weight:800}.admin-shell .sidebar{background:#1a1033}.admin-shell .logo{color:#fff;background:#7c3aed}.pill-row{flex-wrap:wrap;gap:6px;display:flex}.cred-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:12px;line-height:2}.cred-box b{font-family:monospace;font-size:15px}textarea.code{font-family:inherit;line-height:1.8}.modal-body{grid-auto-rows:max-content}.table-card .table-wrap,.card.flush>.table-wrap{max-height:calc(100vh - 230px);overflow:auto}.table-wrap thead th{z-index:2;box-shadow:0 1px 0 var(--line);position:sticky;top:0}.content .table-wrap thead th{background:color-mix(in srgb,var(--acc) 7%,#fff)}.modal .table-wrap,.printable .table-wrap{max-height:none}@media print{.printable .table-wrap{overflow:visible}.printable thead th{position:static}}.modal .table-wrap{overflow-x:auto}th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}th.sortable:hover,th.sortable.on{color:var(--acc)}.sort-ic{opacity:.45;margin-inline-start:4px;font-size:10px}th.sortable.on .sort-ic{opacity:1}.logo-img{object-fit:contain;background:#fff;border-radius:10px;width:38px;height:38px;padding:2px}.print-logo{object-fit:contain;max-width:150px;height:64px}.logo-up{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.logo-slot{flex-direction:column;gap:6px;display:flex}.logo-prev{border:1px dashed var(--line);background:#f6f8fb;border-radius:10px;place-items:center;display:grid;overflow:hidden}.logo-prev.wide{width:220px;height:110px}.logo-prev.sq{width:110px;height:110px}.logo-prev img{object-fit:contain;width:100%;height:100%}.comp-select{border:1px dashed var(--line);border-radius:7px;max-width:130px;padding:3px 6px;font-size:12px}.comm-row{cursor:pointer}.comm-row:hover td{background:#f8fafc}.comm-items td{background:#fbfcfe;font-size:12.5px}
