:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f6f9;--surface:#fff;--surface-2:#f5f8fa;--surface-3:#e8f2f5;--surface-4:#eef1f5;--border:#cfdae2;--border-2:#dce5eb;--card-border:#dce5eb;--row-border:#edf2f5;--text:#17334a;--text-2:#204256;--muted:#718391;--muted-2:#8294a1;--brand:#147c83;--brand-hover:#0f6b71;--brand-2:#147c83;--brand-strong:#173c51;--brand-deep:#224b61;--on-brand:#fff;--success-bg:#e6f6ed;--success-border:#bfe3d0;--success-fg:#28784e;--warn-bg:#fff0d8;--warn-border:#e8d5a8;--warn-fg:#a96b17;--danger-bg:#ffedf0;--danger-fg:#ac2f3c;--chart-grid:#d7e0e8;--side-bg:#102d40;--side-text:#d9e9ef;--side-muted:#b6d0dd;--side-hover:#224b61;--side-foot:#9ebdcd;--logo-bg:#4bc3c0;--logo-fg:#113449;--metric-hero-bg:#173c51;--metric-hero-span:#abc5d2;--ai-fab:#146c94;--login-grad-from:#24526a;--login-grad-to:#102c40;--scrim:#0f172a73;--scrim-strong:#0f172a99}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#020617;--surface:#0e1223;--surface-2:#0b1120;--surface-3:#12203a;--surface-4:#1a1e2f;--border:#26303f;--border-2:#334155;--card-border:#26303f;--row-border:#1a1e2f;--text:#f8fafc;--text-2:#cbd5e1;--muted:#94a3b8;--muted-2:#64748b;--brand:#2563eb;--brand-hover:#1d4ed8;--brand-2:#38bdf8;--brand-strong:#0f1b3d;--brand-deep:#1e3a8a;--on-brand:#fff;--success-bg:#0b2b1e;--success-border:#14532d;--success-fg:#4ade80;--warn-bg:#3a2a06;--warn-border:#78350f;--warn-fg:#fbbf24;--danger-bg:#3b0d0d;--danger-fg:#ef4444;--chart-grid:#e2e8f0;--side-bg:#0b1120;--side-text:#cbd5e1;--side-muted:#cbd5e1;--side-hover:#1e3a8a;--side-foot:#94a3b8;--logo-bg:#38bdf8;--logo-fg:#0b1120;--metric-hero-bg:#1a1e2f;--metric-hero-span:#94a3b8;--ai-fab:#2563eb;--login-grad-from:#1e3a8a;--login-grad-to:#0b1120;--scrim:#02061799;--scrim-strong:#020617b8}.theme-toggle{width:100%;color:var(--side-text);background:0 0;border:1px solid #ffffff38;gap:6px;margin-top:10px;padding:8px 10px;font-size:12px}.theme-toggle:hover{background:var(--side-hover);color:#fff}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font:14px Arial,Microsoft YaHei,sans-serif}button,input,select,textarea{font:inherit}button{background:var(--surface);color:var(--text-2);border:1px solid var(--border);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;display:inline-flex}button:hover{background:var(--surface-3)}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--brand);color:#fff;border-color:var(--brand)}input,select,textarea{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:6px;width:100%;min-width:0;padding:10px}input[type=checkbox]{width:18px;height:18px}textarea{min-height:80px}label{gap:7px;font-size:13px;display:grid}small{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.6;display:block}h1,h2,h3{color:var(--text)}h1{margin:8px 0 12px;font-size:30px}h2{margin:0 0 18px;font-size:19px}h3{font-size:16px}p{line-height:1.7}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-2);border-radius:6px;max-height:400px;padding:16px;font:12px/1.65 Consolas,monospace;overflow:auto}summary{cursor:pointer;padding:9px 0;font-size:13px}details p{font-size:12px}.logo{background:var(--logo-bg);width:44px;height:44px;color:var(--logo-fg);border-radius:11px;flex:none;place-items:center;font-size:18px;font-weight:800;display:grid}.app-shell{min-height:100vh;display:flex}.app-shell>aside{background:var(--side-bg);width:242px;color:var(--side-text);z-index:20;flex-direction:column;flex:none;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{align-items:center;gap:12px;padding:30px 21px;font-size:18px;font-weight:700;display:flex}.brand small{color:var(--side-foot);letter-spacing:.11em;font-size:9px}.app-shell nav{padding:10px 12px}.app-shell nav button{width:100%;color:var(--side-muted);text-align:left;background:0 0;border:0;border-radius:7px;justify-content:flex-start;gap:12px;margin:3px 0;padding:12px 15px;display:flex;position:relative}.app-shell nav button:hover,.app-shell nav button.selected{background:var(--side-hover);color:#fff}.nav-badge,.count-pill{color:#fff;background:#dc2626;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.app-shell nav button>.nav-badge{top:4px;position:absolute;inset-inline-end:5px}.count-pill{margin-inline-start:6px;position:static}.app-shell aside footer{color:var(--side-muted);gap:10px;margin-top:auto;padding:24px 27px;font-size:12px;display:grid}.app-shell aside footer small{color:var(--side-foot)}.app-main{width:calc(100% - 242px);margin-left:242px}.topbar{background:var(--surface);border-bottom:1px solid var(--card-border);align-items:center;gap:13px;height:76px;padding:0 30px;display:flex}.topbar>select{width:auto;max-width:250px}.currency-indicator{color:var(--muted);white-space:nowrap;font-size:12px}.finance-account-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;display:grid}.finance-account-grid article{background:var(--success-bg);border:2px solid var(--success-fg);overflow-wrap:anywhere;border-radius:12px;padding:18px;box-shadow:0 3px 12px #22c55e2e}.finance-total{background:var(--success-bg);border-left:4px solid var(--success-fg);border-radius:8px;margin:8px 0 14px;padding:10px 14px}.exchange-rates{background:var(--surface-2);border:1px solid var(--border-2);border-radius:10px;margin:12px 0 18px;padding:14px}.exchange-rates-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.exchange-rates-heading h3{margin:0}.exchange-rates-heading small{color:var(--muted)}.exchange-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.exchange-rate-grid article{background:var(--surface);border:1px solid var(--border-2);border-radius:8px;padding:10px}.exchange-rate-grid strong,.exchange-rate-grid b,.exchange-rate-grid small{display:block}.exchange-rate-grid b{color:var(--brand);margin:6px 0;font-size:20px}.exchange-rate-grid small{color:var(--muted)}@media (max-width:640px){.exchange-rate-grid{grid-template-columns:1fr}}.finance-account-grid strong{color:var(--brand);font-size:22px}.finance-center td{white-space:normal;overflow-wrap:anywhere;max-width:320px}.finance-entry-list{gap:10px;display:grid}.finance-entry{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;gap:6px;padding:12px 13px;display:grid}.finance-entry .entry-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.finance-entry .entry-head b{color:var(--text-2);font-variant-numeric:tabular-nums;font-size:13px}.finance-entry .entry-kind,.finance-entry .entry-balance{color:var(--muted);margin:0;font-size:12px}.finance-entry .entry-amount{color:var(--text-2);unicode-bidi:plaintext;margin:0;font-size:13px}.finance-entry .entry-amount b{color:var(--brand-2);font-variant-numeric:tabular-nums}.finance-entry .entry-note{color:var(--text-2);overflow-wrap:break-word;margin:0;font-size:12px;line-height:1.6}.finance-order-link{color:var(--brand);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:0 1px;font-weight:650;text-decoration:underline;display:inline}.finance-order-link:hover{color:var(--brand-2);background:color-mix(in srgb, var(--brand) 9%, transparent)}.finance-order-link:focus-visible{outline:2px solid var(--brand-2);outline-offset:2px}.finance-entry .entry-file{font-size:12px}.finance-entry .entry-meta{color:var(--muted-2);margin:0;font-size:11px}.finance-entry .actions{margin-top:2px}.finance-entry .actions>button{flex:0 auto;min-height:38px;padding:7px 11px;font-size:12px}.finance-center .toolbar{margin-top:12px}.mobile-menu-scrim{display:none}.top-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.language-switcher{max-width:118px;min-height:40px;padding:8px 6px;font-size:12px}.menu{display:none;position:relative}.menu>.nav-badge{top:-6px;position:absolute;inset-inline-end:-6px}.workspace{max-width:1600px;margin:auto;padding:32px}.heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.eyebrow{color:var(--brand);letter-spacing:.17em;margin:0;font-size:11px;font-weight:700}.heading span{color:var(--muted)}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:22px;display:flex}.toolbar>input{max-width:320px}.toolbar>label{max-width:230px}.toolbar>span{color:var(--muted);font-size:13px}.metrics{grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0;display:grid}.metrics section{background:var(--surface);border:1px solid var(--card-border);border-radius:12px;padding:22px}.metrics section:first-child{background:var(--metric-hero-bg);color:#fff;border-color:var(--metric-hero-bg)}.metrics section>span{color:var(--muted);font-size:13px}.metrics section:first-child>span{color:var(--metric-hero-span)}.metrics section:first-child strong{color:#fff}.metrics strong{letter-spacing:-.04em;margin:24px 0 16px;font-size:29px;display:block}.panel{background:var(--surface);border:1px solid var(--card-border);border-radius:12px;margin-bottom:22px;padding:24px}.accent-panel{background:var(--surface-3)}.data-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:var(--surface-2);color:var(--muted);border-bottom:1px solid var(--card-border);white-space:nowrap;padding:13px 12px;font-weight:500}td{border-bottom:1px solid var(--row-border);vertical-align:top;min-width:80px;padding:15px 12px}td .actions{min-width:140px}tr.product-archived>td{background:var(--surface-2);color:var(--muted)}tr.product-archived small{color:var(--muted)}td button{padding:7px 9px;font-size:12px}td details{min-width:140px}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pill{background:var(--success-bg);color:var(--success-fg);border-radius:5px;padding:5px 8px;font-size:12px;display:inline-block}.pill.warn{background:var(--warn-bg);color:var(--warn-fg)}.pill.gray{background:var(--surface-4);color:var(--muted)}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:15px;margin:20px 0;display:grid}.summary-grid>div{background:var(--surface-2);color:var(--muted);border-radius:8px;padding:15px;font-size:12px}.summary-grid strong{color:var(--text-2);margin-top:12px;font-size:19px;display:block}.helper{color:var(--muted);font-size:12px;line-height:1.8}.notice{background:var(--surface-3);border:1px solid var(--border-2);color:var(--muted);border-radius:8px;margin-bottom:20px;padding:13px 16px;font-size:13px}.error{color:var(--danger-fg);background:var(--danger-bg);overflow-wrap:anywhere;border-radius:7px;padding:14px}.gate-warn{color:var(--warn-fg);background:var(--warn-bg);border:1px solid var(--warn-border);overflow-wrap:anywhere;border-radius:8px;margin-bottom:14px;padding:13px 16px;font-size:13px;line-height:1.7}.date-rollover input[type=date]{border-color:var(--warn-border);background:var(--warn-bg);color:var(--warn-fg);font-weight:700}.date-rollover-hint{background:var(--warn-bg);border:1px solid var(--warn-border);color:var(--warn-fg);border-radius:6px;margin-top:6px;padding:8px 10px;font-size:12px;font-weight:600;line-height:1.6;display:block}.success{color:var(--success-fg);background:var(--success-bg);border-radius:7px;padding:10px 14px;font-size:13px;display:block}.empty{text-align:center;color:var(--muted-2);padding:24px}.modal-backdrop{z-index:40;background:#0009;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{color:inherit;background:var(--surface);border:0;border-radius:13px;width:800px;max-width:100%;max-height:92vh;margin:0;padding:26px;position:relative;overflow:auto;box-shadow:0 20px 90px #0009}.modal>header{justify-content:space-between;align-items:flex-start;margin-bottom:25px;display:flex}.modal>header h2{margin:0;font-size:20px}.modal>header button{padding:4px 12px;font-size:23px}.fields{grid-template-columns:1fr 1fr;gap:18px;display:grid}.fields>.wide{grid-column:1/-1}.fields>*{min-width:0}.fields>button{justify-self:stretch}.order-line{grid-template-columns:2fr .65fr 1fr auto;align-items:end;gap:9px;margin-bottom:16px;display:grid}.order-line.external{border:1px dashed var(--border-2);background:var(--surface-2);border-radius:8px;grid-template-columns:1.6fr 1.6fr .55fr .55fr .8fr .8fr 1.2fr auto;padding:8px}@media (max-width:900px){.order-line.external{grid-template-columns:1fr 1fr}}.order-invoice-number{border:2px solid var(--success-fg);background:var(--success-bg);color:var(--success-bg);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;padding:14px 18px;display:flex}.order-invoice-number span{font-size:16px;font-weight:600}.order-invoice-number strong{letter-spacing:2px;color:var(--success-fg);-webkit-user-select:text;user-select:text;font-size:28px}.order-line button{height:38px}.order-product-picker{min-width:0}.order-product-picker>span{margin-bottom:6px;display:block}.order-product-picker .order-product-trigger{text-align:left;justify-content:space-between;gap:8px;width:100%;height:auto;min-height:44px;display:flex}.order-product-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-product-panel{border:1px solid var(--border-2);background:var(--surface);border-radius:8px;margin-top:6px;padding:10px}.order-product-search{margin-bottom:8px;display:block}.order-product-results{overscroll-behavior:contain;max-height:min(240px,35dvh);overflow-y:auto}.order-product-results button{text-align:left;white-space:normal;overflow-wrap:anywhere;border:0;border-radius:4px;width:100%;height:auto;min-height:44px;display:block}.order-product-results button[aria-pressed=true]{background:var(--success-bg)}:is(.order-product-results button:hover,.order-product-results button:focus-visible){background:var(--surface-3)}@media (max-width:700px){.order-product-picker{grid-column:1/-1}}.line-editor{border:1px solid var(--border);border-radius:8px;padding:15px}.preview{background:var(--success-bg);border:1px solid var(--success-border);border-radius:8px;padding:18px}.listline{border-bottom:1px solid var(--surface-4);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.file-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-top:22px;display:grid}.file-grid article{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:8px;padding:12px}.file-grid img{object-fit:contain;background:var(--surface-2);width:100%;height:160px;margin-bottom:10px}.file-grid button{margin-top:12px}.file-grid .file-thumb-button{cursor:zoom-in;background:0 0;border:0;width:100%;margin:0;padding:0;display:block}.file-grid .file-name-button{width:100%;color:var(--text);font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;margin:0 0 8px;padding:0;text-decoration:underline;display:block}:is(.file-grid .file-thumb-button:focus-visible,.file-grid .file-name-button:focus-visible){outline:2px solid var(--brand-2);outline-offset:3px}.login{background:radial-gradient(at 20% 15%, var(--login-grad-from), var(--login-grad-to) 70%);grid-template-columns:minmax(0,440px);place-content:center;min-height:100vh;padding:30px;display:grid}.login>section{background:var(--surface);border-radius:17px;width:100%;padding:35px}.login .eyebrow{margin-top:24px}.login h1{font-size:25px}.login .fields{grid-template-columns:1fr;margin-top:25px;display:grid}.login p{color:var(--muted)}.login .error{color:var(--danger-fg)}.print-sheet{display:none}.customer-thumb{object-fit:contain;vertical-align:middle;border-radius:6px;width:64px;height:64px;margin-right:8px}.mobile-only{display:none}.ai-fab{z-index:30;background:var(--ai-fab);color:#fff;border-radius:999px;width:52px;height:52px;font-weight:800;position:fixed;bottom:22px;right:22px;box-shadow:0 8px 25px #082f4966}.ai-workbench-backdrop{z-index:50;background:#0009;place-items:end;padding:22px;display:grid;position:fixed;inset:0}.ai-workbench{background:var(--surface);border:0;border-radius:16px;flex-direction:column;width:min(560px,100%);height:min(720px,100dvh - 44px);margin:0;padding:0;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 70px #00000080}.ai-workbench>label{padding:8px 16px}.ai-workbench>.ai-messages{flex:1;min-height:0}.ai-workbench header,.ai-workbench footer{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.ai-workbench header small{color:var(--muted);margin-top:4px;display:block}.ai-messages{background:var(--surface-2);align-content:start;gap:12px;padding:16px;display:grid;overflow:auto}.ai-messages article{background:var(--surface);border-radius:12px;max-width:92%;padding:10px 12px;box-shadow:0 1px 3px #00000059}.ai-messages article.user{background:var(--surface-3);justify-self:end}.ai-messages pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:6px 0 0}.ai-workbench>textarea{resize:vertical;min-height:78px;margin:12px 16px 8px}.key-status{border:1px solid var(--success-border);background:var(--success-bg);border-radius:8px;gap:6px;padding:12px;display:grid}.key-status small{color:var(--muted)}.row-actions{flex-wrap:wrap;gap:6px;display:flex}.todo-panel h3{margin:0 0 12px}.todo-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;display:grid}.todo-grid button{border:1px solid var(--card-border);background:var(--surface-2);color:var(--text);text-align:start;border-radius:8px;justify-content:flex-start;align-items:center;gap:8px;padding:10px 12px;display:flex}.todo-grid button:hover{border-color:var(--brand)}.business-index h3{margin:26px 0 12px}.index-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;display:grid}.index-card{border:1px solid var(--card-border);background:var(--surface);border-radius:10px;padding:14px 16px}.index-card h3{margin:0 0 8px}.index-big{color:var(--brand);font-size:26px;display:block}.index-mini{border-collapse:collapse;width:100%;margin:8px 0 4px}.index-mini th,.index-mini td{text-align:start;border-bottom:1px solid var(--row-border);padding:5px 6px;font-size:12px}.index-mini th{color:var(--muted);white-space:nowrap;font-weight:600}.index-pending .index-card{background:var(--surface-2)}.index-mini.season th,.index-mini.season td{text-align:center;padding:2px 3px;font-size:10px}.index-mini.season th:first-child{text-align:start}.index-mini.season td.peak{background:var(--surface-3);color:var(--brand);font-weight:700}.v3-panel h3{margin:24px 0 14px}.v3-panel .success,.success{white-space:pre-wrap;overflow-wrap:anywhere}.v3-panel label input[type=checkbox],.modal input[type=checkbox]{width:22px;height:22px;display:block}.app-shell>aside{overflow-y:auto}.quotation-meta,.print-sheet footer{justify-content:space-between;gap:20px;display:flex}.print-sheet td img{object-fit:contain;max-width:90px;max-height:75px;margin-top:6px;display:block}.quotation-total{text-align:right;break-inside:avoid;margin-top:16px}.print-sheet footer{break-inside:avoid;margin-top:40px}@media (max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.workspace{padding:25px}.topbar{padding:0 20px}.top-actions button{padding:8px;font-size:12px}.app-shell>aside{width:215px}.app-main{width:calc(100% - 215px);margin-left:215px}}@media (max-width:760px){.mobile-menu-scrim{z-index:19;background:#0000008c;border:0;border-radius:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.app-shell>aside{display:none}.app-shell>aside.open{top:calc(58px + env(safe-area-inset-top));display:flex;box-shadow:0 0 0 100vw #0000008c}.app-main{width:100%;margin:0}.menu{display:inline-flex}.topbar{gap:8px;padding:0 12px}.menu{touch-action:manipulation;flex:0 0 48px;justify-content:center;align-items:center;width:48px;min-width:48px;height:48px;min-height:48px;padding:0}.topbar>select{max-width:130px;font-size:12px}.top-actions{gap:4px}.top-actions button{padding:7px;font-size:10px}.workspace{padding:22px 13px}.login{padding:18px 14px}.login>section{padding:24px 18px}.login h1{font-size:21px}.heading h1{font-size:25px}.panel{padding:16px}.metrics{gap:10px}.metrics section{padding:16px}.metrics strong{font-size:24px}.fields{grid-template-columns:1fr}.order-line{grid-template-columns:1fr 1fr}.modal-backdrop{padding:12px}.modal{padding:18px}.file-grid{grid-template-columns:1fr 1fr}button,[role=button],.topbar select,input,select,textarea{min-height:44px}button{padding:11px 14px;font-size:14px}.topbar{height:auto;min-height:calc(58px + env(safe-area-inset-top));padding-top:max(8px, env(safe-area-inset-top));padding-bottom:8px;padding-left:max(20px, calc(env(safe-area-inset-left) + 12px));padding-right:max(20px, calc(env(safe-area-inset-right) + 12px));flex-wrap:nowrap}.topbar>.branch-switcher{width:86px;min-width:0;max-width:86px;min-height:44px;padding:8px 5px;font-size:12px}.currency-indicator{font-size:11px}.top-actions{flex-wrap:nowrap;margin-left:auto}.top-actions button{min-width:44px;min-height:44px;padding:8px 9px;font-size:12px}.toolbar{gap:8px}.toolbar>button,.toolbar>.primary{flex:145px}.table-wrap,.panel>table,.panel table{-webkit-overflow-scrolling:touch;width:100%;display:block;overflow-x:auto}td,th{white-space:nowrap;padding:12px 10px!important}.modal-backdrop{z-index:60;align-items:flex-end;padding:0}.modal{max-height:92dvh;padding:0 16px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:18px 18px 0 0;margin:0;scroll-padding-top:64px;width:100%!important;max-width:none!important}.modal>header{z-index:3;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 8px 18px var(--scrim);border-radius:18px 18px 0 0;align-items:center;gap:10px;margin:0 -16px 14px;padding:12px 16px 10px;position:sticky;top:0}.modal>header>div{min-width:0}.modal>header h2{overflow-wrap:anywhere;font-size:16px;line-height:1.3}.modal>header small,.modal>header p.helper{margin:3px 0 0;font-size:11px}.modal>header p.helper{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.modal>header button{border:1px solid var(--border);background:var(--surface-3);min-width:44px;min-height:44px;color:var(--text-2);border-radius:11px;flex:none;justify-content:center;padding:0 12px;font-size:18px;line-height:1}:is(.modal>header button:hover,.modal>header button:focus-visible){background:var(--brand-deep);border-color:var(--muted-2);color:var(--on-brand)}.modal input,.modal select,.modal textarea{font-size:16px}.modal .fields>*,.modal .wide,.modal .order-line>*,.modal .shipment-grid>*,.modal .shipment-sku>*{min-width:0}.modal td,.modal th{white-space:normal;overflow-wrap:anywhere;font-size:12px}.modal td:first-child,.modal th:first-child{white-space:nowrap}.data-scroll{-webkit-overflow-scrolling:touch}table{min-width:0}thead th:first-child{z-index:4;background:var(--surface-2);position:sticky;left:0}td,th{padding:10px 8px!important}.modal input[type=checkbox]{min-width:44px;min-height:44px}.actions{gap:8px}.actions>button{flex:135px}.ai-fab{width:56px;height:56px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:25}.mobile-only{display:block}.desktop-only{display:none!important}.modal .summary-grid{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.modal .summary-grid>div{border-radius:9px;padding:9px 11px;font-size:11px}.modal .summary-grid strong{margin-top:5px;font-size:17px}.modal .order-id{display:none}.modal .wide>h3{margin:0 0 10px;font-size:15px;line-height:1.4}.order-lines{gap:8px;margin:10px 0 4px;display:grid}.order-lines article{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;gap:3px;padding:10px 12px;display:grid}.order-lines b{color:var(--text);overflow-wrap:anywhere;font-size:13px}.order-lines small{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.order-lines .line-math{color:var(--text-2);justify-content:space-between;align-items:baseline;gap:10px;font-size:12px;display:flex}.order-lines .line-math strong{color:var(--brand-2);font-variant-numeric:tabular-nums;font-size:15px}.product-list{gap:8px;display:grid}.product-list article{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;gap:5px;padding:11px 12px;display:grid}.product-list article.archived{opacity:.6}.product-list .product-name{width:100%;min-height:40px;color:var(--text);text-align:left;overflow-wrap:anywhere;background:0 0;border:0;justify-content:flex-start;padding:6px 0;font-size:14px;font-weight:700}:is(.product-list .product-name:hover,.product-list .product-name:focus-visible){color:var(--brand-2);text-decoration:underline}.product-list .product-meta{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:11px}.product-list .product-stock-line{color:var(--text-2);flex-wrap:wrap;gap:6px 12px;font-size:12px;display:flex}.product-list .product-stock-line .price{color:var(--brand-2);font-weight:700}.product-list .actions{margin-top:2px}.product-list .actions>button{flex:0 auto;min-height:38px;padding:7px 11px;font-size:12px}.finance-account-grid{grid-template-columns:1fr;gap:10px}.finance-account-grid article{border-width:1px;padding:13px 14px}.finance-account-grid h3{margin:0 0 4px;font-size:15px}.finance-account-grid p{margin:3px 0;font-size:12px;line-height:1.5}.finance-account-grid strong{margin:4px 0 6px;font-size:19px;display:block}.finance-account-grid .account-meta{display:none}.finance-account-grid>article>button,.finance-account-grid .actions>button{min-height:38px;margin:2px 2px 0 0;padding:7px 11px;font-size:12px}}@media (max-width:400px){.topbar{padding-left:max(18px, calc(env(safe-area-inset-left) + 10px));padding-right:max(18px, calc(env(safe-area-inset-right) + 10px));gap:5px}.topbar>.branch-switcher{width:72px;max-width:72px;padding:6px 4px;font-size:11px}.currency-indicator{font-size:10px}.top-actions{gap:3px}.top-actions button,.top-actions .apk-download{min-width:40px;padding:6px;font-size:11px}.topbar>.language-switcher{max-width:88px;padding:6px 4px;font-size:11px}}@media (max-width:340px){.currency-indicator{display:none}.topbar>.branch-switcher{width:64px;max-width:64px}.topbar>.language-switcher{max-width:74px}}[dir=rtl] body{font-family:Segoe UI,Tahoma,Noto Naskh Arabic,Noto Sans Arabic,Arial,Microsoft YaHei,sans-serif}[dir=rtl] th{text-align:right}[dir=rtl] td,[dir=rtl] th,[dir=rtl] .listline,[dir=rtl] .summary-grid>div{unicode-bidi:plaintext}[dir=rtl] td,[dir=rtl] th,[dir=rtl] .finance-entry,[dir=rtl] .product-list article,[dir=rtl] .order-lines article{word-break:normal;overflow-wrap:break-word;-webkit-hyphens:none;hyphens:none}[dir=rtl] .finance-center td{max-width:none}[dir=rtl] .app-shell nav button{text-align:right}[dir=rtl] .data-scroll thead th:first-child{left:auto;right:0}[dir=rtl] input,[dir=rtl] textarea,[dir=rtl] select{text-align:right}[dir=rtl] input[type=date],[dir=rtl] input[type=month],[dir=rtl] input[type=number],[dir=rtl] input[type=tel],[dir=rtl] input[type=password]{text-align:right;direction:ltr}[dir=rtl] .order-lines .line-math,[dir=rtl] .product-list .product-stock-line{direction:rtl}[dir=rtl] .modal>header button,[dir=rtl] .app-shell nav button{text-align:center}@media print{body{background:#fff}.app-shell,.modal-backdrop{display:none!important}.print-sheet{color:#000;padding:3mm;font-size:11pt;display:block}.print-sheet header{text-align:center;display:block}.print-sheet h1{font-size:20pt}.print-sheet h2{text-align:center;font-size:15pt}.print-sheet table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:10pt}.print-sheet th,.print-sheet td{white-space:normal;overflow-wrap:anywhere;color:#000;border:1px solid #222;padding:8px}.print-sheet th:first-child{width:9%}.print-sheet th:nth-child(2){width:40%}.print-sheet thead{display:table-header-group}.print-sheet tr{break-inside:avoid}.print-sheet .data-scroll{overflow:visible}button{display:none!important}@page{size:A4;margin:8mm}}.exchange-rate-grid article{position:relative;overflow:hidden}.exchange-rate-grid b{-webkit-user-select:none;user-select:none}.exchange-chart{opacity:.25;pointer-events:none;width:calc(100% - 16px);height:calc(100% - 78px);position:absolute;inset:58px 8px 20px}.candle-up{stroke:var(--success-fg);fill:var(--success-fg)}.candle-down{stroke:var(--danger-fg);fill:var(--danger-fg)}.exchange-zoom{color:var(--muted);align-items:center;gap:12px;margin-top:10px;display:flex}.exchange-zoom input{flex:1}.exchange-rate-grid .rate-trend{color:var(--brand);background:var(--surface-2);border:1px solid var(--border-2);cursor:pointer;border-radius:6px;margin:6px 0 0;padding:4px 10px;font-size:12px;display:inline-block}.exchange-rate-grid .rate-trend:hover{background:var(--surface-3)}.top-actions .apk-download{border:1px solid var(--border);background:var(--surface);color:var(--text-2);border-radius:7px;align-items:center;padding:9px 13px;font-size:14px;text-decoration:none;transition:background .16s,border-color .16s,color .16s;display:inline-flex}:is(.top-actions .apk-download:hover,.top-actions .apk-download:focus-visible){background:var(--surface-3);border-color:var(--muted-2);color:var(--text);text-decoration:none}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:where(button,input,select,textarea,a,summary,[tabindex]):focus-visible{box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--brand-2);outline:none}tbody tr{transition:background-color .16s}tbody tr:hover{background:var(--surface-4)}a,a:hover{color:var(--brand-2)}button:hover:not(:disabled){border-color:var(--muted-2)}button.primary:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}::selection{background:var(--brand-deep);color:var(--on-brand)}*{scrollbar-color:var(--border-2) var(--surface-2)}@media (prefers-reduced-motion:reduce){*{transition-duration:.001ms!important;animation-duration:.001ms!important}}.eyebrow{color:var(--brand-2)}.heading h1{letter-spacing:-.025em;color:var(--text);font-size:29px;font-weight:700}.heading span{color:var(--muted);font-size:13px}.panel h2{color:var(--text);font-size:17px;font-weight:600}.panel h3{color:var(--text)}.finance-account-grid h3{color:var(--success-fg);font-weight:700}.metrics strong,.amount,.summary-grid strong,td,.listline,.finance-account-grid strong{font-variant-numeric:tabular-nums}.metrics strong{color:var(--text);font-size:30px;font-weight:700}.metrics section>span{color:var(--muted);font-size:13px;font-weight:500}.metrics section{border-top:3px solid var(--surface-3);transition:border-color .16s,background .16s}.metrics section:first-child{border-top-color:var(--brand)}.metrics section:nth-child(2){border-top-color:var(--warn-fg)}.metrics section:nth-child(3){border-top-color:#a78bfa}.metrics section:nth-child(4){border-top-color:var(--muted-2)}.metrics section:hover{border-color:var(--border-2);border-top-color:inherit}thead th{z-index:3;position:sticky;top:0}th{letter-spacing:.02em;color:var(--muted);font-size:12px;font-weight:600}td{color:var(--text-2);font-size:13px}tbody tr:hover td{color:var(--text)}.modal-backdrop{background:var(--scrim-strong);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{border:1px solid var(--border)}.file-grid article{transition:border-color .16s,background .16s}.file-grid article:hover,.file-grid article:focus-within{border-color:var(--border-2);background:var(--surface-3)}.listline:hover{background:var(--surface-3)}svg[role=img] line[stroke="var(--chart-grid)"]{stroke:var(--surface-3)!important}svg[role=img] text[fill="var(--muted-2)"],svg[role=img] text[fill="var(--muted)"]{fill:var(--muted)!important}svg[role=img] [stroke=\#0f766e]{stroke:var(--success-fg)!important}svg[role=img] [fill=\#0f766e]{fill:var(--success-fg)!important}svg[role=img] [stroke="var(--brand)"]{stroke:var(--brand-2)!important}svg[role=img] [fill="var(--brand)"]{fill:var(--brand-2)!important}svg[role=img] [stroke="var(--success-fg)"]{stroke:var(--success-fg)!important}svg[role=img] [fill="var(--success-fg)"]{fill:var(--success-fg)!important}svg[role=img] [stroke="var(--warn-fg)"]{stroke:var(--warn-fg)!important}svg[role=img] [fill="var(--warn-fg)"]{fill:var(--warn-fg)!important}svg[role=img] [stroke="var(--danger-fg)"]{stroke:var(--danger-fg)!important}svg[role=img] [fill="var(--danger-fg)"]{fill:var(--danger-fg)!important}svg[role=img] [stroke=\#7c3aed]{stroke:#a78bfa!important}svg[role=img] [fill=\#7c3aed]{fill:#a78bfa!important}svg[role=img] [stroke=\#db2777]{stroke:#f472b6!important}svg[role=img] [fill=\#db2777]{fill:#f472b6!important}svg[role=img] [stroke=\#0891b2]{stroke:#22d3ee!important}svg[role=img] [fill=\#0891b2]{fill:#22d3ee!important}
