/* ARDUSAN workspace — shared presentation, isolated from specialist catalogue/order widgets. */
html[data-theme=dark]{background:#172130}
.workspace-shell{--ws-ink:#25364a;--ws-muted:#607086;--ws-surface:#fff;--ws-canvas:#f5f6f8;--ws-soft:#f4f7fa;--ws-line:#e2e8ef;--ws-accent:#cf344c;--ws-focus:#6f8eae;--ws-green:#28795c;--ws-green-bg:#edf7f1;--ws-red:#bd4256;--ws-red-bg:#fff0f3;--ws-amber:#94651b;--ws-amber-bg:#fcf5e8;--ws-radius:10px;--ws-title:24px;--ws-body:14px;--ws-label:13px;--ws-small:12px;--ws-control:44px;color:var(--ws-ink)}
.workspace-shell.erp-dark{--ws-ink:#e1e9f2;--ws-muted:#acbacb;--ws-surface:#1d2939;--ws-canvas:#172130;--ws-soft:#26364a;--ws-line:#35465b;--ws-focus:#86a7c9;--ws-green:#94d9b8;--ws-green-bg:#243f38;--ws-red:#f4a6b6;--ws-red-bg:#412e3b;--ws-amber:#e1bd79;--ws-amber-bg:#3a352a;--bg:var(--ws-canvas);--card:var(--ws-surface);--text:var(--ws-ink);--muted:var(--ws-muted);--line:var(--ws-line);--green:var(--ws-green);--green-bg:var(--ws-green-bg);--red:var(--ws-red);--red-bg:var(--ws-red-bg);--amber:var(--ws-amber);--amber-bg:var(--ws-amber-bg)}
.workspace-skip{position:fixed;left:18px;top:-80px;z-index:1000;padding:12px 18px;border-radius:9px;background:var(--ws-ink);color:var(--ws-surface)}.workspace-skip:focus{top:12px}
.workspace-shell .erp-toolbar{min-height:52px;gap:14px}.workspace-shell .erp-toolbar input{width:300px;max-width:100%;height:40px;border-radius:9px}.workspace-shell .erp-toolbar>a{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-surface);color:var(--ws-muted)}
.workspace-shell .erp-sidebar{border-color:var(--ws-line)}.workspace-shell .erp-group summary{min-height:40px;font-size:12px;line-height:1.7}.workspace-shell .erp-group .nav a{min-height:40px;border-radius:9px;gap:10px}.workspace-shell .sidefoot{padding-top:16px;min-height:70px}.workspace-shell .sidefoot strong{font-size:12px}.workspace-shell .sidefoot small{font-size:12px}.workspace-shell .erp-icon-btn{min-height:36px;min-width:36px}.workspace-shell .erp-toolbar :is(input,button,a):focus-visible,.workspace-shell .erp-nav a:focus-visible{outline:3px solid color-mix(in srgb,var(--ws-focus) 50%,transparent);outline-offset:3px}
.workspace-standard .erp-main{background:var(--ws-canvas);padding:25px 32px 50px;max-width:1800px}.workspace-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;line-height:1.7;color:var(--ws-muted);margin:1px 0 22px}.workspace-breadcrumb [aria-current]{color:var(--ws-ink)}.workspace-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}.workspace-breadcrumb>span[aria-hidden]{opacity:.4}
.workspace-standard .topbar{margin-bottom:26px;gap:20px;align-items:center}.workspace-standard .topbar h1,.workspace-standard .erp-page-title{font-size:var(--ws-title);font-weight:700;line-height:1.25;letter-spacing:-1px;color:var(--ws-ink);margin:0}.workspace-standard .eyebrow{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ws-muted);letter-spacing:1.4px;font-weight:650;margin-bottom:10px}.workspace-standard .eyebrow:before{content:'';width:18px;height:2px;border-radius:2px;background:var(--ws-accent)}.workspace-standard .topbar p,.workspace-standard .erp-muted{font-size:var(--ws-body);line-height:1.85;color:var(--ws-muted);margin:8px 0 0;max-width:850px}.workspace-standard .erp-page-title+.erp-muted{margin-bottom:23px}
.workspace-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.workspace-heading-icon{display:grid;place-items:center;flex-shrink:0;width:52px;height:52px;border:1px solid var(--ws-line);border-radius:14px;background:var(--ws-surface);color:var(--ws-muted)}.workspace-heading-icon svg{width:25px;height:25px}
.workspace-standard :is(.card,.erp-panel){background:var(--ws-surface);border:1px solid var(--ws-line);border-radius:var(--ws-radius);padding:24px;box-shadow:none;min-width:0}.workspace-standard .erp-panel{margin-bottom:18px}.workspace-standard :is(.card,.erp-panel) h2{font-size:16px;line-height:1.5;font-weight:680;letter-spacing:-.2px;color:var(--ws-ink)}.workspace-standard :is(.card,.erp-panel) h3{font-size:14px;line-height:1.6}.workspace-standard .card-head{margin-bottom:18px;gap:15px}.workspace-standard .card-sub{font-size:var(--ws-small);color:var(--ws-muted);line-height:1.8;margin-top:5px}
.workspace-standard .grid4{gap:14px;margin-bottom:20px}.workspace-standard .grid4:has(>:only-child){grid-template-columns:1fr}.workspace-standard .grid4:has(>:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-standard .grid4:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-standard :is(.stat,.erp-kpi){position:relative;padding:20px;background:var(--ws-surface);border:1px solid var(--ws-line);border-radius:13px;box-shadow:none;min-width:0;min-height:113px}.workspace-standard :is(.stat,.erp-kpi) span,.workspace-standard .erp-kpi small{font-size:12px;line-height:1.6;color:var(--ws-muted)}.workspace-standard :is(.stat,.erp-kpi) strong{font-size:28px;line-height:1.35;letter-spacing:-.7px;font-weight:720;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:10px;color:var(--ws-ink)}.workspace-standard .stat small{font-size:11px;line-height:1.7;margin-top:8px;color:var(--ws-muted)}.workspace-standard .stat.is-primary{background:#293c52;border-color:#293c52}.workspace-standard .stat.is-primary strong{color:white}.workspace-standard .stat.is-primary :is(span,small){color:#d0dbea}.workspace-standard .stat.is-positive strong{color:var(--ws-green)}.workspace-standard .stat.is-warning strong{color:var(--ws-amber)}.workspace-standard .stat.is-danger strong{color:var(--ws-red)}
.workspace-standard .grid2{gap:20px;grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);align-items:start}.workspace-standard .grid2.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-standard .grid2>*{min-width:0}.workspace-standard .workspace-record-layout{grid-template-columns:1fr}
.workspace-standard .btn,.workspace-standard .erp-quick :is(a,button){display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:10px 16px;font-size:var(--ws-label);font-weight:600;line-height:1.5;border-radius:9px;border:1px solid var(--ws-line);background:var(--ws-surface);color:var(--ws-ink);box-shadow:none;cursor:pointer;max-width:100%}.workspace-standard .btn.primary,.workspace-standard .erp-quick .primary{background:#293e55;color:#fff;border-color:#293e55}.workspace-standard .btn.danger{color:var(--ws-red);border-color:color-mix(in srgb,var(--ws-red) 25%,var(--ws-line))}.workspace-standard .btn.small{min-height:36px;padding:6px 12px;font-size:12px}.workspace-standard .btn:hover,.workspace-standard .erp-quick a:hover{transform:none;background:var(--ws-soft);border-color:var(--ws-focus)}.workspace-standard .btn.primary:hover{background:#3b5673;color:#fff}.workspace-standard :is(button,input,select,a,summary,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--ws-focus) 36%,transparent);outline-offset:3px}.workspace-standard button:disabled{cursor:default;opacity:.5;box-shadow:none}.workspace-standard .actions{gap:9px;align-items:center}.workspace-standard .erp-quick{gap:8px;margin:17px 0 24px}.workspace-standard .erp-quick [aria-current=page]{background:#293e55;color:white;border-color:#293e55}
.workspace-standard .form{gap:17px}.workspace-standard .form.grid{gap:19px 18px}.workspace-standard .form label{font-size:var(--ws-label);font-weight:550;line-height:1.65;color:var(--ws-ink);min-width:0;letter-spacing:0}.workspace-standard .form :is(input,select,textarea),.workspace-standard .erp-form :is(input,select,textarea){width:100%;min-width:0;min-height:44px;border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-surface);color:var(--ws-ink);font-size:var(--ws-body);line-height:1.5;padding:10px 12px;margin-top:7px;max-width:100%;box-shadow:none}.workspace-standard .form textarea{min-height:100px;resize:vertical}.workspace-standard .form input::placeholder,.workspace-standard .erp-form input::placeholder{color:var(--ws-muted);opacity:.8}.workspace-standard input[type=checkbox],.workspace-standard input[type=radio]{width:17px;min-width:17px;height:17px;min-height:17px;accent-color:#395975}.workspace-standard input[type=file]{padding:8px;white-space:normal}.workspace-standard input::file-selector-button{border:1px solid var(--ws-line);background:var(--ws-soft);color:var(--ws-ink);padding:7px 10px;border-radius:6px;margin-right:10px}.workspace-standard .erp-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:end;gap:18px;margin:18px 0 0}.workspace-standard .erp-form label{display:grid;gap:0;font-size:var(--ws-label);color:var(--ws-ink);min-width:0}.workspace-standard .erp-form button{min-height:44px;border-radius:9px;padding:11px 16px;font-size:12px;background:#293e55;color:white;align-self:end;border:1px solid #293e55}.workspace-standard .erp-form .erp-quick{grid-column:1/-1;margin:4px 0 0}.workspace-standard .erp-form .erp-quick button{width:auto}.workspace-standard .form :is(input,select,textarea):disabled{background:var(--ws-soft);color:var(--ws-muted)}.workspace-standard input[readonly],.workspace-standard textarea[readonly]{background:var(--ws-soft)}.workspace-standard [aria-invalid=true]{border-color:var(--ws-red)!important}
.workspace-standard .table-wrap{border:1px solid var(--ws-line);border-radius:11px;background:var(--ws-surface);max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#aebdcb transparent;overscroll-behavior-x:contain}.workspace-standard .table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;min-width:640px;width:100%}.workspace-standard .table th{background:var(--ws-soft);font-size:var(--ws-label);font-weight:600;line-height:1.6;color:var(--ws-muted);padding:14px;border-bottom:1px solid var(--ws-line);white-space:nowrap}.workspace-standard .table td{padding:16px 14px;font-size:var(--ws-body);line-height:1.7;border-bottom:1px solid var(--ws-line);color:var(--ws-ink);vertical-align:middle;overflow-wrap:anywhere}.workspace-standard .table td strong{font-weight:650}.workspace-standard .table tbody tr:nth-child(even){background:color-mix(in srgb,var(--ws-soft) 40%,var(--ws-surface))}.workspace-standard .table tbody tr:hover{background:var(--ws-soft)}.workspace-standard .table td.right{white-space:nowrap}.workspace-standard .table a.link{color:var(--ws-ink);text-decoration:underline;text-decoration-color:var(--ws-line);text-underline-offset:4px}.workspace-standard .smalltext{font-size:var(--ws-small);line-height:1.75}.workspace-standard .muted{color:var(--ws-muted)}.workspace-standard .badge{font-size:var(--ws-small);font-weight:600;line-height:1.5;padding:5px 9px;border-radius:7px;white-space:nowrap}.workspace-standard .badge.gray{background:var(--ws-soft);color:var(--ws-muted)}.workspace-standard .badge.blue{background:var(--ws-soft);color:var(--ws-ink)}
.workspace-standard .toolbar{gap:9px;margin-bottom:16px}.workspace-standard .toolbar :is(input,select),.workspace-standard input.search{min-height:42px;border:1px solid var(--ws-line);border-radius:9px;font-size:13px;padding:10px 12px;color:var(--ws-ink);background:var(--ws-surface);max-width:100%;min-width:0}.workspace-table-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 13px}.workspace-table-tools label{display:flex;align-items:center;gap:9px;flex:1;min-width:180px;max-width:420px;border:1px solid var(--ws-line);border-radius:9px;padding:0 12px;background:var(--ws-soft);color:var(--ws-muted)}.workspace-table-tools input{height:42px;min-height:42px;background:transparent;border:0;color:var(--ws-ink);min-width:0;width:100%;font-size:12px;outline-offset:0}.workspace-table-tools input:focus-visible{outline:none}.workspace-table-tools label:focus-within{outline:3px solid color-mix(in srgb,var(--ws-focus) 25%,transparent);outline-offset:2px}.workspace-table-count{font-size:11px;color:var(--ws-muted);font-variant-numeric:tabular-nums;margin-left:auto}.workspace-table-clear{min-height:36px!important}.workspace-scroll-hint{font-size:11px;color:var(--ws-muted);margin:9px 0 0;display:flex;align-items:center;gap:7px}.workspace-scroll-hint[hidden]{display:none}.workspace-standard [hidden]{display:none!important}.workspace-table-empty td{padding:35px 18px!important;text-align:center;color:var(--ws-muted)!important}
.workspace-standard .empty,.workspace-standard .erp-empty{padding:46px 22px;font-size:13px;line-height:1.85;color:var(--ws-muted);text-align:center}.workspace-standard .flash{padding:15px 17px;border-radius:10px;font-size:12px;line-height:1.8;border:1px solid transparent}.workspace-standard .flash.error{background:var(--ws-red-bg);color:var(--ws-red);border-color:color-mix(in srgb,var(--ws-red) 18%,transparent)}.workspace-standard .flash.success{background:var(--ws-green-bg);color:var(--ws-green)}.workspace-standard .erp-note{padding:15px 17px;background:var(--ws-soft);border:1px solid var(--ws-line);border-radius:10px;font-size:12px;color:var(--ws-muted);line-height:1.85}.workspace-standard .erp-task-row{font-size:13px;line-height:1.7;padding:15px 0;border-color:var(--ws-line)}.workspace-standard .erp-task-row a{flex-shrink:0;font-size:12px;min-height:35px;padding:7px 11px;border:1px solid var(--ws-line);border-radius:7px;color:var(--ws-ink)}
.workspace-create{border:1px solid var(--ws-line);border-radius:13px;background:var(--ws-surface);scroll-margin-top:24px}.workspace-create>summary{cursor:pointer;list-style:none;font-size:14px;font-weight:650;padding:19px 22px;display:flex;align-items:center;gap:10px}.workspace-create>summary:before{content:'+';display:grid;place-items:center;width:25px;height:25px;background:var(--ws-soft);border-radius:7px;font-size:18px;color:var(--ws-muted)}.workspace-create[open]>summary:before{content:'−'}.workspace-create>summary::-webkit-details-marker{display:none}.workspace-standard .workspace-create>section{border:0;border-top:1px solid var(--ws-line);border-radius:0 0 13px 13px;max-width:none;box-shadow:none}.workspace-create .form{max-width:900px}.workspace-create .form:not(.grid){grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-create .form>label:has(textarea),.workspace-create .form>button{grid-column:1/-1}.workspace-create .form>button{justify-self:start;min-width:180px}.workspace-create .form:before{display:none}
.workspace-standard .record-menu>button{width:34px;height:34px;min-height:34px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-surface);color:var(--ws-muted)}.workspace-standard .record-menu-list{background:var(--ws-surface);border:1px solid var(--ws-line);box-shadow:0 12px 35px #142a4220;border-radius:10px;padding:7px}.workspace-standard .record-menu-list :is(a,button){font-size:13px;padding:10px;border-radius:6px;color:var(--ws-ink)}.workspace-standard .record-menu-list :is(a,button):hover{background:var(--ws-soft)}.workspace-standard .record-menu-list a.danger{color:var(--ws-red)}
.workspace-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.workspace-link-card{display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:23px;border:1px solid var(--ws-line);border-radius:14px;background:var(--ws-surface);color:var(--ws-ink);min-height:210px}.workspace-link-card>i{font-style:normal;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--ws-line);background:var(--ws-soft);border-radius:11px;color:var(--ws-muted)}.workspace-link-card h2{font-size:17px;margin:0}.workspace-link-card p{font-size:12px;color:var(--ws-muted);line-height:1.85;margin:0}.workspace-link-card>span{margin-top:auto;font-size:12px;font-weight:650;padding-top:5px}.workspace-link-card:hover{border-color:var(--ws-focus);box-shadow:0 5px 20px #1b35490a}.workspace-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 16px}.workspace-section-heading h2{font-size:18px;margin:0}.workspace-subtle{font-size:11px;color:var(--ws-muted);line-height:1.9}.workspace-feature-note{display:flex;align-items:flex-start;gap:13px;padding:20px;border:1px solid var(--ws-line);border-radius:12px;background:var(--ws-soft);font-size:12px;line-height:1.9;color:var(--ws-muted)}.workspace-feature-note strong{display:block;color:var(--ws-ink);margin-bottom:5px}.workspace-feature-note p{margin:0}
.workspace-stock-state{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--ws-green)}.workspace-stock-state.is-critical{color:var(--ws-red)}.workspace-stock-state:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.workspace-code{display:inline-block;padding:3px 6px;border-radius:5px;background:var(--ws-soft);font-size:11px;font-weight:600;letter-spacing:.2px}.workspace-recipe{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(110px,.7fr);gap:12px;padding:14px;border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-soft)}.workspace-standard .workspace-recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-column:1/-1}.workspace-form-footer{grid-column:1/-1;display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--ws-line)}.workspace-form-footer small{font-size:11px;line-height:1.8;color:var(--ws-muted)}
/* Module bridges: finance, invoices, taxes, vehicles, documents, settings. */
.workspace-standard .finance-filter :is(input,select),.workspace-standard :is(.invoice-filter,.range-form) :is(input,select),.workspace-standard .acc-month-form input{background:var(--ws-surface);color:var(--ws-ink);border:1px solid var(--ws-line);border-radius:8px;min-height:43px;font-size:12px;max-width:100%;min-width:0}.workspace-standard .finance-filter label{font-size:11px;color:var(--ws-muted)}.workspace-standard .quick-dates button{min-height:36px;border-radius:7px;font-size:11px;background:var(--ws-surface);color:var(--ws-ink);border:1px solid var(--ws-line)}.workspace-standard .finance-stats .stat:first-child strong{color:var(--ws-green)}.workspace-standard .finance-stats .stat:nth-child(2) strong{color:var(--ws-red)}.workspace-standard .break-label{font-size:12px;color:var(--ws-ink)}.workspace-standard .break-track{background:var(--ws-soft)}.workspace-standard .break-track i{background:#7797b5}.workspace-standard .axis-text{fill:var(--ws-muted);font-size:11px}.workspace-standard .grid-line{stroke:var(--ws-line)}.workspace-standard .entity-editor{max-width:1000px}.workspace-standard .tax-type-card,.workspace-standard .doccard,.workspace-standard .vehicle-card{background:var(--ws-surface);border-color:var(--ws-line);border-radius:13px;color:var(--ws-ink);box-shadow:none}.workspace-standard .tax-type-card small,.workspace-standard .vehicle-meta,.workspace-standard .doccard small{color:var(--ws-muted);font-size:11px;line-height:1.75}.workspace-standard .tax-type-card.active{border-color:var(--ws-focus);box-shadow:0 0 0 2px color-mix(in srgb,var(--ws-focus) 15%,transparent)}.workspace-standard .vehicle-kpis strong{font-variant-numeric:tabular-nums}.workspace-standard .expiry-line{border-color:var(--ws-line);font-size:12px}.workspace-standard .plate{background:var(--ws-soft);color:var(--ws-ink);border-color:var(--ws-line)}.workspace-standard .docgrid{gap:13px}.workspace-standard .doccard{padding:17px}.workspace-standard .doccard strong{font-size:13px;line-height:1.7}.workspace-standard .sync-bar{background:var(--ws-soft);border-color:var(--ws-line);border-radius:10px;gap:12px}.workspace-standard .summary-filter-note{font-size:11px;color:var(--ws-muted);line-height:1.8}.workspace-standard .doc-pills a{min-height:30px;border-color:var(--ws-line);color:var(--ws-ink);background:var(--ws-soft);font-size:11px}.workspace-standard .row-actions{gap:7px;flex-wrap:wrap}.workspace-standard .invoice-filter{gap:10px;flex-wrap:wrap}.workspace-standard .range-form{flex-wrap:wrap;gap:8px}.workspace-standard .acc-month-title{color:var(--ws-ink)}.workspace-standard .acc-month-title span{color:var(--ws-muted)}
.workspace-shell.erp-dark .erp-toolbar,.workspace-shell.erp-dark .erp-sidebar,.workspace-shell.erp-dark .sidefoot,.workspace-shell.erp-dark .erp-sidebar-bottom{border-color:var(--ws-line)}.workspace-shell.erp-dark .erp-sidebar{background:var(--ws-surface)}.workspace-shell.erp-dark .erp-toolbar :is(input,button,a){background:var(--ws-surface);color:var(--ws-ink);border-color:var(--ws-line)}.workspace-shell.erp-dark .ard-v2-topbar,.workspace-shell.erp-dark .ard-v2-drawer{background:var(--ws-surface);color:var(--ws-ink);border-color:var(--ws-line)}.workspace-shell.erp-dark .ard-v2-brand strong,.workspace-shell.erp-dark .ard-v2-drawer-brand strong{padding:5px;border-radius:6px;background:white}.workspace-shell.erp-dark .ard-v2-nav a{color:var(--ws-ink)}.workspace-shell.erp-dark .ard-v2-nav a.ard-v2-active{background:var(--ws-soft);color:var(--ws-ink)}.workspace-shell.erp-dark .ard-v2-nav-icon{background:var(--ws-soft);color:var(--ws-muted)}.workspace-shell.erp-dark .ard-v2-drawer-head{border-color:var(--ws-line)}.workspace-shell.erp-dark .ard-v2-topbar small{color:var(--ws-muted)}
@media(min-width:901px){.workspace-standard .erp-main{min-height:100vh}.workspace-standard .erp-main>.erp-panel:only-of-type{margin-top:20px}}
@media(max-width:1250px){.workspace-standard .erp-main{padding:23px}.workspace-standard .grid2{grid-template-columns:minmax(0,1.25fr) minmax(260px,.8fr)}.workspace-standard .grid2.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-standard .workspace-record-layout{grid-template-columns:1fr}.workspace-standard .grid4{gap:11px}.workspace-standard :is(.stat,.erp-kpi) strong{font-size:25px}.workspace-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.workspace-standard .grid2,.workspace-standard .grid2.equal{grid-template-columns:1fr}.workspace-standard .topbar{align-items:flex-start;flex-wrap:wrap}.workspace-standard .topbar>.actions{width:100%}.workspace-standard .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-standard .workspace-recipe-grid{grid-template-columns:1fr}.workspace-standard .analytics-grid{grid-template-columns:1fr}.workspace-standard .finance-main-grid{grid-template-columns:1fr}.workspace-standard .erp-panels{grid-template-columns:1fr}.workspace-standard .form.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.workspace-shell .erp-toolbar{display:none}.workspace-standard .erp-main{padding:20px 16px 36px!important}.workspace-breadcrumb{font-size:10px;gap:7px;margin-bottom:20px}.workspace-shell .ard-v2-fab{display:none!important}.workspace-shell .ard-v2-drawer{overscroll-behavior:contain}.workspace-shell .ard-v2-nav a{min-height:48px}.workspace-standard .topbar h1,.workspace-standard .erp-page-title{font-size:var(--ws-title)}.workspace-standard .table th{padding:12px}.workspace-standard .table td{padding:14px 12px}.workspace-standard .erp-form{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-standard .grid4:has(>:nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-standard .grid4:has(>:nth-child(3):last-child)>:last-child{grid-column:1/-1}}
@media(max-width:600px){.workspace-standard .erp-main{padding:18px 12px 30px!important}.workspace-standard .topbar{margin-bottom:21px;gap:14px}.workspace-standard .topbar p,.workspace-standard .erp-muted{font-size:12px;line-height:1.8}.workspace-heading-icon{width:42px;height:42px;border-radius:11px}.workspace-heading-icon svg{width:21px;height:21px}.workspace-standard :is(.card,.erp-panel){padding:16px;border-radius:12px}.workspace-standard .grid4{gap:10px}.workspace-standard :is(.stat,.erp-kpi){padding:15px;min-height:110px}.workspace-standard :is(.stat,.erp-kpi) strong{font-size:24px;letter-spacing:-.6px}.workspace-standard :is(.stat,.erp-kpi) span{font-size:11px}.workspace-standard .stat small{font-size:10px}.workspace-standard .actions{display:flex;width:100%;gap:8px}.workspace-standard .actions .btn{flex:1 1 auto;font-size:11px;min-height:43px;padding:9px 11px}.workspace-standard .form,.workspace-standard .form.grid,.workspace-create .form:not(.grid){grid-template-columns:1fr;gap:16px}.workspace-standard .form label{font-size:var(--ws-label)}.workspace-standard .form :is(input,select,textarea),.workspace-standard .erp-form :is(input,select,textarea){font-size:16px;min-height:46px}.workspace-standard .form .full{grid-column:1}.workspace-standard .erp-form{grid-template-columns:1fr;gap:15px}.workspace-standard .erp-form button{min-height:45px}.workspace-standard .toolbar{align-items:stretch}.workspace-standard .toolbar input.search{width:100%;flex-basis:100%;font-size:16px}.workspace-standard .erp-quick{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0 20px}.workspace-standard .erp-quick a{min-height:41px;font-size:11px;padding:9px 11px}.workspace-standard .table{min-width:620px}.workspace-standard .table td{font-size:12px}.workspace-standard .badge{font-size:var(--ws-small)}.workspace-table-tools label{flex-basis:100%;max-width:none;min-width:0}.workspace-table-tools input{font-size:16px;height:44px}.workspace-table-count{margin-left:0}.workspace-create>summary{padding:16px;font-size:13px}.workspace-standard .workspace-create>section{padding:16px}.workspace-create .form>button{width:100%}.workspace-link-grid{grid-template-columns:1fr;gap:12px}.workspace-link-card{min-height:180px;padding:20px;gap:12px}.workspace-link-card h2{font-size:16px}.workspace-section-heading{margin:23px 0 14px}.workspace-recipe{grid-template-columns:minmax(0,1fr) minmax(95px,.6fr);gap:10px;padding:11px}.workspace-standard .workspace-recipe :is(input,select){font-size:13px}.workspace-standard .sync-bar form,.workspace-standard .range-form{width:100%;min-width:0}.workspace-standard .range-form input{flex:1;width:calc(50% - 18px)}.workspace-standard .invoice-filter :is(input,select){width:100%;font-size:16px}.workspace-standard .invoice-filter button{width:100%}.workspace-standard .tax-type-grid{grid-template-columns:1fr}.workspace-standard .vehicle-grid{grid-template-columns:1fr}.workspace-standard .docgrid{grid-template-columns:1fr}.workspace-standard .finance-filter .filter-grid{grid-template-columns:1fr}.workspace-standard .date-range-label{grid-column:1/-1}.workspace-standard .date-range-pair{min-width:0}.workspace-standard .date-range-pair input{min-width:0;width:calc(50% - 14px);font-size:13px}.workspace-standard .quick-dates{gap:7px}.workspace-standard .quick-dates button{font-size:11px;min-height:38px}.workspace-standard .entity-editor .form{grid-template-columns:1fr}.workspace-standard .erp-task-row{font-size:12px;gap:12px;align-items:flex-start}.workspace-standard .erp-task-row>span{overflow-wrap:anywhere;min-width:0}.workspace-standard .workspace-feature-note{padding:16px}.workspace-standard .acc-month-form{flex-wrap:wrap}.workspace-standard .acc-month-form>*{max-width:100%}}
@media(prefers-reduced-motion:no-preference){.workspace-standard .btn,.workspace-link-card{transition:border-color .16s,background-color .16s,box-shadow .16s}}
@media(prefers-reduced-motion:reduce){.workspace-standard *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.workspace-skip,.workspace-breadcrumb,.workspace-table-tools,.workspace-scroll-hint,.workspace-shell .erp-toolbar,.workspace-shell .erp-sidebar,.workspace-shell .ard-v2-topbar,.workspace-shell .ard-v2-fab{display:none!important}.workspace-shell .app{display:block}.workspace-standard .erp-main{padding:0!important;background:white}.workspace-standard .table-wrap{overflow:visible;border:0}.workspace-standard .table{min-width:0}.workspace-standard .table th,.workspace-standard .table td{color:#172130;background:white;font-size:10px;padding:7px}.workspace-create:not([open]){display:none}}
/* Late module corrections: fit the real seven-field finance deck and invoice dates. */
.workspace-standard .finance-filter .filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.workspace-standard .finance-filter .date-range-label{grid-column:span 2}.workspace-standard .finance-filter .filter-grid>label{min-width:0}.workspace-standard .finance-filter .filter-grid :is(input,select){min-width:0;width:100%}.workspace-standard .date-range-pair input{width:calc(50% - 12px)}.workspace-standard .metric-form select{color:var(--ws-ink);background:var(--ws-surface);border-color:var(--ws-line);border-radius:8px;min-height:38px;font-size:12px}.workspace-standard .trend-line{stroke:#6a8bac}.workspace-standard .trend-dot{stroke:#6a8bac;fill:var(--ws-surface)}.workspace-standard .break-label :is(span,strong){color:var(--ws-ink)}.workspace-standard .chart-card,.workspace-standard .breakdown-card{min-height:320px}.workspace-standard .trend-svg{min-height:220px}.workspace-standard .info-list>div,.workspace-standard .tax-doc-card{background:var(--ws-soft);border-color:var(--ws-line)}.workspace-standard .info-list span{font-size:11px;color:var(--ws-muted)}.workspace-standard .info-list strong{font-size:13px;line-height:1.8;color:var(--ws-ink)}.workspace-standard .notice{background:var(--ws-soft);color:var(--ws-muted);border-color:var(--ws-line);line-height:1.85;font-size:12px}.workspace-standard .confirm-card,.workspace-standard .danger-box{color:var(--ws-ink);background:var(--ws-surface)}
.workspace-shell .ard-v2-brand strong{display:inline-flex!important;max-width:160px}.workspace-shell .ard-v2-brand .ard-v2-wordmark{width:139px;height:auto}.workspace-shell.erp-dark :is(input,select,textarea){color-scheme:dark}.workspace-shell.erp-dark .ard-v2-home,.workspace-shell.erp-dark .ard-v2-menu,.workspace-shell.erp-dark .ard-v2-close{background:var(--ws-soft);color:var(--ws-ink);border-color:var(--ws-line)}
@media(max-width:1000px){.workspace-standard .finance-filter .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workspace-standard .finance-filter .filter-grid{grid-template-columns:1fr}.workspace-standard .finance-filter .date-range-label{grid-column:1}.workspace-standard .date-range-pair input{width:100%}.workspace-standard .invoice-filter{display:grid;grid-template-columns:1fr;min-width:0}.workspace-standard .invoice-filter label{min-width:0;grid-column:1!important;font-size:12px;gap:7px}.workspace-standard .invoice-filter :is(input,select){min-width:0;width:100%;font-size:16px}.workspace-standard .range-form{display:grid;grid-template-columns:1fr 1fr}.workspace-standard .range-form input{width:100%}.workspace-standard .range-form .btn{grid-column:1/-1}.workspace-standard .stat strong{font-size:clamp(19px,5.7vw,24px);letter-spacing:-.7px}.workspace-standard .analytics-grid .card-head{flex-wrap:wrap}.workspace-standard .chart-card,.workspace-standard .breakdown-card{min-height:0}.workspace-standard .trend-svg{min-width:580px}}
/* Sign-in uses the same restrained surfaces and type scale. */
.workspace-login{background:#f5f6f8;color:#25364a;padding:24px;min-height:100dvh}.workspace-login .loginbox{padding:36px;width:min(450px,100%);border:1px solid #e2e8ef;border-radius:20px;box-shadow:0 20px 70px #20344909;background:#fff}.workspace-login-brand{display:inline-flex;margin-bottom:35px;max-width:100%}.workspace-login-brand img{width:200px;height:auto;max-width:100%}.workspace-login .eyebrow{font-size:10px;letter-spacing:1.5px;color:#65758a;margin-bottom:10px}.workspace-login h1{font-size:28px;font-weight:730;letter-spacing:-.8px;line-height:1.3}.workspace-login .loginbox>p{font-size:13px;line-height:1.85;color:#65758a;margin-top:10px;margin-bottom:27px}.workspace-login .form{gap:20px}.workspace-login .form label{font-size:12px;font-weight:550;color:#25364a}.workspace-login .form input{min-height:46px;font-size:14px;border-radius:9px;margin-top:9px;border-color:#e2e8ef}.workspace-login .form input:focus{border-color:#6f8eae;box-shadow:0 0 0 3px #6f8eae22}.workspace-login .form .btn{min-height:46px;font-size:13px;border-radius:9px;background:#293e55;border-color:#293e55;box-shadow:none}.workspace-password{display:flex;align-items:center;margin-top:9px;border:1px solid #e2e8ef;border-radius:9px;padding-right:6px}.workspace-login .workspace-password input{border:0;min-width:0;margin:0;background:transparent}.workspace-login .workspace-password input:focus{box-shadow:none}.workspace-password:focus-within{border-color:#6f8eae;box-shadow:0 0 0 3px #6f8eae22}.workspace-password button{border:0;background:#f4f7fa;color:#65758a;font-size:11px;min-height:34px;padding:7px 10px;border-radius:6px;cursor:pointer}.workspace-login .loginbox>.workspace-login-help{font-size:11px;line-height:1.8;border-top:1px solid #e2e8ef;padding-top:20px;margin:25px 0 0;color:#65758a}.workspace-login .flash{font-size:12px;line-height:1.8}.workspace-login :is(button,a):focus-visible{outline:3px solid #6f8eae66;outline-offset:3px}
@media(max-width:600px){.workspace-login{padding:16px}.workspace-login .loginbox{padding:25px 22px;border-radius:16px}.workspace-login h1{font-size:25px}.workspace-login .form input{font-size:16px}.workspace-login-brand{margin-bottom:29px}}
/* Specialist workspaces retain their own controls while sharing legibility. */
.workspace-shell[data-workspace-page=customer_center] .erp-main{background:var(--ws-canvas)}.workspace-shell .cc{--cc-muted:var(--ws-muted);--cc-ink:var(--ws-ink);--cc-border:var(--ws-line);--cc-surface:var(--ws-surface);--cc-soft:var(--ws-soft)}.workspace-shell .cc-heading h1{font-size:var(--ws-title);letter-spacing:-.5px}.workspace-shell .cc-heading p{font-size:13px;line-height:1.85}.workspace-shell .cc :is(button,input,select){min-height:40px;font-size:12px;border-radius:9px}.workspace-shell .cc-source-tabs>button{min-height:46px}.workspace-shell .cc-summary>button{padding:18px;border-radius:12px;gap:10px}.workspace-shell .cc-summary>button:first-child{background:#293c52}.workspace-shell .cc-summary>button>small{font-size:11px;line-height:1.7}.workspace-shell .cc-summary>button>strong{font-size:31px}.workspace-shell .cc-filters{gap:10px;margin-bottom:17px}.workspace-shell .cc-search{border-radius:9px;padding:0 12px;max-width:520px}.workspace-shell .cc th{font-size:var(--ws-label);padding:14px 12px}.workspace-shell .cc td{padding:16px 12px}.workspace-shell .cc-record-content>strong{font-size:13px;line-height:1.65}.workspace-shell .cc-record-content>small{font-size:var(--ws-small);line-height:1.7}.workspace-shell .cc-photo{width:46px;height:56px;border-radius:9px}.workspace-shell .cc-tag{font-size:var(--ws-small);border-radius:5px;padding:2px 6px}.workspace-shell .cc-status{font-size:var(--ws-small);padding:5px 8px;border-radius:7px}.workspace-shell .cc-message{padding:13px 15px;font-size:12px;line-height:1.85;border-radius:9px}
.workspace-standard .erp-form fieldset{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0;border:1px solid var(--ws-line);background:var(--ws-soft);padding:18px;border-radius:10px}.workspace-standard .erp-form fieldset[hidden]{display:none!important}.workspace-standard .erp-form legend{font-size:12px;font-weight:650;padding:0 7px;color:var(--ws-ink)}.workspace-standard .workspace-form-footer button{width:auto}.workspace-standard .acc-source{font-size:10px;color:var(--ws-muted);line-height:1.7}.workspace-standard .acc-download-card p{font-size:12px;color:var(--ws-muted);line-height:1.85}.workspace-standard .tax-doc-body strong{font-size:13px;line-height:1.7}.workspace-standard .tax-doc-body small{font-size:11px;color:var(--ws-muted);line-height:1.8}.workspace-standard .form :is(input,select,textarea){font-weight:450}.workspace-standard .stat strong{overflow-wrap:normal;word-break:normal}
@media(max-width:600px){.workspace-shell .cc-heading h1{font-size:var(--ws-title)}.workspace-shell .cc-heading p{font-size:12px}.workspace-shell .cc :is(input,select){font-size:16px;min-height:44px}.workspace-shell .cc-summary>button{padding:13px;gap:7px}.workspace-shell .cc-summary>button>strong{font-size:25px}.workspace-shell .cc-summary>button>small{font-size:10px}.workspace-shell .cc-photo{width:40px;height:50px}.workspace-shell .cc-record-content>strong{font-size:12px}.workspace-shell .cc-status{font-size:var(--ws-small)}.workspace-standard .erp-form fieldset{grid-template-columns:1fr;padding:14px}.workspace-standard .stat strong{font-size:clamp(17px,5vw,22px)}.workspace-standard .stat span{line-height:1.7}}
/* Detail and setup pages share readable metadata and bounded technical content. */
.workspace-standard .entity-view{max-width:1100px}.workspace-standard :is(.json-box,pre){max-width:100%;overflow:auto;font-size:11px;line-height:1.8;border-radius:10px}.workspace-standard .diagnostic-box{background:var(--ws-soft);border-color:var(--ws-line);color:var(--ws-ink);gap:14px;padding:18px}.workspace-standard .diagnostic-box span{font-size:11px;color:var(--ws-muted)}.workspace-standard .diagnostic-box strong{font-size:13px;line-height:1.7}.workspace-standard .erp-pill{padding:5px 9px;font-size:11px;background:var(--ws-soft);color:var(--ws-muted);border-color:var(--ws-line);border-radius:6px}.workspace-standard .tax-upload-grid>*{min-width:0}.workspace-standard .tax-doc-icon{color:var(--ws-muted);background:var(--ws-soft)}.workspace-standard .doccard a{line-height:1.75}.workspace-standard .mini-action{font-size:11px;min-height:32px;background:var(--ws-soft);color:var(--ws-ink);border-color:var(--ws-line)}.workspace-standard .info-list{gap:12px}.workspace-standard .form label small{display:block;font-size:11px;font-weight:400;color:var(--ws-muted);line-height:1.8}.workspace-standard .vehicle-status{font-size:10px;background:var(--ws-green-bg);color:var(--ws-green)}.workspace-standard .vehicle-card-top{gap:12px}.workspace-standard .vehicle-kpis>div{min-width:0}.workspace-standard .company-doc-actions{flex-wrap:wrap;gap:7px}.workspace-standard .tax-code{background:#293e55}.workspace-standard .tax-code-inline{background:var(--ws-soft);color:var(--ws-ink)}
@media(max-width:600px){.workspace-standard .diagnostic-box{grid-template-columns:1fr}.workspace-standard .info-list{grid-template-columns:1fr}.workspace-standard .acc-month-title strong{font-size:19px}.workspace-standard .acc-download-card .actions{display:grid;grid-template-columns:1fr}.workspace-standard .erp-quick button{min-height:43px}.workspace-standard .company-document-grid{grid-template-columns:1fr}}
.workspace-standard .btn>.workspace-icon{width:15px;height:15px}.workspace-table-tools .workspace-icon{width:17px;height:17px}
@media(max-width:900px){html.ard-v2-mobile body.workspace-standard .erp-main{padding-left:16px!important;padding-right:16px!important}body.workspace-shell.erp-dark .ard-v2-nav a{color:var(--ws-ink)!important}body.workspace-shell.erp-dark .ard-v2-nav a.ard-v2-active{background:var(--ws-soft)!important;color:var(--ws-ink)!important}body.workspace-shell.erp-dark .ard-v2-nav .ard-v2-nav-icon{background:var(--ws-soft)!important;color:var(--ws-muted)!important}}
@media(max-width:600px){html.ard-v2-mobile body.workspace-standard .erp-main{padding-left:12px!important;padding-right:12px!important}}
.workspace-filter-more{margin-top:13px;border-top:1px solid var(--ws-line);padding-top:10px}.workspace-filter-more>summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;font-weight:600;color:var(--ws-muted);padding:6px 0;list-style:none}.workspace-filter-more>summary::-webkit-details-marker{display:none}.workspace-filter-more>summary:before{content:'+';width:19px;height:19px;display:grid;place-items:center;border:1px solid var(--ws-line);border-radius:5px;background:var(--ws-surface)}.workspace-filter-more[open]>summary:before{content:'−'}.workspace-filter-more>summary>span{padding:2px 7px;border-radius:5px;background:var(--ws-soft);font-size:10px;color:var(--ws-ink)}.workspace-filter-more .workspace-secondary-filters{margin:12px 0 3px}
@media(max-width:600px){.workspace-standard .finance-filter .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-standard .finance-filter .date-range-label{grid-column:1/-1}.workspace-standard .finance-filter .date-range-pair{flex-direction:row;gap:7px}.workspace-standard .finance-filter .date-range-pair input{width:calc(50% - 4px);font-size:13px}.workspace-standard .finance-filter .workspace-secondary-filters{grid-template-columns:1fr}.workspace-standard .finance-filter .filter-grid>label{min-width:0}.workspace-filter-more>summary{min-height:38px}}
/* Shared geometry and accessibility for native and specialist workspaces. */
.workspace-shell{font-variant-numeric:tabular-nums}
.workspace-shell .erp-nav .nav a>span:last-child{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.workspace-shell .sidefoot>div:not(.avatar){min-width:0;overflow-wrap:anywhere}
.workspace-shell .sidefoot .avatar,.workspace-shell .sidefoot .logout{flex-shrink:0}
.workspace-shell .sidefoot .logout{display:grid;place-items:center;min-width:36px;min-height:36px}
.workspace-shell :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--ws-focus);outline-offset:3px}
.workspace-shell [aria-disabled=true]{cursor:wait;opacity:.65}
.workspace-shell :is(.pc h1,.cc-heading h1){font-size:var(--ws-title);line-height:1.3;letter-spacing:-.5px}
.workspace-shell .ard-v2-theme{flex-shrink:0;margin:12px 16px;padding:12px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-soft);color:var(--ws-ink);min-height:44px;font-size:14px;text-align:left;cursor:pointer}
.workspace-standard .form-actions{display:flex;gap:8px;flex-wrap:wrap}
.workspace-standard .table :is(th,td).right{text-align:right}
.workspace-standard .record-menu-list form{margin:0}
.workspace-standard .record-menu-list :is(a,button):focus-visible{outline-offset:-3px}
.workspace-shell :is(dialog,.pc-dialog,.cc-detail){max-height:calc(100dvh - 32px);overscroll-behavior:contain}
.workspace-dashboard-actions{margin:0 0 16px}
@media(max-width:900px){
 .workspace-shell .ard-v2-nav a{min-height:44px}
 .workspace-shell .ard-v2-nav-text{overflow-wrap:anywhere}
}
@media(max-width:600px){
 .workspace-standard .topbar h1,.workspace-standard .erp-page-title{font-size:var(--ws-title)}
 .workspace-standard .btn.small,.workspace-standard .record-menu>button{min-height:44px;min-width:44px}
 .workspace-standard .record-menu-list :is(a,button){min-height:44px;display:flex;align-items:center;font-size:14px}
 .workspace-standard .table td{font-size:13px}
 .workspace-standard .form :is(input,select,textarea),.workspace-standard .erp-form :is(input,select,textarea){font-size:16px}
 .workspace-shell :is(dialog,.pc-dialog,.cc-detail){max-height:calc(100dvh - 16px)}
}
