@font-face{font-family:Geist;src:url(/assets/Geist-Variable-latin-BgDaEnEv.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Geist Mono;src:url(/assets/GeistMono-Variable-latin-XN7g48iV.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Noto Sans Sinhala;src:url(/assets/NotoSansSinhala-Variable-sinhala-Dqt08u3R.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Noto Sans Tamil;src:url(/assets/NotoSansTamil-Variable-tamil-iihgzMBi.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}:root{--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-6: 24px;--space-8: 32px;--space-12: 48px;--radius-xs: 6px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 20px;--radius-xl: 28px;--radius-pill: 999px;--touch-min: 44px;--control: 48px;--control-lg: 56px;--control-pay: 72px;--rail: 76px;--topbar: 60px;--font-sans: "Geist", "Noto Sans Sinhala", "Noto Sans Tamil", "Nirmala UI", system-ui, sans-serif;--font-mono: "Geist Mono", "Noto Sans Sinhala", "Noto Sans Tamil", ui-monospace, "Cascadia Mono", monospace;--text-title: 700 28px/34px var(--font-sans);--tracking-title: -.02em;--text-heading: 600 20px/26px var(--font-sans);--tracking-heading: normal;--text-body: 400 15px/22px var(--font-sans);--tracking-body: normal;--text-body-strong: 600 15px/22px var(--font-sans);--tracking-body-strong: normal;--text-small: 400 13px/18px var(--font-sans);--tracking-small: normal;--text-label: 500 11px/14px var(--font-mono);--tracking-label: .08em;--text-data: 500 14px/20px var(--font-mono);--tracking-data: normal;--text-amount: 600 20px/26px var(--font-mono);--tracking-amount: normal;--text-amount-xl: 600 44px/48px var(--font-mono);--tracking-amount-xl: -.02em}:root,[data-theme=light]{color-scheme:light;--ground: #afbdc4;--panel: #d4e0e6;--surface: #e9f0f3;--surface-sunken: #ccdae1;--surface-hover: #f4f8fa;--line: #c2d0d7;--line-strong: #6a7c86;--ink: #28293c;--ink-muted: #53555e;--ink-disabled: #8b959c;--action: #615ed6;--on-action: #ffffff;--accent: #5552cc;--accent-soft: #dedffb;--on-accent-soft: #3a379e;--focus: #4744b8;--chip-mint: #cdeedd;--on-chip-mint: #14532d;--chip-aqua: #cbeef7;--on-chip-aqua: #0b4f63;--chip-lavender: #e2e0fd;--on-chip-lavender: #3f3a9e;--chip-peach: #fde0cc;--on-chip-peach: #7a3410;--chip-rose: #fbdbe6;--on-chip-rose: #85133f;--chip-slate: #d5dfe4;--on-chip-slate: #36454c;--good: #0d6b62;--warn: #8a4a05;--bad: #b4233f;--banner-training: #ffeb6d;--on-banner-training: #4a3b00;--banner-staging: #28293c;--on-banner-staging: #e6e7ff;--scrim: rgba(10, 11, 14, .45);--sidebar: #22242a;--sidebar-hover: #2d3038;--sidebar-active: #33365c;--on-sidebar: #ffffff;--on-sidebar-muted: #a3a9b8;--on-sidebar-active: #c3c6ff;--sheet: #1d2533;--sheet-raised: #28324a;--sheet-line: #7887a2;--on-sheet: #ffffff;--on-sheet-muted: #aab6c8;--sheet-accent: #a6aafc;--on-sheet-accent: #181c21;--sheet-bad: #ff9db0;--shadow-card: 0 1px 2px rgba(19, 28, 33, .06), 0 6px 18px rgba(19, 28, 33, .05);--shadow-overlay: 0 12px 40px rgba(19, 28, 33, .22)}[data-theme=classic]{color-scheme:light;--ground: #93a8b5;--panel: #bfced6;--surface: #d4e0e6;--surface-sunken: #b3c4ce;--surface-hover: #e2ebf0;--line: #a9bac4;--line-strong: #5d707a;--ink: #28293c;--ink-muted: #474955;--ink-disabled: #76848c;--action: #5552cc;--on-action: #ffffff;--accent: #4744b8;--accent-soft: #d3d5f7;--on-accent-soft: #33308f;--focus: #3a37a6;--chip-mint: #c3ead6;--on-chip-mint: #124a29;--chip-aqua: #bfe9f4;--on-chip-aqua: #0a4759;--chip-lavender: #d9d6fb;--on-chip-lavender: #38338f;--chip-peach: #fbd5bb;--on-chip-peach: #6f2f0e;--chip-rose: #f8cfdd;--on-chip-rose: #7a1139;--chip-slate: #c7d4db;--on-chip-slate: #2f3d44;--good: #0a5b53;--warn: #713c04;--bad: #951c34;--banner-training: #ffeb6d;--on-banner-training: #4a3b00;--banner-staging: #28293c;--on-banner-staging: #e6e7ff;--scrim: rgba(10, 11, 14, .5);--sidebar: #22242a;--sidebar-hover: #2d3038;--sidebar-active: #33365c;--on-sidebar: #ffffff;--on-sidebar-muted: #a3a9b8;--on-sidebar-active: #c3c6ff;--sheet: #1d2533;--sheet-raised: #28324a;--sheet-line: #7887a2;--on-sheet: #ffffff;--on-sheet-muted: #aab6c8;--sheet-accent: #a6aafc;--on-sheet-accent: #181c21;--sheet-bad: #ff9db0;--shadow-card: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(13, 21, 25, .08);--shadow-overlay: inset 0 1px 0 rgba(255, 255, 255, .4), 0 16px 48px rgba(13, 21, 25, .3)}[data-theme=dark]{color-scheme:dark;--ground: #93a8b5;--panel: #181c21;--surface: #1f2529;--surface-sunken: #15191d;--surface-hover: #283037;--line: #2c343a;--line-strong: #6f7c86;--ink: #f2f6f8;--ink-muted: #a3b0b9;--ink-disabled: #5c6770;--action: #a6aafc;--on-action: #181c21;--accent: #a6aafc;--accent-soft: #2b2e4f;--on-accent-soft: #c9ccff;--focus: #a6aafc;--chip-mint: #163a2a;--on-chip-mint: #a6eac6;--chip-aqua: #10394a;--on-chip-aqua: #9fe3f5;--chip-lavender: #2e2b52;--on-chip-lavender: #d3d0fd;--chip-peach: #43281a;--on-chip-peach: #ffc9a8;--chip-rose: #45202c;--on-chip-rose: #f8bfd2;--chip-slate: #273038;--on-chip-slate: #c4d1d6;--good: #4fd8c6;--warn: #f2b469;--bad: #ff8fa3;--banner-training: #3d3514;--on-banner-training: #ffeb6d;--banner-staging: #a6aafc;--on-banner-staging: #181c21;--scrim: rgba(0, 0, 0, .6);--sidebar: #22242a;--sidebar-hover: #2d3038;--sidebar-active: #33365c;--on-sidebar: #ffffff;--on-sidebar-muted: #a3a9b8;--on-sidebar-active: #c3c6ff;--sheet: #252c34;--sheet-raised: #303943;--sheet-line: #808d9a;--on-sheet: #ffffff;--on-sheet-muted: #aeb8c2;--sheet-accent: #a6aafc;--on-sheet-accent: #181c21;--sheet-bad: #ff9db0;--shadow-card: inset 0 1px 0 rgba(255, 255, 255, .04), 0 1px 2px rgba(0, 0, 0, .4);--shadow-overlay: inset 0 1px 0 rgba(255, 255, 255, .06), 0 16px 48px rgba(0, 0, 0, .6)}*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink);font:var(--text-body);-webkit-font-smoothing:antialiased}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-button{display:none}::-webkit-scrollbar-thumb{background-color:var(--ink-disabled);background-clip:padding-box;border:3px solid transparent;border-radius:var(--radius-pill)}::-webkit-scrollbar-thumb:hover{background-color:var(--line-strong)}::-webkit-scrollbar-thumb:active{background-color:var(--ink-muted)}.pay::-webkit-scrollbar-thumb,.pay ::-webkit-scrollbar-thumb{background-color:var(--sheet-line)}.pay::-webkit-scrollbar-thumb:hover,.pay ::-webkit-scrollbar-thumb:hover,.pay::-webkit-scrollbar-thumb:active,.pay ::-webkit-scrollbar-thumb:active{background-color:var(--on-sheet-muted)}h1{margin:0;font:var(--text-title);letter-spacing:var(--tracking-title)}h2{font:var(--text-heading);letter-spacing:var(--tracking-heading)}h3{margin:var(--space-6) 0 var(--space-2);font:var(--text-body-strong)}h4{margin:var(--space-4) 0 var(--space-2);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted)}a,button.link{color:var(--accent)}.shell{max-width:1180px;margin:var(--space-4) auto;padding:var(--space-8);background:var(--panel);border-radius:var(--radius-xl);box-shadow:var(--shadow-card)}.card{margin-top:var(--space-4);padding:var(--space-6);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.shell>.card{margin-top:var(--space-6);padding:0;background:none;box-shadow:none}.card h2{margin:0 0 var(--space-2)}.card>.error{margin:0 0 var(--space-3)}.muted{color:var(--ink-muted)}.error{color:var(--bad)}.status{margin:var(--space-1) 0}.num{text-align:right;font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.total{margin:var(--space-3) 0;font:var(--text-amount);letter-spacing:var(--tracking-amount);font-variant-numeric:tabular-nums}.row{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;margin-top:var(--space-3)}.row.spread{justify-content:space-between}.row.spread h2{margin:0}.facts{display:grid;grid-template-columns:max-content 1fr;gap:var(--space-2) var(--space-6);margin-top:var(--space-8);padding-top:var(--space-6);border-top:1px solid var(--line);font:var(--text-small)}.facts dt{color:var(--ink-muted)}.facts dd{margin:0;font-family:var(--font-mono);font-variant-numeric:tabular-nums}.section>.facts,.form .facts{margin-top:0;padding-top:0;border-top:0}button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control);padding:0 var(--space-4);border:1px solid transparent;border-radius:var(--radius-md);background:var(--action);color:var(--on-action);font:var(--text-body-strong);cursor:pointer;transition:background .12s ease-out,transform .12s ease-out}button:active{transform:translateY(1px)}button.secondary{background:var(--surface);color:var(--ink);border-color:var(--line-strong)}button.secondary:hover{background:var(--surface-hover)}button:disabled{background:var(--surface-sunken);color:var(--ink-disabled);border-color:transparent;cursor:not-allowed;transform:none}.table button{min-height:var(--touch-min)}button.link{display:inline;min-height:0;padding:0;border:0;background:none;font:inherit;text-decoration:underline dotted}.choices{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-3) 0}button.choice{min-width:140px;min-height:var(--control-lg);background:var(--surface);color:var(--ink);border-color:var(--line-strong)}button.choice:hover{background:var(--surface-hover)}button.choice.selected{background:var(--accent-soft);color:var(--on-accent-soft);border-color:var(--accent)}.lang-switch.theme-switch button.choice{min-width:38px;padding:0 var(--space-2)}.row.lang-switch{display:inline-flex;flex-wrap:nowrap;gap:2px;margin-top:0;padding:3px;background:var(--surface-sunken);border-radius:var(--radius-md)}.lang-switch button.choice{min-width:52px;min-height:38px;padding:0 var(--space-3);border:0;background:transparent;color:var(--ink-muted);font:var(--text-body)}.lang-switch button.choice.selected{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-card)}.view-switch{display:inline-flex;align-self:flex-start;gap:2px;margin:var(--space-3) 0 var(--space-2);padding:3px;background:var(--surface-sunken);border-radius:var(--radius-md)}.view-switch button{min-height:var(--touch-min);padding:0 var(--space-4);border:0;background:transparent;color:var(--ink-muted);font:var(--text-body)}.view-switch button:hover{color:var(--ink)}.view-switch button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-card)}input:not([type=checkbox],[type=radio]),select,textarea{min-height:var(--control);padding:0 var(--space-4);border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--ink);font:var(--text-body)}input:not([type=checkbox],[type=radio]){flex:1;min-width:0}textarea{padding:var(--space-3) var(--space-4)}input::placeholder,textarea::placeholder{color:var(--ink-muted)}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--accent)}input.qty{flex:none;width:96px;min-height:var(--touch-min);padding:0 var(--space-2);text-align:right;font:var(--text-data);font-variant-numeric:tabular-nums}.form{display:grid;gap:var(--space-4)}.form label{display:grid;gap:var(--space-1)}.form .choice{display:flex;gap:var(--space-2);align-items:center}.form .choice input{flex:none;width:auto}fieldset{margin:0;padding:var(--space-3) var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md)}legend{padding:0 var(--space-1);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted)}details>summary{cursor:pointer;font:var(--text-body-strong);min-height:var(--touch-min);display:flex;align-items:center}.steps{display:flex;flex-wrap:wrap;gap:var(--space-4);margin:var(--space-2) 0 var(--space-4);padding:0;list-style:none;color:var(--ink-muted);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase}.steps .current{color:var(--accent)}.steps .done{color:var(--ink)}.table{width:100%;margin:var(--space-3) 0;border-collapse:collapse}.table th{padding:var(--space-2);text-align:left;font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted);border-bottom:1px solid var(--line)}.table th.num{text-align:right}.table td{padding:var(--space-2);border-bottom:1px solid var(--line);vertical-align:middle}.table tbody tr:hover{background:var(--surface-hover)}.modal{position:fixed;inset:0;z-index:10;display:grid;place-items:center;padding:var(--space-6);background:var(--scrim)}.modal .card{min-width:340px;max-width:480px;margin:0;background:var(--panel);border-radius:var(--radius-xl);box-shadow:var(--shadow-overlay)}.receipt{width:max-content;max-width:100%;padding:var(--space-4);overflow-x:auto;background:var(--surface-sunken);color:var(--ink);border-radius:var(--radius-md);font:var(--text-data)}.staging-banner{margin:0;padding:var(--space-2) var(--space-4);background:var(--banner-staging);color:var(--on-banner-staging);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;text-align:center}.training-banner{padding:var(--space-3) var(--space-4);background:var(--banner-training);color:var(--on-banner-training);border-radius:var(--radius-md);box-shadow:inset 0 0 0 2px var(--warn);font:var(--text-body-strong);text-align:center}kbd{display:inline-grid;place-items:center;min-width:34px;height:28px;padding:0 var(--space-2);border:1px solid var(--line-strong);border-bottom-width:2px;border-radius:var(--radius-xs);background:var(--surface);color:var(--ink);font:var(--text-data)}.icon{flex:none;width:18px;height:18px;stroke-width:1.75}button.quiet{background:transparent;color:var(--ink)}button.quiet:hover{background:var(--surface-hover)}button kbd{min-width:28px;height:22px;margin-left:var(--space-1)}.label{font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted)}#root{display:flex;flex-direction:column;min-height:100vh}#root:has(>.app){height:100vh}.shell{width:calc(100% - 2 * var(--space-4))}.app{flex:1;min-height:0;display:grid;grid-template-columns:var(--rail) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:var(--space-4);row-gap:var(--space-3);padding:0 var(--space-3) 0 0}.topbar{grid-column:2 / -1;grid-row:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:var(--topbar);margin-top:var(--space-3);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-6);background:var(--panel);border-radius:var(--radius-xl);box-shadow:var(--shadow-card)}.topbar-shop{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1) var(--space-4);min-width:0}.topbar-shop b{font:var(--text-title);letter-spacing:var(--tracking-title);white-space:nowrap}.topbar-tags{display:flex;align-items:center;gap:2px;padding:3px;background:var(--surface-sunken);border-radius:var(--radius-pill)}.topbar-tag{display:inline-flex;align-items:center;gap:var(--space-1);min-height:30px;padding:0 var(--space-3);border-radius:var(--radius-pill);color:var(--ink-muted);font:var(--text-small);font-weight:600;white-space:nowrap}.topbar-tag .icon{width:16px;height:16px}.topbar-tag.topbar-plan{background:var(--accent-soft);color:var(--on-accent-soft);letter-spacing:var(--tracking-label);text-transform:uppercase}.topbar-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--space-2)}.topbar-group{display:flex;align-items:center;gap:var(--space-1);padding:3px;background:var(--surface-sunken);border-radius:var(--radius-pill)}.topbar-group .row.lang-switch{padding:0;background:transparent}.topbar-group .lang-switch button.choice{border-radius:var(--radius-pill)}.topbar-user{display:flex;align-items:center;gap:var(--space-1);padding:3px;background:var(--surface-sunken);border-radius:var(--radius-pill)}.topbar-person{display:flex;align-items:center;gap:var(--space-2);min-width:0;max-width:220px;margin-right:var(--space-1);padding-right:var(--space-3);border-right:1px solid var(--line)}.topbar-person .avatar{width:34px;height:34px;font:var(--text-small);font-weight:700}.topbar-person-text{display:flex;flex-direction:column;min-width:0}.topbar-person-text b,.topbar-person-text span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-person-text b{font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong)}.topbar-person-text span{font:var(--text-small);color:var(--ink-muted)}button.topbar-icon{min-width:38px;min-height:38px;padding:0 var(--space-2);border-radius:var(--radius-pill);background:transparent;color:var(--ink)}button.topbar-icon:hover{background:var(--surface);box-shadow:var(--shadow-card)}button.topbar-signout:hover{color:var(--bad)}.topbar-user-counter button.topbar-icon{padding:0 var(--space-3)}.topbar .clock{padding:0 var(--space-3) 0 var(--space-4);border-left:1px solid var(--line)}.topbar .clock b{font:var(--text-amount);letter-spacing:var(--tracking-amount);font-variant-numeric:tabular-nums;line-height:1.1}.topbar .clock span{white-space:nowrap}button.sync-pill{min-height:38px;padding:0 var(--space-3);border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-card);font:var(--text-small)}.sync-pill i{width:10px;height:10px;border-radius:var(--radius-pill);background:var(--ink-muted)}.sync-pill b{font-weight:600}.sync-ok i{background:var(--good)}.sync-busy i{background:var(--accent)}.sync-problem i{background:var(--bad)}.rail{grid-column:1;grid-row:1 / -1;display:flex;flex-direction:column;align-items:center;gap:var(--space-1);min-height:0;padding:var(--space-4) 0 var(--space-3);background:var(--sidebar)}.rail :focus-visible{outline-color:var(--sheet-accent)}.mark{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-bottom:var(--space-3);border-radius:var(--radius-md);background:var(--sheet-accent);color:var(--on-sheet-accent);font:var(--text-heading)}.rail-items{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;gap:var(--space-1);overflow:hidden auto;scrollbar-width:none}:is(button,a).rail-item{flex:none;flex-direction:column;gap:2px;width:62px;min-height:54px;padding:var(--space-1) 2px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--on-sidebar-muted)}.rail-item .icon{width:22px;height:22px}.rail-item span{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;text-align:center;font:500 10px/12px var(--font-sans)}a.rail-item{display:flex;align-items:center;justify-content:center;text-decoration:none}:is(button,a).rail-item:hover{background:var(--sidebar-hover);color:var(--on-sidebar)}:is(button,a).rail-item[aria-current=page]{background:var(--sidebar-active);color:var(--on-sidebar-active)}.work{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:var(--space-3);min-width:0;overflow-y:auto;margin-bottom:var(--space-3);padding:var(--space-6) var(--space-8);background:var(--panel);border-radius:var(--radius-xl);box-shadow:var(--shadow-card)}.work>p{margin:0}.work>.card,.card.sell{margin:0;padding:0;background:none;box-shadow:none}.work>.card>h2,.screen-head h2{margin:0 0 var(--space-2);font:var(--text-title);letter-spacing:var(--tracking-title)}.screen-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3)}.screen-head h2,.screen-head .row{margin:0}.sell-host:not([hidden]){flex:1;min-height:0;display:flex;flex-direction:column}.card.sell{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 440px;grid-template-rows:auto minmax(0,1fr);gap:var(--space-4) var(--space-6)}.card.sell>.page-head{grid-column:1 / -1}.page-head .search.sell-scan{flex:1 1 200px;min-width:200px;min-height:40px;border:0;border-radius:var(--radius-pill);background:var(--surface)}.page-head .search.sell-scan input:not([type=checkbox],[type=radio]){min-height:40px}.page-head>.page-tools>button{flex:none}.sell-strip{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);padding:var(--space-2);background:var(--surface-sunken);border-radius:var(--radius-xl)}.sell-strip>span{padding:0 var(--space-2) 0 var(--space-3);font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong)}.sell-strip input:not([type=checkbox],[type=radio]){flex:1 1 200px;min-width:0;min-height:40px;padding:0 var(--space-4);border:0;border-radius:var(--radius-pill);background:var(--surface)}.sell-strip input.qty{flex:0 1 140px;width:auto}.sell-strip button{min-height:40px;border-radius:var(--radius-pill)}.sell-strip button.secondary{border-color:transparent;background:var(--surface)}.sell-strip button.secondary:hover{background:var(--surface-hover)}.page-head .customer-box{flex:1 1 200px;max-width:320px}.page-head .customer-box>input:not([type=checkbox],[type=radio]){min-height:40px;border:0;border-radius:var(--radius-pill);background:var(--surface)}.page-head .customer-box>p.row{min-height:40px;border-radius:var(--radius-pill)}.customer-box{position:relative;flex:1;min-width:0}.customer-box>input:not([type=checkbox],[type=radio]){width:100%;min-height:52px}.customer-box>.choices{position:absolute;top:calc(100% + var(--space-1));right:0;left:0;z-index:5;flex-direction:column;flex-wrap:nowrap;margin:0;padding:var(--space-2);background:var(--panel);border-radius:var(--radius-md);box-shadow:var(--shadow-overlay)}.customer-box>.choices button.choice{justify-content:flex-start;min-width:0}.customer-box>p.row{flex-wrap:nowrap;justify-content:space-between;min-height:52px;margin:0;padding:0 var(--space-2) 0 var(--space-4);background:var(--accent-soft);color:var(--on-accent-soft);border-radius:var(--radius-md)}.customer-box>p.row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}button.held-button.selected{background:var(--accent-soft);color:var(--on-accent-soft);border-color:var(--accent)}.sell-find{display:flex;flex-direction:column;gap:var(--space-3);min-width:0;min-height:0;overflow-y:auto;margin:-4px;padding:4px}.sell-find>.sell-strip,.sell-find>.choices{margin:0}.picks{display:flex;flex-direction:column;gap:var(--space-3)}.pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--space-2)}.ticket{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:var(--surface-sunken);border-radius:var(--radius-xl);box-shadow:var(--shadow-card)}.ticket-idle{flex:1;display:flex;flex-direction:column;gap:var(--space-4);min-height:0;overflow-y:auto;padding:var(--space-4)}.ticket-idle>p,.ticket-idle>label{margin:0}.ticket-last{padding:var(--space-3) var(--space-4);background:var(--surface);border-radius:var(--radius-md)}.ticket-section{display:flex;flex-direction:column;gap:var(--space-2)}.ticket-section h3{margin:0;font:var(--text-heading);letter-spacing:var(--tracking-heading)}.ticket-section>.row,.ticket-section>p{margin:0}.ticket-section-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.ticket-list{display:flex;flex-direction:column;gap:var(--space-2);margin:0;padding:0;list-style:none}.ticket-list li{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);background:var(--surface);border-radius:var(--radius-md)}.ticket-list li:has(>button.ticket-item:hover){background:var(--surface-hover)}.ticket-list li>.row{flex:none;margin:0}.ticket-item,button.ticket-item{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;min-height:var(--touch-min);justify-content:center;padding:0;border:0;background:transparent;color:var(--ink);font:var(--text-body);text-align:left}.ticket-item b{max-width:100%;overflow-wrap:anywhere;font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong)}.ticket-item>span{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1);font:var(--text-small)}.ticket-list .num{flex:none;font:var(--text-data);letter-spacing:var(--tracking-data)}.ticket-idle .receipt{margin:0}.ticket-receipt{gap:var(--space-3)}.ticket-receipt .ticket-section-head h3{min-width:0;overflow-wrap:anywhere}.receipt.receipt-paper{display:flex;flex-direction:column;gap:2px;white-space:normal;font:var(--text-body);letter-spacing:var(--tracking-body)}.receipt-paper p{margin:0;overflow-wrap:anywhere}.receipt-paper .rcpt-center{text-align:center}.receipt-paper .rcpt-row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}.receipt-paper .rcpt-row>span:first-child{min-width:0;overflow-wrap:anywhere}.receipt-paper .rcpt-row>.num{flex:none;font:var(--text-data);letter-spacing:var(--tracking-data)}.receipt-paper .rcpt-strong{font:var(--text-body-strong)}.receipt-paper .rcpt-strong>.num{font:var(--text-amount);letter-spacing:var(--tracking-amount)}.receipt-paper .rcpt-rule{width:100%;margin:var(--space-1) 0;border:0;border-top:1px dashed var(--line-strong)}.receipt-paper .rcpt-blank{height:var(--space-2)}.ticket-receipt .receipt{width:100%;max-height:42vh;overflow-x:hidden;overflow-y:auto;background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere}.receipt-group{display:flex;flex-direction:column;gap:var(--space-2)}.receipt-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.receipt-actions>button,.receipt-void>button{min-height:var(--touch-min);border-radius:var(--radius-md)}.receipt-actions>span{grid-column:1 / -1}.receipt-void{padding-top:var(--space-3);border-top:1px solid var(--line)}.receipt-void>button{width:100%}.receipt-void>button.danger-quiet{background:var(--chip-rose);color:var(--on-chip-rose)}.receipt-void>button.danger-quiet:hover{background:var(--bad);color:var(--surface)}.receipt-void>.card{margin:0}.ticket-hint{margin-top:auto}.side-screen{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 440px;grid-template-rows:auto minmax(0,1fr);gap:var(--space-4) var(--space-6)}.side-screen>.page-head{grid-column:1 / -1}.side-main{display:flex;flex-direction:column;gap:var(--space-4);min-width:0;min-height:0;overflow-y:auto;margin:-4px;padding:4px;container:side-main / inline-size}.side-main>p,.side-main>.row{margin:0}.side-main>*{flex-shrink:0}.side-panel{display:flex;min-width:0;min-height:0}.drawer.drawer-inline{position:static;z-index:auto;flex:1;width:auto;min-width:0;background:var(--surface-sunken);box-shadow:var(--shadow-card)}.side-actions{display:flex;flex-direction:column;gap:var(--space-2)}.side-actions>button{justify-content:flex-start;width:100%;min-height:var(--touch-min)}.side-actions-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.side-actions-row>button{min-height:var(--touch-min)}.side-actions-row>span{grid-column:1 / -1}.row.lang-switch.period-presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.period-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2) var(--space-3)}.period-dates>button{grid-column:1 / -1;min-height:var(--touch-min)}.side-main .report-grid{grid-template-columns:repeat(auto-fit,minmax(380px,1fr))}.side-main .report-grid .section{padding:var(--space-4)}.side-main .report-grid .table td:first-child{white-space:nowrap}.pay>input:not([type=checkbox],[type=radio]),.pay>select{flex:none}.pay .field-label,.pay .field-hint{color:var(--on-sheet-muted)}.ticket>.lines{flex:1;min-height:0;overflow-y:auto;padding:var(--space-3)}.ticket>.ticket-message{margin:0 var(--space-3) var(--space-2)}button.pick{flex-direction:column;align-items:flex-start;justify-content:space-between;gap:var(--space-1);height:88px;min-height:0;padding:var(--space-2) var(--space-3);background:var(--surface);color:var(--ink);border-color:var(--line);text-align:left}button.pick:hover{background:var(--surface-hover);border-color:var(--line-strong)}.pick b{display:-webkit-box;overflow:hidden;font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong);-webkit-line-clamp:2;-webkit-box-orient:vertical}.pick>span{display:flex;align-items:center;gap:var(--space-1);width:100%;font:var(--text-small)}.pick .num{font:var(--text-data);letter-spacing:var(--tracking-data)}.pick .chip{margin-left:auto}.search{display:flex;align-items:center;gap:var(--space-2);min-height:52px;padding:0 var(--space-4);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-md)}.search .icon{color:var(--ink-muted)}.search input:not([type=checkbox],[type=radio]){min-height:50px;padding:0;border:0;background:transparent}.search input:focus-visible{outline:none}.lines{display:flex;flex-direction:column;gap:var(--space-2)}.line{display:grid;grid-template-columns:minmax(0,1fr) auto 112px 44px;align-items:center;gap:var(--space-3);min-height:64px;padding:var(--space-2) var(--space-2) var(--space-2) var(--space-4);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.line.chosen{background:var(--sheet);color:var(--on-sheet);box-shadow:inset 0 0 0 2px var(--sheet-accent)}.line.chosen .line-total{color:var(--sheet-accent)}.line.chosen input:not([type=checkbox],[type=radio]),.line.chosen select{border-color:var(--sheet-line);background:var(--sheet-raised);color:var(--on-sheet)}.line.chosen input::placeholder{color:var(--on-sheet-muted)}.line.chosen .stepper{background:var(--sheet-raised)}.line.chosen .stepper button,.line.chosen button.line-x{color:var(--on-sheet)}.line.chosen .stepper button:hover,.line.chosen button.line-x:hover{background:var(--sheet-line)}.line.chosen :focus-visible{outline-color:var(--sheet-accent)}button.line-name{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;min-height:var(--touch-min);padding:0;border:0;background:transparent;color:inherit;text-align:left}.line-name b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--text-body-strong)}.line-name>span{font:var(--text-small);color:var(--ink-muted)}.line.chosen .line-name>span{color:var(--on-sheet-muted)}.stepper{display:inline-flex;align-items:center;background:var(--surface-sunken);border-radius:var(--radius-md)}.stepper button{width:var(--touch-min);min-height:var(--touch-min);padding:0;border:0;background:transparent;color:var(--ink)}.stepper button:hover{background:var(--surface-hover)}.stepper input.qty{width:64px;border:0;background:transparent;text-align:center}.line-total{font:var(--text-amount);letter-spacing:var(--tracking-amount)}button.line-x{width:40px;min-height:40px;padding:0;border:0;background:transparent;color:var(--ink-muted)}button.line-x:hover{background:var(--surface-hover);color:var(--bad)}.line-more{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);padding-bottom:var(--space-1)}.line-more input.qty{width:140px}.ticket .line{flex:none;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"name total x" "more more more";gap:var(--space-1) var(--space-2);min-height:0;padding:var(--space-1) var(--space-1) var(--space-1) var(--space-4)}.ticket .line-name{grid-area:name;min-height:0}.ticket .line-name b{overflow:visible;white-space:normal;overflow-wrap:anywhere}.ticket .line-x{grid-area:x}.ticket .line-total{grid-area:total;text-align:right}.ticket .line-more{grid-area:more}.ticket .line-more{padding:0 var(--space-3) var(--space-2) 0}.ticket .line-more>input.qty,.ticket .line-more>select{flex:1 1 90px;width:auto;min-width:0}.ticket .line-more .stepper{flex:none}.pay{display:flex;flex-direction:column;gap:var(--space-3);padding:0 var(--space-6) var(--space-6);overflow:hidden;background:var(--sheet);color:var(--on-sheet);border-radius:var(--radius-xl);box-shadow:var(--shadow-overlay)}.ticket>.pay{flex:none;gap:var(--space-2);padding:var(--space-4) var(--space-6);border-radius:var(--radius-xl) var(--radius-xl) 0 0;box-shadow:none}.ticket>.pay .methods{grid-template-columns:repeat(4,1fr)}.pay-given{display:flex;align-items:center;gap:var(--space-3)}.pay-given input:not([type=checkbox],[type=radio]){flex:1;min-width:0}.pay-given>span{flex:none;font:var(--text-body-strong)}.pay-more{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-1)}.pay-more button{flex:1 1 auto;min-height:36px;padding:0 var(--space-1);font:var(--text-small);font-weight:600;white-space:nowrap}.pay-head{display:flex;align-items:center;gap:var(--space-3);margin:0 calc(-1 * var(--space-6));padding:var(--space-4) var(--space-6);border-bottom:1px solid var(--sheet-line);font:var(--text-heading)}.pay-head .icon{width:22px;height:22px;color:var(--sheet-accent)}.pay>p,.pay .row{margin:0}.pay :focus-visible{outline-color:var(--sheet-accent)}.pay .muted,.pay .label{color:var(--on-sheet-muted)}.pay .status,.pay strong{color:var(--on-sheet)}.pay .error{color:var(--sheet-bad)}.pay input:not([type=checkbox],[type=radio]),.pay select{border-color:var(--sheet-line);background:var(--sheet-raised);color:var(--on-sheet)}.pay input::placeholder{color:var(--on-sheet-muted)}.pay button.secondary,.pay button.choice{border-color:var(--sheet-line);background:var(--sheet-raised);color:var(--on-sheet)}.pay button.secondary:hover,.pay button.choice:hover{border-color:var(--sheet-accent)}.pay button.quiet,.pay button.line-x{color:var(--on-sheet)}.pay button.quiet:hover,.pay button.line-x:hover{background:var(--sheet-raised)}.pay button:disabled{border-color:transparent;background:var(--sheet-raised);color:var(--on-sheet-muted)}.pay kbd{border-color:var(--sheet-line);background:var(--sheet-raised);color:var(--on-sheet)}.pay-sums{display:grid;grid-template-columns:1fr auto;row-gap:var(--space-1);margin:0}.pay-sums dt{color:var(--on-sheet-muted)}.pay-sums dd{margin:0}.pay-sums .pay-tax{grid-column:1 / -1;font:var(--text-small)}.pay-total{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--sheet-line)}.pay-total .num{font:var(--text-amount-xl);letter-spacing:var(--tracking-amount-xl);color:var(--on-sheet)}.methods{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-2)}button.method{min-height:var(--touch-min);padding:var(--space-1) var(--space-2);border-color:transparent;border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase}button.method:hover{background:var(--surface-hover)}button.method[aria-pressed=true]{background:var(--action);color:var(--on-action)}.pay button.method{background:var(--sheet-raised);color:var(--on-sheet)}button.pay-button{justify-content:space-between;width:100%;min-height:var(--control-pay);padding:0 var(--space-6);border-radius:var(--radius-lg);background:var(--sheet-accent);color:var(--on-sheet-accent);font:var(--text-heading)}.pay-button .num{font:var(--text-amount);letter-spacing:var(--tracking-amount)}.page{display:flex;flex-direction:column;gap:var(--space-4);width:100%}.page-narrow{max-width:760px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.actions button{min-height:var(--touch-min)}.page-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);min-height:var(--topbar);padding:var(--space-2) var(--space-2) var(--space-2) var(--space-6);background:var(--surface-sunken);border-radius:var(--radius-xl);box-shadow:var(--shadow-card)}.page-head:has(>button.back){padding-left:var(--space-2)}.page-title{display:flex;flex-direction:column;min-width:0}.page-title :is(h1,h2){margin:0;font:var(--text-heading);letter-spacing:var(--tracking-heading);white-space:nowrap}.page-sub{font:var(--text-small);color:var(--ink-muted)}.page-tools{display:flex;flex:1 1 320px;flex-wrap:wrap;align-items:center;gap:var(--space-2);min-width:0;padding-left:var(--space-3);border-left:1px solid var(--line)}.page-head>.actions{margin-left:auto}.page-head button,.page-head select,.page-head .search-box{min-height:40px;border-radius:var(--radius-pill)}.page-head .search-box{flex:1 1 200px;min-width:160px;max-width:420px;border:0;background:var(--surface)}.page-head .search-box input:not([type=checkbox],[type=radio]){min-height:40px}.page-head select{flex:0 1 auto;min-width:120px;max-width:220px;border:0;background-color:var(--surface)}.page-head .row.lang-switch{border-radius:var(--radius-pill);background:var(--surface)}.page-head button.secondary:not(.selected){border-color:transparent;background:var(--surface)}.page-head button.secondary:not(.selected):hover{background:var(--surface-hover)}.page-head .lang-switch button.choice{min-height:34px;border-radius:var(--radius-pill)}.page-head .lang-switch button.choice.selected{background:var(--accent-soft);color:var(--on-accent-soft);box-shadow:none}.page-head button.back{padding:0 var(--space-3);background:transparent;color:var(--accent);font:var(--text-small);font-weight:600}.page-head button.back:hover{background:var(--surface-hover)}@media(max-width:1000px){.page-tools{order:1;flex-basis:100%;padding-left:0;border-left:0}.page-head .search-box,.page-head select{flex:1 1 140px;max-width:none}}.search-box{display:flex;flex:0 1 360px;align-items:center;gap:var(--space-2);min-height:var(--touch-min);padding:0 var(--space-3);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-md)}.search-box .icon{color:var(--ink-muted)}.search-box input:not([type=checkbox],[type=radio]){min-height:42px;padding:0;border:0;background:transparent}.search-box input:focus-visible{outline:none}table.list{width:100%;margin-top:-6px;border-collapse:separate;border-spacing:0 6px}.list th{padding:0 var(--space-4);text-align:left;font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted)}.list td{height:60px;padding:0 var(--space-4);background:var(--surface);vertical-align:middle}.list td:first-child{border-radius:var(--radius-md) 0 0 var(--radius-md)}.list td:last-child{width:44px;border-radius:0 var(--radius-md) var(--radius-md) 0;color:var(--ink-muted)}.list .num,.list th.num{text-align:right}.list tbody tr{cursor:pointer}.list tbody tr:hover td{background:var(--surface-hover)}.list tbody tr{transition:opacity .16s ease}.list:has(tbody tr[aria-selected=true]) tbody tr:not([aria-selected=true],:hover,:focus-visible){opacity:.45}.list-static tbody tr{cursor:default}.num-left{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.cell-name b{display:block;font:var(--text-body-strong)}.cell-name span{font:var(--text-small);font-family:var(--font-mono);color:var(--ink-muted)}.empty{padding:var(--space-8) var(--space-4);text-align:center;color:var(--ink-muted)}.list .narrow-only{display:none}@container side-main (max-width: 760px){.list .col-wide,.list .col-go{display:none}.list .cell-name .narrow-only{display:block;font-family:var(--font-sans)}.list th,.list td{padding:0 var(--space-3)}.list td:has(+.col-go:last-child){border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}}.chip{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--radius-sm);background:var(--chip-slate);color:var(--on-chip-slate);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;white-space:nowrap}.chip-peach{background:var(--chip-peach);color:var(--on-chip-peach)}.chip-mint{background:var(--chip-mint);color:var(--on-chip-mint)}.chip-rose{background:var(--chip-rose);color:var(--on-chip-rose)}.chip-lavender{background:var(--chip-lavender);color:var(--on-chip-lavender)}.drawer-dim{position:fixed;inset:0;z-index:5;background:var(--scrim);opacity:.6}.drawer{position:fixed;top:var(--space-3);right:var(--space-3);bottom:var(--space-3);z-index:6;display:flex;flex-direction:column;width:min(500px,calc(100vw - var(--rail) - 2 * var(--space-4)));overflow:hidden;background:var(--panel);border-radius:var(--radius-xl);box-shadow:var(--shadow-overlay)}.drawer-wide{width:min(820px,calc(100vw - var(--rail) - 2 * var(--space-4)))}.drawer-body>form,.panel-stack{display:flex;flex-direction:column;gap:var(--space-4)}.panel-stack>.row,.panel-stack>p,.drawer-body>form>p{margin:0}.drawer-body>.card{margin:0;padding:0;background:none;box-shadow:none}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-4) var(--space-3) var(--space-4) var(--space-6);border-bottom:1px solid var(--line)}.drawer-head h2{margin:0;font:var(--text-heading)}.drawer-head span{display:block;font:var(--text-small);color:var(--ink-muted)}.drawer-body{flex:1;display:flex;flex-direction:column;gap:var(--space-4);overflow:auto;padding:var(--space-4) var(--space-6) var(--space-6)}.drawer-body>p{margin:0}.drawer-head:has(+.drawer-tabs){border-bottom:0}.drawer-tabs{padding:0 var(--space-6)}.drawer-inline .tabs button{flex:1 1 0;min-width:0;justify-content:center;padding:var(--space-1) var(--space-2);text-align:center;white-space:normal}.drawer-alert{margin:0;padding:var(--space-3) var(--space-6) 0}.drawer-foot{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-6);border-top:1px solid var(--line)}.drawer-foot .grow{margin-right:auto}.drawer-foot button{min-height:var(--touch-min)}button.danger-quiet{background:transparent;color:var(--bad)}button.danger-quiet:hover{background:var(--surface-hover)}.section{display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-6);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.section-head h3{margin:0;font:var(--text-heading)}.section-head p{margin:2px 0 0;font:var(--text-small);color:var(--ink-muted)}.section-foot{display:flex;justify-content:flex-end;gap:var(--space-2);padding-top:var(--space-4);border-top:1px solid var(--line)}.drawer .section{padding:0;background:none;border-radius:0;box-shadow:none}.drawer .section+.section{padding-top:var(--space-4);border-top:1px solid var(--line)}.section>.row{margin-top:0}.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-3)}.kpi{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-4) var(--space-6) var(--space-6);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.kpi-value{font:700 28px/34px var(--font-mono);letter-spacing:-.02em;font-variant-numeric:tabular-nums}.tabs{display:flex;gap:var(--space-1);overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line-strong)}.tabs button{flex:none;position:relative;gap:var(--space-2);min-height:var(--touch-min);padding:0 var(--space-4);border:0;border-bottom:3px solid transparent;border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:transparent;color:var(--ink-muted);font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong)}.tabs button:hover{background:var(--surface-hover);color:var(--ink)}.tabs button[aria-selected=true]{border-bottom-color:var(--action);color:var(--ink)}.tab-alert{width:8px;height:8px;border-radius:var(--radius-pill);background:var(--bad)}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);align-items:start}.report-wide{grid-column:1 / -1}.report-grid .section{gap:var(--space-3);overflow-x:auto}.report-grid .table{margin:0}.section-title-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2)}.section-title-row h3{margin:0;font:var(--text-heading)}.section-title-row button{min-height:var(--touch-min)}.date-field{display:flex;align-items:center;gap:var(--space-2)}.date-field input{min-height:var(--touch-min)}@media(max-width:1100px){.report-grid{grid-template-columns:minmax(0,1fr)}}.steps-bar{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:0;padding:0;list-style:none}.steps-bar li{display:flex;align-items:center;gap:var(--space-2);min-height:36px;padding:0 var(--space-3) 0 var(--space-1);border-radius:var(--radius-pill);background:var(--surface-sunken);color:var(--ink-muted);font:var(--text-small)}.steps-bar li i{display:grid;place-items:center;width:28px;height:28px;border-radius:var(--radius-pill);background:var(--surface);font:600 12px/1 var(--font-mono);font-style:normal}.steps-bar li.is-done{color:var(--ink)}.steps-bar li.is-now{background:var(--accent-soft);color:var(--on-accent-soft);font-weight:600}.steps-bar li.is-now i{background:var(--action);color:var(--on-action)}.return-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:var(--space-3);min-height:64px;padding:var(--space-2) var(--space-3) var(--space-2) var(--space-4);background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.return-line.chosen{background:var(--accent-soft);color:var(--on-accent-soft)}.return-line.chosen .cell-name span{color:var(--on-accent-soft)}.return-line .cell-name span{font-family:var(--font-sans)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);align-items:start}.settings-grid>.section{margin:0}.settings-embedded{max-width:860px}.section>h3{margin:0;font:var(--text-heading)}.section>h3+p.muted{margin:-12px 0 0;font:var(--text-small)}.section>.form,.section>.row,.section>p,.section>label{margin:0}.figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-3)}.figure{display:flex;flex-direction:column;gap:2px;padding:var(--space-3) var(--space-4);background:var(--surface);border-radius:var(--radius-md)}.figure b{text-align:left;font:var(--text-amount);letter-spacing:var(--tracking-amount)}.section details>summary+*{margin-top:var(--space-3)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.field{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}.field-l{grid-column:1 / -1}.field-s{max-width:200px}.field-label{font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted)}.field-hint{font:var(--text-small);color:var(--ink-muted)}.field input:not([type=checkbox],[type=radio]),.field select{width:100%}.field input[inputmode=decimal]{font:var(--text-data)}.pack-row{display:grid;grid-template-columns:minmax(0,1.4fr) 84px 110px minmax(0,1.4fr) 40px;gap:var(--space-2);align-items:center}.pack-row input:not([type=checkbox],[type=radio]){width:100%;min-height:var(--touch-min);padding:0 var(--space-3)}.check-line{display:flex;align-items:center;gap:var(--space-2)}@media(max-width:1440px){.sell-quick-label,.sync-pill .muted{display:none}}@media(max-width:1200px){.work{padding:var(--space-4) var(--space-6)}.card.sell,.side-screen{grid-template-columns:minmax(0,1fr) 400px;gap:var(--space-4)}.pay{padding:0 var(--space-4) var(--space-4)}.pay-head{margin:0 calc(-1 * var(--space-4));padding:var(--space-3) var(--space-4)}.topbar-shop b{font:var(--text-heading)}.line{grid-template-columns:minmax(0,1fr) auto 96px 40px;gap:var(--space-2);padding-left:var(--space-3)}.stepper input.qty{width:44px}.line-total{font:600 16px/22px var(--font-mono)}.topbar-tags,.topbar-person-text{display:none}.topbar-person{padding-right:var(--space-2)}button.pay-button{flex-wrap:wrap;padding:var(--space-2) var(--space-4)}.pay-button kbd{display:none}.pay-button .num{font:600 18px/24px var(--font-mono)}}@media(max-width:1100px){.settings-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:1000px){.side-screen{flex:none;grid-template-columns:minmax(0,1fr)}.side-panel{order:-1}.side-screen>.page-head{order:-2}.side-screen.panel-last>.side-panel{order:0}.side-main{overflow:visible}.sell-host:not([hidden]){flex:none}.card.sell{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.sell-find,.ticket,.ticket-idle,.ticket>.lines{overflow:visible}}.side-list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}.side-list li+li{border-top:1px solid var(--line)}.side-list button,.side-list div{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);width:100%;min-height:var(--touch-min);padding:0 var(--space-2);border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink);font:var(--text-body);letter-spacing:var(--tracking-body);text-align:left}.side-list button:hover{background:var(--surface-hover)}.side-list b{flex:none;font:var(--text-data);letter-spacing:var(--tracking-data)}@media(min-width:1600px){.card.sell,.side-screen{grid-template-columns:minmax(0,1fr) 480px}}@media(max-height:820px){.ticket>.pay{padding-block:var(--space-3)}.ticket>.pay .pay-total{padding-top:var(--space-2)}.ticket>.pay .pay-total .num{font:var(--text-amount);letter-spacing:var(--tracking-amount)}.ticket>.pay button.pay-button{min-height:var(--control-lg)}.ticket-receipt .receipt{max-height:26vh}}.auth-screen{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);padding:var(--space-6) var(--space-4)}.auth-card{display:flex;flex-direction:column;gap:var(--space-4);width:100%;max-width:420px;padding:var(--space-6);background:var(--panel);border-radius:var(--radius-xl);box-shadow:var(--shadow-overlay)}.auth-brand{display:flex;align-items:center;gap:var(--space-3);padding-bottom:var(--space-4);border-bottom:1px solid var(--line)}.auth-brand .mark{margin:0}.auth-brand>div{display:flex;flex:1;flex-direction:column;min-width:0}.auth-brand b{overflow:hidden;font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong);white-space:nowrap;text-overflow:ellipsis}.auth-brand>div>span,.clock span{color:var(--ink-muted);font:var(--text-small);letter-spacing:var(--tracking-small)}.clock{display:flex;flex:none;flex-direction:column;align-items:flex-end}.clock b{font:var(--text-amount);letter-spacing:var(--tracking-amount)}.auth-head{display:flex;flex-direction:column;gap:var(--space-1)}.auth-head :is(h1,h2),.auth-person h2{margin:0;font:var(--text-heading);letter-spacing:var(--tracking-heading)}.auth-head p,.auth-person p{margin:0}button.link.auth-back{display:inline-flex;align-self:flex-start;gap:var(--space-1);min-height:var(--touch-min);text-decoration:none}button.link.auth-switch{align-self:center;min-height:var(--touch-min);font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong);text-decoration:none}.auth-person{display:flex;flex-direction:column;align-items:center;gap:var(--space-1);text-align:center}.auth-person .avatar{margin-bottom:var(--space-2)}.avatar{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--on-accent-soft);font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong)}.avatar.avatar-lg{width:72px;height:72px;font:var(--text-heading);letter-spacing:var(--tracking-heading)}.avatar-badge{position:absolute;right:-10px;bottom:-4px;display:grid;place-items:center;width:26px;height:26px;border-radius:var(--radius-pill);background:var(--action);color:var(--on-action);box-shadow:0 0 0 3px var(--panel)}.avatar-badge .icon{width:15px;height:15px}.auth-people{display:flex;flex-direction:column;gap:var(--space-2);max-height:52vh;margin:-4px;padding:4px;overflow-y:auto}button.auth-who{justify-content:flex-start;gap:var(--space-3);min-height:64px;padding:var(--space-2) var(--space-3);background:var(--surface);color:var(--ink);border-color:var(--line);text-align:left}button.auth-who:hover{background:var(--surface-hover);border-color:var(--line-strong)}.auth-who-name{display:flex;flex:1;flex-direction:column;min-width:0}.auth-who-name span{color:var(--ink-muted);font:var(--text-small);letter-spacing:var(--tracking-small)}.pin-entry{display:flex;flex-direction:column;gap:var(--space-3)}.pin-dots{position:relative;display:flex;justify-content:center;gap:var(--space-3);padding:var(--space-4) 0;background:var(--surface-sunken);border:1px solid transparent;border-radius:var(--radius-md);cursor:text}.pin-dots:focus-within{border-color:var(--focus)}.pin-dots .pin-input{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;border:0;opacity:0;cursor:text}.pin-dot{width:14px;height:14px;border:2px solid var(--line-strong);border-radius:var(--radius-pill)}.pin-dot.filled{background:var(--accent);border-color:var(--accent)}.pin-dots-bad .pin-dot{border-color:var(--bad)}.pin-dots-bad .pin-dot.filled{background:var(--bad)}.pin-message{min-height:18px;margin:0;font:var(--text-small);letter-spacing:var(--tracking-small);text-align:center}.pin-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2)}button.pin-key{min-height:var(--control-lg);background:var(--surface);color:var(--ink);border-color:var(--line);font:var(--text-amount);letter-spacing:var(--tracking-amount)}button.pin-key:hover:not(:disabled){background:var(--surface-hover);border-color:var(--line-strong)}button.pin-key.pin-key-quiet{background:transparent;border-color:transparent;color:var(--ink-muted);font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong)}button.pin-key.pin-key-quiet:disabled{background:transparent;color:var(--ink-disabled)}button.auth-submit{min-height:var(--control-lg)}@media(max-height:820px){.auth-screen{gap:var(--space-2);padding:var(--space-3) var(--space-4)}.auth-card{gap:var(--space-3);padding:var(--space-4) var(--space-6)}.auth-brand{padding-bottom:var(--space-3)}.avatar.avatar-lg{width:56px;height:56px}.pin-dots{padding:var(--space-3) 0}button.pin-key,button.auth-submit{min-height:var(--control)}}.ticket-banner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:var(--accent-soft);color:var(--on-accent-soft);border-radius:var(--radius-md);font:var(--text-body-strong)}.job-list .chip{white-space:nowrap}.job-due{display:block;margin-top:2px;font:var(--text-small);color:var(--ink-muted);white-space:nowrap}.job-due.late{color:var(--bad);font-weight:600}@container side-main (max-width: 560px){.list.job-list,.list.job-list tbody{display:flex;flex-direction:column;gap:var(--space-2);margin-top:0}.list.job-list thead{display:none}.list.job-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"vehicle status" "customer estimate";gap:var(--space-1) var(--space-3);padding:var(--space-3) var(--space-4);background:var(--surface);border-radius:var(--radius-md)}.list.job-list tbody tr>td,.list.job-list tbody tr>td:has(+.col-go:last-child){height:auto;padding:0;background:transparent;border-radius:0;box-shadow:none}.list.job-list tbody tr:hover{background:var(--surface-hover)}.list.job-list .col-vehicle{grid-area:vehicle}.list.job-list .col-customer{grid-area:customer}.list.job-list .col-status{grid-area:status;text-align:right}.list.job-list .col-estimate{grid-area:estimate;align-self:end}}.job-lines{display:flex;flex-direction:column;margin:var(--space-3) 0}.job-lines-head,.job-line{display:grid;grid-template-columns:minmax(0,1fr) 64px 124px;gap:var(--space-2);align-items:center}.job-lines-head{padding:0 0 var(--space-2);border-bottom:1px solid var(--line);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted)}.job-line{grid-template-areas:"name name x" "note qty price";padding:var(--space-2) 0;border-bottom:1px solid var(--line)}.job-line-name{grid-area:name;min-width:0;overflow-wrap:anywhere}.job-line>button.line-x{grid-area:x;justify-self:end}.job-line input:not([type=checkbox],[type=radio]){width:100%;min-height:var(--touch-min);padding:0 var(--space-3)}.job-line-note{grid-area:note}.job-line-qty{grid-area:qty}.job-line-price{grid-area:price;display:flex;justify-content:flex-end;text-align:right;font:var(--text-data)}.record-list{display:flex;flex-direction:column;margin:var(--space-3) 0;padding:0;list-style:none}.record-list li{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-3) 0;border-bottom:1px solid var(--line)}.record-list p{margin:0;overflow-wrap:anywhere}.record-top,.record-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-1) var(--space-3)}.record-foot{font:var(--text-small);font-family:var(--font-mono);color:var(--ink-muted)}.job-line-price>.muted{font:var(--text-small);white-space:normal}.record-top>.status{margin:0}.drawer-inline input:not([type=checkbox],[type=radio]),.drawer-inline select,.drawer-inline textarea{border-color:transparent;background-color:var(--surface)}.drawer-inline .drawer-body button:where(:not(.line-x,.choice,.job-step,.side-list button)),.drawer-inline .drawer-foot button{min-height:40px;border-radius:var(--radius-pill)}.drawer-inline button.secondary,.ticket-idle button.secondary{border-color:transparent;background:var(--surface)}.drawer-inline button.secondary:hover,.ticket-idle button.secondary:hover{background:var(--surface-hover)}.ticket-idle button:where(:not(.ticket-item,.line-x)){border-radius:var(--radius-pill)}.pay button:where(:not(.line-x)),.pay input:not([type=checkbox],[type=radio]),.pay select{border-radius:var(--radius-pill)}.pay input:not([type=checkbox],[type=radio]),.pay select,.pay button.secondary,.pay button.choice{border-color:transparent}.pay button.secondary:hover,.pay button.choice:hover,.pay button.method:hover{border-color:transparent;background:var(--sheet-line)}.pay button.method[aria-pressed=true]{background:var(--sheet-accent);color:var(--on-sheet-accent)}.drawer-inline button.choice{border-color:transparent;border-radius:var(--radius-lg);background:var(--surface)}.drawer-inline button.choice:hover{background:var(--surface-hover)}.drawer-inline .drawer-foot{flex-wrap:wrap}.drawer-inline .drawer-foot button{flex:none;white-space:nowrap}.picked{display:flex;align-items:center;gap:var(--space-3);min-height:var(--control);padding:var(--space-1) var(--space-1) var(--space-1) var(--space-4);background:var(--surface);border-radius:var(--radius-lg)}.picked-main{display:flex;flex:1;flex-direction:column;min-width:0}.picked-main b{font:var(--text-body-strong);letter-spacing:var(--tracking-body-strong)}.picked-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--text-small);color:var(--ink-muted)}.choices.vehicle-choices{flex-direction:column;flex-wrap:nowrap;gap:var(--space-1);margin:var(--space-1) 0 0}.choices.vehicle-choices:empty{display:none}.vehicle-choices button.choice{justify-content:flex-start;gap:var(--space-3);min-width:0;min-height:var(--touch-min);text-align:left}.vehicle-choices button.choice .muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-choices button.choice-new{color:var(--accent);font-weight:600}.job-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-1)}button.job-step{flex-direction:column;justify-content:flex-start;gap:var(--space-1);min-width:0;min-height:76px;padding:var(--space-2) var(--space-1);border:0;border-radius:var(--radius-lg);background:var(--surface);color:var(--ink-muted);font:var(--text-small);font-weight:600;text-align:center;white-space:normal;overflow-wrap:anywhere}button.job-step i{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:var(--radius-pill);background:var(--surface-sunken);color:var(--ink-muted);font:600 12px/1 var(--font-mono);font-style:normal}button.job-step[data-done=true]{color:var(--ink)}button.job-step[data-done=true] i{background:var(--accent-soft);color:var(--on-accent-soft)}button.job-step[aria-pressed=true]{background:var(--action);color:var(--on-action)}button.job-step[aria-pressed=true] i{background:var(--on-action);color:var(--action)}button.job-step:hover:not(:disabled,[aria-pressed=true]){background:var(--surface-hover)}button.job-step:disabled{opacity:.6}button.job-step[aria-pressed=true]:disabled{background:var(--action);color:var(--on-action)}.drawer-inline .drawer-body button.job-bill{justify-content:space-between;width:100%;min-height:var(--control-lg);margin-top:var(--space-2);padding:0 var(--space-6)}.job-closed{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin:0}.side-total{display:flex;flex-direction:column;gap:2px;padding:var(--space-4);background:var(--surface);border-radius:var(--radius-lg)}.side-total b{font:var(--text-amount-xl);letter-spacing:var(--tracking-amount-xl);text-align:left}.side-buttons{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3)}.side-buttons>button{flex:1 1 140px}.drawer-inline .drawer-foot button.side-go{flex:1;justify-content:space-between;min-height:var(--control-lg);padding:0 var(--space-6);font:var(--text-heading)}.side-go .num{font:var(--text-amount)}.return-sale{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-8);padding:var(--space-3) var(--space-4);background:var(--surface);border-radius:var(--radius-lg)}.return-sale>span{display:flex;flex-direction:column}.return-sale b{font:var(--text-body-strong)}.page-find{display:contents}.return-lines{display:flex;flex-direction:column;gap:var(--space-2)}.return-lines-head,.return-line{display:grid;grid-template-columns:minmax(0,1fr) auto 120px;align-items:center;gap:var(--space-4)}.return-lines-head{padding:0 var(--space-4);font:var(--text-label);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--ink-muted)}.return-line-back{display:flex;align-items:center;gap:var(--space-3)}.return-line-refund{font:var(--text-data)}.return-line input.qty{border-color:transparent;background:var(--surface-sunken)}.return-line.chosen input.qty{background:var(--surface)}.search:focus-within,.search-box:focus-within,.page-head .search.sell-scan:focus-within,.page-head .search-box:focus-within,.page-head .page-tools input:not([type=checkbox],[type=radio]):focus-visible,.page-head select:focus-visible,.sell-strip input:not([type=checkbox],[type=radio]):focus-visible,.drawer-inline input:not([type=checkbox],[type=radio]):focus-visible,.drawer-inline select:focus-visible,.drawer-inline textarea:focus-visible,.return-line input.qty:focus-visible{outline:none;box-shadow:none;background-color:var(--surface-hover)}.search:focus-within .icon,.search-box:focus-within .icon{color:var(--accent)}html{-webkit-text-size-adjust:100%}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}@media(prefers-reduced-motion:reduce){*{transition:none!important}}h3{margin:var(--space-3) 0 var(--space-2);font:var(--text-body-strong)}.small{font:var(--text-small);letter-spacing:var(--tracking-small)}.notice{margin:0;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--accent-soft);color:var(--on-accent-soft)}.plain{margin:0;padding:0;list-style:none}.hidden-username{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.auth-card .form{gap:var(--space-4)}.auth-card .facts{margin-top:0}button.big{width:100%;min-height:var(--control-lg)}.auth-links{margin:0;text-align:center}.choice-block{display:flex;flex-direction:column;gap:var(--space-2)}button.option{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-1);width:100%;min-height:var(--control-lg);padding:var(--space-4);border-color:var(--line-strong);background:var(--surface);color:var(--ink);text-align:left}button.option:hover{background:var(--surface-hover)}button.option span{font:var(--text-small);letter-spacing:var(--tracking-small)}.check{display:flex;gap:var(--space-2);align-items:center}.qr{display:block;width:200px;height:200px;margin:0 auto;padding:var(--space-2);border-radius:var(--radius-md);background:var(--on-sheet);color:var(--sheet)}.secret,.codes{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.secret{margin:0;padding:var(--space-3);border-radius:var(--radius-md);background:var(--surface-sunken);text-align:center;word-break:break-all}.codes{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-2) var(--space-6);margin:0;padding:var(--space-4) var(--space-4) var(--space-4) var(--space-8);border-radius:var(--radius-md);background:var(--surface-sunken)}.human-check{min-height:65px}.password-field{position:relative}button.link.password-toggle{position:absolute;top:0;right:0;font:var(--text-label);letter-spacing:var(--tracking-label);text-decoration:none}.panel{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md)}.panel h3{margin:0}.table-wrap{overflow-x:auto}.table-wrap .table{margin:0}.kpi .muted{font:var(--text-small)}.list button.row-open{display:block;min-height:0;padding:0;border:0;background:none;color:var(--ink);font:var(--text-body-strong);text-align:left}.chart{margin:0}.chart svg{display:block;width:100%;height:auto;overflow:visible}.chart-axis{stroke:var(--line-strong);stroke-width:1}.chart-bar{fill:var(--accent)}.chart-hit{fill:transparent}.chart-col:hover .chart-hit,.chart-col:focus .chart-hit{fill:var(--surface-sunken)}.chart-col:focus{outline:none}.chart-col:focus-visible .chart-hit{stroke:var(--focus);stroke-width:2}.chart-label{fill:var(--ink-muted);font:var(--text-small)}.rates{display:flex;flex-direction:column;gap:var(--space-2)}.rates .row{margin:0}.rates .row input{flex:1 1 140px}.rates .row input.short{flex:0 0 90px}.drawer-body .form-grid .check{grid-column:1 / -1}.topbar-mark,button.rail-more,.more-sheet{display:none}@media(max-width:1100px){.side-screen{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.side-screen>.page-head{order:-2}.side-screen>.side-panel{order:-1}.side-main{overflow:visible}.side-panel-idle{display:none}}@media(max-width:760px){#root:has(>.app){height:auto}.app{display:block;min-height:100dvh;padding:0 0 calc(64px + env(safe-area-inset-bottom))}.topbar{position:sticky;top:0;z-index:4;flex-wrap:nowrap;min-height:56px;margin:0;padding:var(--space-2) var(--space-2) var(--space-2) var(--space-3);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.topbar-shop{flex:1;flex-wrap:nowrap;gap:var(--space-2)}.topbar-mark{display:grid;width:36px;height:36px;margin:0;font:var(--text-body-strong)}.topbar-shop b{overflow:hidden;text-overflow:ellipsis;font:var(--text-heading);letter-spacing:var(--tracking-heading)}.topbar-tags,.topbar-group,.topbar-person-text{display:none}.topbar-tools{flex:none;flex-wrap:nowrap}.topbar-person{margin-right:0;padding-right:var(--space-1);border-right:0}.work{overflow:visible;min-height:calc(100dvh - 56px - 64px - var(--space-2));margin:var(--space-2) 0 0;padding:var(--space-3) var(--space-2) var(--space-4);border-radius:var(--radius-lg) var(--radius-lg) 0 0;box-shadow:none}.side-panel{scroll-margin-top:72px}.rail{position:fixed;left:0;right:0;bottom:0;z-index:4;flex-direction:row;align-items:stretch;gap:2px;padding:var(--space-1) var(--space-1) calc(var(--space-1) + env(safe-area-inset-bottom))}.rail .mark,.rail .rail-other{display:none}.rail-items{display:contents}.rail .rail-item{flex:1 1 0;width:auto;min-width:0}button.rail-more{display:flex}button.rail-more.is-current{background:var(--sidebar-active);color:var(--on-sidebar-active)}.more-sheet:not([hidden]){display:block}.more-dim{position:fixed;inset:0;z-index:5;background:var(--scrim);opacity:.6}.more-panel{position:fixed;left:var(--space-2);right:var(--space-2);bottom:calc(68px + env(safe-area-inset-bottom));z-index:6;display:flex;flex-direction:column;gap:var(--space-3);max-height:calc(100dvh - 140px);overflow-y:auto;padding:var(--space-3);background:var(--panel);border-radius:var(--radius-xl);box-shadow:var(--shadow-overlay)}.more-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.more-link{display:flex;align-items:center;gap:var(--space-2);min-height:var(--control);padding:0 var(--space-3);border-radius:var(--radius-md);background:var(--surface);color:var(--ink);font:var(--text-body-strong);text-decoration:none}.more-link .icon{flex:none;color:var(--ink-muted)}.more-link[aria-current=page]{background:var(--accent-soft);color:var(--on-accent-soft)}.more-link[aria-current=page] .icon{color:inherit}.more-look{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-2)}.page-head{min-height:0;padding:var(--space-3) var(--space-3) var(--space-3) var(--space-4);border-radius:var(--radius-lg)}.page-title :is(h1,h2){white-space:normal}.section{gap:var(--space-3);padding:var(--space-4)}.kpis{grid-template-columns:minmax(0,1fr);gap:var(--space-2)}.kpi{gap:var(--space-1);padding:var(--space-3) var(--space-4)}.row.lang-switch.period-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.period-presets button.choice{min-width:0;padding:0 var(--space-1)}.figures{grid-template-columns:minmax(0,1fr);gap:var(--space-2)}.figure{flex-direction:row;align-items:baseline;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) var(--space-3)}.drawer.drawer-inline{border-radius:var(--radius-lg)}.table.stack thead{display:none}.table.stack,.table.stack tbody,.table.stack tr{display:block}.table.stack tr{padding:var(--space-3) 0;border-bottom:1px solid var(--line)}.table.stack tr:last-child{border-bottom:0}.table.stack td{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3);padding:2px 0;border:0;text-align:right}.table.stack td:before{content:attr(data-label);flex:none;max-width:45%;color:var(--ink-muted);font:var(--text-small);text-align:left;white-space:normal}.table.stack td:first-child{display:block;padding-bottom:var(--space-1);font:var(--text-body-strong);text-align:left}.table.stack td:first-child:before{content:none}.table.stack tbody tr:hover{background:none}.table-wrap{overflow:visible}}
