@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2) format("woff2"),url(/assets/inter-cyrillic-ext-400-normal-DQukG94-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-cyrillic-400-normal-obahsSVq.woff2) format("woff2"),url(/assets/inter-cyrillic-400-normal-HOLc17fK.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-greek-ext-400-normal-DGGRlc-M.woff2) format("woff2"),url(/assets/inter-greek-ext-400-normal-KugGGMne.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-greek-400-normal-B4URO6DV.woff2) format("woff2"),url(/assets/inter-greek-400-normal-q2sYcFCs.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2"),url(/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-ext-400-normal-C1nco2VV.woff2) format("woff2"),url(/assets/inter-latin-ext-400-normal-77YHD8bZ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-400-normal-C38fXH4l.woff2) format("woff2"),url(/assets/inter-latin-400-normal-CyCys3Eg.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2) format("woff2"),url(/assets/inter-cyrillic-ext-500-normal-BmqWE9Dz.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-cyrillic-500-normal-BasfLYem.woff2) format("woff2"),url(/assets/inter-cyrillic-500-normal-CxZf_p3X.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-greek-ext-500-normal-C4iEst2y.woff2) format("woff2"),url(/assets/inter-greek-ext-500-normal-2j5mBUwD.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-greek-500-normal-BIZE56-Y.woff2) format("woff2"),url(/assets/inter-greek-500-normal-Xzm54t5V.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-vietnamese-500-normal-DOriooB6.woff2) format("woff2"),url(/assets/inter-vietnamese-500-normal-mJboJaSs.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2) format("woff2"),url(/assets/inter-latin-ext-500-normal-BxGbmqWO.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-500-normal-Cerq10X2.woff2) format("woff2"),url(/assets/inter-latin-500-normal-BL9OpVg8.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2) format("woff2"),url(/assets/inter-cyrillic-ext-600-normal-Bcila6Z-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-cyrillic-600-normal-CWCymEST.woff2) format("woff2"),url(/assets/inter-cyrillic-600-normal-4D_pXhcN.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-greek-ext-600-normal-DRtmH8MT.woff2) format("woff2"),url(/assets/inter-greek-ext-600-normal-B8X0CLgF.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-greek-600-normal-plRanbMR.woff2) format("woff2"),url(/assets/inter-greek-600-normal-BZpKdvQh.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2) format("woff2"),url(/assets/inter-vietnamese-600-normal-BuLX-rYi.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2) format("woff2"),url(/assets/inter-latin-ext-600-normal-CIVaiw4L.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-600-normal-LgqL8muc.woff2) format("woff2"),url(/assets/inter-latin-600-normal-CiBQ2DWP.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--os-background: #f8f9fa;--os-surface: #ffffff;--os-surface-low: #f3f4f5;--os-surface-container: #edeeef;--os-border: #c4c7c7;--os-text: #191c1d;--os-muted: #444748;--os-primary: #000000;--os-secondary: #4b41e1;--os-secondary-soft: #e2dfff;--os-tertiary-soft: #d8e2ff;--os-danger: #ba1a1a;--os-danger-soft: #ffdad6;--os-success: #166534;--os-success-soft: #dcfce7;--os-warning: #92400e;--os-warning-soft: #fef3c7}.os-preview-shell{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr);background:radial-gradient(circle at top right,rgba(100,94,251,.14),transparent 34rem),var(--os-background);color:var(--os-text);font-family:Inter,system-ui,sans-serif}.os-sidebar{position:sticky;top:0;height:100vh;padding:24px 16px;background:#ffffffbd;border-right:1px solid rgba(196,199,199,.7);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.os-brand{display:flex;align-items:center;gap:12px;padding:8px;margin-bottom:28px}.os-brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--os-primary);color:#fff;font-weight:800}.os-brand strong,.os-brand span,.os-topbar h1,.os-command-card h2,.os-panel h2,.os-foundation-band h2{font-family:Manrope,Inter,system-ui,sans-serif}.os-brand div span{display:block;color:var(--os-secondary);font-weight:700}.os-nav{display:grid;gap:6px}.os-nav a{min-height:44px;display:flex;align-items:center;gap:12px;padding:0 14px;border-radius:12px;color:var(--os-muted);text-decoration:none;font-weight:700}.os-nav a.active,.os-nav a:hover{background:#001a42;color:#adc6ff}.os-workspace{min-width:0;padding:32px clamp(16px,4vw,48px) 48px}.os-topbar,.os-card-heading,.os-section-title,.os-foundation-band,.os-foundation-steps,.os-task,.os-metrics-row{display:flex;align-items:center}.os-topbar{justify-content:space-between;gap:24px;margin-bottom:28px}.os-topbar h1{max-width:760px;margin:0;font-size:clamp(32px,5vw,56px);line-height:1;letter-spacing:-.04em}.os-eyebrow{margin:0 0 8px;color:var(--os-secondary);font-size:12px;line-height:1;letter-spacing:.12em;text-transform:uppercase;font-weight:800}.os-doc-link,.os-task button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--os-border);border-radius:999px;padding:0 16px;background:#fff;color:var(--os-text);font-weight:800;text-decoration:none;white-space:nowrap}.os-hero-grid,.os-content-grid,.os-mobile-workflows{display:grid;gap:20px}.os-hero-grid{grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);margin-bottom:20px}.glass-card,.os-health-card,.os-panel,.os-assistant-card,.os-mobile-workflows article,.os-foundation-band{border:1px solid rgba(196,199,199,.74);border-radius:24px;background:#ffffffc7;box-shadow:0 24px 70px #191c1d14}.glass-card,.os-health-card,.os-panel,.os-assistant-card{padding:24px}.glass-card,.os-assistant-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.os-card-heading,.os-section-title{justify-content:space-between;gap:16px;margin-bottom:20px}.ai-chip,.os-status,.os-live-dot{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.ai-chip{background:var(--os-secondary-soft);color:#3323cc}.os-status.good,.os-live-dot{background:var(--os-success-soft);color:var(--os-success)}.os-command-card h2{margin:0;max-width:820px;font-size:clamp(28px,4vw,48px);line-height:1.05;letter-spacing:-.03em}.os-command-card p,.os-panel p,.os-health-card p,.os-mobile-workflows p,.os-task p{color:var(--os-muted)}.os-command-card p{max-width:760px;margin:16px 0 28px;font-size:17px;line-height:1.7}.os-command-input{min-height:64px;display:flex;align-items:center;gap:12px;border:1px solid rgba(100,94,251,.32);border-radius:18px;padding:0 16px;background:linear-gradient(135deg,#e2dfffb8,#ffffffe0);color:var(--os-muted)}.os-live-validator{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:16px;border:1px solid rgba(196,199,199,.84);border-radius:18px;background:#ffffffbd}.os-live-validator strong{display:block;color:var(--os-text);font-size:15px;line-height:1.5}.os-live-validator.success{border-color:#16653459;background:#dcfce7b8}.os-live-validator.error{border-color:#ba1a1a52;background:#ffdad6b8}.os-live-validator.loading{border-color:#645efb59;background:#e2dfff9e}.os-validator-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.os-validator-actions button{min-height:44px;border:0;border-radius:999px;padding:0 16px;background:#001a42;color:#fff;font-weight:800}.os-validator-actions button.secondary{border:1px solid var(--os-border);background:#fff;color:var(--os-text)}.os-command-input kbd{margin-left:auto;border:1px solid var(--os-border);border-radius:8px;padding:5px 8px;background:#fff;color:var(--os-text)}.os-health-card strong{display:block;font-size:36px;letter-spacing:-.04em}.os-chart{height:130px;display:flex;align-items:end;gap:10px;margin-top:24px}.os-chart span{flex:1;min-width:18px;border-radius:999px 999px 8px 8px;background:linear-gradient(180deg,#645efb,#d8e2ff)}.os-content-grid{grid-template-columns:minmax(0,1fr) 360px;align-items:start}.os-stack{display:grid;gap:20px}.os-section-title h2,.os-foundation-band h2{margin:0;font-size:24px;letter-spacing:-.02em}.os-task-list{display:grid;gap:12px}.os-task{min-height:84px;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--os-border);border-radius:18px;background:var(--os-surface)}.os-task-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:var(--os-surface-container)}.os-task.risk .os-task-icon{background:var(--os-danger-soft);color:var(--os-danger)}.os-task.money .os-task-icon{background:var(--os-tertiary-soft);color:#004395}.os-task.ai .os-task-icon{background:var(--os-secondary-soft);color:#3323cc}.os-task h3,.os-mobile-workflows h3{margin:0 0 4px;font-size:16px}.os-task p,.os-mobile-workflows p{margin:0}.os-metrics-row{gap:12px}.os-metric{flex:1;min-height:112px;display:grid;align-content:space-between;padding:16px;border-radius:18px;background:var(--os-surface-low)}.os-metric span{color:var(--os-muted);font-size:13px;font-weight:700}.os-metric strong{font-size:28px}.os-metric.warn{background:var(--os-warning-soft);color:var(--os-warning)}.os-phone-frame{min-height:560px;display:flex;flex-direction:column;gap:14px;border:10px solid #111;border-radius:36px;padding:18px;background:var(--os-background)}.os-phone-top{display:flex;justify-content:space-between;align-items:center;font-weight:900}.os-chat-bubble{max-width:88%;border-radius:18px;padding:12px 14px;line-height:1.5}.os-chat-bubble.ai{background:#fff;border:1px solid var(--os-border)}.os-chat-bubble.user{align-self:flex-end;background:#001a42;color:#fff}.os-approval-mini{display:flex;gap:12px;margin-top:auto;padding:14px;border-radius:18px;background:var(--os-secondary-soft);color:#3323cc}.os-approval-mini span{display:block;margin-top:4px;color:#474646;font-size:13px}.os-mobile-input{min-height:44px;display:flex;align-items:center;padding:0 14px;border-radius:999px;background:#fff;border:1px solid var(--os-border);color:var(--os-muted)}.os-mobile-workflows{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px}.os-mobile-workflows article{padding:20px}.os-mobile-workflows svg{color:var(--os-secondary)}.os-foundation-band{justify-content:space-between;gap:24px;margin-top:20px;padding:24px;background:#111;color:#fff}.os-foundation-band .os-eyebrow,.os-foundation-band h2{color:#fff}.os-foundation-steps{gap:10px;flex-wrap:wrap}.os-foundation-steps span{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border-radius:999px;background:#ffffff1f;white-space:nowrap}@media (max-width: 1100px){.os-preview-shell{grid-template-columns:1fr}.os-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--os-border)}.os-nav{grid-template-columns:repeat(5,minmax(0,1fr));overflow-x:auto}.os-nav a{white-space:nowrap}.os-hero-grid,.os-content-grid{grid-template-columns:1fr}.os-assistant-card{max-width:420px}}@media (max-width: 720px){.os-workspace{padding:20px 16px 32px}.os-topbar,.os-foundation-band,.os-task,.os-metrics-row,.os-live-validator,.os-validator-actions{align-items:stretch;flex-direction:column}.os-doc-link,.os-task button,.os-validator-actions button{width:100%}.os-nav{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:max-content}.os-mobile-workflows{grid-template-columns:1fr}.os-phone-frame{min-height:500px;border-width:8px}}.accounting-mvp{min-height:100vh;padding:32px 20px;background:#f8f9fa;color:#191c1d}.accounting-shell{width:min(1120px,100%);margin:0 auto}.accounting-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.accounting-header h1,.accounting-card h2{font-family:Manrope,Inter,system-ui,sans-serif;letter-spacing:-.03em}.accounting-header h1{max-width:760px;margin:0 0 12px;font-size:clamp(34px,5vw,56px);line-height:1}.accounting-header p{max-width:720px;margin:0;color:#444748;font-size:17px;line-height:1.7}.accounting-header a,.module-links a{min-height:44px;display:inline-flex;align-items:center;border:1px solid #c4c7c7;border-radius:999px;padding:0 16px;color:#191c1d;background:#fff;font-weight:800;text-decoration:none;white-space:nowrap}.accounting-kicker{margin:0 0 8px;color:#4b41e1;font-size:12px;line-height:1;letter-spacing:.12em;text-transform:uppercase;font-weight:900}.accounting-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:20px;align-items:start}.accounting-card{border:1px solid #c4c7c7;border-radius:24px;background:#fff;box-shadow:0 24px 70px #191c1d12;padding:24px}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.card-title-row h2,.rules-card h2{margin:0;font-size:24px}.amount-field{display:grid;gap:8px;margin-bottom:14px;color:#444748;font-weight:800}.amount-field input{min-height:52px;border:1px solid #c4c7c7;border-radius:14px;padding:0 14px;font-size:22px;font-weight:800}.toggle-row{min-height:44px;display:flex;align-items:center;gap:10px;margin-bottom:18px;color:#444748}.toggle-row input{width:18px;height:18px;accent-color:#4b41e1}.journal-table{overflow:hidden;border:1px solid #c4c7c7;border-radius:18px;margin-bottom:18px}.journal-head,.journal-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 140px;gap:12px;align-items:center;padding:14px 16px}.journal-head{background:#edeeef;color:#444748;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.journal-row+.journal-row{border-top:1px solid #e1e3e4}.journal-row span:not(:first-child){font-family:JetBrains Mono,monospace;text-align:right}.journal-row strong{display:inline-flex;margin-right:10px;color:#4b41e1}.validate-button{width:100%;min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:16px;background:#001a42;color:#fff;font-weight:900}.validation-result{min-height:56px;display:flex;align-items:center;gap:10px;margin-top:14px;border:1px solid #c4c7c7;border-radius:16px;padding:12px 14px;color:#444748;background:#f8f9fa;font-weight:700}.validation-result.success{border-color:#86efac;color:#166534;background:#dcfce7}.validation-result.error{border-color:#fecaca;color:#991b1b;background:#fee2e2}.rules-card ul{display:grid;gap:12px;padding:0;margin:20px 0;list-style:none}.rules-card li{display:flex;gap:10px;align-items:flex-start;color:#444748;line-height:1.5}.rules-card svg{flex:0 0 auto;color:#4b41e1}.module-links{display:flex;gap:10px;flex-wrap:wrap}@media (max-width: 860px){.accounting-header,.accounting-grid{grid-template-columns:1fr}.accounting-header{flex-direction:column}.journal-head,.journal-row{grid-template-columns:minmax(0,1fr) 88px 88px;padding:12px}}:root{--bg:hsl(220 24% 97%);--surface:hsl(0 0% 100%);--surface-alt:hsl(216 32% 94%);--surface-container:hsl(210 36% 96%);--border:hsl(214 18% 84%);--border-strong:hsl(215 16% 46%);--text:hsl(222 47% 11%);--text-secondary:hsl(215 19% 35%);--text-muted:hsl(215 14% 45%);--inverse:hsl(210 40% 98%);--action:hsl(221 39% 17%);--action-hover:hsl(222 47% 11%);--accent:hsl(173 80% 24%);--accent-soft:hsl(174 58% 90%);--success:hsl(158 64% 29%);--success-soft:hsl(151 62% 91%);--warning:hsl(32 95% 38%);--warning-soft:hsl(48 96% 89%);--destructive:hsl(0 72% 43%);--destructive-soft:hsl(6 100% 94%);--info:hsl(217 91% 40%);--info-soft:hsl(214 95% 93%);--space-2:2px;--space-4:4px;--space-6:6px;--space-8:8px;--space-12:12px;--space-16:16px;--space-20:20px;--space-24:24px;--space-32:32px;--space-40:40px;--space-48:48px;--space-64:64px;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--motion:.15s ease-out;--floating-shadow:0 18px 48px hsl(222 47% 11% / .12)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5;font-weight:400;font-feature-settings:"tnum" 1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}img{display:block;max-width:100%}code,.mono{font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:20px;font-variant-numeric:tabular-nums}.num,.right{font-variant-numeric:tabular-nums}.right{text-align:right}.center{text-align:center}.muted{color:var(--text-muted)}.text-secondary{color:var(--text-secondary)}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.sr-only{position:absolute;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}h1{font-size:24px;line-height:1.3;font-weight:600;margin:0;color:var(--text);letter-spacing:-.01em}h2{font-size:20px;line-height:1.4;font-weight:600;margin:0;color:var(--text)}h3{font-size:16px;line-height:1.5;font-weight:600;margin:0;color:var(--text)}p{margin:0;color:var(--text-secondary)}label{display:block;font-size:12px;line-height:1;font-weight:600;color:var(--text-secondary);margin-bottom:6px;letter-spacing:.05em;text-transform:uppercase}.helper{font-size:12px;line-height:1.4;color:var(--text-muted);margin-top:4px}.error-text{font-size:14px;line-height:1.5;color:var(--destructive)}input,select,textarea{width:100%;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);padding:0 12px;min-height:44px;transition:border-color .15s ease-out}textarea{padding:10px 12px;resize:vertical}input::placeholder,textarea::placeholder{color:var(--text-muted)}input:focus,select:focus,textarea:focus{outline:3px solid var(--accent);outline-offset:2px;border-color:var(--action)}input[type=checkbox],input[type=radio]{width:20px;min-width:20px;min-height:20px;height:20px;padding:0;accent-color:var(--accent)}label.row{min-height:44px}.field{display:grid;gap:6px}.input-wrap{position:relative}.input-with-icon input{padding-left:36px}.input-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none;display:flex}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius-sm);border:1px solid transparent;font-weight:500;font-size:14px;line-height:1;text-decoration:none;min-width:44px;min-height:44px;padding:0 16px;background:var(--action);color:#fff;transition:background .15s ease-out,color .15s ease-out,border-color .15s ease-out}.btn:hover,button:hover{text-decoration:none}.btn-primary{background:var(--action);color:#fff;border-color:var(--action)}.btn-primary:hover{background:var(--action-hover);border-color:var(--action-hover)}.btn-secondary,button.secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.btn-secondary:hover,button.secondary:hover{background:var(--surface-container)}.btn-ghost,button.ghost{background:transparent;color:var(--text-secondary);border-color:transparent}.btn-ghost:hover,button.ghost:hover{background:var(--surface-alt);color:var(--text)}.btn-destructive,button.danger{background:transparent;color:var(--destructive);border-color:var(--border)}.btn-destructive:hover,button.danger:hover{background:var(--destructive-soft);border-color:var(--destructive)}.btn-sm{height:44px;min-height:44px;padding:0 12px}.btn-md{height:44px}.btn-lg{height:48px;min-height:48px;padding:0 20px}.icon-btn,.icon-btn-sm{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:24px;margin-bottom:16px}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.card h2{margin-bottom:16px}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:var(--radius-sm);font-size:12px;line-height:1;font-weight:500;background:var(--surface-alt);color:var(--text-secondary)}.badge.ok,.badge-success{background:var(--success-soft);color:var(--success)}.badge.warn,.badge-warning{background:var(--warning-soft);color:var(--warning)}.badge-danger,.badge-destructive{background:var(--destructive-soft);color:var(--destructive)}.badge-info{background:var(--info-soft);color:var(--info)}.grid{display:grid;gap:16px}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.row{display:flex;gap:12px;align-items:center}.spread{display:flex;gap:16px;align-items:center;justify-content:space-between}.stack{display:grid;gap:16px}.actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.page{display:grid;gap:24px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.page-header p{margin-top:4px}.page-content{max-width:1280px}.tabs{display:flex;gap:16px;border-bottom:1px solid var(--border)}.tab{padding:8px 0;color:var(--text-secondary);border-bottom:2px solid transparent;background:transparent;min-height:44px}.tab.active{color:var(--text);border-bottom-color:var(--action)}.skip-link{position:absolute;left:12px;top:12px;z-index:300;transform:translateY(-160%);background:var(--surface);color:var(--text);border:2px solid var(--accent);border-radius:var(--radius-sm);padding:10px 14px;font-weight:600}.skip-link:focus{transform:translateY(0)}table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}th,td{padding:0 12px;height:48px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}th{background:var(--bg);font-size:12px;line-height:1;font-weight:600;color:var(--text-secondary);letter-spacing:.05em;text-transform:uppercase}td{font-size:14px;line-height:1;font-weight:500;color:var(--text)}tbody tr:hover{background:var(--surface-alt)}tbody tr:last-child td{border-bottom:0}.table-wrap{overflow:auto}.empty-table{text-align:center;color:var(--text-muted);padding:32px}.skeleton{height:16px;background:var(--surface-alt);border-radius:var(--radius-sm)}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--action);color:var(--inverse);display:flex;flex-direction:column;min-height:100vh}.sidebar-header{height:64px;display:flex;align-items:center;padding:0 20px;border-bottom:1px solid rgba(238,240,255,.12)}.sidebar-logo{width:150px;height:auto}.sidebar-nav{padding:20px 12px;display:grid;gap:20px;flex:1}.sidebar-section-label{font-size:12px;line-height:1;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#cbd5e1;margin:0 8px 8px}.sidebar-link{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 10px 8px 12px;border-radius:var(--radius-sm);color:var(--inverse);font-weight:400;text-decoration:none;transition:background .15s ease-out}.sidebar-link:hover{background:#ffffff0f;color:#fff;text-decoration:none}.sidebar-link.active{color:#fff;background:#ffffff14}.sidebar-link.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;background:var(--accent);border-radius:2px}.sidebar-footer{padding:16px 12px;border-top:1px solid rgba(238,240,255,.12)}.app-main{min-width:0}.topbar{height:56px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px}.tenant-name{font-weight:500;color:var(--text-secondary)}.user-menu{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px}.main{padding:24px;max-width:1328px}.mobile-nav-toggle{display:none}.login-shell,.public-shell{min-height:100vh;display:grid;place-items:center;background:var(--bg);padding:24px}.login-card{width:min(400px,100%);margin:0;padding:32px}.request-card{width:min(640px,100%);margin:0;padding:32px}.auth-logo{width:134px;margin:0 auto 24px}.auth-title{text-align:center;font-size:20px;line-height:1.4;font-weight:600}.auth-sub{text-align:center;margin-top:4px;margin-bottom:24px;font-size:14px;line-height:1.5;color:var(--text-secondary)}.form-grid{display:grid;gap:16px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.full{grid-column:1/-1}.inline-error{margin:8px 0;color:var(--destructive)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#131b2e52;display:grid;place-items:center;z-index:300;padding:24px}.modal{width:min(520px,100%);background:var(--surface);border:1px solid var(--text);border-radius:var(--radius-sm);padding:0}.modal.wide{width:min(720px,100%)}.modal-header{padding:24px 24px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-body{padding:24px}.modal-footer{padding:16px 24px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px}.slide-over{position:fixed;top:0;right:0;width:min(480px,100%);height:100vh;background:var(--surface);border-left:1px solid var(--border);z-index:310;padding:24px;overflow:auto}.toast{position:fixed;right:20px;bottom:20px;width:min(380px,calc(100vw - 40px));background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--info);border-radius:var(--radius-sm);padding:12px 16px;z-index:400;color:var(--text);animation:toast-in var(--motion)}.toast.success{border-left-color:var(--success)}.toast.error{border-left-color:var(--destructive)}.toast.info{border-left-color:var(--info)}.pos-grid{display:grid;grid-template-columns:3fr 2fr;gap:24px}.cart-row{display:grid;grid-template-columns:minmax(0,1fr) 112px 96px 96px 40px;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border)}.qty-stepper{display:grid;grid-template-columns:44px 44px 44px;gap:4px;align-items:center}.totals{display:grid;gap:8px}.totals-row{display:flex;justify-content:space-between;gap:16px}.grand-total{font-size:24px;line-height:1.3;font-weight:600;color:var(--text)}.payment-card{position:sticky;top:80px}.radio-chips{display:flex;gap:8px;flex-wrap:wrap}.radio-chip{display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 12px;background:var(--surface);color:var(--text);min-height:44px}.radio-chip.active,.radio-chip.selected{border-color:var(--action);background:var(--action);color:#fff}.stat-card{display:grid;gap:8px}.stat-value{font-size:24px;line-height:1.3;font-weight:600}.chart-box{height:220px;border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px;background:var(--surface)}.main:has(.pos-terminal){max-width:none}.pos-terminal{display:grid;gap:16px;min-height:calc(100vh - 104px)}.pos-terminal-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.pos-terminal-header p{margin-top:4px}.pos-header-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.pos-header-actions .field{min-width:220px}.pos-workspace{display:grid;grid-template-columns:minmax(420px,1.35fr) minmax(360px,1fr) minmax(320px,380px);gap:16px;min-height:0;height:calc(100vh - 176px)}.pos-products-panel,.pos-cart-panel,.pos-checkout-panel{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg)}.pos-products-panel,.pos-cart-panel{display:flex;flex-direction:column;overflow:hidden}.pos-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 88px auto;gap:8px;align-items:end;padding:16px;border-bottom:1px solid var(--border);background:var(--surface)}.pos-toolbar .field:first-child input{height:52px;font-size:16px}.pos-toolbar .field:first-child .input-wrap{width:100%}.pos-toolbar .field:first-child input{padding-left:40px}.pos-toolbar .btn{height:52px;white-space:nowrap}.pos-filter-strip{display:flex;gap:8px;overflow:auto;padding:12px 16px;border-bottom:1px solid var(--border);background:var(--bg)}.pos-filter-chip{flex:0 0 auto;min-height:40px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-secondary);font-size:13px;font-weight:600}.pos-filter-chip.active{background:var(--action);border-color:var(--action);color:#fff}.pos-product-list{flex:1;overflow:auto;padding:8px}.pos-product-row{display:grid;grid-template-columns:minmax(180px,1fr) 136px 136px 148px 132px;gap:12px;align-items:center;min-height:76px;padding:12px;border:1px solid transparent;border-bottom-color:var(--border);border-radius:var(--radius-md);background:var(--surface);cursor:pointer}.pos-product-row:hover,.pos-product-row:focus-visible{background:var(--surface-container);border-color:var(--border-strong);outline:none}.pos-product-row.disabled{cursor:not-allowed;opacity:.72}.pos-product-main{display:grid;gap:4px;min-width:0}.pos-product-main strong{font-size:17px;line-height:1.25;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-product-main span:not(.badge){font-size:12px;line-height:1.3;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-product-main .badge{width:max-content}.pos-product-price{font-size:16px;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.pos-row-qty{display:grid;grid-template-columns:44px 56px 44px;gap:4px}.pos-row-qty button{height:44px;min-height:44px;padding:0;background:var(--surface);border-color:var(--border);color:var(--text)}.pos-row-qty input{text-align:center;padding:0 4px;min-height:44px}.pos-add-btn{width:132px;height:48px;justify-self:end}.pos-panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid var(--border)}.pos-panel-title p{font-size:13px}.pos-cart-list{flex:1;overflow:auto;padding:8px}.pos-cart-row{display:grid;grid-template-columns:minmax(160px,1fr) 136px 96px 116px 104px 92px;gap:8px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--border)}.pos-cart-item{display:grid;gap:4px;min-width:0}.pos-cart-item strong{font-size:15px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-cart-item span{font-size:12px;color:var(--text-muted)}.pos-cart-price,.pos-cart-total{text-align:right;font-variant-numeric:tabular-nums}.pos-cart-total{font-size:16px;font-weight:700}.pos-cart-actions{display:flex;justify-content:flex-end;gap:4px}.pos-cart-empty{height:100%;display:grid;place-items:center;align-content:center;gap:12px;padding:32px;text-align:center;color:var(--text-secondary)}.pos-cart-empty svg{color:var(--text-muted)}.pos-checkout-panel{display:flex;flex-direction:column;gap:16px;padding:16px;overflow:auto}.pos-total-card{display:grid;gap:4px;padding:20px;border-radius:var(--radius-lg);background:var(--action);color:#fff}.pos-total-card span{font-size:13px;font-weight:700;letter-spacing:.08em}.pos-total-card strong{font-size:34px;line-height:1.15;font-weight:750;font-variant-numeric:tabular-nums}.pos-totals-compact,.pos-change-box{display:grid;gap:8px}.pos-totals-compact div,.pos-change-box div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.pos-totals-compact span,.pos-change-box span{color:var(--text-secondary)}.pos-totals-compact strong,.pos-change-box strong{font-variant-numeric:tabular-nums}.pos-customer-box{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.pos-customer-results{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;display:grid;gap:4px;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 8px 24px #131b2e1f}.pos-customer-results button{display:grid;justify-items:start;gap:2px;min-height:52px;padding:8px 10px;background:transparent;border:1px solid transparent;color:var(--text);text-align:left}.pos-customer-results button:hover,.pos-customer-results button:focus-visible{background:var(--surface-container);border-color:var(--border)}.pos-customer-results span{font-size:12px;color:var(--text-muted)}.link-button{background:transparent;border:0;color:var(--accent);min-height:0;min-width:0;padding:0;font-size:12px;font-weight:700}.pos-payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-payment-card{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:52px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font-weight:650}.pos-payment-card.selected{border-color:var(--action);background:var(--action);color:#fff;box-shadow:inset 0 0 0 1px var(--action)}.pos-checkout-panel #pos-tendered{height:56px;text-align:right;font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}.pos-partial-row{font-size:13px;color:var(--text-secondary)}.pos-checkout-actions{position:sticky;bottom:0;display:grid;gap:8px;margin:0 -16px -16px;padding:16px;background:var(--surface);border-top:1px solid var(--border);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.pos-checkout-actions .btn-primary{width:100%;height:56px;font-size:16px;font-weight:700}.pos-checkout-actions .btn-secondary{width:100%}@keyframes toast-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media (max-width:1023px){.app-shell{grid-template-columns:56px minmax(0,1fr)}.sidebar{width:56px}.sidebar-header{padding:0 12px}.sidebar-logo{width:32px;object-fit:cover;object-position:left}.sidebar-section-label,.sidebar-link span{display:none}.sidebar-link{justify-content:center;padding:8px}.main{padding:24px}.pos-grid{grid-template-columns:minmax(0,1fr) 360px}.grid.cols-3,.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.app-shell{display:block}.sidebar{display:none}.sidebar.open{display:flex;position:fixed;inset:0 auto 0 0;width:min(280px,85vw);z-index:250;box-shadow:0 0 0 999px #131b2e6b}.mobile-nav-toggle{display:inline-flex;position:fixed;right:16px;bottom:16px;z-index:260;border-color:var(--action);box-shadow:0 8px 24px #131b2e2e}.topbar{height:auto;min-height:56px;padding:8px 16px}.main{padding:16px}.pos-grid,.grid.cols-2,.grid.cols-3,.grid.cols-4,.form-grid.two{grid-template-columns:1fr}.page-header,.spread{align-items:flex-start;flex-direction:column}.payment-card{position:static}.charge-bar{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--border);padding:12px;margin:0 -16px -16px}.cart-row{grid-template-columns:1fr;gap:8px}.actions{justify-content:flex-start}.table-wrap table{min-width:720px}}.touch-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px}.pos-search-row{display:flex;gap:8px;min-height:48px}.pos-scan-form{display:flex;gap:8px;align-items:stretch}.pos-scan-inputs{display:flex;gap:4px;align-items:center}.sidebar-link{min-width:44px}html,body,#root{overflow-x:hidden}.card,.page,.page-content,.main,.app-main{min-width:0}.inventory-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.inventory-actions .btn{flex:0 0 auto}.selectable-row{cursor:pointer}.selectable-row:hover{background:var(--surface-alt)}.selectable-row:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}.modal.variants-modal{width:min(1100px,95vw);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.variants-modal .modal-header,.variants-modal .modal-footer{flex-shrink:0}.variants-modal .modal-body{overflow-y:auto;min-height:0;padding:24px}.variants-modal .modal-footer{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--border)}.variants-footer-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;width:100%}.variant-option-row{display:flex;gap:8px;margin-top:8px;align-items:flex-start;flex-wrap:wrap;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.variant-values-row{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;flex:1;min-width:min(100%,360px)}.variant-option-row .badge{min-height:44px;gap:6px}.variant-option-actions,.variant-generate-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.variant-generate-actions{padding-top:4px}.variant-bulk-toolbar{display:grid;grid-template-columns:auto repeat(4,minmax(96px,120px)) auto;gap:8px;align-items:end;margin:12px 0 16px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg)}.variant-bulk-title{font-weight:600;align-self:center;color:var(--text-secondary)}.crud-page{gap:16px}.crud-page-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}.crud-toolbar{display:grid;grid-template-columns:minmax(240px,420px) auto;justify-content:space-between;gap:16px;align-items:end;padding:16px;border-bottom:1px solid var(--border);background:var(--surface)}.crud-search label{font-size:13px}.crud-table{border-radius:0;border:0}.crud-table table{border:0;border-radius:0}.crud-sort-button{display:inline;min-height:0;min-width:0;padding:0;background:transparent;border:0;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit}.crud-row{cursor:pointer}.crud-row:hover,.crud-row:focus-visible{background:var(--surface-container);outline:3px solid var(--accent);outline-offset:-3px}.crud-row td{height:56px}.crud-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid var(--border);background:var(--bg);font-size:13px;color:var(--text-secondary)}.crud-pagination select{width:auto;min-height:44px}.modal.crud-modal{width:min(720px,96vw);max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.crud-modal .modal-body{overflow:auto;min-height:0}.crud-modal .modal-footer{position:sticky;bottom:0;background:var(--surface)}.crud-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}.crud-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.crud-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crud-form .field:has(textarea),.crud-history-panel{grid-column:1/-1}.crud-history-panel{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg)}.crud-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:8px 0;border-top:1px solid var(--border);font-size:13px}.crud-history-row:first-of-type{border-top:0}.crud-history-row strong{font-variant-numeric:tabular-nums}.badge{white-space:nowrap}.variants-table-wrapper{overflow-x:clip;overflow-y:auto;min-height:0;max-height:46vh}.variants-table{width:100%;box-sizing:border-box;table-layout:fixed;border-collapse:collapse;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.variants-table .variant-col{width:auto}.variants-table .code-col{width:190px}.variants-table .money-col{width:112px}.variants-table .qty-col{width:92px}.variants-table .actions-col{width:48px}.variants-table th,.variants-table td{padding:8px;height:48px;vertical-align:middle;border-bottom:1px solid var(--border)}.variants-table th{background:var(--surface-container);color:var(--text-secondary)}.variants-table tbody tr:hover,.variants-table tbody tr:focus-within{background:var(--surface-alt)}.variants-table .dirty-row{background:#fef3c780}.variants-table input{width:100%;min-width:0;box-sizing:border-box;height:36px;min-height:36px;padding:0 8px}.variants-table .numeric-column,.variants-table .numeric-column input{text-align:right;font-variant-numeric:tabular-nums}.variant-label-cell{font-size:13px;min-width:0;white-space:normal;word-break:break-word}.variants-table td:nth-child(2),.variants-table input{font-variant-numeric:tabular-nums}.input-error{border-color:var(--destructive)!important}.variants-table .error-text{font-size:12px;margin-top:4px}.variant-cards{display:none}.variant-card{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.variant-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:600}@media (max-width:1023px){.grid.cols-2{grid-template-columns:1fr}.sidebar-link{width:44px}.sidebar-nav{justify-items:center}}@media (max-width:900px){.pos-grid{grid-template-columns:1fr}.payment-card{position:static}}@media (max-width:1280px){.pos-workspace{grid-template-columns:minmax(360px,1.1fr) minmax(340px,1fr) minmax(300px,340px)}.pos-product-row{grid-template-columns:minmax(160px,1fr) 116px 112px 132px 120px}.pos-cart-row{grid-template-columns:minmax(140px,1fr) 136px 84px 108px 92px 84px}.pos-total-card strong{font-size:30px}}@media (max-width:1100px){.pos-terminal{min-height:auto}.pos-workspace{height:auto;grid-template-columns:minmax(0,1fr) minmax(320px,360px);align-items:start}.pos-products-panel{min-height:560px}.pos-cart-panel{min-height:460px}.pos-checkout-panel{grid-column:1/-1;display:grid;grid-template-columns:280px 1fr 1fr;align-items:start}.pos-checkout-actions{grid-column:1/-1}.pos-payment-methods{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (max-width:900px){.pos-terminal-header{align-items:flex-start;flex-direction:column}.pos-header-actions{width:100%}.pos-header-actions .field{flex:1;min-width:180px}.pos-workspace{grid-template-columns:1fr}.pos-products-panel,.pos-cart-panel{min-height:480px}.pos-checkout-panel{grid-template-columns:1fr}.pos-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-product-row{grid-template-columns:minmax(0,1fr) 112px 120px;grid-template-areas:"main price stock" "main qty action"}.pos-product-main{grid-area:main}.pos-product-price{grid-area:price}.pos-product-row>.badge{grid-area:stock;justify-self:end}.pos-row-qty{grid-area:qty}.pos-add-btn{grid-area:action}.pos-cart-row{grid-template-columns:minmax(0,1fr) 136px 92px;grid-template-areas:"item qty total" "price discount actions"}.pos-cart-item{grid-area:item}.pos-cart-qty{grid-area:qty}.pos-cart-price{grid-area:price;text-align:left}.pos-cart-row .btn-secondary{grid-area:discount}.pos-cart-total{grid-area:total}.pos-cart-actions{grid-area:actions}}@media (max-width:1023px){.modal.variants-modal{width:min(1000px,96vw)}.variant-bulk-toolbar{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.variant-bulk-title,.variant-bulk-toolbar .helper,.variant-bulk-toolbar .btn{grid-column:1/-1}.variants-table-wrapper{display:none}.variant-cards{display:grid;gap:12px}}@media (max-width:767px){.pos-search-row{display:grid;grid-template-columns:1fr;gap:8px}.pos-scan-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pos-scan-inputs{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 72px}.pos-scan-inputs input{width:100%!important}.pos-scan-form .btn{width:100%}.radio-chips{margin-right:0;overflow-x:auto;padding-bottom:4px}.radio-chip{flex:0 0 auto}.page-header,.grid,.card{max-width:100%}.card{padding:20px}.table-wrap{max-width:100%}.pos-terminal{gap:12px}.pos-terminal-header{gap:8px}.pos-toolbar{grid-template-columns:minmax(0,1fr) 76px;grid-template-areas:"search search" "qty scan";padding:12px}.pos-toolbar .field:first-child{grid-area:search}.pos-toolbar .field:nth-child(2){grid-area:qty}.pos-toolbar .btn{grid-area:scan;width:100%;padding:0 10px}.pos-filter-strip{padding:8px 12px}.pos-product-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "price" "stock" "qty" "action";gap:8px}.pos-product-price{text-align:left}.pos-product-row>.badge{justify-self:start}.pos-row-qty{width:148px}.pos-add-btn{justify-self:stretch;width:100%}.pos-cart-row{grid-template-columns:1fr;grid-template-areas:"item" "qty" "price" "discount" "total" "actions"}.pos-cart-price,.pos-cart-total{text-align:left}.pos-cart-actions{justify-content:flex-start}.pos-checkout-panel{position:sticky;bottom:0;z-index:120;max-height:72vh;border-radius:var(--radius-lg) var(--radius-lg) 0 0;box-shadow:0 -12px 32px #131b2e29}.pos-total-card strong{font-size:28px}.modal.variants-modal{width:calc(100vw - 24px);max-height:92vh}.variants-modal .modal-body{padding:16px}.variant-option-row{display:grid;grid-template-columns:1fr}.variant-option-row .field,.variant-values-row .field{width:100%}.variant-option-row input,.variant-values-row input{max-width:100%!important;min-width:0!important}.variant-bulk-toolbar{grid-template-columns:1fr}}@media (max-width:767px){.crud-toolbar{grid-template-columns:1fr;gap:12px;padding:12px}.crud-toolbar .btn{width:100%}.crud-pagination{align-items:flex-start;flex-direction:column}.crud-pagination .row{width:100%;flex-wrap:wrap}.modal.crud-modal{width:calc(100vw - 24px);max-height:92vh}.crud-form{grid-template-columns:1fr}.crud-modal-footer{align-items:stretch;flex-direction:column}.crud-modal-actions{justify-content:stretch}.crud-modal-actions .btn,.crud-modal-footer>.btn{width:100%}.crud-table{overflow:visible}.crud-table table,.crud-table thead,.crud-table tbody,.crud-table tr,.crud-table th,.crud-table td{display:block;width:100%}.crud-table thead{display:none}.crud-table tbody{display:grid;gap:12px;padding:12px;background:var(--bg)}.crud-table .crud-row{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.crud-table .crud-row td{height:auto;min-height:0;padding:0;border:0}.crud-table .crud-row td.right{text-align:left}.crud-table .crud-row td:not(:first-child){font-size:13px;color:var(--text-secondary)}}.main:has(.pos-terminal){height:calc(100vh - 56px);overflow:hidden;padding:16px;max-width:none}.pos-terminal-header{min-height:44px}.pos-terminal-header h1{font-size:20px}.pos-terminal-header p{display:none}.pos-header-actions{gap:8px}.pos-header-actions .field{min-width:180px}.pos-header-actions label{margin-bottom:4px}.pos-header-actions select,.pos-header-actions .btn{min-height:40px;height:40px}.pos-workspace{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,65fr) minmax(360px,35fr);grid-template-rows:minmax(116px,1fr) auto;gap:12px}.pos-products-panel{grid-row:1/3}.pos-cart-panel{grid-column:2;grid-row:1;min-height:0}.pos-checkout-panel{grid-column:2;grid-row:2;overflow:visible;gap:8px;padding:12px}.pos-toolbar{grid-template-columns:minmax(260px,1fr) 72px 132px;gap:8px;padding:10px 12px}.pos-toolbar .field{gap:4px}.pos-toolbar .field:first-child input{height:46px;font-size:16px}.pos-toolbar input{min-height:40px;height:40px}.pos-toolbar label{font-size:12px;margin-bottom:4px}.pos-toolbar .btn{height:46px;min-height:46px;padding:0 12px}.pos-filter-strip{gap:4px;padding:6px 12px;min-height:36px}.pos-filter-chip{min-height:28px;height:28px;padding:0 10px;font-size:12px;border-radius:var(--radius-sm)}.pos-product-list{padding:0;display:block}.pos-product-header,.pos-product-row{display:grid;grid-template-columns:minmax(180px,1.9fr) minmax(72px,.7fr) minmax(96px,.8fr) 72px 96px 132px 108px;gap:8px;align-items:center}.pos-product-header{position:sticky;top:0;z-index:2;height:34px;padding:0 10px;background:var(--bg);border-bottom:1px solid var(--border);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-secondary)}.pos-product-row{min-height:42px;height:42px;padding:0 10px;border:0;border-bottom:1px solid var(--border);border-radius:0}.pos-product-row:nth-child(2n){background:#fbfcff}.pos-product-row:hover,.pos-product-row:focus-visible{background:var(--surface-container);border-color:var(--border);outline:2px solid var(--accent);outline-offset:-2px}.pos-product-main{display:flex;align-items:center;gap:6px;min-width:0}.pos-product-main strong{font-size:15px;line-height:1.2;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-product-main .badge{padding:2px 6px;font-size:11px}.pos-product-sku,.pos-product-variant{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-product-price{font-size:14px;font-weight:700;text-align:right}.pos-product-row>.badge{justify-self:start;padding:3px 7px;min-width:42px;justify-content:center}.pos-row-qty{grid-template-columns:34px 48px 34px;gap:2px}.pos-row-qty button,.pos-row-qty input{height:34px;min-height:34px}.pos-row-qty button{min-width:34px}.pos-add-btn{width:108px;height:36px;min-height:36px;padding:0 10px;font-size:13px}.pos-panel-title{padding:8px 12px;min-height:44px}.pos-panel-title h2{font-size:16px}.pos-panel-title p{font-size:12px}.pos-panel-title .btn{min-height:36px;height:36px}.pos-cart-list{padding:0}.pos-cart-row{grid-template-columns:minmax(120px,1fr) 124px 84px 96px 92px 80px;gap:6px;min-height:48px;padding:6px 8px}.pos-cart-item strong{font-size:13px}.pos-cart-item span{font-size:11px}.pos-cart-row .qty-stepper{grid-template-columns:34px 34px 34px;gap:2px}.pos-cart-row .qty-stepper button{width:34px;min-width:34px;height:34px;min-height:34px}.pos-cart-row .qty-stepper span{font-size:13px}.pos-cart-row .btn-sm{height:34px;min-height:34px;padding:0 8px;font-size:12px}.pos-cart-total{font-size:14px}.pos-cart-empty{height:auto;min-height:78px;place-items:start;align-content:start;text-align:left;padding:12px;gap:2px}.pos-cart-empty h2{font-size:15px}.pos-total-card{padding:12px 14px;gap:0}.pos-total-card span{font-size:12px}.pos-total-card strong{font-size:30px}.pos-totals-compact,.pos-change-box{gap:4px}.pos-totals-compact div,.pos-change-box div{font-size:13px}.pos-customer-box{gap:6px}.pos-customer-box label,.pos-checkout-panel label{font-size:12px;margin-bottom:4px}.pos-customer-box input,.pos-customer-box .btn,.pos-checkout-panel #pos-tendered{height:40px;min-height:40px}.pos-checkout-panel #pos-tendered{font-size:20px}.pos-payment-methods{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.pos-payment-card{min-height:40px;padding:0 8px;font-size:12px;justify-content:center}.pos-payment-card svg{display:none}.pos-partial-row{min-height:32px}.pos-checkout-actions{position:static;margin:0 -12px -12px;padding:10px 12px;gap:6px}.pos-checkout-actions .btn-primary{height:48px}.pos-checkout-actions .btn-secondary{height:40px;min-height:40px}@media (max-width:1100px){.main:has(.pos-terminal){height:auto;overflow:auto}.pos-workspace{grid-template-columns:1fr;grid-template-rows:auto}.pos-products-panel,.pos-cart-panel,.pos-checkout-panel{grid-column:auto;grid-row:auto}.pos-products-panel{height:58vh}.pos-cart-panel{height:30vh}.pos-checkout-panel{position:sticky;bottom:0}.pos-product-header,.pos-product-row{grid-template-columns:minmax(160px,1.8fr) 80px 96px 64px 88px 124px 92px}.pos-payment-methods{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:767px){.main:has(.pos-terminal){padding:8px}.pos-terminal-header{align-items:stretch}.pos-header-actions{display:grid;grid-template-columns:1fr 1fr}.pos-workspace{gap:8px}.pos-toolbar{grid-template-columns:1fr 64px;grid-template-areas:"search search" "qty scan";padding:8px}.pos-filter-strip{padding:4px 8px}.pos-product-list{overflow:auto}.pos-product-header{display:none}.pos-product-row{height:auto;min-height:54px;grid-template-columns:minmax(0,1fr) 80px 58px;grid-template-areas:"main price stock" "sku qty action" "variant qty action";gap:4px 8px;padding:8px}.pos-product-main{grid-area:main}.pos-product-sku{grid-area:sku}.pos-product-price{grid-area:price}.pos-product-row>.badge{grid-area:stock}.pos-product-variant{grid-area:variant}.pos-row-qty{grid-area:qty}.pos-add-btn{grid-area:action;width:92px;align-self:stretch;height:auto}.pos-cart-row{grid-template-columns:1fr 108px 76px;grid-template-areas:"item qty total" "price discount actions";min-height:64px}.pos-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}}body{background:linear-gradient(180deg,hsl(220 24% 98%) 0%,var(--bg) 38%,hsl(216 25% 95%) 100%)}a{font-weight:600}.muted,.helper{color:var(--text-muted)}h1,h2,h3{letter-spacing:-.025em}h1{font-size:26px}h2{font-size:18px}label{color:var(--text-secondary);font-weight:700;letter-spacing:.055em}input,select,textarea{border-color:var(--border);box-shadow:inset 0 1px #ffffffbf,0 1px 2px #0f172908}input:hover,select:hover,textarea:hover{border-color:#a6b0bf}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 4px #0c6e6324;outline:0;border-color:var(--accent)}button,.btn{border-radius:var(--radius-md);box-shadow:0 1px 2px #0f172914;font-weight:700;letter-spacing:-.005em}.btn:hover,button:hover{transform:translateY(-1px)}.btn:active,button:active{transform:translateY(0);box-shadow:none}.btn-primary{background:linear-gradient(180deg,hsl(221 39% 20%),var(--action));border-color:#1a253c}.btn-primary:hover{background:linear-gradient(180deg,hsl(222 47% 14%),var(--action-hover))}.btn-secondary,button.secondary{background:linear-gradient(180deg,var(--surface),hsl(210 36% 97%));border-color:var(--border);color:var(--text)}.btn-secondary:hover,button.secondary:hover{border-color:#a0abba;background:var(--surface-container)}.btn-ghost,button.ghost{box-shadow:none}.btn-ghost:hover,button.ghost:hover{background:#ebeff5db}.card,.crud-page-card,.pos-products-panel,.pos-cart-panel,.pos-checkout-panel{border-color:#d5dae2;box-shadow:0 1px 2px #0f17290a,0 12px 28px #0f17290d}.card{border-radius:var(--radius-lg);padding:24px}.badge{border:1px solid hsl(214 18% 84% / .72);font-weight:700}.badge-success,.badge.ok{border-color:#1b795733}.badge-warning,.badge.warn{border-color:#bd67053d}.badge-destructive,.badge-danger{border-color:#bd1f1f38}table{border-color:#d5dae2;box-shadow:0 1px 2px #0f17290a}th{background:#f2f4f8;color:#404d5e}td{font-weight:500}tbody tr:hover{background:#ebfaf8}.app-shell{background:var(--bg)}.sidebar{background:linear-gradient(180deg,#10192d,#192339 58%,#0f1729);box-shadow:inset -1px 0 #ffffff14}.sidebar-header{height:68px;background:#0f1729b8}.sidebar-nav{gap:22px}.sidebar-link{border-radius:var(--radius-md);font-weight:700;color:#d7dfea}.sidebar-link:hover{background:#ffffff17}.sidebar-link.active{background:#ffffff21;box-shadow:inset 0 0 0 1px #ffffff14}.sidebar-link.active:before{width:3px;background:#86dfd6}.topbar{height:60px;background:#ffffffeb;-webkit-backdrop-filter:saturate(140%) blur(12px);backdrop-filter:saturate(140%) blur(12px);box-shadow:0 1px #cfd5deb8}.tenant-name{font-weight:800;color:var(--text)}.user-menu .badge{text-transform:capitalize}.main{padding:28px}.page-header{align-items:center}.page-header p{max-width:720px}.tabs{gap:24px}.tab{font-weight:800}.tab.active{border-bottom-width:3px}.modal-backdrop{background:#0f172975;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{border:1px solid hsl(214 18% 84%);border-radius:18px;box-shadow:var(--floating-shadow);overflow:hidden}.modal-header{background:linear-gradient(180deg,var(--surface),hsl(210 36% 97%));padding:20px 24px}.modal-body{background:var(--surface)}.modal-footer{background:#f5f7fa}.slide-over{box-shadow:-24px 0 48px #0f172929}.toast{border-radius:var(--radius-lg);box-shadow:var(--floating-shadow)}.crud-toolbar{background:linear-gradient(180deg,var(--surface),hsl(210 36% 97%));border-bottom-color:#d5dae2}.crud-row:hover,.crud-row:focus-visible{background:#ebfaf8}.crud-pagination{background:#f5f7fa}.main:has(.pos-terminal){background:radial-gradient(circle at top left,hsl(174 58% 93%) 0,hsl(220 24% 97%) 340px,var(--bg) 700px);padding:18px}.pos-terminal-header h1{font-size:22px;font-weight:800}.pos-terminal-header{padding:0 2px}.pos-products-panel,.pos-cart-panel,.pos-checkout-panel{background:#fffffff5;overflow:hidden}.pos-toolbar{background:linear-gradient(180deg,#fff,#f5f7fa);border-bottom-color:#d5dae2}.pos-toolbar .field:first-child input{font-weight:650}.pos-filter-strip{background:#f5f7fa}.pos-filter-chip{font-weight:800;border-color:#c9d0d9;box-shadow:none}.pos-filter-chip:hover{background:var(--surface);border-color:#a0abba;transform:none}.pos-filter-chip.active{background:var(--accent);border-color:var(--accent);box-shadow:0 6px 16px #0c6e632e}.pos-product-header{background:#f2f4f8;border-bottom-color:#c9d0d9;color:#3c4858}.pos-product-row{transition:background var(--motion),box-shadow var(--motion),border-color var(--motion)}.pos-product-row:nth-child(2n){background:#f8fafb}.pos-product-row:hover,.pos-product-row:focus-visible{background:#ebfaf8;box-shadow:inset 3px 0 0 var(--accent);outline:0}.pos-product-main strong,.pos-cart-item strong{font-weight:800;color:var(--text)}.pos-product-sku,.pos-product-variant,.pos-cart-item span{color:var(--text-muted);font-size:12px}.pos-product-price,.pos-cart-total,.pos-cart-price{font-weight:800;font-variant-numeric:tabular-nums}.pos-panel-title{background:linear-gradient(180deg,#fff,#f5f7fa);border-bottom:1px solid hsl(214 18% 86%)}.pos-cart-row{border-bottom-color:#dbe0e6}.pos-cart-row:hover{background:#effbfa}.pos-cart-empty{background:repeating-linear-gradient(135deg,#f5f7fa,#f5f7fa 10px,#eef1f6 10px,#eef1f6 20px);border:1px dashed hsl(214 18% 78%);border-radius:var(--radius-lg);margin:12px;padding:28px 16px;text-align:center}.pos-checkout-panel{border-color:#0c6e6347}.pos-total-card{background:linear-gradient(135deg,#10192d,#1f2c47);color:var(--inverse);border-radius:var(--radius-lg);box-shadow:0 14px 28px #0f17292e}.pos-total-card span{color:#c9d4e3}.pos-total-card strong{color:#fff}.pos-totals-compact,.pos-change-box{background:#f5f7fa;border:1px solid hsl(214 18% 86%);border-radius:var(--radius-lg)}.pos-payment-card{border-color:#c9d0d9;border-radius:var(--radius-md);font-weight:800;background:linear-gradient(180deg,var(--surface),hsl(210 36% 97%));box-shadow:0 1px 2px #0f17290a}.pos-payment-card:hover{border-color:#95a1b2;background:var(--surface)}.pos-payment-card.selected{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 8px 20px #0c6e632e}.pos-checkout-actions .btn-primary{min-height:52px;font-size:15px}.variants-modal .modal-header,.crud-modal .modal-header{background:linear-gradient(180deg,var(--surface),hsl(210 36% 97%))}.variant-option-row,.variant-bulk-toolbar,.crud-history-panel{background:#f5f7fa;border-color:#d5dae2}.variants-table th{background:#f2f4f8}.variants-table tbody tr:hover,.variants-table tbody tr:focus-within{background:#ebfaf8}.login-shell,.public-shell{position:relative;overflow:hidden;background:radial-gradient(circle at top left,hsl(174 58% 90%) 0,hsl(220 24% 97%) 340px,transparent 680px),linear-gradient(145deg,#10192d,#1c2740 42%,#f2f4f7 42.2%,#eff2f5)}.login-shell:before,.public-shell:before{content:"";position:absolute;top:24px;right:24px;bottom:24px;left:24px;border:1px solid hsl(0 0% 100% / .24);border-radius:28px;pointer-events:none}.login-card,.request-card,.public-shell>.card{position:relative;z-index:1;background:#fffffff5;border:1px solid hsl(214 18% 86%);border-radius:22px;box-shadow:0 24px 60px #0f172933,0 1px #ffffffc7}.login-card header,.public-shell .card header{padding-bottom:18px;border-bottom:1px solid hsl(214 18% 88%)}.login-card form,.public-shell .card form{padding-top:2px}.login-card h2,.public-shell h1{font-weight:850}.auth-sub{color:var(--text-secondary);font-weight:500}.inline-error{padding:12px 14px;border:1px solid hsl(0 72% 43% / .22);border-left-width:4px;border-radius:var(--radius-md);background:var(--destructive-soft);font-weight:700}.touch-link{border-radius:var(--radius-md);padding:0 10px}.touch-link:hover{background:#ebeff5;text-decoration:none}.page:not(.crud-page):not(.pos-terminal){gap:20px}.main>.page-header,.page>.page-header{padding:4px 2px 2px}.page-header h1{font-weight:850}.page-header p{font-weight:500;color:var(--text-secondary)}.page-header .actions{padding:4px;border-radius:var(--radius-lg)}.page>.grid,.page>.card,.main>.card{animation:surface-enter .18s ease-out both}.stat-card{position:relative;overflow:hidden;border:1px solid hsl(214 18% 86%)!important;border-radius:var(--radius-lg)!important;background:linear-gradient(180deg,var(--surface),hsl(210 36% 97%))!important;box-shadow:0 1px 2px #0f17290a,0 12px 28px #0f17290d}.stat-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--accent)}.stat-card .stat-value{font-size:28px;font-weight:850;letter-spacing:-.035em;color:var(--text)}.table-wrap{border:1px solid hsl(214 18% 86%);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 1px 2px #0f17290a;overflow:auto}.table-wrap table{border:0;border-radius:0;box-shadow:none}.table-wrap:focus-visible{outline:3px solid hsl(173 80% 24% / .52);outline-offset:3px}.table-footer{background:#f5f7fa!important;border-top-color:#d5dae2!important}.empty-table{background:repeating-linear-gradient(135deg,#f8fafb,#f8fafb 10px,#f2f4f8 10px,#f2f4f8 20px);font-weight:700;color:var(--text-muted)}.empty-state,.pos-cart-empty,.card:has(.empty-table){color:var(--text-secondary)}.skeleton{position:relative;overflow:hidden;background:#e4e9f1}.skeleton:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,hsl(0 0% 100% / .62),transparent);animation:skeleton-sheen 1.2s ease-in-out infinite}.import-review-table{border-radius:var(--radius-lg);overflow:hidden}.import-review-table tr:has(.badge-warning),.import-review-table tr:has(.badge.warn){background:#fffbeb}.import-review-table tr:has(.badge-destructive),.import-review-table tr:has(.badge-danger){background:#fff1f0}.selectable-row{transition:background var(--motion),box-shadow var(--motion)}.selectable-row:hover,.selectable-row:focus-visible{background:#ebfaf8;box-shadow:inset 3px 0 0 var(--accent);outline:0}.totals-row{padding:8px 0;border-bottom:1px solid hsl(214 18% 88%)}.totals-row:last-child{border-bottom:0}.totals-row span:last-child{font-weight:800;font-variant-numeric:tabular-nums}.link-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--accent);box-shadow:none;font-weight:800}.link-button:hover{background:var(--accent-soft);transform:none}.tabs{border-bottom-color:#d5dae2;background:#f5f7fa;border-radius:var(--radius-lg);padding:4px;gap:4px}.tab{padding:0 14px;border:0;border-radius:var(--radius-md);font-weight:850;color:var(--text-secondary);box-shadow:none}.tab:hover{background:var(--surface);transform:none}.tab.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #0f172914}.card-header{align-items:center;margin:-2px 0 18px;padding-bottom:14px;border-bottom:1px solid hsl(214 18% 88%)}.card-header h2{margin:0;font-weight:850}.card>.table-wrap:first-child,.card .table-wrap:last-child{margin-left:-1px;margin-right:-1px}.card .grid+.table-wrap,.card .actions+.table-wrap{margin-top:12px}.modal .grid,.modal .form-grid,.modal form{min-width:0}.modal code,.modal .mono,.modal [style*=monospace]{display:block;padding:12px;border:1px solid hsl(214 18% 86%);border-radius:var(--radius-md);background:#f5f7fa;color:var(--text)}.accounting-card,.os-command-card,.os-health-card,.os-assistant-card,.glass-card{background:#ffffffeb;border:1px solid hsl(214 18% 86%);border-radius:var(--radius-lg);box-shadow:0 1px 2px #0f17290a,0 16px 34px #0f17290f}.card-title-row,.os-card-heading{border-bottom:1px solid hsl(214 18% 88%);padding-bottom:12px;margin-bottom:14px}.journal-table,.os-chart{border:1px solid hsl(214 18% 86%);border-radius:var(--radius-lg);background:#f5f7fa}.os-status.good{background:var(--success-soft);color:var(--success);border:1px solid hsl(158 64% 29% / .22);border-radius:999px;padding:4px 10px;font-weight:800}.card[style*=center]{text-align:center}.card[style*=center] h2{font-weight:850}.card[style*=center] svg{color:var(--accent)}@keyframes surface-enter{0%{opacity:.92;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes skeleton-sheen{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.page>.grid,.page>.card,.main>.card{animation:none!important}.skeleton:after{animation:none!important}.btn:hover,button:hover{transform:none!important}}@media (max-width:1023px){.main{padding:22px}.topbar{padding:8px 18px}.sidebar{box-shadow:inset -1px 0 #ffffff14,16px 0 32px #0f172914}}@media (max-width:767px){.main{padding:16px}.card{padding:18px}.topbar{box-shadow:0 1px #cfd5deb8}.mobile-nav-toggle{border-radius:999px;background:var(--action);color:var(--inverse);box-shadow:0 16px 32px #0f172938}.main:has(.pos-terminal){padding:10px}.pos-checkout-panel{box-shadow:0 -18px 40px #0f17292e}.login-shell,.public-shell{padding:16px;background:linear-gradient(180deg,#10192d,#1c2740 22%,#f6f7f9 22.2%,#eff2f5)}.login-shell:before,.public-shell:before{top:10px;right:10px;bottom:10px;left:10px;border-radius:20px}.login-card,.request-card,.public-shell>.card{border-radius:18px;padding:24px!important}.stat-card .stat-value{font-size:24px}.tabs{width:100%;overflow:auto}.tab{flex:1 0 auto}.page-header .actions{width:100%;padding:0}.page-header .actions>.row,.page-header .actions>.actions{width:100%}.page-header .actions .field{flex:1;min-width:0}.page-header .actions .btn{width:100%}}.main:has(.pos-terminal){height:calc(100vh - 60px);overflow:hidden;padding:16px}.pos-terminal{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}.pos-workspace{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(520px,1fr);grid-template-rows:minmax(0,1fr);gap:12px;align-items:stretch}.pos-products-panel{grid-column:1;grid-row:1;height:100%;min-height:0}.pos-transaction-column{grid-column:2;grid-row:1;display:grid;grid-template-rows:minmax(280px,1fr) auto;gap:12px;min-width:520px;min-height:0;height:100%}.pos-cart-panel{grid-column:auto;grid-row:auto;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.pos-checkout-panel{grid-column:auto;grid-row:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:start;min-height:0;max-height:none;overflow:visible;padding:12px;border-color:#0c6e6347}.pos-cart-title{flex-shrink:0;padding:12px 14px}.pos-cart-title h2{font-size:17px}.pos-cart-title .btn-destructive{min-height:36px;height:36px;padding:0 10px;background:transparent;border-color:transparent;color:var(--destructive);box-shadow:none}.pos-cart-title .btn-destructive:hover{background:var(--destructive-soft);border-color:#bd1f1f33;transform:none}.pos-cart-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:8px;display:grid;align-content:start;gap:8px}.pos-cart-empty{margin:0;min-height:108px;display:grid;place-items:center;align-content:center;padding:20px;border-style:dashed;background:#f5f7fa}.pos-cart-empty h2{font-size:16px}.pos-cart-empty p{font-size:13px}.pos-cart-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-height:94px;height:auto;padding:12px;border:1px solid hsl(214 18% 86%);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 1px 2px #0f17290a;transition:background var(--motion),border-color var(--motion),box-shadow var(--motion)}.pos-cart-row:hover{background:#effbfa;border-color:#0c6e6338;box-shadow:inset 3px 0 0 var(--accent),0 1px 2px #0f17290a}.pos-cart-line-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.pos-cart-item{min-width:0;display:grid;gap:3px}.pos-cart-item strong{font-size:15px;line-height:1.25;font-weight:850;color:var(--text);white-space:normal;overflow-wrap:anywhere}.pos-cart-item span{font-size:12px;line-height:1.35;color:var(--text-muted);white-space:normal;overflow-wrap:anywhere}.pos-cart-total{display:grid;gap:2px;text-align:right;min-width:132px}.pos-cart-total span,.pos-cart-price span{font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.06em;font-weight:850;color:var(--text-muted)}.pos-cart-total strong{font-size:15px;line-height:1.2;font-weight:900;color:var(--text);font-variant-numeric:tabular-nums}.pos-cart-total em{font-style:normal;font-size:11px;font-weight:850;color:var(--success);background:var(--success-soft);border:1px solid hsl(158 64% 29% / .18);border-radius:999px;padding:3px 7px;justify-self:end}.pos-cart-line-controls{display:grid;grid-template-columns:128px minmax(108px,1fr) auto 44px;gap:8px;align-items:center}.pos-cart-qty{min-width:128px}.qty-stepper{display:grid;grid-template-columns:38px minmax(42px,52px) 38px;gap:0;align-items:center;border:1px solid hsl(214 18% 82%);border-radius:var(--radius-md);overflow:hidden;background:var(--surface);box-shadow:0 1px 2px #0f17290a}.qty-stepper .btn,.qty-stepper button{width:38px;min-width:38px;height:38px;min-height:38px;border:0;border-radius:0;box-shadow:none;background:#f5f7fa;color:var(--text);font-size:18px;font-weight:900}.qty-stepper .btn:hover,.qty-stepper button:hover{background:var(--accent-soft);transform:none}.qty-stepper input{height:38px;min-height:38px;width:100%;padding:0;border:0;border-left:1px solid hsl(214 18% 86%);border-right:1px solid hsl(214 18% 86%);border-radius:0;text-align:center;font-weight:900;background:var(--surface);box-shadow:none}.qty-stepper input:focus{position:relative;z-index:1;outline:3px solid hsl(173 80% 24% / .24);outline-offset:-3px}.pos-cart-price{display:grid;gap:3px;min-width:0}.pos-cart-price strong{font-size:13px;font-weight:850;white-space:nowrap;font-variant-numeric:tabular-nums}.pos-discount-btn{height:38px;min-height:38px;padding:0 10px;white-space:nowrap}.pos-remove-btn{height:38px!important;min-height:38px!important;width:38px!important;min-width:38px!important;color:var(--destructive);box-shadow:none}.pos-remove-btn:hover{background:var(--destructive-soft);transform:none}.pos-checkout-header{display:grid;gap:2px}.pos-checkout-header h2{font-size:16px;font-weight:850}.pos-checkout-header p{font-size:12px;color:var(--text-muted)}.pos-total-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px}.pos-total-card strong{font-size:28px}.pos-totals-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:hidden}.pos-totals-compact>div{display:grid;gap:2px;padding:8px 10px;border-right:1px solid hsl(214 18% 86%)}.pos-totals-compact>div:last-child{border-right:0}.pos-totals-compact span,.pos-change-box span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:850;color:var(--text-muted)}.pos-totals-compact strong,.pos-change-box strong{font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}.pos-customer-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.pos-customer-box .full{grid-column:1/-1}.pos-customer-box .btn{height:44px}.pos-payment-methods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.pos-payment-card{min-height:40px;padding:6px;gap:5px;font-size:12px}.pos-change-box{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-change-box>div{display:grid;gap:2px;padding:8px 10px;border:1px solid hsl(214 18% 86%);border-radius:var(--radius-md);background:#f5f7fa}.pos-partial-row{min-height:36px;font-size:13px}.pos-checkout-actions{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 -12px -12px;padding:12px;background:linear-gradient(180deg,hsl(0 0% 100% / .86),var(--surface));border-top:1px solid hsl(214 18% 86%);box-shadow:0 -12px 24px #0f17290f}.pos-checkout-actions .btn-primary{min-height:52px;font-size:16px}.pos-checkout-actions .btn-secondary{min-height:52px;white-space:nowrap}@media (min-width:1440px){.pos-workspace{grid-template-columns:minmax(0,1.35fr) minmax(560px,1fr)}.pos-transaction-column{min-width:560px}.pos-cart-line-controls{grid-template-columns:132px minmax(128px,1fr) auto 44px}.pos-cart-row{min-height:98px}.pos-cart-list{gap:9px}}@media (min-width:1760px){.pos-workspace{grid-template-columns:minmax(0,1.35fr) minmax(600px,1fr)}.pos-transaction-column{min-width:600px}.pos-cart-item strong,.pos-cart-total strong{font-size:16px}}@media (max-width:1180px){.main:has(.pos-terminal){height:auto;overflow:auto}.pos-terminal{height:auto}.pos-workspace{height:auto;grid-template-columns:1fr;grid-template-rows:auto;align-items:start}.pos-products-panel{height:58vh;min-height:520px}.pos-transaction-column{grid-column:1;min-width:0;height:auto;grid-template-rows:minmax(360px,auto) auto}.pos-cart-panel{min-height:360px}.pos-cart-list{max-height:48vh}.pos-checkout-panel{position:sticky;bottom:0}.pos-payment-methods{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (max-width:767px){.main:has(.pos-terminal){height:auto;overflow:auto;padding:8px}.pos-workspace{gap:8px}.pos-products-panel{height:52vh;min-height:420px}.pos-transaction-column{gap:8px}.pos-cart-panel{min-height:300px}.pos-cart-list{max-height:44vh;padding:6px}.pos-cart-row{padding:10px;min-height:124px}.pos-cart-line-main{grid-template-columns:minmax(0,1fr);gap:6px}.pos-cart-total{text-align:left;min-width:0}.pos-cart-total em{justify-self:start}.pos-cart-line-controls{grid-template-columns:128px minmax(0,1fr) 1fr 44px;grid-template-areas:"qty unit discount remove";gap:6px}.pos-cart-qty{grid-area:qty}.pos-cart-price{grid-area:unit}.pos-discount-btn{grid-area:discount;width:100%;padding:0 8px}.pos-remove-btn{grid-area:remove}.pos-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-totals-compact{grid-template-columns:1fr 1fr 1fr}.pos-customer-box{grid-template-columns:1fr}.pos-customer-box .btn{width:100%}.pos-checkout-panel{position:sticky;bottom:0;max-height:none;border-radius:var(--radius-lg) var(--radius-lg) 0 0}.pos-checkout-actions{grid-template-columns:1fr}.pos-checkout-actions .btn{width:100%}}.main:has(.pos-terminal){height:calc(100vh - 60px);overflow:hidden;padding:12px;background:radial-gradient(circle at top left,hsl(174 58% 93%) 0,hsl(220 24% 97%) 340px,var(--bg) 700px)}.pos-terminal{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}.pos-retail-header{min-height:36px;padding:0 2px}.pos-retail-header h1{font-size:20px;font-weight:850}.pos-retail-header p{display:none}.pos-header-actions select,.pos-header-actions .btn{height:38px;min-height:38px}.pos-retail-shell{min-height:0;height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px}.pos-retail-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) 72px 92px auto;gap:8px;align-items:end;padding:10px 12px;border:1px solid hsl(214 18% 86%);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 1px 2px #0f17290a}.pos-retail-toolbar .field{gap:3px}.pos-retail-toolbar input{height:42px;min-height:42px}.pos-retail-toolbar .field:first-child input{height:48px;min-height:48px;font-size:16px;font-weight:750}.pos-retail-toolbar .btn{height:48px;min-height:48px;padding:0 14px}.pos-view-toggle{display:inline-grid;grid-template-columns:1fr 1fr;gap:3px;align-self:end;min-height:48px;padding:3px;border:1px solid hsl(214 18% 84%);border-radius:var(--radius-md);background:#f2f4f8}.pos-view-toggle button{height:40px;min-height:40px;padding:0 12px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);box-shadow:none;font-weight:850}.pos-view-toggle button:hover{background:var(--surface);transform:none}.pos-view-toggle button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #0f172914}.pos-retail-shell>.pos-filter-strip{min-height:42px;padding:6px 8px;border:1px solid hsl(214 18% 86%);border-radius:var(--radius-lg);background:#ffffffc7;box-shadow:0 1px 2px #0f172908;overflow-x:auto;overflow-y:hidden}.pos-filter-chip{height:30px;min-height:30px;border-radius:999px;padding:0 13px;white-space:nowrap}.pos-retail-body{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,65fr) minmax(420px,35fr);grid-template-rows:minmax(0,1fr);gap:10px;align-items:stretch}.pos-retail-body .pos-products-panel,.pos-retail-body .pos-cart-panel{grid-column:auto;grid-row:auto;height:100%;min-height:0;overflow:hidden;border-radius:var(--radius-lg);background:#fffffff5;box-shadow:0 1px 2px #0f17290a,0 12px 28px #0f17290d}.pos-product-list{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden}.pos-product-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-auto-rows:minmax(214px,auto);gap:12px;padding:12px;align-content:start}.pos-product-tile{min-width:0;display:grid;grid-template-rows:112px minmax(0,1fr);padding:0;border:1px solid hsl(214 18% 86%);border-radius:16px;background:var(--surface);color:var(--text);text-align:left;overflow:hidden;box-shadow:0 1px 2px #0f17290d;transition:transform var(--motion),box-shadow var(--motion),border-color var(--motion),background var(--motion)}.pos-product-tile:hover,.pos-product-tile:focus-visible{transform:translateY(-2px);border-color:#0c6e6359;box-shadow:0 12px 24px #0f17291a;outline:0}.pos-product-tile:active{transform:translateY(0)}.pos-product-tile.disabled{opacity:.62;cursor:not-allowed}.pos-product-image{display:grid;place-items:center;background:linear-gradient(135deg,#ebeff4,#e3f8f5);border-bottom:1px solid hsl(214 18% 88%);overflow:hidden}.pos-product-image img{width:100%;height:100%;object-fit:cover}.pos-product-image span{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#ffffffc7;color:var(--accent);font-weight:900;font-size:18px;letter-spacing:.03em;box-shadow:0 8px 18px #0f172914}.pos-product-tile-body{display:grid;gap:6px;padding:10px 11px 11px;align-content:start}.pos-product-tile-name{font-size:14px;line-height:1.25;font-weight:850;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pos-product-tile-sku{font-size:12px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pos-product-tile-meta{display:grid;gap:7px;margin-top:2px}.pos-product-tile-meta strong{font-size:15px;line-height:1.15;font-weight:900;color:var(--text);font-variant-numeric:tabular-nums}.pos-product-tile-meta .badge{justify-self:start}.pos-product-variant-hint{font-size:12px;font-weight:800;color:var(--accent)}.pos-product-load-more{grid-column:1/-1;padding:10px 12px;text-align:center}.pos-product-table{display:block;padding:0}.pos-product-table .pos-product-header,.pos-product-table .pos-product-row{display:grid}.pos-retail-body .pos-cart-panel{display:flex;flex-direction:column}.pos-cart-title{padding:10px 12px;background:linear-gradient(180deg,#fff,#f5f7fa);border-bottom:1px solid hsl(214 18% 86%)}.pos-cart-title h2{font-size:16px}.pos-cart-title p{font-size:12px}.pos-cart-title .btn{height:34px;min-height:34px}.pos-retail-body .pos-cart-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:8px;display:grid;gap:8px;align-content:start}.pos-retail-body .pos-cart-row{min-height:96px;padding:10px;border-radius:14px}.pos-retail-body .pos-cart-line-main{grid-template-columns:minmax(0,1fr) auto}.pos-retail-body .pos-cart-item strong{font-size:14px;line-height:1.25}.pos-retail-body .pos-cart-total{min-width:118px}.pos-retail-body .pos-cart-total strong{font-size:15px}.pos-retail-body .pos-cart-line-controls{grid-template-columns:128px minmax(92px,1fr) auto 40px}.pos-retail-body .pos-cart-price strong{font-size:12px}.pos-retail-body .pos-discount-btn{height:36px;min-height:36px}.pos-retail-body .pos-remove-btn{height:36px!important;min-height:36px!important;width:36px!important;min-width:36px!important}.pos-cart-empty{min-height:96px;margin:0;padding:18px;background:#f5f7fa}.pos-checkout-footer{position:sticky;bottom:0;z-index:20;display:grid;grid-template-columns:minmax(260px,.9fr) minmax(210px,.8fr) minmax(220px,1fr) minmax(360px,1.35fr) minmax(150px,.55fr) minmax(160px,.65fr) auto minmax(220px,.9fr);gap:8px;align-items:end;min-height:0;max-height:280px;padding:10px 12px;border:1px solid hsl(214 18% 84%);border-radius:var(--radius-lg);background:#fffffff5;box-shadow:0 -10px 30px #0f172914,0 1px 2px #0f17290a;overflow:visible}.pos-checkout-footer .pos-totals-compact{grid-template-columns:1fr;gap:0;border-radius:var(--radius-md);align-self:stretch}.pos-checkout-footer .pos-totals-compact>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;border-right:0;border-bottom:1px solid hsl(214 18% 88%)}.pos-checkout-footer .pos-totals-compact>div:last-child{border-bottom:0}.pos-checkout-footer .pos-total-card{height:100%;min-height:58px;padding:8px 12px;display:grid;align-content:center;gap:2px}.pos-checkout-footer .pos-total-card strong{font-size:24px;line-height:1.05}.pos-checkout-footer .pos-customer-box{position:relative;display:grid;grid-template-columns:1fr;align-self:stretch}.pos-checkout-footer .pos-customer-box input,.pos-checkout-footer #pos-tendered{height:44px;min-height:44px}.pos-checkout-footer .pos-payment-methods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;align-self:stretch}.pos-checkout-footer .pos-payment-card{min-height:44px;height:44px;padding:4px 6px;font-size:11px}.pos-checkout-footer .pos-change-box{display:grid;grid-template-columns:1fr;gap:4px;align-self:stretch}.pos-checkout-footer .pos-change-box>div{padding:4px 8px}.pos-checkout-footer .pos-partial-row{align-self:center;min-height:44px;white-space:nowrap}.pos-checkout-footer .pos-checkout-actions{position:static;display:grid;grid-template-columns:1fr;gap:6px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;align-self:stretch}.pos-checkout-footer .pos-checkout-actions .btn-primary{min-height:58px;font-size:16px;width:100%}.pos-checkout-footer .pos-checkout-actions .btn-secondary{min-height:36px;width:100%}.pos-customer-results{position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:50;display:grid;gap:4px;padding:6px;border:1px solid hsl(214 18% 84%);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--floating-shadow)}.pos-customer-results button{justify-content:flex-start;align-items:flex-start;min-height:42px;height:auto;text-align:left;background:transparent;color:var(--text);box-shadow:none}.pos-customer-results button:hover{background:#ebfaf8;transform:none}@media (min-width:1600px){.pos-product-tiles{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));grid-auto-rows:minmax(224px,auto)}.pos-product-tile{grid-template-rows:120px minmax(0,1fr)}}@media (min-width:2200px){.pos-product-tiles{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));grid-auto-rows:minmax(240px,auto)}.pos-product-tile{grid-template-rows:132px minmax(0,1fr)}}@media (max-width:1365px){.pos-retail-body{grid-template-columns:minmax(0,62fr) minmax(380px,38fr)}.pos-product-tiles{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-auto-rows:minmax(204px,auto);gap:10px}.pos-checkout-footer{grid-template-columns:minmax(210px,.8fr) minmax(180px,.7fr) minmax(190px,1fr) minmax(300px,1.2fr) minmax(140px,.55fr) minmax(140px,.6fr) auto minmax(200px,.9fr)}}@media (max-width:1180px){.main:has(.pos-terminal){height:auto;overflow:auto}.pos-retail-shell{height:auto}.pos-retail-toolbar{grid-template-columns:minmax(0,1fr) 72px 92px}.pos-view-toggle{grid-column:1/-1}.pos-retail-body{height:auto;grid-template-columns:1fr}.pos-retail-body .pos-products-panel{height:54vh;min-height:460px}.pos-retail-body .pos-cart-panel{height:34vh;min-height:320px}.pos-checkout-footer{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.pos-checkout-footer .pos-payment-methods,.pos-checkout-footer .pos-checkout-actions{grid-column:1/-1}.pos-checkout-footer .pos-change-box{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.main:has(.pos-terminal){padding:8px}.pos-retail-header{align-items:stretch;flex-direction:column}.pos-retail-toolbar{grid-template-columns:1fr 68px;grid-template-areas:"search search" "qty scan" "view view";padding:8px}.pos-retail-toolbar .field:first-child{grid-area:search}.pos-retail-toolbar .field:nth-child(2){grid-area:qty}.pos-retail-toolbar .btn{grid-area:scan}.pos-view-toggle{grid-area:view}.pos-retail-shell>.pos-filter-strip{min-height:38px;padding:4px}.pos-retail-body .pos-products-panel{height:46vh;min-height:360px}.pos-product-tiles{grid-template-columns:repeat(auto-fill,minmax(138px,1fr));grid-auto-rows:minmax(190px,auto);gap:8px;padding:8px}.pos-product-tile{grid-template-rows:92px minmax(0,1fr);border-radius:14px}.pos-product-tile-body{padding:8px}.pos-product-tile-name,.pos-product-tile-meta strong{font-size:13px}.pos-retail-body .pos-cart-panel{height:36vh;min-height:300px}.pos-retail-body .pos-cart-line-main{grid-template-columns:1fr}.pos-retail-body .pos-cart-total{text-align:left;min-width:0}.pos-retail-body .pos-cart-total em{justify-self:start}.pos-retail-body .pos-cart-line-controls{grid-template-columns:128px minmax(0,1fr) 1fr 40px}.pos-checkout-footer{position:sticky;bottom:0;grid-template-columns:1fr;gap:6px;padding:8px;border-radius:var(--radius-lg) var(--radius-lg) 0 0}.pos-checkout-footer .pos-totals-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-checkout-footer .pos-totals-compact>div{display:grid;border-bottom:0;border-right:1px solid hsl(214 18% 88%)}.pos-checkout-footer .pos-total-card{display:flex}.pos-checkout-footer .pos-payment-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-checkout-footer .pos-checkout-actions .btn-primary{min-height:52px}}.pos-retail-body .pos-cart-list{padding:6px;gap:5px}.pos-retail-body .pos-cart-row{min-height:72px;padding:7px 8px;border-radius:10px;gap:5px}.pos-retail-body .pos-cart-line-main{gap:8px}.pos-retail-body .pos-cart-item{gap:1px}.pos-retail-body .pos-cart-item strong{font-size:13px;line-height:1.18;font-weight:850;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pos-retail-body .pos-cart-item span{font-size:11px;line-height:1.2}.pos-retail-body .pos-cart-total{min-width:104px;gap:1px}.pos-retail-body .pos-cart-total span{display:none}.pos-retail-body .pos-cart-total strong{font-size:14px;line-height:1.12}.pos-retail-body .pos-cart-total em{font-size:10px;padding:2px 6px}.pos-retail-body .pos-cart-line-controls{grid-template-columns:112px minmax(78px,1fr) auto 34px;gap:5px}.pos-retail-body .pos-cart-price{gap:1px}.pos-retail-body .pos-cart-price span{font-size:9px}.pos-retail-body .pos-cart-price strong{font-size:11px}.pos-retail-body .qty-stepper{grid-template-columns:34px minmax(38px,44px) 34px;border-radius:8px}.pos-retail-body .qty-stepper .btn,.pos-retail-body .qty-stepper button{width:34px;min-width:34px;height:34px;min-height:34px;font-size:17px}.pos-retail-body .qty-stepper input{height:34px;min-height:34px;font-size:13px}.pos-retail-body .pos-cart-qty{min-width:112px}.pos-retail-body .pos-discount-btn{height:34px;min-height:34px;padding:0 8px;font-size:12px}.pos-retail-body .pos-discount-btn svg{width:14px;height:14px}.pos-retail-body .pos-remove-btn{height:34px!important;min-height:34px!important;width:34px!important;min-width:34px!important}.pos-retail-body .pos-remove-btn svg{width:15px;height:15px}.pos-cart-empty{min-height:74px;padding:14px}.pos-cart-empty h2{font-size:14px}.pos-cart-empty p{font-size:12px}@media (max-width:767px){.pos-retail-body .pos-cart-row{min-height:88px;padding:8px}.pos-retail-body .pos-cart-line-controls{grid-template-columns:112px minmax(0,1fr) auto 34px}.pos-retail-body .pos-cart-item strong{-webkit-line-clamp:2}.pos-retail-body .pos-cart-panel{min-height:280px}}
