:root{--brand: #0a92c8;--brand-strong: #0779a6;--brand-soft: #e6f6fc;--brand-deep: #051a34;--bg: #f7f9fc;--surface: #ffffff;--surface-2: #f4f7fb;--sidebar: #ffffff;--border: #eef1f6;--border-2: #e2e7ef;--text: #0f2138;--text-2: #51647b;--text-3: #617386;--a-cyan: #0a92c8;--a-cyan-bg: #e6f6fc;--a-violet: #7c6cf0;--a-violet-bg: #eeecfe;--a-amber: #e08a0b;--a-amber-bg: #fdf2dc;--chip-ok: #157f3b;--chip-warn: #9a5b00;--chip-danger: #b81e57;--chip-info: #0d6d92;--chip-progress: #5647c4;--a-green: #16a34a;--a-green-bg: #e4f7ec;--a-rose: #e0457b;--a-rose-bg: #fde7ef;--radius: 16px;--radius-2: 12px;--radius-3: 9px;--pill: 999px;--shadow-sm: 0 1px 2px rgba(15, 33, 56, .04);--shadow: 0 1px 2px rgba(15, 33, 56, .03), 0 5px 18px rgba(15, 33, 56, .045);--shadow-pop: 0 12px 40px rgba(8, 24, 51, .14);--shadow-brand: 0 4px 14px rgba(10, 146, 200, .22);--font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif}[data-theme=dark]{--brand-soft: #0c2f44;--bg: #07101e;--surface: #0e1d33;--surface-2: #13243d;--sidebar: #0b1a2e;--border: #1b3050;--border-2: #1b3050;--text: #e9f1f9;--text-2: #9fb3c8;--text-3: #7a90a8;--a-cyan-bg: #0c2f44;--a-violet-bg: #241f44;--a-amber-bg: #3a2c11;--a-green-bg: #0d2f1f;--a-rose-bg: #371826;--chip-ok: #4ec97e;--chip-warn: #f0b357;--chip-danger: #f085ab;--chip-info: #4cb9e8;--chip-progress: #a89dff;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 16px 36px rgba(0, 0, 0, .35);--shadow-pop: 0 20px 55px rgba(0, 0, 0, .55)}:root[data-portal=sourcing]{--brand: #0d9488;--brand-strong: #0b7c70;--brand-soft: rgba(13,148,136,.14);--shadow-brand: 0 10px 22px rgba(13,148,136,.3)}:root[data-portal=finance],:root[data-portal=accountant]{--brand: #059669;--brand-strong: #047857;--brand-soft: rgba(5,150,105,.14);--shadow-brand: 0 10px 22px rgba(5,150,105,.3)}:root[data-portal=sales]{--brand: #7c3aed;--brand-strong: #6d28d9;--brand-soft: rgba(124,58,237,.14);--shadow-brand: 0 10px 22px rgba(124,58,237,.3)}:root[data-portal=warehouse]{--brand: #d97706;--brand-strong: #b45309;--brand-soft: rgba(217,119,6,.15);--shadow-brand: 0 10px 22px rgba(217,119,6,.3)}:root[data-portal=store]{--brand: #0891b2;--brand-strong: #0e7490;--brand-soft: rgba(8,145,178,.14);--shadow-brand: 0 10px 22px rgba(8,145,178,.3)}:root[data-portal=people]{--brand: #e11d48;--brand-strong: #be123c;--brand-soft: rgba(225,29,72,.13);--shadow-brand: 0 10px 22px rgba(225,29,72,.28)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transition:background .2s,color .2s}button,input,select,textarea{font:inherit}.pi{height:auto;flex-shrink:0}.app-shell{min-height:100vh;display:grid;grid-template-columns:266px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:266px;background:var(--sidebar);border-right:1px solid var(--border);padding:22px 16px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 22px}.brand img{width:42px;height:42px;border-radius:var(--radius-2);background:var(--brand-deep);padding:5px}.brand div{display:grid;gap:2px}.brand strong{font-size:14px;letter-spacing:.14em;color:var(--text)}.brand span{font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:var(--brand)}.nav-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--text-3)}.nav-label{padding:16px 12px 7px}.nav-item{border:0;background:transparent;color:var(--text-2);width:100%;height:44px;border-radius:var(--radius-2);display:flex;align-items:center;gap:13px;padding:0 13px;cursor:pointer;margin:3px 0;text-align:left;font-size:13.5px;font-weight:500;transition:background .15s,color .15s}.nav-item svg{width:18px;height:18px}.nav-item b{margin-left:auto;background:var(--brand);color:#fff;border-radius:var(--pill);padding:3px 8px;font-size:10px;font-weight:700}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--brand-soft);color:color-mix(in srgb,var(--brand-strong) 85%,#000);font-weight:600}[data-theme=dark] .nav-item.active{color:color-mix(in srgb,var(--brand-strong) 60%,#fff)}.nav-item.active svg{color:var(--brand)}.skip-link{position:absolute;left:-9999px;top:10px;z-index:200;background:var(--brand);color:#fff;padding:10px 16px;border-radius:10px;font-size:13px;font-weight:600}.skip-link:focus{left:10px}.nav-parent-wrap{margin:1px 0}.nav-item .nav-chevron{width:16px;height:16px;margin-left:auto;color:var(--text-3);transition:transform .18s;flex-shrink:0}.nav-item .nav-chevron.open{transform:rotate(180deg)}.nav-parent.child-active{color:var(--brand-strong)}.nav-parent.child-active svg:first-child{color:var(--brand)}.nav-children{margin:2px 0 6px 17px;padding-left:13px;border-left:1.5px solid var(--border-2);display:grid;gap:2px}.nav-child{border:0;background:transparent;color:var(--text-3);width:100%;height:35px;border-radius:10px;display:flex;align-items:center;gap:10px;padding:0 11px;cursor:pointer;text-align:left;font-size:12.5px;font-weight:500;transition:background .15s,color .15s}.nav-child-dot{width:5px;height:5px;border-radius:50%;background:var(--border-2);flex-shrink:0;transition:background .15s}.nav-child:hover{background:var(--surface-2);color:var(--text)}.nav-child:hover .nav-child-dot{background:var(--text-3)}.nav-child.active{background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.nav-child.active .nav-child-dot{background:var(--brand)}.sidebar-scroll{overflow-y:auto;min-height:0;padding-right:2px;flex:1}.sidebar-scroll::-webkit-scrollbar{width:4px}.sidebar-scroll::-webkit-scrollbar-thumb{background:var(--border-2);border-radius:99px}.sidebar-foot{border-top:1px solid var(--border);margin-top:10px;padding-top:12px;display:grid;gap:10px}.theme-toggle{display:flex;gap:4px;background:var(--surface-2);border-radius:var(--pill);padding:4px}.theme-toggle button{flex:1;height:32px;border:0;background:transparent;border-radius:var(--pill);display:grid;place-items:center;color:var(--text-3);cursor:pointer}.theme-toggle button svg{width:16px}.theme-toggle button.active{background:var(--surface);color:var(--brand);box-shadow:var(--shadow-sm)}.profile{display:grid;grid-template-columns:38px 1fr 18px;gap:11px;align-items:center;padding:4px 6px}.profile>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--brand);color:#fff;font-weight:700;font-size:13px}.profile div{display:grid;gap:3px;min-width:0}.profile strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:10px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile>svg{width:16px;color:var(--text-3)}.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--a-green);margin-right:7px;box-shadow:0 0 0 4px #16a34a26}main{grid-column:2;min-width:0}.topbar{height:66px;background:color-mix(in oklab,var(--surface) 82%,transparent);backdrop-filter:blur(12px) saturate(1.4);-webkit-backdrop-filter:blur(12px) saturate(1.4);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 26px;position:sticky;top:0;z-index:15}.search-wrap{position:relative;width:min(440px,38vw)}.search{height:44px;width:100%;display:flex;align-items:center;gap:10px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-2);padding:0 14px;cursor:text;transition:border-color .15s,box-shadow .15s}.search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.search svg,.quiet svg,.primary svg,.icon svg{width:16px;height:16px}.search input{border:0;outline:0;background:transparent;width:100%;font-size:13px;color:var(--text)}.search kbd{background:var(--surface);border:1px solid var(--border-2);border-radius:7px;padding:3px 6px;color:var(--text-3);font-size:10px;white-space:nowrap}.search-pop{position:absolute;z-index:40;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid var(--border-2);border-radius:14px;box-shadow:var(--shadow-pop);padding:6px}.search-pop-label{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-3);padding:8px 10px 6px}.search-res{width:100%;display:flex;align-items:center;gap:11px;padding:9px 10px;border:0;background:transparent;border-radius:10px;cursor:pointer;text-align:left;color:var(--text)}.search-res-ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--surface-2);color:var(--brand);flex-shrink:0}.search-res-ic svg{width:16px;height:16px}.search-res-text{flex:1;display:grid;gap:1px;min-width:0}.search-res-text strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-res-text small{font-size:11px;color:var(--text-3)}.search-res-enter{width:14px;height:14px;color:var(--text-3);opacity:0;flex-shrink:0}.search-res.active{background:var(--brand-soft)}.search-res.active .search-res-ic{background:var(--brand);color:#fff}.search-res.active strong{color:var(--brand-strong)}.search-res.active .search-res-enter{opacity:1;color:var(--brand-strong)}.search-empty{display:flex;align-items:center;gap:9px;justify-content:center;padding:18px;color:var(--text-3);font-size:12.5px}.search-empty svg{width:16px}.top-actions,.head-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.quiet,.primary,.icon{border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,box-shadow .15s,transform .05s}.quiet{height:44px;border:1px solid var(--border-2);background:var(--surface);border-radius:var(--radius-2);padding:0 15px;gap:8px;color:var(--text-2);font-size:13px;font-weight:600}.quiet:hover{background:var(--surface-2);border-color:var(--border-2);color:var(--text)}.quiet:active,.icon:active{transform:translateY(1px)}.primary{height:44px;background:var(--brand);color:#fff;border-radius:var(--radius-2);padding:0 18px;gap:8px;font-size:13px;font-weight:600;box-shadow:var(--shadow-brand)}.primary:hover{background:var(--brand-strong)}.primary:active{transform:translateY(1px)}.primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.icon{width:44px;height:44px;border-radius:var(--radius-2);background:transparent;color:var(--text-2)}.icon:hover{background:var(--surface-2)}.notification{position:relative}.avatar{width:44px;height:44px;border-radius:13px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;border:0;cursor:pointer}.connected{height:44px;border:1px solid #bfe8d0;background:var(--a-green-bg);color:var(--chip-ok);border-radius:var(--radius-2);padding:0 15px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.content{padding:28px 30px;width:100%;max-width:1600px;margin-inline:auto}.page-head{display:flex;align-items:flex-end;gap:24px;margin-bottom:24px}.page-head h1{font-size:27px;font-weight:800;letter-spacing:-.025em;margin:8px 0 6px}.page-head p{margin:0;color:var(--text-3);font-size:13px}.dropdown-wrap{position:relative}.dropdown,.date-panel{position:absolute;top:52px;right:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-pop);z-index:30;padding:8px}.dropdown{width:210px}.dropdown button{width:100%;border:0;background:transparent;display:flex;justify-content:space-between;padding:11px 12px;border-radius:10px;font-size:13px;color:var(--text-2);cursor:pointer}.dropdown button:hover{background:var(--brand-soft);color:var(--brand-strong)}.dropdown svg{width:16px}.date-panel{width:220px;padding:12px}.date-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.date-panel-head strong{font-size:13px}.date-panel-head .icon{width:28px;height:28px}.date-panel-head .icon svg{width:16px}.quick-dates{display:grid;gap:6px}.quick-dates .quiet{height:38px;justify-content:flex-start;padding:0 12px;font-weight:500}.quick-dates .quiet.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.stat-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-top h3{font-size:14px;font-weight:600;margin:0;color:var(--text)}.stat-cur{display:flex;align-items:center;gap:5px;height:30px;padding:0 11px;border:1px solid var(--border-2);border-radius:var(--pill);font-size:11px;font-weight:600;color:var(--text-2);background:var(--surface-2);cursor:pointer}.stat-cur svg{width:14px}.stat-value{font-size:28px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:16px 0 0}.stat-value small{font-size:17px;color:var(--text-3);font-weight:600}.stat-row{display:flex;align-items:center;gap:14px;margin-top:14px}.stat-delta{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;padding:4px 9px;border-radius:var(--pill)}.stat-delta svg{width:14px}.stat-delta.up{background:var(--a-green-bg);color:var(--chip-ok)}.stat-delta.down{background:var(--a-rose-bg);color:var(--chip-danger)}.stat-note{font-size:11.5px;color:var(--text-3)}.stat-subs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.stat-sub{display:flex;align-items:center;gap:9px}.stat-sub-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand)}.stat-sub-icon svg{width:16px}.stat-sub div{display:grid}.stat-sub strong{font-size:13px}.stat-sub span{font-size:10.5px;color:var(--text-3)}.analytics-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-top:18px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-pad{padding:22px}.panel-head{min-height:66px;display:flex;align-items:center;gap:12px;padding:16px 22px;border-bottom:1px solid var(--border);flex-wrap:wrap}.panel-head div.ph-title{display:grid;gap:4px;margin-right:auto}.panel-head h2{font-size:16px;font-weight:700;letter-spacing:-.01em;margin:0}.panel-head span.ph-sub{font-size:11.5px;color:var(--text-3)}.panel-head .legend{display:flex;gap:14px}.legend-item{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--text-2);font-weight:500}.legend-dot{width:9px;height:9px;border-radius:50%}.legend-dot.dash{width:14px;height:0;border-top:2px dashed var(--text-3);border-radius:0}.chart-wrap{padding:18px 18px 8px}.chart{width:100%;height:240px;display:block}.chart-grid{stroke:var(--border);stroke-width:1}.chart-line{stroke:var(--brand);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-compare{stroke:var(--text-3);stroke-width:1.75;stroke-dasharray:5 5;stroke-linecap:round;opacity:.6}.chart-dot{fill:var(--brand);stroke:var(--surface);stroke-width:2.5}.chart-dot-halo{fill:var(--brand);opacity:.16}.chart-xlabel{fill:var(--text-3);font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}.bar-a{fill:var(--brand)}.bar-b{fill:var(--a-violet);opacity:.85}.donut{position:relative;display:grid;place-items:center;padding:8px}.donut-svg{width:200px;height:200px;transform:rotate(-90deg)}.donut-track{fill:none;stroke:var(--surface-2);stroke-width:18}.donut-seg{fill:none;stroke-width:18;stroke-linecap:round;transition:stroke-dasharray .5s}.donut-center{position:absolute;display:grid;place-items:center;text-align:center}.donut-center span{font-size:11px;color:var(--text-3)}.donut-center strong{font-size:24px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.donut-legend{display:grid;gap:11px;padding:4px 22px 22px}.donut-legend div{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--text-2)}.donut-legend b{margin-left:auto;color:var(--text);font-weight:600}.queue{overflow:hidden}.queue-item{width:100%;border:0;border-bottom:1px solid var(--border);background:transparent;padding:16px 22px;display:grid;grid-template-columns:42px 1fr auto;gap:13px;text-align:left;align-items:center;cursor:pointer;transition:background .15s}.queue-item:hover:not(:disabled){background:var(--surface-2)}.queue-item:disabled{cursor:default}.queue-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center}.queue-icon svg{width:16px}.queue-icon.red{background:var(--a-rose-bg);color:var(--chip-danger)}.queue-icon.amber{background:var(--a-amber-bg);color:var(--chip-warn)}.queue-icon.blue{background:var(--a-cyan-bg);color:var(--chip-info)}.queue-item>span:nth-child(2){display:grid;gap:4px}.queue-item strong{font-size:13px}.queue-item small,.queue-item em{font-size:11px;color:var(--text-3);font-style:normal}.activity-list>div{display:flex;align-items:center;gap:13px;padding:16px 22px;border-bottom:1px solid var(--border)}.activity-dot{width:9px;height:9px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 5px #0a92c81f}.activity-dot.d1{background:var(--a-amber);box-shadow:0 0 0 5px #e08a0b1f}.activity-dot.d2{background:var(--a-violet);box-shadow:0 0 0 5px #7c6cf01f}.activity-list div div{display:grid;gap:4px}.activity-list strong{font-size:13px}.activity-list small{font-size:11px;color:var(--text-3)}.bottom-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-top:18px}.branch-tag{display:inline-flex;align-items:center;gap:5px;color:var(--brand-strong);font-weight:600}.branch-tag svg{width:14px;height:14px}.attention-bar{display:flex;align-items:center;gap:12px;background:var(--a-amber-bg);border:1px solid var(--border);border-radius:var(--radius-2);padding:12px 18px;margin-bottom:18px;font-size:13px}.attention-bar strong{color:var(--a-amber)}.att-dot{width:8px;height:8px;border-radius:50%;background:var(--a-amber);flex-shrink:0}.att-chip{background:var(--surface);border:1px solid var(--border-2);border-radius:var(--pill);padding:4px 12px;font-size:12px;font-weight:600;color:var(--text-2)}.kpi-band{display:grid;grid-template-columns:repeat(auto-fit,minmax(216px,1fr));gap:14px;margin-bottom:18px}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px;display:flex;flex-direction:column;gap:15px;min-width:0;container-type:inline-size;transition:box-shadow .16s,border-color .16s,transform .16s}.kpi:hover{box-shadow:var(--shadow);border-color:var(--border-2)}.kpi-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.kpi-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);line-height:1.35}.kpi-ic{width:38px;height:38px;border-radius:var(--radius-2);display:grid;place-items:center;flex-shrink:0;background:var(--brand-soft);color:var(--brand)}.kpi-ic svg{width:18px;height:18px}.kpi-body{min-width:0}.kpi-value{font-size:clamp(18px,8cqi,27px);font-weight:800;letter-spacing:-.02em;line-height:1.05;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-foot{display:flex;align-items:center;gap:9px;margin-top:8px;flex-wrap:wrap}.kpi-trend{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:700;white-space:nowrap}.kpi-trend svg{width:14px;height:14px}.kpi-trend.up{color:var(--a-green)}.kpi-trend.down{color:var(--a-rose)}.kpi-sub{font-size:11.5px;color:var(--text-3)}.kpi.green .kpi-ic{background:var(--a-green-bg);color:var(--a-green)}.kpi.red .kpi-ic{background:var(--a-rose-bg);color:var(--a-rose)}.kpi.blue .kpi-ic,.kpi.cyan .kpi-ic{background:var(--a-cyan-bg);color:var(--a-cyan)}.kpi.amber .kpi-ic{background:var(--a-amber-bg);color:var(--a-amber)}.kpi.violet .kpi-ic{background:var(--a-violet-bg);color:var(--chip-progress)}.kpi.neg .kpi-value{color:var(--a-rose)}.mini-strip,.module-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(164px,1fr));gap:0;margin-bottom:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.mini-stat,.mini-kpi{background:transparent;border:0;border-right:1px solid var(--border);border-bottom:1px solid var(--border);margin:0 -1px -1px 0;border-radius:0;box-shadow:none;padding:14px 18px 15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;transition:background .16s}.mini-stat:hover,.mini-kpi:hover{background:var(--surface-2);box-shadow:none;border-color:var(--border)}.mini-stat span,.mini-kpi span{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;line-height:1.3;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);font-weight:700}.mini-stat strong,.mini-kpi strong{font-size:22px;line-height:1.1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.mini-stat.amber strong{color:var(--a-amber)}.mini-stat.red strong{color:var(--a-rose)}.stock-stats .mini-strip{margin-bottom:14px}.stock-stats .kpi-band{margin-bottom:16px}.method-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px}.method-row-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-3)}.method-chip{font-size:12px;color:var(--text-2);background:var(--surface);border:1px solid var(--border);border-radius:var(--pill);padding:6px 12px;box-shadow:var(--shadow-sm)}.method-chip b{color:var(--text);font-weight:600}.method-chip em{color:var(--text-3);font-style:normal}.pill-count{background:var(--brand-deep);color:#fff;border-radius:var(--pill);padding:4px 11px;font-size:11px;font-weight:700}.breakdown{display:grid;grid-template-columns:200px 1fr;gap:22px;padding:18px 22px 22px;align-items:center}.breakdown-list{display:flex;flex-direction:column;gap:11px}.bd-row{display:grid;grid-template-columns:10px 1.1fr 1.4fr auto;align-items:center;gap:10px}.bd-dot{width:9px;height:9px;border-radius:50%}.bd-label{font-size:12.5px;color:var(--text-2);font-weight:500}.bd-bar{height:7px;background:var(--surface-2);border-radius:var(--pill);overflow:hidden}.bd-bar span{display:block;height:100%;border-radius:var(--pill);min-width:3px}.bd-val{font-size:11.5px;color:var(--text-3);font-weight:600;white-space:nowrap}@media(max-width:640px){.breakdown{grid-template-columns:1fr}}.stage-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;padding:18px 22px 22px}.stage-card{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-2);padding:14px 16px;display:flex;flex-direction:column;gap:3px}.stage-card .stage-dot{width:9px;height:9px;border-radius:50%;margin-bottom:5px}.stage-card strong{font-size:22px;font-weight:700;letter-spacing:0}.stage-card span{font-size:11.5px;color:var(--text-3)}.import-bar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:16px;overflow:hidden}.import-head{width:100%;display:flex;align-items:center;gap:14px;padding:16px 20px;background:none;border:0;cursor:pointer;text-align:left}.import-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);flex-shrink:0}.import-ic svg{width:18px;height:18px}.import-head>div{margin-right:auto;min-width:0}.import-head strong{display:block;font-size:14px}.import-head small{display:block;font-size:11.5px;color:var(--text-3);margin-top:2px}.import-head small b{color:var(--text-2)}.import-chev{width:18px;height:18px;color:var(--text-3);transition:transform .2s}.import-chev.open{transform:rotate(180deg)}.import-body{padding:4px 20px 18px;border-top:1px solid var(--border)}.import-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:14px}.import-file{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px dashed var(--border-2);border-radius:11px;cursor:pointer;font-size:13px;color:var(--text-2);background:var(--surface-2)}.import-file svg{width:16px;height:16px;color:var(--text-3)}.import-branch{min-width:220px}.import-result{margin-top:14px}.import-stats{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;font-weight:600}.import-stats span{display:inline-flex;align-items:center;gap:6px}.import-stats svg{width:16px;height:16px}.import-stats .ok{color:var(--a-green)}.import-stats .warn{color:var(--a-amber)}.import-stats .muted{color:var(--text-3);font-weight:500}.import-errors{margin:10px 0 0;padding:10px 14px;list-style:none;background:var(--a-rose-bg);border-radius:var(--radius-2);max-height:160px;overflow:auto}.import-errors li{font-size:12px;color:var(--a-rose);padding:2px 0}.filter-wrap{position:relative}.filter-wrap .icon.has-filters{border-color:var(--brand);color:var(--brand);background:var(--brand-soft);position:relative}.filter-wrap .icon.has-filters b{position:absolute;top:-6px;right:-6px;background:var(--brand);color:#fff;border-radius:var(--pill);min-width:16px;height:16px;font-size:10px;font-weight:700;display:grid;place-items:center;padding:0 4px}.filter-backdrop{position:fixed;inset:0;z-index:40}.filter-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:41;width:min(348px,calc(100vw - 24px));background:var(--surface);border:1px solid var(--border-2);border-radius:16px;box-shadow:var(--shadow-pop);display:flex;flex-direction:column;overflow:hidden}.filter-pop-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 12px;border-bottom:1px solid var(--border)}.filter-pop-head strong{font-size:14px}.filter-pop-head .link,.filter-pop .link{border:0;background:none;color:var(--brand);font-size:11.5px;font-weight:600;cursor:pointer;padding:0}.filter-pop-body{display:flex;flex-direction:column;gap:16px;padding:16px;max-height:56vh;overflow-y:auto}.filter-field{display:flex;flex-direction:column;gap:8px}.filter-field>span{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.filter-presets{display:flex;flex-wrap:wrap;gap:6px}.filter-presets button{border:1px solid var(--border-2);background:var(--surface-2);color:var(--text-2);font-size:11.5px;font-weight:600;border-radius:var(--pill);padding:5px 12px;cursor:pointer;transition:all .15s}.filter-presets button:hover{border-color:var(--brand);color:var(--brand)}.filter-presets button.on{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-strong)}.filter-dates{display:flex;align-items:center;gap:8px}.filter-dates input,.filter-dates .dp{flex:1;min-width:0}.filter-dates .to{font-size:13px;color:var(--text-3)}.filter-daterange{display:grid;grid-template-columns:1fr 1fr;gap:10px}.filter-daterange .dr{display:flex;flex-direction:column;gap:5px;min-width:0}.filter-daterange .dr em{font-style:normal;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-3)}.filter-pop-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding:12px 16px}.filter-pop-foot span{font-size:12px;color:var(--text-3);font-weight:500}.filter-pop-foot span{font-size:11.5px;color:var(--text-3)}.primary.sm{height:34px;padding:0 14px;font-size:12.5px}.mini-kpi.warning strong{color:var(--a-amber)}.mini-kpi.success strong{color:var(--a-green)}.mini-kpi.brand strong{color:var(--brand)}.origin-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.origin-filter-label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:700;color:var(--text-3);margin-right:2px}.origin-filter button{padding:7px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12.5px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.origin-filter button:hover{border-color:var(--brand)}.origin-filter button.active{background:var(--brand);border-color:var(--brand);color:#fff}.kpi-delta{font-size:11px;font-weight:700;margin-left:8px;padding:1px 6px;border-radius:6px}.kpi-delta.up{color:var(--a-green);background:color-mix(in srgb,var(--a-green) 12%,transparent)}.kpi-delta.down{color:var(--a-rose, #e11d48);background:color-mix(in srgb,var(--a-rose, #e11d48) 12%,transparent)}.analytics-panel{padding:18px 20px;margin-bottom:16px}.analytics-panel-head{display:flex;align-items:center;gap:9px;margin-bottom:14px}.analytics-panel-head h3{font-size:14px;font-weight:700;margin:0}.analytics-panel-head svg{width:16px;color:var(--brand)}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:16px;align-items:start}.analytics-grid>*{min-width:0}.analytics-grid .analytics-panel{margin-bottom:0}.analytics-wide{grid-column:1 / -1}.analytics-table{width:100%;min-width:0;border-collapse:collapse}.analytics-table th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);padding:6px 10px;border-bottom:1px solid var(--border)}.analytics-table th.num,.analytics-table td.num{text-align:right;font-variant-numeric:tabular-nums}.analytics-table td{padding:8px 10px;font-size:12.5px;border-bottom:1px solid var(--border-2, var(--border))}.analytics-table td.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--text-2);max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-donut-wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.bar-list{list-style:none;margin:0;padding:0;display:grid;gap:11px}.bar-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12.5px;margin-bottom:4px}.bar-label{color:var(--text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-row b{font-variant-numeric:tabular-nums}.bar-track{height:7px;border-radius:4px;background:var(--surface-2, var(--border));overflow:hidden}.bar-fill{display:block;height:100%;border-radius:4px}.legend{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:12px;color:var(--text-2)}.legend .dot{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:7px}.legend b{color:var(--text)}.module-panel{overflow:visible;min-height:240px}.table-pager{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:13px 18px;border-top:1px solid var(--border)}.pager-info{font-size:12.5px;color:var(--text-3)}.pager-info b{color:var(--text);font-weight:600}.pager-nav{display:flex;align-items:center;gap:4px;margin-left:auto}.pager-btn{min-width:32px;height:32px;padding:0 8px;border:1px solid var(--border-2);background:var(--surface);border-radius:9px;color:var(--text-2);font-size:12.5px;font-weight:600;cursor:pointer;display:grid;place-items:center;transition:background .15s,border-color .15s,color .15s}.pager-btn svg{width:16px;height:16px}.pager-btn:hover:not(:disabled):not(.on){background:var(--surface-2);border-color:var(--border-2);color:var(--text)}.pager-btn.on{background:var(--brand);border-color:var(--brand);color:#fff}.pager-btn:disabled{opacity:.4;cursor:not-allowed}.pager-gap{color:var(--text-3);padding:0 2px}.pager-size{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-3)}.pager-size .sel{width:78px}@media(max-width:720px){.pager-nav{margin-left:0;order:3;width:100%;justify-content:center}}.module-toolbar{display:flex;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid var(--border)}.tabs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tabs::-webkit-scrollbar{height:0}.tabs button{height:36px;border:0;background:transparent;border-radius:10px;padding:0 14px;color:var(--text-2);font-size:12.5px;font-weight:500;white-space:nowrap;cursor:pointer}.tabs button:hover{background:var(--surface-2)}.tabs button.active{background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.toolbar-title{font-size:14px;font-weight:600;color:var(--text)}.table-tools{margin-left:auto;display:flex;gap:8px}.table-tools label{height:40px;width:250px;border:1px solid var(--border-2);background:var(--surface-2);border-radius:11px;display:flex;align-items:center;padding:0 11px}.table-tools label svg{width:16px;color:var(--text-3)}.table-tools input{border:0;outline:0;background:transparent;width:100%;font-size:12px;padding-left:8px;color:var(--text)}.table-tools .icon{width:40px;height:40px;border:1px solid var(--border-2)}.table-scroll{overflow-x:auto;overflow-y:visible;max-width:100%}table{border-collapse:collapse;width:100%;min-width:880px;table-layout:auto}@media(max-width:640px){.table-scroll{overflow-x:auto;overflow-y:visible}.data-table,.card-table{min-width:0;border-collapse:separate;border-spacing:0 10px}.data-table thead,.card-table thead{display:none}.data-table tbody,.data-table tr,.data-table td,.card-table tbody,.card-table tr,.card-table td{display:block;width:100%}.data-table tr,.card-table tr{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden;box-shadow:var(--shadow-sm)}.data-table td,.card-table td{display:grid;grid-template-columns:minmax(110px,38%) minmax(0,1fr);align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--border);white-space:normal}.data-table td:last-child,.card-table td:last-child{border-bottom:0}.data-table td:before,.card-table td:before{content:attr(data-label);color:var(--text-3);font-size:10px;font-weight:800;letter-spacing:0;text-transform:uppercase}.data-table td.sel-col{display:none}.data-table .row-actions,.card-table .row-actions{justify-content:flex-start}.data-table td.cell-lead-col,.card-table td.cell-lead-col{display:block;background:var(--surface-2);padding:12px}.data-table td.cell-lead-col:before,.card-table td.cell-lead-col:before{content:none}.cell-lead{gap:12px}.cell-thumb{width:56px;height:56px;border-radius:10px}.cell-thumb svg{width:22px;height:22px}.cell-lead>strong{font-size:14px;line-height:1.3;white-space:normal;overflow:visible}}th,td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--border);white-space:nowrap;font-size:13px;vertical-align:middle}th{color:var(--text-3);text-transform:uppercase;font-size:10px;letter-spacing:.07em;font-weight:700;background:var(--surface-2)}td{color:var(--text-2)}td strong{color:var(--text);font-weight:600}.data-table th.th-sort{cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .12s}.data-table th.th-sort:hover{color:var(--text-2)}.data-table th.th-sort.sorted{color:var(--brand-strong)}.data-table th.th-sort.num .th-sort-inner{justify-content:flex-end}.th-sort-inner{display:inline-flex;align-items:center;gap:4px}.th-caret{width:12px;height:12px;flex-shrink:0;opacity:0;transition:opacity .12s,transform .12s}.data-table th.th-sort:hover .th-caret{opacity:.45}.th-caret.on{opacity:1}.th-caret.asc{transform:rotate(180deg)}tr.row-clickable{cursor:pointer}tbody tr{transition:background .12s}tbody tr:hover{background:var(--surface-2)}tr.row-selected td{background:var(--brand-soft);color:var(--brand-strong)}.data-table td:first-child:not(.sel-col),.data-table th:first-child:not(.sel-col){padding-left:20px}.data-table td:last-child,.data-table th:last-child{padding-right:20px;text-align:right}.data-table td.num,.data-table th.num{text-align:right;font-variant-numeric:tabular-nums}@media(min-width:641px){.data-table td:last-child,.data-table th:last-child{position:sticky;right:0;z-index:1}.data-table td:last-child{background:var(--surface);box-shadow:-10px 0 12px -12px #071f4259}.data-table tbody tr:hover td:last-child{background:var(--surface-2)}.data-table tr.row-selected td:last-child{background:var(--brand-soft)}}.table-scroll>table:not(.data-table){width:100%;border-collapse:collapse}.table-scroll>table:not(.data-table) th,.table-scroll>table:not(.data-table) td{padding:12px 14px;text-align:left;font-size:13px}.table-scroll>table:not(.data-table) th:first-child,.table-scroll>table:not(.data-table) td:first-child{padding-left:20px}.table-scroll>table:not(.data-table) th:last-child,.table-scroll>table:not(.data-table) td:last-child{padding-right:20px;text-align:right}.table-scroll>table:not(.data-table) thead th{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:var(--text-3);border-bottom:1px solid var(--border)}.table-scroll>table:not(.data-table) tbody td{border-bottom:1px solid var(--border)}.table-scroll>table:not(.data-table) tbody tr:last-child td{border-bottom:0}.data-table td:not(.sel-col){max-width:260px;overflow:hidden;text-overflow:ellipsis}.data-table td strong{display:inline-block;max-width:min(320px,28vw);overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.data-table th:last-child{width:112px}.status{display:inline-flex;align-items:center;padding:5px 11px;border-radius:var(--pill);font-size:11px;font-weight:700;letter-spacing:.01em;background:var(--surface-2);color:var(--text-2);text-transform:capitalize}.status.tone-ok{background:var(--a-green-bg);color:var(--chip-ok)}.status.tone-warn{background:var(--a-amber-bg);color:var(--chip-warn)}.status.tone-danger{background:var(--a-rose-bg);color:var(--chip-danger)}.status.tone-info{background:var(--a-cyan-bg);color:var(--chip-info)}.status.tone-progress{background:var(--a-violet-bg);color:var(--chip-progress)}.status.tone-muted{background:var(--surface-2);color:var(--text-2)}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:7px;opacity:.85;flex-shrink:0}.status.in-transit{background:var(--a-cyan-bg);color:var(--chip-info)}.status.customs,.status.clearing,.status.pending{background:var(--a-amber-bg);color:var(--chip-warn)}.status.in-warehouse-china,.status.at-warehouse{background:var(--a-violet-bg);color:var(--chip-progress)}.status.ready,.status.completed,.status.paid,.status.confirmed,.status.active{background:var(--a-green-bg);color:var(--chip-ok)}.status.voided,.status.cancelled,.status.inactive,.status.failed{background:var(--a-rose-bg);color:var(--chip-danger)}.row-actions{display:flex;gap:4px;justify-content:flex-end}.row-actions button{width:32px;height:32px;border:0;border-radius:9px;background:transparent;color:var(--text-3);cursor:pointer;display:grid;place-items:center}.row-actions button svg{width:16px}.row-actions button:hover{background:var(--surface-2);color:var(--brand)}.row-actions button.danger:hover{background:var(--a-rose-bg);color:var(--chip-danger)}.loading-state{height:320px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--text-3);font-size:13px}.loading-state svg{width:18px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:60px 24px;text-align:center;color:var(--text-2)}.empty-state svg{width:24px;color:var(--text-3)}.empty-medallion{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border);color:var(--text-3)}.empty-medallion svg{width:24px}.empty-state strong{font-size:14px;font-weight:700;color:var(--text);letter-spacing:-.01em}.empty-state p{margin:0;font-size:12.5px;line-height:1.55;max-width:380px;color:var(--text-3)}.loading-state .pi-loader-circle,.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.pipeline{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:18px}.pipeline article{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:17px;display:grid;gap:7px;box-shadow:var(--shadow-sm)}.pipeline span{font-size:11.5px;color:var(--text-3)}.pipeline strong{font-size:24px;font-weight:700}.pipeline small{font-size:11px;color:var(--brand-strong)}.report-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}.report-grid button{border:1px solid var(--border);background:var(--surface);border-radius:15px;padding:18px;display:grid;grid-template-columns:44px 1fr 22px;gap:13px;align-items:center;text-align:left;cursor:pointer;box-shadow:var(--shadow-sm);transition:box-shadow .15s}.report-grid button:hover{box-shadow:var(--shadow)}.report-grid button>svg:first-child{width:44px;height:44px;padding:11px;border-radius:13px;background:var(--a-cyan-bg);color:var(--chip-info)}.report-grid button>svg:last-child{width:16px;color:var(--text-3)}.report-grid span{display:grid;gap:4px}.report-grid strong{font-size:13px}.report-grid small{font-size:11px;color:var(--text-3)}.contract-note{margin:-2px 0 16px;border:1px solid var(--a-amber);background:var(--a-amber-bg);border-radius:13px;padding:13px 15px;display:flex;align-items:center;gap:11px;color:var(--a-amber)}.contract-note>svg{width:18px}.contract-note div{display:grid;gap:3px}.contract-note strong{font-size:11px}.contract-note span{font-size:10px;opacity:.85}.error-note{border-color:var(--a-rose);color:var(--a-rose);background:var(--a-rose-bg, transparent)}.store-note{margin:-2px 0 16px;border:1px solid var(--brand);background:var(--brand-soft);border-radius:13px;padding:13px 15px;display:flex;align-items:center;gap:11px;color:var(--brand-strong)}.store-note>svg{width:18px;flex-shrink:0}.store-note div{display:grid;gap:3px}.store-note strong{font-size:12px}.store-note span{font-size:11px;opacity:.9}.store-note b{font-weight:700}.modal-backdrop{position:fixed;inset:0;background:#04142e94;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:50;display:grid;place-items:center;padding:24px;overflow:auto;animation:modal-fade .18s ease}@keyframes modal-fade{0%{opacity:0}to{opacity:1}}.modal{width:min(640px,100%);max-height:calc(100dvh - 32px);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-pop);overflow:auto;animation:modal-pop .22s cubic-bezier(.2,.8,.25,1)}@keyframes modal-pop{0%{transform:translateY(10px) scale(.985);opacity:.6}to{transform:none;opacity:1}}.modal-head{padding:18px 20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:flex-start;gap:16px;position:sticky;top:0;background:var(--surface);z-index:3}.modal-head h2{margin:5px 0 0;font-size:20px;line-height:1.25;font-weight:800;letter-spacing:-.02em}.form-grid{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid+.form-grid{padding-top:0}.form-grid+.purchase-lines{margin-top:2px}.form-grid label{display:grid;gap:7px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.form-grid .wide{grid-column:1 / -1}.form-grid .field-section{grid-column:1 / -1;display:grid;gap:2px;border-top:1px solid var(--border);margin-top:4px;padding-top:14px;font-size:12px;text-transform:none;letter-spacing:0;color:var(--text)}.form-grid .field-section span{font-size:11px;font-weight:500;color:var(--text-3);text-transform:none}.form-grid input,.form-grid select,.form-grid textarea{min-height:44px;border:1px solid var(--border-2);border-radius:var(--radius-3);padding:11px 13px;color:var(--text);background:var(--surface-2);font-size:13.5px;transition:border-color .15s,box-shadow .15s,background .15s}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.form-grid input::placeholder,.form-grid textarea::placeholder{color:var(--text-3)}.form-grid textarea{height:92px;resize:vertical;min-height:64px;font-family:inherit}.form-grid fieldset{margin:0;border:0;padding:0;min-width:0}.form-grid legend{margin-bottom:8px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--text-2)}.workflow-options{display:flex;flex-wrap:wrap;gap:6px}.workflow-options button{min-height:38px;border:1px solid var(--border-2);background:var(--surface);border-radius:8px;padding:0 13px;color:var(--text-2);font-size:11px;font-weight:600;cursor:pointer}.workflow-options button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);box-shadow:inset 0 0 0 1px var(--brand)}.modal-actions{padding:16px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;position:sticky;bottom:0;background:var(--surface);z-index:3}.workflow-modal{width:min(760px,100%);max-height:calc(100dvh - 32px);overflow:auto}.connection-gate{width:calc(100% - 40px);margin:18px 20px 0;border:1px solid var(--border-2);background:var(--brand-soft);border-radius:13px;padding:13px;display:grid;grid-template-columns:32px 1fr 18px;align-items:center;gap:10px;text-align:left;color:var(--brand-strong);cursor:pointer}.connection-gate>svg{width:16px}.connection-gate span{display:grid;gap:3px}.connection-gate strong{font-size:11px}.connection-gate small{font-size:10px;opacity:.8}.modal .stage-summary,.modal .stage-steps,.modal>.contract-note{margin-left:20px;margin-right:20px}.workflow-error,.form-error{margin:0 20px 16px;background:var(--a-rose-bg);color:var(--chip-danger);border-radius:11px;padding:12px;display:flex;align-items:center;gap:8px;font-size:12px}.form-error{margin:0}.workflow-error svg,.form-error svg{width:16px}.dirty-warn{margin:12px 20px 0;background:var(--a-amber-bg);color:var(--chip-warn);border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.dirty-warn svg{width:14px;flex:none}.field-error{color:var(--a-rose);font-size:11.5px;font-weight:600;text-transform:none;letter-spacing:0;display:flex;align-items:center;gap:5px}.field-error svg{width:14px;flex:none}.form-grid input[aria-invalid=true],.form-grid select[aria-invalid=true],.form-grid textarea[aria-invalid=true]{border-color:var(--a-rose)}.form-hint{margin:0;color:var(--text-2);font-size:12.5px}.quiet.sm{height:36px;padding:0 12px;border-radius:8px;font-size:12px}.confirm-modal{width:min(430px,100%);text-align:center;padding:26px}.confirm-modal .warn{width:54px;height:54px;border-radius:12px;background:var(--a-rose-bg);color:var(--chip-danger);display:grid;place-items:center;margin:0 auto 16px}.confirm-modal .warn svg{width:24px}.confirm-modal h2{font-size:19px;margin:0 0 6px}.confirm-modal p{color:var(--text-2);font-size:13px;margin:0 0 22px}.confirm-modal .row{display:flex;gap:10px}.confirm-modal .row button{flex:1;height:44px;border-radius:8px}.btn-danger{background:var(--a-rose);color:#fff;border:0;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}.btn-danger svg{width:16px}.auth-modal{width:min(480px,100%)}.auth-body{padding:24px;display:grid;gap:14px}.auth-body p{margin:0 0 6px;color:var(--text-2);font-size:13px;line-height:1.6}.auth-body label{display:grid;gap:7px;color:var(--text-2);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.auth-body input{height:46px;border:1px solid var(--border-2);border-radius:11px;padding:0 12px;outline-color:var(--brand);font-size:14px;background:var(--surface);color:var(--text)}.two-factor-input{text-align:center;font-size:24px;font-weight:800;letter-spacing:.45em;padding-left:.45em}.drawer-backdrop{position:fixed;inset:0;background:#04142e85;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:45;display:flex;justify-content:flex-end}.record-drawer{position:relative;width:min(560px,100%);height:100%;background:var(--surface);border-left:1px solid var(--border);box-shadow:var(--shadow-pop);display:flex;flex-direction:column;overflow:hidden;animation:drawer-slide .2s ease}@keyframes drawer-slide{0%{transform:translate(16px);opacity:.7}to{transform:none;opacity:1}}.drawer-head{padding:22px 20px;border-bottom:1px solid var(--border);display:flex;align-items:flex-start;gap:16px}.drawer-head h2{font-size:21px;line-height:1.25;font-weight:800;letter-spacing:-.02em;margin:7px 0 0}.drawer-head .icon{margin-left:auto}.drawer-status{margin:18px 20px 6px;border:1px solid var(--border-2);background:var(--surface-2);border-radius:var(--radius-2);padding:14px;display:flex;align-items:center;gap:11px}.drawer-status div{display:grid;gap:4px}.drawer-status strong{font-size:12px}.drawer-status small{font-size:10px;color:var(--text-3)}.record-drawer dl{margin:10px 20px;display:grid;grid-template-columns:1fr 1fr;gap:10px;overflow:auto}.record-drawer dl div{border:1px solid var(--border);border-radius:12px;padding:12px;display:grid;gap:6px}.record-drawer dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.record-drawer dd{margin:0;font-size:12.5px;font-weight:600;color:var(--text);text-transform:capitalize}.drawer-actions{margin-top:auto;border-top:1px solid var(--border);padding:16px 20px;display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;background:var(--surface)}.tfa-banner{display:flex;align-items:center;gap:12px;margin:14px 24px 0;padding:12px 16px;border:1px solid var(--a-amber);background:var(--a-amber-bg);border-radius:13px;color:var(--chip-warn);font-size:12.5px}.tfa-banner svg{width:16px;flex:none}.tfa-banner span{flex:1;min-width:0}.tfa-banner strong{font-weight:700}.tfa-banner .primary.sm-btn{height:34px;padding:0 14px;border-radius:9px;font-size:12px;flex:none}.tfa-secret{display:flex;align-items:center;gap:10px;background:var(--surface-2);border:1px dashed var(--border-2);border-radius:11px;padding:11px 13px}.tfa-secret code{flex:1;font-size:13px;letter-spacing:.08em;word-break:break-all;color:var(--text)}.tfa-uri{display:inline-flex;font-size:12px;color:var(--brand-strong);font-weight:600}.desk-sections{display:grid;gap:14px;padding:16px 18px 18px}.desk-section{border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface);overflow:hidden}.desk-section-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--surface-2)}.desk-section-ic{width:30px;height:30px;border-radius:9px;background:var(--brand-soft);color:var(--brand-strong);display:grid;place-items:center;flex:none}.desk-section-ic svg{width:16px}.desk-section-head strong{font-size:13px}.desk-section-head em{font-style:normal;font-size:11px;font-weight:800;background:var(--surface);border:1px solid var(--border-2);border-radius:999px;padding:2px 9px;color:var(--text-2)}.desk-section-head .muted-link{margin-left:auto;display:inline-flex;align-items:center;gap:3px}.desk-section-head .muted-link svg{width:14px}.desk-empty{margin:0;padding:14px;color:var(--text-3);font-size:12.5px}.desk-items{display:grid}.desk-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:11px 14px;border-bottom:1px solid var(--border)}.desk-item:last-child{border-bottom:0}.desk-item-main{min-width:0;display:grid;gap:2px}.desk-item-main strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desk-item-main small{color:var(--text-3);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desk-item-meta{display:flex;align-items:center;gap:10px}.desk-item-meta small{color:var(--text-3);font-size:11px;white-space:nowrap}.desk-amount{font-size:12.5px;font-variant-numeric:tabular-nums}.desk-item-actions{display:flex;gap:6px}@media(max-width:720px){.desk-item{grid-template-columns:1fr;gap:8px}.desk-item-meta{flex-wrap:wrap}}.attachments{margin:14px 20px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface-2);padding:13px 14px}.attachments-head{display:flex;align-items:center;gap:10px}.attachments-head strong{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--text-2)}.attachments-head strong svg{width:14px;color:var(--text-3)}.attachments-head .quiet.sm{margin-left:auto}.attachments-empty{display:flex;align-items:center;gap:8px;padding:12px 2px 4px;color:var(--text-3);font-size:12px}.attachments-empty svg{width:14px}.attachments-grid{margin-top:12px;display:grid;gap:10px}.attachment{display:grid;grid-template-columns:46px minmax(0,1fr) 32px;align-items:center;gap:11px}.attachment-thumb{width:46px;height:46px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);display:grid;place-items:center;overflow:hidden;cursor:pointer;padding:0;color:var(--text-3)}.attachment-thumb img{width:100%;height:100%;object-fit:cover}.attachment-thumb svg{width:18px}.attachment-meta{min-width:0;display:grid;gap:2px}.attachment-meta strong{font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-meta small{font-size:11px;color:var(--text-3)}.attachment .icon.danger.confirm{color:var(--a-rose);background:var(--a-rose-bg)}.attachment-acts{display:inline-flex;gap:2px}.attachment-acts .icon{width:36px;height:36px}.attachment-thumb .pdf-tag{font-size:9px;font-weight:800;letter-spacing:.04em;color:var(--a-rose, #c2410c)}.debt-kpis .mini-kpi{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}.debt-kpis .mini-kpi strong{font-size:18px}.debt-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}.debt-views{display:inline-flex;gap:6px}.loan-acts .danger,.order-doc .sm-btn.danger{color:var(--a-rose)}.loan-acts{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap;min-width:220px}.debt-tools .section-title{font-size:14px;font-weight:700;color:var(--text)}.debt-search{margin-left:auto;display:flex;align-items:center;gap:8px;height:38px;min-width:min(320px,100%);padding:0 12px;border:1px solid var(--border-2);border-radius:var(--radius-2);background:var(--surface);color:var(--text-3)}.debt-search svg{width:16px;height:16px;flex:none}.debt-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:13px;height:100%}.debt-acts{display:inline-flex;gap:6px;justify-content:flex-end}@media(max-width:640px){.debt-search{margin-left:0;width:100%}}button.link-btn{display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:0;height:auto;color:var(--brand);font:inherit;font-weight:600;cursor:pointer}button.link-btn svg{width:14px;height:14px}button.link-btn:hover{text-decoration:underline}.modal-backdrop.viewer-backdrop{z-index:65;padding:18px;align-items:center;background:#040e1ec7}.modal.file-viewer{width:min(1120px,100%);height:min(92vh,1080px);max-height:none;display:flex;flex-direction:column}.fv-wrap{display:flex;flex-direction:column;height:100%;min-height:0}.fv-head{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--border)}.fv-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--bg);color:var(--text-3);flex:none}.fv-icon svg{width:16px}.fv-title{min-width:0;flex:1;display:grid;gap:1px}.fv-title strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fv-title small{font-size:11.5px;color:var(--text-3)}.fv-actions{display:flex;align-items:center;gap:8px;flex:none}.fv-body{position:relative;flex:1;min-height:0;overflow:auto;display:grid;place-items:center;background:var(--bg)}.fv-body iframe{width:100%;height:100%;border:0;background:#fff;align-self:stretch;justify-self:stretch}.fv-img{max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in}.fv-img.zoomed{max-width:none;max-height:none;cursor:zoom-out}.fv-empty{display:grid;justify-items:center;gap:10px;padding:32px;max-width:420px;text-align:center;color:var(--text-2);font-size:13px}.fv-empty>svg{width:24px;height:24px;color:var(--text-3)}.fv-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid var(--border-2);background:var(--surface);color:var(--text);display:grid;place-items:center;box-shadow:var(--shadow-pop);cursor:pointer}.fv-nav.prev{left:14px}.fv-nav.next{right:14px}@media(max-width:720px){.modal-backdrop.viewer-backdrop{padding:0}.modal.file-viewer{height:100%;border-radius:0;border:0}.fv-actions span{display:none}.fv-actions .quiet.sm,.fv-actions .primary.sm{padding:0 11px}}@media(max-width:720px){.modal-backdrop{align-items:end;padding:10px}.modal{max-height:calc(100dvh - 20px);border-radius:12px 12px 0 0}.workflow-modal{width:100%}.modal-head{padding:16px}.modal-head h2{font-size:18px}.form-grid{grid-template-columns:1fr;padding:16px;gap:12px}.form-grid .wide{grid-column:auto}.connection-gate{width:calc(100% - 32px);margin:14px 16px 0}.workflow-error{margin:0 16px 14px}.modal-actions{padding:14px 16px;justify-content:stretch}.modal-actions button,.confirm-modal .row button{flex:1 1 150px}.confirm-modal{padding:22px 18px}.record-drawer{width:100%;border-left:0}.drawer-head{padding:18px 16px}.drawer-status{margin:14px 16px 6px}.record-drawer dl{margin:10px 16px;grid-template-columns:1fr}.drawer-actions{padding:14px 16px;justify-content:stretch}.drawer-actions button{flex:1 1 160px}}.source-mini{display:inline-flex;align-items:center;width:fit-content;min-height:24px;padding:0 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:11px;font-weight:700;text-transform:capitalize}.source-import-modal{width:min(980px,100%)}.source-import-search{display:grid;grid-template-columns:190px minmax(220px,1fr) auto;align-items:end;gap:12px;padding:18px 20px;border-bottom:1px solid var(--border)}.source-import-search label{display:grid;gap:7px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.source-import-search input{height:44px;border:1px solid var(--border-2);border-radius:8px;padding:0 12px;background:var(--surface-2);color:var(--text);outline:none}.source-import-search input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.source-import-body{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr);gap:0;height:min(56vh,520px);min-height:320px}.source-results{border-right:1px solid var(--border);background:var(--surface-2);padding:14px;overflow:auto;display:flex;flex-direction:column;gap:9px}@media(max-width:720px){.source-import-search{grid-template-columns:1fr}.source-import-body{grid-template-columns:1fr;height:auto;max-height:none}.source-results{border-right:0;border-bottom:1px solid var(--border);max-height:38vh}}.source-results button{width:100%;display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:center;text-align:left;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:9px;cursor:pointer;color:var(--text)}.source-results button.active{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.source-results button span:nth-child(2){min-width:0;display:grid;gap:3px}.source-results strong{font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.source-results small{color:var(--text-3);font-size:11px;text-transform:capitalize}.source-thumb{width:56px;height:56px;border-radius:8px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;overflow:hidden}.source-thumb img{width:100%;height:100%;object-fit:cover}.cell-lead{display:flex;align-items:center;gap:10px;min-width:0}.cell-lead>strong{min-width:0;overflow:hidden;text-overflow:ellipsis}.cell-thumb{width:34px;height:34px;border-radius:8px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;overflow:hidden;flex:none;border:1px solid var(--border)}.cell-thumb img{width:100%;height:100%;object-fit:cover}.cell-thumb svg{width:16px;height:16px;opacity:.55}.data-table td.cell-lead-col,.card-table td.cell-lead-col{white-space:normal}.source-local-form{padding:18px 20px;overflow:auto}.source-local-form .form-grid{padding:0}.source-local-form .item-source-link{margin-top:14px}.import-image{margin-top:2px}.import-image .ii-row{display:flex;gap:14px;align-items:flex-start}.ii-preview{width:74px;height:74px;border-radius:12px;overflow:hidden;background:var(--surface-2);border:1px solid var(--border);display:grid;place-items:center;flex-shrink:0}.ii-preview img{width:100%;height:100%;object-fit:cover}.ii-preview svg{width:24px;color:var(--text-3)}.ii-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start;min-width:0}.ii-actions small{font-size:11px;color:var(--text-3)}.ii-upload{position:relative;overflow:hidden;cursor:pointer}.ii-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.source-local-form .checkbox-row{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:13px;text-transform:none;letter-spacing:0;font-weight:600;color:var(--text-2)}.source-local-form .checkbox-row input{width:17px;height:17px;accent-color:var(--brand)}.doc-page{position:fixed;inset:0;z-index:45;background:var(--bg);overflow:auto;padding:16px clamp(14px,5vw,56px) 64px}.dp-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;padding:8px 0 16px;background:var(--bg)}.dp-toolbar>.status{text-transform:capitalize}.dp-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.dp-actions .quiet,.dp-actions .primary{height:38px}.invoice-doc{max-width:820px;margin:0 auto;background:#fff;color:#1f2d3d;border-radius:14px;box-shadow:0 10px 40px #08183324;padding:44px 48px;position:relative}.doc-watermark{position:absolute;top:40%;left:10%;right:10%;text-align:center;font-size:86px;font-weight:800;color:#e01e1e1f;transform:rotate(-18deg);pointer-events:none}.doc-head{display:flex;justify-content:space-between;gap:24px;border-bottom:2px solid #0a92c8;padding-bottom:16px}.doc-logo{display:block;height:64px;width:auto;margin:0 0 10px}.doc-from strong{display:block;font-size:17px;color:#0a3a52}.doc-from small{display:block;font-size:11px;color:#5a6b7b;margin-top:3px;line-height:1.5}.doc-meta{text-align:right;min-width:220px}.doc-meta h1{margin:0;font-size:26px;letter-spacing:1px;color:#0a92c8;text-transform:uppercase}.doc-meta dl{margin:10px 0 0;display:grid;gap:3px}.doc-meta dl div{display:flex;justify-content:flex-end;gap:10px;font-size:11.5px}.doc-meta dt{color:#8595a3;text-transform:uppercase;font-size:9.5px;letter-spacing:.04em;align-self:center}.doc-meta dd{margin:0;font-weight:600;min-width:96px}.doc-label{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#9aa7b4}.doc-billto{margin-top:22px;background:#f5f9fb;border-radius:8px;padding:12px 14px}.doc-billto strong{display:block;font-size:14px;color:#0a3a52;margin-top:2px}.doc-billto small{display:block;font-size:11.5px;color:#5a6b7b}.doc-items{width:100%;min-width:0;border-collapse:collapse;margin-top:22px}.doc-items th{background:#0a3a52;color:#fff;padding:8px 10px;font-size:9.5px;text-transform:uppercase;text-align:left}.doc-items th.num,.doc-items td.num{text-align:right}.doc-items td{padding:9px 10px;border-bottom:1px solid #e6ebef;font-size:12.5px;vertical-align:middle}.doc-items input{width:100%;border:1px solid #d6dde4;border-radius:6px;padding:6px 8px;font-size:12.5px;color:#1f2d3d;background:#fff}.doc-items input.inp-num{width:92px;text-align:right}.doc-items input:focus{outline:none;border-color:#0a92c8;box-shadow:0 0 0 3px #0a92c826}.doc-items .icon.sm{width:28px;height:28px;color:#b94a6b}.add-line{margin-top:10px}.doc-totals{display:flex;justify-content:flex-end;align-items:flex-start;gap:24px;margin-top:16px}.doc-discount{display:grid;gap:5px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:700;color:#8595a3}.doc-discount input{border:1px solid #d6dde4;border-radius:6px;padding:8px 10px;font-size:13px;width:150px}.doc-totals>table{width:320px;min-width:0;border-collapse:collapse}.doc-totals td{padding:5px 10px;font-size:12.5px;color:#33475b}.doc-totals td.num{text-align:right;font-variant-numeric:tabular-nums}.doc-totals .grand td{border-top:2px solid #0a92c8;font-weight:700;font-size:14px;color:#0a3a52;padding-top:8px}.doc-totals .grand td.num{color:#0a92c8}.doc-footer{margin-top:28px;padding:12px 14px;background:#f5f9fb;border-left:3px solid #0a92c8;font-size:11px;line-height:1.6}.doc-footer strong{color:#0a3a52}.doc-footer p{margin:5px 0 0;color:#5a6b7b}.doc-footer .doc-void{color:#c0334f;font-weight:600}.doc-thanks{text-align:center;margin-top:18px;font-size:12px;font-weight:700;color:#0a3a52}@media(max-width:640px){.invoice-doc{padding:26px 18px}.doc-head{flex-direction:column}.doc-meta{text-align:left}.doc-meta dl div{justify-content:flex-start}}@media print{body *{visibility:hidden}.invoice-doc,.invoice-doc *{visibility:visible}.invoice-doc{position:absolute;left:0;top:0;width:100%;box-shadow:none;border-radius:0;margin:0;padding:0 8px}.no-print{display:none!important}}.invoice-create-modal{width:min(900px,100%)}.invoice-lines{padding:0 20px 18px}.invoice-create-modal .invoice-lines{padding-bottom:92px}.invoice-line{display:grid;grid-template-columns:minmax(220px,1fr) 86px 130px 132px 28px;gap:10px;align-items:end;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);padding:10px;margin-bottom:9px}.invoice-line label{display:grid;gap:6px;font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.invoice-line input{height:38px;border:1px solid var(--border-2);border-radius:8px;padding:0 10px;background:var(--surface);color:var(--text);outline:none}.invoice-line input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.inv-line-total{min-height:38px;border:1px solid var(--border);border-radius:8px;padding:6px 9px;background:var(--surface);display:grid;align-content:center;gap:0}.inv-line-total span{font-size:9px;color:var(--text-3);font-weight:700}.inv-line-total strong{font-size:12px;color:var(--text)}.invoice-preview-total{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:12px;margin-top:4px}.invoice-preview-total span{color:var(--text-2);font-size:12px}.invoice-preview-total strong{color:var(--text);font-size:17px}@media(max-width:760px){.source-import-search{grid-template-columns:1fr;padding:16px}.source-import-body{grid-template-columns:1fr;min-height:0}.source-results{max-height:280px;border-right:0;border-bottom:1px solid var(--border)}.source-local-form{padding:16px}.invoice-lines{padding:0 16px 16px}.invoice-line{grid-template-columns:1fr 1fr}.invoice-line .inv-desc,.invoice-line .inv-line-total{grid-column:1 / -1}.invoice-line .icon{justify-self:end}}.inv-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text);line-height:1.3}.inv-label svg{width:16px;height:16px;flex-shrink:0;color:var(--text-3)}.inv-billto{border:1px solid var(--border);border-radius:13px;padding:14px;display:grid;gap:3px}.inv-billto .inv-label{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.inv-billto strong{font-size:14px}.inv-billto small{font-size:11.5px;color:var(--text-2)}.inv-items{width:100%;min-width:0;border-collapse:collapse}.inv-items th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);padding:8px 10px;border-bottom:1px solid var(--border)}.inv-items td{padding:11px 10px;border-bottom:1px solid var(--border);font-size:12.5px;vertical-align:top}.inv-items th,.inv-items td{white-space:normal}.inv-items td.num,.inv-items th.num{text-align:right;white-space:nowrap}.inv-items td strong{display:block;font-weight:600}.inv-spec{display:block;font-size:10.5px;color:var(--text-3);margin-top:3px}.inv-empty{color:var(--text-3);text-align:center;padding:20px}.inv-totals{margin-left:auto;width:min(280px,100%);display:grid;gap:8px}.inv-totals div{display:flex;justify-content:space-between;font-size:12.5px;color:var(--text-2)}.inv-totals div b{color:var(--text);font-weight:600}.inv-totals .inv-grand{border-top:1px solid var(--border);padding-top:9px;margin-top:3px;font-size:15px}.inv-totals .inv-grand span,.inv-totals .inv-grand b{font-weight:800;color:var(--text)}.inv-void{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--a-rose);color:var(--a-rose);border-radius:12px;padding:12px}.inv-void div{display:grid;gap:3px}.inv-void strong{font-size:12px}.inv-void span{font-size:11.5px}.inv-sent{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--a-green, #16a34a);margin:0}.invoice-actions{justify-content:space-between}.invoice-actions .danger{color:var(--a-rose)}.order-drawer{width:min(680px,100%)}.order-doc{overflow:auto;padding:22px;display:flex;flex-direction:column;gap:18px}.order-doc .inv-label{display:inline-flex;align-items:center;gap:6px;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.order-doc .inv-label svg{width:14px}.order-statusbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.order-statusbar small{color:var(--text-3);font-size:11.5px}.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.order-block{border:1px solid var(--border);border-radius:13px;padding:14px;display:grid;gap:3px}.order-block strong{font-size:14px;text-transform:capitalize}.order-block small{font-size:11.5px;color:var(--text-2)}@media(max-width:520px){.order-grid{grid-template-columns:1fr}}.receipt-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.receipt-photo-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border:1px solid var(--border);border-radius:8px;font-size:12px;color:var(--text-2)}.receipt-photo-chip svg{width:14px;height:14px}.order-pay{display:flex;gap:11px;align-items:flex-start;border:1px solid var(--border);border-radius:12px;padding:13px}.order-pay svg{width:18px;margin-top:1px;color:var(--text-3)}.order-pay div{display:grid;gap:2px}.order-pay strong{font-size:12.5px}.order-pay span{font-size:11.5px;color:var(--text-2)}.order-pay.ok{border-color:var(--chip-ok)}.order-pay.ok svg,.order-pay.ok strong{color:var(--chip-ok)}.order-pay.wait{border-color:var(--a-amber, #d97706)}.order-pay.wait svg,.order-pay.wait strong{color:var(--a-amber, #d97706)}.linked-records{display:grid;gap:8px;margin-top:10px}.linked-rec{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface-2)}.linked-rec .lr-ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);flex-shrink:0}.linked-rec .lr-ic svg{width:16px;height:16px}.linked-rec>div{display:grid;gap:2px;min-width:0}.linked-rec strong{font-size:12.5px}.linked-rec small{font-size:11px;color:var(--text-3);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.track-list{display:grid;gap:10px;margin-top:10px}.track-row{border:1px solid var(--border);border-radius:11px;padding:11px 13px;background:var(--surface-2)}.track-prod{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:9px}.track-prod strong{font-size:12.5px}.track-ext{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--brand-strong);font-weight:600;margin-left:auto}.track-ext svg{width:14px}.track-refresh{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid var(--border-2);border-radius:7px;background:var(--surface);color:var(--text-2);cursor:pointer}.track-refresh:hover{border-color:var(--brand);color:var(--brand-strong)}.track-refresh svg{width:14px}.track-refresh:disabled{opacity:.55;cursor:default}.track-fields{display:grid;grid-template-columns:1.4fr 1fr 144px auto;gap:8px;align-items:center}.track-fields input{height:38px;border:1px solid var(--border-2);border-radius:8px;padding:0 10px;background:var(--surface);color:var(--text);font-size:12.5px}.track-fields input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.track-fields .sel{width:144px}.status.track-delivered{background:var(--a-green-bg);color:var(--chip-ok)}.status.track-exception{background:var(--a-rose-bg);color:var(--chip-danger)}.status.track-arrived_china,.status.track-in_transit{background:var(--a-cyan-bg);color:var(--chip-info)}.status.track-shipped{background:var(--a-amber-bg);color:var(--chip-warn)}.status.track-not_shipped{background:var(--surface-2);color:var(--text-3)}@media(max-width:640px){.track-fields{grid-template-columns:1fr}.track-fields .sel{width:100%}}.ship-panel .ship-mode{display:inline-flex;gap:4px;margin:10px 0;padding:3px;background:var(--surface-2);border-radius:10px}.ship-panel .ship-mode button{height:30px;border:0;background:transparent;border-radius:8px;padding:0 12px;font-size:12px;font-weight:600;color:var(--text-2);cursor:pointer}.ship-panel .ship-mode button.on{background:var(--surface);color:var(--brand-strong);box-shadow:var(--shadow-sm)}.ship-order-row{display:grid;grid-template-columns:1fr 110px 1fr;gap:8px;align-items:center}.ship-order-row input{height:38px;border:1px solid var(--border-2);border-radius:8px;padding:0 10px;background:var(--surface);color:var(--text);font-size:12.5px}.ship-order-row input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.ship-items{display:grid;gap:8px}.ship-item-row{display:grid;grid-template-columns:1fr 120px 96px;gap:8px;align-items:center}.ship-item-name{font-size:12.5px;color:var(--text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ship-item-row input{height:36px;border:1px solid var(--border-2);border-radius:8px;padding:0 10px;background:var(--surface);color:var(--text);font-size:12.5px}.ship-note{display:flex;align-items:flex-start;gap:7px;font-size:11.5px;color:var(--text-3);margin:10px 0;line-height:1.5}.ship-note svg{width:14px;flex-shrink:0;margin-top:1px}@media(max-width:640px){.ship-order-row,.ship-item-row{grid-template-columns:1fr}}.oc-addr-list{display:grid;gap:6px;margin-bottom:8px}.oc-addr{display:flex;align-items:center;gap:8px;text-align:left;width:100%;padding:9px 11px;border:1px solid var(--border-2);border-radius:9px;background:var(--surface);color:var(--text-2);font-size:12.5px;cursor:pointer}.oc-addr.on{border-color:var(--brand);color:var(--text);background:var(--brand-soft)}.oc-addr svg{width:16px;flex-shrink:0;color:var(--brand)}.cw-tools{margin-bottom:14px}.cw-tools .cw-scan{padding:16px 22px;margin-bottom:0}.cw-counts{display:flex;align-items:center;gap:22px}.cw-stat{display:flex;align-items:baseline;gap:6px}.cw-stat b{font-size:19px;font-weight:700;line-height:1;color:var(--text);font-variant-numeric:tabular-nums}.cw-stat b.hl{color:var(--brand-strong)}.cw-stat span{font-size:12.5px;color:var(--text-3)}.cw-scan{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.cw-scan label{flex:0 1 560px;display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface, #fff)}.cw-scan label svg{width:16px;color:var(--text-3);flex-shrink:0}.cw-scan input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:13.5px}.cw-scan small{font-size:12px;color:var(--text-3)}.cw-code{font-variant-numeric:tabular-nums;color:var(--brand-strong)}.cw-groups{display:grid;gap:14px}.cw-order{padding:0;overflow:hidden}.cw-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--border)}.cw-order-head strong{display:block;font-size:13.5px}.cw-order-head small{font-size:11.5px;color:var(--text-3)}.cw-parcels{display:grid}.cw-parcel{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 150px 124px;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--border)}.cw-parcel:last-child{border-bottom:0}.cw-pinfo{min-width:0}.cw-pinfo strong{display:block;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-pinfo small{display:block;font-size:11px;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-ptrack{min-width:0}.cw-ptrack strong{display:block;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-ptrack small{display:block;font-size:11px;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cw-ptrack small:empty{display:none}.cw-parcel .status{justify-self:start}.cw-parcel .primary.sm{justify-self:end;width:100%}.cw-done{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;font-size:12px;font-weight:600;color:var(--a-green)}.cw-done svg{width:14px}.status.parcel-delivered,.status.parcel-arrived_china{background:var(--a-green-bg);color:var(--chip-ok)}.status.parcel-in_transit,.status.parcel-shipped{background:var(--a-cyan-bg);color:var(--chip-info)}.status.parcel-exception{background:var(--a-rose-bg);color:var(--chip-danger)}.status.parcel-not_shipped{background:var(--surface-2);color:var(--text-3)}@media(max-width:1080px){.cw-parcel{grid-template-columns:minmax(0,1fr) 150px 124px}.cw-ptrack{grid-column:1;grid-row:2}}@media(max-width:560px){.cw-parcel{grid-template-columns:1fr auto}.cw-pinfo,.cw-ptrack{grid-column:1 / -1;grid-row:auto}.cw-parcel .primary.sm{width:auto}}.cw-modal{max-width:440px}.cw-modal h2{display:flex;align-items:center;gap:9px}.cw-modal-prod{font-size:13px;margin:-4px 0 16px}.cw-modal-prod .muted{color:var(--text-3)}.cw-split{display:flex;align-items:center;justify-content:center;gap:16px;margin:14px 0;padding:14px;border:1px dashed var(--border-2);border-radius:12px}.cw-split>div{display:grid;justify-items:center;gap:2px}.cw-split b{font-size:22px;font-weight:700}.cw-split span{font-size:11px;color:var(--text-3)}.cw-split svg{width:18px;color:var(--text-3)}.cw-split-surplus b{color:var(--brand-strong)}.cw-cost-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cw-gl-note{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--text-2);background:var(--surface-2);border-radius:9px;padding:9px 11px;margin:12px 0 0}.cw-gl-note svg{width:14px;flex-shrink:0;color:var(--a-cyan)}.cw-gl-note b{font-variant-numeric:tabular-nums}.cw-gl-note.warn{color:var(--chip-warn);background:var(--a-amber-bg)}.cw-gl-note.warn svg{color:var(--a-amber)}.cw-tostock{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--text-2);margin:12px 0 0;cursor:pointer}.cw-tostock input{width:16px;height:16px;accent-color:var(--brand);cursor:pointer}.order-timeline ol{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:0}.order-timeline li{display:flex;gap:12px;padding:0 0 14px 2px;position:relative}.order-timeline li:not(:last-child):before{content:"";position:absolute;left:4px;top:12px;bottom:-2px;width:1px;background:var(--border)}.order-timeline .dot{width:9px;height:9px;border-radius:50%;background:var(--brand, #0ea5cf);margin-top:4px;flex:none;z-index:1}.order-timeline li div{display:grid;gap:1px}.order-timeline strong{font-size:12.5px;text-transform:capitalize}.order-timeline small{font-size:11px;color:var(--text-3)}.order-timeline em{font-size:11px;color:var(--text-2);font-style:normal;margin-top:2px}.muted-note{font-size:11.5px;color:var(--text-3);margin:8px 0 0}.order-messages{margin-top:18px}.msg-compose{border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface-2);padding:11px}.msg-to{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--text-3);margin-bottom:8px;flex-wrap:wrap}.msg-to svg{width:14px;height:14px}.msg-to strong{color:var(--text-2);font-weight:600}.msg-merge{margin-left:auto;display:inline-flex;gap:5px}.msg-merge button{border:1px solid var(--border-2);background:var(--surface);color:var(--brand-strong);border-radius:var(--radius-3);padding:2px 7px;font-size:10.5px;font-weight:700;font-family:var(--mono, ui-monospace, monospace);cursor:pointer}.msg-merge button:hover{border-color:var(--brand);background:var(--brand-soft)}.msg-preview{display:flex;gap:6px;align-items:flex-start;margin:8px 0 2px;padding:8px 10px;border-radius:var(--radius-3);background:var(--brand-soft);color:var(--text);font-size:12px;line-height:1.45}.msg-preview svg{width:14px;height:14px;color:var(--brand);flex-shrink:0;margin-top:2px}.comment-compose{display:flex;flex-direction:column;gap:8px;margin:10px 0 4px}.comment-compose textarea{width:100%;resize:vertical;min-height:46px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2, var(--surface));color:var(--text-1);font:inherit;font-size:12.5px;line-height:1.45}.comment-compose textarea:focus{outline:none;border-color:var(--brand, #0ea5cf)}.comment-compose button{align-self:flex-end}.comment-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}.comment-list li{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2, var(--surface))}.comment-meta{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:3px}.comment-meta strong{font-size:12.5px}.comment-meta small{font-size:10.5px;color:var(--text-3)}.comment-list p{margin:0;font-size:12.5px;line-height:1.5;color:var(--text-2);white-space:pre-wrap;word-break:break-word}.ship-timeline strong em{color:var(--text-3);font-weight:400;font-style:normal}.ship-note{font-size:11.5px;color:var(--text-2);margin:3px 0 0;background:var(--surface-2);border-radius:7px;padding:5px 8px}.order-actions{justify-content:stretch}.order-actions .danger{color:var(--a-rose)}.order-closed{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--chip-ok)}.order-closed svg{width:16px}.stage-foot{display:flex;flex-direction:column;gap:10px;width:100%}.order-action-row{display:flex;justify-content:space-between;align-items:center;gap:9px}.stage-hint{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--text-2);background:var(--surface-2, var(--surface));border:1px solid var(--border);border-radius:11px;padding:9px 12px}.stage-hint svg{width:16px;flex:none;color:var(--brand)}.stage-hint strong{color:var(--text)}.stage-summary{font-size:12px;color:var(--text-2);margin:-4px 0 14px;line-height:1.5}.stage-steps{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}.stage-step{font-size:10px;font-weight:600;color:var(--text-2);border:1px solid var(--border-2);border-radius:999px;padding:5px 11px}.stage-step.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.field-hint{display:block;font-size:10px;color:var(--text-2);margin-top:5px}.stage-file .file-drop{display:flex;align-items:center;gap:9px;position:relative;height:44px;border:1px dashed var(--border-2);border-radius:11px;padding:0 13px;color:var(--text-2);font-size:11px;cursor:pointer}.stage-file .file-drop svg{width:16px;color:var(--brand)}.stage-file .file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}.photo-tile{position:relative;margin:0;aspect-ratio:1;border:1px solid var(--border-2);border-radius:11px;overflow:hidden;background:var(--surface-2, var(--surface))}.photo-tile.cover{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.photo-tile img{width:100%;height:100%;object-fit:cover;display:block}.photo-badge{position:absolute;left:6px;bottom:6px;font-size:10px;font-weight:600;padding:2px 7px;border-radius:999px;background:var(--brand);color:#fff}.photo-badge.new{background:var(--text-2)}.photo-cover{position:absolute;left:6px;bottom:6px;font-size:10px;padding:2px 7px;border-radius:999px;border:0;background:#0009;color:#fff;cursor:pointer;opacity:0;transition:opacity .15s}.photo-tile:hover .photo-cover,.photo-cover:focus-visible{opacity:1}.photo-remove{position:absolute;top:5px;right:5px;width:24px;height:24px;border-radius:999px;background:#0009;color:#fff}.photo-remove svg{width:14px}.photo-add{position:relative;aspect-ratio:1;display:grid;place-content:center;justify-items:center;gap:5px;border:1px dashed var(--border-2);border-radius:11px;color:var(--text-2);font-size:11px;cursor:pointer}.photo-add svg{width:18px;color:var(--brand)}.photo-add input{position:absolute;inset:0;opacity:0;cursor:pointer}@media(hover:none){.photo-cover{opacity:1}}.ladder{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 18px}.ladder-step{font-size:10px;font-weight:600;color:var(--text-2);border:1px solid var(--border-2);border-radius:999px;padding:5px 11px;opacity:.65}.ladder-step.done{opacity:1;color:var(--a-green, #16a34a);border-color:color-mix(in srgb,var(--a-green, #16a34a) 40%,transparent)}.ladder-step.active{opacity:1;border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);box-shadow:inset 0 0 0 1px var(--brand)}.ship-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 18px;padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2, var(--surface))}.ship-meta div{display:grid;gap:3px}.ship-meta span{font-size:10px;color:var(--text-2);text-transform:uppercase;letter-spacing:.04em}.ship-meta strong{font-size:12px;color:var(--text)}.clearance-box{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}@media(max-width:520px){.ship-meta{grid-template-columns:repeat(2,1fr)}}.order-create{max-width:780px}.line-items{margin:8px 0 4px}.line-items-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}.line-items-head strong{display:inline-flex;align-items:center;gap:8px;font-size:13px}.line-item{border:1px solid var(--border-2);border-radius:14px;padding:14px 15px;margin-bottom:12px;background:var(--surface-2)}.line-item:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.line-item-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.line-item-top strong{font-size:10.5px;color:var(--brand-strong);font-weight:700;text-transform:uppercase;letter-spacing:.06em}.line-item-sub{text-align:right;font-size:11px;color:var(--text-2);margin-top:8px}.line-item-sub b{color:var(--text)}.order-create-actions{justify-content:space-between;align-items:center}.order-create-total{font-size:12px;color:var(--text-2)}.order-create-total b{font-size:15px;color:var(--text);margin-left:6px}.source-tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;letter-spacing:.02em;color:var(--brand-strong);background:var(--brand-soft);border:1px solid var(--brand);border-radius:999px;padding:3px 9px}.source-tag svg{width:14px}.item-source-tag{display:inline-block;width:fit-content;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--brand-strong);background:var(--brand-soft);border-radius:5px;padding:1px 6px;margin-top:3px}.item-source-tag.ours{color:var(--chip-ok);background:var(--a-green-bg)}.item-source-tag.sourced{color:var(--chip-warn);background:var(--a-amber-bg)}.origin-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;letter-spacing:.02em;border-radius:999px;padding:3px 9px;border:1px solid transparent}.origin-badge svg{width:14px}.origin-badge.ours{color:var(--chip-ok);background:var(--a-green-bg);border-color:var(--a-green)}.origin-badge.sourced{color:var(--chip-warn);background:var(--a-amber-bg);border-color:var(--a-amber)}.origin-badge.mixed{color:var(--chip-progress);background:var(--a-violet-bg);border-color:var(--a-violet)}.pos-overlay{position:fixed;inset:0;z-index:60;background:var(--bg);color:var(--text);display:flex;flex-direction:column}.pos-head{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:var(--surface);border-bottom:1px solid var(--border)}.pos-title-block{display:grid;gap:4px;min-width:0}.pos-head h2{margin:0;font-size:20px;line-height:1.2;letter-spacing:0}.pos-head-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.pos-chip{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--border-2);border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:12px;font-weight:700;white-space:nowrap}.pos-chip svg{width:16px;height:16px;color:var(--brand)}.pos-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);background:var(--bg)}.pos-products{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--surface);border-right:1px solid var(--border)}.pos-section-head{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px 10px}.pos-section-head div{display:grid;gap:2px;min-width:0}.pos-section-head strong,.pos-cart-head strong{font-size:14px;line-height:1.2}.pos-section-head span,.pos-cart-head span{color:var(--text-3);font-size:11px}.pos-scan-hint{display:inline-flex;align-items:center;gap:6px;color:var(--text-2);background:var(--surface-2);border:1px solid var(--border);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:600;white-space:nowrap}.pos-scan-hint svg{width:14px;height:14px;color:var(--brand)}.pos-search{height:46px;display:flex;align-items:center;gap:10px;margin:0 18px 14px;padding:0 12px;border:1px solid var(--border-2);border-radius:8px;background:var(--surface-2)}.pos-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.pos-search svg{width:18px;color:var(--text-2);flex:none}.pos-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;font-size:14px;outline:none;color:var(--text)}.pos-grid{flex:1;overflow:auto;padding:0 18px 18px;display:grid;grid-template-columns:repeat(auto-fill,minmax(156px,1fr));gap:10px;align-content:start}.pos-tile{position:relative;min-height:172px;display:flex;flex-direction:column;gap:6px;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:10px;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .1s}.pos-tile:hover:not(.out){border-color:var(--brand);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.pos-tile:focus-visible{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.pos-tile.selected{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.pos-tile.out{opacity:.5;cursor:not-allowed}.pos-tile-thumb{height:72px;border-radius:8px;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand);overflow:hidden}.pos-tile-thumb img{width:100%;height:100%;object-fit:cover}.pos-tile-count{position:absolute;right:8px;top:8px;min-width:24px;height:24px;display:grid;place-items:center;padding:0 7px;border-radius:999px;background:var(--brand);color:#fff;font-size:11px;font-weight:800;box-shadow:var(--shadow-sm)}.pos-tile strong{font-size:13px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pos-tile-meta{font-size:10px;color:var(--text-2)}.pos-tile-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.pos-tile-foot b{font-size:13px}.pos-tile-foot em{font-size:9.5px;font-style:normal;color:var(--text-2);text-align:right}.pos-tile-foot em.out{color:var(--a-rose)}.pos-cart{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--surface);overflow-y:auto;overscroll-behavior:contain}.pos-cart-head{flex:none;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 10px;border-bottom:1px solid var(--border)}.pos-cart-head div{display:grid;gap:2px;min-width:0}.pos-clear{height:32px;padding:0 10px;border-radius:8px;font-size:12px}.pos-clear svg{width:14px;height:14px;color:var(--a-rose)}.pos-cart-items{flex:1 1 auto;min-height:min(176px,28vh);overflow:auto;padding:12px 16px;display:flex;flex-direction:column;gap:10px;background:var(--surface-2)}.pos-line{border:1px solid var(--border);border-radius:8px;padding:10px 12px;background:var(--surface)}.pos-line-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.pos-line-top strong{font-size:13px}.icon.sm{width:24px;height:24px}.pos-line-row{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.pos-qty{display:inline-flex;align-items:center;border:1px solid var(--border-2);border-radius:8px;overflow:hidden}.pos-qty button{width:30px;height:30px;border:0;background:var(--surface-2, var(--surface));font-size:16px;cursor:pointer;color:var(--text)}.pos-qty span{min-width:34px;text-align:center;font-size:13px;font-weight:600}.pos-line-price{font-size:13px;font-weight:600}.pos-line-disc{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:11px;color:var(--text-2)}.pos-line-disc input{width:90px;height:30px;border:1px solid var(--border-2);border-radius:8px;padding:0 9px;text-align:right;background:var(--surface);color:var(--text)}.pos-checkout{flex:none;border-top:1px solid var(--border);padding:14px 16px 12px;display:flex;flex-direction:column;gap:11px;background:var(--surface)}.pos-complete-bar{flex:none;position:sticky;bottom:0;z-index:2;margin-top:auto;display:grid;gap:8px;padding:10px 16px 14px;background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -6px 16px -12px #04142e73}.pos-disc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--text-2)}.pos-disc-row input{width:120px;height:34px;border:1px solid var(--border-2);border-radius:8px;padding:0 10px;text-align:right;background:var(--surface);color:var(--text)}.pos-vat-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--text-2);margin:6px 0 2px}.pos-vat-row input[type=checkbox]{width:16px;height:16px;margin:0}.pos-vat-row .field-hint{flex-basis:100%;margin:0}.pos-totals{display:flex;flex-direction:column;gap:5px}.pos-totals div{display:flex;justify-content:space-between;font-size:12px;color:var(--text-2)}.pos-totals .grand{font-size:16px;color:var(--text);font-weight:700;padding-top:6px;border-top:1px solid var(--border)}.pos-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pos-methods button{min-width:0;min-height:36px;padding:0 9px;border:1px solid var(--border-2);background:var(--surface);border-radius:8px;font-size:11px;line-height:1.1;font-weight:700;cursor:pointer;color:var(--text-2)}.pos-methods button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);box-shadow:inset 0 0 0 1px var(--brand)}.account-picker{display:flex;flex-direction:column;gap:6px;min-width:0}.account-picker>span{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.account-picker select{width:100%;min-width:0;height:40px;border:1px solid var(--border-2);border-radius:var(--radius-3);padding:0 12px;background:var(--surface);color:var(--text);font-size:13px;font-weight:600;cursor:pointer}.account-picker select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.account-picker-hint{display:flex;align-items:flex-start;gap:7px;margin:4px 0 0;font-size:11px;line-height:1.4;color:var(--text-3)}.account-picker-hint svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}.pos-complete{width:100%;min-height:48px;height:auto;padding-block:10px;font-size:14px;white-space:normal}.pos-empty{display:flex;flex-direction:column;align-items:center;gap:10px;justify-content:center;padding:48px 20px;color:var(--text-2);text-align:center}.pos-empty svg{width:24px}.pos-empty.small{padding:36px 16px}.pos-receipt-ok{display:grid;place-items:center;color:var(--a-green, #16a34a);margin-bottom:6px}.pos-receipt-ok svg{width:40px}@media(max-width:980px){.pos-body{grid-template-columns:minmax(0,1fr) minmax(330px,380px)}.pos-scan-hint{display:none}}@media(max-width:760px){.pos-overlay{overflow:auto}.pos-head{min-height:66px;padding:10px 12px}.pos-head h2{font-size:18px}.pos-body{flex:0 0 auto;min-height:calc(100dvh - 66px);grid-template-columns:1fr;grid-template-rows:minmax(300px,44dvh) auto;overflow:visible}.pos-products{border-right:0}.pos-section-head{min-height:auto;padding:12px}.pos-search{margin:0 12px 12px}.pos-grid{padding:0 12px 12px;grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}.pos-cart{border-top:1px solid var(--border);max-height:none;overflow:visible}.pos-cart-head{min-height:auto;padding:12px}.pos-cart-items{flex:0 0 auto;min-height:92px;max-height:24dvh;overflow:auto;padding:10px 12px}.pos-checkout{padding:12px}.pos-complete-bar{padding:10px 12px calc(12px + env(safe-area-inset-bottom))}}@media(max-width:520px){.pos-head-actions{gap:6px}.pos-chip{display:none}.pos-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-tile{min-height:160px;padding:9px}.pos-tile-thumb{height:58px}.pos-tile-foot{align-items:flex-start;flex-direction:column;gap:2px}.pos-tile-foot em{text-align:left}.pos-cart{max-height:none}.pos-methods{grid-template-columns:1fr 1fr}}.pos-dash{padding:4px 2px 8px}.pos-dash-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.pos-dash-day{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text-2)}.pos-dash-day svg{width:16px;height:16px;color:var(--text-3)}.pos-dash-picker{width:210px}.pos-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:16px}.pos-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:10px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px;min-width:0;container-type:inline-size;transition:box-shadow .16s,border-color .16s}.pos-stat:hover{box-shadow:var(--shadow);border-color:var(--border-2)}.pos-stat>div{grid-column:1;grid-row:1 / span 2;min-width:0;display:flex;flex-direction:column}.pos-stat-ic{grid-column:2;grid-row:1;width:38px;height:38px;border-radius:var(--radius-2);display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);flex:none}.pos-stat-ic svg{width:18px;height:18px}.pos-stat.brand .pos-stat-ic{background:var(--brand-soft);color:var(--brand-strong)}.pos-stat.success .pos-stat-ic{background:var(--a-green-bg);color:var(--a-green)}.pos-stat.rose .pos-stat-ic{background:var(--a-rose-bg);color:var(--a-rose)}.pos-stat-label{display:block;min-height:38px;font-size:11px;line-height:1.35;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.pos-stat strong{display:block;font-size:clamp(18px,8cqi,27px);line-height:1.05;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 8px}.pos-stat small{font-size:11.5px;color:var(--text-3)}.pos-dash-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.pos-card{padding:16px 18px}.pos-kv{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column}.pos-kv li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--border);font-size:13px}.pos-kv li:last-child{border-bottom:0}.pos-kv li span{color:var(--text);display:inline-flex;align-items:center;gap:8px}.pos-kv li span.cap{text-transform:capitalize}.pos-kv li b{font-weight:700}.pos-kv li.total{border-top:2px solid var(--border);margin-top:2px;font-weight:700}.pos-kv li.total span{color:var(--text-2)}.pos-qty-tag{font-size:10px;font-style:normal;color:var(--text-2);background:var(--surface-2, var(--surface));border:1px solid var(--border);border-radius:6px;padding:1px 6px}.pos-kv b.low{color:var(--a-rose, #e11d48)}@media(max-width:760px){.pos-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pos-stat{padding:14px}.pos-dash-cols{grid-template-columns:1fr}}.reports-export{padding:16px 18px}.reports-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.reports-range{display:flex;flex-wrap:wrap;gap:10px}.reports-range label{display:inline-flex;align-items:stretch;min-height:44px;padding:0;border:0;border-radius:11px;background:transparent;font-size:12px;color:var(--text-2);min-width:220px}.reports-range label>span{display:inline-flex;align-items:center;padding:0 12px;border:1px solid var(--border-2);border-right:0;border-radius:11px 0 0 11px;background:var(--surface);color:var(--text-2);font-weight:600}.reports-range .dp{width:158px}.reports-range .dp-trigger{height:44px;border-radius:0 11px 11px 0;background:var(--surface-2)}.reports-range input{border:0;background:transparent;color:var(--text);font-size:13px;outline:none}.reports-note{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--text-2)}.reports-note svg{width:16px}.reports-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.report-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:16px}.report-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-strong)}.report-ic svg{width:18px}.report-meta strong{display:block;font-size:14px}.report-meta small{display:block;font-size:11.5px;color:var(--text-2);line-height:1.5;margin-top:3px}.report-actions{display:flex;gap:8px;margin-top:auto}.report-actions .quiet{flex:1;justify-content:center}.reports-group{margin-bottom:22px}.reports-group-head{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);margin:2px 2px 12px}.reports-group-head .rg-dot{width:9px;height:9px;border-radius:50%}.reports-group-head em{font-style:normal;font-size:10px;font-weight:700;color:var(--text-3);background:var(--surface-2);border:1px solid var(--border);border-radius:999px;padding:1px 7px}.rg-dot.green{background:var(--a-green)}.rg-dot.cyan{background:var(--a-cyan)}.rg-dot.violet{background:var(--a-violet)}.report-card{transition:border-color .15s,box-shadow .15s}.report-card:hover{border-color:var(--border-2);box-shadow:var(--shadow)}.report-card.tone-green .report-ic{background:var(--a-green-bg);color:var(--a-green)}.report-card.tone-cyan .report-ic{background:var(--a-cyan-bg);color:var(--a-cyan)}.report-card.tone-violet .report-ic{background:var(--a-violet-bg);color:var(--chip-progress)}.reports-ws{padding-top:6px}.reports-tabs{margin:0 0 14px;padding-bottom:2px}.reports-tabs button{display:inline-flex;align-items:center;gap:7px}.reports-tabs button svg{width:16px;height:16px}.reports-presets{display:flex;flex-wrap:wrap;gap:6px}.reports-presets .quiet{height:34px;padding:0 11px;font-size:12px}.reports-presets .quiet.on{background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.rv-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}.rv-summary{display:flex;flex-wrap:wrap;gap:10px}.rv-chip{display:flex;flex-direction:column;gap:2px;border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:9px 13px;min-width:120px}.rv-chip span{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);font-weight:700}.rv-chip strong{font-size:15px;font-variant-numeric:tabular-nums}.rv-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rv-search{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 11px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface)}.rv-search svg{width:14px;color:var(--text-3)}.rv-search input{border:0;background:transparent;color:var(--text);font-size:12.5px;outline:none;width:130px}.data-table tfoot .rt-total td{border-top:2px solid var(--border-2);background:var(--surface-2);font-weight:700;padding:11px 12px;font-variant-numeric:tabular-nums}.data-table tfoot .rt-total td:first-child{padding-left:20px}.exec-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.exec-kpis .mini-kpi{flex-direction:column;align-items:flex-start;gap:3px}.exec-sub{font-style:normal;font-size:11px;color:var(--text-3)}.exec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.exec-card{padding:16px}.exec-card.exec-wide{grid-column:1 / -1}.exec-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}.exec-card-head strong{font-size:13.5px}.exec-card-head small{font-size:11.5px;color:var(--text-3)}.exec-donut{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.exec-legend{list-style:none;margin:0;padding:0;display:grid;gap:7px;flex:1;min-width:150px}.exec-legend li{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-2)}.exec-legend li b{margin-left:auto;color:var(--text);font-variant-numeric:tabular-nums}.exec-legend .dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.exec-bars{display:grid;gap:10px}.exec-bar{display:grid;grid-template-columns:120px 1fr 36px;align-items:center;gap:10px;font-size:12.5px;color:var(--text-2)}.exec-bar-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exec-bar-track{height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden}.exec-bar-fill{height:100%;border-radius:999px;background:var(--brand)}.exec-bar b{text-align:right;color:var(--text);font-variant-numeric:tabular-nums}.exec-queue{list-style:none;margin:0;padding:0;display:grid;gap:10px}.exec-queue li{display:flex;align-items:center;gap:11px}.exec-queue strong{display:block;font-size:12.5px}.exec-queue small{font-size:11px;color:var(--text-3)}.exec-q-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:10px;font-weight:700;font-size:14px;background:var(--surface-2);color:var(--text-2)}.exec-q-count.red{background:var(--a-rose-bg);color:var(--chip-danger)}.exec-q-count.amber{background:var(--a-amber-bg);color:var(--chip-warn)}.exec-q-count.blue,.exec-q-count.cyan{background:var(--a-cyan-bg);color:var(--chip-info)}.exec-q-count.violet{background:var(--a-violet-bg);color:var(--chip-progress)}@media(max-width:860px){.exec-grid{grid-template-columns:1fr}}.rvm,.receivables-panel{padding:16px 18px}.rvm-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}.rvm-search{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 12px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);margin-left:auto}.rvm-search svg{width:16px;color:var(--text-3)}.rvm-search input{border:0;background:transparent;color:var(--text);font-size:13px;outline:none;width:150px}.rvm-list{display:grid;gap:14px}.rvm-card{border:1px solid var(--border);border-radius:14px;padding:16px;background:var(--surface)}.rvm-card.status-hidden{opacity:.62}.rvm-card.status-flagged{border-color:var(--a-amber)}.rvm-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.rvm-head-l{display:flex;align-items:center;gap:10px}.rvm-head-l strong{font-size:14px}.rvm-stars{display:inline-flex;gap:1px}.rvm-stars svg{width:16px;height:16px;color:var(--border-2)}.rvm-stars svg.on{color:#f5a623;fill:#f5a623}.status.visible{background:var(--a-green-bg);color:var(--chip-ok)}.status.hidden{background:var(--surface-2);color:var(--text-3)}.status.flagged{background:var(--a-amber-bg);color:var(--chip-warn)}.rvm-meta{font-size:12px;color:var(--text-3);margin:8px 0 0}.rvm-body{font-size:13px;color:var(--text-2);line-height:1.6;margin:8px 0 0}.rvm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.rvm-actions .quiet.danger{color:var(--a-rose)}.rvm-thread{margin-top:12px;border-top:1px dashed var(--border);padding-top:12px;display:grid;gap:9px}.rvm-comment{padding:9px 12px;border-radius:10px;background:var(--surface-2)}.rvm-comment.staff{background:var(--brand-soft)}.rvm-comment strong{display:inline-flex;align-items:center;gap:7px;font-size:12.5px}.rvm-comment span{display:block;font-size:12.5px;color:var(--text-2);margin-top:3px}.rvm-badge{font-size:9px;font-weight:800;letter-spacing:.04em;background:var(--brand);color:#fff;padding:1px 6px;border-radius:999px}.rvm-reply{display:flex;gap:8px}.rvm-reply input{flex:1;height:38px;padding:0 12px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);color:var(--text);font-size:13px;outline:none}.rvm-reply .primary.sm{width:42px;padding:0;display:grid;place-items:center}.rvm-empty{font-size:12.5px;color:var(--text-3);margin:0}.gl{padding:16px 18px}.gl-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.gl-range{display:flex;gap:10px;flex-wrap:wrap}.gl-range label{display:inline-flex;align-items:stretch}.gl-range label>span{display:inline-flex;align-items:center;padding:0 11px;border:1px solid var(--border-2);border-right:0;border-radius:10px 0 0 10px;background:var(--surface);color:var(--text-2);font-size:12px;font-weight:600}.gl-range .dp{width:150px}.gl-range .dp-trigger{height:42px;border-radius:0 10px 10px 0}.gl-journal{display:grid;gap:12px}.je{border:1px solid var(--border);border-radius:13px;overflow:hidden;background:var(--surface)}.je-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;background:var(--surface-2);border-bottom:1px solid var(--border)}.je-head strong{font-size:13px}.je-head small{display:block;font-size:11.5px;color:var(--text-3);margin-top:2px}.je-lines{width:100%;border-collapse:collapse}.je-lines td{padding:8px 14px;border-bottom:1px solid var(--border);font-size:12.5px}.je-lines tr:last-child td{border-bottom:0}.je-lines td.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:130px}.je-acc{color:var(--text-2)}.je-acc em{color:var(--text-3);font-style:normal}.je-code{display:inline-block;font-weight:700;color:var(--brand-strong);background:var(--brand-soft);border-radius:5px;padding:1px 6px;font-size:11px;margin-right:8px}.gl-statement{display:grid;gap:16px;max-width:760px}.gl-table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:12px;overflow:hidden}.gl-table th{background:var(--surface-2);color:var(--text-3);text-transform:uppercase;font-size:10px;letter-spacing:.05em;font-weight:700;padding:10px 12px;text-align:left}.gl-table th.num,.gl-table td.num{text-align:right;font-variant-numeric:tabular-nums}.gl-table td{padding:9px 12px;border-top:1px solid var(--border);font-size:12.5px}.gl-table td.muted{color:var(--text-3)}.gl-table tfoot .gl-total td{border-top:2px solid var(--border-2);font-weight:700;background:var(--surface-2)}.gl-sec{border:1px solid var(--border);border-radius:12px;overflow:hidden}.gl-sec-head{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;background:var(--surface-2);font-weight:700;font-size:13px;border-bottom:1px solid var(--border)}.gl-sec .gl-table{border:0;border-radius:0}.gl-net{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:12px;border:1px solid var(--border);background:var(--surface);font-size:14px}.gl-net strong{font-size:18px}.gl-net.ok strong{color:var(--a-green)}.gl-net.bad strong{color:var(--a-rose)}.gl-check{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:10px;font-size:12.5px;font-weight:600;width:fit-content}.gl-check svg{width:16px}.gl-check.ok{color:var(--chip-ok);background:var(--a-green-bg)}.gl-check.bad{color:var(--chip-danger);background:var(--a-rose-bg)}.forex-strip{margin:-4px 0 16px}.forex-strip-head{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-2);margin-bottom:10px}.forex-strip-head svg{width:16px;color:var(--brand)}.budget-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.budget-row{border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:13px 15px}.budget-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.budget-row-top strong{font-size:13px}.budget-cat{font-size:10px;color:var(--text-2);text-transform:capitalize}.budget-bar{height:7px;border-radius:999px;background:var(--surface-2, var(--border));overflow:hidden;margin:9px 0 8px}.budget-fill{display:block;height:100%;background:var(--brand);border-radius:999px;transition:width .4s}.budget-fill.over{background:var(--a-rose, #e11d48)}.budget-row-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--text-2)}.budget-row-foot b.neg{color:var(--a-rose, #e11d48)}.budget-row-foot b.pos{color:var(--chip-ok)}.acct-balance{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2, var(--surface));margin-bottom:14px}.acct-balance strong{font-size:24px;letter-spacing:0}.acct-post{border:1px solid var(--border);border-radius:13px;padding:13px;display:flex;flex-direction:column;gap:9px;margin-bottom:16px}.acct-post-row{display:flex;gap:9px;align-items:center}.acct-post-row .workflow-options{flex:1}.acct-post input{height:38px;border:1px solid var(--border-2);border-radius:9px;padding:0 11px;background:var(--surface);color:var(--text);font-size:13px;width:100%}.acct-post-row input{max-width:140px}.acct-post-actions{display:flex;gap:8px;justify-content:flex-end}.acct-ledger{list-style:none;margin:10px 0 0;padding:0}.acct-ledger li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.acct-ledger li:last-child{border-bottom:0}.acct-ledger li strong{font-size:13px;display:block}.acct-ledger li small{font-size:11px;color:var(--text-2)}.acct-ledger li b{font-size:13px;white-space:nowrap}.acct-ledger li.cr b{color:var(--chip-ok)}.acct-ledger li.dr b{color:var(--a-rose, #e11d48)}.fin-statements{padding:16px 18px}.fs-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.fs-kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px;display:flex;flex-direction:column;min-width:0;container-type:inline-size;transition:box-shadow .16s,border-color .16s}.fs-kpi:hover{box-shadow:var(--shadow);border-color:var(--border-2)}.fs-kpi-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}.fs-kpi-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.fs-kpi-ic{width:36px;height:36px;border-radius:var(--radius-2);display:grid;place-items:center;flex-shrink:0;background:var(--brand-soft);color:var(--brand)}.fs-kpi-ic svg{width:16px;height:16px}.fs-kpi-ic.green{background:var(--a-green-bg);color:var(--chip-ok)}.fs-kpi strong{font-size:clamp(18px,7.5cqi,26px);font-weight:800;letter-spacing:-.02em;line-height:1.05;font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fs-kpi.neg strong{color:var(--a-rose)}.fs-kpi small{font-size:11px;color:var(--text-3);margin-top:6px}.fs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;align-items:start}.fs-card{padding:0;overflow:hidden}.fs-card.fs-wide{grid-column:1 / -1}.fs-card-head{display:flex;align-items:center;gap:11px;padding:16px 18px;border-bottom:1px solid var(--border)}.fs-card-head .fs-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.fs-card-head .fs-ic svg{width:18px}.fs-ic.green{background:var(--a-green-bg);color:var(--chip-ok)}.fs-ic.cyan{background:var(--a-cyan-bg);color:var(--chip-info)}.fs-ic.violet{background:var(--a-violet-bg);color:var(--chip-progress)}.fs-card-head strong{display:block;font-size:14px}.fs-card-head small{font-size:11.5px;color:var(--text-3)}.fs-rows{padding:8px 18px 16px}.fs-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--border);font-size:13px}.fs-row:last-child{border-bottom:0}.fs-row span{color:var(--text-2)}.fs-row b{font-variant-numeric:tabular-nums;font-weight:600}.fs-row b.neg{color:var(--a-rose)}.fs-row.sub{padding:6px 0}.fs-row.sub span{padding-left:14px;color:var(--text-3);font-size:12.5px}.fs-row.sub b{font-weight:500;color:var(--text-2)}.fs-row.total{font-weight:700;border-top:1px solid var(--border-2);border-bottom:0;margin-top:2px;padding-top:10px}.fs-row.total span{color:var(--text)}.fs-row.final{margin-top:8px;padding:12px 14px;border:0;border-radius:11px;background:var(--brand-soft)}.fs-row.final span{color:var(--brand-strong);font-weight:700;font-size:13.5px}.fs-row.final b{font-size:17px;color:var(--brand-strong)}.fs-row.final b.neg{color:var(--a-rose)}.fs-section{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3);margin:12px 0 2px}.fs-section:first-child{margin-top:0}.fs-balance{display:flex;align-items:center;gap:7px;margin-top:12px;padding:9px 12px;border-radius:9px;font-size:12px;font-weight:600}.fs-balance svg{width:16px;flex-shrink:0}.fs-balance.ok{background:var(--a-green-bg);color:var(--chip-ok)}.fs-balance.bad{background:var(--a-rose-bg);color:var(--chip-danger)}.fs-table-scroll{margin:8px 18px 0;border:1px solid var(--border);border-radius:10px}.fs-table-scroll .inv-items{min-width:560px}.fs-table-scroll .inv-items td.fs-neg{color:var(--a-rose)}.fs-cf-tot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 18px 16px;padding-top:12px;border-top:2px solid var(--border-2);font-weight:700}.fs-cf-tot b{font-variant-numeric:tabular-nums}.fs-cf-tot b.neg{color:var(--a-rose)}@media(max-width:980px){.fs-kpis{grid-template-columns:1fr}}@media(max-width:860px){.fin-statements{padding:14px 12px}.fs-grid{grid-template-columns:1fr}}.payables-panel{padding:16px 18px}.payables-panel .forex-strip-head strong{font-size:13px;color:var(--text);text-transform:none;letter-spacing:0}.payables-scroll{margin-top:12px;border:1px solid var(--border);border-radius:8px}.payables-table{min-width:760px}.payables-table tr.overdue td{background:color-mix(in srgb,var(--a-rose, #e11d48) 6%,transparent)}.pay-overdue{color:var(--a-rose, #e11d48);font-weight:600}.sm-btn{height:30px;padding:0 11px;font-size:12px}.coa-panel{padding:16px 18px}.coa-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.coa-group{border:1px solid var(--border);border-radius:13px;padding:14px;background:var(--surface)}.coa-group h3{display:flex;align-items:center;justify-content:space-between;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--brand-strong);margin:0 0 10px}.coa-group h3 span{font-size:11px;color:var(--text-2);background:var(--surface-2, var(--brand-soft));border-radius:999px;padding:1px 8px}.coa-group ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.coa-group li{display:flex;align-items:center;gap:9px;padding:7px 6px;border-radius:8px;font-size:13px}.coa-group li:hover{background:var(--surface-2, var(--surface))}.coa-group li.off{opacity:.5}.coa-code{font-family:ui-monospace,monospace;font-size:11px;color:var(--text-2);min-width:42px}.coa-name{flex:1}.coa-row-actions{display:inline-flex;gap:2px;opacity:0}.coa-group li:hover .coa-row-actions{opacity:1}.icon.sm.danger{color:var(--a-rose, #e11d48)}.bankrec-panel{padding:16px 18px}.bankrec-import{border:1px solid var(--border);border-radius:13px;padding:13px 15px;background:var(--surface-2, var(--surface))}.bankrec-import textarea{width:100%;margin-top:9px;border:1px solid var(--border-2);border-radius:9px;padding:10px 11px;font-family:ui-monospace,monospace;font-size:12px;background:var(--surface);color:var(--text);resize:vertical}.bankrec-import code{font-size:11px;background:var(--surface);padding:1px 5px;border-radius:5px}.bankrec-import-foot{display:flex;align-items:center;justify-content:space-between;margin-top:9px;font-size:12px;color:var(--text-2)}.bankrec-table-scroll{margin-top:10px;border:1px solid var(--border);border-radius:8px}.bankrec-table{min-width:700px}.bankrec-line.matched td{background:color-mix(in srgb,var(--a-green, #16a34a) 7%,transparent)}.bankrec-line.ignored td{opacity:.55}.bankrec-candidates td{background:var(--surface-2, var(--surface))}.bankrec-cand-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:var(--text-2)}.bankrec-line .sm-btn{margin-left:4px}.cr-select{height:38px;border:1px solid var(--border-2);border-radius:9px;padding:0 10px;background:var(--surface);color:var(--text);font-size:12px;flex:1;min-width:140px}.cr-followup{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--text-2);flex:1;min-width:170px}.cr-followup .dp{flex:1}.acct-post-row .sel,.acct-post-row .dp{flex:1;min-width:150px}.branch-chip{display:inline-flex;align-items:center;gap:8px;height:44px;font-size:12.5px;font-weight:600;color:var(--text-2);padding:0 14px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface-2);white-space:nowrap}.branch-chip svg{width:16px;color:var(--text-3)}.branch-chip.pick{cursor:pointer}.branch-chip.pick:hover{border-color:var(--border-2)}.branch-chip.pick svg:last-child{margin-left:2px}.topbar .icon.notification{width:44px;height:44px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface-2);display:grid;place-items:center;cursor:pointer;position:relative}.topbar .icon.notification:hover{border-color:var(--border-2)}.notif-dot{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--a-rose);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;border:2px solid var(--surface)}.branch-dropdown{width:240px}.branch-dropdown button.active{background:var(--brand-soft);color:var(--brand-strong)}.branch-dropdown em{font-style:normal;font-size:11px;color:var(--text-3)}.notif-dropdown{width:340px;padding:0;overflow:hidden}.notif-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--border)}.notif-head strong{font-size:13px}.notif-count{font-size:11px;color:var(--a-rose);font-weight:600}.notif-mark{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--brand-strong);font-size:11.5px;font-weight:600;cursor:pointer;padding:4px 6px;border-radius:7px}.notif-mark:hover{background:var(--surface-2)}.notif-mark svg{width:14px;height:14px}.notif-item.unread{background:var(--brand-soft)}.notif-item.unread .notif-ic{position:relative}.notif-item.unread .notif-ic:after{content:"";position:absolute;top:-1px;right:-1px;width:7px;height:7px;border-radius:50%;background:var(--brand)}.notif-section{padding:6px;border-bottom:1px solid var(--border)}.notif-section:last-of-type{border-bottom:0}.notif-label{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);padding:8px 10px 4px}.notif-item{width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;background:transparent;border-radius:9px;text-align:left}.notif-item.action{cursor:pointer}.notif-item.action:hover{background:var(--surface-2)}.notif-ic{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.notif-ic svg{width:14px}.notif-ic.red{background:color-mix(in srgb,var(--a-rose) 16%,transparent);color:var(--a-rose)}.notif-ic.amber{background:color-mix(in srgb,var(--a-amber) 18%,transparent);color:var(--a-amber)}.notif-ic.blue{background:color-mix(in srgb,var(--brand) 14%,transparent);color:var(--brand)}.notif-ic.violet{background:color-mix(in srgb,var(--a-violet) 16%,transparent);color:var(--a-violet)}.notif-ic.d0,.notif-ic.d1,.notif-ic.d2{width:8px;height:8px;border-radius:50%;margin:0 10px}.notif-ic.d0{background:var(--brand)}.notif-ic.d1{background:var(--a-amber)}.notif-ic.d2{background:var(--a-violet)}.notif-body{display:grid;gap:2px;min-width:0}.notif-body strong{font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notif-body strong:first-letter{text-transform:uppercase}.notif-body small{font-size:11px;color:var(--text-3)}.notif-empty{padding:14px;font-size:12px;color:var(--text-3);text-align:center}.notif-foot{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;padding:13px;border:0;background:var(--surface-2);color:var(--brand);font-size:12.5px;font-weight:600;cursor:pointer}.notif-foot:hover{background:var(--brand-soft)}.notif-foot svg{width:16px}.notif-item .notif-pill{margin-left:auto;background:var(--brand-deep);color:#fff;border-radius:var(--pill);min-width:20px;height:20px;font-size:10.5px;font-weight:700;display:grid;place-items:center;padding:0 6px}.alert-list{display:flex;flex-direction:column}.alert-item{width:100%;display:flex;align-items:center;gap:14px;padding:15px 22px;border:0;border-top:1px solid var(--border);background:transparent;cursor:pointer;text-align:left}.alert-item:hover{background:var(--surface-2)}.alert-item.unread{background:var(--brand-soft)}.alert-item.unread strong:after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--brand);margin-left:7px;vertical-align:middle}.alert-ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.alert-ic svg{width:18px;height:18px}.alert-ic.red{background:var(--a-rose-bg);color:#e0457b}.alert-ic.amber{background:var(--a-amber-bg);color:var(--chip-warn)}.alert-ic.blue{background:var(--a-cyan-bg);color:var(--chip-info)}.alert-ic.violet{background:var(--a-violet-bg);color:var(--chip-progress)}.alert-body{display:grid;gap:2px;margin-right:auto;min-width:0}.alert-body strong{font-size:14px}.alert-body small{font-size:12px;color:var(--text-3)}.alert-count{background:var(--brand-soft);color:var(--brand-strong);border-radius:var(--pill);min-width:26px;height:24px;font-size:12px;font-weight:700;display:grid;place-items:center;padding:0 9px}.alert-item>svg:last-child{width:16px;color:var(--text-3)}.audit-list{display:flex;flex-direction:column}.audit-row{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--border)}.audit-row:last-child{border-bottom:0}.audit-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.audit-dot.d0{background:var(--brand)}.audit-dot.d1{background:var(--a-amber)}.audit-dot.d2{background:var(--a-violet)}.audit-main{flex:1;display:grid;gap:2px;min-width:0}.audit-main strong{font-size:13px;font-weight:600}.audit-main strong:first-letter{text-transform:uppercase}.audit-main small{font-size:11.5px;color:var(--text-3)}.audit-row time{font-size:11.5px;color:var(--text-3);white-space:nowrap}.audit-more{display:flex;justify-content:center;padding:16px}.ref-picker{position:relative}.ref-trigger{width:100%;display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-size:13px;cursor:pointer;text-align:left}.ref-trigger:hover{border-color:var(--border-2)}.ref-trigger .ref-selected{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-trigger .ref-ph{flex:1;color:var(--text-3)}.ref-trigger>svg{width:16px;color:var(--text-3);flex-shrink:0}.ref-clear{display:grid;place-items:center}.ref-clear svg{width:16px;color:var(--text-3)}.ref-clear:hover svg{color:var(--a-rose)}.ref-pop{position:absolute;z-index:30;top:calc(100% + 5px);left:0;right:0;background:var(--surface);border:1px solid var(--border-2);border-radius:11px;box-shadow:var(--shadow-pop);overflow:hidden}.ref-pop-fixed{position:fixed;z-index:80;top:auto;right:auto}.ref-search{display:flex;align-items:center;gap:8px;padding:9px 11px;border-bottom:1px solid var(--border)}.ref-search svg{width:16px;color:var(--text-3)}.ref-search input{flex:1;border:0;background:transparent;color:var(--text);font-size:13px;outline:none}.ref-list{max-height:230px;overflow:auto;padding:5px}.ref-list button{width:100%;display:flex;align-items:center;gap:8px;padding:9px 10px;border:0;background:transparent;color:var(--text);font-size:12.5px;border-radius:8px;cursor:pointer;text-align:left}.ref-list button span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-list button:hover{background:var(--surface-2)}.ref-list button.active{background:color-mix(in srgb,var(--brand) 12%,transparent);color:var(--brand)}.ref-list button svg{width:16px}.ref-list button.ref-create{color:var(--brand);font-weight:600;border-top:1px solid var(--border);border-radius:0 0 8px 8px;margin-top:2px}.ref-list button.ref-create:hover{background:color-mix(in srgb,var(--brand) 10%,transparent)}.ref-list button.ref-create:disabled{opacity:.6;cursor:default}.ref-empty{display:flex;align-items:center;gap:8px;justify-content:center;padding:18px;color:var(--text-3);font-size:12px}.ref-empty svg{width:16px}.locked-field{display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px dashed var(--border-2);border-radius:9px;background:var(--surface-2);color:var(--text-2);font-size:13px}.dp,.sel{position:relative;width:100%}.dp-trigger,.sel-trigger{width:100%;display:flex;align-items:center;gap:8px;padding:10px 11px;border:1px solid var(--border-2);border-radius:11px;background:var(--surface-2);color:var(--text);font-size:13.5px;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s,background .15s}.dp-trigger:hover,.sel-trigger:hover{border-color:var(--border-2)}.dp-trigger:focus-visible,.sel-trigger:focus-visible{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.dp-trigger:disabled,.sel-trigger:disabled{opacity:.55;cursor:not-allowed}.dp-trigger>svg:first-child{width:16px;height:16px;color:var(--text-3);flex-shrink:0}.dp-val,.sel-val{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dp-ph,.sel-ph{flex:1;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dp-clear{display:grid;place-items:center}.dp-clear svg{width:14px;color:var(--text-3)}.dp-clear:hover svg{color:var(--a-rose)}.dp-trigger>.pi-chevron-down,.sel-chev{width:16px;height:16px;color:var(--text-3);flex-shrink:0;transition:transform .2s}.sel-chev.open{transform:rotate(180deg)}.dp-pop{position:absolute;z-index:40;top:calc(100% + 6px);left:0;width:264px;background:var(--surface);border:1px solid var(--border-2);border-radius:14px;box-shadow:var(--shadow-pop);padding:12px}.dp-pop-fixed{position:fixed;z-index:85;top:auto;right:auto;max-width:calc(100vw - 16px)}.dp-pop-fixed .dp-grid,.dp-pop-fixed .dp-day{min-width:0}.dp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dp-head strong{font-size:13px}.dp-nav{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--border-2);border-radius:8px;background:var(--surface);color:var(--text-2);cursor:pointer}.dp-nav:hover{background:var(--surface-2);color:var(--text)}.dp-nav svg{width:16px;height:16px}.dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.dp-wd{margin-bottom:4px}.dp-wd span{text-align:center;font-size:10.5px;font-weight:700;color:var(--text-3);text-transform:uppercase;padding:4px 0}.dp-day{height:32px;border:0;background:transparent;color:var(--text);font-size:12.5px;border-radius:8px;cursor:pointer}.dp-day:hover:not(:disabled){background:var(--surface-2)}.dp-day:disabled{color:var(--text-3);opacity:.4;cursor:default}.dp-day.today{box-shadow:inset 0 0 0 1px var(--border-2);font-weight:600}.dp-day.sel{background:var(--brand);color:#fff;font-weight:600}.dp-foot{display:flex;justify-content:space-between;border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.dp-foot button{border:0;background:none;color:var(--brand);font-size:12px;font-weight:600;cursor:pointer;padding:0}.sel-pop{position:absolute;z-index:40;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid var(--border-2);border-radius:12px;box-shadow:var(--shadow-pop);overflow:hidden}.sel-pop-fixed{position:fixed;z-index:80;top:auto;right:auto}.sel-list{max-height:240px;overflow:auto;padding:5px}.sel-pop-up{display:flex;flex-direction:column-reverse}.sel-search{display:flex;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid var(--border-2);cursor:text}.sel-pop-up .sel-search{border-bottom:0;border-top:1px solid var(--border-2)}.sel-search svg{width:15px;height:15px;flex:0 0 auto;color:var(--text-3, var(--text-2))}.sel-search input{flex:1;min-width:0;border:0;outline:0;padding:0;background:transparent;color:var(--text);font:inherit;font-size:13px;box-shadow:none}.sel-group{padding:8px 11px 4px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-2)}.sel-empty{padding:14px 11px;font-size:13px;color:var(--text-2);text-align:center;overflow-wrap:anywhere}.sel-trigger[aria-invalid=true]{border-color:var(--a-rose)}.pos-tender .sel-trigger{height:34px;padding:0 8px;font-size:12.5px;background:var(--surface)}.pos-deliver .sel-trigger{height:36px;padding:0 10px;font-size:13px}.account-picker .sel-trigger{height:40px;padding:0 12px;background:var(--surface)}.ac-filters .sel-trigger{height:38px;padding:0 10px;font-size:12.5px;background:var(--surface)}.ship-pick-field .sel-trigger{min-height:40px;padding:8px 12px;font-size:13px}.sel-list button{width:100%;display:flex;align-items:center;gap:8px;padding:9px 11px;border:0;background:transparent;color:var(--text);font-size:13px;border-radius:8px;cursor:pointer;text-align:left}.sel-list button span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sel-list button:hover{background:var(--surface-2)}.sel-list button.active{background:var(--brand-soft);color:var(--brand-strong);font-weight:600}.sel-list button svg{width:16px}.locked-field span{flex:1;font-weight:600}.locked-field svg{width:16px;color:var(--text-3)}.locked-field svg:last-child{color:var(--chip-ok)}.conn-group{margin-top:22px}.conn-group:first-of-type{margin-top:0}.conn-group-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.conn-group-head h2{font-size:14px;font-weight:700;letter-spacing:0;margin:0}.conn-cat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--border)}.conn-cat-icon svg{width:16px;color:var(--brand)}.conn-grid{display:grid;gap:12px}.conn-card{border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.conn-card.open{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 12%,transparent)}.conn-card-head{width:100%;display:flex;align-items:center;gap:13px;padding:15px 17px;background:transparent;border:0;cursor:pointer;text-align:left}.conn-status{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.conn-status.ok{background:color-mix(in srgb,var(--a-green, #16a34a) 14%,transparent);color:var(--chip-ok)}.conn-status.off{background:var(--surface-2);color:var(--text-3)}.conn-status svg{width:16px}.conn-card-title{display:grid;gap:2px;flex:1;min-width:0}.conn-card-title strong{font-size:13.5px}.conn-card-title small{font-size:11.5px;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conn-badges{display:flex;align-items:center;gap:8px;flex-shrink:0}.conn-chevron{width:16px;color:var(--text-3);transition:transform .18s}.conn-card.open .conn-chevron{transform:rotate(180deg)}.conn-card-body{padding:4px 17px 17px;border-top:1px solid var(--border)}.conn-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:15px 0}.conn-fields label.block{display:grid;gap:6px;font-size:11.5px;font-weight:600;color:var(--text-2)}.conn-fields input{padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-size:13px}.conn-enable{display:flex;align-items:center;gap:9px;font-size:12.5px;margin-bottom:12px;cursor:pointer}.conn-enable input{width:16px;height:16px}.conn-webhook{display:flex;align-items:center;gap:10px;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:9px 12px;margin-bottom:12px}.conn-webhook span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.conn-webhook code{font-size:11.5px;color:var(--text);flex:1;overflow:hidden;text-overflow:ellipsis}.conn-actions{display:flex;justify-content:flex-end}.toast{position:fixed;right:24px;bottom:24px;z-index:70;max-width:min(380px,calc(100vw - 32px));background:var(--brand-deep);color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:13px 16px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow-pop);font-size:13px;line-height:1.35}.toast.error{background:#c02a5b;border-color:#fff3}.toast.info{background:var(--a-cyan)}.toast svg{width:16px;height:16px;flex-shrink:0}.toast svg{width:16px;color:#45c4ec}.mobile-only{display:none}@media(max-width:1150px){.stat-cards{grid-template-columns:repeat(2,1fr)}.analytics-grid,.bottom-grid{grid-template-columns:1fr}.sidebar{transform:translate(-100%);transition:.2s}.sidebar.open{transform:translate(0);box-shadow:var(--shadow-pop)}.app-shell{display:block}main{grid-column:auto}.mobile-only{display:flex}.topbar{padding:0 18px}.content{padding:20px}}@media(max-width:720px){.search-wrap{display:none}.topbar{height:64px;padding:0 10px;gap:8px}.top-actions{gap:6px;min-width:0}.topbar .mobile-only.icon,.topbar .icon.notification,.avatar{width:38px;height:38px;border-radius:11px;flex:0 0 auto}.ask-ai{width:38px;height:38px;padding:0;border-radius:11px;font-size:0;gap:0;flex:0 0 auto}.ask-ai svg{width:16px;height:16px}.branch-chip{width:38px;height:38px;padding:0;justify-content:center;overflow:hidden;font-size:0;gap:0;flex:0 0 auto}.branch-chip svg{width:16px;height:16px;margin:0}.branch-chip.pick svg:last-child{display:none}.stat-cards{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:22px;margin:4px 0}.head-actions{margin-left:0;flex-wrap:wrap}.module-kpis,.mini-strip{grid-template-columns:repeat(2,1fr)}.content{padding:16px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.module-toolbar{align-items:stretch;flex-direction:column}.table-tools{margin-left:0}.table-tools label{width:100%}.filter-pop{left:0;right:auto}.filter-daterange,.pipeline,.report-grid{grid-template-columns:1fr}.toast{left:12px;right:12px;bottom:12px;max-width:none}}.boot-screen{min-height:100vh;display:grid;place-items:center;background:var(--bg);color:var(--brand)}.boot-screen svg{width:32px;height:32px}.login-screen{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--bg)}.login-aside{position:relative;padding:54px 56px;color:#eaf4fb;display:flex;flex-direction:column;gap:40px;background:linear-gradient(150deg,#051a34eb,#07385cd1),radial-gradient(700px 380px at 85% -10%,#0a92c855,transparent 60%),var(--brand-deep)}.login-brand{display:flex;align-items:center;gap:12px}.login-brand img{width:40px;height:40px;border-radius:11px}.login-brand strong{display:block;font-size:18px;letter-spacing:.04em}.login-brand span{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#9fc4dd}.login-pitch{margin-top:auto}.login-pitch h2{font-size:34px;line-height:1.12;letter-spacing:0;margin:0 0 14px;max-width:440px}.login-pitch p{margin:0;color:#b9d2e6;font-size:14px;line-height:1.6;max-width:420px}.login-points{list-style:none;margin:0;padding:0;display:grid;gap:14px}.login-points li{display:flex;align-items:center;gap:12px;font-size:13px;color:#d4e6f3}.login-points svg{width:18px;height:18px;color:#58c3ec;flex-shrink:0}.login-main{position:relative;display:flex;flex-direction:column;padding:24px 28px 28px}.login-topbar{display:flex;justify-content:flex-end;align-items:center}.login-brand-sm{display:none}.login-pw{position:relative;display:block}.login-pw input{width:100%;padding-right:48px}.login-pw-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--text-3);cursor:pointer}.login-pw-toggle:hover{color:var(--text);background:var(--surface-2)}.login-pw-toggle svg{width:18px;height:18px}.login-card{margin:auto;width:min(380px,100%);display:flex;flex-direction:column}.login-card .eyebrow{color:var(--brand);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.login-card h1{font-size:26px;letter-spacing:0;margin:8px 0 6px;color:var(--text)}.login-sub{margin:0 0 22px;color:var(--text-3);font-size:13px;line-height:1.55}.login-card label{display:flex;flex-direction:column;gap:7px;font-size:12.5px;font-weight:600;color:var(--text-2);margin-bottom:14px}.login-card input{height:46px;border:1px solid var(--border-2);background:var(--surface);color:var(--text);border-radius:var(--radius-2);padding:0 14px;font-size:14px}.login-card input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.login-submit{height:48px;justify-content:center;margin-top:4px}.login-preview{margin-top:16px;background:transparent;border:0;color:var(--text-3);font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:4px;cursor:pointer}.login-preview:hover{color:var(--brand)}.login-preview svg{width:16px;height:16px}.login-foot{text-align:center;color:var(--text-3);font-size:11.5px}.login-card .form-error{margin-bottom:14px}@media(max-width:860px){.login-screen{grid-template-columns:1fr}.login-aside{display:none}.login-topbar{justify-content:space-between}.login-brand-sm{display:flex;align-items:center;gap:10px}.login-brand-sm img{width:32px;height:32px}.login-brand-sm strong{font-size:14px;letter-spacing:.08em;color:var(--text)}}.sms-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.sms-stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 22px;display:flex;gap:14px;align-items:flex-start}.sms-stat .ic{width:40px;height:40px;border-radius:var(--radius-2);display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);flex-shrink:0}.sms-stat .ic svg{width:18px;height:18px}.sms-stat .ic.green{background:var(--a-green-bg);color:var(--chip-ok)}.sms-stat .ic.amber{background:var(--a-amber-bg);color:var(--chip-warn)}.sms-stat h4{margin:0;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.sms-stat .v{font-size:26px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:6px 0 2px;color:var(--text);text-transform:capitalize}.sms-stat small{color:var(--text-3);font-size:11.5px}.broadcast-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;align-items:stretch}.broadcast-grid>.panel{display:flex;flex-direction:column}.broadcast-compose .panel-pad{padding:22px}.broadcast-compose fieldset{border:0;padding:0;margin:0}.broadcast-compose legend{font-size:12.5px;font-weight:600;color:var(--text-2);margin-bottom:8px;padding:0}.broadcast-compose label.block{display:flex;flex-direction:column;gap:7px;font-size:12.5px;font-weight:600;color:var(--text-2);margin:16px 0 0}.broadcast-compose textarea{border:1px solid var(--border-2);background:var(--surface-2);color:var(--text);border-radius:var(--radius-2);padding:11px 13px;font-size:13.5px;font-family:inherit;resize:vertical;min-height:64px}.broadcast-compose textarea.tall{min-height:150px}.broadcast-compose textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.broadcast-meta{display:flex;flex-wrap:wrap;gap:18px;margin:14px 2px 0;font-size:12px;color:var(--text-3)}.broadcast-meta strong{color:var(--brand)}.broadcast-send{margin-top:18px;justify-content:center;width:100%;height:46px}.bc-groups{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.bc-group{display:flex;align-items:center;gap:9px;height:46px;padding:0 13px;border:1px solid var(--border-2);background:var(--surface);border-radius:var(--radius-2);color:var(--text-2);font-size:12.5px;font-weight:600;cursor:pointer}.bc-group svg{width:16px;height:16px;color:var(--text-3)}.bc-group span{margin-right:auto}.bc-group em{font-style:normal;font-size:11px;font-weight:700;color:var(--text-3);background:var(--surface-2);border-radius:999px;padding:2px 8px}.bc-group.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong);box-shadow:inset 0 0 0 1px var(--brand)}.bc-group.active svg,.bc-group.active em{color:var(--brand-strong)}.bc-hint{color:var(--text-3);font-size:11.5px;font-weight:500}.bc-custom{margin-top:16px;display:grid;gap:12px}.bc-add-row{display:grid;grid-template-columns:1fr 1.2fr auto;gap:8px}.bc-add-row input{height:42px;border:1px solid var(--border-2);background:var(--surface-2);color:var(--text);border-radius:var(--radius-3);padding:0 12px;font-size:13px;font-family:inherit}.bc-add-row input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.bc-import-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bc-import-row .link{border:0;background:none;color:var(--brand);font-size:12px;font-weight:600;cursor:pointer}.bc-paste{display:grid;gap:8px}.bc-paste textarea{border:1px solid var(--border-2);background:var(--surface-2);color:var(--text);border-radius:var(--radius-2);padding:10px 12px;font-size:13px;font-family:inherit;min-height:84px;resize:vertical}.bc-paste textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.bc-lists{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bc-lists-label{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.bc-list-chip{display:inline-flex;align-items:center;border:1px solid var(--border-2);border-radius:var(--pill);background:var(--surface-2);overflow:hidden}.bc-list-chip>button{border:0;background:none;cursor:pointer;font-size:12px;font-weight:600;color:var(--text-2);padding:5px 11px;display:inline-flex;align-items:center;gap:6px}.bc-list-chip>button:hover{color:var(--brand-strong)}.bc-list-chip em{font-style:normal;font-size:10px;font-weight:700;color:var(--text-3);background:var(--surface);border-radius:999px;padding:1px 6px}.bc-list-chip .x{padding:5px 8px 5px 4px;color:var(--text-3)}.bc-list-chip .x svg{width:14px;height:14px}.bc-rec-chips{display:flex;flex-wrap:wrap;gap:8px}.bc-empty{font-size:12.5px;color:var(--text-3);padding:14px 0}.bc-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border-2);background:var(--surface);border-radius:var(--radius-3);padding:6px 8px 6px 11px}.bc-chip-txt{display:grid;line-height:1.25}.bc-chip strong{font-size:12.5px;font-weight:600;color:var(--text)}.bc-chip small{font-size:10.5px;color:var(--text-3);font-variant-numeric:tabular-nums}.bc-chip>button{border:0;background:none;cursor:pointer;color:var(--text-3);display:grid;place-items:center;padding:2px;border-radius:6px}.bc-chip>button:hover{color:var(--a-rose);background:var(--a-rose-bg)}.bc-chip>button svg{width:14px;height:14px}.bc-msg{display:grid;gap:7px;margin-top:16px}.bc-msg-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.bc-msg-label{font-size:12.5px;font-weight:600;color:var(--text-2)}.bc-merge{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--text-3)}.bc-merge button{border:1px solid var(--border-2);background:var(--surface-2);color:var(--brand-strong);border-radius:var(--radius-3);padding:3px 8px;font-size:11px;font-weight:700;font-family:var(--mono, ui-monospace, monospace);cursor:pointer}.bc-merge button:hover{border-color:var(--brand);background:var(--brand-soft)}.bc-preview{margin-top:10px;border:1px solid var(--border);border-left:3px solid var(--brand);background:var(--surface-2);border-radius:var(--radius-2);padding:11px 14px}.bc-preview-label{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.bc-preview-label svg{width:14px;height:14px}.bc-preview p{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--text)}@media(max-width:560px){.bc-add-row{grid-template-columns:1fr}}.bc-picker{margin-top:16px;border:1px solid var(--border-2);border-radius:var(--radius-2);background:var(--surface-2);overflow:hidden}.bc-picker-top{display:flex;align-items:center;gap:10px;padding:10px;flex-wrap:wrap}.bc-entire{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--text-2);cursor:pointer;padding:7px 11px;border:1px solid var(--border-2);border-radius:var(--pill);background:var(--surface)}.bc-entire svg{width:16px;height:16px;color:var(--text-3)}.bc-entire input{accent-color:var(--brand)}.bc-entire.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.bc-entire.on svg{color:var(--brand-strong)}.bc-search{flex:1;min-width:160px;display:flex;align-items:center;gap:8px;height:38px;padding:0 11px;background:var(--surface);border:1px solid var(--border-2);border-radius:var(--pill)}.bc-search svg{width:16px;height:16px;color:var(--text-3);flex-shrink:0}.bc-search input{border:0;background:transparent;color:var(--text);font-size:13px;width:100%;outline:none}.bc-picker-actions{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;border-top:1px solid var(--border);font-size:11.5px;color:var(--text-3)}.bc-picker-actions .row{display:flex;gap:12px}.bc-picker-actions .link{border:0;background:none;color:var(--brand);font-size:11.5px;font-weight:600;cursor:pointer;padding:0}.bc-picker-actions .link:disabled{color:var(--text-3);opacity:.5;cursor:default}.bc-reclist{max-height:248px;overflow-y:auto;border-top:1px solid var(--border);background:var(--surface)}.bc-rec{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:9px 13px;border:0;border-bottom:1px solid var(--border);background:none;cursor:pointer}.bc-rec:last-child{border-bottom:0}.bc-rec:hover{background:var(--surface-2)}.bc-rec-check{width:18px;height:18px;flex-shrink:0;border:1.5px solid var(--border-2);border-radius:6px;display:grid;place-items:center}.bc-rec-check svg{width:14px;height:14px;color:#fff}.bc-rec.on .bc-rec-check{background:var(--brand);border-color:var(--brand)}.bc-rec-main{display:flex;flex-direction:column;margin-right:auto;min-width:0}.bc-rec-main strong{font-size:13px;font-weight:600;color:var(--text)}.bc-rec-main small{font-size:11.5px;color:var(--text-3)}.bc-rec-meta{font-style:normal;font-size:10.5px;font-weight:600;text-transform:capitalize;color:var(--text-3);background:var(--surface-2);border-radius:999px;padding:2px 8px}.loading-state.sm{height:auto;min-height:120px}.broadcast-history .history-body{flex:1;display:flex;flex-direction:column}.broadcast-history .history-body .table-scroll{flex:1}.broadcast-history .loading-state{flex:1;min-height:220px}@media(max-width:980px){.sms-stats{grid-template-columns:1fr}.broadcast-grid{grid-template-columns:minmax(0,1fr)}}.gw-form{margin-bottom:16px}.gw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gw-grid label.block{display:flex;flex-direction:column;gap:7px;font-size:12.5px;font-weight:600;color:var(--text-2)}.gw-grid input{height:42px;border:1px solid var(--border-2);background:var(--surface-2);color:var(--text);border-radius:var(--radius-2);padding:0 13px;font-size:13.5px}.gw-grid input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.gw-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.gw-card{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:16px 20px;margin-bottom:16px}.gw-card .ic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--a-green-bg);color:var(--chip-ok);flex-shrink:0}.gw-card .gw-body{margin-right:auto;display:grid;gap:2px}.gw-card .gw-body strong{font-size:14px}.gw-card .gw-body small{color:var(--text-3);font-size:12px}.login-note{display:flex;align-items:center;gap:8px;margin:16px 0 0;font-size:11.5px;color:var(--text-3)}.login-note svg{width:14px;height:14px;flex-shrink:0}.login-notice{display:flex;align-items:flex-start;gap:8px;margin:-8px 0 18px;padding:11px 12px;border-radius:var(--radius-2);background:var(--brand-soft);color:var(--brand-strong);font-size:12.5px;font-weight:600;line-height:1.45}.login-notice svg{width:16px;height:16px;flex-shrink:0;margin-top:1px}.modal-backdrop:has(.session-warning){z-index:200}.session-warning-ic{width:54px;height:54px;border-radius:12px;background:var(--a-amber-bg);color:var(--chip-warn);display:grid;place-items:center;margin:0 auto 16px}.session-warning-ic svg{width:24px}@media(max-width:760px){.gw-grid{grid-template-columns:1fr}}.ask-ai{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;border:0;border-radius:var(--pill);cursor:pointer;font-size:13px;font-weight:600;color:#fff;background:linear-gradient(180deg,var(--brand),var(--brand-strong));box-shadow:var(--shadow-brand)}.ask-ai:hover{filter:brightness(1.04)}.ask-ai svg{width:16px;height:16px}.assistant-fab{position:fixed;right:24px;bottom:24px;z-index:44;display:inline-flex;align-items:center;gap:9px;height:52px;padding:0 22px 0 18px;border:0;border-radius:999px;cursor:pointer;font-size:14px;font-weight:700;color:#fff;background:linear-gradient(180deg,var(--brand),var(--brand-strong));box-shadow:0 8px 22px color-mix(in oklab,var(--brand) 34%,transparent),0 2px 6px #0f213824;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;animation:fab-pop .28s cubic-bezier(.2,.9,.3,1.2)}.assistant-fab:hover{transform:translateY(-2px);filter:brightness(1.04);box-shadow:0 14px 32px color-mix(in oklab,var(--brand) 40%,transparent),0 3px 8px #0f21382e}.assistant-fab:active{transform:translateY(0)}.assistant-fab svg{width:18px;height:18px}@keyframes fab-pop{0%{opacity:0;transform:scale(.7) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}@media(max-width:640px){.assistant-fab{right:16px;bottom:16px;height:52px;width:52px;padding:0;justify-content:center}.assistant-fab span{display:none}}@media(prefers-reduced-motion:reduce){.assistant-fab{animation:none}}.assistant-backdrop{position:fixed;inset:0;background:#04142e6b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:60}.assistant-panel{position:absolute;right:0;top:0;bottom:0;width:min(440px,100%);background:var(--surface);border-left:1px solid var(--border);box-shadow:var(--shadow-pop);display:flex;flex-direction:column;animation:assistant-in .26s cubic-bezier(.2,.8,.25,1)}@keyframes assistant-in{0%{transform:translate(28px);opacity:.4}to{transform:none;opacity:1}}.assistant-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border)}.assistant-title{display:flex;align-items:center;gap:11px}.assistant-title strong{display:block;font-size:14px}.assistant-title small{color:var(--text-3);font-size:11px;text-transform:capitalize}.assistant-spark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;color:#fff;background:var(--brand-strong)}.assistant-spark svg{width:18px;height:18px}.assistant-spark.lg{width:52px;height:52px;border-radius:16px}.assistant-spark.lg svg{width:24px;height:24px}.assistant-scroll{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:16px}.assistant-notice{display:flex;gap:12px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--a-amber-bg)}.assistant-notice svg{width:18px;height:18px;flex-shrink:0;color:var(--a-amber)}.assistant-notice strong{font-size:13px}.assistant-notice p{margin:4px 0 0;font-size:12px;color:var(--text-2)}.assistant-empty{text-align:center;margin:auto 0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px}.assistant-empty h3{margin:6px 0 0;font-size:16px}.assistant-empty p{margin:0;font-size:12.5px;color:var(--text-2);max-width:300px}.assistant-suggests{display:flex;flex-direction:column;gap:8px;margin-top:12px;width:100%}.assistant-suggests button{text-align:left;padding:11px 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg);cursor:pointer;font-size:12.5px;font-weight:500;color:var(--text)}.assistant-suggests button:hover{border-color:var(--brand);color:var(--brand)}.assistant-msg{display:flex;gap:10px}.assistant-msg.user{justify-content:flex-end}.assistant-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;flex-shrink:0;color:#fff;background:var(--brand-strong)}.assistant-avatar svg{width:16px;height:16px}.assistant-bubble{max-width:86%;border-radius:16px;padding:11px 14px;font-size:13px;line-height:1.5;background:var(--bg);border:1px solid var(--border)}.assistant-msg.user .assistant-bubble{background:var(--brand);border-color:var(--brand);color:#fff}.assistant-bubble p{margin:0 0 4px}.assistant-bubble p:last-child{margin-bottom:0}.assistant-typing{display:inline-flex;gap:4px;padding:3px 0}.assistant-typing i{width:6px;height:6px;border-radius:50%;background:var(--text-3);animation:assistant-blink 1.2s infinite ease-in-out}.assistant-typing i:nth-child(2){animation-delay:.2s}.assistant-typing i:nth-child(3){animation-delay:.4s}@keyframes assistant-blink{0%,80%,to{opacity:.25}40%{opacity:1}}.assistant-error{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:12px;color:var(--a-rose)}.assistant-inline-note{display:flex;align-items:flex-start;gap:7px;margin-top:8px;font-size:12px;color:var(--text-3)}.assistant-inline-note svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}.assistant-error svg{width:16px;height:16px}.assistant-refs{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.assistant-ref{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border:1px solid var(--border);border-radius:var(--pill);background:var(--surface);cursor:pointer;font-size:11.5px;font-weight:600;color:var(--brand)}.assistant-ref:hover{background:var(--brand-soft);border-color:var(--brand)}.assistant-ref svg{width:14px;height:14px}.assistant-status{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-2);padding-left:4px}.assistant-status svg{width:14px;height:14px}.assistant-compose{display:flex;align-items:flex-end;gap:8px;padding:14px;border-top:1px solid var(--border)}.assistant-compose textarea{flex:1;resize:none;max-height:120px;border:1px solid var(--border);border-radius:13px;padding:10px 12px;font:inherit;font-size:13px;background:var(--bg);color:var(--text)}.assistant-compose textarea:focus{outline:none;border-color:var(--brand)}.assistant-send{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:0;border-radius:12px;cursor:pointer;color:#fff;background:var(--brand)}.assistant-send:disabled{opacity:.45;cursor:default}.assistant-send svg{width:18px;height:18px}.access-control .head-actions{margin-left:auto}.chip-row{display:flex;flex-wrap:wrap;gap:6px}.perm-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:var(--pill);background:var(--brand-soft);color:var(--brand-strong);font-size:11px;font-weight:600}.perm-chip.extra{background:var(--a-violet-bg);color:var(--chip-progress)}.perm-chip.lock{background:var(--a-amber-bg);color:var(--chip-warn)}.perm-chip.lock svg{width:14px;height:14px}.muted{color:var(--text-3)}.role-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;padding:14px 18px}.role-editor{padding:16px 18px 28px}.role-editor-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--border)}.role-editor-title{margin-right:auto}.role-editor-title .eyebrow{display:block}.role-editor-title h2{margin:2px 0 0;font-size:20px;font-weight:700}.role-editor-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.role-editor-actions .muted{font-size:12px;color:var(--text-3);font-variant-numeric:tabular-nums}.re-name{display:grid;gap:6px;max-width:360px;margin-bottom:14px;font-size:12px;font-weight:600;color:var(--text-2)}.re-name input{height:40px;padding:0 12px;border:1px solid var(--border-2);border-radius:9px;background:var(--surface);color:var(--text);font-size:13px;outline:none}.re-name input:focus{border-color:var(--brand)}.re-hint{font-size:12px;color:var(--text-3);margin:0 0 14px;max-width:760px}.settings-editor{padding:16px 18px 28px}.settings-editor-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--border)}.settings-editor-head .se-title{margin-right:auto}.settings-editor-head .se-title .eyebrow{display:block}.settings-editor-head h2{margin:2px 0 0;font-size:20px;font-weight:700}.settings-section{border:1px solid var(--border);border-radius:13px;padding:16px 18px;margin-bottom:14px}.settings-section>h3{margin:0 0 3px;font-size:13px;font-weight:700}.settings-section>p{margin:0 0 12px;font-size:12px;color:var(--text-3)}.se-optional{font-size:10px;font-weight:600;color:var(--text-3);border:1px solid var(--border-2);border-radius:6px;padding:1px 6px;margin-left:6px;vertical-align:middle;text-transform:uppercase;letter-spacing:.03em}.oc-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.oc-total{font-size:13px;color:var(--text-2)}.oc-total b{color:var(--text)}.rules-panel{padding:14px 18px 22px}.rules-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.rules-bar .muted{font-size:12px;color:var(--text-3)}.rules-list{display:grid;gap:8px}.rule-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--border);border-radius:11px}.rule-row.changed{border-color:var(--brand);background:var(--brand-soft)}.rule-info{display:grid;gap:2px;min-width:0}.rule-info strong{font-size:13px}.rule-info small{font-size:11px;color:var(--text-3)}.rule-input{flex-shrink:0}.rule-input input{width:200px;height:38px;padding:0 12px;border:1px solid var(--border-2);border-radius:9px;background:var(--surface);color:var(--text);font-size:13px;outline:none;text-align:right}.rule-input input:focus{border-color:var(--brand)}@media(max-width:560px){.rule-row{flex-direction:column;align-items:stretch}.rule-input input{width:100%;text-align:left}}.role-card{border:1px solid var(--border);border-radius:16px;padding:16px;display:grid;gap:10px;background:var(--surface)}.role-card-head{display:flex;align-items:center;justify-content:space-between}.role-card-head>div{display:flex;align-items:center;gap:8px}.role-card-head strong{font-size:14px}.role-meta{font-size:12px;color:var(--text-3)}.chip-choices{display:flex;flex-wrap:wrap;gap:8px}.choice{display:inline-flex;align-items:center;gap:5px;padding:7px 12px;border:1px solid var(--border);border-radius:var(--pill);background:var(--surface);cursor:pointer;font-size:12px;font-weight:600;color:var(--text-2)}.choice:hover{border-color:var(--brand)}.choice.on{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-strong)}.choice svg{width:14px;height:14px}.perm-fieldset{border:1px solid var(--border);border-radius:14px;padding:14px;margin-top:4px}.perm-fieldset legend{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--text-2);padding:0 6px}.muted-note{font-size:11.5px;color:var(--text-3);margin:10px 0 0}.check-inline{display:flex;flex-direction:row;align-items:center;gap:8px}.check-inline input{width:auto}.wide-toggle{display:inline-flex;align-items:center;gap:7px;margin:14px 0 6px}.perm-matrix{display:grid;gap:14px;margin-top:6px}.perm-group{border:1px solid var(--border);border-radius:14px;padding:12px 14px}.perm-group-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;color:var(--text);margin-bottom:10px;text-transform:capitalize}.quiet.xs{padding:2px 8px;font-size:11px}.icon.sm{width:30px;height:30px}.perm-table-wrap{margin-top:8px;border:1px solid var(--border);border-radius:14px;overflow:auto;max-height:52vh}.perm-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.perm-table th,.perm-table td{padding:9px 8px;border-bottom:1px solid var(--border);text-align:center;white-space:nowrap}.perm-table thead th{position:sticky;top:0;z-index:1;background:var(--surface-2);font-weight:700;color:var(--text-3)}.perm-table tbody tr:last-child td{border-bottom:0}.perm-table tbody tr:hover td{background:var(--brand-soft)}.perm-table .pt-mod{text-align:left;position:sticky;left:0;background:var(--surface)}.perm-table thead .pt-mod{background:var(--surface-2)}.perm-table tbody tr:hover .pt-mod{background:var(--brand-soft)}.pt-modbtn{background:0;border:0;font-size:12.5px;font-weight:600;color:var(--text);cursor:pointer;padding:2px 4px;border-radius:6px}.pt-modbtn:hover,.pt-modbtn.on{color:var(--brand-strong)}.pt-colh{background:0;border:0;font:inherit;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.03em;font-size:10.5px;cursor:pointer;padding:2px 4px;border-radius:6px}.pt-colh:not(:disabled):hover{color:var(--brand-strong);background:var(--surface)}.pt-colh:disabled{opacity:.35;cursor:default}.pt-colh.on{color:var(--brand-strong)}.pt-check{display:inline-flex;cursor:pointer}.pt-check input{width:17px;height:17px;accent-color:var(--brand);cursor:pointer}.pt-dash{color:var(--border-2)}.pt-other-h,.pt-other{text-align:left}.pt-other{min-width:220px}.pt-chips{display:flex;flex-wrap:wrap;gap:6px}.choice.xs{padding:4px 9px;font-size:11px;gap:4px}.choice.xs svg{width:11px;height:11px}.wide-drawer{width:min(560px,100%)}.drawer-scroll{overflow-y:auto;flex:1;min-height:0;padding-bottom:18px}.perf-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 20px}.perf-stat{border:1px solid var(--border);border-radius:12px;padding:12px;display:grid;gap:4px;background:var(--surface-2)}.perf-stat span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.perf-stat strong{font-size:18px;font-weight:700;color:var(--brand-strong)}.drawer-section{margin:6px 20px 16px}.drawer-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.drawer-section-head h3{font-size:13px;font-weight:700;margin:0}.drawer-section-head span{font-size:11px;color:var(--text-3);background:var(--surface-2);border-radius:999px;padding:2px 9px}.muted-empty{font-size:12.5px;color:var(--text-3);padding:10px 0}.comm-list{display:grid;gap:8px}.comm-item{display:flex;gap:11px;border:1px solid var(--border);border-radius:12px;padding:11px 13px}.comm-type{font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--brand-strong);background:var(--brand-soft);border-radius:6px;padding:3px 7px;height:fit-content;flex-shrink:0}.comm-body{display:grid;gap:3px;min-width:0}.comm-body strong{font-size:12.5px;font-weight:600}.comm-body small{font-size:11.5px;color:var(--text-2)}.comm-body em{font-size:10.5px;color:var(--text-3);font-style:normal}.log-form{display:grid;gap:9px;border:1px solid var(--border);border-radius:14px;padding:14px;background:var(--surface-2)}.log-types{display:flex;gap:6px;flex-wrap:wrap}.log-types button{border:1px solid var(--border-2);background:var(--surface);border-radius:8px;padding:6px 11px;font-size:11.5px;font-weight:600;color:var(--text-2);cursor:pointer;text-transform:capitalize}.log-types button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.log-form textarea,.log-form input[type=text],.log-form>input{border:1px solid var(--border);border-radius:9px;padding:9px 11px;font-size:12.5px;background:var(--surface);color:var(--text);width:100%}.log-form textarea{min-height:58px;resize:vertical}.log-follow{display:flex;align-items:center;gap:9px;font-size:12.5px;color:var(--text-2)}.log-follow input[type=date]{margin-left:auto}.po-stages{display:flex;gap:6px;margin:16px 20px}.po-stage{flex:1;display:grid;justify-items:center;gap:6px;font-size:10.5px;text-transform:capitalize;color:var(--text-3);border-top:2px solid var(--border-2);padding-top:8px}.po-stage .po-dot{width:9px;height:9px;border-radius:50%;background:var(--border-2)}.po-stage.done{color:var(--text-2);border-top-color:var(--brand)}.po-stage.done .po-dot{background:var(--brand)}.po-stage.current{color:var(--brand-strong);font-weight:700;border-top-color:var(--brand)}.po-stage.current .po-dot{background:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.wide-modal{width:min(680px,96vw)}.purchase-lines{margin:0 20px 10px}.purchase-lines-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.purchase-lines-head span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.purchase-line{display:grid;grid-template-columns:minmax(0,1fr) 74px 150px 110px 36px;gap:10px;align-items:center;margin-bottom:8px}.purchase-line input{min-height:44px;padding:9px 12px;border:1px solid var(--border-2);border-radius:var(--radius-3);font-size:13px;background:var(--surface-2);color:var(--text);transition:border-color .15s,box-shadow .15s}.purchase-line input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.purchase-line .pl-qty{text-align:center}.purchase-line .pl-sub{font-size:12.5px;font-weight:700;color:var(--text-2);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.purchase-line .pl-del{width:36px;height:36px;justify-self:end}.purchase-line .pl-del:hover svg{color:var(--a-rose)}.purchase-line.expense-line{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 140px 36px}.order-timeline.ship-customers ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}.order-timeline.ship-customers li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 12px;border:1px solid var(--border-2);border-radius:12px;background:var(--surface)}.order-timeline.ship-customers li:before{content:none}.ship-customers-note{margin:4px 0 0;font-size:12.5px;color:var(--text-2)}.order-timeline.ship-customers li .ship-customer-who{flex:1 1 220px;min-width:0;display:grid;gap:2px}.ship-customer-who small{color:var(--text-3);font-size:12px;overflow-wrap:anywhere}.order-timeline.ship-customers li .ship-customer-actions{display:flex;flex-wrap:wrap;gap:6px}.ship-customer-actions .sm-btn{height:32px;padding:0 10px;font-size:12px;display:inline-flex;align-items:center;gap:6px;text-decoration:none}.order-timeline.ship-customers li .ship-sms-confirm{flex:1 1 100%;display:grid;gap:8px;padding:10px;border-radius:10px;background:var(--surface-2)}.ship-sms-confirm p{margin:0;font-size:12.5px;line-height:1.5;color:var(--text);overflow-wrap:anywhere}.order-timeline.ship-customers li .ship-sms-confirm>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ship-customer-missing{flex:1 1 100%;color:var(--text-3);font-size:12px}.purchase-line.expense-line.with-tax{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 120px 76px 36px}.purchase-line.expense-line.bill-line{grid-template-columns:minmax(0,1.5fr) 68px 104px minmax(0,1fr) 68px 36px}.purchase-line.expense-line.po-line{grid-template-columns:minmax(0,1fr) 72px 104px 84px 68px 36px 36px}.purchase-line.expense-line.po-line-more{grid-template-columns:repeat(4,minmax(0,1fr))}.po-line-more small{grid-column:1 / -1}.purchase-lines>.sm-btn{margin-top:2px}.form-grid .form-subhead{grid-column:1 / -1;margin:6px 0 -4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}@media(max-width:640px){.purchase-line.expense-line,.purchase-line.expense-line.with-tax,.purchase-line.expense-line.bill-line,.purchase-line.expense-line.po-line,.purchase-line.expense-line.po-line-more{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.purchase-line.expense-line .pl-product,.purchase-line.expense-line .pl-cat{grid-column:1 / -1}}.purchase-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.purchase-total span{font-size:13px;color:var(--text-2)}.purchase-total strong{font-size:16px;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums}@media(max-width:640px){.purchase-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.purchase-line input{width:100%;min-width:0}.purchase-line .pl-product{grid-column:1 / -1}.purchase-line .pl-sub{text-align:left}.purchase-line .pl-del{justify-self:end}}.sel-col{width:38px;text-align:center;padding-left:14px!important;padding-right:0!important}.checkbox{display:inline-grid;place-items:center;cursor:pointer;position:relative;width:17px;height:17px}.checkbox input{position:absolute;opacity:0;width:17px;height:17px;margin:0;cursor:pointer}.checkbox span{width:17px;height:17px;border:1.5px solid var(--border-2);border-radius:5px;background:var(--surface);transition:all .12s}.checkbox input:checked+span{background:var(--brand);border-color:var(--brand);box-shadow:inset 0 0 0 2px var(--surface)}.checkbox input:indeterminate+span{background:var(--brand);border-color:var(--brand);box-shadow:inset 0 0 0 4px var(--surface)}tr.row-selected td{background:var(--brand-soft)}.bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;margin:-4px 0 12px;background:var(--brand-soft);border:1px solid var(--brand);border-radius:var(--radius-2)}.bulk-count{font-size:13px;color:var(--brand-strong)}.bulk-count b{font-weight:800}.bulk-actions{display:flex;gap:8px}.bulk-actions .quiet{height:36px;padding:0 13px;font-size:12.5px;background:var(--surface)}.bulk-actions .quiet.danger{color:var(--a-rose)}.bulk-actions .quiet svg{width:16px}.bulk-bar{flex-wrap:wrap;position:sticky;top:74px;z-index:6;box-shadow:var(--shadow-sm);background:linear-gradient(var(--brand-soft),var(--brand-soft)),var(--surface)}.bulk-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bulk-all:disabled{cursor:progress;opacity:.7}.bulk-all{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--brand-strong);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline}.bulk-all svg{width:14px}.bulk-actions{flex-wrap:wrap}.bulk-actions .quiet.danger:hover{background:var(--a-rose-bg)}@media(max-width:720px){.bulk-bar{position:static}.bulk-actions{width:100%}.bulk-actions .quiet{flex:1 1 auto}}.row-actions button.on{background:var(--surface-2);color:var(--brand)}.row-lock{width:32px;height:32px;display:grid;place-items:center;color:var(--text-3);cursor:help}.row-lock svg{width:14px}.row-menu-pop{position:fixed;z-index:90;min-width:200px;max-width:min(300px,calc(100vw - 16px));padding:6px;background:var(--surface);border:1px solid var(--border-2);border-radius:var(--radius-2);box-shadow:0 12px 32px #071f422e;display:grid;gap:2px}.row-menu-pop button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:var(--text);font-size:13px;font-weight:600;text-align:left;cursor:pointer}.row-menu-pop button svg{width:16px;color:var(--text-3);flex:none}.row-menu-pop button:hover,.row-menu-pop button:focus-visible{background:var(--surface-2);color:var(--brand-strong);outline:none}.row-menu-pop button:hover svg{color:var(--brand)}.row-menu-pop button.danger{color:var(--chip-danger)}.row-menu-pop button.danger svg{color:var(--chip-danger)}.row-menu-pop button.danger:hover{background:var(--a-rose-bg)}.bulk-dialog-body,.bulk-result-body{padding:4px 20px 0;display:grid;gap:10px}.bulk-dialog-body p{margin:0;font-size:13.5px;color:var(--text-2)}.bulk-dialog-body .form-hint{font-size:12.5px;color:var(--text-3)}.bulk-dialog .form-grid{padding-top:14px}.bulk-dialog .modal-actions .btn-danger{display:inline-flex;align-items:center;gap:8px;padding:0 16px;height:42px;border-radius:8px}.bulk-dialog .modal-actions .btn-danger svg{width:16px}.bulk-ok,.bulk-skip-head{display:flex;align-items:center;gap:8px;margin:0;font-size:13.5px;font-weight:600}.bulk-ok{color:var(--chip-ok)}.bulk-skip-head{color:var(--text)}.bulk-ok svg,.bulk-skip-head svg{width:16px;flex:none}.bulk-skips{list-style:none;margin:0;padding:0;display:grid;gap:8px;max-height:46vh;overflow:auto}.bulk-skips li{padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-3);background:var(--surface-2);font-size:13px;color:var(--text);display:grid;gap:4px}.bulk-skips li small{color:var(--text-3);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.form-grid .field-hint{font-size:11.5px;font-weight:500;text-transform:none;letter-spacing:0;color:var(--text-3)}.form-grid label>.link{justify-self:start;border:0;background:none;color:var(--brand);font-size:11.5px;font-weight:600;text-transform:none;letter-spacing:0;cursor:pointer;padding:0}.modal-head .modal-sub{display:block;margin-top:2px;color:var(--text-3);font-size:12.5px}.pos-pick{margin-bottom:9px}.pos-pick .ref-trigger{background:var(--surface-2)}.item-source-link{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:11px;font-weight:600;color:var(--brand-strong);text-decoration:none}.item-source-link svg{width:14px;height:14px}.item-source-link:hover{text-decoration:underline}.primary,.quiet,.icon,.pager-btn,.choice,.tabs button,.card-add,button.sm,.wide-toggle,.back-link,.pd-share{transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,filter .15s ease,transform .08s ease}.primary:hover{filter:brightness(1.06)}.quiet:hover{border-color:var(--border-2);background:var(--surface-2)}.icon:hover{background:var(--surface-2);color:var(--text)}.primary:active,.quiet:active,.icon:active,button.sm:active,.pager-btn:active,.choice:active{transform:translateY(1px) scale(.985)}.mini-kpi,.role-card,.queue-item,.order-row,.rvm-card,.report-card,.je{transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.queue-item:hover,.order-row:hover,.rvm-card:hover,.je:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}@keyframes row-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}.data-table tbody tr,.module-kpis .mini-kpi,.rvm-list .rvm-card,.cw-groups .cw-order,.exec-kpis .mini-kpi{animation:row-in .34s ease both}.data-table tbody tr:nth-child(2){animation-delay:.03s}.data-table tbody tr:nth-child(3){animation-delay:.06s}.data-table tbody tr:nth-child(4){animation-delay:.09s}.data-table tbody tr:nth-child(5){animation-delay:.12s}.data-table tbody tr:nth-child(6){animation-delay:.15s}.data-table tbody tr:nth-child(7){animation-delay:.18s}.data-table tbody tr:nth-child(8){animation-delay:.21s}.module-kpis .mini-kpi:nth-child(2){animation-delay:.05s}.module-kpis .mini-kpi:nth-child(3){animation-delay:.1s}.module-kpis .mini-kpi:nth-child(4){animation-delay:.15s}.module-kpis .mini-kpi:nth-child(5){animation-delay:.2s}@keyframes shimmer{to{background-position:-200% 0}}.skeleton{background:linear-gradient(90deg,var(--surface-2) 25%,var(--border) 37%,var(--surface-2) 63%);background-size:200% 100%;animation:shimmer 1.4s ease infinite;border-radius:8px;color:transparent!important}.skeleton-row{height:14px;margin:8px 0}.skeleton-cell{display:inline-block;height:12px;border-radius:6px}.skeleton-table td{padding-top:14px;padding-bottom:14px}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}.status,.perm-chip,.rv-chip,.exec-q-count{transition:background .15s ease,color .15s ease}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.pos-cats{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.pos-cats button{height:30px;padding:0 12px;border-radius:var(--pill);border:1px solid var(--border-2);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:600;cursor:pointer}.pos-cats button.active{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-strong)}.pos-cart-tools{display:flex;gap:6px}.pos-split-toggle{align-self:flex-start;margin-top:2px}.pos-tenders{display:grid;gap:8px;padding:10px;border:1px solid var(--border-2);border-radius:var(--radius-2);background:var(--surface-2)}.pos-tenders-head{display:flex;align-items:center;justify-content:space-between;font-size:12.5px}.pos-tender{display:grid;grid-template-columns:110px 1fr 30px;gap:6px;align-items:center}.pos-tender select{height:34px;border-radius:var(--radius-3);border:1px solid var(--border-2);background:var(--surface);color:var(--text);padding:0 8px;font-size:12.5px}.pos-tender input{height:34px;border-radius:var(--radius-3);border:1px solid var(--border-2);background:var(--surface);color:var(--text);text-align:right;padding:0 10px;font-variant-numeric:tabular-nums}.pos-tender-account{grid-column:1 / -1}.pos-tenders-foot{display:flex;align-items:center;justify-content:space-between;font-size:12px}.pos-tenders-foot .ok{color:var(--a-green);font-weight:700}.pos-tenders-foot .off{color:var(--a-amber);font-weight:700}.pos-cash-row{display:grid;gap:6px}.pos-cash-row label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--text-2);font-weight:600}.pos-cash-row input{width:140px;height:34px;border-radius:var(--radius-3);border:1px solid var(--border-2);background:var(--surface);color:var(--text);text-align:right;padding:0 10px;font-variant-numeric:tabular-nums}.pos-change{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:var(--radius-3);background:var(--a-green-bg);color:var(--chip-ok);font-size:13px;font-weight:700}.pos-change.short{background:var(--a-amber-bg);color:var(--chip-warn)}.pos-change-note{font-size:12.5px;color:var(--text-2)}.pos-chip.held{cursor:pointer;border-color:var(--a-amber);color:var(--chip-warn);background:var(--a-amber-bg)}.pos-chip.held svg{color:var(--a-amber)}.pos-held-panel{margin:0 22px 10px;border:1px solid var(--border-2);border-radius:var(--radius-2);padding:8px;display:grid;gap:6px;background:var(--surface)}.pos-held-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:var(--radius-3);background:var(--surface-2)}.pos-held-row small{display:block;color:var(--text-3);font-size:11.5px}.pos-held-actions{display:flex;gap:6px;align-items:center}.reject-reason{width:100%;display:grid;gap:8px}.reject-reason textarea{width:100%;border-radius:var(--radius-3);border:1px solid var(--border-2);background:var(--surface);color:var(--text);min-height:54px;padding:8px 10px}.reject-reason-actions{display:flex;gap:8px;justify-content:flex-end}.pos-below-cost{display:inline-flex;align-items:center;gap:5px;margin-top:4px;font-size:11px;font-weight:700;color:var(--a-rose)}.pos-below-cost svg{width:14px;height:14px}.product-movements{margin:6px 0 10px;display:grid;gap:8px;justify-items:start}.je-line-row{display:grid;grid-template-columns:1fr 110px 110px 1fr 34px;gap:6px;align-items:center;margin-bottom:6px}.je-line-row input{height:36px;border-radius:var(--radius-3);border:1px solid var(--border-2);background:var(--surface);color:var(--text);padding:0 10px}.je-balanced{color:var(--a-green)}.je-off{color:var(--a-amber)}.audit-row.has-diff{cursor:pointer}.audit-range{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-2)}.audit-diff{margin-top:8px;display:grid;gap:4px;background:var(--surface-2);border-radius:var(--radius-3);padding:8px 10px}.audit-diff-row{display:flex;align-items:center;gap:8px;font-size:12px;flex-wrap:wrap}.audit-diff-row b{min-width:120px;text-transform:capitalize}.audit-diff-row .old{color:var(--a-rose);text-decoration:line-through}.audit-diff-row .new{color:var(--a-green);font-weight:600}.audit-diff-row svg{width:14px;height:14px;color:var(--text-3)}.role-card-tools{display:flex;gap:4px}:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.data-table th.th-sort:focus-visible,.row-actions button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.expense-cats td{vertical-align:middle}.expense-cats tr.off td{opacity:.55}.expense-cats .cat-actions{display:flex;gap:6px;justify-content:flex-end;align-items:center;white-space:nowrap}.expense-cats .cat-actions .icon{width:32px;height:32px}.expense-cats .muted-line,.inv-items .muted-line{display:block;font-size:11px;color:var(--text-3);margin-top:2px}.expense-cats .pill{display:inline-block;font-size:10.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--surface-2, var(--surface));color:var(--text-2);border:1px solid var(--border-2)}.expense-cats .pill.ok{color:var(--a-green, #16a34a);border-color:color-mix(in srgb,var(--a-green, #16a34a) 40%,transparent)}.expense-cats .expand-row>td{background:var(--surface-2, var(--surface));padding:10px 14px}.pos-field-label{display:block;font-size:11px;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.04em;margin:4px 0 6px}.pos-accounts button{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-align:center}.pos-accounts button svg{width:16px;height:16px;flex:none}.pos-deliver-toggle{display:flex;align-items:center;gap:8px;margin:10px 0 6px;font-size:12.5px;font-weight:600;color:var(--text-2);cursor:pointer}.pos-deliver-toggle svg{width:16px;height:16px;color:var(--brand)}.pos-deliver-toggle small{display:block;font-weight:500;color:var(--text-3)}.pos-deliver{display:grid;gap:10px;margin-bottom:4px;padding:10px;border:1px solid var(--border-2);border-radius:var(--radius-2);background:var(--surface-2)}.pos-deliver input,.pos-deliver select{width:100%;min-width:0;height:36px;border:1px solid var(--border-2);border-radius:var(--radius-3);padding:0 10px;background:var(--surface);color:var(--text);font-size:13px}.pos-deliver input:focus,.pos-deliver select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.pos-deliver input[aria-invalid]{border-color:var(--a-rose)}.pos-deliver-origin{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-2)}.pos-deliver-origin svg{width:16px;height:16px;color:var(--brand);flex-shrink:0}.pos-deliver-origin strong{color:var(--text)}.pos-deliver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-deliver-field{display:grid;gap:4px;min-width:0}.pos-deliver-field.wide{grid-column:1 / -1}.pos-deliver-field>span{font-size:10.5px;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.04em}.pos-deliver-field .field-error{font-size:11px;color:var(--a-rose)}.pos-deliver-field .muted-note{margin:0;display:flex;align-items:center;gap:6px}.pos-deliver-field .muted-note svg{width:14px;height:14px}.pos-deliver-save{display:grid;gap:6px}.pos-deliver-save label{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--text-2);cursor:pointer}.pos-deliver-save label input{width:auto;height:auto}@media(max-width:380px){.pos-deliver-grid{grid-template-columns:1fr}}.pos-deliver-field .field-hint{margin-top:0;font-size:11px;color:var(--text-3)}.map-pin-row{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.map-pin-row input{flex:1 1 170px;min-width:0}.map-pin-row button{flex-shrink:0;white-space:nowrap}.map-pin-set{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12.5px;color:var(--text-2)}.map-pin-set>svg{width:16px;height:16px;color:var(--brand)}.map-pin-set b{font-variant-numeric:tabular-nums;color:var(--text)}.map-link{display:inline-flex;align-items:center;gap:4px;color:var(--brand-strong);font-weight:600;text-decoration:none;overflow-wrap:anywhere}.map-link:hover{text-decoration:underline}.map-link svg{width:14px;height:14px;flex-shrink:0}.delivery-modal .modal-body-scroll{padding:16px 20px 4px;display:grid;gap:12px}.delivery-modal .modal-body-scroll .form-grid{padding:0;margin-top:0!important}.delivery-modal .modal-body-scroll .stage-summary,.delivery-modal .modal-body-scroll .muted-note{margin:0}.delivery-modal .workflow-error{margin-top:12px}.delivery-card{display:grid;gap:4px}.order-grid>.delivery-card{grid-column:1 / -1}.delivery-card .inv-totals{width:100%;margin-left:0;gap:6px}.delivery-card .inv-totals div{justify-content:flex-start;gap:12px}.delivery-card .inv-totals div>span{flex:0 0 132px;color:var(--text-3)}.delivery-card .inv-totals div>b{flex:1;min-width:0;overflow-wrap:anywhere}@media(max-width:520px){.delivery-card .inv-totals div>span{flex-basis:96px}}.plain-fieldset{border:0;margin:0;padding:0;min-width:0}.delivery-modal strong,.delivery-card .pos-deliver-origin strong{text-transform:none;font-size:inherit}.mini-legend{padding:0;margin-bottom:8px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.delivery-card .map-link{margin-top:2px;font-size:12px}.delivery-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.address-book{display:grid;gap:8px}.address-row{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:start;padding:10px 12px;border:1px solid var(--border-2);border-radius:var(--radius-2);background:var(--surface)}.address-row strong{font-size:13px;color:var(--text)}.address-row small{display:block;color:var(--text-3);font-size:12px}.address-row .row-actions{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}@media(max-width:520px){.map-pin-row{flex-direction:column}.address-row{grid-template-columns:1fr}.address-row .row-actions{justify-content:flex-start}}.pos-change-note svg{width:14px;height:14px;vertical-align:-2px}.sale-pay-list{display:grid;gap:6px;margin-top:8px}.sale-pay-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;padding:9px 11px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);text-align:left;cursor:pointer;color:inherit;font:inherit}.sale-pay-row:hover{border-color:var(--brand)}.sale-pay-row strong{display:block;font-size:13px}.sale-pay-row small{display:block;font-size:11px;color:var(--text-3)}.sale-pay-row b{font-variant-numeric:tabular-nums}@media(max-width:560px){.sale-pay-row{grid-template-columns:minmax(0,1fr) auto}.sale-pay-row b{grid-column:1 / -1}}.order-pay.bad{border-color:var(--chip-danger)}.order-pay.bad svg,.order-pay.bad strong{color:var(--chip-danger)}.order-pay.warn{border-color:var(--chip-warn)}.order-pay.warn svg,.order-pay.warn strong{color:var(--chip-warn)}button.linked-rec{width:100%;text-align:left;border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;padding:0}button.linked-rec:hover strong{color:var(--brand)}.order-timeline li.done>.dot{background:var(--brand);border-color:var(--brand)}.profile{grid-template-columns:minmax(0,1fr) auto}.profile-open{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:center;min-width:0;border:0;background:transparent;padding:4px;border-radius:12px;text-align:left;font:inherit;color:inherit;cursor:pointer}.profile-open:hover,.profile-open:focus-visible{background:var(--surface-2)}.profile-open>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--brand);color:#fff;font-weight:700;font-size:13px}.profile-open>div{display:grid;gap:3px;min-width:0}.profile-drawer{width:min(640px,100%)}.pf-body{overflow:auto;padding:18px 20px 24px;display:grid;gap:14px;align-content:start}.pf-hero{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.pf-avatar{width:64px;height:64px;border-radius:18px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px;overflow:hidden;flex:none}.pf-avatar img{width:100%;height:100%;object-fit:cover}.pf-who{display:grid;gap:5px;min-width:0;flex:1}.pf-who strong{font-size:16px}.pf-who small{color:var(--text-3);font-size:12px}.pf-tabs{border-bottom:1px solid var(--border);padding-bottom:8px}.pf-section{display:grid;gap:12px}.pf-section .settings-section{margin-bottom:0}.pf-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pf-grid label{display:grid;gap:6px;color:var(--text-2);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.pf-grid input{height:42px;border:1px solid var(--border-2);border-radius:11px;padding:0 12px;font-size:14px;background:var(--surface);color:var(--text);outline-color:var(--brand);text-transform:none;letter-spacing:0;font-weight:500}.pf-grid .wide{grid-column:1 / -1}.pf-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.pf-actions.start{justify-content:flex-start}.pf-facts{margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.pf-facts div{border:1px solid var(--border);border-radius:12px;padding:10px 12px;display:grid;gap:4px;min-width:0}.pf-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.pf-facts dd{margin:0;font-size:13px;font-weight:600;color:var(--text);overflow-wrap:anywhere}.pf-note{margin:0;color:var(--text-3);font-size:12.5px;line-height:1.55}.pf-h{margin:6px 0 0;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.pf-tfa{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pf-tfa>div{display:grid;gap:3px;flex:1;min-width:180px}.pf-tfa small{color:var(--text-3);font-size:12px}.pf-tfa-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--a-amber-bg);color:var(--chip-warn);flex:none}.pf-tfa-ic.on{background:var(--a-green-bg);color:var(--chip-ok)}.pf-tfa-ic svg{width:18px}.pf-danger{height:40px;padding:0 14px;border-radius:10px}.pf-list{display:grid;border:1px solid var(--border);border-radius:13px;overflow:hidden}.pf-row{display:flex;align-items:center;gap:12px;padding:11px 14px;border-bottom:1px solid var(--border)}.pf-row:last-child{border-bottom:0}.pf-row-ic{width:32px;height:32px;border-radius:10px;background:var(--surface-2);color:var(--text-2);display:grid;place-items:center;flex:none}.pf-row-ic svg{width:16px}.pf-row-main{display:grid;gap:3px;min-width:0;flex:1}.pf-row-main strong{font-size:13px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.pf-row-main small{color:var(--text-3);font-size:11.5px}.pf-menu,.pf-perm-group{display:grid;gap:8px}.pf-menu>div{display:grid;gap:6px}.pf-menu>div>span,.pf-perm-group>span{font-size:11px;font-weight:700;color:var(--text-2)}.pf-perm-group ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}.pf-perm-group li{display:grid;gap:2px;border-left:3px solid var(--brand-soft);padding:2px 0 2px 10px}.pf-perm-group li strong{font-size:12.5px}.pf-perm-group li small{color:var(--text-3);font-size:11.5px}.ac-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px 18px 0}.ac-filters .sel{width:190px}.ac-hint{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--chip-warn);background:var(--a-amber-bg);padding:6px 10px;border-radius:9px}.ac-hint svg{width:14px}.ac-row{cursor:pointer}.ac-row:hover td{background:var(--surface-2)}.ac-editor{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}.ac-main{min-width:0}.ac-temp{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--a-green);background:var(--a-green-bg);color:var(--text);border-radius:13px;padding:12px 14px;margin-bottom:14px}.ac-temp>svg{width:18px;color:var(--chip-ok)}.ac-temp>div{display:grid;gap:2px;flex:1;min-width:200px}.ac-temp small{color:var(--text-2);font-size:12px}.ac-temp code{font-size:16px;font-weight:800;letter-spacing:.06em;background:var(--surface);border:1px dashed var(--border-2);padding:6px 10px;border-radius:9px}.menu-preview{position:sticky;top:12px;border:1px solid var(--border);border-radius:14px;padding:14px;background:var(--surface-2);display:grid;gap:10px;max-height:calc(100vh - 140px);overflow:auto}.menu-preview h4{margin:0;display:flex;align-items:center;gap:7px;font-size:13px}.menu-preview h4 svg{width:16px;color:var(--brand)}.menu-preview p{margin:0;font-size:11.5px;color:var(--text-3)}.mp-group{display:grid;gap:5px}.mp-group>span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--text-3)}.mp-item{display:grid;gap:2px;padding:6px 9px;border-radius:9px;background:var(--surface);border:1px solid var(--border)}.mp-item strong{font-size:12.5px}.mp-item small{font-size:11px;color:var(--text-3)}.pm{display:grid;gap:12px}.pm-search{display:flex;align-items:center;gap:8px;height:38px;border:1px solid var(--border-2);border-radius:10px;padding:0 10px;background:var(--surface);min-width:220px;flex:1;max-width:420px}.pm-search svg{width:16px;color:var(--text-3)}.pm-search input{border:0;outline:0;background:transparent;flex:1;font:inherit;font-size:13px;color:var(--text);min-width:0;height:auto;padding:0}.pm-group{border:1px solid var(--border);border-radius:13px;overflow:hidden}.pm-group>header{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--surface-2);border-bottom:1px solid var(--border)}.pm-group>header strong{font-size:13px}.pm-group>header em{font-style:normal;font-size:11px;font-weight:700;color:var(--text-3);margin-right:auto}.pm-group>ul{margin:0;padding:0;list-style:none}.pm-group>ul>li{border-bottom:1px solid var(--border);padding:9px 14px;display:grid;gap:6px}.pm-group>ul>li:last-child{border-bottom:0}.pm-group>ul>li.on{background:color-mix(in srgb,var(--brand-soft) 45%,transparent)}.pm-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;align-items:start;cursor:pointer;text-transform:none;letter-spacing:0;font-weight:400;color:var(--text)}.pm-row input{margin-top:3px;width:16px;height:16px;accent-color:var(--brand)}.pm-text{display:grid;gap:2px;min-width:0}.pm-text strong{font-size:13px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.pm-text small{color:var(--text-3);font-size:12px;line-height:1.45}.pm-code{font-size:10.5px;color:var(--text-3);background:var(--surface-2);border-radius:6px;padding:2px 6px;align-self:start}.pm-opens{justify-self:start;display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--brand-strong);font:inherit;font-size:11.5px;font-weight:600;cursor:pointer;padding:0 0 0 28px}.pm-opens svg{width:14px}.pm-opens svg.up{transform:rotate(180deg)}.pm-screens{margin:0 0 0 28px;padding:0 0 0 16px;font-size:12px;color:var(--text-2);display:grid;gap:3px}@media(max-width:980px){.ac-editor{grid-template-columns:1fr}.menu-preview{position:static;max-height:none}}@media(max-width:640px){.pf-grid{grid-template-columns:1fr}.pm-code{display:none}.pm-row{grid-template-columns:18px minmax(0,1fr)}.ac-filters{padding:12px 12px 0}}.record-drawer .pf-facts{margin:0;overflow:visible;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.record-drawer .pf-facts dd{text-transform:none}.proof-picker{display:grid;gap:8px;justify-items:start}.proof-picker .inv-label{margin:0}.proof-list{list-style:none;margin:0;padding:0;display:grid;gap:6px;width:100%}.proof-list li{display:grid;grid-template-columns:16px minmax(0,1fr) auto 28px;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;padding:6px 8px;background:var(--surface-2);font-size:12px}.proof-list li>svg{width:14px;color:var(--text-3)}.proof-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.proof-list li small{color:var(--text-3);font-size:11px}.proof-list li .icon{width:28px;height:28px}.proof-picker .field-hint.warn{color:var(--a-amber)}.order-doc .contract-note{margin:0 0 12px}.form-grid>.inv-totals.wide{width:100%;margin:0;border:1px solid var(--border);border-radius:12px;padding:12px 14px;background:var(--surface-2)}.workflow-modal>.order-pay{margin:0 20px 12px}.order-doc .muted-note svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}.covered-panel{display:grid;gap:10px}.pending-pays{list-style:none;margin:0;padding:0;display:grid;gap:8px}.pending-pay{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid var(--border);border-radius:12px;padding:10px 12px;background:var(--surface)}.pending-pay>div{display:grid;gap:2px;min-width:0;flex:1 1 220px}.pending-pay strong{font-size:12.5px}.pending-pay small{font-size:11.5px;color:var(--text-3);overflow-wrap:anywhere}.pending-pay-actions{display:flex;gap:6px;flex-wrap:wrap}.check-row{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px;font-size:12.5px;font-weight:600;color:var(--text-2);text-transform:none!important;letter-spacing:0!important;cursor:pointer}.check-row input{width:16px!important;height:16px!important;min-height:0!important;padding:0!important;margin:1px 0 0;flex-shrink:0;accent-color:var(--brand)}.acct-pending{display:grid;gap:8px;padding:12px 14px;border:1px dashed var(--a-amber, #d97706);border-radius:13px;margin-bottom:14px}.acct-pending-row{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;flex-wrap:wrap}.acct-pending-row b{font-variant-numeric:tabular-nums}.acct-pending ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.acct-pending li{display:flex;justify-content:space-between;gap:10px;font-size:11.5px;color:var(--text-2);flex-wrap:wrap}.acct-pending .link-btn{background:none;border:0;padding:0;color:var(--brand);font-weight:700;font-size:12px;cursor:pointer;text-align:left}.acct-default{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:var(--chip-ok)}.acct-default svg{width:14px;height:14px}.fin-pending{font-size:11.5px;color:var(--a-amber, #d97706);font-weight:600}.money-field{display:flex;align-items:center;min-height:36px;border:1px solid var(--border-2);border-radius:var(--radius-2);background:var(--surface);overflow:hidden}.money-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.money-field>span{padding:0 8px 0 10px;font-size:12.5px;color:var(--text-3);border-right:1px solid var(--border);align-self:stretch;display:inline-flex;align-items:center}.money-field input,.form-grid .money-field input{border:0!important;box-shadow:none!important;min-height:34px;text-align:right;font-variant-numeric:tabular-nums}.doc-sign{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px}.doc-sign div{display:grid;gap:6px}.doc-sign span{display:block;height:28px;border-bottom:1px solid #1f2d3d}.doc-sign small{font-size:10.5px;color:#5a6b7b}.doc-facts{margin-top:16px}.doc-facts td{font-size:12px}.doc-items.doc-facts td:first-child{color:#33475b}@media print{.doc-sign span{border-bottom-color:#000}}button.fs-row.fs-link{width:100%;border:0;background:transparent;font:inherit;color:inherit;text-align:left;cursor:pointer}button.fs-row.fs-link:hover{background:var(--surface-2)}button.fs-row.fs-link:hover span{color:var(--brand);text-decoration:underline}.product-field{display:grid;gap:3px;min-width:0}.product-input{display:flex;align-items:center;border:1px solid var(--border-2);border-radius:var(--radius-2, 8px);background:var(--surface)}.product-input:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.product-input input{flex:1;min-width:0;border:0!important;box-shadow:none!important;background:transparent}.product-input .icon{flex:none;width:28px;height:28px}.product-input.linked{border-color:var(--brand)}.product-tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--text-3);min-height:14px;font-weight:400;text-transform:none;letter-spacing:0}.product-tag svg{width:14px;height:14px}.pl-product .pl-sell{margin-top:4px;width:100%}.po-line-block{display:grid;gap:4px}.po-line-more{padding-left:12px;border-left:2px solid var(--border-2)}td.cell-products{white-space:normal;min-width:180px;max-width:320px;line-height:1.35;overflow-wrap:anywhere}.order-drawer .purchase-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.inv-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.inv-label-row .inv-label{margin-top:0}.empty-inline{display:flex;align-items:center;gap:8px;padding:12px 14px;border:1px dashed var(--border-2);border-radius:10px;color:var(--text-2);font-size:13px}.empty-inline svg{width:16px;height:16px;flex:none}.paid-now{border:1px solid var(--border-2);border-radius:10px;padding:10px 12px 12px;margin-top:4px}.paid-now>legend{padding:0 6px;font-size:12px;color:var(--text-2)}.paid-now-owed{display:flex;flex-direction:column;justify-content:center;gap:2px;font-size:12px;color:var(--text-2)}.paid-now-owed strong{font-size:15px;color:var(--text)}.list-filterbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding:10px 16px;border-bottom:1px solid var(--border);background:var(--surface)}.drb{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.drb-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.drb-label svg{width:14px;height:14px}.drb-fixed{font-size:12.5px;font-weight:600;color:var(--text-2);padding:0 2px}.drb .sel-trigger,.drb .dp-trigger{height:36px;padding:0 10px;font-size:12.5px;border-radius:10px}.drb-field{width:168px}.drb-preset{width:150px}.drb-dates{display:flex;align-items:center;gap:6px}.drb-dates .dp{width:152px}.drb-to{font-size:12px;color:var(--text-3)}.filter-chips{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-left:auto}.filter-chip{display:inline-flex;align-items:center;gap:6px;max-width:320px;height:30px;padding:0 4px 0 11px;border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-size:12px;font-weight:600}.filter-chip em{font-style:normal;font-weight:500;color:var(--text-2)}.filter-chip em:after{content:":"}.filter-chip button{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.filter-chip button:hover{background:#0a92c829}.filter-chip button svg{width:14px;height:14px}.filter-chips-clear{border:0;background:none;color:var(--brand);font-size:12px;font-weight:600;cursor:pointer;padding:0 4px}.filter-empty{margin:0;font-size:12.5px;color:var(--text-3)}.filter-more{font-size:11px;color:var(--text-3)}.filter-pop-foot span b{color:var(--text)}.export-wrap{position:relative}.export-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:41;width:min(330px,calc(100vw - 24px));background:var(--surface);border:1px solid var(--border-2);border-radius:14px;box-shadow:var(--shadow-pop);padding:6px}.export-pop-head{display:flex;flex-direction:column;gap:2px;padding:10px 10px 8px}.export-pop-head strong{font-size:14px}.export-pop-head span{font-size:12px;color:var(--text-3)}.export-scope{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:2px 6px 8px}.export-scope button{height:34px;border:1px solid var(--border-2);border-radius:9px;background:var(--surface-2);color:var(--text-2);font-size:12px;font-weight:600;cursor:pointer}.export-scope button.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.export-formats{display:grid;gap:2px;border-top:1px solid var(--border);padding-top:6px}.export-formats button{display:flex;align-items:center;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer;color:var(--text)}.export-formats button:hover:not(:disabled){background:var(--surface-2)}.export-formats button:disabled{opacity:.55;cursor:default}.ef-ic{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;background:var(--brand-soft);color:var(--brand-strong)}.ef-ic svg{width:16px;height:16px}.ef-text{display:flex;flex-direction:column;gap:1px;min-width:0}.ef-text b{font-size:13px}.ef-text small{font-size:11.5px;color:var(--text-3)}@media(max-width:720px){.list-filterbar{padding:10px 12px}.drb{width:100%}.drb-field,.drb-preset{flex:1 1 140px;width:auto}.drb-dates{width:100%}.drb-dates .dp{flex:1;width:auto}.filter-chips{margin-left:0}}.debt-tools-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.panel-export-row{display:flex;justify-content:flex-end;margin:0 0 8px}.drawer-section-head>span{margin-left:auto;margin-right:10px;font-size:12px;color:var(--text-3)}.gl-range .export-wrap .quiet.sm{height:40px}.gl-pager{border-top:0;padding:12px 0 0}@media(max-width:640px){.data-table td.num,.card-table td.num,.inv-items.card-table td.num{text-align:left}.data-table td:not(.sel-col){max-width:none;overflow:visible}.data-table td:last-child,.card-table td:last-child{text-align:left}.card-table td.num>div,.card-table td.num .loan-acts,.card-table td.num .debt-acts{justify-content:flex-start}}.ar-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.ar-kpis .span-all{grid-column:1 / -1}.ar-kpis .span-3{grid-column:span 3}.ar-kpis .span-2{grid-column:span 2}.ar-kpis .mini-kpi strong{white-space:nowrap;font-size:17px}@media(max-width:1100px){.ar-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.ar-kpis .span-all,.ar-kpis .span-3,.ar-kpis .span-2{grid-column:1 / -1}}.web-post-modal{width:min(860px,100%)}.web-head-actions{display:flex;align-items:center;gap:8px}.web-head-actions a.quiet,.web-page-bar a.quiet{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;text-decoration:none}.web-cover{display:grid;gap:10px}.web-cover img{width:100%;aspect-ratio:1200 / 630;object-fit:cover;border-radius:var(--radius-3);border:1px solid var(--border);background:var(--surface-2)}.web-cover-empty{display:flex;align-items:center;gap:10px;padding:18px;border:1px dashed var(--border-2);border-radius:var(--radius-3);color:var(--text-3);font-size:12.5px;text-transform:none;letter-spacing:0;font-weight:500}.web-cover-empty svg{width:18px;height:18px;flex-shrink:0}.web-cover-actions{display:flex;flex-wrap:wrap;gap:8px}.form-grid .web-file{display:inline-flex!important;grid-auto-flow:column;align-items:center;gap:6px;cursor:pointer;text-transform:none;letter-spacing:0;font-size:12.5px;color:var(--text-2)}.form-grid .web-file input{display:none}.web-lang{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.web-lang .quiet.active{border-color:var(--brand);color:var(--brand-strong)}.form-grid .web-hint{margin:-6px 0 0}.web-hint code{font-size:11px;padding:1px 5px;border-radius:4px;background:var(--surface-2);border:1px solid var(--border);color:var(--text-2)}.form-grid textarea.web-body{min-height:260px;line-height:1.6;font-size:14px}.web-preview{border:1px solid var(--border);border-radius:var(--radius-3);padding:20px 22px;background:var(--surface);max-height:520px;overflow:auto}.web-preview h1{margin:0 0 8px;font-size:22px;line-height:1.25}.web-preview-lede{margin:0 0 14px;color:var(--text-2);font-size:14.5px}.article-text{font-size:14px;line-height:1.7;color:var(--text)}.article-text p{margin:0 0 12px}.article-text h2{margin:18px 0 8px;font-size:17px}.article-text h3{margin:14px 0 6px;font-size:15px}.article-text ul,.article-text ol{margin:0 0 12px;padding-left:20px}.article-text li{margin-bottom:4px}.article-text blockquote{margin:0 0 12px;padding:10px 14px;border-left:3px solid var(--brand);background:var(--brand-soft);border-radius:0 var(--radius-3) var(--radius-3) 0}.article-text a{color:var(--brand-strong)}.workflow-options button svg{width:14px;height:14px;vertical-align:-2px;margin-right:5px}.web-kv{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--border);font-size:12.5px}.web-kv:last-of-type{border-bottom:0}.web-kv span{color:var(--text-3)}.web-kv b{font-weight:600;text-align:right;overflow-wrap:anywhere}.web-message{margin:12px 0 0;padding:12px;border-radius:var(--radius-3);background:var(--surface-2);font-size:13px;line-height:1.55;white-space:pre-wrap}.web-page-editor{padding:18px 20px 20px;max-width:860px}.web-page-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.web-page-bar strong{display:block;font-size:15px}.web-page-bar small{color:var(--text-3);font-size:12px}.web-accepting{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin-bottom:14px;border:1px solid var(--border-2);border-radius:var(--radius-3);background:var(--surface-2);cursor:pointer}.web-accepting.on{border-color:var(--a-green);background:var(--a-green-bg)}.web-accepting input{width:16px;height:16px;margin-top:2px;accent-color:var(--brand);flex-shrink:0}.web-accepting b{display:block;font-size:13px}.web-accepting small{color:var(--text-2);font-size:12px}.web-point{display:grid;grid-template-columns:26px 1fr auto;gap:10px;align-items:start}.web-point-no{display:grid;place-items:center;width:26px;height:26px;margin-top:9px;border-radius:50%;background:var(--brand-soft);color:var(--brand-strong);font-size:12px;font-weight:700}.web-point-fields{display:grid;gap:6px}.web-point-tools{display:flex;flex-direction:column;gap:4px}.web-point-tools .icon{width:30px;height:30px}@media(max-width:720px){.web-page-editor{padding:14px 12px 16px}.web-point{grid-template-columns:1fr}.web-point-no{display:none}.web-point-tools{flex-direction:row}}.sms-history tbody tr.row-clickable{cursor:pointer}.broadcast-history .card-table.sms-history{min-width:0;width:100%}.sms-history td{white-space:normal;vertical-align:top}.sms-history td[data-label=Status]{white-space:nowrap}.sms-history td:first-child strong{display:block;line-height:1.35;overflow-wrap:anywhere}.sms-history .sms-to{display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;margin-top:4px;color:var(--text-2);font-size:11.5px;font-weight:600;overflow-wrap:anywhere}.sms-history .sms-to svg{width:14px;height:14px;flex-shrink:0;color:var(--text-3)}.sms-history .sms-by{display:block;color:var(--text-3);font-size:11.5px}.sms-tag{display:inline-block;margin-left:4px;padding:1px 7px;border-radius:var(--pill);background:var(--brand-soft);color:var(--brand-strong);font-size:10.5px;font-weight:700;font-style:normal}.sms-failed{display:block;color:var(--a-rose);font-size:11px;font-weight:600}.sms-count{display:block;margin-top:4px;color:var(--text-3);font-size:11.5px}.sms-history-search{margin-left:auto;min-width:240px}.sms-drawer{width:min(680px,100%)}.sms-section{display:grid;gap:10px}.sms-grid2{grid-template-columns:1fr 1fr;gap:14px}.sms-bubble{padding:14px 16px;border-radius:4px 14px 14px;background:var(--surface-2);border:1px solid var(--border);font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text)}.sms-bubble.small{font-size:12.5px;padding:10px 12px;margin-top:6px}.sms-facts{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--text-3)}.sms-facts span{display:inline-flex;align-items:center;gap:5px}.sms-facts svg{width:14px;height:14px}.sms-person{display:grid;gap:2px;font-size:13px}.sms-person small{color:var(--text-3);font-size:12px;overflow-wrap:anywhere}.sms-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.sms-kpis>div{border:1px solid var(--border);border-radius:var(--radius-3);padding:9px 10px;background:var(--surface);display:grid;gap:3px;min-width:0}.sms-kpis span{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3);font-weight:700}.sms-kpis b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sms-kpis .ok b{color:var(--chip-ok)}.sms-kpis .bad{border-color:var(--a-rose);background:var(--a-rose-bg)}.sms-kpis .bad b{color:var(--a-rose)}.sms-gw summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--text-2)}.sms-gw dl{margin:8px 0 0;display:grid;gap:4px}.sms-gw dl>div{display:flex;gap:10px;font-size:12px}.sms-gw dt{color:var(--text-3);min-width:140px}.sms-gw dd{margin:0;overflow-wrap:anywhere}.sms-rec-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.sms-rec-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sms-search{display:flex;align-items:center;gap:6px;border:1px solid var(--border-2);border-radius:var(--radius-3);padding:0 10px;background:var(--surface-2);height:36px}.sms-search svg{width:14px;height:14px;color:var(--text-3)}.sms-search input{border:0;background:transparent;outline:0;font-size:13px;width:150px;color:var(--text)}.sms-recipients{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:var(--radius-3)}.sms-recipients li{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:start;padding:10px 12px;border-bottom:1px solid var(--border)}.sms-recipients li:last-child{border-bottom:0}.sms-recipients li.failed{background:var(--a-rose-bg)}.sms-rec-main{display:grid;gap:2px;min-width:0;font-size:13px}.sms-rec-main small{color:var(--text-3);font-size:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sms-rec-main small.err{color:var(--a-rose)}.sms-rec-main .link{justify-self:start;font-size:12px;background:none;border:0;padding:0;min-height:0;color:var(--brand-strong);font-weight:600;cursor:pointer}.sms-rec-main .link:hover{text-decoration:underline}.sms-recipients .kind{padding:0 7px;border-radius:var(--pill);background:var(--surface-2);border:1px solid var(--border);font-size:10.5px;font-weight:700;color:var(--text-2)}.sms-recipients .kind-customer{background:var(--brand-soft);color:var(--brand-strong);border-color:transparent}.sms-recipients .kind-staff{background:var(--a-violet-bg);color:var(--a-violet);border-color:transparent}.sms-recipients .kind-supplier{background:var(--a-amber-bg);color:var(--a-amber);border-color:transparent}.sms-recipients .icon{width:30px;height:30px}.sms-quote{display:flex;gap:10px;align-items:flex-start;text-align:left;border:1px solid var(--border);border-left:3px solid var(--brand);border-radius:var(--radius-3);background:var(--surface-2);padding:10px 12px;cursor:pointer;color:var(--text);font-size:13px}.sms-quote svg{width:16px;height:16px;margin-top:2px;color:var(--brand);flex-shrink:0}.sms-quote span{display:grid;gap:2px}.sms-quote small{color:var(--text-3);font-size:11.5px}.sms-replies{list-style:none;margin:0;padding:0;display:grid;gap:6px}.sms-replies button{width:100%;display:flex;justify-content:space-between;gap:10px;align-items:center;text-align:left;border:1px solid var(--border);border-radius:var(--radius-3);background:var(--surface);padding:9px 12px;cursor:pointer;color:var(--text)}.sms-replies button span:first-child{display:grid;gap:2px;font-size:13px;min-width:0}.sms-replies small{color:var(--text-3);font-size:11.5px}.sms-reply{border-top:1px solid var(--border);padding-top:16px}.sms-reply textarea{width:100%;min-height:96px;border:1px solid var(--border-2);border-radius:var(--radius-3);padding:11px 13px;background:var(--surface-2);color:var(--text);font:inherit;font-size:13.5px;resize:vertical}.sms-reply .row{display:flex;justify-content:flex-end}@media(max-width:720px){.sms-grid2{grid-template-columns:1fr}.sms-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sms-history-search{margin-left:0;min-width:0;width:100%}.sms-search input{width:100%}.sms-history .sms-to{max-width:none;white-space:normal;flex-wrap:wrap}}.fs-activity{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:8px 18px 16px}.fs-activity section{display:grid;gap:2px;align-content:start;min-width:0}.fs-activity .fs-row b.warn{color:var(--a-amber)}.fs-note{margin:8px 0 0;font-size:11.5px;line-height:1.5;color:var(--text-3);display:flex;gap:6px;align-items:flex-start}.fs-note svg{width:14px;height:14px;flex-shrink:0;margin-top:1px}.fs-note.warn{color:var(--a-amber);font-weight:600}@media(max-width:1300px){.fs-activity{grid-template-columns:1fr 1fr}}@media(max-width:760px){.fs-activity{grid-template-columns:1fr}}.req-outcome{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.req-outcome strong{font-size:13px;color:var(--text)}.link-quiet{background:none;border:0;padding:0;font-size:12px;color:var(--brand-strong);text-decoration:underline;cursor:pointer}.link-quiet:disabled{opacity:.5;cursor:default}.track-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border:1px solid var(--border-2);border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-size:11.5px;font-weight:700;letter-spacing:.04em;font-variant-numeric:tabular-nums;cursor:pointer}.track-chip svg{width:14px;height:14px}.track-chip:hover{border-color:var(--brand)}.ask-counts{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 10px;font-size:12px;color:var(--text-2)}.ask-counts b{color:var(--text);font-weight:700}.ask-counts .ask-open b{color:var(--amber, #B45309)}.ask-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:6px}.ask-list li{display:flex;align-items:flex-start;gap:10px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.ask-list strong{display:block;font-size:12.5px;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:34ch;text-transform:none}.ask-list small{display:block;font-size:11px;color:var(--text-3);margin-top:1px}.ship-pick-group{border:1px solid var(--border);border-radius:12px;padding:10px 12px;margin-bottom:10px;background:var(--surface-2)}.ship-pick-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}.ship-pick-head strong{font-size:13px;color:var(--text);text-transform:none}.ship-pick-head span{font-size:11.5px;color:var(--text-3)}.ship-pick-head .link-quiet{margin-left:auto}.ship-pick-group .pos-deliver-toggle small{display:block;font-size:11px;color:var(--text-3);margin-top:1px}.ship-pick-group .pos-deliver-toggle span,.inv-items tbody td strong.ship-item-name{text-transform:none}.career-modal{max-width:780px}.career-langbar{display:flex;align-items:center;gap:12px;padding:0 20px 12px;flex-wrap:wrap}.career-langbar small{font-size:11.5px;color:var(--text-3)}.career-langbar .link-quiet{margin-left:auto;display:inline-flex;align-items:center;gap:5px}.career-note{display:flex;align-items:center;gap:8px;margin:10px 20px 0;padding:9px 11px;border-radius:9px;background:var(--brand-soft);color:var(--brand-strong);font-size:11.5px}.career-note svg{width:14px;flex-shrink:0}.career-note.warn{background:var(--a-amber-bg);color:var(--a-amber);font-weight:600}.pipe{list-style:none;display:flex;flex-wrap:wrap;gap:7px 16px;margin:0 0 14px;padding:0}.pipe li{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--text-3)}.pipe .pipe-dot{width:9px;height:9px;border-radius:50%;border:1px solid var(--border-2);background:var(--surface)}.pipe li.done{color:var(--text-2)}.pipe li.done .pipe-dot{background:var(--border-2);border-color:var(--border-2)}.pipe li.at{color:var(--brand-strong);font-weight:700}.pipe li.at .pipe-dot{background:var(--brand);border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.career-cv{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:14px}.career-cv small{font-size:11.5px;color:var(--text-3)}.career-move-note{width:100%;margin-top:8px;height:36px;border:1px solid var(--border);border-radius:8px;padding:0 11px;font-size:12.5px;background:var(--surface);color:var(--text)}.career-rating{padding:14px 0 0}.career-stars{display:flex;align-items:center;gap:4px;margin-top:6px}.career-stars button{width:30px;height:30px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer;color:var(--border-2);border-radius:7px}.career-stars button:hover{background:var(--surface-2)}.career-stars button svg{width:16px}.career-stars button.on{color:var(--a-amber)}.career-stars button.on svg{fill:currentColor}.career-stars small{margin-left:6px;font-size:11.5px;color:var(--text-3)}.dyn-btn{position:relative;overflow:hidden;white-space:nowrap;transition:width .26s cubic-bezier(.2,.8,.2,1),background .15s,box-shadow .15s,transform .05s}.dyn-measure{position:absolute;top:0;left:0;visibility:hidden;pointer-events:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.dyn-content{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.dyn-content.out{position:absolute;inset:0;animation:dyn-out .18s cubic-bezier(.23,1,.32,1) forwards}.dyn-content.in{animation:dyn-in .2s cubic-bezier(.23,1,.32,1)}@keyframes dyn-out{to{opacity:0;transform:translateY(-8px)}}@keyframes dyn-in{0%{opacity:0;transform:translateY(8px)}}.hold-btn{position:relative;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.hold-fill{position:absolute;inset:0;transform-origin:left;transform:scaleX(var(--hold, 0));background:#ffffff3d;pointer-events:none}.hold-content{position:relative;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.confirm-hold-hint{font-size:11.5px;color:var(--text-3);margin:-6px 0 14px}.proof-picker .drop-zone{width:100%;border:1.5px dashed var(--border-2);border-radius:10px;padding:10px;display:grid;gap:8px;justify-items:start;transition:transform .18s cubic-bezier(.2,.8,.2,1),border-color .18s,background .18s}.proof-picker .drop-zone.over{border-color:var(--brand);background:var(--brand-soft);transform:translate(var(--lean-x, 0),var(--lean-y, 0)) scale(1.01)}.proof-drop-row{display:flex;align-items:center;gap:10px}.proof-drop-row small{font-size:11px;color:var(--text-3)}.workflow-options button{display:inline-flex;align-items:center;gap:7px}.method-logo{display:inline-flex;align-items:center;gap:3px}.method-logo img{width:26px;height:16px;object-fit:contain;display:block}.sidebar-scroll{position:relative;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 22px),transparent)}.nav-mark{position:absolute;top:0;left:0;border-radius:var(--radius-2);background:var(--brand-soft);transition:transform .3s cubic-bezier(.2,.8,.2,1),width .2s ease,height .2s ease;pointer-events:none;z-index:0}.nav-item,.nav-child,.nav-children{position:relative;z-index:1}.nav-item.active,.nav-child.active{background:transparent}.nav-child.active{border-radius:10px}@media(prefers-reduced-motion:reduce){.nav-mark{transition:none}.nav-item.active,.nav-child.active{background:var(--brand-soft)}}@keyframes toast-in{0%{opacity:0;transform:translateY(12px) scale(.97)}}@keyframes toast-bar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.toast{animation:toast-in .28s cubic-bezier(.2,.8,.25,1);overflow:hidden}.toast:after{content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;background:#ffffff73;transform-origin:left;animation:toast-bar 2.8s linear forwards}.kpi-band .kpi{animation:row-in .4s ease both}.kpi-band .kpi:nth-child(2){animation-delay:.05s}.kpi-band .kpi:nth-child(3){animation-delay:.1s}.kpi-band .kpi:nth-child(4){animation-delay:.15s}.kpi-band .kpi:nth-child(5){animation-delay:.2s}.kpi-band .kpi:nth-child(6){animation-delay:.25s}.theme-toggle button svg{transition:transform .4s cubic-bezier(.2,.8,.2,1)}.theme-toggle button.active svg{transform:rotate(360deg)}.ship-create-products{border-top:1px solid var(--border);padding-top:18px;margin-top:6px;display:grid;gap:12px}.ship-create-products>.muted-note{margin:0}.ship-create-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:0}.ship-create-head strong{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text);text-transform:none}.ship-create-head strong svg{width:15px;height:15px;color:var(--brand)}.ship-create-head span{font-size:12px;color:var(--text-3)}.field-hint{display:block;margin-top:4px;font-size:11.5px;color:var(--text-3);font-weight:500}.muted-note svg{width:14px;height:14px;vertical-align:-3px;margin-right:5px}.form-grid label{min-width:0}.form-grid select{width:100%;max-width:100%;min-width:0;text-overflow:ellipsis}.form-grid .pos-deliver-toggle{display:flex;align-items:flex-start}.form-grid .pos-deliver-toggle input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0;margin:2px 0 0;flex:0 0 auto;accent-color:var(--brand)}.form-grid .pos-deliver-toggle span{display:grid;gap:2px}.pos-fee-pay{display:grid;gap:6px;margin:4px 0 6px;padding:10px 12px;border:1px dashed var(--border-2);border-radius:10px;background:var(--surface-2)}.ship-goods{margin:0}.ship-goods-form{border:1px dashed var(--border-2);border-radius:12px;padding:12px 14px;background:var(--surface-2);display:grid;gap:8px}.ship-goods-form .ship-create-head{margin-bottom:0}.ship-goods-form .ship-create-head .link-quiet{margin-left:auto}.ship-goods-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ship-goods-grid label{display:grid;gap:6px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3);min-width:0}.ship-goods-grid label.wide{grid-column:1 / -1}.ship-goods-form .form-grid label,.ship-goods-form>label.wide{display:grid;gap:6px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.ship-goods-actions{display:flex;justify-content:flex-end}@media(max-width:640px){.ship-goods-grid{grid-template-columns:1fr}}.record-drawer.wide,.record-drawer.wide.order-drawer{width:min(1180px,calc(100vw - 56px))}.drawer-wide-toggle{position:absolute;top:18px;left:-40px;width:34px;height:34px;border-radius:9px 0 0 9px;border:1px solid var(--border);border-right:0;background:var(--surface);color:var(--text-2);display:grid;place-items:center;cursor:pointer;box-shadow:var(--shadow-sm);z-index:2}.drawer-wide-toggle svg{width:16px;height:16px}.drawer-wide-toggle:hover{color:var(--brand)}@media(max-width:900px){.drawer-wide-toggle{display:none}.record-drawer.wide{width:100%}}.record-drawer.wide dl{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.ship-goods-lines{display:grid;gap:6px}.ship-goods-lines-head,.ship-goods-line{display:grid;grid-template-columns:2.2fr .9fr .8fr .7fr 1.2fr 34px;gap:6px;align-items:center}.ship-goods-lines-head span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.ship-goods-line input{min-height:38px;min-width:0;width:100%}.ship-goods-line label{display:grid;gap:4px;min-width:0;margin:0}.ship-goods-line label>span,.ship-goods-line .sgl-num{display:none}.ship-goods-line label>span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.ship-goods-line .sgl-num{grid-column:1 / -1;font-size:11px;font-weight:700;color:var(--text-2)}.product-pop .ref-list{max-height:320px}.product-pop .product-past span{display:grid;gap:1px;white-space:normal}.product-pop .product-past small{font-size:11px;color:var(--text-3);font-weight:400}.ship-goods-lines-foot{display:flex;align-items:center;gap:8px}.ship-goods-lines-foot span{margin-left:auto;font-size:12px;color:var(--text-3)}.ship-goods-paste{display:grid;gap:6px}.ship-goods-paste textarea{min-height:96px;font-family:inherit}@media(max-width:760px){.ship-goods-lines-head{display:none}.ship-goods-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px 0;border-top:1px solid var(--border-2)}.ship-goods-line:first-of-type{border-top:0;padding-top:0}.ship-goods-line label>span,.ship-goods-line .sgl-num{display:block}.ship-goods-line .sgl-product,.ship-goods-line .sgl-track{grid-column:1 / -1}.ship-goods-line .sgl-remove{grid-column:1 / -1;justify-self:end}}.ship-pick{display:grid;gap:14px}.ship-pick-search{position:relative;display:flex;align-items:center}.ship-pick-search>svg{position:absolute;left:14px;width:16px;height:16px;color:var(--text-3);pointer-events:none}.ship-pick-search input{width:100%;min-height:44px;padding:10px 44px 10px 40px;border:1px solid var(--border-2);border-radius:var(--radius-3);background:var(--surface-2);color:var(--text);font-size:13.5px}.ship-pick-search input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);background:var(--surface)}.ship-pick-search input::placeholder{color:var(--text-3)}.ship-pick-search .icon.sm{position:absolute;right:6px}.ship-pick-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px;align-items:end;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.ship-pick-field{display:grid;gap:6px;min-width:0}.ship-pick-field span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.ship-pick-field input,.ship-pick-field select{width:100%;min-height:40px;padding:8px 12px;font-size:13px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);color:var(--text)}.ship-pick-field input:focus,.ship-pick-field select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.ship-pick-bar .ship-pick-check{grid-column:1 / 3;display:inline-flex;align-items:center;gap:9px;min-height:24px;margin:0;font-size:12.5px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--text-2);cursor:pointer}.ship-pick-bar .ship-pick-check input{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--brand);flex:none}.ship-pick-bar .ship-pick-clear{grid-column:3 / 5;justify-self:end;display:inline-flex;align-items:center;gap:4px}.ship-pick-bar .ship-pick-clear svg{width:13px;height:13px}.ship-pick-list{display:grid;gap:10px}.ship-pick-list .ship-pick-group{margin:0;padding:12px 16px 4px;background:var(--surface)}.ship-pick-list .ship-pick-head{margin-bottom:4px;min-height:28px}.ship-pick-list .pos-deliver-toggle{margin:0;padding:10px 0;border-top:1px solid var(--border);align-items:flex-start;gap:10px}.ship-pick-list .pos-deliver-toggle input{width:16px;height:16px;flex:none;margin:2px 0 0;accent-color:var(--brand)}.ship-pick-list .pos-deliver-toggle>span{display:grid;gap:2px;min-width:0;line-height:1.4}.ship-pick-list .pos-deliver-toggle small{line-height:1.4;margin:0}.ship-pick-list .muted-note{margin:0}.ship-pick-who{display:block;font-size:11px;color:var(--text-3);font-weight:500}@media(max-width:640px){.ship-pick-bar{grid-template-columns:1fr 1fr;padding:12px}.ship-pick-bar .ship-pick-check{grid-column:1 / -1}.ship-pick-bar .ship-pick-clear{grid-column:1 / -1;justify-self:start}}.hub{padding:14px 18px 16px;display:grid;gap:12px}.hub-head{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.hub-head strong{display:block;font-size:14px;font-weight:600}.hub-head small{display:block;font-size:12.5px;color:var(--text-3);margin-top:2px}.hub-mine{margin-left:auto;font-size:12px;color:var(--text-2);background:var(--surface-2);border-radius:999px;padding:4px 10px}.hub-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.hub-card{display:grid;gap:2px;justify-items:start;text-align:left;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;min-width:0}.hub-card:hover{background:var(--surface-2)}.hub-card.mine{border-color:var(--border-2)}.hub-card.on{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand);background:var(--brand-soft)}.hub-ic{width:28px;height:28px;border-radius:8px;background:var(--brand-soft);color:var(--brand-strong);display:grid;place-items:center;margin-bottom:4px}.hub-card.on .hub-ic{background:var(--brand);color:#fff}.hub-ic svg{width:15px;height:15px}.hub-name{font-size:12.5px;font-weight:600;color:var(--text-2)}.hub-card b{font-size:22px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}.hub-card small{font-size:11.5px;color:var(--text-3)}.hub-orders{border:1px solid var(--border);border-radius:var(--radius-2);overflow:hidden}.hub-orders-head{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--surface-2);border-bottom:1px solid var(--border);font-size:13px}.hub-orders-head small{color:var(--text-3)}.hub-orders-head .muted-link{margin-left:auto}.hub-orders .desk-empty{padding:14px;margin:0}.hub-table-wrap{overflow:auto}.hub-table{width:100%;border-collapse:collapse;font-size:13px}.hub-table th{text-align:left;font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--text-3);padding:8px 12px;border-bottom:1px solid var(--border);white-space:nowrap}.hub-table td{padding:9px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.hub-table tbody tr:last-child td{border-bottom:0}.hub-table tbody tr:hover td{background:var(--surface-2)}.hub-table .hub-products{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-2)}.hub-table .act{text-align:right;white-space:nowrap}@media(max-width:760px){.hub{padding:12px 14px}.hub-strip{grid-template-columns:repeat(2,1fr)}.hub-table .hub-products{max-width:160px}}.reports-layout{display:grid;grid-template-columns:212px minmax(0,1fr);gap:22px;align-items:start}.reports-nav{position:sticky;top:72px;display:grid;gap:16px}.reports-nav-select{display:none;width:100%}.reports-nav-group{display:grid;gap:2px}.reports-nav-group>span{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3);padding:0 10px 5px}.reports-nav button{display:flex;align-items:center;gap:9px;width:100%;min-height:36px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--text-2);font:inherit;font-size:13px;text-align:left;cursor:pointer}.reports-nav button b{font-weight:500}.reports-nav button svg{width:16px;height:16px;flex:none;color:var(--text-3)}.reports-nav button:hover{background:var(--surface-2);color:var(--text)}.reports-nav button.on{background:var(--brand-soft);color:var(--brand-strong)}.reports-nav button.on b{font-weight:600}.reports-nav button.on svg{color:var(--brand-strong)}.reports-content{min-width:0;display:grid;gap:16px}.reports-content-head h2{margin:0;font-size:18px;font-weight:600;letter-spacing:-.01em}.reports-content-head p{margin:4px 0 0;font-size:13px;color:var(--text-2);max-width:70ch}.reports-content .reports-bar{margin-bottom:0}@media(max-width:960px){.reports-layout{grid-template-columns:1fr;gap:14px}.reports-nav{position:static}.reports-nav-select{display:block}.reports-nav-group{display:none}}.ledger-doc{gap:16px}.ledger-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px}.ledger-toolbar .debt-views{flex-wrap:wrap}.ledger-range{flex:1 1 320px;max-width:460px}.ledger-export{margin-left:auto}.ledger-note,.ledger-kpis{margin:0}.ledger-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px}.ledger-table{margin:0}.ledger-table th,.ledger-table td{padding:10px 12px}.ledger-table th:first-child,.ledger-table td:first-child{padding-left:14px}.ledger-table .ledger-date{white-space:nowrap;color:var(--text-2)}.ledger-table .ledger-desc{display:block;font-weight:500;color:var(--text)}.ledger-table td small{display:block;margin-top:2px;font-size:11.5px;color:var(--text-3);line-height:1.4}.ledger-table .ledger-by{white-space:nowrap;font-size:12.5px;color:var(--text-2)}.ledger-table .ledger-none{color:var(--text-3)}.ledger-table .num b{font-weight:600}.clock-chip{position:relative;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface-2);color:var(--text-2);font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap}.clock-chip:hover{border-color:var(--border-2);color:var(--text)}.clock-chip svg{width:17px;height:17px;color:var(--text-3);flex:none}.clock-chip-text small{margin-left:6px;font-size:11.5px;font-weight:500;opacity:.8}.clock-chip .clock-dot{width:8px;height:8px;border-radius:50%;background:var(--chip-ok);box-shadow:0 0 0 3px color-mix(in oklab,var(--chip-ok) 25%,transparent);flex:none}.clock-chip.in{border-color:var(--chip-ok);background:var(--a-green-bg);color:var(--chip-ok)}.clock-chip.in svg{color:var(--chip-ok)}@media(min-width:721px)and (max-width:1100px){.topbar{gap:12px}.clock-chip-text small{display:none}}@media(max-width:720px){.clock-chip{width:38px;height:38px;padding:0;gap:0;justify-content:center;border-radius:11px;flex:0 0 auto}.clock-chip-text{display:none}.clock-chip .clock-dot{position:absolute;top:5px;right:5px;width:7px;height:7px;box-shadow:0 0 0 2px var(--a-green-bg)}.top-actions>span.branch-chip{display:none}}.clock-modal{width:min(480px,100%)}.clock-body{padding:18px 22px 22px;display:grid;gap:16px}.clock-note{margin:0;display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--text-2)}.clock-note svg{width:16px;height:16px;flex:none;margin-top:2px;color:var(--text-3)}.clock-today{display:grid;gap:10px}.clock-today-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.clock-today .status{text-transform:none}.clock-now{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text-2);font-variant-numeric:tabular-nums}.clock-now svg{width:15px;height:15px;color:var(--text-3)}.clock-events{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.clock-events li{display:inline-flex;align-items:baseline;gap:6px;padding:5px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);font-size:12.5px;color:var(--text);font-variant-numeric:tabular-nums}.clock-events li b{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--chip-ok)}.clock-events li.out b{color:var(--text-3)}.clock-events li small{font-size:11.5px;color:var(--text-3)}.clock-start{display:grid;gap:10px}.clock-big{width:100%;min-height:60px;font-size:15.5px;border-radius:14px}.clock-big svg{width:22px;height:22px}.clock-wide{width:100%;justify-content:center}.clock-hint{margin:2px 0 0;font-size:12.5px;line-height:1.5;color:var(--text-3);text-align:center;text-wrap:pretty}.clock-cam-err{margin:0;display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border:1px solid var(--chip-danger);border-radius:10px;background:var(--a-rose-bg);color:var(--chip-danger);font-size:12.5px;line-height:1.45}.clock-cam-err svg{width:16px;height:16px;flex:none;margin-top:1px}.clock-actions{display:grid;gap:8px}.clock-cam{display:grid;gap:12px}.clock-viewfinder{position:relative;width:min(100%,360px,52dvh);aspect-ratio:1;margin:0 auto;border-radius:16px;overflow:hidden;background:#0b1220}.clock-viewfinder video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.clock-aim{position:absolute;top:50%;left:50%;width:64%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:14px;box-shadow:0 0 0 999px #040c1c73;pointer-events:none}.clock-aim i{position:absolute;width:26px;height:26px;border:3px solid #fff}.clock-aim i:nth-child(1){top:-2px;left:-2px;border-right:0;border-bottom:0;border-top-left-radius:14px}.clock-aim i:nth-child(2){top:-2px;right:-2px;border-left:0;border-bottom:0;border-top-right-radius:14px}.clock-aim i:nth-child(3){bottom:-2px;left:-2px;border-right:0;border-top:0;border-bottom-left-radius:14px}.clock-aim i:nth-child(4){bottom:-2px;right:-2px;border-left:0;border-top:0;border-bottom-right-radius:14px}.clock-aim em{position:absolute;left:8%;right:8%;top:12%;height:2px;border-radius:2px;background:color-mix(in oklab,var(--brand) 70%,#fff);box-shadow:0 0 12px var(--brand);animation:clock-sweep 2.2s ease-in-out infinite alternate}@keyframes clock-sweep{to{top:86%}}@media(prefers-reduced-motion:reduce){.clock-aim em{animation:none;top:50%}}.clock-result{display:grid;gap:8px;justify-items:center;text-align:center;padding:24px 18px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.clock-result>svg{width:42px;height:42px;color:var(--text-3)}.clock-result strong{font-size:18px;line-height:1.35;letter-spacing:-.01em}.clock-result.bad strong{font-size:15px;font-weight:600}.clock-result small{font-size:12.5px;color:var(--text-3)}.clock-result small:empty{display:none}.clock-result .status{text-transform:none}.clock-greet{font-size:13px;font-weight:600;color:var(--text-2)}.clock-result.ok{border-color:var(--chip-ok);background:var(--a-green-bg)}.clock-result.ok>svg{color:var(--chip-ok)}.clock-result.bad{border-color:var(--chip-danger);background:var(--a-rose-bg)}.clock-result.bad>svg{color:var(--chip-danger)}.clock-month{display:grid;gap:8px;border-top:1px solid var(--border);padding-top:14px}.clock-month-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.clock-month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.clock-month-grid div{display:grid;gap:2px;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}.clock-month-grid b{font-size:17px;font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}.clock-month-grid span{font-size:11.5px;color:var(--text-3)}@media(max-width:720px){.clock-body{padding:16px 16px 20px}}.door{min-height:100dvh;background:radial-gradient(1200px 600px at 20% -10%,#15335a,#0b1f3a 55%,#071428);color:#e8eef7;font-family:Inter,system-ui,sans-serif;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;padding:clamp(16px,3vw,36px);gap:clamp(16px,3vw,28px)}.door-head{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap}.door-site{display:flex;align-items:center;gap:16px;min-width:0}.door-mark{width:clamp(44px,6vw,64px);height:clamp(44px,6vw,64px);flex:none;padding:6px;border-radius:16px;background:#fff;object-fit:contain}.door-brand{letter-spacing:.14em;text-transform:uppercase;font-size:12px;font-weight:700;color:#4fd1e8}.door-head h1{margin:4px 0 0;font-size:clamp(24px,4vw,44px);font-weight:700;letter-spacing:-.02em;line-height:1.1}.door-head p{margin:4px 0 0;color:#a9b8cf;font-size:15px}.door-clock{text-align:right}.door-clock strong{display:block;font-size:clamp(40px,7vw,72px);font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1}.door-clock strong small{font-size:.45em;color:#a9b8cf;font-weight:500}.door-clock span{display:block;margin-top:6px;color:#a9b8cf;font-size:15px}.door-card{min-width:0;background:#fff;color:#0b1f3a;border-radius:28px;padding:clamp(18px,3vw,40px);display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(18px,4vw,56px);align-items:center;align-self:center;box-shadow:0 30px 80px #00000059}.door-code{display:grid;gap:12px;justify-items:center;min-width:0}.door-qr{display:block;width:clamp(240px,calc(100dvh - 340px),480px);max-width:100%;height:auto;aspect-ratio:1;border-radius:12px}.door-timer{width:100%;max-width:520px;height:6px;border-radius:6px;background:#e3e9f2;overflow:hidden}.door-timer span{display:block;height:100%;border-radius:6px;background:#16a34a;transition:width 1s linear}.door-refresh{margin:0;font-size:13.5px;color:#6b7a90;text-align:center;font-variant-numeric:tabular-nums}.door-steps h2{margin:0 0 12px;font-size:clamp(24px,3vw,36px);letter-spacing:-.02em;line-height:1.15}.door-steps ol{margin:0;padding-left:22px;font-size:clamp(15px,1.6vw,20px);line-height:1.6;color:#233552}.door-steps li+li{margin-top:4px}.door-rule{margin:16px 0 0;padding:10px 14px;border-radius:12px;background:#f1f5fa;font-size:clamp(14px,1.4vw,18px);color:#233552}.door-err{grid-column:1 / -1;text-align:center;padding:40px 10px}.door-err strong{display:block;font-size:24px;margin-bottom:8px}.door-err p{color:#6b7a90;margin:0}.door-err small{display:block;margin-top:10px;color:#8a97a8}@media(max-width:820px){.door-card{grid-template-columns:minmax(0,1fr);justify-items:stretch}.door-code{width:100%}.door-qr{width:min(100%,62vh,520px)}.door-clock{text-align:left}}@media(max-width:520px){.door{padding:14px;gap:14px}.door-card{border-radius:22px;padding:16px;gap:18px}.door-clock strong{font-size:40px}.door-clock span{font-size:13.5px}.door-steps h2{font-size:22px}}.att{padding:14px 18px 20px;display:grid;gap:14px}.att-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.att-views button{display:inline-flex;align-items:center;gap:7px}.att-views button svg{width:15px;height:15px}.att-bar-actions{margin-left:auto;display:flex;gap:8px}.att-today,.att-sheet,.att-sites{display:grid;gap:14px}.att-datebar{display:flex;align-items:center;gap:10px}.att-date{display:grid}.att-date strong{font-size:15px}.att-date small{color:var(--text-3);font-size:12px}.att-kpis{margin:0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.att-table-wrap{border:1px solid var(--border);border-radius:12px}.att-table td{vertical-align:top}.att-sub{display:block;font-size:11.5px;color:var(--text-3);margin-top:2px;font-weight:400}.att-scans{position:fixed;right:18px;bottom:18px;width:min(440px,calc(100vw - 36px));max-height:60vh;overflow:auto;background:var(--surface);border:1px solid var(--border-2);border-radius:14px;box-shadow:var(--shadow-pop);padding:12px 14px;z-index:30}.att-scans-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.att-scans-head small{color:var(--text-3)}.att-scans-head .icon{margin-left:auto}.att-scans ul{list-style:none;margin:0;padding:0;display:grid}.att-scans li{display:grid;grid-template-columns:52px 1fr;gap:2px 10px;padding:8px 0;border-top:1px solid var(--border);font-size:13px}.att-scans li b{font-variant-numeric:tabular-nums}.att-scans li small{grid-column:2;color:var(--text-3);font-size:11.5px}.att-scans li.bad span{color:var(--chip-danger)}.att-sheet-bar{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.att-pick{display:grid;gap:6px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3);min-width:280px}.att-monthnav{display:flex;align-items:center;gap:8px;margin-left:auto}.att-monthnav strong{min-width:150px;text-align:center}.att-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.att-cal-dow{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3);padding:0 4px 2px}.att-cal-cell{min-height:76px;border:1px solid var(--border);border-radius:10px;padding:6px 8px;display:grid;align-content:start;gap:2px;background:var(--surface);font-size:11.5px;color:var(--text-2)}.att-cal-cell.blank{border:0;background:transparent}.att-cal-cell.off{background:var(--surface-2);color:var(--text-3)}.att-cal-cell.future{opacity:.55}.att-cal-day{font-weight:700;color:var(--text);font-size:12.5px}.att-cal-status{font-weight:600}.att-cal-times,.att-cal-hours{color:var(--text-3);font-variant-numeric:tabular-nums}.att-cal-cell.st-ok{border-color:var(--chip-ok);background:var(--a-green-bg)}.att-cal-cell.st-warn{border-color:var(--chip-warn);background:var(--a-amber-bg)}.att-cal-cell.st-danger{border-color:var(--chip-danger);background:var(--a-rose-bg)}.att-cal-cell.st-info{border-color:var(--chip-info);background:var(--a-cyan-bg)}.att-cal-cell.st-progress{border-color:var(--chip-progress);background:var(--a-violet-bg)}.att-site{border:1px solid var(--border);border-radius:12px;padding:14px 16px;display:grid;gap:12px;background:var(--surface)}.att-site-head{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.att-site-head strong{display:block;font-size:15px}.att-site-head small{color:var(--text-3);font-size:12.5px}.att-site-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}.att-site-grid{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr)) auto;gap:10px 12px;align-items:end}.att-site-grid label{display:grid;gap:6px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.att-site-grid input{min-height:38px;padding:8px 10px;border:1px solid var(--border-2);border-radius:8px;background:var(--surface-2);color:var(--text);font-size:13px}.att-site-btns{display:flex;gap:8px}.att-site-warn{margin:0;display:flex;gap:6px;align-items:flex-start;font-size:12.5px;color:var(--chip-warn)}.att-site-warn svg{width:14px;height:14px;flex:none;margin-top:2px}@media(max-width:760px){.att{padding:12px 14px}.att-site-grid{grid-template-columns:1fr 1fr}.att-site-btns{grid-column:1 / -1}.att-cal{gap:4px}.att-cal-cell{min-height:60px;padding:4px 5px;font-size:10.5px}.att-cal-times{display:none}}.role-pick{display:grid;gap:10px}.role-pick-chips{display:flex;flex-wrap:wrap;gap:6px}.role-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--border-2);border-radius:999px;background:var(--surface);color:var(--text-2);font-size:12.5px;font-weight:600;cursor:pointer;text-transform:none;letter-spacing:0}.role-chip svg{width:14px;height:14px;color:var(--text-3)}.role-chip em{font-style:normal;font-size:10.5px;font-weight:700;color:var(--text-3);background:var(--surface-2);border-radius:999px;padding:1px 6px}.role-chip:hover{border-color:var(--brand);color:var(--text)}.role-chip.on{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-strong)}.role-chip.on svg{color:var(--brand-strong)}.role-chip.admin.on{border-color:var(--chip-warn);background:var(--a-amber-bg);color:var(--chip-warn)}.role-warn{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px 12px;border:1px solid var(--chip-warn);border-radius:10px;background:var(--a-amber-bg);color:var(--chip-warn);font-size:12.5px;font-weight:600;text-transform:none;letter-spacing:0;line-height:1.45}.role-warn svg{width:15px;height:15px;flex:none;margin-top:1px}.role-preview{border:1px solid var(--border);border-radius:10px;background:var(--surface-2);padding:10px 12px;display:grid;gap:8px;text-transform:none;letter-spacing:0}.role-preview-head{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.role-preview-head svg{width:14px;height:14px}.role-preview-groups{display:grid;gap:4px}.role-preview-group{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;font-size:12.5px}.role-preview-group b{font-weight:600;color:var(--text)}.role-preview-group span,.role-preview-none{color:var(--text-2);font-size:12.5px;font-weight:500}.signin-panel{display:grid;gap:10px;text-transform:none;letter-spacing:0}.signin-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.signin-state{display:grid;gap:3px;margin-right:auto}.signin-state small{font-size:12px;color:var(--text-3);font-weight:500}.signin-temp{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--chip-ok);border-radius:10px;background:var(--a-green-bg);color:var(--text);font-size:13px;font-weight:500}.signin-temp b{font-family:ui-monospace,monospace;letter-spacing:.06em}.signin-temp svg{width:16px;height:16px;color:var(--chip-ok)}.signin-temp .quiet{margin-left:auto}.signin-dupes{border:1px solid var(--border-2);border-radius:10px;padding:12px 14px;background:var(--surface);display:grid;gap:6px}.signin-dupes.warn{border-color:var(--chip-warn);background:var(--a-amber-bg)}.signin-dupes strong{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--text)}.signin-dupes strong svg{width:15px;height:15px;color:var(--chip-warn)}.signin-dupes p{margin:0;font-size:12.5px;color:var(--text-2);font-weight:500}.signin-dupes ul{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:6px}.signin-dupes li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;background:var(--surface);border:1px solid var(--border)}.signin-dupes li>div{display:grid;gap:2px;min-width:0;margin-right:auto}.signin-dupes li b{font-size:13px;color:var(--text)}.signin-dupes li small{font-size:11.5px;color:var(--text-3);font-weight:500;overflow-wrap:anywhere}@media(max-width:640px){.role-preview-group{grid-template-columns:1fr;gap:0}.signin-dupes li{flex-wrap:wrap}}button.ac-hint.warn{border:1px solid var(--chip-warn);background:var(--a-amber-bg);color:var(--chip-warn);border-radius:8px;padding:6px 10px;cursor:pointer;font:inherit;font-size:12px;font-weight:600}.signin-dupes li small.signin-archived{color:var(--chip-warn);font-weight:600}.settings-editor{padding:20px 22px 32px}.settings-editor-head{margin-bottom:20px;padding-bottom:16px}.settings-section{display:grid;gap:16px;padding:20px 22px;margin-bottom:16px;border-radius:14px;background:var(--surface)}.settings-section>h3{margin:0;font-size:14px;font-weight:700;color:var(--text)}.settings-section>h3+p{margin:-10px 0 0;font-size:12.5px;line-height:1.5}.settings-section>p{margin:0}.settings-section>.form-grid,.settings-section .form-grid .form-grid,.form-grid fieldset>.form-grid,.settings-section fieldset>.form-grid{padding:0;margin:0!important}.settings-section .form-grid{gap:18px 20px}.form-grid .form-grid{padding:0}.form-grid fieldset{display:grid;gap:10px;align-content:start}.form-grid fieldset>legend{float:left;width:100%;margin:0 0 2px;padding:0}.form-grid fieldset>legend+*{clear:both}.form-grid label{gap:8px}.form-grid .field-hint,.form-grid fieldset .field-hint{margin:0;font-size:11.5px;line-height:1.45;text-transform:none;letter-spacing:0;font-weight:500;color:var(--text-3)}.form-grid>p,.form-grid>.stage-summary{margin:0}.settings-section .line-items{margin:0;display:grid;gap:12px}.settings-section .line-items-head{margin:0}.settings-section .line-item{margin:0;padding:16px}.settings-section .line-item .form-grid{padding:0}.settings-section .line-item-sub{margin-top:10px}.settings-section .chip-choices{gap:8px}.pf-facts{gap:12px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.pf-facts div{padding:14px 16px;gap:6px;background:var(--surface-2);align-content:start}.pf-facts dt{font-size:10.5px;font-weight:700}.pf-facts dd{font-size:14px;line-height:1.35}.pf-actions{gap:10px;margin:0}.settings-section>.form-hint,.settings-section>.pf-actions+.form-hint{margin:-6px 0 0;font-size:12px;color:var(--text-3)}.workflow-options{gap:8px}.workflow-options button{min-height:38px;padding:0 14px;font-size:12px}.modal .form-grid{gap:16px 18px;padding:20px 22px}.modal .stage-summary{margin:0;padding:14px 22px 0}.modal-head{padding:18px 22px}.modal-actions{padding:14px 22px}.drawer-head{padding:20px 22px}.order-doc{padding:20px 22px;gap:20px}.module-kpis{margin-bottom:18px}.nv-banner{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:12px;padding:10px 22px;background:var(--brand);color:#fff;font-size:13px}.nv-banner svg{width:18px;height:18px;flex:none}.nv-banner span{margin-right:auto}.nv-banner b{font-weight:700}.nv-banner .primary{background:#fff;color:var(--brand-strong);border-color:#fff;box-shadow:none}@media(max-width:760px){.settings-editor{padding:14px 14px 28px}.settings-section{padding:16px;gap:14px}.nv-banner{flex-wrap:wrap;padding:10px 14px}}.row-actions .row-slot{width:32px;height:32px;flex:none}.lv-short{color:var(--chip-warn)!important;font-weight:600!important}.lv-files{display:grid;gap:8px}.lv-files-label{font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.lv-drop{position:relative;display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border:1px dashed var(--border-2);border-radius:12px;background:var(--surface-2);color:var(--text-2);font-size:13px;text-transform:none;letter-spacing:0;font-weight:500;cursor:pointer}.lv-drop:hover{border-color:var(--brand);color:var(--text)}.lv-drop svg{width:18px;height:18px;color:var(--brand)}.lv-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.lv-file-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.lv-file-list li{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 12px;border:1px solid var(--border);border-radius:10px;font-size:13px}.lv-file-list li svg{width:15px;height:15px;color:var(--text-3);flex:none}.lv-file-list li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lv-drawer .drawer-head h2{margin-top:6px}.lv-sub{margin:4px 0 0;font-size:13px;color:var(--text-2)}.lv-doc{gap:14px}.lv-card{border:1px solid var(--border);border-radius:14px;padding:16px 18px;background:var(--surface);display:grid;gap:12px}.lv-card h3{margin:0;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--text)}.lv-card h3 svg{width:16px;height:16px;color:var(--text-3)}.lv-request-main{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.lv-request-main strong{font-size:16px;font-weight:700}.lv-request-main small{color:var(--text-2);font-size:13px}.lv-reason{margin:0;padding:10px 12px;border-radius:10px;background:var(--surface-2);font-size:13.5px;color:var(--text);line-height:1.5}.lv-decided{margin:0;font-size:12.5px;color:var(--text-2)}.lv-bal{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.lv-bal-tile{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-2)}.lv-bal-tile span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.lv-bal-tile b{font-size:18px;font-weight:700;color:var(--text)}.lv-bal-tile small{font-size:12px;color:var(--text-3)}.lv-bal-tile em{font-style:normal;font-size:12px;font-weight:600;color:var(--brand-strong)}.lv-bal-tile em.bad{color:var(--chip-danger)}.lv-bal-tile.mine{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.lv-att{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.lv-att-col{border:1px solid var(--border);border-radius:12px;padding:12px 14px;display:grid;gap:8px}.lv-att-head{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.lv-att dl{margin:0;display:grid;gap:6px}.lv-att dl div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.lv-att dt{color:var(--text-2)}.lv-att dd{margin:0;font-weight:600;color:var(--text);text-align:right;font-variant-numeric:tabular-nums}.lv-note{margin:0;font-size:12.5px;color:var(--text-3)}.lv-warn{border-color:var(--chip-warn);background:var(--a-amber-bg)}.lv-warn ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.lv-warn li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.lv-warn li span:not(.status){color:var(--text-2);margin-right:auto}.lv-hist{width:100%;border-collapse:collapse;font-size:13px}.lv-hist th{text-align:left;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);padding:0 8px 8px 0;border-bottom:1px solid var(--border)}.lv-hist td{padding:8px 8px 8px 0;border-bottom:1px solid var(--border)}.lv-hist tr:last-child td{border-bottom:0}.lv-hist .num{text-align:right;font-variant-numeric:tabular-nums}.lv-decision{display:grid;gap:8px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3)}.lv-decision textarea{min-height:72px;border:1px solid var(--border-2);border-radius:10px;padding:10px 12px;background:var(--surface-2);color:var(--text);font:inherit;font-size:13.5px;text-transform:none;letter-spacing:0;font-weight:400;resize:vertical}.lv-card .attachments{margin:0}.record-drawer .lv-att dl,.record-drawer.wide .lv-att dl{display:grid;grid-template-columns:1fr;gap:6px;margin:0;padding:0;border:0}.record-drawer .lv-att dl div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0;border:0;background:none;min-height:0}.record-drawer .lv-att dt{margin:0;font-size:13px;font-weight:500;text-transform:none;letter-spacing:0;color:var(--text-2)}.record-drawer .lv-att dd{margin:0;padding:0;border:0;font-size:13px;font-weight:600;text-transform:none;color:var(--text);text-align:right}.fs-card .fs-foot{margin:0;padding:12px 18px 16px;border-top:1px solid var(--border)}.assistant-engine{display:block;margin-top:8px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}.assistant-ref.action{background:var(--brand-soft);border-color:transparent;color:var(--brand-strong)}.pb-line{display:flex;align-items:center;gap:14px;padding:14px 18px;margin-bottom:18px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.pb-line .pb-ic{width:38px;height:38px;border-radius:var(--radius-2);display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);flex-shrink:0}.pb-line .pb-ic svg{width:18px;height:18px}.pb-line>div{flex:1;min-width:0}.pb-line strong{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3)}.pb-line p{margin:3px 0 0;font-size:13.5px;line-height:1.5}.sev{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap}.sev:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}.sev-open{background:var(--a-cyan-bg);color:var(--a-cyan)}.sev-due{background:var(--a-amber-bg);color:var(--a-amber)}.sev-overdue{background:var(--a-rose-bg);color:var(--a-rose)}.sev-critical{background:var(--a-rose);color:#fff}.rem-table td{vertical-align:top}.rem-table td.rem-what,.rem-table td.rem-with{white-space:normal;min-width:180px}.rem-table td.rem-what{max-width:440px}.rem-table td:last-child{white-space:normal}.rem-table tr.rem-quiet td{opacity:.6}.rem-what strong{display:block;font-size:13px}.rem-what small{display:block;color:var(--text-3);font-size:12px;margin-top:2px}.rem-with{font-size:12.5px;color:var(--text-2)}.rem-with small{display:block;color:var(--text-3);font-size:11.5px}.rem-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.rem-actions button,.sd-row button{height:30px;padding:0 10px;font-size:12px}.staff-perf-row{cursor:pointer}.perf-name strong{display:block;font-size:13px}.perf-name small{display:block;color:var(--text-3);font-size:11.5px;margin-top:2px}.perf-rate{font-weight:700}.perf-rate.good{color:var(--a-green)}.perf-rate.bad{color:var(--a-rose)}.staff-detail .sd-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.staff-detail .sd-head strong{display:block;font-size:16px}.staff-detail .sd-head small{color:var(--text-3)}.staff-detail .sd-kpis{margin-bottom:18px}.mini-kpi strong .mk-extra{font-size:12px;font-weight:500;color:var(--text-3);margin-left:7px;letter-spacing:0}.staff-detail .drawer-section{padding:0 0 18px}.sd-days td,.sd-days th{font-size:12.5px}.sd-list{display:grid;gap:8px}.sd-row{display:flex;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface)}.sd-row>div{flex:1;min-width:0}.sd-row strong{font-size:12.5px;display:block}.sd-row small{color:var(--text-3);font-size:11.5px;display:block;margin-top:2px}@media(max-width:720px){.pb-line{align-items:flex-start}.rem-actions{justify-content:flex-start}}.tabbar{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.tabbar .tabs{flex:1;min-width:0;scroll-behavior:smooth}.tabbar.has-overflow .tabs{-webkit-mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,transparent,#000 22px,#000 calc(100% - 22px),transparent)}.tabbar.has-overflow.at-right:not(.at-left) .tabs{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent)}.tabbar.has-overflow.at-left:not(.at-right) .tabs{-webkit-mask-image:linear-gradient(90deg,transparent,#000 22px);mask-image:linear-gradient(90deg,transparent,#000 22px)}.tabs .tab-count{margin-left:6px;font-size:11px;font-weight:700;color:var(--text-3)}.tabs button.active .tab-count{color:inherit}.tabbar-arrow{width:30px;height:30px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);display:grid;place-items:center;flex-shrink:0;cursor:pointer}.tabbar-arrow svg{width:15px;height:15px}.tabbar-arrow:disabled{opacity:.35;cursor:default}.tabbar-arrow:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.tabbar-menu{position:relative;flex-shrink:0}.tabbar-all{height:34px;padding:0 9px 0 10px;border-radius:9px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.tabbar-all svg{width:14px;height:14px}.tabbar-all b{font-size:11px;color:var(--text-3)}.tabbar-all.open b,.tabbar-all:hover b{color:inherit}.tabbar-all:hover,.tabbar-all.open{background:var(--surface-2);color:var(--text)}.tabbar-list{position:absolute;right:0;top:calc(100% + 6px);z-index:40;min-width:240px;max-height:60vh;overflow:auto;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);display:grid;gap:2px}.tabbar-list button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;height:34px;padding:0 10px 0 6px;border:0;border-radius:8px;background:transparent;color:var(--text-2);font-size:12.5px;cursor:pointer;white-space:nowrap}.tabbar-list button .tabbar-tick{width:16px;height:16px;display:grid;place-items:center;flex-shrink:0}.tabbar-list button svg{width:14px;height:14px;color:var(--brand)}.tabbar-list button:hover{background:var(--surface-2);color:var(--text)}.tabbar-list button.active{color:var(--brand-strong);font-weight:600;background:var(--brand-soft)}.tabbar-list button b{margin-left:auto;font-size:11px;color:var(--text-3);padding-left:12px}.module-toolbar>.tabbar{flex:1;min-width:0}.bankrec-tabs{margin-bottom:14px}@media(max-width:720px){.tabbar-all span{display:none}}.files-panel{position:relative}.files-panel.drag{outline:2px dashed var(--brand);outline-offset:-2px}.files-drop{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:color-mix(in srgb,var(--surface) 85%,transparent);border-radius:var(--radius);pointer-events:none}.files-drop strong{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--brand-strong)}.files-drop svg{width:22px;height:22px}.files-folders{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:12px 16px 4px}.files-folders button{height:32px;padding:0 11px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:500;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.files-folders button svg{width:13px;height:13px}.files-folders button b{font-size:11px;color:var(--text-3)}.files-folders button:hover{background:var(--surface-2)}.files-folders button.active{background:var(--brand-soft);border-color:transparent;color:var(--brand-strong);font-weight:600}.files-folders button.active b{color:inherit}.files-kind{margin-left:auto;min-width:170px}.files-table td{vertical-align:middle}.files-table td.files-name{white-space:normal;max-width:460px}.files-open{display:flex;align-items:center;gap:11px;background:transparent;border:0;padding:0;text-align:left;cursor:pointer;color:inherit;font:inherit}.files-open strong{display:block;font-size:13px}.files-open small{display:block;color:var(--text-3);font-size:11.5px;margin-top:2px}.files-open:hover strong{color:var(--brand-strong)}.files-ic{width:36px;height:36px;border-radius:var(--radius-2);display:grid;place-items:center;flex-shrink:0;background:var(--surface-2);color:var(--text-2)}.files-ic svg{width:17px;height:17px}.files-ic.k-image{background:var(--a-cyan-bg);color:var(--a-cyan)}.files-ic.k-pdf{background:var(--a-rose-bg);color:var(--a-rose)}.files-ic.k-sheet{background:var(--a-green-bg);color:var(--a-green)}.files-ic.k-doc,.files-ic.k-text{background:var(--brand-soft);color:var(--brand)}.files-ic.k-slides{background:var(--a-amber-bg);color:var(--a-amber)}.files-batch{display:grid;gap:4px;margin:0 0 14px;max-height:180px;overflow:auto}.files-batch-row{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid var(--border);border-radius:var(--radius-2);font-size:12.5px}.files-batch-row svg{width:14px;height:14px;color:var(--text-3);flex-shrink:0}.files-batch-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-batch-row small{color:var(--text-3)}.files-depts{margin-top:10px}.form-label{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:6px}.payroll-drawer .pr-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--radius-2);overflow:hidden;margin:4px 0 14px}.payroll-drawer .pr-totals>div{background:var(--surface);padding:11px 13px;display:grid;gap:4px}.payroll-drawer .pr-totals span{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3)}.payroll-drawer .pr-totals b{font-size:14px;font-variant-numeric:tabular-nums}.payroll-drawer .pr-totals .pr-net b{color:var(--brand-strong)}.payroll-drawer .pr-totals .pr-adv b{color:var(--a-amber)}.pr-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;margin:8px 0 10px;border:1px solid var(--border);border-radius:var(--radius-2);background:var(--surface-2)}.pr-check{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--text-2);cursor:pointer}.pr-actions{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}.pr-actions button{height:32px;font-size:12px}.pr-table td{vertical-align:top}.pr-table .pr-sel{width:28px}.pr-table .pr-who strong{display:block;font-size:13px}.pr-table .pr-who small{display:block;color:var(--text-3);font-size:11.5px;margin-top:2px}.pr-table .pr-sms{display:inline-flex!important;align-items:center;gap:4px;color:var(--a-green)!important}.pr-table .pr-sms.bad{color:var(--a-rose)!important}.pr-table .pr-sms svg{width:12px;height:12px}.pr-table .pr-advcell b{display:block;color:var(--a-amber)}.pr-table .pr-advcell small{display:block;font-size:11px;color:var(--text-3);white-space:normal}.pr-table .pr-meta{display:block;font-size:11px;color:var(--text-3);margin-top:3px}.pr-table .pr-neg{color:var(--a-rose)}.pr-table tr.pr-below td{background:color-mix(in srgb,var(--a-rose-bg) 55%,transparent)}.pr-table tr.pr-picked td{background:var(--brand-soft)}.pr-table .pr-row-actions{display:flex;gap:4px;justify-content:flex-end;flex-wrap:wrap;white-space:nowrap}.pr-table .pr-row-actions .quiet.sm{height:30px;padding:0 9px;font-size:11.5px}.pr-table .pr-row-actions .icon{width:30px;height:30px}.pr-paylist{display:grid;gap:4px;margin:0 20px 6px;max-height:180px;overflow:auto}.pr-paylist>div{display:flex;justify-content:space-between;gap:12px;padding:6px 10px;border:1px solid var(--border);border-radius:8px;font-size:12.5px}.contract-note.warn-note{border-color:var(--a-amber);background:var(--a-amber-bg)}.contract-note.ok-note{border-color:var(--a-green);background:var(--a-green-bg);color:var(--a-green)}.contract-note.ok-note span{color:var(--text)}.order-doc>*{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mini-kpi.danger strong{color:var(--a-rose)}.mini-kpi .desk-kpi-note{display:inline-block;margin-left:8px;font-size:11px;font-weight:700;color:var(--a-rose);letter-spacing:0;vertical-align:middle}.desk-views{margin:-4px 0 14px}.hub-row-act{display:inline-flex;gap:6px}.desk-tasks .table-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-prio-filter{min-width:150px}.task-alert{margin:12px 16px 0}.task-list{display:grid}.task-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:13px 16px 13px 19px;border-bottom:1px solid var(--border);position:relative}.task-row:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:transparent}.task-row.p-high:before{background:var(--a-amber)}.task-row.p-urgent:before{background:var(--a-rose)}.task-row.late{background:color-mix(in srgb,var(--a-rose-bg) 45%,transparent)}.task-row.closed .task-title strong{color:var(--text-2)}.task-row:last-child{border-bottom:0}.task-main{min-width:0;display:grid;gap:4px;text-align:left;background:transparent;border:0;padding:0;cursor:pointer;color:inherit;font:inherit}.task-main:hover .task-title strong{color:var(--brand-strong)}.task-title{display:flex;align-items:center;gap:8px;min-width:0}.task-title strong{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-title .status{flex-shrink:0;padding:3px 9px;font-size:10.5px}.task-details{color:var(--text-3);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11.5px;color:var(--text-3)}.task-meta>span,.task-due{display:inline-flex;align-items:center;gap:5px}.task-meta svg,.task-due svg{width:13px;height:13px}.task-due.soon{color:var(--a-amber);font-weight:600}.task-due.late{color:var(--a-rose);font-weight:700}.task-side{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}.task-actions{display:flex;gap:6px}.task-drawer .order-statusbar{flex-wrap:wrap;gap:8px}.task-drawer .task-due{font-size:12px;color:var(--text-2)}.task-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:var(--radius-2);overflow:hidden;margin:2px 0 14px;flex-shrink:0}.task-people>div{background:var(--surface);padding:11px 13px;display:grid;gap:3px;align-content:start}.task-people strong{font-size:13.5px}.task-people small{font-size:11.5px;color:var(--text-3)}.task-people .muted-link{justify-self:start;font-weight:700}.task-body{white-space:pre-wrap;font-size:13.5px;line-height:1.6;color:var(--text);padding:12px 14px;background:var(--surface-2);border-radius:var(--radius-2);margin-bottom:14px;flex-shrink:0}.task-drawer-actions{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px;flex-shrink:0}.danger-text{color:var(--a-rose)!important}.task-remind{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:11px 13px;border:1px dashed var(--border-2);border-radius:var(--radius-2);margin-bottom:16px;flex-shrink:0}.task-remind>div{flex:1;min-width:180px;display:grid;gap:2px}.task-remind strong{font-size:13px}.task-remind small{font-size:11.5px;color:var(--text-3)}.task-history{display:grid;gap:10px;flex-shrink:0}.task-update{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start}.task-update-ic{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);color:var(--text-2)}.task-update-ic svg{width:14px;height:14px}.task-update.k-done .task-update-ic{background:var(--a-green-bg);color:var(--a-green)}.task-update.k-cancelled .task-update-ic,.task-update.k-reminded .task-update-ic{background:var(--a-amber-bg);color:var(--a-amber)}.task-update.k-note .task-update-ic{background:var(--brand-soft);color:var(--brand)}.task-update p{margin:4px 0 0;font-size:12.5px;color:var(--text-2)}.task-update p small{margin-left:8px;color:var(--text-3);font-size:11px}.task-update-body{margin-top:5px;padding:8px 11px;background:var(--surface-2);border-radius:10px;font-size:13px;white-space:pre-wrap;color:var(--text)}.task-note{display:grid;gap:8px;margin-top:4px}.task-note textarea{width:100%;resize:vertical}.task-note button{justify-self:end}.task-form .task-assign{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.task-form .task-assign>label{flex:1;min-width:220px}.task-form .task-assign>button{height:40px}.task-form .task-assign .field-error{flex-basis:100%}.task-prio button.p-high.active{border-color:var(--a-amber);background:var(--a-amber-bg);color:var(--chip-warn);box-shadow:inset 0 0 0 1px var(--a-amber)}.task-prio button.p-urgent.active{border-color:var(--a-rose);background:var(--a-rose-bg);color:var(--chip-danger);box-shadow:inset 0 0 0 1px var(--a-rose)}.task-due-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:8px;align-items:center}.task-due-row input[type=time]{width:100%;height:40px}.task-due-row .chip-choices{grid-column:1 / -1;margin:0}.form-grid .form-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--text-3);margin-bottom:8px}.task-note textarea{padding:10px 12px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);font:inherit;font-size:13px;color:var(--text)}.task-note textarea:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}.task-sms{align-self:end;padding-bottom:10px}@media(max-width:760px){.task-row{grid-template-columns:1fr;gap:10px}.task-side{justify-content:flex-start}}.files-head .head-actions button{white-space:nowrap}.files-count{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px 10px;font-size:12px;color:var(--text-3)}.files-count .muted-link{display:inline-flex;align-items:center;gap:4px}.files-count .muted-link svg{width:12px;height:12px}.files-table th.files-col-act,.files-table td.files-col-act{width:1%;white-space:nowrap;text-align:right;max-width:none;overflow:visible}.files-table td.files-name{max-width:420px}.files-table td.files-name strong{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.files-open{max-width:100%}.files-open>span:last-child{min-width:0;overflow:hidden}.files-table td.files-name{width:46%;max-width:0}.files-table td.files-col-up{white-space:nowrap}.files-actions{display:inline-flex;gap:2px;justify-content:flex-end}.files-actions .icon{width:32px;height:32px}.files-actions .icon svg{width:16px;height:16px}.files-actions .danger-icon:hover{color:var(--a-rose);background:var(--a-rose-bg)}.files-confirm{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-2)}.files-share{gap:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;text-transform:none}.files-share:before{display:none}.files-share svg{width:12px;height:12px;margin-right:6px;flex-shrink:0}.files-up{display:block;font-weight:600;font-size:12.5px}.files-col-up small{display:block;font-size:11px;margin-top:2px}.files-folder-link{background:transparent;border:0;padding:0;color:var(--text-2);font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:var(--border-2);text-underline-offset:3px}.files-folder-link:hover{color:var(--brand-strong)}.files-table tr.files-focused td{background:var(--brand-soft)}.files-focus{margin-bottom:14px;align-items:center}.files-focus-act{display:flex;gap:6px;margin-left:auto;align-items:center}.files-form .files-batch-row{position:relative;overflow:hidden}.files-batch-name{display:grid;min-width:0}.files-batch-name em{font-style:normal;font-size:11px;color:var(--text-3)}.files-batch-row.s-skip,.files-batch-row.s-failed{border-color:color-mix(in srgb,var(--a-rose) 45%,var(--border));background:var(--a-rose-bg)}.files-batch-row.s-skip em,.files-batch-row.s-failed em{color:var(--a-rose);font-weight:600}.files-batch-row.s-skip svg,.files-batch-row.s-failed svg{color:var(--a-rose)}.files-batch-row.s-done svg{color:var(--a-green)}.files-batch-row .icon{width:26px;height:26px;flex-shrink:0}.files-bar{position:absolute;left:0;bottom:0;height:2px;background:var(--brand);transition:width .2s}.files-share-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.files-share-options button{display:grid;grid-template-columns:18px 1fr;column-gap:8px;row-gap:2px;align-items:start;text-align:left;padding:10px 12px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface);color:var(--text-2);cursor:pointer;font:inherit}.files-share-options button svg{width:16px;height:16px;grid-row:span 2;margin-top:1px}.files-share-options button strong{font-size:12.5px;color:var(--text)}.files-share-options button small{font-size:11px;color:var(--text-3);line-height:1.35}.files-share-options button.active{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand);color:var(--brand-strong)}.files-depts,.files-notify{margin-top:10px}.people-picker{margin-top:10px;display:grid;gap:8px}.people-chips{display:flex;flex-wrap:wrap;gap:6px}.people-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 4px 4px 10px;border-radius:999px;background:var(--brand-soft);color:var(--brand-strong);font-size:12px;font-weight:600}.people-chip button{width:20px;height:20px;border:0;border-radius:50%;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}.people-chip button:hover{background:color-mix(in srgb,var(--brand) 18%,transparent)}.people-chip svg{width:12px;height:12px}.people-search{display:flex;align-items:center;gap:8px;height:38px;padding:0 11px;border:1px solid var(--border-2);border-radius:10px;background:var(--surface)}.people-search svg{width:15px;height:15px;color:var(--text-3)}.people-search input,.form-grid .people-search input{border:0;outline:0;background:transparent;flex:1;height:100%;min-height:0;padding:0;min-width:0;box-shadow:none;font-size:13px;text-transform:none;letter-spacing:0}.people-search:focus-within{border-color:var(--brand)}.people-list{max-height:196px;overflow:auto;border:1px solid var(--border);border-radius:10px;display:grid}.people-list>button{display:flex;align-items:center;gap:9px;padding:8px 11px;border:0;border-bottom:1px solid var(--border);background:var(--surface);text-align:left;cursor:pointer;font:inherit;color:var(--text)}.people-list>button:last-child{border-bottom:0}.people-list>button:hover{background:var(--surface-2)}.people-list>button.on{background:var(--brand-soft)}.people-tick{width:18px;height:18px;border-radius:5px;border:1.5px solid var(--border-2);display:grid;place-items:center;flex-shrink:0;background:var(--surface)}.people-list>button.on .people-tick{background:var(--brand);border-color:var(--brand);color:#fff}.people-tick svg{width:12px;height:12px}.people-name{font-size:13px;font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.people-list small{font-size:11px;color:var(--text-3);white-space:nowrap}.people-empty{display:flex;align-items:center;gap:8px;padding:12px;font-size:12.5px;color:var(--text-3)}@media(max-width:980px){.files-table .files-col-folder{display:none}}@media(max-width:680px){.files-table thead{display:none}.files-table,.files-table tbody,.files-table tr,.files-table td{display:block;width:100%}.files-table tr{padding:12px 14px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}.files-table td{padding:0!important;border:0!important;max-width:none!important}.files-table td.files-name{grid-column:1 / -1;width:auto}.files-table td.files-name strong{white-space:normal;overflow-wrap:anywhere}.files-table td.files-col-act{grid-column:1 / -1;text-align:left}.files-actions{justify-content:flex-start}}.form-grid label.pr-check{display:flex;align-items:center;gap:9px;text-transform:none;letter-spacing:0;font-size:12.5px;font-weight:600;color:var(--text-2);cursor:pointer}.form-grid label.pr-check input[type=checkbox],.pr-check input[type=checkbox]{width:16px;height:16px;min-height:0;padding:0;margin:0;flex:none;accent-color:var(--brand);box-shadow:none}.task-sms{align-self:end;padding-bottom:12px}.files-form .files-batch{margin:0 20px 14px}.contract-note.files-focus{border-color:color-mix(in srgb,var(--brand) 45%,var(--border));background:var(--brand-soft);color:var(--brand-strong)}.contract-note.files-focus strong{font-size:13px;color:var(--text)}.contract-note.files-focus span{font-size:12px;color:var(--text-2);opacity:1}.contract-note .files-focus-act{display:flex;gap:6px;margin-left:auto;align-items:center;flex-wrap:wrap}.order-doc{flex:1 1 auto;min-height:0}.purchase-doc .inv-label+.table-scroll,.purchase-doc .inv-label-row+.table-scroll{margin-top:-8px}.return-result{margin:0;align-items:flex-start}.return-result>div{flex:1}.contract-note.return-result strong{font-size:13px}.contract-note.return-result span{font-size:13px;opacity:1;color:var(--text)}.contract-note.return-result .icon{margin-left:auto;flex-shrink:0}.workflow-modal>.return-result{margin:16px 20px 4px}.return-form{display:grid;gap:14px;border:1px solid var(--border-2);border-radius:var(--radius-2);padding:16px;background:var(--surface)}.return-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.return-form-head>div{display:grid;gap:3px}.return-form-head strong{font-size:14px}.return-form-head small{font-size:12px;color:var(--text-3)}.return-lines tr.is-spent td{color:var(--text-3)}.return-qty{width:72px;height:38px;text-align:right;padding:0 10px;border:1px solid var(--border-2);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-weight:700}.return-qty:focus{outline:2px solid var(--brand-soft);border-color:var(--brand)}.return-fields{padding:0!important}.return-money{display:grid;gap:10px;padding:14px;border-radius:var(--radius-2);background:var(--surface-2)}.return-money.is-empty{color:var(--text-3)}.return-money-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;color:var(--text-2)}.return-money-row b{font-size:14px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}.return-money-row.is-back{padding-top:10px;border-top:1px solid var(--border-2);font-weight:600;color:var(--text)}.return-money-row.is-back b{font-size:16px;color:var(--a-green)}.return-mode{margin:0}.return-mode button{flex:1 1 150px;font-size:12.5px}.return-note{margin:0;font-size:12.5px;color:var(--text-2);line-height:1.5}.return-owed{color:var(--a-amber);font-weight:600}.return-collect{margin-top:6px;display:inline-flex}.return-why{display:block;color:var(--text-3);margin-top:2px}.return-collect-actions{display:flex;justify-content:flex-end;gap:8px}.return-when{display:flex;align-items:center;gap:8px;margin:10px 20px 4px;padding:10px 12px;border-radius:10px;font-size:12.5px;font-weight:600}.return-when svg{width:16px;height:16px;flex-shrink:0}.return-when.is-now{background:var(--a-green-bg);color:var(--a-green)}.return-when.is-wait{background:var(--a-amber-bg);color:var(--a-amber)}.sale-return-list{display:grid;gap:8px;margin-top:8px}.sale-return-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:10px}.sale-return-row>span:first-child{display:grid;gap:2px;min-width:0}.sale-return-row strong{font-size:13px}.sale-return-row small{font-size:11.5px;color:var(--text-3)}.sale-return-row b{font-variant-numeric:tabular-nums}@media(max-width:560px){.sale-return-row{grid-template-columns:1fr auto}.sale-return-row>span:first-child{grid-column:1 / -1}}.data-table td[data-label="Where the money went"]{white-space:normal;min-width:210px;max-width:280px;line-height:1.4;font-weight:500;color:var(--text)}@media(max-width:640px){.return-lines th:nth-child(3),.return-lines td:nth-child(3),.return-lines th:nth-child(5),.return-lines td:nth-child(5){display:none}.return-lines th,.return-lines td{padding-left:8px!important;padding-right:8px!important}.return-form{padding:12px}.order-drawer .purchase-kpis{grid-template-columns:1fr 1fr}.order-drawer .purchase-kpis .mini-kpi strong{font-size:15px}}.record-doc>dl,.record-doc>.drawer-status,.record-doc>.po-stages,.record-doc>.attachments{margin:0}.record-doc>dl{overflow:visible}@media(max-width:760px){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),select,textarea{font-size:16px!important}.form-grid>*{min-width:0}.form-grid input:not([type=checkbox]):not([type=radio]),.form-grid select,.form-grid textarea{min-width:0;max-width:100%}.row>.link,.bc-merge>button{min-height:34px}}
