.booking-page{--booking-navy:#081b4b;--booking-blue:#1e5beb;--booking-coral:#ff604d;min-height:100vh;color:var(--booking-navy);background:#fff;font-family:IBM Plex Sans Arabic,sans-serif}.booking-page *{box-sizing:border-box}.booking-page h1,.booking-page h2,.booking-page b,.booking-brand strong{font-family:Alexandria,IBM Plex Sans Arabic,sans-serif}.booking-header{background:#fff;justify-content:space-between;align-items:center;max-width:1440px;height:72px;margin:auto;padding:0 clamp(24px,4.5vw,68px);display:flex}.booking-brand{color:var(--booking-navy);direction:ltr;align-items:center;gap:12px;font-size:26px;text-decoration:none;display:inline-flex}.booking-brand img{width:36px;height:36px}.booking-login{color:var(--booking-blue);align-items:center;gap:9px;font-size:15px;font-weight:700;text-decoration:none;display:inline-flex}.booking-login:hover,.booking-footer a:hover{opacity:.72}.booking-hero{background:linear-gradient(120deg,#e7f2ff 0%,#f2f7ff 42%,#fff 100%);overflow:hidden}.booking-hero__inner{grid-template-columns:minmax(0,1fr) minmax(370px,506px);align-items:start;gap:clamp(38px,5vw,80px);max-width:1440px;min-height:686px;margin:auto;padding:42px clamp(24px,4.5vw,68px) 28px;display:grid}.booking-story{min-width:0;min-height:620px;padding-top:34px;position:relative}.booking-story h1{letter-spacing:-.06em;margin:0 0 20px;font-size:clamp(38px,4vw,66px);font-weight:700;line-height:1.34}.booking-lead{color:#344b77;max-width:710px;margin:0;font-size:clamp(17px,1.55vw,22px);line-height:1.85}.booking-trial-cta{max-width:650px;color:var(--booking-navy);background:#fff;border:1px solid #c4d9ff;border-radius:13px;justify-content:space-between;align-items:center;gap:16px;margin-top:22px;padding:15px 18px;text-decoration:none;display:flex;box-shadow:0 10px 30px #18499912}.booking-trial-cta b,.booking-trial-cta small{display:block}.booking-trial-cta b{font-size:15px}.booking-trial-cta small{color:#5a6e92;margin-top:3px;font-size:12px}.booking-trial-cta strong{color:var(--booking-blue);white-space:nowrap;align-items:center;gap:6px;font-size:13px;display:inline-flex}.booking-trial-cta:hover{border-color:var(--booking-blue)}.booking-benefits{flex-wrap:wrap;gap:28px;margin:26px 0 0;padding:0;font-size:16px;font-weight:700;list-style:none;display:flex}.booking-benefits li{white-space:nowrap;align-items:center;gap:9px;display:flex}.booking-benefits span{color:#fff;background:var(--booking-blue);border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.booking-benefits svg{stroke-width:3px;width:17px;height:17px}.booking-device{background:#fff;border:12px solid #0b1635;border-bottom-width:18px;border-radius:22px 22px 0 0;width:min(100%,660px);height:296px;position:absolute;bottom:-28px;right:0;overflow:hidden;transform:perspective(1200px)rotateY(-4deg);box-shadow:0 24px 60px #102d6950}.booking-device__top{background:#0b1635;align-items:center;gap:5px;height:20px;padding:0 11px;display:flex}.booking-device__top span{background:#6e7d9b;border-radius:50%;width:5px;height:5px}.booking-device img{object-fit:cover;object-position:top;width:100%;display:block}.booking-form-wrap{background:#fff;border-radius:15px;align-self:start;min-height:605px;padding:30px 30px 26px;box-shadow:0 22px 60px #16417516}.booking-form-wrap h2{margin:0 0 7px;font-size:33px;line-height:1.3}.booking-form-intro{color:#5c6d91;margin:0 0 22px;font-size:14px;line-height:1.8}.booking-form{gap:12px;display:grid}.booking-form label:not(.booking-consent):not(.booking-honeypot){color:#263d70;font-size:13px;font-weight:700;display:block}.booking-form label>span:not(.booking-consent span){color:#8493ae;margin-inline-start:5px;font-size:11px;font-weight:500}.booking-form input:not([type=checkbox]){width:100%;height:44px;color:var(--booking-navy);background:#fff;border:1px solid #d5def0;border-radius:8px;outline:0;margin-top:6px;padding:0 13px;font:14px IBM Plex Sans Arabic,sans-serif;transition:border-color .15s,box-shadow .15s;display:block}.booking-form input:focus{border-color:var(--booking-blue);box-shadow:0 0 0 3px #1e5beb1f}.booking-form input::placeholder{color:#a4aec2}.booking-form input[dir=ltr]{text-align:right}.booking-times{grid-template-columns:1fr 1fr;gap:12px;display:grid}.booking-form input[type=datetime-local]{min-width:0;font-family:IBM Plex Sans Arabic,sans-serif}.booking-time-note{color:#647899;align-items:flex-start;gap:7px;margin:-2px 0 2px;font-size:11px;line-height:1.7;display:flex}.booking-time-note svg{flex:none;margin-top:2px}.booking-honeypot{clip:rect(0,0,0,0);white-space:nowrap;pointer-events:none;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.booking-consent{color:#596b8f;cursor:pointer;align-items:flex-start;gap:9px;font-size:11px;line-height:1.65;display:flex}.booking-consent input{accent-color:var(--booking-blue);flex:none;margin:3px 0 0}.booking-error{color:#ae3428;background:#fff0ed;border-radius:7px;margin:0;padding:9px 11px;font-size:12px;line-height:1.5}.booking-form button{background:var(--booking-coral);color:#fff;cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:13px;height:50px;font:700 16px Alexandria,IBM Plex Sans Arabic,sans-serif;transition:background .15s,transform .15s;display:flex}.booking-form button:hover{background:#eb4c3b;transform:translateY(-1px)}.booking-form button:disabled{opacity:.65;cursor:wait;transform:none}.booking-success{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:545px;padding:25px;display:flex}.booking-success>svg{color:#1aa776;margin-bottom:20px}.booking-success h2{margin-bottom:12px}.booking-success p{color:#4e5f83;font-size:16px;line-height:1.9}.booking-success__link{color:var(--booking-blue);margin-top:20px;font-weight:700}.booking-how{grid-template-columns:1fr 1fr;align-items:center;gap:70px;max-width:1440px;margin:auto;padding:70px clamp(24px,4.5vw,68px) 90px;display:grid}.booking-how h2{margin:0 0 10px;font-size:36px;line-height:1.35}.booking-how__copy>p{color:#677898;margin:0 0 34px;font-size:16px;line-height:1.8}.booking-how ol{gap:24px;margin:0;padding:0;list-style:none;display:grid}.booking-how li{align-items:center;gap:16px;display:flex}.booking-how li>span{width:50px;height:50px;color:var(--booking-blue);background:#eaf2ff;border-radius:50%;flex:none;place-items:center;display:grid}.booking-how li svg{width:24px;height:24px}.booking-how li b{margin-bottom:4px;font-size:17px;display:block}.booking-how li small{color:#687b9a;font-size:14px;display:block}.booking-preview{background:#f6faff;border:1px solid #dce7f8;border-radius:20px;overflow:hidden;box-shadow:0 25px 65px #0c2d6c18}.booking-preview__title{color:#2e58a7;align-items:center;gap:9px;height:48px;padding:0 18px;font-size:13px;font-weight:700;display:flex}.booking-preview__title svg:last-child{margin-inline-start:auto}.booking-preview img{object-fit:cover;object-position:top;width:100%;height:350px;display:block}.booking-footer{color:#6d7c95;border-top:1px solid #e6ecf5;justify-content:space-between;align-items:center;padding:22px clamp(24px,4.5vw,68px);font-size:13px;display:flex}.booking-footer a{color:var(--booking-blue);align-items:center;gap:8px;font-weight:700;text-decoration:none;display:flex}@media (width<=950px){.booking-hero__inner{grid-template-columns:1fr;gap:22px}.booking-story{min-height:430px;padding-top:5px}.booking-device{width:min(90%,620px);height:205px;bottom:0}.booking-form-wrap{width:100%;max-width:650px;margin:0 auto}.booking-how{gap:32px}}@media (width<=640px){.booking-header{height:64px}.booking-brand{font-size:21px}.booking-brand img{width:29px;height:29px}.booking-login{font-size:12px}.booking-hero__inner{gap:20px;padding-top:31px}.booking-story{min-height:445px}.booking-story h1{font-size:36px;line-height:1.4}.booking-lead{font-size:15px}.booking-trial-cta{flex-direction:column;align-items:flex-start;gap:9px;padding:12px 14px}.booking-benefits{gap:10px 15px;margin-top:20px;font-size:11px}.booking-benefits span{width:24px;height:24px}.booking-benefits svg{width:14px;height:14px}.booking-device{border-width:7px 7px 11px;border-radius:14px 14px 0 0;width:90%;height:171px;right:5%}.booking-device__top{height:12px}.booking-form-wrap{min-height:auto;padding:25px 20px 23px}.booking-form-wrap h2{font-size:26px}.booking-times{grid-template-columns:1fr}.booking-how{grid-template-columns:1fr;padding-top:52px;padding-bottom:60px}.booking-how h2{font-size:28px}.booking-preview img{height:230px}.booking-footer{flex-wrap:wrap;gap:20px}}@media (prefers-reduced-motion:reduce){.booking-page *{scroll-behavior:auto!important;transition:none!important}}.trial-request-page .booking-hero{background:linear-gradient(120deg,#e8f4ff 0%,#f4f8ff 48%,#fff 100%)}.trial-request-page .booking-hero__inner{min-height:750px}.trial-request__eyebrow{color:#1e5beb;align-items:center;gap:8px;margin-bottom:18px;font:700 14px Alexandria,IBM Plex Sans Arabic,sans-serif;display:inline-flex}.trial-request-page .booking-story h1{margin-bottom:18px}.trial-request-page .booking-benefits{gap:14px 24px}.trial-request-page .booking-benefits li{white-space:normal}.trial-request-page .booking-form-wrap{min-height:660px}.trial-request__book-link{color:#1e5beb;align-items:center;gap:8px;margin-top:30px;font-weight:700;text-decoration:none;display:inline-flex}.trial-request__book-link:hover{text-decoration:underline}@media (width<=950px){.trial-request-page .booking-hero__inner{min-height:auto}}@media (width<=640px){.trial-request__eyebrow{font-size:12px}.trial-request-page .booking-form-wrap{min-height:auto}}.subscriptions-page{color:#183128;background:#f7f9f7;min-height:100vh;font-family:Alexandria,IBM Plex Sans Arabic,sans-serif}.subscriptions-header{justify-content:space-between;align-items:center;gap:20px;max-width:1180px;margin:auto;padding:20px 24px;display:flex}.subscriptions-header>a{color:#153d2b;align-items:center;gap:9px;font-size:20px;text-decoration:none;display:flex}.subscriptions-header img{width:34px;height:34px}.subscriptions-header nav{flex-wrap:wrap;gap:20px;display:flex}.subscriptions-header nav a{color:#385447;font-size:13px;font-weight:700;text-decoration:none}.subscriptions-hero{text-align:center;max-width:780px;margin:50px auto 30px;padding:0 20px}.subscriptions-hero>span{color:#278358;font-size:13px;font-weight:700}.subscriptions-hero h1{margin:12px 0;font-size:clamp(30px,5vw,52px);line-height:1.35}.subscriptions-hero p{color:#52675b;font-size:15px;line-height:1.9}.subscriptions-cycle{background:#e9efea;border-radius:12px;gap:4px;margin-top:16px;padding:5px;display:inline-flex}.subscriptions-cycle button{color:#395647;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:11px 18px;font-family:inherit;font-size:13px;font-weight:700}.subscriptions-cycle button.selected{color:#17663f;background:#fff;box-shadow:0 2px 9px #143a251c}.subscriptions-plans{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1180px;margin:28px auto 70px;padding:0 20px;display:grid}.subscriptions-plan{background:#fff;border:1px solid #dae5dc;border-radius:18px;flex-direction:column;padding:26px;display:flex;box-shadow:0 8px 26px #18312808}.subscriptions-plan.selected{border:2px solid #258055;box-shadow:0 12px 32px #2580551f}.subscriptions-plan__top{justify-content:space-between;align-items:center;gap:8px;display:flex}.subscriptions-plan h2{margin:0;font-size:22px}.subscriptions-plan__top span{color:#277a52;background:#e8f6ec;border-radius:99px;padding:7px 9px;font-size:11px}.subscriptions-plan__price{margin:25px 0 8px}.subscriptions-plan__price b{font-size:31px}.subscriptions-plan__price small{color:#65796b}.subscriptions-plan__setup{color:#596b5f;margin:0 0 15px;font-size:12px}.subscriptions-plan ul{border-top:1px solid #e8eee9;flex:1;gap:13px;margin:0;padding:17px 0;list-style:none;display:grid}.subscriptions-plan li{align-items:flex-start;gap:9px;font-size:12px;line-height:1.7;display:flex}.subscriptions-plan li svg{color:#228453;flex:none;margin-top:1px}.subscriptions-plan>button,.subscriptions-order form>button{color:#fff;cursor:pointer;background:#176b43;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:15px 18px;font:700 13px Alexandria,IBM Plex Sans Arabic,sans-serif;display:flex}.subscriptions-plan>button:hover,.subscriptions-order form>button:hover{background:#0d5632}.subscriptions-plan>button:disabled,.subscriptions-order form>button:disabled{opacity:.55;cursor:not-allowed}.subscriptions-details{background:#eaf3ed;border-radius:16px;max-width:1180px;margin:0 auto 75px;padding:24px 28px}.subscriptions-details ul{color:#3e5b49;gap:10px;margin:0;padding:0 20px 0 0;display:grid}.subscriptions-details li{font-size:13px;line-height:1.8}.subscriptions-page--embedded{min-height:0;color:var(--ink);background:0 0}.subscriptions-page--embedded .subscriptions-hero{margin-top:20px}.subscriptions-page--embedded .subscriptions-hero>span{color:var(--accent-strong)}.subscriptions-page--embedded .subscriptions-hero p{color:var(--muted)}.subscriptions-page--embedded .subscriptions-plan,.subscriptions-page--embedded .subscriptions-summary,.subscriptions-page--embedded .subscriptions-order form,.subscriptions-page--embedded .subscriptions-success{color:#183128}.subscriptions-page--embedded .subscriptions-plans,.subscriptions-page--embedded .subscriptions-details,.subscriptions-page--embedded .subscriptions-order{max-width:none}.subscriptions-page--embedded .subscriptions-plans,.subscriptions-page--embedded .subscriptions-details{margin-bottom:36px}.subscriptions-continue{color:#fff;background:#176b43;border-radius:10px;align-items:center;gap:8px;margin-top:20px;padding:12px 18px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.subscriptions-order{grid-template-columns:1fr 1fr;align-items:start;gap:24px;max-width:1100px;margin:0 auto 80px;padding:0 20px;display:grid}.subscriptions-summary,.subscriptions-order form,.subscriptions-success{background:#fff;border:1px solid #dce8df;border-radius:17px;padding:28px}.subscriptions-summary>span{color:#278358;font-size:12px;font-weight:700}.subscriptions-summary h2,.subscriptions-order form h2{margin:10px 0 24px;font-size:22px}.subscriptions-summary dl{margin:0}.subscriptions-summary dl>div{border-bottom:1px solid #e8eee9;justify-content:space-between;gap:15px;padding:15px 0;font-size:13px;display:flex}.subscriptions-summary dd{margin:0;font-weight:700}.subscriptions-summary .total{color:#0f6a3e;font-size:18px}.subscriptions-summary p{color:#5b6c60;margin:20px 0 0;font-size:12px;line-height:1.9}.subscriptions-order form{gap:14px;display:grid}.subscriptions-order form label{gap:7px;font-size:12px;font-weight:700;display:grid}.subscriptions-order form input:not([type=checkbox]){height:44px;font:inherit;color:#183128;background:#fff;border:1px solid #ccd9cf;border-radius:8px;min-width:0;padding:0 12px}.subscriptions-order form .subscriptions-consent{align-items:flex-start;gap:8px;line-height:1.7;display:flex}.subscriptions-consent input{accent-color:#176b43;margin-top:3px}.subscriptions-honeypot{position:absolute;left:-9999px}.subscriptions-error{color:#a83535;font-size:12px;line-height:1.7}.subscriptions-success svg{color:#278358}.subscriptions-success p{font-size:13px;line-height:2}.subscriptions-footer{text-align:center;color:#667a69;border-top:1px solid #e1e9e2;padding:28px;font-size:12px}.subscriptions-footer a{color:#176b43;margin-inline-start:18px;font-weight:700}@media (width<=900px){.subscriptions-plans{grid-template-columns:1fr;max-width:580px}.subscriptions-details{grid-template-columns:1fr;margin:0 20px 55px}.subscriptions-order{grid-template-columns:1fr;max-width:620px}}@media (width<=560px){.subscriptions-header{flex-direction:column;align-items:flex-start}.subscriptions-header nav{gap:11px}.subscriptions-hero{margin-top:30px}.subscriptions-plan{padding:22px}.subscriptions-details{padding:20px}.subscriptions-order{padding:0 14px}.subscriptions-summary,.subscriptions-order form{padding:20px}}:root{--font-display:"Alexandria","IBM Plex Sans Arabic","Noto Kufi Arabic",sans-serif;--font-mono:"IBM Plex Mono","Cascadia Mono",ui-monospace,monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);background:var(--bg);font-synthesis:none;--r-sm:8px;--r-md:12px;--r-lg:16px;--r-xl:22px;--r-pill:999px;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--sp-8:32px;--sp-10:40px;--t-display:clamp(1.8rem,4vw,2.6rem);--t-h1:clamp(1.5rem,3vw,2rem);--t-h2:clamp(1.2rem,2.4vw,1.5rem);--t-body:.95rem;--t-small:.82rem;--t-micro:.72rem;--ease-standard:cubic-bezier(.22,.61,.36,1);--ease-spring:cubic-bezier(.22,.61,.36,1);--dur-fast:.14s;--dur-base:.2s;--dur-med:.3s;--rail-w:96px;--bar-h:60px;--tabbar-h:60px;--ink-chrome:#0b2f91;--ink-chrome-2:#1137a8;--chrome-ink:#f7faff;--chrome-muted:#adc2f4;--chrome-line:#ffffff29;--action-coral:#ff624d;--saffron:#1137a8;--bg:#f4f7fc;--surface:#fff;--surface-2:#f7f9fd;--surface-hover:#edf3ff;--soft:#f1f5fc;--line:#d9e1ef;--line-soft:#e8edf5;--input-border:#c6d1e3;--accent-border:#f3b7ae;--ink:#141b2d;--muted:#68758b;--on-brand:#fff;--accent:#ff624d;--accent-strong:#d94735;--danger:#c83d4b;--danger-bg:#fff0f2;--danger-border:#f1bcc3;--warning:#a56800;--warning-bg:#fff6df;--warning-border:#ead29a;--success:#118a67;--success-bg:#e8f7f1;--success-border:#acdccc;--info:#1137a8;--chart-grid:#e4eaf4;--chart-area:#1137a814;--green-950:#08236e;--green-900:#0b2f91;--green-800:#d94735;--green-700:#ff624d;--green-100:#ffe3de;--green-50:#fff4f1;--copper:#1137a8;--copper-100:#e6edff;--on-copper:#fff;--zebra:#1137a806;--topbar-bg:#fff;--app-bg:#f4f7fc;--sh-1:0 1px 2px #1222480d;--sh-2:0 2px 6px #12224812;--sh-3:0 12px 32px #12224821;--elev-1:var(--sh-1);--elev-2:var(--sh-2);--elev-3:var(--sh-3);--elev-4:var(--sh-3);--shadow:var(--sh-3);direction:rtl;font-family:IBM Plex Sans Arabic,Noto Sans Arabic,Segoe UI,Tahoma,sans-serif}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--action-coral:#ff7a68;--saffron:#8daaff;--bg:#07142e;--surface:#0d1c3b;--surface-2:#13254b;--surface-hover:#1a315f;--soft:#13254b;--line:#29426f;--line-soft:#21385f;--input-border:#38568a;--accent-border:#7a4a50;--ink:#f2f6ff;--muted:#9eb1d2;--accent:#ff7a68;--accent-strong:#ff9b8e;--danger:#ff7a6b;--danger-bg:#3d1c17;--danger-border:#7a3a2c;--warning:#f0c15b;--warning-bg:#392d12;--warning-border:#6e5623;--success:#67d1ac;--success-bg:#123a31;--success-border:#2c6b59;--info:#8daaff;--chart-grid:#20375e;--chart-area:#8daaff24;--green-950:#05102a;--green-900:#092363;--green-800:#e75f4d;--green-700:#ff7a68;--green-100:#47231f;--green-50:#2b181a;--copper:#8daaff;--copper-100:#1b2d59;--on-copper:#fff;--zebra:#e9f0f809;--topbar-bg:#0b1935;--app-bg:#07142e;--sh-1:0 1px 2px #00000073;--sh-2:0 2px 8px #00000080;--sh-3:0 16px 40px #0009;--shadow:var(--sh-3)}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,select,textarea{color:var(--ink)}svg{stroke-width:1.8px;width:20px;height:20px}h1,h2,h3,p{margin-top:0}.block{display:block}.success-text{color:var(--success)}.muted-cell{color:var(--muted);max-width:240px}.ltr-code{text-align:right;letter-spacing:.02em;direction:ltr;font-family:Segoe UI,sans-serif;font-size:12px;font-weight:650}.print-only{display:none}.button{white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:14px;font-weight:700;transition:all .18s;display:inline-flex}.button--primary{background:linear-gradient(155deg,var(--green-700),var(--green-800) 65%);color:#fff;box-shadow:0 5px 14px #6b23183d}.button--outline{background:var(--surface);color:var(--accent-strong);border-color:var(--accent-border)}.button--large{width:100%;height:50px}.icon-button{width:38px;height:38px;color:inherit;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:inline-grid}.icon-button:hover{background:var(--soft)}.link-button,.text-action{color:var(--accent);background:0 0;border:0;align-items:center;gap:5px;font-size:12px;font-weight:700;display:inline-flex}.link-button svg,.text-action svg{width:15px;height:15px}.spinner{border:2px solid;border-left-color:#0000;border-radius:50%;width:18px;height:18px;animation:.75s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.brand{color:#fff;justify-content:center;align-items:center;gap:12px;height:110px;display:flex}.brand__mark{color:#c9974f;border:1px solid #c9974fa6;border-radius:50% 50% 42% 58%;place-items:center;width:43px;height:50px;display:grid;transform:rotate(-8deg)}.brand__mark svg{width:27px;height:27px}.brand strong{font-family:var(--font-display);font-size:25px;font-weight:700;line-height:1.25;display:block}.brand small{color:#c9974f;letter-spacing:5px;font:9px/1.8 Segoe UI,sans-serif;display:block}.login-page{background:var(--surface);direction:ltr;grid-template-columns:minmax(440px,620px) 1fr;min-height:100vh;display:grid}.login-panel{direction:rtl;flex-direction:column;justify-content:center;padding:56px clamp(44px,7vw,110px);display:flex}.login-panel>.brand{height:auto;color:var(--accent-strong);justify-content:flex-start;margin-bottom:68px}.login-copy h1{font-family:var(--font-display);margin-bottom:10px;font-size:33px;font-weight:700}.login-copy p{color:var(--muted);margin-bottom:30px;line-height:1.8}.login-panel form{gap:20px;display:grid}.login-panel label,.field{gap:8px;font-size:13px;font-weight:700;display:grid}.input-with-icon{border:1px solid var(--input-border);border-radius:9px;align-items:center;gap:10px;height:50px;padding:0 14px;transition:all .18s;display:flex}.input-with-icon input{background:0 0;border:0;outline:0;flex:1;min-width:0}.form-error{background:var(--danger-bg);color:var(--danger);border-radius:8px;margin:0;padding:10px 13px;font-size:13px}.demo-access{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:8px;margin-top:25px;padding-top:20px;font-size:12px;display:flex}.demo-access button{border:1px solid var(--line);background:var(--surface);height:34px;color:var(--accent-strong);border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-weight:700;display:flex}.demo-access svg{width:15px}.login-security{color:var(--muted);align-items:center;gap:6px;margin:18px 0 0;font-size:11px;display:flex}.login-security svg{width:14px}.login-visual{background:radial-gradient(900px 620px at 20% 0%,#2b160d 0%,var(--green-950) 55%,#140b06 100%);color:#fff;direction:rtl;flex-direction:column;justify-content:center;align-items:center;padding:70px;display:flex;position:relative;overflow:hidden}.login-visual:before{content:"";pointer-events:none;background-image:repeating-linear-gradient(45deg,#c9974f0d 0 1px,#0000 1px 26px),repeating-linear-gradient(-45deg,#c9974f0d 0 1px,#0000 1px 26px);position:absolute;inset:0}.login-visual:after{content:"";border:1px solid #c9974f2e;border-radius:48% 52% 61% 39%;width:540px;height:540px;position:absolute;inset:auto -230px -220px auto;transform:rotate(25deg)}.legacy-orbit{border:1px solid #c9974f4d;border-radius:51% 49% 45% 55%;place-items:center;width:250px;height:250px;margin-bottom:60px;animation:7s ease-in-out infinite orbit-breathe;display:grid;position:relative}@keyframes orbit-breathe{0%,to{transform:scale(1)rotate(0)}50%{transform:scale(1.025)rotate(1.5deg)}}.legacy-orbit:after,.legacy-orbit:before{content:"";border:1px solid #c9974f38;border-radius:50%;position:absolute}.legacy-orbit:before{inset:28px}.legacy-orbit:after{inset:58px}.legacy-orbit svg{color:#d9ad6e;width:70px;height:70px}.legacy-orbit span{background:radial-gradient(circle at 35% 30%,#f0d5a4,#b8863b);border-radius:50%;width:9px;height:9px;position:absolute;top:17px;left:70px;box-shadow:0 0 12px #c9974fb3}.legacy-orbit span+span{width:5px;height:5px;inset:auto 48px 29px auto}.login-visual blockquote{font-family:var(--font-display);text-align:center;max-width:620px;margin:0 0 17px;font-size:24px;font-style:italic;font-weight:400;line-height:1.9}.login-visual small{color:#c9b8a4}.app-loading{min-height:100vh;color:var(--accent-strong);place-content:center;justify-items:center;gap:12px;display:grid}.app-loading .spinner{width:30px;height:30px}.app-shell{direction:rtl;grid-template-columns:250px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:linear-gradient(180deg,var(--green-950),#2b160d);color:#fff;z-index:30;flex-direction:column;height:100vh;display:flex;position:sticky;top:0}.sidebar:before{content:"";pointer-events:none;background-image:repeating-linear-gradient(45deg,#b8863b0b 0 1px,#0000 1px 24px),repeating-linear-gradient(-45deg,#b8863b0b 0 1px,#0000 1px 24px);position:absolute;inset:0}.sidebar:after{content:"";pointer-events:none;border:1px solid #b8863b47;border-radius:60% 40% 55% 45%;width:250px;height:250px;position:absolute;inset:auto -75px -110px auto;transform:rotate(-22deg)}.sidebar nav{flex-direction:column;gap:3px;padding:20px 13px;display:flex;position:relative;overflow:auto}.sidebar nav button,.sidebar__footer button{color:#eaf2ed;text-align:right;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;height:49px;padding:0 15px;font-weight:650;display:flex}.sidebar nav button svg,.sidebar__footer svg{width:21px;height:21px}.sidebar nav button.active{box-shadow:inset -3px 0 var(--copper);color:#fff;background:#ffffff1c}.sidebar nav button:hover,.sidebar__footer button:hover{background:#ffffff12}.sidebar__footer{z-index:1;border-top:1px solid #ffffff1a;margin-top:auto;padding:16px 13px 25px}.sidebar__footer button{color:#cbd9d1;width:100%}.sidebar__mobile-close{display:none}.workspace{direction:rtl;min-width:0}.topbar{background:var(--surface);border-bottom:1px solid var(--line);z-index:20;align-items:center;gap:24px;height:78px;padding:0 clamp(20px,3vw,44px);display:flex;position:sticky;top:0}.topbar__title{align-items:center;gap:8px;font-weight:800;display:none}.global-search{border:1px solid var(--line);border-radius:8px;align-items:center;gap:10px;width:min(500px,42vw);height:43px;margin-inline:auto;padding:0 13px;display:flex}.global-search svg{color:var(--muted);width:19px}.global-search input{background:0 0;border:0;outline:0;flex:1}.topbar__tools{align-items:center;gap:15px;display:flex}.topbar__tools>.icon-button{position:relative}.notification-dot{background:var(--copper);color:#fff;border-radius:50%;width:16px;height:16px;font:10px/16px sans-serif;position:absolute;top:2px;right:2px}.profile{border-right:1px solid var(--line);align-items:center;gap:9px;min-width:175px;padding-right:15px;display:flex}.profile .avatar{background:var(--green-100);width:38px;height:38px;color:var(--accent-strong);border-radius:50%;place-items:center;font-weight:800;display:grid}.profile strong,.profile small{display:block}.profile strong{font-size:13px}.profile small{color:var(--muted);margin-top:3px;font-size:10px}.profile>svg{width:15px;margin-right:auto}.mobile-menu{display:none}.page{max-width:1800px;margin:auto;padding:28px clamp(20px,3vw,42px) 44px}.page-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.page-header h1{margin-bottom:7px;font-size:27px}.page-header__actions{align-items:center;gap:8px;display:flex}.live-update{color:var(--muted);font-size:11px}.live-update:before{content:"";background:#6b8f4a;border-radius:50%;width:7px;height:7px;margin-left:7px;display:inline-block}.panel{background:var(--surface);border:1px solid var(--line);border-radius:10px}.panel-loading,.skeleton-page{background:linear-gradient(90deg,var(--line-soft) 25%,var(--surface-2) 37%,var(--line-soft) 63%);min-height:300px;color:var(--muted);background-size:400% 100%;border-radius:10px;place-items:center;animation:1.4s infinite skeleton;display:grid}@keyframes skeleton{to{background-position:-100% 0}}.stats-strip{background:var(--surface);border-block:1px solid var(--line);grid-template-columns:repeat(5,1fr);margin:0 0 18px;display:grid}.stats-strip article{border-left:1px solid var(--line);justify-content:space-between;min-width:0;padding:19px 20px;display:flex}.stats-strip article:last-child{border-left:0}.stats-strip span,.stats-strip strong,.stats-strip small{display:block}.stats-strip span{color:var(--muted);font-size:11px}.stats-strip strong{margin:7px 0;font-size:22px}.stats-strip small{color:var(--success);font-size:10px}.stats-strip svg{color:var(--accent);opacity:.7}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(270px,.85fr);gap:14px;display:grid}.panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:58px;padding:13px 18px;display:flex}.panel>header h2{margin:0;font-size:15px}.panel--chart{grid-column:1}.panel--chart header>div:first-child{align-items:baseline;gap:8px;display:flex}.legend{color:var(--muted);gap:16px;font-size:10px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{background:var(--accent);width:18px;height:2px}.legend i.orange{background:var(--copper);border-top:1px dashed #fff}.chart-wrap{padding:5px 13px 3px}.chart-wrap svg{width:100%;height:auto;overflow:visible}.chart-grid{stroke:var(--chart-grid);stroke-width:1px}.chart-line{fill:none;stroke:var(--accent);stroke-width:2.5px}.chart-area{fill:var(--chart-area);stroke:none}.chart-point{fill:#fff;stroke:var(--accent);stroke-width:2px}.chart-wrap text{fill:var(--muted);font-size:9px}.stock-alerts{grid-area:1/2}.stock-alerts header h2{align-items:center;gap:7px;display:flex}.stock-alerts header h2 svg{color:var(--copper)}.compact-table__head,.compact-table>div{border-bottom:1px solid var(--line-soft);grid-template-columns:1fr 52px 52px;align-items:center;gap:8px;padding:9px 17px;font-size:11px;display:grid}.compact-table__head{background:var(--surface-2);color:var(--muted)}.compact-table>div span strong,.compact-table>div span small{display:block}.compact-table>div span small{color:var(--muted);margin-top:2px;font-size:9px}.recent-sales{grid-column:1}.table-scroll{overflow:auto}.recent-sales table,.data-table,.report-products table{border-collapse:collapse;text-align:right;width:100%}.recent-sales th,.recent-sales td,.data-table th,.data-table td,.report-products th,.report-products td{border-bottom:1px solid var(--line-soft);white-space:nowrap;padding:11px 14px;font-size:11px}.recent-sales th,.data-table th,.report-products th{color:var(--muted);background:var(--surface-2);font-weight:650}.status{background:var(--surface-2);min-height:25px;color:var(--muted);border-radius:5px;justify-content:center;align-items:center;padding:2px 9px;font-size:10px;font-weight:700;display:inline-flex}.status--success{background:var(--green-100);color:var(--success);border:1px solid var(--accent-border)}.status--danger{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger-border)}.status--warning{background:var(--warning-bg);color:var(--warning);border:1px solid var(--accent-border)}.top-products{grid-column:2}.rank-row{border-bottom:1px solid var(--line-soft);grid-template-columns:30px 1fr auto;align-items:center;gap:9px;padding:10px 17px;display:grid}.rank{background:var(--green-50);width:25px;height:25px;color:var(--accent);border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.rank-row strong,.rank-row small{display:block}.rank-row strong,.rank-row b{font-size:11px}.rank-row small{color:var(--muted);margin-top:3px;font-size:9px}.quick-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:14px;display:grid}.quick-actions>button{border:1px solid var(--accent-border);background:var(--green-50);min-height:88px;color:var(--accent-strong);text-align:right;border-radius:10px;justify-content:space-between;align-items:center;padding:16px 21px;display:flex}.quick-actions__quote{background:var(--copper-100)!important;border-color:var(--accent-border)!important;color:var(--warning)!important}.quick-actions button>span{grid-template-columns:32px 1fr;column-gap:10px;display:grid}.quick-actions button>span svg{grid-row:1/3;width:28px;height:28px}.quick-actions strong,.quick-actions small{display:block}.quick-actions small{color:var(--muted);margin-top:4px;font-size:10px}.quick-actions>button>svg{width:18px}.empty{text-align:center;min-height:150px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.empty svg{width:30px;height:30px;color:var(--muted);margin-bottom:8px}.empty strong{color:var(--ink);font-size:13px}.empty p{margin:5px 0 0;font-size:11px}.app-shell--cashier{grid-template-columns:205px minmax(0,1fr)}.app-shell--cashier .sidebar .brand{height:92px}.app-shell--cashier .sidebar nav{padding-top:10px}.app-shell--cashier .page{max-width:none;padding:0}.pos-layout{direction:ltr;grid-template-columns:minmax(0,1fr) 370px;min-height:calc(100vh - 78px);display:grid}.pos-catalog,.cart-panel{direction:rtl}.pos-catalog{min-width:0;padding:23px 25px 30px}.pos-search{gap:10px;display:flex}.scan-input{border:1px solid var(--input-border);background:var(--surface);border-radius:8px;flex:1;align-items:center;gap:10px;height:48px;padding:0 14px;display:flex}.scan-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--green-100)}.scan-input input{background:0 0;border:0;outline:0;flex:1}.scan-input>svg{color:var(--muted)}.scan-input>svg:last-child{color:var(--accent)}.category-tabs{border-bottom:1px solid var(--line);align-items:center;gap:0;margin:18px 0 0;display:flex;overflow:auto}.category-tabs button{white-space:nowrap;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:13px 15px;font-size:11px}.category-tabs button.active{color:var(--accent-strong);border-bottom-color:var(--accent-strong);font-weight:800}.catalog-toolbar{height:52px;color:var(--muted);justify-content:space-between;align-items:center;font-size:11px;display:flex}.catalog-toolbar strong{color:var(--ink)}.product-table{background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden}.product-table__head,.product-row{grid-template-columns:minmax(240px,1.5fr) minmax(100px,.65fr) 90px 100px 80px;align-items:center;gap:10px;display:grid}.product-table__head{background:var(--surface-2);height:40px;color:var(--muted);border-bottom:1px solid var(--line);padding:0 14px;font-size:10px}.product-row{background:var(--surface);border:0;border-bottom:1px solid var(--line-soft);text-align:right;width:100%;min-height:66px;color:var(--ink);padding:8px 14px;font-size:11px}.product-row:last-child{border-bottom:0}.product-row:hover{background:var(--surface-hover)}.product-identity{align-items:center;gap:10px;display:flex}.product-identity i,.table-product i{background:linear-gradient(145deg,var(--green-100),var(--copper-100));width:40px;height:40px;color:var(--accent);border:1px solid var(--accent-border);border-radius:7px;place-items:center;font-size:17px;font-style:normal;font-weight:800;display:grid}.product-identity strong,.product-identity small{display:block}.product-identity small{color:var(--muted);margin-top:3px;font-size:9px}.product-row>b{font-size:12px}.product-row em{color:var(--accent);align-items:center;gap:4px;font-style:normal;font-weight:800;display:flex}.product-row em svg{width:15px}.scan-hint{border:1px dashed var(--accent-border);min-height:80px;color:var(--accent-strong);border-radius:9px;justify-content:center;align-items:center;gap:15px;margin-top:16px;display:flex}.scan-hint>svg{width:35px;height:35px}.scan-hint strong{font-size:13px}.scan-hint p{color:var(--muted);margin:4px 0 0;font-size:10px}.cart-panel{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;height:calc(100vh - 78px);display:flex;position:sticky;top:78px;overflow:hidden}.cart-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:67px;padding:0 17px;display:flex}.cart-panel>header>div{align-items:center;gap:9px;display:flex}.cart-panel>header h2{margin:0;font-size:16px}.cart-panel>header small{color:var(--muted);font-size:9px}.cart-panel>header svg{color:var(--accent)}.cart-items{flex:1;min-height:120px;overflow:auto}.cart-items article{border-bottom:1px solid var(--line-soft);grid-template-columns:22px 1fr auto;align-items:center;gap:10px;min-height:96px;padding:13px 17px;display:grid}.cart-remove{color:var(--muted);background:0 0;border:0;padding:0}.cart-remove svg{width:15px}.cart-items article strong,.cart-items article small,.cart-items article b{display:block}.cart-items article strong{font-size:11px}.cart-items article small{color:var(--muted);margin:3px 0 6px;font-size:9px}.cart-items article b{font-size:11px}.quantity{border:1px solid var(--line);direction:ltr;border-radius:5px;grid-template-columns:30px 32px 30px;display:grid;overflow:hidden}.quantity button{background:var(--surface-2);border:0;place-items:center;display:grid}.quantity svg{width:13px}.quantity span{border-inline:1px solid var(--line);place-items:center;height:29px;font-size:11px;display:grid}.cart-options{border-top:1px solid var(--line)}.cart-options label{border-bottom:1px solid var(--line);grid-template-columns:24px 88px 1fr 14px;align-items:center;min-height:50px;padding:0 17px;font-size:11px;display:grid}.cart-options label svg{width:18px;color:var(--accent)}.cart-options select,.cart-options input{text-align:left;background:0 0;border:0;outline:0;min-width:0}.cart-options label>svg:last-child{width:13px;color:var(--muted)}.cart-totals{margin:0;padding:13px 17px}.cart-totals div{color:var(--muted);justify-content:space-between;margin:8px 0;font-size:10px;display:flex}.cart-totals dd{color:var(--ink);margin:0}.cart-totals .grand-total{border-top:1px dashed var(--input-border);color:var(--ink);margin-top:12px;padding-top:14px;font-size:18px;font-weight:800}.cart-totals .grand-total dd{color:var(--accent-strong)}.button--checkout{justify-content:flex-start;min-height:54px;margin:0 17px 9px}.button--checkout span{margin-right:auto}.print-last{margin:0 17px 14px}.payment-total{text-align:center;background:var(--green-50);border-radius:8px;padding:20px}.payment-total span,.payment-total small{color:var(--muted);display:block}.payment-total strong{color:var(--accent-strong);margin:5px;font-size:30px;display:block}.payment-methods{grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0;display:grid}.payment-methods button{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:6px;height:85px;display:flex;position:relative}.payment-methods button.active{border-color:var(--accent);background:var(--green-50);color:var(--accent-strong)}.payment-methods button>svg:last-child{width:15px;position:absolute;top:6px;right:6px}.payment-methods strong{font-size:12px}.data-panel{overflow:hidden}.data-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;min-height:66px;padding:11px 15px;display:flex}.data-toolbar>span{color:var(--muted);font-size:11px}.search-field{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:9px;width:min(450px,100%);height:42px;padding:0 12px;display:flex}.search-field svg{width:18px;color:var(--muted)}.search-field input{background:0 0;border:0;outline:0;flex:1;min-width:0}.search-field kbd{border:1px solid var(--line);color:var(--muted);border-radius:4px;padding:2px 4px;font-size:9px}.data-table th,.data-table td{padding:13px 15px;font-size:12px}.table-product,.customer-cell{align-items:center;gap:9px;display:flex}.table-product strong,.table-product small,.code-stack b,.code-stack small{display:block}.table-product small,.code-stack small{color:var(--muted);margin-top:3px;font-size:9px}.customer-cell i{background:var(--green-100);width:35px;height:35px;color:var(--accent-strong);border-radius:50%;place-items:center;font-style:normal;font-weight:800;display:grid}.row-actions{gap:3px;display:flex}.row-actions button{width:31px;height:31px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.row-actions button:hover{background:var(--soft)}.row-actions button.danger{color:var(--danger)}.row-actions svg{width:16px}.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px;display:grid}.customer-summary article,.sales-day-strip article,.inventory-stats article,.purchase-summary article,.report-kpis article{background:var(--surface);border:1px solid var(--line);border-radius:9px;align-items:center;gap:13px;min-height:88px;padding:16px 19px;display:flex}.customer-summary article>svg,.sales-day-strip article>svg,.inventory-stats article>svg,.purchase-summary article>svg,.report-kpis article>svg{width:28px;height:28px;color:var(--accent)}.customer-summary strong,.customer-summary small,.sales-day-strip strong,.sales-day-strip small,.inventory-stats strong,.inventory-stats small,.purchase-summary strong,.purchase-summary small,.report-kpis strong,.report-kpis small{display:block}.customer-summary strong,.sales-day-strip strong,.inventory-stats strong,.purchase-summary strong,.report-kpis strong{margin-top:3px;font-size:20px}.customer-summary small,.sales-day-strip small,.inventory-stats small,.purchase-summary small,.report-kpis small{color:var(--muted);font-size:10px}.sales-day-strip,.inventory-stats{grid-template-columns:repeat(4,1fr)}.purchase-summary{grid-template-columns:repeat(3,1fr)}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1a0f088c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:12px;width:min(560px,100%);max-height:90vh;overflow:auto;box-shadow:0 24px 70px #00000040}.modal--wide{width:min(880px,100%)}.modal>header{border-bottom:1px solid var(--line);background:var(--surface);z-index:1;justify-content:space-between;align-items:center;height:63px;padding:0 20px;display:flex;position:sticky;top:0}.modal>header h2{margin:0;font-size:17px}.form-grid{grid-template-columns:1fr 1fr;gap:17px 13px;display:grid}.field--wide{grid-column:1/-1}.field input,.field select,.field textarea,.report-filters input{border:1px solid var(--input-border);background:var(--surface);border-radius:7px;outline:0;width:100%;min-height:42px;padding:8px 11px}.field textarea{resize:vertical}.form-actions,.modal-actions{justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.toast{background:var(--green-900);color:#fff;min-height:48px;box-shadow:var(--shadow);z-index:200;border-radius:9px;align-items:center;gap:9px;padding:0 15px;font-size:13px;display:flex;position:fixed;bottom:24px;left:24px}.barcode-preview{text-align:center;border:1px dashed var(--accent-border);border-radius:8px;width:280px;margin:auto;padding:20px}.barcode-preview>strong,.barcode-preview h3,.barcode-preview>b{display:block}.barcode-preview h3{margin:8px 0;font-size:14px}.barcode-preview>b{margin-top:5px;font-size:16px}.inventory-layout{grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:14px;display:grid}.movements>header{justify-content:flex-start;gap:9px}.movements>div{border-bottom:1px solid var(--line-soft);grid-template-columns:47px 1fr auto;align-items:center;gap:8px;padding:11px 15px;display:grid}.movements>div>span strong,.movements>div>span small{display:block}.movements>div>span small,.movements time{color:var(--muted);font-size:9px}.movement-plus,.movement-minus{text-align:center;border-radius:5px;padding:5px;font:700 11px Segoe UI}.movement-plus{background:var(--green-100);color:var(--success)}.movement-minus{background:var(--danger-bg);color:var(--danger)}.inventory-current{background:var(--green-50);border-radius:8px;justify-content:space-between;align-items:center;padding:15px;display:flex}.inventory-current strong{color:var(--accent-strong);font-size:20px}.line-items{border:1px solid var(--line);border-radius:8px;margin:18px 0;overflow:hidden}.line-items>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:57px;padding:0 15px;display:flex}.line-items h3{margin:0;font-size:14px}.line-item{border-bottom:1px solid var(--line);grid-template-columns:minmax(220px,1fr) 100px 130px 120px 35px;align-items:center;gap:8px;padding:9px;display:grid}.line-item select,.line-item input{border:1px solid var(--line);border-radius:6px;min-width:0;height:38px;padding:0 8px}.line-item strong{text-align:center;font-size:11px}.purchase-total{justify-content:flex-end;align-items:center;gap:20px;margin-bottom:15px;display:flex}.purchase-total strong{color:var(--accent-strong);font-size:24px}.supplier-grid{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.supplier-total,.supplier-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-height:188px;padding:18px}.supplier-total{background:var(--green-50);color:var(--accent-strong);justify-content:center;align-items:center;gap:15px;display:flex}.supplier-total>svg{width:40px;height:40px}.supplier-total strong,.supplier-total small{display:block}.supplier-total strong{font-size:28px}.supplier-total small{color:var(--muted)}.supplier-card header{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-bottom:13px;display:flex}.supplier-card h3{margin:0;font-size:14px}.supplier-card p{color:var(--muted);margin:3px 0 0;font-size:10px}.supplier-card header .status{margin-right:auto}.supplier-avatar{background:var(--green-100);width:39px;height:39px;color:var(--accent-strong);border-radius:8px;place-items:center;display:grid}.supplier-card dl{margin:12px 0 0}.supplier-card dl div{justify-content:space-between;gap:10px;margin-top:9px;font-size:10px;display:flex}.supplier-card dt{color:var(--muted);align-items:center;gap:5px;display:flex}.supplier-card dt svg{width:13px}.supplier-card dd{margin:0}.supplier-search{margin-top:13px;padding:12px}.pricing-info{background:var(--green-50);border:1px solid var(--accent-border);border-radius:9px;align-items:center;gap:14px;margin-bottom:16px;padding:17px 20px;display:flex}.pricing-info>svg{width:31px;height:31px;color:var(--accent)}.pricing-info h2{margin:0;font-size:14px}.pricing-info p{color:var(--muted);margin:4px 0 0;font-size:11px}.report-filters{gap:10px;margin-bottom:14px;display:flex}.report-filters label{align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.report-filters input{width:150px;min-height:40px}.reports-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:14px;display:grid}.panel--report-chart>header{justify-content:flex-start;gap:10px}.report-chart{width:100%;height:auto;padding:10px 18px}.report-chart line{stroke:var(--line-soft)}.report-chart path{fill:none;stroke:var(--accent);stroke-width:3px}.report-chart circle{fill:var(--surface);stroke:var(--accent);stroke-width:2px}.payment-breakdown>div{border-bottom:1px solid var(--line);grid-template-columns:100px 1fr auto;align-items:center;gap:10px;padding:13px 16px;display:grid}.payment-breakdown strong,.payment-breakdown small{font-size:10px;display:block}.payment-breakdown small{color:var(--muted);margin-top:3px}.payment-breakdown b{font-size:10px}.progress{background:var(--line-soft);border-radius:4px;height:5px;overflow:hidden}.progress i{background:var(--green-700);height:100%;display:block}.report-products{grid-column:1/-1}@media (width<=1180px){.stats-strip{grid-template-columns:repeat(3,1fr)}.stats-strip article:nth-child(3){border-left:0}.stats-strip article:nth-child(n+4){border-top:1px solid var(--line)}.pos-layout{grid-template-columns:minmax(0,1fr) 330px}.product-table__head,.product-row{grid-template-columns:minmax(210px,1.3fr) 90px 78px 90px 70px}.supplier-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=980px){.app-shell,.app-shell--cashier{grid-template-columns:1fr}.sidebar{width:260px;box-shadow:var(--shadow);transition:all .22s;position:fixed;top:0;right:0;transform:translate(105%)}.sidebar--open{transform:none}.sidebar__mobile-close{color:#fff;display:grid;position:absolute;top:10px;left:10px}.mobile-menu{display:grid}.topbar__title{display:flex}.global-search{display:none}.topbar__tools{margin-right:auto}.pos-layout{grid-template-columns:1fr}.cart-panel{border-right:0;border-top:1px solid var(--line);height:auto;min-height:550px;position:relative;top:0}.dashboard-grid{grid-template-columns:1fr}.panel--chart,.stock-alerts,.recent-sales,.top-products,.quick-actions{grid-area:auto/1}.inventory-layout,.reports-grid{grid-template-columns:1fr}.report-products{grid-column:1}.supplier-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.topbar{height:65px;padding:0 14px}.profile{min-width:0}.profile>span:not(.avatar),.profile>svg{display:none}.page{padding:20px 13px}.page-header{flex-direction:column;align-items:flex-start}.page-header__actions{width:100%;overflow:auto}.stats-strip,.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis{grid-template-columns:1fr 1fr}.stats-strip article:nth-child(n){border:0;border-bottom:1px solid var(--line)}.quick-actions{grid-template-columns:1fr}.pos-layout{min-height:calc(100vh - 65px)}.pos-catalog{padding:14px 10px}.pos-search{flex-direction:column}.product-table__head{display:none}.product-row{grid-template-columns:1fr auto;gap:6px;padding:11px}.product-row>span:nth-child(2),.product-row>span:nth-child(3){display:none}.product-row>b{grid-area:1/2}.product-row>em{grid-column:2}.category-tabs{margin-top:10px}.cart-panel{height:auto}.form-grid{grid-template-columns:1fr}.field--wide{grid-column:1}.modal__body{padding:15px}.line-item{grid-template-columns:1fr 70px}.line-item input:nth-of-type(2),.line-item strong{grid-row:2}.line-item .icon-button{position:absolute}.supplier-grid{grid-template-columns:1fr}.report-filters{flex-wrap:wrap}.payment-methods{grid-template-columns:1fr 1fr 1fr}.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-panel{padding:40px 24px}.login-panel>.brand{margin-bottom:50px}.demo-access{flex-wrap:wrap}.toast{bottom:12px;left:12px;right:12px}.scan-hint{padding:14px}.scan-hint p{line-height:1.7}}@media (width<=480px){.stats-strip,.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis{grid-template-columns:1fr}.topbar__title span{display:none}.page-header h1{font-size:23px}.button{padding-inline:12px}.profile{border:0;padding:0}.cart-panel{min-height:600px}.payment-methods,.supplier-grid{grid-template-columns:1fr}}@media print{@page{margin:5mm}.sidebar,.topbar,.page>:not(.printable-report),.modal-backdrop,.toast{display:none!important}.app-shell,.workspace{display:block}.page{padding:0}.printable-report{border:0;display:block!important}.printable-report .data-toolbar,.printable-report button{display:none}.printable-report table{font-size:10pt}.print-only{display:block}body:has(#thermal-receipt){background:#fff;width:80mm}.app-shell:has(#thermal-receipt)>:not(.workspace){display:none!important}.workspace:has(#thermal-receipt)>.topbar{display:none!important}.workspace:has(#thermal-receipt)>.page>:not(.pos-layout){display:none!important}.pos-layout:has(#thermal-receipt)>:not(#thermal-receipt){display:none!important}.pos-layout:has(#thermal-receipt){display:block}.thermal-receipt{color:#000;direction:rtl;width:72mm;margin:0 auto;font:10pt Tahoma,sans-serif}.thermal-receipt h1{text-align:center;margin:2mm;font-size:20pt}.thermal-receipt>p{text-align:center}.receipt-meta{border-block:1px dashed #000;gap:1mm;padding:2mm 0;display:grid}.thermal-receipt table{border-collapse:collapse;width:100%;margin:2mm 0}.thermal-receipt th,.thermal-receipt td{text-align:right;border-bottom:1px dotted #777;padding:1.3mm}.thermal-receipt dl div{justify-content:space-between;margin:1mm 0;display:flex}.thermal-receipt dd{margin:0}.receipt-total{border-top:1px dashed #000;padding-top:2mm;font-size:14pt;font-weight:700}.receipt-thanks{border-top:1px dashed #000;padding-top:3mm!important}.print-label:not(.date-label){border:0;width:50mm;padding:0;display:block!important}.print-label.date-label{box-sizing:border-box;border:0;padding:0;display:block!important}.print-label.date-label[data-orient=vertical]{width:45mm!important;height:65mm!important}.print-label.date-label[data-orient=horizontal]{width:65mm!important;height:45mm!important}.print-label.date-label:not([data-orient]){width:45mm!important;height:65mm!important}.modal-backdrop:has(.print-label){background:0 0;position:static;display:block!important}.modal-backdrop:has(.print-label:not(.date-label)) .modal{box-shadow:none;width:50mm}.modal-backdrop:has(.date-label[data-orient=vertical]) .modal{box-shadow:none;width:45mm!important;max-width:45mm!important;height:65mm!important;max-height:65mm!important}.modal-backdrop:has(.date-label[data-orient=horizontal]) .modal{box-shadow:none;width:65mm!important;max-width:65mm!important;height:45mm!important;max-height:45mm!important}.modal-backdrop:has(.date-label):not(:has([data-orient])) .modal{box-shadow:none;width:45mm!important;max-width:45mm!important;height:65mm!important;max-height:65mm!important}.modal-backdrop:has(.print-label) .modal>header{display:none}.modal-backdrop:has(.print-label) .modal-actions{display:none}.modal-backdrop:has(.print-label) .modal__body{padding:0}}.pos-layout{direction:rtl}.brand__mark{width:55px;height:55px;box-shadow:none;background:#1137a8;border:0;border-radius:12px;overflow:hidden;transform:none}.brand strong{font-size:22px}.brand small{color:var(--muted);letter-spacing:0;font:600 11px/1.8 inherit}.login-panel .brand__mark{border:0;width:68px;height:68px}.login-panel .brand strong{font-size:29px}.barcode-preview>img{object-fit:cover;border-radius:50%;width:44px;height:44px;margin:0 auto 4px;display:block}@media print{.thermal-receipt>img{object-fit:cover;border-radius:50%;width:18mm;height:18mm;margin:0 auto;display:block}.thermal-receipt h1{font-size:18pt}}.register-link{border:1px dashed var(--accent-border);background:var(--green-50);width:100%;min-height:62px;color:var(--accent-strong);text-align:right;border-radius:9px;align-items:center;gap:11px;margin-top:14px;padding:10px 14px;display:flex}.register-link:hover{background:var(--success-bg);border-style:solid}.register-link>svg{width:24px;height:24px}.register-link strong,.register-link small{display:block}.register-link strong{font-size:13px}.register-link small{color:var(--muted);margin-top:3px;font-size:10px}.login-panel--register{padding-block:30px}.login-panel--register>.brand{margin-bottom:25px}.back-to-login{color:var(--accent);background:0 0;border:0;align-items:center;gap:6px;margin-bottom:22px;padding:0;font-size:12px;font-weight:700;display:flex}.back-to-login svg{width:16px}.register-form{gap:14px!important}.register-fields{grid-template-columns:1fr 1fr;gap:11px;display:grid}.register-success{text-align:center;padding:35px 0}.register-success>svg{width:58px;height:58px;color:var(--success);margin-bottom:13px}.register-success h1{margin-bottom:9px;font-size:27px}.register-success p{color:var(--muted);max-width:390px;margin:0 auto 24px;line-height:1.8}.admin-control{color:var(--accent);align-items:center;gap:7px;font-size:11px;font-weight:700;display:flex}.admin-control svg{width:17px}.approval-queue{background:var(--warning-bg);border:1px solid var(--accent-border);border-radius:10px;margin-bottom:15px;overflow:hidden}.approval-queue>header{border-bottom:1px solid var(--accent-border);align-items:center;gap:11px;min-height:70px;padding:12px 18px;display:flex}.approval-queue>header>svg{color:var(--warning);width:25px;height:25px}.approval-queue h2{margin:0;font-size:15px}.approval-queue p{color:var(--muted);margin:4px 0 0;font-size:10px}.approval-queue>header>strong{background:var(--warning);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;margin-right:auto;font-size:11px;display:grid}.approval-list article{border-bottom:1px solid var(--accent-border);grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 18px;display:grid}.approval-list article:last-child{border-bottom:0}.employee-avatar,.employee-cell i{background:var(--surface)0;width:38px;height:38px;color:var(--warning);border-radius:50%;place-items:center;font-style:normal;font-weight:800;display:grid}.approval-list h3{margin:0;font-size:13px}.approval-list p,.approval-list small{color:var(--muted);margin:3px 0 0;font-size:10px;display:block}.employee-stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:15px;display:grid}.employee-stats article{background:var(--surface);border:1px solid var(--line);border-radius:9px;align-items:center;gap:13px;min-height:88px;padding:16px 19px;display:flex}.employee-stats article>svg{width:27px;height:27px;color:var(--accent)}.employee-stats strong,.employee-stats small{display:block}.employee-stats strong{margin-top:3px;font-size:20px}.employee-stats small{color:var(--muted);font-size:10px}.employee-cell{align-items:center;gap:9px;display:flex}.employee-cell i{background:var(--green-100);color:var(--accent-strong)}.employee-cell strong,.employee-cell small{display:block}.employee-cell small{color:var(--muted);margin-top:3px;font-size:9px}.employee-table td{vertical-align:middle}@media (width<=900px){.employee-stats{grid-template-columns:1fr 1fr}.register-fields{grid-template-columns:1fr}}@media (width<=620px){.employee-stats{grid-template-columns:1fr}.approval-list article{grid-template-columns:40px 1fr}.approval-list article .button{grid-column:1/-1}.login-panel--register{padding-block:24px}}.login-page{grid-template-columns:1fr minmax(440px,620px);grid-template-areas:"visual panel"}.login-panel{grid-area:panel}.login-visual{grid-area:visual}.brand strong{max-width:150px;font-size:18px}.login-panel .brand strong{max-width:none;font-size:25px}.shared-data-notice{border:1px solid var(--accent-border);background:var(--green-50);border-radius:9px;align-items:center;gap:12px;min-height:66px;margin-bottom:14px;padding:11px 16px;display:flex}.shared-data-notice>span{background:var(--surface);width:38px;height:38px;color:var(--accent);border-radius:9px;place-items:center;display:grid;position:relative}.shared-data-notice>span svg{width:19px}.shared-data-notice>span svg+svg{background:var(--surface);border-radius:50%;width:11px;height:11px;position:absolute;bottom:4px;left:4px}.shared-data-notice strong{font-size:13px}.shared-data-notice p{color:var(--muted);margin:3px 0 0;font-size:10px}.shared-data-notice em{background:var(--surface);color:var(--success);border:1px solid var(--accent-border);border-radius:5px;margin-right:auto;padding:4px 9px;font-size:9px;font-style:normal;font-weight:800}.customer-summary--four{grid-template-columns:repeat(4,1fr)}.customer-cell>span>.status{margin-top:4px}.customer-file-table .address-cell{white-space:normal;min-width:170px;max-width:250px;line-height:1.7}.customer-file-table td small.block{color:var(--muted);margin-top:3px;font-size:9px}.customer-form .field textarea{line-height:1.7}.credit-warning,.credit-confirm{border-radius:7px;align-items:center;gap:7px;min-height:42px;margin:0 0 14px;padding:9px 11px;font-size:11px;display:flex}.credit-warning{background:var(--warning-bg);color:var(--warning);border:1px solid var(--accent-border)}.credit-confirm{background:var(--green-50);color:var(--success);border:1px solid var(--accent-border)}.credit-warning svg,.credit-confirm svg{width:17px}.sync-state{color:var(--accent);white-space:nowrap;background:var(--green-50);border:1px solid var(--accent-border);border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:12px;font-weight:700;display:inline-flex}.sync-state svg{stroke-width:2px;width:15px;height:15px}.sync-state--connecting{color:var(--warning);background:var(--warning-bg);border-color:var(--accent-border)}.sync-state--connecting svg{animation:1s linear infinite spin}.sync-state--offline{color:var(--danger);background:var(--danger-bg);border-color:var(--danger-border)}@media (width<=700px){.sync-state span{display:none}.sync-state{padding:7px}}.forgot-password-link{color:var(--accent);background:0 0;border:0;justify-self:start;margin:-5px 0 4px;padding:0;font-size:12px;font-weight:750}.forgot-password-link:hover{text-decoration:underline}.install-app-button{border:1px solid var(--accent-border);background:var(--green-50);min-height:36px;color:var(--accent-strong);white-space:nowrap;border-radius:8px;align-items:center;gap:7px;padding:0 11px;font-size:12px;font-weight:800;display:inline-flex}.install-app-button:hover{background:var(--success-bg)}.install-app-button svg,.installed-app-label svg{width:16px;height:16px}.installed-app-label{color:var(--success);align-items:center;gap:6px;font-size:12px;font-weight:750;display:inline-flex}.install-help{gap:12px;display:grid}.install-help>p{color:var(--muted);margin:0;line-height:1.8}.install-help article{border:1px solid var(--line);border-radius:9px;align-items:flex-start;gap:13px;padding:13px;display:flex}.install-help article>svg{width:23px;color:var(--accent);flex:none}.install-help strong,.install-help small{display:block}.install-help small{color:var(--muted);margin-top:4px;line-height:1.7}.install-note{background:var(--warning-bg);border-radius:7px;color:var(--warning)!important;padding:10px!important}.account-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,.65fr);align-items:start;gap:20px;display:grid}.account-card>header{border-bottom:1px solid var(--line);align-items:center;gap:12px;margin-bottom:20px;padding-bottom:17px;display:flex}.account-card>header>svg{width:34px;height:34px;color:var(--accent);background:var(--green-50);border-radius:8px;padding:7px}.account-card h2,.account-security h2{margin:0 0 5px;font-size:18px}.account-card header p,.account-security p{color:var(--muted);margin:0;font-size:12px;line-height:1.8}.account-divider{background:var(--soft);border-radius:8px;align-items:center;gap:10px;padding:12px;display:flex}.account-divider>svg{color:var(--accent)}.account-divider strong,.account-divider small{display:block}.account-divider small{color:var(--muted);margin-top:3px;font-size:11px}.account-security{background:var(--green-950);color:#fff;border-radius:10px;padding:24px;position:sticky;top:102px}.account-security>svg{color:#b9dac6;width:34px;height:34px;margin-bottom:16px}.account-security p{color:#c8d7cf}.account-security ul{color:#e7f0eb;gap:10px;margin:18px 0 0;padding:0 18px 0 0;font-size:12px;display:grid}.reset-explanation{background:var(--warning-bg);color:var(--warning);border-radius:7px;margin:0;padding:10px;font-size:12px}.password-reset-queue{margin-bottom:18px}.password-reset-queue .employee-avatar svg{width:18px}@media (width<=1100px){.install-app-button span{display:none}.install-app-button{padding:8px}}@media (width<=800px){.account-layout{grid-template-columns:1fr}.account-security{position:static}.install-app-button{display:none}}.sales-day-strip--payments{grid-template-columns:repeat(5,1fr)}@media (width<=1100px){.customer-summary--four,.sales-day-strip--payments{grid-template-columns:repeat(3,1fr)}}@media (width<=720px){.login-page{grid-template-columns:1fr;grid-template-areas:"panel"}.customer-summary--four,.sales-day-strip--payments{grid-template-columns:1fr 1fr}.shared-data-notice em{display:none}}@media (width<=480px){.customer-summary--four,.sales-day-strip--payments{grid-template-columns:1fr}.shared-data-notice{align-items:flex-start}}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(270px,.85fr)}@media (width<=980px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}}.dashboard-grid>*,.page>section,.panel,.workspace,.stats-strip article{min-width:0}.panel--chart,.chart-wrap{overflow:hidden}.chart-wrap svg{width:100%;max-width:100%;height:auto;display:block;overflow:hidden}.panel--chart header{flex-wrap:wrap;gap:8px}.panel--chart .legend{flex-wrap:wrap}.table-scroll,.table-wrapper{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.table-wrapper table{border-collapse:collapse;text-align:right;width:100%}.table-wrapper th,.table-wrapper td{border-bottom:1px solid var(--line-soft);white-space:nowrap;padding:10px 12px;font-size:11px}.table-wrapper th{color:var(--muted);background:var(--surface-2);font-weight:650}.stats-strip span,.stats-strip strong,.stats-strip small,.rank-row strong,.rank-row small,.compact-table>div span strong,.compact-table>div span small,.quick-actions strong,.quick-actions small,.panel header h2,.panel header p{overflow-wrap:anywhere;word-break:break-word}.audit-details{overflow-wrap:anywhere;min-width:220px;max-width:420px;white-space:normal!important}.audit-row--danger td:first-child{box-shadow:inset -3px 0 var(--danger,var(--danger))}.audit-row--warn td:first-child{box-shadow:inset -3px 0 var(--copper)}.badge{background:var(--line-soft);color:var(--ink);white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:10px;display:inline-block}.badge--danger{background:var(--danger-bg);color:var(--danger)}.badge--warn{background:var(--copper-100);color:var(--warning)}.badge--ok{background:var(--success-bg);color:var(--success)}.empty{text-align:center;color:var(--muted);padding:22px}@media (width<=980px){html,body{overflow-x:hidden}.page{overflow-x:clip}}@media (width<=420px){.stats-strip{grid-template-columns:1fr}.stats-strip article{border-left:0;border-bottom:1px solid var(--line)}.compact-table__head,.compact-table>div{grid-template-columns:1fr 46px 46px;padding:9px 12px}.rank-row{grid-template-columns:26px 1fr auto;padding:10px 12px}}.muted-text{color:var(--muted);font-size:10px}.pos-screen{direction:rtl;flex-direction:column;gap:14px;max-width:780px;margin:0 auto;padding:12px 14px 28px;display:flex}.pos-scanbar{z-index:30;background:var(--bg,var(--line-soft));border-bottom:1px solid var(--line);padding:8px 0 10px;position:sticky;top:0}.scan-input--hero{position:relative}.pos-topbar{background:var(--surface);border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.pos-topbar__who{align-items:center;gap:9px;min-width:0;display:flex}.pos-topbar__who i{background:var(--green-50);width:34px;height:34px;color:var(--accent-strong);border-radius:50%;flex:none;place-items:center;font-style:normal;font-weight:800;display:grid}.pos-topbar__who strong{overflow-wrap:anywhere;font-size:13px;display:block}.pos-topbar__who small{color:var(--muted);font-size:10px;display:block}.pos-logout{border:1px solid var(--danger-border);background:var(--danger-bg);min-height:42px;color:var(--danger);border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:12px;font-weight:700;display:flex}.pos-logout svg{width:17px;height:17px}.logout-confirm{gap:14px;display:grid}.logout-confirm p{margin:0;font-size:13px;line-height:1.7}.logout-confirm .logout-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.logout-confirm .logout-actions button{min-height:48px}.scan-input--hero{background:var(--surface);border:2px solid var(--accent);border-radius:12px;align-items:center;gap:10px;height:62px;padding:0 14px;display:flex;box-shadow:0 2px 10px #123f2c14}.scan-input--hero input{min-width:0;height:100%;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:17px;font-weight:650}.scan-input--hero input::placeholder{color:var(--muted);font-size:15px;font-weight:500}.scan-input--hero>svg{width:22px;height:22px;color:var(--accent);flex:none}.scan-clear{background:var(--line-soft);width:28px;height:28px;color:var(--muted);border:0;border-radius:50%;flex:none;place-items:center;display:grid}.scan-results{inset-inline:0;z-index:40;background:var(--surface);border:1px solid var(--line);border-radius:12px;max-height:46vh;position:absolute;top:calc(100% - 2px);overflow-y:auto;box-shadow:0 12px 32px #09261a2e}.scan-results button{border:0;border-bottom:1px solid var(--line-soft);text-align:right;background:0 0;grid-template-columns:minmax(0,1fr) auto 34px;align-items:center;gap:10px;width:100%;min-height:58px;padding:12px 14px;display:grid}.scan-results button:last-child{border-bottom:0}.scan-results__name{min-width:0}.scan-results__name strong{overflow-wrap:anywhere;font-size:13px;display:block}.scan-results__name small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.scan-results b{white-space:nowrap;font-size:13px}.scan-results em{background:var(--green-700);color:#fff;border-radius:8px;place-items:center;width:30px;height:30px;font-style:normal;display:grid}.scan-results em svg{width:17px;height:17px}.scan-results__empty{text-align:center;color:var(--muted);padding:18px;font-size:12px}.scan-hint-line{color:var(--muted);align-items:center;gap:7px;margin:8px 2px 0;font-size:11px;display:flex}.scan-hint-line svg{width:15px;height:15px;color:var(--copper)}.pos-invoice{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}.pos-invoice>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.pos-invoice>header>div{align-items:center;gap:10px;display:flex}.pos-invoice>header h2{margin:0;font-size:15px}.pos-invoice>header small{color:var(--muted);font-size:11px}.invoice-lines{max-height:46vh;overflow-y:auto}.invoice-line{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto auto 32px;align-items:center;gap:10px;padding:12px 14px;display:grid}.invoice-line__info{min-width:0}.invoice-line__info strong{overflow-wrap:anywhere;font-size:13px;display:block}.invoice-line__info small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.invoice-line__qty{align-items:center;gap:4px;display:flex}.invoice-line__qty button{border:1px solid var(--line);background:var(--surface);width:34px;height:34px;color:var(--accent-strong);border-radius:9px;place-items:center;display:grid}.invoice-line__qty button svg{width:16px;height:16px}.invoice-line__qty input{text-align:center;border:1px solid var(--line);border-radius:9px;width:48px;height:34px;font-size:14px;font-weight:700}.invoice-line__qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.invoice-line__qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.invoice-line__total{white-space:nowrap;font-size:13px}.invoice-line__remove{background:var(--danger-bg);width:30px;height:30px;color:var(--danger);border:0;border-radius:8px;place-items:center;display:grid}.invoice-empty{text-align:center;color:var(--muted);padding:34px 18px}.invoice-empty svg{width:34px;height:34px;color:var(--line-soft)}.invoice-empty strong{color:var(--ink);margin:10px 0 4px;font-size:14px;display:block}.invoice-empty p{margin:0;font-size:12px}.invoice-options{border-bottom:1px solid var(--line);background:var(--surface-2);grid-template-columns:1fr 1fr;gap:10px;padding:12px 14px;display:grid}.invoice-options label{color:var(--muted);gap:6px;min-width:0;font-size:11px;display:grid}.invoice-options label svg{width:15px;height:15px}.invoice-options select,.invoice-options input{border:1px solid var(--line);background:var(--surface);border-radius:9px;width:100%;min-width:0;height:44px;padding:0 10px;font-size:13px}.invoice-totals{border-bottom:1px solid var(--line);margin:0;padding:12px 16px}.invoice-totals>div{justify-content:space-between;padding:5px 0;font-size:12px;display:flex}.invoice-totals dt,.invoice-totals dd{margin:0}.invoice-totals .grand-total{color:var(--accent-strong);border-top:1px dashed var(--line);margin-top:6px;padding-top:10px;font-size:17px;font-weight:800}.invoice-pay{gap:10px;padding:14px 16px;display:grid}.pay-methods{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.pay-methods button{border:1px solid var(--line);background:var(--surface);min-height:58px;color:var(--ink);border-radius:11px;place-items:center;gap:4px;font-size:11px;font-weight:650;display:grid}.pay-methods button svg{width:20px;height:20px;color:var(--accent)}.pay-methods button.active{border-color:var(--accent);background:var(--green-50);box-shadow:inset 0 0 0 1px var(--accent)}.button--checkout{min-height:60px;font-size:16px}@media (width<=620px){.pos-screen{padding:10px 10px 0}.invoice-options{grid-template-columns:1fr}.invoice-line{grid-template-columns:minmax(0,1fr) auto 30px;row-gap:8px}.invoice-line__qty{grid-column:1}.invoice-line__total{grid-column:2}.scan-input--hero{height:58px}.scan-results{max-height:44vh}.invoice-lines{max-height:none}.pos-invoice{border-radius:14px 14px 0 0}.invoice-totals{z-index:15;background:var(--surface);border-top:1px solid var(--line);position:sticky;bottom:0}.invoice-pay{z-index:16;background:var(--surface);border-top:1px solid var(--line);padding-bottom:max(14px, env(safe-area-inset-bottom));position:sticky;bottom:0}.pay-methods button{min-height:54px}.button--checkout{min-height:58px}}.hold-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.hold-btn{justify-content:center;align-items:center;gap:6px;min-height:50px;font-size:12px;display:flex;position:relative}.hold-btn svg{width:17px;height:17px}.hold-count{inset-inline-start:8px;background:var(--copper);min-width:22px;height:22px;color:var(--on-copper);border-radius:999px;place-items:center;padding:0 6px;font-size:11px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.hold-modal{gap:12px;display:grid}.hold-modal p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.hold-modal label{gap:6px;font-size:12px;font-weight:650;display:grid}.hold-modal input{border:1px solid var(--line);border-radius:10px;height:48px;padding:0 12px;font-size:14px}.hold-modal small{color:var(--muted);font-size:11px}.held-list{gap:10px;max-height:60vh;display:grid;overflow-y:auto}.held-item{border:1px solid var(--line);border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;padding:12px;display:grid}.held-item__info{min-width:0}.held-item__info strong{overflow-wrap:anywhere;font-size:13px;display:block}.held-item__info small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.held-item>b{white-space:nowrap;font-size:14px}.held-item__actions{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;display:grid}.held-item__actions button{justify-content:center;align-items:center;gap:6px;min-height:44px;font-size:12px;display:flex}.held-item__actions svg{width:16px;height:16px}.held-cancel{color:var(--danger)!important;border-color:var(--danger-border)!important}.logout-actions--three{grid-template-columns:1fr}.logout-actions--three button{justify-content:center;align-items:center;gap:7px;display:flex}.held-admin .rank-row{grid-template-columns:1fr auto}.sale-details{gap:14px;display:grid}.sale-details__meta{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.sale-details__meta span{background:var(--surface-2);border:1px solid var(--line);border-radius:10px;gap:3px;min-width:0;padding:9px 11px;display:grid}.sale-details__meta small{color:var(--muted);font-size:10px}.sale-details__meta strong{overflow-wrap:anywhere;font-size:12px}.sale-details .invoice-totals{border:1px solid var(--line);border-radius:11px}@media print{.workspace:has(#thermal-receipt)>.page>:not(.pos-screen):not(.pos-layout){display:none!important}.pos-screen:has(#thermal-receipt){display:block!important}.pos-screen:has(#thermal-receipt)>:not(#thermal-receipt){display:none!important}#thermal-receipt,.thermal-receipt{display:block!important}.pos-topbar,.pos-scanbar,.pos-invoice,.scan-results{display:none!important}#thermal-receipt{z-index:9999;background:#fff;width:72mm;margin:0 auto;position:absolute;inset-block-start:0;inset-inline-start:0}}.update-banner{inset-inline:12px;z-index:200;background:var(--green-900,#3a1710);color:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;font-size:13px;display:flex;position:fixed;bottom:12px;box-shadow:0 10px 30px #09261a4d}.update-banner button{color:var(--green-900,#3a1710);background:#fefefe;border:0;border-radius:9px;padding:9px 16px;font-size:13px;font-weight:800}@media print{.update-banner{display:none!important}.app-shell,.workspace,.page{display:block!important}.page>.pos-screen.has-receipt{padding:0!important;display:block!important}.page>.pos-screen.has-receipt>:not(#thermal-receipt){display:none!important}.pos-screen.has-receipt #thermal-receipt,.pos-screen.has-receipt .thermal-receipt{width:72mm;margin:0 auto;position:static;display:block!important}.sidebar,.topbar,.modal-backdrop,.toast,.update-banner{display:none!important}}.last-sale{border-bottom:1px solid var(--line);background:var(--surface-2)}.last-sale>header{border-bottom:1px solid var(--line-soft);align-items:center;gap:10px;padding:12px 14px;display:flex}.last-sale>header>svg{width:22px;height:22px;color:var(--success,var(--success));flex:none}.last-sale>header>div{flex:1;min-width:0}.last-sale>header strong{overflow-wrap:anywhere;font-size:13px;display:block}.last-sale>header small{color:var(--muted);font-size:10px;display:block}.last-sale__items>div{border-bottom:1px dashed var(--line-soft);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 14px;font-size:12px;display:grid}.last-sale__items span{overflow-wrap:anywhere}.last-sale__items b{color:var(--muted);white-space:nowrap;font-size:11px}.last-sale__items em{white-space:nowrap;font-style:normal;font-weight:700}.last-sale__totals{margin:0;padding:10px 14px}.last-sale__totals>div{justify-content:space-between;padding:3px 0;font-size:12px;display:flex}.last-sale__totals .grand-total{color:var(--accent-strong);border-top:1px dashed var(--accent-border);margin-top:5px;padding-top:7px;font-size:15px;font-weight:800}.last-sale>.button{width:calc(100% - 28px);min-height:46px;margin:0 14px 14px}@media print{.last-sale{display:none!important}}body>#thermal-receipt{display:none}@media print{body>.app-shell{display:none!important}body>#thermal-receipt{color:#000;direction:rtl;width:72mm;margin:0 auto;font:10pt Tahoma,sans-serif;display:block!important}}.page-header--with-back{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;display:grid}.back-button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--accent-strong);border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.back-button svg{width:18px;height:18px}.back-button:hover{background:var(--green-50)}@media (width<=620px){.page-header--with-back{grid-template-columns:auto 1fr}.page-header--with-back .page-header__actions{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.back-button{min-height:46px;padding:0 16px}}.leave-confirm-backdrop{z-index:300;background:#09261a73;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.leave-confirm{background:var(--surface);text-align:center;border-radius:14px;gap:12px;width:100%;max-width:380px;padding:20px;display:grid}.leave-confirm strong{font-size:15px}.leave-confirm p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.leave-confirm__actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.leave-confirm__actions button{min-height:46px}@media print{.leave-confirm-backdrop{display:none!important}}.credit-text{color:var(--info)}.balance{gap:2px;display:grid}.balance strong{font-size:13px}.balance small{font-size:9px}.balance--debit strong,.balance--debit small{color:var(--danger)}.balance--credit strong,.balance--credit small{color:var(--info)}.balance--zero strong,.balance--zero small{color:var(--muted)}.filter-row{flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;display:flex}.filter-row__hint{color:var(--muted);font-size:11px}.chip{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);border-radius:999px;padding:0 16px;font-size:12px;font-weight:650}.chip--active{background:var(--green-900);color:#fff;border-color:var(--accent-strong)}.row-actions--wide{align-items:center;gap:6px;display:flex}.pay-chip{border:1px solid var(--accent-border);background:var(--green-50);min-height:38px;color:var(--accent-strong);white-space:nowrap;border-radius:9px;align-items:center;gap:5px;padding:0 12px;font-size:11px;font-weight:700;display:inline-flex}.pay-chip svg{width:15px;height:15px}.pay-preview{background:var(--surface-2);border:1px dashed var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;font-size:12px;display:flex}.detail-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 14px;display:grid}.detail-stats article{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;gap:10px;min-width:0;padding:12px 14px;display:flex}.detail-stats article>svg{width:20px;height:20px;color:var(--accent);flex:none}.detail-stats small{color:var(--muted);font-size:10px;display:block}.detail-stats strong{overflow-wrap:anywhere;font-size:15px;display:block}.detail-meta{color:var(--muted);flex-wrap:wrap;gap:14px;font-size:11px;display:flex}.toggle-field{background:var(--surface-2);border:1px solid var(--line);border-radius:11px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.toggle-field input{flex:none;width:20px;height:20px;margin-top:2px}.toggle-field strong{font-size:13px;display:block}.toggle-field small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.6;display:block}@media (width<=620px){.detail-stats{grid-template-columns:1fr 1fr}.row-actions--wide{flex-direction:column;align-items:stretch}.pay-chip{justify-content:center}}@media (width<=980px){.topbar{z-index:40;background:var(--surface);border-bottom:1px solid var(--line);gap:8px;position:sticky;top:0}.mobile-menu{border:1px solid var(--accent);background:var(--green-50);min-height:44px;color:var(--accent-strong);border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:800;display:inline-flex!important}.mobile-menu svg{width:20px;height:20px}.global-search,.topbar__tools .sync-state span:last-child,.topbar__tools .profile>span:not(.avatar),.topbar__tools .profile svg{display:none}.topbar__title{min-width:0;font-size:13px;overflow:hidden}.topbar__title span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar--open:before{content:"";z-index:-1;pointer-events:none;background:#09261a73;position:fixed;inset:0}.sidebar nav button{min-height:52px;font-size:14px}}@media print{.topbar,.mobile-menu{display:none!important}}.split-rows{flex-direction:column;gap:.5rem;margin:.75rem 0;display:flex}.split-row{border:1px solid var(--line,var(--line));background:var(--surface);border-radius:.75rem;grid-template-columns:minmax(0,1fr) 6.5rem auto;align-items:center;gap:.5rem;padding:.55rem .7rem;display:grid}.split-row__label{align-items:center;gap:.45rem;min-width:0;font-weight:600;display:flex}.split-row__label svg{flex:none;width:1.05rem;height:1.05rem}.split-row__label em{opacity:.7;font-size:.72rem;font-style:normal;font-weight:500}.split-row input{text-align:center;border:1px solid var(--line,var(--line));direction:ltr;border-radius:.5rem;width:100%;min-width:0;padding:.45rem;font-weight:700}.split-row--off{opacity:.45}.split-row--off input,.split-row--off .split-rest{cursor:not-allowed}.split-rest{border:1px solid var(--line,var(--line));background:var(--surface-2);white-space:nowrap;border-radius:.5rem;padding:.4rem .6rem;font-size:.8rem;font-weight:600}.split-rest:disabled{opacity:.4}.customer-required{border:2px solid var(--danger);background:var(--danger-bg);border-radius:.75rem;gap:.5rem;margin:.75rem 0;padding:.8rem .9rem;display:grid}.customer-required strong{color:var(--danger);align-items:center;gap:.45rem;font-size:1rem;display:flex}.customer-required strong svg{flex:none;width:1.15rem;height:1.15rem}.customer-required p{color:var(--danger);margin:0;font-size:.82rem;line-height:1.7}.customer-required select{background:var(--surface);border:2px solid var(--danger);border-radius:.5rem;width:100%;min-width:0;padding:.6rem;font-weight:700}.customer-chosen{border:1px solid var(--accent-border);background:var(--surface-2);border-radius:.75rem;align-items:center;gap:.45rem;margin:.75rem 0;padding:.55rem .7rem;font-size:.85rem;display:flex}.customer-chosen svg{width:1.05rem;height:1.05rem;color:var(--green-800,#6b2318);flex:none}.customer-chosen strong{font-size:.95rem}.customer-chosen button{color:var(--danger);background:0 0;border:0;margin-inline-start:auto;font-size:.78rem;font-weight:700;text-decoration:underline}.credit-only{border:1px solid var(--line,var(--line));background:var(--surface-2);border-radius:.75rem;gap:.4rem;margin:.75rem 0;padding:.8rem .9rem;display:grid}.credit-only__row{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.credit-only__row span{align-items:center;gap:.45rem;font-weight:700;display:flex}.credit-only__row span svg{flex:none;width:1.15rem;height:1.15rem}.credit-only__row strong{font-size:1.25rem;font-weight:800}.credit-only small{opacity:.75;font-size:.78rem;line-height:1.7}.split-toggle{color:var(--green-800,#6b2318);background:0 0;border:0;margin:.2rem auto .6rem;font-size:.8rem;font-weight:700;text-decoration:underline;display:block}.split-remaining{background:var(--danger-bg);color:var(--danger);border-radius:.75rem;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.6rem;padding:.7rem .9rem;font-weight:700;display:flex}.split-remaining strong{direction:ltr;font-size:1.15rem}.split-remaining--ok{background:var(--success-bg);color:var(--success)}.split-remaining svg{width:1.15rem;height:1.15rem}.split-cash{flex-direction:column;gap:.35rem;margin-bottom:.6rem;font-weight:600;display:flex}.split-cash input{border:1px solid var(--line,var(--line));text-align:center;direction:ltr;border-radius:.5rem;padding:.55rem;font-weight:700}.split-change{color:var(--success);font-size:.95rem}.receipt-split{border-top:1px dashed #000;margin-top:.35rem;padding-top:.3rem}.receipt-split__head dt,.receipt-credit dt,.receipt-credit dd,.receipt-change dt,.receipt-change dd{font-weight:700}.invoice-payments{flex-wrap:wrap;gap:.4rem;margin:.6rem 0;display:flex}.invoice-payments span{background:var(--surface-2);border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .6rem;font-size:.85rem;font-weight:600;display:inline-flex}.invoice-payments b{direction:ltr}@media (width<=420px){.split-row{grid-template-columns:minmax(0,1fr) 5rem auto;gap:.35rem;padding:.5rem}.split-row__label{font-size:.85rem}.split-rest{padding:.35rem .45rem;font-size:.75rem}}.pay-chip--return{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-border)}.pay-chip--return svg{width:.95rem;height:.95rem}.return-modal{flex-direction:column;gap:.85rem;display:flex}.return-hint{background:var(--surface-2);border-radius:.6rem;margin:0;padding:.6rem .75rem;font-size:.88rem;line-height:1.7}.return-modal .row-muted{opacity:.5}.return-modal .muted{opacity:.7;font-size:.8rem}.qty-mini{align-items:center;gap:.25rem;display:inline-flex}.qty-mini button{border:1px solid var(--line,var(--line));background:var(--surface);border-radius:.45rem;width:1.85rem;height:1.85rem;font-size:1rem;font-weight:700;line-height:1}.qty-mini input{text-align:center;border:1px solid var(--line,var(--line));direction:ltr;border-radius:.45rem;width:3.2rem;padding:.35rem;font-weight:700}.return-actions-row{flex-wrap:wrap;gap:.5rem;display:flex}.return-summary{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.return-summary div{background:var(--surface-2);border-radius:.65rem;flex-direction:column;gap:.15rem;padding:.6rem .75rem;display:flex}.return-summary span{opacity:.75;font-size:.8rem}.return-summary strong{font-size:1.05rem}.return-refund{background:var(--success-bg);border-radius:.7rem;padding:.7rem .8rem}.return-refund h4{margin:0 0 .5rem;font-size:.92rem}.return-refund ul{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.return-refund li{grid-template-columns:auto auto 1fr;align-items:baseline;gap:.5rem;font-size:.9rem;display:grid}.return-refund b{direction:ltr;font-weight:700}.return-refund em{opacity:.75;text-align:left;font-size:.78rem;font-style:normal}.return-reason{flex-direction:column;gap:.35rem;font-weight:600;display:flex}.return-reason textarea{border:1px solid var(--line,var(--line));resize:vertical;border-radius:.55rem;padding:.55rem;font-family:inherit;font-size:.95rem}@media (width<=480px){.return-summary{grid-template-columns:1fr}.return-refund li{grid-template-columns:1fr auto;row-gap:.1rem}.return-refund em{text-align:right;grid-column:1/-1}.return-modal table{font-size:.82rem}.return-modal th,.return-modal td{padding:.4rem .25rem}.return-modal th:nth-child(2),.return-modal td:nth-child(2),.return-modal th:nth-child(3),.return-modal td:nth-child(3){display:none}.qty-mini input{width:2.4rem}.qty-mini button{width:1.7rem;height:1.7rem}}.profit-notice{border-color:var(--accent-border);background:var(--surface);margin-bottom:16px}.profit-notice>header{border-bottom:1px solid var(--accent-border);align-items:center;gap:9px;padding:13px 16px;display:flex}.profit-notice>header svg{width:19px;height:19px;color:var(--warning)}.profit-notice h2{margin:0;font-size:13px}.profit-notice ul{color:var(--muted);margin:0;padding:12px 34px 14px 16px;font-size:11px;line-height:2}.profit-notice b{color:var(--warning)}.profit-notice .link-button{font-size:11px}.negative-margin-products{flex-wrap:wrap;gap:6px;margin:4px 0 0;display:flex}.negative-margin-product a{color:var(--warning);cursor:pointer;font-weight:500;text-decoration:none}.negative-margin-revise{color:var(--muted);margin-right:8px;font-size:10px}.date-label{box-sizing:border-box;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1.5mm;width:45mm;max-width:45mm;height:65mm;max-height:65mm;padding:3mm 3.5mm;display:flex;overflow:hidden}.date-label>img{object-fit:cover;border-radius:50%;flex-shrink:0;width:8mm;min-width:8mm;height:8mm;min-height:8mm;margin:0 auto;display:block}.date-label>strong{white-space:nowrap;text-align:center;flex-shrink:0;margin:0;font-size:6.5pt;line-height:1.2}.date-label h3{text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;text-align:center;border-bottom:1px solid #000;flex-shrink:0;width:100%;max-width:100%;margin:0;padding-bottom:1.2mm;font-size:8pt;line-height:1.25;overflow:hidden}.date-label__rows{box-sizing:border-box;gap:0;width:100%;max-width:100%;margin-top:0;display:grid}.date-label__rows>div{box-sizing:border-box;border-top:1px dashed #999;justify-content:space-between;align-items:center;gap:2mm;min-width:0;padding:1.5mm 0 0;display:flex}.date-label__rows>div:first-child{border-top:1px dashed #999}.date-label__rows span{color:#333;flex-shrink:0;font-size:6.5pt;font-weight:700}.date-label__rows b{color:#000;white-space:nowrap;direction:ltr;flex-shrink:0;font-size:7.5pt}@media print{.date-label.date-label *{color:#000!important;background:0 0!important}.date-label h3{border-bottom:1px solid #000;margin-bottom:0;padding-bottom:1mm}.date-label__rows>div{page-break-inside:avoid}.date-label{page-break-inside:avoid;page-break-after:avoid;break-inside:avoid}@page label-45x65{size:45mm 65mm;margin:1mm}@page label-65x45{size:65mm 45mm;margin:1mm}.print-label.date-label{page:label-45x65}.print-label.date-label[data-orient=horizontal]{page:label-65x45}}.report-kpis{grid-template-columns:repeat(3,1fr)}.report-kpis em{color:var(--muted);margin-top:2px;font-size:10px;font-style:normal;display:block}.report-note{color:var(--muted);margin:-6px 0 16px;font-size:11px;line-height:1.9}@media print{:is(html,body,body:has(#thermal-receipt)){width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important}#thermal-receipt,.thermal-receipt{box-sizing:border-box;max-width:min(72mm,100%);padding-inline:.5mm;font-size:9pt;overflow:visible;width:auto!important;margin:0 auto!important;position:static!important;inset:auto!important}.thermal-receipt dl div{align-items:baseline;gap:1.5mm}.thermal-receipt dt{overflow-wrap:anywhere;min-width:0}.thermal-receipt dd{white-space:nowrap;flex:none}.thermal-receipt table{table-layout:fixed;width:100%}.thermal-receipt th,.thermal-receipt td{padding:1mm .6mm}.thermal-receipt th:first-child,.thermal-receipt td:first-child{overflow-wrap:anywhere;width:46%}.thermal-receipt th:nth-child(2),.thermal-receipt td:nth-child(2){text-align:center;width:12%}.thermal-receipt th:nth-child(3),.thermal-receipt td:nth-child(3){white-space:nowrap;width:42%}.thermal-receipt h1{overflow-wrap:anywhere;font-size:13pt;line-height:1.4}.receipt-total{font-size:11pt}.thermal-receipt>small,.receipt-meta span,.receipt-thanks{overflow-wrap:anywhere}}.scan-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.scan-actions .scan-hint-line{margin:0}.open-amount-button{border:1px solid var(--accent-border);background:var(--green-50);min-height:52px;color:var(--accent-strong);text-align:right;border-radius:10px;align-items:center;gap:10px;padding:8px 16px;display:inline-flex}.open-amount-button:hover{background:var(--success-bg);border-color:var(--accent)}.open-amount-button svg{width:22px;height:22px}.open-amount-button strong,.open-amount-button small{display:block}.open-amount-button strong{font-size:14px}.open-amount-button small{color:var(--muted);margin-top:2px;font-size:10px}.open-amount-modal{gap:14px;display:grid}.open-amount-modal>p{color:var(--muted);margin:0;font-size:12px;line-height:1.8}.open-amount-modal label{gap:6px;font-size:12px;font-weight:700;display:grid}.open-amount-modal input,.open-amount-modal select{border:1px solid var(--input-border);border-radius:8px;min-height:52px;padding:0 12px;font-size:20px;font-weight:800}.open-amount-modal select{font-size:14px;font-weight:600}.open-amount-name{background:var(--green-50);border-radius:8px;padding:11px 13px}.open-amount-chips{flex-wrap:wrap;gap:8px;display:flex}.open-amount-chips button{border:1px solid var(--line);background:var(--surface);border-radius:999px;min-height:40px;padding:0 14px;font-size:13px;font-weight:800}.open-amount-chips button:hover{border-color:var(--accent);background:var(--green-50)}.open-amount-limit{color:var(--muted);margin:0;font-size:11px}.label-sizes{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.label-sizes button{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:9px;flex:1;min-width:92px;min-height:52px;padding:7px 10px}.label-sizes button.active{border-color:var(--accent);background:var(--green-50);color:var(--accent-strong)}.label-sizes strong,.label-sizes small{display:block}.label-sizes strong{font-size:14px}.label-sizes small{color:var(--muted);margin-top:2px;font-size:9px}.label-warn{text-align:center;background:var(--warning-bg);color:var(--warning);border-radius:7px;margin:12px 0 0;padding:9px 11px;font-size:11px;line-height:1.8}.label-hint{color:var(--muted);text-align:center;margin:12px 0 0;font-size:10px;line-height:1.8}.barcode-preview{box-sizing:border-box;width:auto;max-width:100%}.barcode-preview>h3{overflow-wrap:anywhere}.barcode{max-width:100%;height:auto;margin:6px auto 2px;display:block}@media print{.modal-backdrop:has(.print-label) .modal{width:auto!important;max-width:100%!important}.print-label{box-sizing:border-box;border:0!important;max-width:100%!important;margin:0 auto!important;padding:0!important}.print-label .barcode{height:auto;width:100%!important}.label-sizes,.label-hint,.label-warn,:is(.modal-backdrop:has(.date-label) .form-grid,.modal-backdrop:has(.date-label) .credit-warning){display:none!important}.modal-backdrop:has(.date-label[data-orient=vertical]) .modal{width:45mm!important;max-width:45mm!important;height:65mm!important}.modal-backdrop:has(.date-label[data-orient=horizontal]) .modal{width:65mm!important;max-width:65mm!important;height:45mm!important}.modal-backdrop:has(.date-label):not(:has([data-orient])) .modal{width:45mm!important;max-width:45mm!important;height:65mm!important}.print-label.date-label[data-orient=vertical]{width:45mm!important;max-width:45mm!important;height:65mm!important;min-height:65mm!important;margin:0 auto!important}.print-label.date-label[data-orient=horizontal]{width:65mm!important;max-width:65mm!important;height:45mm!important;min-height:45mm!important;margin:0 auto!important}.print-label.date-label:not([data-orient]){width:45mm!important;max-width:45mm!important;height:65mm!important;min-height:65mm!important;margin:0 auto!important}}.open-amount-button--return{border-color:var(--accent-border);background:var(--warning-bg);color:var(--warning)}.open-amount-button--return:hover{background:var(--warning-bg);border-color:var(--warning)}.return-pos{gap:14px;display:grid}.return-scan{gap:7px;font-size:12px;font-weight:700;display:grid}.return-scan .scan-input{border:1px solid var(--input-border);background:var(--surface);border-radius:9px;align-items:center;gap:9px;min-height:54px;padding:0 12px;display:flex}.return-scan .scan-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--green-100)}.return-scan input{border:0;outline:0;flex:1;min-width:0;font-size:17px;font-weight:700}.return-invoice-head{background:var(--soft);border-radius:9px;grid-template-columns:repeat(5,1fr);gap:10px;padding:12px 14px;display:grid}.return-invoice-head span{display:block}.return-invoice-head small{color:var(--muted);margin-bottom:3px;font-size:9px;display:block}.return-invoice-head strong{font-size:12px}.last-sale--return header>svg{color:var(--warning)}.receipt-barcode{text-align:center;margin:3mm 0 1mm}.receipt-barcode small{margin-top:1mm;font-size:7pt;display:block}.receipt-qr{text-align:center;margin:3mm 0 1mm}.receipt-qr small{margin-top:1mm;font-size:7pt;display:block}.receipt-qr .qr-code{background:#fff;display:inline-block}.receipt-qr img{background:#fff;width:38mm;max-width:100%;height:38mm;display:inline-block}@media (width<=900px){.return-invoice-head{grid-template-columns:repeat(2,1fr)}}@media print{.receipt-barcode .barcode,.receipt-qr .qr-code{max-width:100%}}.legacy-note{background:var(--green-50);border:1px solid var(--accent-border);border-radius:10px;align-items:flex-start;gap:12px;margin-bottom:16px;padding:14px 16px;display:flex}.legacy-note>svg{width:22px;height:22px;color:var(--accent);flex:none;margin-top:2px}.legacy-note p{color:var(--muted);margin:0;font-size:12px;line-height:1.9}.legacy-note--warn{background:var(--warning-bg);border-color:var(--accent-border)}.legacy-note--warn>svg,.legacy-note--warn p{color:var(--warning)}.legacy-preview{gap:14px;display:grid}.legacy-preview article{border:1px solid var(--line);border-radius:10px;padding:13px 15px}.legacy-preview article.bad{border-color:var(--danger-border);background:var(--danger-bg)}.legacy-preview article.skipped{opacity:.62}.legacy-preview header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.legacy-preview header label{align-items:center;gap:9px;display:flex}.legacy-preview header strong{font-size:12px}.legacy-preview table{border-collapse:collapse;width:100%;font-size:11px}.legacy-preview th,.legacy-preview td{border-bottom:1px solid var(--line-soft);text-align:right;padding:6px 8px}.legacy-overlap{background:var(--warning-bg);color:var(--warning);border-radius:7px;align-items:center;gap:8px;margin:0 0 10px;padding:9px 11px;font-size:11px;display:flex}.legacy-overlap--ok{background:var(--green-50);color:var(--success)}.legacy-overlap--ok svg{color:var(--accent)}.legacy-overlap svg{flex:none;width:16px}.legacy-net{text-align:left;margin:10px 0 0;font-size:12px}.legacy-net--grand{border-top:1px solid var(--line);padding-top:12px;font-size:14px}.report-legacy{margin-top:16px}.stats-strip article>div{min-width:0}.stats-strip strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:clamp(17px,1.45vw,22px)}.stats-strip svg{border-radius:11px;width:34px;height:34px;padding:8px}.stats-strip small{line-height:1.6}@media (width>=981px){.recent-sales{grid-row:2/4}.recent-sales .table-scroll{height:100%}}@media print{:root,body{background:#fefefe!important}}.pos-topbar{gap:8px}.scan-input--hero{z-index:41}.scan-results{top:calc(100% + 2px)}.brand__mark{background:#fefefe;border-color:#fefefe;width:52px;height:52px}.login-panel .brand__mark{box-shadow:0 0 0 1px var(--line-soft), 0 4px 14px #00000014;border-color:#fefefe}.install-app-button--done{background:var(--green-100);border-color:var(--accent-border)}.install-help__title{color:var(--accent-strong);align-items:center;gap:8px;margin:6px 0 0;font-size:14px;display:flex}.install-help__title svg{width:18px;height:18px;color:var(--accent)}.install-done{background:var(--green-50);border:1px solid var(--accent-border);border-radius:9px;align-items:flex-start;gap:9px;padding:12px 13px;line-height:1.8;display:flex;color:var(--accent-strong)!important;margin:0!important}.install-done svg{width:19px;height:19px;color:var(--success);flex:none;margin-top:2px}.install-help small b{color:var(--ink);font-weight:750}.report-legacy>header{align-items:flex-start;gap:12px}.legacy-badge{background:var(--green-50);border:1px solid var(--accent-border);color:var(--accent-strong);white-space:nowrap;border-radius:999px;padding:4px 11px;font-size:11px;font-weight:750}.legacy-scope{color:var(--muted);background:var(--surface-hover);border-bottom:1px solid var(--line-soft);margin:0;padding:11px 18px;font-size:11.5px;line-height:1.8}.report-legacy table{border-collapse:collapse;text-align:right;width:100%}.report-legacy th,.report-legacy td{border-bottom:1px solid var(--line-soft);white-space:nowrap;padding:9px 18px;font-size:11.5px}.report-legacy thead th{background:var(--surface-2);color:var(--muted);font-weight:650}.legacy-group__head th,.legacy-group__head td{background:var(--green-50);color:var(--accent-strong);border-top:1px solid var(--accent-border);font-weight:800}.legacy-group tr:not(.legacy-group__head) td:first-child{padding-inline-start:30px}.report-legacy tfoot td{background:var(--line-soft);border-top:1px solid var(--line);font-weight:750}.legacy-outside td{color:var(--muted);background:var(--surface);font-weight:600}.legacy-grand td{background:var(--green-100);color:var(--accent-strong);font-size:12.5px}.report-defs{color:var(--muted);margin:0 0 12px;font-size:11px;line-height:1.8}.data-table--expandable tbody tr.row-clickable,.data-table--expandable tbody tr.row-open{cursor:pointer}.data-table--expandable tbody tr.row-clickable:hover{background:var(--surface-hover)}.data-table--expandable tbody tr.row-open>td{background:var(--green-50);border-bottom-color:#0000}.row-chevron svg{transition:transform .2s}.row-chevron--open svg{transform:rotate(180deg)}.editor-row>td{background:var(--green-50);border-bottom:2px solid var(--accent-border)!important;padding:0!important}.inline-editor{background:linear-gradient(180deg, var(--surface-hover), var(--surface));border-top:1px solid var(--accent-border);gap:14px;padding:16px 18px 18px;animation:.18s editor-in;display:grid}@keyframes editor-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.inline-editor__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.inline-editor__grid .field--wide{grid-column:1/-1}.inline-editor__grid input{border:1px solid var(--line);background:var(--surface);border-radius:9px;width:100%;min-width:0;height:42px;padding:0 11px;font-size:13px}.inline-editor__grid input:disabled{background:var(--surface-2);color:var(--muted)}.inline-editor__flags{flex-wrap:wrap;gap:18px;display:flex}.inline-editor__flags label{align-items:center;gap:8px;font-size:12.5px;font-weight:600;display:flex}.inline-editor__flags input{width:17px;height:17px;accent-color:var(--accent)}.inline-editor__margin{background:var(--surface);border:1px solid var(--line-soft);border-radius:10px;flex-wrap:wrap;align-items:center;gap:14px;padding:10px 13px;font-size:12.5px;display:flex}.inline-editor__margin b{color:var(--accent-strong);font-size:14px}.inline-editor__margin--warn{border-color:var(--danger-border);background:var(--danger-bg)}.inline-editor__warn{color:var(--danger);font-weight:700}.inline-editor__actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.inline-editor__page{margin-inline-start:auto}.inline-editor__delete{color:var(--danger)}@media (width<=980px){.inline-editor__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.inline-editor__grid{grid-template-columns:1fr}.inline-editor__page{margin-inline-start:0}}@media print{.editor-row,.inline-editor{display:none!important}}.col-check{text-align:center;width:42px}.col-check input{width:17px;height:17px;accent-color:var(--accent);cursor:pointer}.bulk-bar{background:var(--green-50);border-block:1px solid var(--accent-border);flex-wrap:wrap;align-items:center;gap:10px;padding:11px 16px;display:flex}.bulk-bar__count{color:var(--accent-strong);margin-inline-end:auto;font-size:12.5px;font-weight:700}.bulk-bar__count b{font-size:15px}.bulk-bar__count em{color:var(--muted);font-size:11.5px;font-style:normal;font-weight:500}.bulk-bar__stop{background:var(--danger);box-shadow:0 5px 12px #bd3f342e}.bulk-bar__stop:hover{background:#8f2b22}.bulk-confirm{gap:13px;display:grid}.bulk-confirm__note{background:var(--warning-bg);border:1px solid var(--accent-border);color:var(--warning);border-radius:10px;align-items:flex-start;gap:10px;margin:0;padding:12px 13px;font-size:12.5px;line-height:1.85;display:flex}.bulk-confirm__note svg{width:19px;height:19px;color:var(--warning);flex:none;margin-top:2px}.bulk-confirm__list{gap:8px;max-height:40vh;margin:0;padding-inline-start:22px;display:grid;overflow:auto}.bulk-confirm__list li{border-bottom:1px solid var(--line-soft);padding-bottom:7px}.bulk-confirm__list strong{font-size:13px;display:block}.bulk-confirm__list small{color:var(--muted);margin-top:3px;font-size:11px;display:block}@media print{.bulk-bar,.col-check{display:none!important}}.row-stopped>td{opacity:.82}.row-stopped:hover>td{background:var(--surface-hover)}.pay-chip--restore{background:var(--green-100);border-color:var(--accent-border);color:var(--accent-strong);align-items:center;gap:6px;font-weight:750;display:inline-flex}.pay-chip--restore svg{width:15px;height:15px}.bulk-confirm__note--ok{background:var(--green-50);border-color:var(--accent-border);color:var(--accent-strong)}.bulk-confirm__note--ok svg{color:var(--accent)}.page-header__actions .hold-count{margin-inline-start:6px}.row-actions .pay-chip,.row-actions--wide .pay-chip{background:var(--green-50);border:1px solid var(--accent-border);width:auto;height:auto;min-height:34px;color:var(--accent-strong);white-space:nowrap;border-radius:9px;align-items:center;gap:6px;padding:0 12px;font-size:11.5px;font-weight:700;display:inline-flex}.row-actions .pay-chip:hover{background:var(--success-bg);border-color:var(--accent)}.row-actions .pay-chip svg{width:15px;height:15px}.row-actions .pay-chip--restore{background:var(--green-100);border-color:var(--accent-border)}.row-actions .pay-chip--restore:hover{background:var(--success-border)}@keyframes view-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.page>.page-header,.page>section,.page>div,.pos-screen{animation:.28s cubic-bezier(.22,.61,.36,1) both view-in}@media (prefers-reduced-motion:reduce){.page>.page-header,.page>section,.page>div,.pos-screen{animation:none}}@keyframes backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:none}}.modal-backdrop{animation:.16s backdrop-in}.modal{animation:.2s cubic-bezier(.22,.61,.36,1) modal-in}@keyframes toast-in{0%{opacity:0;transform:translateY(16px)scale(.97)}to{opacity:1;transform:none}}.toast{border-inline-start:3px solid var(--copper);animation:.22s cubic-bezier(.22,.61,.36,1) toast-in}.toast--error{background:var(--danger);border-inline-start-color:#ffffff8c}kbd{border:1px solid var(--line);background:var(--surface-2);color:var(--muted);white-space:nowrap;border-bottom-width:2px;border-radius:5px;padding:3px 6px;font-family:Segoe UI,Tahoma,sans-serif;font-size:10px;line-height:1}.shortcut-hints{color:var(--muted);flex-wrap:wrap;align-items:center;gap:14px;margin:8px 2px 0;font-size:11px;display:flex}.shortcut-hints b{align-items:center;gap:5px;font-weight:600;display:inline-flex}@media (width<=900px){.shortcut-hints{display:none}}.skeleton-line{background:linear-gradient(90deg, var(--line-soft) 25%, var(--surface-hover) 37%, var(--line-soft) 63%);background-size:400% 100%;border-radius:7px;height:13px;animation:1.4s infinite skeleton}.skeleton-line--title{width:42%;height:20px}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--line);background-clip:content-box;border:3px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:var(--muted);background-clip:content-box;border:3px solid #0000}.invoice-totals dd,.last-sale__totals dd,.payment-total strong,.stats-strip strong,.split-row input,.held-item>b,.scan-results b,.invoice-line__total,.return-summary strong{font-variant-numeric:tabular-nums}.theme-toggle svg{transition:transform .4s,color .18s}.theme-toggle:hover svg{color:var(--accent);transform:rotate(40deg)}[data-theme=dark] .panel,[data-theme=dark] .stats-strip article,[data-theme=dark] .pos-invoice,[data-theme=dark] .pos-topbar{box-shadow:var(--sh-1), inset 0 1px 0 #ffe8be1a}[data-theme=dark] .panel>header{border-bottom-color:var(--line)}[data-theme=dark] .data-table th,[data-theme=dark] .recent-sales th,[data-theme=dark] .report-products th,[data-theme=dark] .report-legacy thead th{background:var(--surface-2);color:var(--muted)}.login-panel{min-width:0}.login-copy h1,.login-copy p{overflow-wrap:break-word}@media (width<=720px){.login-page{grid-template-columns:minmax(0,1fr)}.login-copy h1{font-size:clamp(23px,6.6vw,33px);line-height:1.55}.login-copy p{font-size:14px}.login-panel>.brand strong{font-size:clamp(20px,5.5vw,29px)}}.login-panel form{grid-template-columns:minmax(0,1fr)}.login-panel form>*{min-width:0;max-width:100%}.login-panel label,.field{grid-template-columns:minmax(0,1fr)}.login-panel label>*,.field>*,.input-with-icon{min-width:0;max-width:100%}@media (width<=980px){.profile{border:0;min-width:0;padding:0}.topbar{gap:6px}.topbar__tools{gap:8px}}:root{--zebra:#2a1a1209}[data-theme=dark]{--zebra:#ffe8be12}.data-table td,.panel table td,.table-wrapper table td,.table-scroll table td,.modal table td,.legacy-preview table td{border-bottom:1px solid var(--line-soft);border-inline-end:1px solid var(--line-soft)}.data-table tbody tr:last-child td,.panel table tbody tr:last-child td,.table-wrapper table tbody tr:last-child td,.table-scroll table tbody tr:last-child td,.modal table tbody tr:last-child td,.legacy-preview table tbody tr:last-child td{border-bottom:0}.data-table td:last-child,.panel table td:last-child,.table-wrapper table td:last-child,.table-scroll table td:last-child,.modal table td:last-child,.legacy-preview table td:last-child{border-inline-end:0}.data-table thead th,.panel table thead th,.table-wrapper table thead th,.table-scroll table thead th,.modal table thead th,.legacy-preview table thead th{border-bottom:1px solid var(--line)}.recent-sales tbody tr:nth-child(2n),.report-products tbody tr:nth-child(2n),.data-table tbody tr:nth-child(2n):not(.editor-row),.panel table tbody tr:nth-child(2n),.table-wrapper table tbody tr:nth-child(2n),.table-scroll table tbody tr:nth-child(2n),.modal table tbody tr:nth-child(2n),.legacy-preview table tbody tr:nth-child(2n){background:var(--zebra)}.data-table td strong,.data-table td b,.panel table td strong,.panel table td b,.table-wrapper table td strong,.table-wrapper table td b,.stats-strip strong,.rank-row b,.compact-table b{font-variant-numeric:tabular-nums}@media print{.recent-sales tbody tr:nth-child(2n),.report-products tbody tr:nth-child(2n),.data-table tbody tr:nth-child(2n):not(.editor-row),.panel table tbody tr:nth-child(2n),.table-wrapper table tbody tr:nth-child(2n),.table-scroll table tbody tr:nth-child(2n),.modal table tbody tr:nth-child(2n),.legacy-preview table tbody tr:nth-child(2n){background:0 0!important}}.report-error{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:44px 20px;display:flex}.report-error svg{width:36px;height:36px;color:var(--danger)}.report-error strong{font-size:16px}.report-error p{color:var(--muted);margin:0}.report-error .button{margin-top:6px}.report-print-head{text-align:center;border-bottom:2px solid #000;margin-bottom:10px;padding-bottom:8px}.report-print-head h1{color:#000;margin:0;font-size:16pt}.report-print-head p{color:#333;margin:4pt 0 0;font-size:11pt}.table-scroll,.table-wrapper{max-height:min(68vh,660px);overflow:auto}.recent-sales .table-scroll{max-height:none}.modal .table-wrapper,.modal .table-scroll{max-height:min(46vh,420px)}.table-scroll table thead th,.table-wrapper table thead th{z-index:3;background:var(--surface-2);box-shadow:inset 0 -1px 0 var(--line);position:sticky;top:0}@media print{.table-scroll,.table-wrapper{max-height:none!important;overflow:visible!important}.table-scroll table thead th,.table-wrapper table thead th{box-shadow:none!important;position:static!important}}:root{--focus:#1137a82e;--bar-idle:#c9d7f3}[data-theme=dark]{--focus:#8daaff40;--bar-idle:#29426f}html{background:var(--app-bg)}body{background:var(--app-bg);-webkit-font-smoothing:antialiased}h1,h2,h3{font-family:var(--font-display);letter-spacing:0;font-weight:600}.ltr-code,.mono{font-family:var(--font-mono);letter-spacing:0;font-size:11.5px;font-weight:500}.eyebrow{letter-spacing:.1em;color:var(--muted);align-items:center;gap:10px;font-size:11px;font-weight:600;display:flex}.eyebrow:after{content:"";background:var(--line);flex:1;max-width:70px;height:1px}:where(button,select,input,textarea,a):focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}::selection{background:var(--accent);color:#fff}.app-shell{grid-template-columns:var(--rail-w) minmax(0,1fr);background:var(--app-bg);direction:rtl;min-height:100dvh;display:grid}.sidebar{background:var(--ink-chrome);height:100dvh;color:var(--chrome-ink);z-index:30;box-shadow:none;border-inline-end:1px solid #00000059;flex-direction:column;display:flex;position:sticky;top:0}.sidebar:before,.sidebar:after{content:none}.sidebar .rail__brand{color:#fff;border-bottom:1px solid var(--chrome-line);flex:none;align-content:center;place-items:center;gap:5px;height:82px;text-decoration:none;display:grid}.sidebar .rail__brand b{font-family:var(--font-display);letter-spacing:.02em;font-size:10px}.sidebar .rail__nav{flex:1;min-height:0;padding:0;display:block;overflow-y:auto}.sidebar .rail__group{border-bottom:1px solid var(--chrome-line);gap:2px;padding:8px;display:grid}.sidebar .rail__group:last-child{border-bottom:0}.sidebar .rail__item{width:100%;color:var(--chrome-muted);text-align:center;transition:background var(--dur-fast) ease,color var(--dur-fast) ease;background:0 0;border:0;border-radius:10px;justify-items:center;gap:5px;padding:10px 3px;font-size:10.5px;font-weight:500;line-height:1.2;display:grid;position:relative}.sidebar .rail__item svg{stroke-width:1.7px;width:21px;height:21px}.sidebar .rail__item span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.sidebar .rail__item:hover{color:var(--chrome-ink);background:#ffffff0f}.sidebar .rail__item.active{color:#fff;background:#ffffff21;font-weight:600}.sidebar .rail__item.active:before{content:"";inset-inline-end:-8px;background:var(--accent);border-radius:3px;width:3px;position:absolute;top:9px;bottom:9px}.sidebar .rail__foot{border-top:1px solid var(--chrome-line);gap:2px;margin-top:auto;padding:8px;display:grid}.sidebar .rail__item--out{color:#e9a08c}.sidebar .rail__item--out:hover{color:#ffc0ae;background:#f2704a24}.workspace{direction:rtl;flex-direction:column;min-width:0;display:flex}.topbar{height:var(--bar-h);background:var(--topbar-bg);border-bottom:1px solid var(--line);z-index:25;box-shadow:none;align-items:center;gap:12px;padding:0 clamp(14px,2vw,28px);display:flex;position:sticky;top:0}.topbar__mark{background:0 0;border:0;border-radius:10px;flex:none;width:38px;height:38px;padding:0;display:none}.topbar__title{align-items:center;gap:10px;min-width:0;font-weight:400;display:flex}.topbar__title>svg{width:19px;height:19px;color:var(--accent);flex:none}.topbar__title small{letter-spacing:.08em;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;display:block;overflow:hidden}.topbar__title strong{font-family:var(--font-display);white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:600;line-height:1.25;display:block;overflow:hidden}.topbar__tools{align-items:center;gap:8px;margin-inline-start:auto;display:flex}.profile{border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface);min-width:0;color:var(--ink);text-align:right;align-items:center;gap:9px;padding:5px 10px 5px 5px;display:flex}.profile:hover{background:var(--surface-hover)}.profile .avatar{background:var(--accent);color:#fff;width:32px;height:32px;box-shadow:none;border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:700;display:grid}.profile strong{white-space:nowrap;font-size:12.5px;font-weight:600;display:block}.profile small{color:var(--muted);white-space:nowrap;margin-top:1px;font-size:10px;display:block}.page{width:100%;max-width:1560px;margin:0 auto;padding:22px clamp(14px,2.2vw,32px) 44px}.tabbar{inset-inline:0;z-index:60;background:var(--ink-chrome);border-top:1px solid var(--chrome-line);padding-bottom:env(safe-area-inset-bottom);grid-auto-columns:1fr;grid-auto-flow:column;display:none;position:fixed;bottom:0}.tabbar button{height:var(--tabbar-h);color:var(--chrome-muted);background:0 0;border:0;align-content:center;justify-items:center;gap:3px;font-size:10.5px;font-weight:600;display:grid;position:relative}.tabbar button svg{stroke-width:1.7px;width:21px;height:21px}.tabbar button.active:before{content:"";top:0;background:var(--accent);border-radius:0 0 3px 3px;height:3px;position:absolute;inset-inline:24%}.sheet-backdrop{z-index:80;background:#060b1299;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border:1px solid var(--line);width:min(560px,100%);max-height:88dvh;animation:sheetUp .22s var(--ease-standard) both;border-bottom:0;border-radius:20px 20px 0 0;flex-direction:column;display:flex;overflow:hidden}@keyframes sheetUp{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}.sheet__head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;display:flex}.sheet__user{align-items:center;gap:10px;display:flex}.sheet__user .avatar{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.sheet__user strong{font-size:14px;display:block}.sheet__user small{color:var(--muted);font-size:11px;display:block}.sheet__body{padding:6px 12px 12px;overflow-y:auto}.sheet__group{padding:12px 4px 4px}.sheet__group h3{letter-spacing:.1em;color:var(--muted);margin:0 0 10px;font-size:11px;font-weight:600}.sheet__group>div{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;display:grid}.sheet__group button{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);min-height:52px;color:var(--ink);text-align:right;align-items:center;gap:10px;padding:0 12px;font-size:12.5px;font-weight:600;display:flex}.sheet__group button svg{width:19px;height:19px;color:var(--muted);flex:none}.sheet__group button:hover{background:var(--surface-hover)}.sheet__group button.active{border-color:var(--accent);background:var(--green-50);color:var(--accent-strong)}.sheet__group button.active svg{color:var(--accent)}.sheet__foot{border-top:1px solid var(--line);background:var(--surface-2);padding:12px 16px}.sheet__foot .button{width:100%}@media (width<=1099px){.app-shell{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.tabbar{display:grid}.topbar{gap:10px;height:56px;padding:0 12px}.topbar__mark{display:block}.topbar__title small,.topbar__title>svg{display:none}.topbar__title strong{font-size:15px}.page{padding:16px 12px calc(var(--tabbar-h) + 34px)}.profile{background:0 0;border:0;padding:0}.profile strong,.profile small{display:none}}@media (width>=1100px){.sheet-backdrop{align-items:center}.sheet{border-radius:var(--r-lg);border-bottom:1px solid var(--line);max-height:80dvh}}.page-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 20px;padding-bottom:14px;display:flex}.page-header h1{font-family:var(--font-display);letter-spacing:0;margin:0 0 4px;font-size:clamp(21px,2.3vw,28px);font-weight:600}.page-header p{color:var(--muted);margin:0;font-size:12.5px}.page-header__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.back-button{border:1px solid var(--line);background:var(--surface);border-radius:var(--r-sm)}.live-update{color:var(--muted);border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface);align-items:center;gap:7px;padding:5px 11px;font-size:11px;display:inline-flex}.live-update:before{content:none}.live-dot{background:var(--success);border-radius:50%;flex:none;width:7px;height:7px}.live-update em{color:var(--muted);opacity:.75;font-style:normal}.button{border-radius:var(--r-sm);min-height:42px;box-shadow:none;transition:background var(--dur-fast) ease,border-color var(--dur-fast) ease,color var(--dur-fast) ease;font-size:13.5px;font-weight:600}.button--primary{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:none}.button--primary:hover{background:var(--accent-strong);border-color:var(--accent-strong);box-shadow:none}[data-theme=dark] .button--primary{color:#fff}.button--outline{background:var(--surface);border-color:var(--line);color:var(--ink)}.button--outline:hover{background:var(--surface-hover);border-color:var(--accent-border)}.button--ghost{background:var(--soft);color:var(--ink);border-color:#0000}.icon-button{width:38px;height:38px;color:var(--muted);border:1px solid #0000;border-radius:10px}.link-button,.text-action{border-radius:6px;padding:4px 6px;font-size:11.5px;font-weight:600}.link-button:hover{background:var(--surface-hover)}.field input,.field select,.field textarea,.report-filters input,.input-with-icon{border-radius:var(--r-sm);border-color:var(--input-border);background:var(--surface);min-height:44px}.field input:focus,.field select:focus,.field textarea:focus,.report-filters input:focus,.input-with-icon:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus)}.field>span,.login-panel label>span{color:var(--ink);font-size:12px;font-weight:600}.search-field{border-radius:var(--r-sm);border-color:var(--input-border)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:none;overflow:hidden}.panel>header{border-bottom:1px solid var(--line);background:var(--surface-2);justify-content:space-between;align-items:center;gap:10px;min-height:54px;padding:12px 16px;display:flex}.panel>header h2{font-family:var(--font-display);margin:0;font-size:14.5px;font-weight:600}.panel>header p{color:var(--muted);margin:2px 0 0;font-size:11px}.panel-head{align-items:center;gap:10px;min-width:0;display:flex}.panel-icon{background:var(--surface);border:1px solid var(--line);width:34px;height:34px;color:var(--accent);border-radius:9px;flex:none;place-items:center;display:grid}.panel-icon svg{width:17px;height:17px}.panel-icon--alert{color:var(--warning)}.panel-icon--copper{color:var(--copper)}.panel-icon--muted{color:var(--muted)}.panel table th{background:var(--surface-2);color:var(--muted);letter-spacing:.02em;font-size:11px;font-weight:600}.panel table td{font-size:12px}.table-scroll table thead th,.table-wrapper table thead th{background:var(--surface-2)}.compact-table__head{background:var(--surface-2);color:var(--muted);font-size:10.5px;font-weight:600}.compact-table>div{font-size:11.5px}.compact-table>div:hover,.rank-row:hover{background:var(--surface-hover)}.rank-row{border-bottom:1px solid var(--line-soft);padding:11px 16px}.rank-row:last-child{border-bottom:0}.rank{background:var(--surface-2);border:1px solid var(--line);width:26px;height:26px;color:var(--muted);box-shadow:none;border-radius:7px;font-size:11px;font-weight:700}.rank-row strong{font-size:12.5px}.rank-row b{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:13px}.status{border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface-2);color:var(--muted);padding:3px 10px;font-size:10.5px;font-weight:600}.status--success{background:var(--success-bg);color:var(--success);border-color:var(--success-border)}.status--danger{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-border)}.status--warning{background:var(--warning-bg);color:var(--warning);border-color:var(--warning-border)}.empty{padding:34px 20px}.empty svg{opacity:.6;width:26px;height:26px}.empty strong{font-family:var(--font-display);font-size:14px;font-weight:600}.skeleton-line{background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface-hover) 37%,var(--surface-2) 63%);background-size:400% 100%;border-radius:6px;height:12px;animation:1.4s infinite skeleton;display:block}.skeleton-page,.panel-loading{border-radius:var(--r-lg)}.daysheet{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);margin:0 0 16px;display:grid;position:relative;overflow:hidden}.daysheet:before{content:"";top:0;background:var(--copper);height:3px;position:absolute;inset-inline:0}.daysheet__lead{border-inline-end:1px solid var(--line);min-width:0;padding:24px 24px 20px}.daysheet__figure{font-family:var(--font-display);color:var(--copper);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:12px 0 10px;font-size:clamp(32px,4.4vw,54px);font-weight:600;line-height:1.04;display:block}.delta{border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface-2);color:var(--muted);align-items:center;gap:6px;padding:4px 10px;font-size:11.5px;font-weight:600;display:inline-flex}.delta svg{width:14px;height:14px}.delta--up{color:var(--success);background:var(--success-bg);border-color:var(--success-border)}.delta--down{color:var(--danger);background:var(--danger-bg);border-color:var(--danger-border)}.trend-strip{margin-top:20px}.trend-strip__bars{align-items:flex-end;gap:4px;height:72px;display:flex}.trend-strip__bars span{background:var(--bar-idle);min-width:0;min-height:3px;transition:background var(--dur-fast) ease;border-radius:2px 2px 0 0;flex:1}.trend-strip__bars span.is-today,.trend-strip__bars span:hover{background:var(--copper)}.trend-strip__scale{font-family:var(--font-mono);color:var(--muted);justify-content:space-between;margin-top:7px;font-size:10px;display:flex}.daysheet__ledger{flex-direction:column;justify-content:center;margin:0;display:flex}.daysheet__ledger>div{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:3px 14px;padding:14px 22px;display:grid}.daysheet__ledger>div:last-child{border-bottom:0}.daysheet__ledger dt{color:var(--ink);font-size:12.5px;font-weight:600}.daysheet__ledger dd{font-family:var(--font-display);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:19px;font-weight:600}.daysheet__ledger small{color:var(--muted);grid-column:1/-1;font-size:10.5px;line-height:1.65}.daysheet__ledger .is-profit dd{color:var(--success)}.daysheet--loading .daysheet__lead>*{margin-bottom:10px}@media (width<=900px){.daysheet{grid-template-columns:minmax(0,1fr)}.daysheet__lead{border-inline-end:0;border-bottom:1px solid var(--line);padding:18px 16px 16px}.daysheet__ledger>div{padding:12px 16px}}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);align-items:start;gap:14px;display:grid}.dashboard-grid>.recent-sales{grid-area:1/1/span 2}.dashboard-grid>.stock-alerts{grid-area:1/2}.dashboard-grid>.held-admin{grid-area:2/2}.dashboard-grid>.top-products{grid-area:3/1}.dashboard-grid>.quick-actions{grid-area:3/2}@media (width<=1099px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-grid>.recent-sales,.dashboard-grid>.stock-alerts,.dashboard-grid>.held-admin,.dashboard-grid>.top-products,.dashboard-grid>.quick-actions{grid-area:auto/1}}.profit-notice{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);margin:0 0 16px;padding:0;overflow:hidden}.profit-notice>header{background:var(--warning-bg);border-bottom:1px solid var(--warning-border);align-items:center;gap:10px;padding:12px 16px;display:flex}.profit-notice__icon{background:var(--surface);border:1px solid var(--warning-border);width:32px;height:32px;color:var(--warning);border-radius:9px;flex:none;place-items:center;display:grid}.profit-notice__icon svg{width:17px;height:17px}.profit-notice h2{font-family:var(--font-display);color:var(--ink);margin:0;font-size:14px;font-weight:600}.profit-notice header p{color:var(--muted);margin:2px 0 0;font-size:11px}.profit-notice ul{margin:0;padding:6px 16px 14px;list-style:none}.profit-notice li{border-bottom:1px solid var(--line-soft);padding:10px 20px 10px 0;font-size:12.5px;line-height:1.85;position:relative}.profit-notice li:last-child{border-bottom:0}.profit-dot{inset-inline-start:0;background:var(--muted);border-radius:50%;width:7px;height:7px;position:absolute;top:19px}.profit-dot--amber{background:var(--warning)}.profit-dot--danger{background:var(--danger)}.profit-dot--copper{background:var(--copper)}.quick-actions{gap:12px;display:grid}.quick-card{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);min-height:82px;color:var(--ink);text-align:right;transition:background var(--dur-fast) ease,border-color var(--dur-fast) ease;align-items:center;gap:14px;padding:16px 18px;display:flex}.quick-card:hover{background:var(--surface-hover);border-color:var(--accent-border);transform:none}.quick-card__icon{background:var(--surface-2);border:1px solid var(--line);width:40px;height:40px;color:var(--accent);border-radius:11px;flex:none;place-items:center;display:grid}.quick-card__icon svg{width:20px;height:20px}.quick-card__text{min-width:0;display:block}.quick-card__text strong{font-size:13.5px;font-weight:600;display:block}.quick-card__text small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.quick-card__arrow{color:var(--muted);place-items:center;margin-inline-start:auto;display:grid}.quick-card__arrow svg{width:17px;height:17px}.quick-card--primary{background:var(--accent);border-color:var(--accent);color:#fff}.quick-card--primary:hover{background:var(--accent-strong);border-color:var(--accent-strong)}.quick-card--primary .quick-card__icon{color:#fff;background:#ffffff29;border-color:#ffffff47}.quick-card--primary .quick-card__text strong,.quick-card--primary .quick-card__text small,.quick-card--primary .quick-card__arrow{color:#fff;text-shadow:none;opacity:1}[data-theme=dark] .quick-card--primary{color:#150e0a}[data-theme=dark] .quick-card--primary .quick-card__icon{color:#150e0a;background:#150e0a24;border-color:#150e0a3d}[data-theme=dark] .quick-card--primary .quick-card__text strong,[data-theme=dark] .quick-card--primary .quick-card__text small,[data-theme=dark] .quick-card--primary .quick-card__arrow{color:#150e0a}.customer-summary article,.sales-day-strip article,.inventory-stats article,.purchase-summary article,.report-kpis article,.employee-stats article{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);min-height:84px;box-shadow:none;gap:12px;padding:15px 16px;position:relative}.customer-summary article:before,.sales-day-strip article:before,.inventory-stats article:before,.purchase-summary article:before,.report-kpis article:before,.employee-stats article:before{content:"";top:0;background:var(--line);height:2px;position:absolute;inset-inline:0}.customer-summary article>svg,.sales-day-strip article>svg,.inventory-stats article>svg,.purchase-summary article>svg,.report-kpis article>svg,.employee-stats article>svg{background:var(--surface-2);border:1px solid var(--line);width:34px;height:34px;color:var(--accent);box-sizing:border-box;border-radius:10px;flex:none;padding:8px}.customer-summary strong,.sales-day-strip strong,.inventory-stats strong,.purchase-summary strong,.report-kpis strong,.employee-stats strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;letter-spacing:0;margin-top:2px;font-size:20px;font-weight:600}.customer-summary small,.sales-day-strip small,.inventory-stats small,.purchase-summary small,.report-kpis small,.employee-stats small{font-size:10.5px;line-height:1.6}.stats-strip{background:0 0;border:0;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:0 0 16px}.stats-strip article{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:none;align-items:flex-start;padding:15px 16px}.stats-strip strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;margin:7px 0 5px;font-size:clamp(18px,1.5vw,23px);font-weight:600}.stats-strip svg{background:var(--surface-2);border:1px solid var(--line);width:34px;height:34px;color:var(--accent);opacity:1;box-sizing:border-box;border-radius:10px;flex:none;padding:8px}.pos-screen{max-width:none;min-height:calc(100dvh - var(--bar-h));grid-template-rows:auto auto 1fr;grid-template-columns:minmax(0,1fr) minmax(340px,410px);align-items:start;gap:14px;margin:0;padding:14px clamp(12px,1.8vw,24px) 20px;display:grid}.pos-topbar{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:none;grid-area:1/1;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:8px 10px 8px 14px;display:flex}.pos-topbar__who i{background:var(--accent);color:#fff;width:34px;height:34px;box-shadow:none;border-radius:50%;font-size:14px}.pos-topbar__who strong{font-size:13px;font-weight:600}.pos-topbar__who small{color:var(--muted);font-size:10.5px}.pos-logout{border-radius:var(--r-sm);border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--muted);padding:0 13px;font-size:12px;font-weight:600}.pos-logout:hover{border-color:var(--danger-border);background:var(--danger-bg);color:var(--danger)}.pos-scanbar{background:0 0;border-bottom:0;grid-area:2/1;gap:12px;padding:0;display:grid;position:static}.scan-input--hero{border:2px solid var(--accent);border-radius:var(--r-md);background:var(--surface);height:66px;box-shadow:none;padding:0 16px}.scan-input--hero:focus-within{box-shadow:0 0 0 4px var(--focus)}.scan-input--hero input{font-size:17px;font-weight:500}.scan-results{border-radius:var(--r-md);border-color:var(--line);box-shadow:var(--sh-3)}.scan-results button.active{background:var(--surface-hover)}.scan-results em{background:var(--accent);border-radius:8px}[data-theme=dark] .scan-results em{color:#150e0a}.scan-results b{font-family:var(--font-display);font-weight:600}.scan-actions{grid-template-columns:1fr 1fr;align-items:stretch;gap:10px;display:grid}.open-amount-button{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);min-height:60px;color:var(--ink);box-shadow:none;padding:10px 14px}.open-amount-button:hover{background:var(--surface-hover);border-color:var(--accent);transform:none}.open-amount-button svg{width:20px;height:20px;color:var(--accent);flex:none}.open-amount-button strong{font-size:13px;font-weight:600}.open-amount-button--return{background:var(--surface);color:var(--ink);border-color:var(--line)}.open-amount-button--return svg{color:var(--warning)}.open-amount-button--return:hover{border-color:var(--warning);background:var(--warning-bg)}.scan-hint-line{color:var(--muted);grid-column:1/-1;margin:0;font-size:11px}.scan-hint-line svg{color:var(--copper)}.shortcut-hints{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.shortcut-hints b{color:var(--muted);align-items:center;gap:6px;font-size:10.5px;font-weight:500;display:inline-flex}.shortcut-hints kbd{font-family:var(--font-mono);border:1px solid var(--line);background:var(--surface-2);color:var(--ink);border-radius:5px;padding:2px 6px;font-size:10px}.pos-invoice{top:calc(var(--bar-h) + 14px);max-height:calc(100dvh - var(--bar-h) - 30px);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:none;flex-direction:column;grid-area:1/2/-1;display:flex;position:sticky;overflow:hidden}.pos-invoice>header{background:var(--surface-2);border-bottom:1px solid var(--line);flex:none;padding:12px 16px}.pos-invoice>header h2{font-family:var(--font-display);font-size:14.5px;font-weight:600}.pos-invoice>header svg{width:19px;height:19px;color:var(--accent)}.pos-invoice .invoice-lines{flex:1;min-height:0;max-height:none;overflow-y:auto}.invoice-line__total{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-weight:600}.invoice-options{background:var(--surface-2);border-top:1px solid var(--line);border-bottom:0;flex:none}.invoice-options select,.invoice-options input{border-radius:var(--r-sm);border-color:var(--input-border);background:var(--surface)}.invoice-totals{border-top:1px solid var(--line);background:var(--surface);border-bottom:0;flex:none}.invoice-totals .grand-total{font-family:var(--font-display);color:var(--copper);border-top:1px solid var(--line);align-items:baseline;font-size:22px;font-weight:600}.invoice-totals .grand-total dt{color:var(--ink);font-family:inherit;font-size:12.5px;font-weight:600}.invoice-pay{border-top:1px solid var(--line);background:var(--surface);flex:none;padding:12px 14px 14px}.pay-methods{gap:8px}.pay-methods button{border-radius:var(--r-md);border-color:var(--line);background:var(--surface);min-height:56px;font-size:11px;font-weight:600}.pay-methods button svg{color:var(--muted)}.pay-methods button:hover{background:var(--surface-hover);border-color:var(--accent-border)}.pay-methods button.active svg{color:var(--accent)}.button--checkout{border-radius:var(--r-md);background:var(--accent);border-color:var(--accent);color:#fff;min-height:58px;box-shadow:none;font-size:15px;overflow:visible}.button--checkout:hover{background:var(--accent-strong);border-color:var(--accent-strong);box-shadow:none}.button--checkout:after{content:none}[data-theme=dark] .button--checkout{color:#150e0a}.hold-row{gap:8px}.hold-btn,.print-last{border-radius:var(--r-sm);min-height:40px;font-size:12px}.hold-count{background:var(--copper);color:var(--on-copper);box-shadow:none}.invoice-empty{color:var(--muted);padding:34px 18px}.invoice-empty strong{font-family:var(--font-display);color:var(--ink);font-size:14px;font-weight:600}.last-sale,.last-sale--return{border-radius:var(--r-md);border-color:var(--line)}.last-sale__totals .grand-total{font-family:var(--font-display);color:var(--copper)}.payment-total{border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--line)}.payment-total strong{font-family:var(--font-display);color:var(--copper);font-size:32px;font-weight:600}.split-row{border-radius:var(--r-md)}.split-row:hover{border-color:var(--accent-border);background:var(--surface-hover)}@media (width<=1099px){.pos-screen{min-height:0;padding:12px 12px calc(var(--tabbar-h) + 92px);grid-template-rows:none;grid-template-columns:minmax(0,1fr);animation:none;transform:none}.page>.pos-screen{animation:none;transform:none}.pos-screen>*{grid-area:auto/1}.pos-invoice{max-height:none;display:block;position:static;overflow:visible}.pos-invoice .invoice-lines{overflow:visible}.invoice-pay{padding-bottom:14px;position:static}.button--checkout{inset-inline:12px;bottom:calc(var(--tabbar-h) + 8px);z-index:55;position:fixed;box-shadow:0 8px 28px #0923633d}.shortcut-hints{display:none}.scan-hint-line{font-size:10.5px}}@media (width<=560px){.scan-actions{grid-template-columns:1fr}.scan-input--hero{height:60px}}.modal-backdrop{background:#060b1299}.modal{border-radius:var(--r-lg);border:1px solid var(--line);box-shadow:var(--sh-3)}.modal>header{background:var(--surface-2);border-bottom:1px solid var(--line);height:58px}.modal>header h2{font-family:var(--font-display);font-size:15.5px;font-weight:600}.toast{background:var(--ink-chrome);color:#fff;border-radius:var(--r-md);border:1px solid var(--chrome-line);box-shadow:var(--sh-3);font-size:12.5px}.toast--error{background:var(--danger);color:#fff;border-color:#0000}.leave-confirm{border-radius:var(--r-lg);border:1px solid var(--line)}.update-banner{background:var(--accent);color:#fff;border:0}[data-theme=dark] .update-banner{color:#150e0a}.sync-state{border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);color:var(--muted);align-items:center;gap:7px;padding:6px 11px;font-size:11px;font-weight:600;display:inline-flex}.sync-state svg{width:15px;height:15px}.sync-state--connected{color:var(--success);border-color:var(--success-border);background:var(--success-bg)}.sync-state--offline{color:var(--danger);border-color:var(--danger-border);background:var(--danger-bg)}.install-app-button{border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--ink);padding:0 12px;font-size:11.5px;font-weight:600}.install-app-button:hover{background:var(--surface-hover);border-color:var(--accent-border)}.install-app-button--done{background:var(--success-bg);border-color:var(--success-border);color:var(--success)}.theme-toggle{border:1px solid var(--line);background:var(--surface)}.trial-banner{background:var(--surface);border:1px solid var(--line);border-inline-start:3px solid var(--copper);border-radius:var(--r-md);min-height:58px;color:var(--ink);align-items:center;gap:11px;margin:0 0 16px;padding:9px 12px;display:flex}.page:has(>.pos-screen)>.trial-banner{margin:14px clamp(12px,1.8vw,24px) 0}.trial-banner__icon{background:var(--copper-bg);width:34px;height:34px;color:var(--copper);border:1px solid var(--copper-border);border-radius:9px;flex:none;place-items:center;display:grid}.trial-banner__icon svg{width:18px;height:18px}.trial-banner__copy{gap:2px;min-width:0;display:grid}.trial-banner__copy strong{font-family:var(--font-display);font-size:12.5px;font-weight:600}.trial-banner__copy small{color:var(--muted);font-size:10.5px}.trial-banner>button{cursor:pointer;background:0 0;border:0;margin-inline-start:auto;font-family:inherit}.trial-banner>a,.trial-banner>button{color:var(--accent-strong);border-radius:var(--r-sm);align-items:center;gap:6px;padding:7px 9px;font-size:11.5px;font-weight:700;text-decoration:none;display:inline-flex}.trial-banner>a:hover,.trial-banner>button:hover{background:var(--surface-hover)}.trial-banner>a svg{width:14px;height:14px}.trial-banner--urgent{border-inline-start-color:var(--danger);background:var(--danger-bg)}.trial-banner--urgent .trial-banner__icon{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger)}.trial-expired{background:var(--app-bg);direction:rtl;place-items:center;min-height:100dvh;padding:24px;display:grid}.trial-expired__panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);width:min(560px,100%);box-shadow:var(--sh-2);text-align:center;padding:42px}.trial-expired__panel>header{color:var(--ink-chrome);font-family:var(--font-display);justify-content:center;align-items:center;gap:10px;margin-bottom:34px;font-size:20px;display:flex}.trial-expired__panel>header .matrix-mark{width:38px;height:38px;color:var(--ink-chrome)}.trial-expired__icon{background:var(--danger-bg);border:1px solid var(--danger-border);width:72px;height:72px;color:var(--danger);border-radius:18px;place-items:center;margin:0 auto 20px;display:grid}.trial-expired__icon svg{width:34px;height:34px}.trial-expired h1{font-family:var(--font-display);margin:0 0 12px;font-size:clamp(24px,4vw,32px);font-weight:600}.trial-expired p{max-width:46ch;color:var(--muted);margin:0 auto;font-size:13.5px;line-height:1.9}.trial-expired__actions{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:28px;display:flex}.trial-expired__actions .button{justify-content:center;align-items:center;gap:7px;min-width:170px;text-decoration:none;display:inline-flex}.trial-expired__actions svg{width:17px;height:17px}@media (width<=1099px){.sync-state span:last-child{display:none}.sync-state{padding:8px}.install-app-button span{display:none}.install-app-button{padding:0 10px}.trial-banner{margin-bottom:12px}.page:has(>.pos-screen)>.trial-banner{margin:12px 12px 0}}@media (width<=560px){.trial-banner{align-items:flex-start}.trial-banner>a{white-space:nowrap;padding:7px 3px}.trial-expired__panel{padding:30px 20px}.trial-expired__actions{display:grid}}.login-page{background:var(--bg)}.login-panel{padding:52px clamp(28px,6vw,96px)}.login-panel>.brand{color:var(--ink);margin-bottom:44px}.brand strong{font-family:var(--font-display);color:#1137a8;font-size:24px;font-weight:700}.brand small{color:var(--muted);letter-spacing:0;margin-top:3px;font-size:10px}.brand__mark{background:#1137a8;border:0;border-radius:12px;width:48px;height:48px;padding:9px;transform:none}.login-copy h1{font-family:var(--font-display);font-size:clamp(26px,3.4vw,36px);font-weight:600;line-height:1.35}.login-copy p{font-size:13.5px}.login-visual{color:#fff;background:#0b2f91;padding:64px 56px}.login-visual:before{background-image:none}.login-visual:after{content:none}.matrix-network{aspect-ratio:1.35;border:1px solid #ffffff61;place-items:center;width:min(430px,75%);margin-bottom:44px;display:grid;position:relative}.matrix-network>i{background:#ffffff73;position:absolute}.matrix-network>i:first-of-type{width:1px;height:100%;inset-inline-start:33%}.matrix-network>i:nth-of-type(2){width:1px;height:100%;inset-inline-start:66%}.matrix-network>i:nth-of-type(3){width:100%;height:1px;top:33%}.matrix-network>i:nth-of-type(4){width:100%;height:1px;top:66%}.matrix-network>.matrix-mark{z-index:1;background:#0b2f91;border:1px solid #ffffff73;width:92px;height:92px;padding:16px;position:relative}.login-visual blockquote{font-family:var(--font-display);max-width:26ch;font-size:clamp(19px,2.2vw,26px);font-style:normal;font-weight:500;line-height:1.85}.login-visual small{color:#f0f5ffb8;text-align:center;max-width:48ch;font-size:12px;line-height:1.8}.demo-access button{border-radius:var(--r-sm);border-color:var(--line);background:var(--surface)}.matrix-mark{grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:3px;width:30px;height:30px;display:grid}.matrix-mark i{background:currentColor;border-radius:1.5px;display:block}.matrix-mark i:nth-child(5){background:var(--accent)}.brand__mark .matrix-mark{color:#fff;width:100%;height:100%}.rail__brand .matrix-mark{color:#fff;width:36px;height:36px}@media (width<=900px){.login-page{grid-template-columns:minmax(0,1fr)}.login-visual{display:none}}@media print{.tabbar,.sheet-backdrop,.sheet,.trial-banner,.trial-expired{display:none!important}}.dashboard-grid>.quick-actions{grid-template-columns:minmax(0,1fr)}.quick-actions>button{border-radius:var(--r-lg);min-height:82px;box-shadow:none;background:var(--surface);border:1px solid var(--line);color:var(--ink);align-items:center;gap:14px;padding:16px 18px;display:flex}.quick-actions button>span.quick-card__text{grid-template-columns:none;min-width:0;display:block}.quick-actions button>span.quick-card__icon{flex:none;place-items:center;width:40px;height:40px;display:grid}.quick-actions button>span.quick-card__icon svg{grid-row:auto;width:20px;height:20px}.quick-actions>button>svg{width:17px;height:17px}.topbar__title>span{min-width:0;display:block}@media (width<=1099px){.topbar__title{flex:auto;min-width:0}}.modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.stats-strip--premium{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:0 0 16px;display:grid}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);flex-direction:column;gap:10px;min-height:104px;padding:15px 16px;display:flex;position:relative;overflow:hidden}.stat-card:before{content:"";top:0;background:var(--line);height:2px;position:absolute;inset-inline:0}.stat-card--accent:before{background:var(--accent)}.stat-card__top{justify-content:space-between;align-items:center;gap:8px;display:flex}.stat-icon{background:var(--surface-2);border:1px solid var(--line);width:34px;height:34px;color:var(--accent);border-radius:10px;flex:none;place-items:center;display:grid}.stat-icon svg{width:17px;height:17px}.stat-card__body{gap:3px;min-width:0;display:grid}.stat-label{color:var(--muted);font-size:11.5px;font-weight:600}.stat-value{font-family:var(--font-display);font-variant-numeric:tabular-nums;color:var(--ink);overflow-wrap:anywhere;font-size:clamp(18px,1.5vw,23px);font-weight:600}.stat-card--accent .stat-value{color:var(--copper)}.stat-note{color:var(--muted);font-size:10.5px;line-height:1.6}.stat-trend{border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface-2);color:var(--muted);align-items:center;gap:4px;padding:3px 9px;font-size:11px;font-weight:600;display:inline-flex}.stat-trend svg{width:13px;height:13px}.stat-trend--up{color:var(--success);background:var(--success-bg);border-color:var(--success-border)}.stat-trend--down{color:var(--danger);background:var(--danger-bg);border-color:var(--danger-border)}.stat-badge{color:var(--muted);border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface-2);padding:2px 8px;font-size:10px;font-weight:600}.p-method{border-bottom:1px solid var(--line-soft);padding:12px 16px}.p-method:last-child{border-bottom:0}.p-method__top{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.p-method__name strong{font-size:12.5px;font-weight:600;display:block}.p-method__name small{color:var(--muted);margin-top:2px;font-size:10.5px;display:block}.p-method__value{font-family:var(--font-display);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;font-weight:600}.p-method__bar{background:var(--surface-2);border-radius:3px;height:6px;overflow:hidden}.p-method__bar i{background:var(--accent);border-radius:3px;height:100%;display:block}.chart-wrap--premium{padding:14px 14px 6px}.chart-wrap--premium svg{width:100%;height:auto;overflow:visible}.loading-overlay{z-index:90;color:#fff;background:#060b1280;place-content:center;justify-items:center;gap:10px;font-size:12.5px;display:grid;position:fixed;inset:0}.loading-spinner{width:26px;height:26px;animation:.9s linear infinite spin}.product-link{color:var(--accent);cursor:pointer;text-underline-offset:3px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px}.product-link:hover{color:var(--accent-strong)}.leave-confirm__leave{color:var(--danger);border-color:var(--danger-border)}.leave-confirm__leave:hover{background:var(--danger-bg);border-color:var(--danger)}.invoice-line{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"info info total""meta meta meta""qty.remove";align-items:center;gap:7px 10px}.invoice-line__info{grid-area:info;min-width:0}.invoice-line__total{grid-area:total;place-self:center end}.invoice-line__qty{grid-area:qty}.invoice-line__remove{grid-area:remove;justify-self:end}.invoice-line__meta{flex-wrap:wrap;grid-area:meta;gap:5px;display:flex}.invoice-line__meta>span{background:var(--surface-2);border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:5px;align-items:center;padding:0 6px;font-size:10px;line-height:1.7;display:inline-flex}.invoice-line__meta .ltr-code{letter-spacing:.02em;font-size:10px;font-weight:600}.invoice-line__meta>span.is-warn{background:var(--warning-bg);border-color:var(--accent-border);color:var(--warning);font-weight:600}.invoice-line__meta>span.is-danger{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger);font-weight:600}.invoice-line__remove{border:1px solid var(--danger-border);background:var(--danger-bg);width:auto;height:32px;color:var(--danger);border-radius:var(--r-sm);align-items:center;gap:5px;padding:0 10px;font-size:11px;font-weight:600;display:inline-flex}.invoice-line__remove svg{width:14px;height:14px}.invoice-line__remove:hover{background:var(--danger);color:#fff;border-color:var(--danger)}@keyframes bh-line-flash{0%{background:var(--green-100);box-shadow:inset -3px 0 var(--accent)}to{background:0 0;box-shadow:inset -3px 0 #0000}}.combo__control{align-items:center;display:flex;position:relative}.combo__control input{width:100%;padding-inline-end:34px}.combo__toggle{width:26px;height:26px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;display:grid;position:absolute;inset-inline-end:5px}.combo__toggle svg{width:16px;height:16px;transition:transform .15s}.combo__toggle:hover{background:var(--surface-2);color:var(--ink)}.combo--open .combo__toggle svg{transform:rotate(180deg)}.combo__hint{color:var(--muted);align-items:center;gap:4px;font-size:10px;font-weight:500;display:flex}.combo__hint svg{width:12px;height:12px}.combo__hint--new{color:var(--warning)}.combo__list{z-index:150;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);padding:4px 0;position:fixed;overflow-y:auto;box-shadow:0 14px 34px #0b131f2e}[data-theme=dark] .combo__list{box-shadow:0 14px 34px #00000073}.combo__list button{width:100%;color:var(--ink);text-align:start;background:0 0;border:0;align-items:center;gap:8px;padding:8px 11px;font-size:12.5px;font-weight:500;display:flex}.combo__list button>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.combo__list button>em{color:var(--muted);white-space:nowrap;margin-inline-start:auto;font-size:10px;font-style:normal}.combo__list button>svg{width:14px;height:14px;color:var(--accent);flex:none}.combo__list button:hover,.combo__list button.active{background:var(--surface-hover)}.combo__section{z-index:1;background:var(--surface-2);color:var(--muted);border-bottom:1px solid var(--line-soft);padding:6px 11px;font-size:10px;font-weight:600;position:sticky;top:0}.combo__empty{color:var(--muted);text-align:center;padding:12px;font-size:11.5px}@media print{.combo__list{display:none!important}}.purchase-import{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);margin-bottom:16px;overflow:hidden}.pi-head{background:var(--surface-2);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.pi-head h2{font-family:var(--font-display);margin:0;font-size:15px;font-weight:600}.pi-head p{color:var(--muted);margin:3px 0 0;font-size:11px}.pi-source{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:14px 18px;display:flex}.pi-note{color:var(--muted);flex:260px;align-items:center;gap:6px;min-width:0;margin:0;font-size:11px;display:flex}.pi-note svg{flex:none;width:14px;height:14px}.pi-note--warn{color:var(--warning)}.pi-spin{animation:1s linear infinite spin}.pi-checks{border-bottom:1px solid var(--line);background:var(--green-50);gap:6px;padding:12px 18px;display:grid}.pi-checks p{color:var(--accent-strong);align-items:center;gap:7px;margin:0;font-size:12px;display:flex}.pi-checks svg{flex:none;width:15px;height:15px}.pi-checks--bad{background:var(--danger-bg)}.pi-checks--bad p{color:var(--danger)}.pi-supplier{border-bottom:1px solid var(--line);background:var(--surface-2);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 18px;display:grid}.pi-lines__head,.pi-line{grid-template-columns:36px minmax(0,1.1fr) minmax(0,1.3fr) 78px 68px 88px 90px 34px;align-items:center;gap:8px;padding:9px 14px;display:grid}.pi-lines__head{background:var(--surface-2);border-bottom:1px solid var(--line);color:var(--muted);font-size:10px;font-weight:600}.pi-line{border-bottom:1px solid var(--line-soft)}.pi-line--bad{background:var(--danger-bg)}.pi-line--miss{box-shadow:inset -3px 0 var(--warning)}.pi-line input[type=number]{border:1px solid var(--input-border);border-radius:var(--r-sm);text-align:center;font-variant-numeric:tabular-nums;background:var(--surface);width:100%;height:36px;padding:0 8px}.pi-line>b{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:end;font-size:12px}.pi-check{place-items:center;display:grid}.pi-check input{width:19px;height:19px;accent-color:var(--accent)}.pi-raw{min-width:0}.pi-raw strong{overflow-wrap:anywhere;font-size:12px;display:block}.pi-raw small{color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px;margin-top:3px;font-size:9.5px;display:flex}.pi-pick{gap:4px;min-width:0;display:grid}.pi-pick .field{gap:0}.pi-pick .field>span{display:none}.pi-newbtn{border:1px dashed var(--accent-border);color:var(--accent-strong);border-radius:var(--r-sm);background:0 0;justify-self:start;padding:3px 7px;font-size:10px}.pi-tag{background:var(--surface-2);border:1px solid var(--line);border-radius:5px;align-items:center;gap:3px;padding:1px 6px;font-size:9.5px;font-weight:600;display:inline-flex}.pi-tag svg{width:11px;height:11px}.pi-tag--sure{background:var(--green-100);color:var(--success);border-color:var(--accent-border)}.pi-tag--new{background:var(--copper-100);color:var(--warning);border-color:var(--accent-border)}.pi-tag--miss{background:var(--warning-bg);color:var(--warning);border-color:var(--warning-border)}.pi-new{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-sm);grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:8px;padding:10px 12px;display:grid}.pi-empty{text-align:center;color:var(--muted);padding:34px 18px}.pi-empty svg{width:30px;height:30px;color:var(--line)}.pi-empty strong{color:var(--ink);margin:8px 0 4px;font-size:13px;display:block}.pi-empty p{margin:0;font-size:11.5px}.pi-foot{border-top:1px solid var(--line);background:var(--surface-2);gap:12px;padding:14px 18px;display:grid}.pi-totals{gap:5px;margin:0;display:grid}.pi-totals>div{justify-content:space-between;font-size:12px;display:flex}.pi-totals dt,.pi-totals dd{margin:0}.pi-totals .pi-due{font-family:var(--font-display);color:var(--copper);border-top:1px solid var(--line);margin-top:3px;padding-top:8px;font-size:16px;font-weight:600}.pi-pay{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.pi-commit{min-height:52px;font-size:14px}@media (width<=900px){.pi-supplier,.pi-new{grid-template-columns:1fr 1fr}.pi-lines__head{display:none}.pi-line{border-bottom:1px solid var(--line);grid-template-columns:36px minmax(0,1fr) 34px;row-gap:8px;padding:12px 14px}.pi-pick{grid-column:1/-1}.pi-line input[type=number]{grid-column:span 1}.pi-line>b{text-align:start;grid-column:1/-1}.pi-pay{grid-template-columns:1fr}}.row-clickable{cursor:pointer}.row-clickable:hover{background:var(--surface-hover)}.pd .pi-head{align-items:flex-start}.pd-state{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pd-state .status svg{width:12px;height:12px;margin-inline-end:3px}.pd-sums{border-bottom:1px solid var(--line);background:var(--surface-2);grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0;padding:14px 18px;display:grid}.pd-sums>div{gap:3px;display:grid}.pd-sums dt{color:var(--muted);font-size:10.5px}.pd-sums dd{font-variant-numeric:tabular-nums;margin:0;font-size:14px;font-weight:600}.pd-sums .pd-due dd{font-family:var(--font-display);color:var(--copper);font-size:19px}.pd-check{width:18px;height:18px;accent-color:var(--accent)}.pd-panels{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:14px;padding:14px 18px;display:grid}.pd-panel{border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);align-content:start;gap:10px;padding:13px 15px;display:grid}.pd-panel h3{font-family:var(--font-display);align-items:center;gap:7px;margin:0;font-size:13.5px;font-weight:600;display:flex}.pd-panel h3 svg{width:17px;height:17px;color:var(--accent)}.pd-payrow{grid-template-columns:1fr 1fr auto;align-items:end;gap:9px;display:grid}.pd-actions{flex-wrap:wrap;gap:8px;display:flex}.pd-note{color:var(--muted);align-items:center;gap:6px;margin:0;font-size:11.5px;display:flex}.pd-note svg{width:14px;height:14px;color:var(--success)}.pd-note--muted{font-size:10.5px;line-height:1.7;display:block}.pd-payments{border-top:1px dashed var(--line);gap:6px;padding-top:9px;display:grid}.pd-payments>div{grid-template-columns:1fr auto;gap:2px 10px;font-size:11px;display:grid}.pd-payments strong{font-variant-numeric:tabular-nums;font-size:13px}.pd-payments small{color:var(--muted);margin-inline-start:7px}.pd-payments em{color:var(--muted);font-size:10px;font-style:normal}.pd-payments b{color:var(--muted);font-variant-numeric:tabular-nums;grid-column:1/-1;font-size:10px;font-weight:500}@media (width<=900px){.pd-sums{grid-template-columns:1fr 1fr}.pd-panels,.pd-payrow{grid-template-columns:1fr}}.code-field{align-items:center;display:flex;position:relative}.code-field input{width:100%;padding-inline-end:38px}.code-field button{border-radius:var(--r-sm);background:var(--green-50);width:28px;height:28px;color:var(--accent-strong);border:0;place-items:center;display:grid;position:absolute;inset-inline-end:5px}.code-field button svg{width:15px;height:15px}.code-field button:hover{background:var(--accent);color:#fff}.code-field button:disabled{opacity:.45}.bulk-lead{color:var(--muted);margin:0 0 12px;font-size:12px;line-height:1.9}.bulk-lead b{color:var(--accent-strong);font-size:15px}.pi-price{background:var(--surface-2);border:1px solid var(--line);border-inline-start:3px solid var(--accent);border-radius:var(--r-sm);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:6px 12px;margin-top:8px;padding:8px 11px;font-size:11px;display:flex}.pi-price--loss{background:var(--danger-bg);border-inline-start-color:var(--danger)}.pi-price--off{opacity:.55;border-inline-start-color:var(--line)}.pi-price__now{color:var(--muted)}.pi-price__now b{color:var(--ink);font-variant-numeric:tabular-nums;margin-inline-start:4px;font-size:12px}.pi-price__now em{margin-inline-start:8px;font-style:normal}.pi-price__loss{color:var(--danger);align-items:center;gap:4px;margin-inline-start:8px;display:inline-flex}.pi-price__loss svg{width:14px;height:14px}.pi-price__jump{color:var(--copper);align-items:center;gap:5px;font-weight:600;display:inline-flex}.pi-price__jump svg{width:14px;height:14px}.pi-price__use{color:var(--accent-strong);align-items:center;gap:6px;font-weight:600;display:inline-flex}.pi-price__use input{width:17px;height:17px;accent-color:var(--accent)}.pi-line .pi-price input[type=number]{flex:none;width:92px;height:30px}.pi-price__why{color:var(--muted);align-items:center;gap:4px;display:inline-flex}.pi-price__why svg{width:13px;height:13px}.pi-totals .pi-raises dd{color:var(--accent-strong);font-weight:700}.pi-rule{color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);align-items:flex-start;gap:9px;padding:10px 12px;font-size:11px;line-height:1.85;display:flex}.pi-rule input{width:18px;height:18px;accent-color:var(--accent);flex:none;margin-top:2px}.pi-rule b{color:var(--ink)}.dues__head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 18px;display:flex}.dues__head h2{align-items:center;gap:8px;margin:0;font-size:16px;display:flex}.dues__head h2 svg{color:var(--copper)}.dues__head p{color:var(--muted);margin:5px 0 0;font-size:11.5px}.dues__caption{color:var(--muted);margin:0;padding:12px 18px 0;font-size:11px}.dues__ages{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 18px 12px;display:grid}.dues__ages article{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-sm);gap:3px;padding:10px 12px;display:grid}.dues__ages small{color:var(--muted);font-size:10px}.dues__ages strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:17px}.dues__ages .dues__warn{border-color:var(--warning-border);background:var(--warning-bg)}.dues__ages .dues__late{border-color:var(--danger-border);background:var(--danger-bg)}.dues__ages .dues__late strong{color:var(--danger)}.dues tfoot td{background:var(--surface-2);font-weight:700}.sa .pi-head h2{align-items:center;gap:8px;display:flex}.sa .pi-head h2 svg{color:var(--accent)}@media (width<=900px){.dues__ages{grid-template-columns:1fr}.dues__head{flex-direction:column}}@media print{.dues__head button{display:none!important}}.pd-priced{background:var(--green-50);border:1px solid var(--accent-border);border-radius:var(--r-sm);margin:0 18px 14px;padding:12px 14px}.pd-priced h3{color:var(--accent-strong);align-items:center;gap:7px;margin:0 0 8px;font-size:13px;display:flex}.pd-priced h3 svg{width:17px;height:17px}.pd-priced ul{gap:5px;margin:0;padding:0;list-style:none;display:grid}.pd-priced li{justify-content:space-between;gap:12px;font-size:11.5px;display:flex}.pd-priced b{font-variant-numeric:tabular-nums;white-space:nowrap}.pd-raise{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--muted)}.pd-raise b{color:var(--accent-strong)}.margins-lead{align-items:flex-start;gap:14px;padding:16px 18px;display:flex}.margins-lead>svg{width:26px;height:26px;color:var(--copper);flex:none;margin-top:2px}.margins-lead h2{margin:0 0 6px;font-size:14px}.margins-lead p{color:var(--muted);margin:0;font-size:11.5px;line-height:1.95}.margins-lead b{color:var(--ink)}.margin-buckets{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0;display:grid}.margin-bucket{text-align:start;border-radius:var(--r-md);border:1px solid var(--line);background:var(--surface);color:var(--ink);gap:4px;padding:12px 14px;display:grid}.margin-bucket strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:23px;line-height:1}.margin-bucket span{color:var(--muted);font-size:10.5px}button.margin-bucket:hover{border-color:var(--accent-border);background:var(--surface-hover)}.margin-bucket.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--green-100)}.margin-bucket--danger strong{color:var(--danger)}.margin-bucket--warning strong{color:var(--copper)}.margin-bucket--ok{opacity:.7}.margin-bucket--ok strong{color:var(--success)}.margin-note{border-bottom:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:9px;padding:12px 16px;font-size:11.5px;line-height:1.95;display:flex}.margin-note p{margin:0}.margin-note>svg{flex:none;width:18px;height:18px;margin-top:2px}.margin-note--danger{background:var(--danger-bg);color:var(--danger)}.margin-note--warning{background:var(--warning-bg)}.margin-toolbar{flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;display:flex}.margin-toolbar .search-field{flex:1;min-width:200px}.data-table .margin-price{border:1px solid var(--input-border);border-radius:var(--r-sm);text-align:center;background:var(--surface);font-variant-numeric:tabular-nums;width:96px;height:32px;padding:0 8px}.margin-implied{font-variant-numeric:tabular-nums;color:var(--copper);font-weight:600}.margin-implied small{color:var(--muted);font-weight:400}.data-table tr.row-picked{background:var(--green-50)}.table-scroll--capped{max-height:46vh;overflow:auto}.margin-skipped{color:var(--muted);margin:10px 0 0;font-size:11px}.margin-bar{z-index:5;border-radius:var(--r-md);border:1px solid var(--accent-border);background:var(--surface);box-shadow:var(--elev-3);flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding:12px 16px;display:flex;position:sticky;bottom:0}.margin-bar>span{margin-inline-end:auto;font-size:12px}.margin-bar b{font-family:var(--font-display);color:var(--accent-strong);font-size:17px}.line-item-wrap{gap:0;display:grid}.line-item-wrap .pi-price{grid-column:auto;margin:0 0 10px}.line-item-wrap .pi-price input[type=number]{border:1px solid var(--input-border);border-radius:var(--r-sm);text-align:center;background:var(--surface);font-variant-numeric:tabular-nums;flex:none;width:92px;height:30px;padding:0 8px}@media (width<=900px){.margin-buckets{grid-template-columns:1fr 1fr}.margins-lead{flex-direction:column}}.button--danger{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-border)}.button--danger:hover{background:var(--danger);color:#fff;border-color:var(--danger)}[data-theme=dark] .button--danger:hover{color:#1a0f0c}.pd-warnings{color:var(--muted);gap:6px;margin:0;padding-inline-start:18px;font-size:12px;display:grid}.pd-warnings li{line-height:1.6}.pl{gap:16px;display:grid}.pl-body{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.pl-side{gap:16px;min-width:0;display:grid}.pl-lede{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);padding:26px 28px 24px;position:relative;overflow:hidden}.pl-lede:before{content:"";top:0;background:var(--success);height:2px;position:absolute;inset-inline:0}.pl-lede--loss:before{background:var(--danger)}.pl-lede__eyebrow{color:var(--muted);margin:0;font-size:12px}.pl-lede__figure{flex-wrap:wrap;align-items:baseline;gap:10px;margin:4px 0 16px;display:flex}.pl-lede__figure span{color:var(--muted);font-size:15px;font-weight:600}.pl-lede__figure strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;color:var(--success);font-size:clamp(34px,5vw,52px);line-height:1.05}.pl-lede__figure em{color:var(--success);background:var(--success-bg);border:1px solid var(--success-border);border-radius:99px;padding:3px 11px;font-size:12px;font-style:normal;font-weight:600}.pl-lede--loss .pl-lede__figure strong{color:var(--danger)}.pl-lede--loss .pl-lede__figure em{color:var(--danger);background:var(--danger-bg);border-color:var(--danger-border)}.pl-lede__note{color:var(--danger);margin:14px 0 0;font-size:12px;line-height:1.7}.pl-bar{background:var(--soft);border:1px solid var(--line);border-radius:5px;height:26px;display:flex;overflow:hidden}.pl-bar__seg{min-width:2px;height:100%;display:block}.pl-bar__seg+.pl-bar__seg{border-inline-start:1px solid var(--surface)}.pl-bar__seg--bare{background:repeating-linear-gradient(135deg,var(--muted) 0 3px,var(--soft) 3px 7px)}.pl-bar__seg--vat{background:var(--info)}.pl-bar__seg--cogs{background:var(--copper)}.pl-bar__seg--opex{background:var(--accent)}.pl-bar__seg--profit{background:var(--success)}@media (prefers-reduced-motion:no-preference){.pl-bar{animation:.65s cubic-bezier(.2,.7,.3,1) both pl-reveal}@keyframes pl-reveal{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}}.pl-key{gap:2px;margin:12px 0 0;padding:0;list-style:none;display:grid}.pl-key__item{border-top:1px solid var(--line-soft);grid-template-columns:12px minmax(0,1fr) auto 52px;align-items:center;gap:11px;padding:7px 0;font-size:13px;display:grid}.pl-key__item:first-child{border-top:0}.pl-key__dot{background:var(--muted);border-radius:3px;width:12px;height:12px}.pl-key__item--bare .pl-key__dot{background:repeating-linear-gradient(135deg,var(--muted) 0 2px,var(--soft) 2px 4px);border:1px solid var(--line)}.pl-key__item--vat .pl-key__dot{background:var(--info)}.pl-key__item--cogs .pl-key__dot{background:var(--copper)}.pl-key__item--opex .pl-key__dot{background:var(--accent)}.pl-key__item--profit .pl-key__dot{background:var(--success)}.pl-key__label{flex-wrap:wrap;align-items:baseline;gap:7px;min-width:0;display:inline-flex}.pl-key__label em{color:var(--muted);background:var(--soft);border:1px solid var(--line);border-radius:99px;padding:1px 7px;font-size:10px;font-style:normal}.pl-key__item b{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink);font-weight:700}.pl-key__item small{color:var(--muted);font-variant-numeric:tabular-nums;text-align:end}.pl-key__item--cogs b,.pl-key__item--opex b{color:var(--copper)}.pl-key__item--profit{font-weight:700}.pl-key__item--profit b{color:var(--success)}.pl-ledger>header{align-items:center;gap:11px;display:flex}.pl-ledger>header>div{min-width:0;margin-inline-end:auto}.pl-stamp{white-space:nowrap;border:1px solid var(--line);color:var(--muted);background:var(--soft);border-radius:99px;padding:4px 12px;font-size:11px;font-weight:700}.pl-stamp--won{color:var(--success);background:var(--success-bg);border-color:var(--success-border)}.pl-stamp--lost{color:var(--danger);background:var(--danger-bg);border-color:var(--danger-border)}.pl-ledger__body{padding:6px 20px 18px}.pl-ledger table{border-collapse:collapse;width:100%}.pl-ledger table td{border-bottom:0;border-inline-end:0}.pl-ledger table tbody tr:nth-child(2n),.pl-ledger table th{background:0 0}.led__row th{text-align:start;vertical-align:top;padding:8px 0;font-weight:600}.led__row td{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap;vertical-align:top;padding:8px 0}.led__name{flex-wrap:wrap;align-items:baseline;gap:7px;display:inline-flex}.led__name em{color:var(--muted);background:var(--soft);border:1px solid var(--line);border-radius:99px;padding:1px 7px;font-size:10px;font-style:normal;font-weight:600}.led__row th small{color:var(--muted);max-width:52ch;margin-top:3px;font-size:11px;font-weight:400;line-height:1.55;display:block}.led__row--out td{color:var(--danger)}.led__row--in td{color:var(--success)}.led__row--zero td{color:var(--muted)}.led__row--rest th,.led__row--rest td{border-top:1px solid var(--line);color:var(--ink);padding-top:9px;font-weight:700}.led__row--rest td{color:var(--success)}.led__row--rest.led__row--zero td{color:var(--muted)}.led__row--end th,.led__row--end td{border-top:2px solid var(--ink);font-family:var(--font-display);padding-top:11px;font-size:20px;font-weight:700}.led__row--end th{color:var(--ink)}.led__row--end td{color:var(--copper)}.pl-ledger--won .led__row--end td{color:var(--success)}.pl-ledger--lost .led__row--end td{color:var(--danger)}.led__row--leaf th{padding:3px 0;color:var(--muted);padding-inline-start:18px;font-size:12px;font-weight:400;position:relative}.led__row--leaf th:before{content:"";inset-inline-start:5px;background:var(--line);width:7px;height:1px;position:absolute;top:11px}.led__row--leaf td{color:var(--muted);padding:3px 0;font-size:12px}.pl-hint{border-top:1px solid var(--line-soft);color:var(--muted);align-items:flex-start;gap:8px;margin:14px 0 0;padding-top:12px;font-size:12px;line-height:1.7;display:flex}.pl-hint svg{width:15px;height:15px;color:var(--warning);flex:none;margin-top:3px}.pl-hint--act{flex-wrap:wrap}.pl-hint--act p{flex:240px;min-width:0;margin:0}.pl-hint--act .button{flex:none;min-height:36px;padding:0 13px;font-size:12px}.pl-hint--act .button svg{width:14px;height:14px;color:inherit;margin-top:0}.pl-note{background:var(--surface-2);padding:20px 22px 22px;position:relative;overflow:hidden}.pl-note:before{content:"";top:0;background:var(--line);height:2px;position:absolute;inset-inline:0}.pl-note h2{align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.pl-note h2 svg{width:16px;height:16px;color:var(--accent)}.pl-note p{color:var(--muted);margin:10px 0 0;font-size:12px;line-height:1.8}.pl-note__figure{font-family:var(--font-display);color:var(--copper);font-variant-numeric:tabular-nums;margin-top:8px;font-size:28px}.pl-note__figure small{color:var(--muted);font-family:inherit;font-size:11px;display:block}@media (width<=1100px){.pl-body{grid-template-columns:minmax(0,1fr)}}@media (width<=820px){.pl-key__item{grid-template-columns:12px minmax(0,1fr) auto;row-gap:0}.pl-key__item small{text-align:start;grid-column:2/-1;font-size:11px}}@media (width<=520px){.pl-hint--act .button{flex:100%}}@media print{.pl-body{grid-template-columns:minmax(0,1fr)}.pl-lede,.pl-ledger,.pl-note{break-inside:avoid}.pl-bar{animation:none}.pl-bar,.pl-bar__seg,.pl-key__dot{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.vat-disclaimer{border:1px solid var(--warning-border,var(--line));background:var(--warning-bg,var(--green-50));border-radius:10px;align-items:flex-start;gap:10px;margin:0 0 16px;padding:12px 14px;font-size:13px;line-height:1.7;display:flex}.vat-disclaimer svg{width:18px;height:18px;color:var(--warning);flex:none;margin-top:2px}.vat-warn{border-inline-start:3px solid var(--warning);margin-bottom:16px;padding:16px 18px}.vat-warn h2{align-items:center;gap:8px;margin:0 0 10px;font-size:15px;display:flex}.vat-warn h2 svg{width:18px;height:18px;color:var(--warning)}.vat-warn ul{gap:8px;margin:0;padding-inline-start:18px;display:grid}.vat-warn li{color:var(--text);font-size:13px;line-height:1.75}.vat-headline{border:1px solid var(--line);background:var(--panel);text-align:center;border-radius:14px;margin-bottom:16px;padding:22px 26px}.vat-headline__eyebrow{color:var(--muted);margin:0;font-size:12px}.vat-headline__figure{font-family:var(--font-display);direction:ltr;margin:6px 0 4px;font-size:clamp(30px,5vw,46px);font-weight:700;line-height:1}.vat-headline--refund .vat-headline__figure{color:var(--success)}.vat-headline__how{color:var(--muted);direction:rtl;margin:0;font-size:12px}.vat-form header{align-items:center;gap:12px;padding:16px 18px 0;display:flex}.vat-form header h2{margin:0;font-size:16px}.vat-form header p{color:var(--muted);text-align:start;direction:ltr;margin:2px 0 0;font-size:12px}.vat-table th[scope=row]{text-align:start;font-weight:600}.vat-table th[scope=row] small{color:var(--muted);margin-top:2px;font-size:11px;font-weight:400;display:block}.vat-table td{text-align:start;font-variant-numeric:tabular-nums;direction:ltr}.vat__row--out td{color:var(--muted)}.vat__row--sum{background:var(--zebra)}.vat__row--sum th[scope=row],.vat__row--sum td{font-weight:700}.vat__row--end th[scope=row],.vat__row--end td{font-size:15px;font-weight:700}.vat__row--end{border-top:2px solid var(--line)}.vat-hint{color:var(--muted);margin:10px 18px 16px;font-size:12px;line-height:1.7}.vat-months{margin-top:16px;padding-top:16px}.vat-months h2{margin:0 18px 12px;font-size:15px}.vat-months td{text-align:start;font-variant-numeric:tabular-nums;direction:ltr}@media print{.vat-disclaimer,.vat-warn{background:0 0;border-color:#000}.vat-headline{border-color:#000}}.quote-preview{border:1px solid var(--line);background:var(--green-50);border-radius:10px;gap:6px;margin:16px 0 0;padding:14px 16px;display:grid}.quote-preview div{justify-content:space-between;gap:12px;font-size:13px;display:flex}.quote-preview dd{font-variant-numeric:tabular-nums;direction:ltr;margin:0}.quote-preview__total{border-top:1px dashed var(--line);margin-top:2px;padding-top:8px;font-size:15px;font-weight:700}.quote-doc{color:#000;direction:rtl;padding:0;font:11pt Tahoma,sans-serif}.quote-doc__head{border-bottom:2px solid #000;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:6mm;padding-bottom:6mm;display:flex}.quote-doc__head h1{margin:0 0 1mm;font-size:19pt}.quote-doc__head small{font-size:9pt}.quote-doc__stamp{text-align:left;direction:ltr}.quote-doc__stamp strong{direction:rtl;font-size:14pt;display:block}.quote-doc__stamp span{font-size:11pt}.quote-doc__meta{grid-template-columns:repeat(2,1fr);gap:2mm 8mm;margin:0 0 6mm;display:grid}.quote-doc__meta div{gap:3mm;font-size:10pt;display:flex}.quote-doc__meta dt{color:#444;min-width:34mm}.quote-doc__meta dd{margin:0;font-weight:600}.quote-doc__items{border-collapse:collapse;width:100%;margin-bottom:6mm}.quote-doc__items th,.quote-doc__items td{text-align:right;border:1px solid #999;padding:2.2mm 3mm;font-size:10pt}.quote-doc__items th{background:#eee;font-weight:700}.quote-doc__items td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums;direction:ltr}.quote-doc__items td small{color:#555}.quote-doc__totals{margin:0 0 6mm;gap:1.5mm;width:78mm;margin-inline-start:auto;display:grid}.quote-doc__totals div{justify-content:space-between;gap:6mm;font-size:10.5pt;display:flex}.quote-doc__totals dd{font-variant-numeric:tabular-nums;direction:ltr;margin:0}.quote-doc__total{border-top:1.5px solid #000;padding-top:2mm;font-size:13pt;font-weight:700}.quote-doc__note{color:#333;border-top:1px dashed #777;padding-top:4mm;font-size:9pt;line-height:1.8}@media print{body:has(#quote-doc) .app-shell{display:none!important}#quote-doc{display:block!important}@page{margin:12mm}}.expense-tax{align-items:stretch;gap:8px;display:flex}.expense-tax input{flex:1;min-width:0}.expense-tax .button{white-space:nowrap;padding-inline:12px}.field-hint{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.6;display:block}:root{--font-display:"Alexandria","IBM Plex Sans Arabic","Segoe UI",sans-serif;--font-body:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI",Tahoma,sans-serif;--font-mono:"IBM Plex Mono","Cascadia Mono",ui-monospace,monospace;font-family:var(--font-body);--r-sm:10px;--r-md:14px;--r-lg:20px;--r-xl:28px;--rail-w:116px;--bar-h:72px;--tabbar-h:70px;--ink-chrome:#081b4b;--ink-chrome-2:#123c99;--chrome-ink:#f8fbff;--chrome-muted:#afc6f6;--chrome-line:#c8dcff29;--bg:#f2f5fa;--app-bg:#f2f5fa;--surface:#fff;--surface-2:#f7f9fc;--surface-hover:#edf4ff;--soft:#eef3fa;--line:#dce4f0;--line-soft:#e9eef6;--input-border:#c9d5e6;--ink:#10213f;--muted:#68778f;--accent:#2864f0;--accent-strong:#1647b8;--accent-soft:#e9f0ff;--accent-border:#bfd0fa;--on-brand:#fff;--action-coral:#ff6b5f;--saffron:#27c2ff;--copper:#1647b8;--copper-100:#e8efff;--on-copper:#fff;--copper-bg:#e8efff;--copper-border:#bdd0ff;--green-950:#071a3d;--green-900:#081b4b;--green-800:#1647b8;--green-700:#2864f0;--green-100:#e4eeff;--green-50:#f0f5ff;--success:#087d67;--success-bg:#e8f7f3;--success-border:#a9ddd1;--warning:#a76500;--warning-bg:#fff7e3;--warning-border:#ead39b;--danger:#c6404f;--danger-bg:#fff0f2;--danger-border:#f0bbc3;--info:#2864f0;--chart-grid:#e1e8f3;--chart-area:#2864f01a;--focus:#2864f02e;--zebra:#133f9107;--topbar-bg:#fffffff0;--sh-1:0 1px 2px #10213f0a,0 1px 1px #10213f08;--sh-2:0 8px 24px #10213f12,0 2px 6px #10213f09;--sh-3:0 20px 55px #05163926,0 4px 12px #05163914;--elev-1:var(--sh-1);--elev-2:var(--sh-2);--elev-3:var(--sh-3);--elev-4:var(--sh-3)}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#071326;--app-bg:#071326;--surface:#0d1c36;--surface-2:#112443;--surface-hover:#142b50;--soft:#10213d;--line:#20395f;--line-soft:#192f50;--input-border:#2b466e;--ink:#edf5ff;--muted:#97abc8;--topbar-bg:#091932f0;--accent:#6c98ff;--accent-strong:#92b3ff;--accent-soft:#142c58;--accent-border:#355a91;--green-50:#10294c;--green-100:#14345e;--copper:#8fb1ff;--copper-100:#142c58;--copper-bg:#142c58;--copper-border:#355a91;--chart-grid:#20385d;--chart-area:#6c98ff21;--zebra:#7aaaff09;--sh-1:0 1px 2px #00000026;--sh-2:0 10px 30px #00000038;--sh-3:0 24px 64px #0000006b}html{background:var(--bg);scrollbar-gutter:stable}body{font-family:var(--font-body);background:radial-gradient(circle at 88% -20%,#27c2ff14,transparent 30rem),var(--bg)}button,input,select,textarea{font-family:inherit}::selection{color:var(--ink);background:#27c2ff47}:where(button,a,input,select,textarea):focus-visible{outline:3px solid var(--focus);outline-offset:2px}.matrix-mark{width:34px;height:34px;color:inherit;flex:none;display:block}.matrix-mark svg{width:100%;height:100%;display:block;overflow:visible}.matrix-mark__frame{stroke:currentColor;stroke-width:2.7px;stroke-linejoin:round}.matrix-mark__link{stroke:currentColor;stroke-width:2px;stroke-linecap:round;opacity:.62}.matrix-mark__core{fill:var(--saffron);stroke:#ffffffeb;stroke-width:1px}.brand{align-items:center;gap:13px;display:flex}.brand__mark{color:#fff;background:linear-gradient(145deg,#174bb7,#071a3d);border:1px solid #78d9ff61;border-radius:16px;place-items:center;width:50px;height:50px;padding:8px;display:grid;box-shadow:0 12px 30px #081b4b38,inset 0 1px #ffffff29}.brand__mark .matrix-mark{width:100%;height:100%}.brand>span:last-child{gap:2px;line-height:1;display:grid}.brand strong{font-family:var(--font-display);letter-spacing:-.035em;color:var(--ink-chrome);font-size:25px;font-weight:700}.brand small{color:var(--muted);letter-spacing:.015em;font-size:10.5px}[data-theme=dark] .brand strong{color:#f5f8ff}.brand--compact{gap:8px}.brand--compact .brand__mark{width:30px;height:30px;box-shadow:none;border-radius:9px;padding:5px}.brand--compact strong{font-size:14px}.brand--compact small{display:none}.app-loading{text-align:center;color:#fff;background:linear-gradient(145deg,#09245e 0%,#071a3d 55%,#05132d 100%);place-content:center;justify-items:center;gap:24px;min-height:100dvh;display:grid;position:relative;overflow:hidden}.app-loading:before,.app-loading:after{content:"";border:1px solid #78d9ff29;position:absolute;inset:auto;transform:rotate(45deg)}.app-loading:before{width:34vw;min-width:360px;height:34vw;min-height:360px;top:-16vw;right:-14vw}.app-loading:after{width:24vw;min-width:260px;height:24vw;min-height:260px;bottom:-12vw;left:-10vw}.app-loading__halo{filter:blur(90px);background:#27c2ff1a;border-radius:50%;width:420px;height:420px;position:absolute}.app-loading>.brand{z-index:2;flex-direction:column;gap:16px;height:auto;position:relative}.app-loading>.brand .brand__mark{border-radius:24px;flex:none;width:84px;height:84px;padding:15px}.app-loading>.brand>span:last-child{justify-items:center;gap:6px}.app-loading>.brand strong{color:#fff;font-size:34px}.app-loading>.brand small{color:#e1eeffad;font-size:11px}.app-loading__line{z-index:2;background:#ffffff1f;border-radius:2px;width:190px;height:2px;position:relative;overflow:hidden}.app-loading__line i{background:linear-gradient(90deg,#0000,#27c2ff,#0000);width:45%;height:100%;animation:1.45s ease-in-out infinite loading-line;display:block}.app-loading>p{color:#ffffffb3;z-index:2;margin:-12px 0 0;font-size:12px;position:relative}@keyframes loading-line{0%{transform:translate(170%)}50%,to{transform:translate(-260%)}}.app-shell{background:var(--bg)}.sidebar{width:var(--rail-w);background:linear-gradient(#27c2ff17,#0000 170px),linear-gradient(#0b2c72 0%,#081b4b 54%,#061635 100%);border-inline-end:1px solid #78d9ff29;box-shadow:8px 0 36px #0516391c}.rail__brand{color:#fff;border-bottom:1px solid var(--chrome-line);background:#ffffff06;flex-direction:column;justify-content:center;gap:9px;min-height:112px;padding:18px 8px 14px;display:flex}.rail__brand:after{content:"";background:var(--saffron);opacity:.9;border-radius:2px;width:22px;height:2px}.rail__brand .matrix-mark{width:44px;height:44px}.rail__brand b{font-family:var(--font-display);letter-spacing:-.03em;font-size:13px}.rail__nav{gap:5px;padding:12px 9px}.rail__group{border:0;gap:4px;margin:0;padding:0}.rail__item{min-height:59px;color:var(--chrome-muted);border-radius:13px;gap:5px;font-size:10px;transition:background .18s,color .18s,transform .18s}.rail__item svg{stroke-width:1.8px;width:20px;height:20px}.rail__item:hover{color:#fff;background:#ffffff14;transform:translateY(-1px)}.rail__item.active{color:#fff;background:linear-gradient(135deg,#2864f0eb,#27c2ff33);box-shadow:inset 0 0 0 1px #8bccff38,0 8px 22px #030e263d}.rail__item.active:before{content:"";background:var(--saffron);border-radius:0 3px 3px 0;width:3px;height:24px;position:absolute;inset-inline-start:-9px}.rail__foot{border-top:1px solid var(--chrome-line);gap:4px;padding:10px 9px 14px}.rail__matrix{color:#ffffff61;place-items:center;height:28px;margin-bottom:4px;display:grid}.rail__matrix .matrix-mark{width:22px;height:22px}.workspace{min-width:0;margin:0}.topbar{height:var(--bar-h);background:var(--topbar-bg);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:0 clamp(16px,2.2vw,32px);box-shadow:0 1px #ffffffb3}.topbar__mark{width:42px;height:42px;color:var(--ink-chrome);background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:13px;display:none}.topbar__mark .matrix-mark{width:28px;height:28px}.topbar__title{gap:12px}.topbar__title>svg{width:36px;height:36px;color:var(--accent);background:var(--accent-soft);border:1px solid var(--accent-border);box-sizing:border-box;border-radius:11px;padding:9px}.topbar__title small{letter-spacing:.02em;color:var(--muted);font-size:9.5px}.topbar__title strong{font-family:var(--font-display);color:var(--ink);font-size:14px;font-weight:600}.topbar__tools{gap:8px}.profile{border:1px solid var(--line);background:var(--surface);min-width:174px;box-shadow:var(--sh-1);border-radius:14px;padding:6px 10px 6px 13px}.profile:hover{background:var(--surface-hover);border-color:var(--accent-border)}.avatar{background:linear-gradient(145deg,var(--accent),var(--ink-chrome));color:#fff;box-shadow:inset 0 1px #ffffff40}.sync-state,.install-app-button,.theme-toggle{height:40px;box-shadow:var(--sh-1);border-radius:12px}.page{width:100%;max-width:1680px;margin-inline:auto;padding:clamp(18px,2.4vw,34px)}.page-header{border-bottom:1px solid var(--line);align-items:flex-end;min-height:78px;margin:0 0 22px;padding:0 0 18px;position:relative}.page-header:after{content:"";bottom:-1px;background:linear-gradient(90deg,var(--accent),var(--saffron));border-radius:3px;width:52px;height:3px;position:absolute;inset-inline-start:0}.page-header h1{font-family:var(--font-display);letter-spacing:-.04em;color:var(--ink);font-size:clamp(24px,2.2vw,34px);font-weight:650;line-height:1.25}.page-header p{color:var(--muted);margin-top:6px;font-size:12.5px}.page-header__actions{gap:9px}.back-button{background:var(--surface);border:1px solid var(--line);height:40px;color:var(--ink);box-shadow:var(--sh-1);border-radius:12px;padding:0 12px}.back-button:hover{border-color:var(--accent-border);background:var(--surface-hover);color:var(--accent)}.button{border-radius:12px;gap:7px;min-height:42px;padding:0 16px;font-size:12.5px;font-weight:650;transition:transform .16s,box-shadow .16s,border-color .16s,background .16s}.button:hover{transform:translateY(-1px)}.button svg{width:17px;height:17px}.button--primary{color:#fff;background:linear-gradient(135deg,#2d6bff,#1d52d0);border-color:#235bdd;box-shadow:0 8px 18px #2864f038,inset 0 1px #ffffff2e}.button--primary:hover{background:linear-gradient(135deg,#3673ff,#1748be);box-shadow:0 11px 24px #2864f047}.button--outline{background:var(--surface);border-color:var(--line);color:var(--ink);box-shadow:var(--sh-1)}.button--outline:hover{background:var(--surface-hover);border-color:var(--accent-border);color:var(--accent)}.button--ghost{color:var(--muted)}.button--large{border-radius:14px;min-height:54px;font-size:14px}.icon-button{color:var(--muted);border-radius:11px}.icon-button:hover{background:var(--surface-hover);color:var(--accent)}.field{gap:7px}.field>span,.login-panel form>label{color:var(--ink);font-size:11.5px;font-weight:650}input,select,textarea{border:1px solid var(--input-border);background:var(--surface);min-height:42px;color:var(--ink);border-radius:11px;font-size:13px;box-shadow:inset 0 1px 2px #10213f06}input:hover,select:hover,textarea:hover{border-color:#afc0d8}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--focus)}.search-field{border:1px solid var(--input-border);background:var(--surface);min-height:46px;box-shadow:var(--sh-1);border-radius:13px}.search-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--focus)}.search-field>svg{color:var(--accent)}.form-grid{gap:16px}.form-actions{border-top:1px solid var(--line-soft);padding-top:16px}.panel,.account-card,.supplier-card,.supplier-total,.purchase-import,.date-label,.held-item,.last-sale,.last-sale--return{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-1)}.panel{overflow:hidden}.panel>header,.panel-head{border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--surface-2));min-height:58px;padding:14px 18px}.panel>header h2,.panel-head h2{font-family:var(--font-display);color:var(--ink);font-size:14px;font-weight:600}.panel-icon,.stat-icon{background:var(--accent-soft);border-color:var(--accent-border);color:var(--accent)}.data-panel{border-radius:var(--r-lg)}.data-toolbar,.toolbar,.filter-row{background:var(--surface-2);border-bottom:1px solid var(--line);padding:13px 16px}.table-scroll,.table-wrapper{scrollbar-color:#b5c4d9 transparent}.data-table{font-size:12px}.data-table th,.recent-sales th,.report-products th{background:var(--surface-2);height:44px;color:var(--muted);letter-spacing:.01em;border-color:var(--line);font-size:10.5px}.data-table td,.recent-sales td,.report-products td{border-color:var(--line-soft);vertical-align:middle;height:52px}.data-table tbody tr:hover,.recent-sales tbody tr:hover{background:var(--surface-hover)}.data-table tbody tr:nth-child(2n),.recent-sales tbody tr:nth-child(2n){background:var(--zebra)}.ltr-code{font-family:var(--font-mono);font-variant-numeric:tabular-nums;letter-spacing:.01em}.danger-text{color:var(--danger)!important}.status{border:1px solid var(--line);background:var(--surface-2);border-radius:999px;min-height:25px;padding:3px 9px;font-size:10.5px;font-weight:650}.empty{text-align:center;background:radial-gradient(circle,var(--accent-soft),transparent 64%);place-content:center;justify-items:center;min-height:210px;padding:38px;display:grid}.empty>svg{width:42px;height:42px;color:var(--accent);background:var(--surface);border:1px solid var(--accent-border);border-radius:14px;padding:10px}.empty strong{font-family:var(--font-display);margin-top:12px;font-size:14px}.empty p{color:var(--muted);font-size:11.5px}.shared-data-notice{border:1px solid var(--success-border);background:var(--success-bg);border-radius:14px}.toast{color:#fff;min-height:48px;box-shadow:var(--sh-3);background:#071a3d;border:1px solid #78d9ff38;border-radius:14px;padding:10px 16px;bottom:28px}.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis,.employee-stats,.stats-strip,.stats-strip--premium{gap:14px;margin-bottom:20px}.customer-summary article,.sales-day-strip article,.inventory-stats article,.purchase-summary article,.report-kpis article,.employee-stats article,.stats-strip article,.stat-card{border:1px solid var(--line);background:linear-gradient(145deg,var(--surface),var(--surface-2));min-height:110px;box-shadow:var(--sh-1);border-radius:16px;padding:17px 18px}.customer-summary article:before,.sales-day-strip article:before,.inventory-stats article:before,.purchase-summary article:before,.report-kpis article:before,.employee-stats article:before,.stat-card:before{background:linear-gradient(90deg,var(--accent),var(--saffron));opacity:.9;height:3px}.customer-summary article>svg,.sales-day-strip article>svg,.inventory-stats article>svg,.purchase-summary article>svg,.report-kpis article>svg,.employee-stats article>svg,.stats-strip svg{background:var(--accent-soft);border-color:var(--accent-border);color:var(--accent);border-radius:11px}.customer-summary strong,.sales-day-strip strong,.inventory-stats strong,.purchase-summary strong,.report-kpis strong,.employee-stats strong,.stats-strip strong,.stat-value{font-family:var(--font-display);color:var(--ink);font-variant-numeric:tabular-nums;font-weight:650}.dashboard-premium{gap:0;display:grid}.daysheet{border:1px solid var(--line);background:var(--surface);box-shadow:var(--sh-2);border-radius:24px;margin-bottom:20px;overflow:hidden}.daysheet__lead{color:#fff;background:radial-gradient(circle at 16% 14%,#27c2ff1f,#0000 40%),linear-gradient(145deg,#0c3078,#071a3d);padding:26px 28px;position:relative}.daysheet__lead:after{content:"";border:1px solid #78d9ff2e;width:190px;height:190px;position:absolute;top:-80px;left:-70px;transform:rotate(45deg)}.daysheet .eyebrow{color:#afc6f6}.daysheet__figure{letter-spacing:-.05em;color:#fff;text-shadow:0 8px 28px #0000002e;font-size:clamp(34px,5vw,62px)}.daysheet__ledger>div{border-color:var(--line);padding:20px}.daysheet__ledger dd{font-family:var(--font-display);font-weight:650}.trend-strip__bars span{background:#ffffff47}.trend-strip__bars span.is-today{background:var(--saffron);box-shadow:0 0 16px #27c2ff73}.dashboard-grid{gap:18px}.rank-row,.compact-table>div{border-color:var(--line-soft)}.rank{background:var(--accent-soft);border-color:var(--accent-border)!important;color:var(--accent)!important}.quick-actions>button{box-shadow:var(--sh-1);border-radius:16px}.quick-card--primary{background:linear-gradient(135deg,#2d6bff,#153e9c);border-color:#2459d1;box-shadow:0 12px 26px #2864f033}.quick-card--primary:hover{background:linear-gradient(135deg,#3673ff,#123789)}.profit-notice{border:1px solid var(--warning-border);background:var(--warning-bg);border-radius:16px}.page:has(>.pos-screen){max-width:none;padding:0}.pos-screen{background:0 0;grid-template-columns:minmax(0,1fr) minmax(370px,430px);gap:18px;padding:20px clamp(16px,2vw,30px) 28px}.pos-topbar{min-height:62px;box-shadow:var(--sh-1);border-radius:16px;padding:10px 12px 10px 16px}.pos-topbar__who i{background:linear-gradient(145deg,var(--accent),var(--ink-chrome));box-shadow:0 5px 14px #2864f033}.scan-input--hero{border:2px solid var(--accent);border-radius:16px;height:72px;box-shadow:0 10px 28px #2864f017}.scan-input--hero:focus-within{border-color:var(--saffron);box-shadow:0 0 0 4px #27c2ff2b,0 12px 32px #2864f01f}.scan-input--hero>svg{color:var(--accent)}.open-amount-button{min-height:64px;box-shadow:var(--sh-1);border-radius:15px}.pos-invoice{box-shadow:var(--sh-2);border-color:#cbd8ea;border-radius:20px}.pos-invoice>header{background:linear-gradient(180deg,var(--surface),var(--surface-2));min-height:60px}.invoice-line{padding:14px 16px}.invoice-line--new{animation:1.2s ease-out matrix-line-flash}@keyframes matrix-line-flash{0%{box-shadow:inset -4px 0 var(--saffron);background:#27c2ff2b}to{background:0 0;box-shadow:inset -4px 0 #0000}}.invoice-options,.invoice-totals,.invoice-pay{background:var(--surface)}.invoice-totals .grand-total{color:var(--accent);font-size:25px}.pay-methods button{background:var(--surface-2);border-radius:13px}.pay-methods button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.button--checkout{color:#fff;background:linear-gradient(135deg,#2d6bff,#1647b8);border-color:#2158d7;border-radius:15px;min-height:62px;box-shadow:0 12px 26px #2864f042}.button--checkout:hover{background:linear-gradient(135deg,#3976ff,#113a9d);box-shadow:0 15px 32px #2864f052}[data-theme=dark] .button--checkout,[data-theme=dark] .quick-card--primary{color:#fff}.supplier-grid{gap:16px}.supplier-card{padding:18px;transition:transform .16s,box-shadow .16s,border-color .16s}.supplier-card:hover{border-color:var(--accent-border);box-shadow:var(--sh-2);transform:translateY(-2px)}.supplier-avatar,.employee-avatar{background:var(--accent-soft);color:var(--accent);border:1px solid var(--accent-border)}.account-layout,.inventory-layout,.reports-grid{gap:18px}.account-card{padding:22px}.account-card h2{font-family:var(--font-display)}.audit-details,.detail-meta,.detail-stats,.return-summary,.payment-breakdown{border-color:var(--line);background:var(--surface-2);border-radius:14px}.purchase-import,.pd{box-shadow:var(--sh-1)}.pi-head{background:linear-gradient(180deg,var(--surface),var(--surface-2));min-height:62px}.pi-supplier,.pi-foot,.pi-lines__head,.pd-sums{background:var(--surface-2)}.line-item,.split-row,.held-item,.credit-only,.pricing-info,.legacy-note,.report-note{border-color:var(--line);border-radius:13px}.purchase-total,.payment-total{background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:15px}.purchase-total strong,.payment-total strong{color:var(--accent)}.report-chart path{stroke:var(--accent)}.report-chart circle{fill:var(--saffron);stroke:var(--surface)}.p-method__bar{background:var(--soft);height:7px}.p-method__bar i{background:linear-gradient(90deg,var(--accent),var(--saffron))}.date-label{overflow:hidden}.barcode-preview{background:#fff;border:1px dashed #b9c6d8;border-radius:14px}.toggle-field input:checked{background:var(--accent)}.modal-backdrop,.sheet-backdrop,.leave-confirm-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#040f26a8}.modal,.leave-confirm{border:1px solid var(--line);box-shadow:var(--sh-3);border-radius:22px}.modal>header{background:linear-gradient(180deg,var(--surface),var(--surface-2));height:64px;padding:0 20px}.modal>header h2{font-size:16px}.modal__body{padding:20px}.sheet{background:var(--surface);box-shadow:var(--sh-3);border-radius:24px 24px 0 0}.sheet__head{border-bottom:1px solid var(--line);background:var(--surface-2);min-height:72px}.sheet__brand{color:var(--ink-chrome);align-items:center;gap:9px;display:flex}.sheet__brand .matrix-mark{width:32px;height:32px}.sheet__brand strong{font-family:var(--font-display);font-size:16px}.sheet__identity{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;align-items:center;gap:10px;margin:14px 16px 0;padding:12px;display:flex}.sheet__identity>span:last-child{display:grid}.sheet__identity strong{font-size:12.5px}.sheet__identity small{color:var(--muted);font-size:10px}.sheet__group h3{letter-spacing:.025em;color:var(--muted);font-size:10px}.sheet__group button{border-radius:13px}.sheet__group button.active{background:var(--accent-soft);color:var(--accent);border-color:var(--accent-border)}.sheet__powered{color:var(--muted);font-family:var(--font-display);align-items:center;gap:6px;margin-inline-end:auto;font-size:11px;display:flex}.sheet__powered .matrix-mark{width:20px;height:20px}.update-banner{color:#fff;background:linear-gradient(90deg,#1647b8,#2864f0)}.trial-banner{border-inline-start-color:var(--accent)}.skeleton-line{background:linear-gradient(90deg,var(--soft),var(--surface-hover),var(--soft));background-size:220% 100%}.login-page{background:var(--surface);grid-template-columns:minmax(420px,.92fr) minmax(520px,1.08fr);min-height:100dvh}.login-panel{background:var(--surface);padding:clamp(38px,6vh,72px) clamp(34px,6vw,96px);position:relative;overflow-y:auto}.login-panel>.brand{margin-bottom:clamp(44px,7vh,76px)}.login-copy{margin-bottom:28px}.login-eyebrow{color:var(--accent);letter-spacing:.04em;align-items:center;gap:8px;margin-bottom:12px;font-size:10.5px;font-weight:700;display:inline-flex}.login-eyebrow:before{content:"";background:linear-gradient(90deg,var(--accent),var(--saffron));border-radius:2px;width:24px;height:2px}.login-copy h1{letter-spacing:-.045em;font-size:clamp(30px,4vw,46px);font-weight:650}.login-copy p{max-width:47ch;font-size:13.5px;line-height:1.9}.login-panel form{gap:18px}.input-with-icon{border:1px solid var(--input-border);background:var(--surface);height:52px;box-shadow:var(--sh-1);border-radius:14px}.input-with-icon:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--focus)}.input-with-icon>svg{color:var(--accent)}.login-panel .button--large{width:100%;margin-top:4px}.forgot-password-link,.back-to-login{color:var(--accent)}.register-link{border:1px solid var(--line);background:var(--surface-2);border-radius:15px}.register-link:hover{border-color:var(--accent-border);background:var(--surface-hover)}.login-security{border-top:1px solid var(--line);color:var(--muted);padding-top:18px}.login-visual{background:radial-gradient(circle at 76% 20%,#27c2ff33,#0000 24rem),linear-gradient(145deg,#123c99 0%,#081b4b 58%,#05132d 100%);justify-content:center;align-items:flex-start;padding:clamp(50px,7vw,100px);position:relative;overflow:hidden}.login-visual:before{content:"";background-image:linear-gradient(#96c8ff1c 1px,#0000 1px),linear-gradient(90deg,#96c8ff1c 1px,#0000 1px);background-size:76px 76px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 86%);mask-image:linear-gradient(#000,#0000 86%)}.login-visual:after{content:"";border:1px solid #78d9ff2e;width:420px;height:420px;position:absolute;bottom:-190px;left:-180px;transform:rotate(45deg)}.matrix-network{z-index:1;aspect-ratio:1.4;background:#ffffff06;border:1px solid #9bcfff52;place-items:center;width:min(450px,84%);margin:0 0 46px;display:grid;position:relative;box-shadow:inset 0 0 60px #27c2ff0d}.matrix-network>.matrix-mark{color:#fff;background:#061940c7;border:1px solid #78d9ff6b;border-radius:28px;width:112px;height:112px;padding:22px;box-shadow:0 25px 60px #00000047,inset 0 1px #ffffff1f}.matrix-network>i{background:#9bcfff47}.login-visual__eyebrow{z-index:1;color:#78d9ff;letter-spacing:.05em;font-size:10.5px;font-weight:650;position:relative}.login-visual blockquote{z-index:1;letter-spacing:-.035em;color:#fff;max-width:20ch;margin:14px 0 18px;font-size:clamp(24px,3vw,38px);font-weight:560;line-height:1.65;position:relative}.login-visual>small{z-index:1;text-align:start;color:#e2eeffa8;max-width:52ch;font-size:12px;position:relative}.tabbar{height:var(--tabbar-h);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#071a3df5;border-top:1px solid #78d9ff33;box-shadow:0 -12px 35px #0516392e}.tabbar button{color:#9fb8e8;font-size:9.5px}.tabbar button svg{width:21px;height:21px}.tabbar button.active{color:#fff}.tabbar button.active:before{background:var(--saffron);border-radius:0 0 4px 4px;height:3px}.tabbar button.active svg{filter:drop-shadow(0 0 8px #27c2ff73)}@media (width<=1099px){:root{--bar-h:64px;--rail-w:0px}.sidebar{display:none}.workspace{margin:0}.topbar{padding:0 12px}.topbar__mark{place-items:center;display:grid}.topbar__title>svg{display:none}.page{padding:18px 14px calc(var(--tabbar-h) + 22px)}.page-header{align-items:flex-start;gap:12px;min-height:auto}.page-header__actions{justify-content:flex-start;width:100%}.profile{min-width:0}.profile>span:last-child{display:none}.sync-state,.install-app-button,.theme-toggle{place-items:center;width:40px;padding:0;display:grid}.pos-screen{padding:14px 12px calc(var(--tabbar-h) + 94px);grid-template-columns:1fr}.button--checkout{bottom:calc(var(--tabbar-h) + 10px);inset-inline:12px;box-shadow:0 15px 38px #0516394d}}@media (width<=900px){.login-page{grid-template-columns:1fr;display:grid}.login-visual{display:none}.login-panel{min-height:100dvh;padding:34px clamp(20px,6vw,52px)}.login-panel>.brand{margin-bottom:46px}.daysheet{grid-template-columns:1fr}.daysheet__ledger{grid-template-columns:1fr 1fr}}@media (width<=620px){.page{padding-inline:11px}.topbar__tools{gap:5px}.sync-state{display:none}.page-header h1{font-size:23px}.page-header p{font-size:11.5px}.page-header__actions{grid-template-columns:1fr 1fr;display:grid}.page-header__actions>.button:only-child{grid-column:1/-1}.customer-summary,.sales-day-strip,.inventory-stats,.purchase-summary,.report-kpis,.employee-stats,.stats-strip,.stats-strip--premium{grid-template-columns:1fr 1fr;gap:9px}.customer-summary article,.sales-day-strip article,.inventory-stats article,.purchase-summary article,.report-kpis article,.employee-stats article,.stats-strip article,.stat-card{border-radius:14px;min-height:96px;padding:13px}.daysheet__lead{padding:22px 18px}.daysheet__ledger{grid-template-columns:1fr}.dashboard-grid{gap:12px}.panel{border-radius:16px}.scan-input--hero{height:64px}.pos-topbar{align-items:flex-start}.pos-invoice{border-radius:17px}.modal{border-radius:18px;width:calc(100% - 16px);max-height:calc(100dvh - 20px)}.modal__body{padding:15px}.app-loading>.brand .brand__mark{width:76px;height:76px}.app-loading>.brand strong{font-size:28px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{.sidebar,.topbar,.tabbar,.app-loading{display:none!important}.workspace{margin:0!important}.page{max-width:none!important;padding:0!important}.panel{box-shadow:none!important}}.business-hero{isolation:isolate;color:#fff;background:linear-gradient(135deg,#071a40 0%,#103b93 58%,#1761cd 100%);border:1px solid #72b7ff3d;border-radius:22px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;margin-bottom:18px;padding:24px 26px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 45px #061c4833}.business-hero:before{content:"";z-index:-1;background-image:linear-gradient(#8ecdff14 1px,#0000 1px),linear-gradient(90deg,#8ecdff14 1px,#0000 1px);background-size:42px 42px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#000,#0000);mask-image:linear-gradient(90deg,#000,#0000)}.business-hero:after{content:"";z-index:-1;border:1px solid #6dd9ff33;width:260px;height:260px;position:absolute;inset:-120px auto auto -70px;transform:rotate(45deg)}.business-hero__mark{background:#0414357a;border:1px solid #8dd3ff6b;border-radius:20px;place-items:center;width:74px;height:74px;display:grid;box-shadow:inset 0 1px #ffffff1f}.business-hero__mark .matrix-mark{width:44px;height:44px}.business-hero__identity>span,.section-kicker{letter-spacing:.07em;color:#76d7ff;font-size:10px;font-weight:700}.business-hero__identity h2{font-family:var(--font-display);margin:5px 0 4px;font-size:26px;font-weight:650}.business-hero__identity p{color:#c5d9f8;margin:0;font-size:11.5px}.business-hero__stats{grid-template-columns:repeat(3,minmax(88px,1fr));gap:8px;display:grid}.business-hero__stats>span{background:#ffffff12;border:1px solid #96ccff33;border-radius:14px;align-content:center;min-height:70px;padding:11px 14px;display:grid}.business-hero__stats strong{font-family:var(--font-display);font-size:20px}.business-hero__stats small{color:#aac4ed;margin-top:3px;font-size:9.5px}.business-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,.58fr);align-items:start;gap:18px;display:grid}.business-profile__form{padding:20px}.business-profile__note{border:1px solid var(--accent-border);background:var(--accent-soft);border-radius:13px;align-items:center;gap:11px;padding:13px;display:flex}.business-profile__note>svg{width:22px;color:var(--accent);flex:none}.business-profile__note span{display:grid}.business-profile__note strong{font-size:12px}.business-profile__note small{color:var(--muted);margin-top:3px;font-size:10.5px;line-height:1.65}.business-readiness{color:#fff;box-shadow:var(--sh-2);background:linear-gradient(160deg,#0c2555,#071731);border:1px solid #173e80;border-radius:18px;position:sticky;top:92px;overflow:hidden}.business-readiness>header{border-bottom:1px solid #95c9ff26;align-items:center;gap:10px;padding:18px;display:flex}.business-readiness>header>svg{color:#65d2ff;width:30px}.business-readiness>header span{display:grid}.business-readiness>header strong{font-family:var(--font-display);font-size:14px}.business-readiness>header small{color:#91add4;margin-top:2px;font-size:10px}.business-readiness dl{margin:0;padding:8px 18px}.business-readiness dl>div{border-bottom:1px solid #95c9ff1a;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;font-size:11px;display:flex}.business-readiness dd{margin:0;font-weight:700}.business-readiness dd.ready{color:#6de1ae}.business-readiness dd.missing{color:#ffcb6b}.business-readiness>p{color:#9eb8de;margin:0;padding:14px 18px;font-size:10px;line-height:1.7}.business-branches{margin-top:22px}.business-branches>header{justify-content:space-between;align-items:end;gap:16px;margin-bottom:13px;display:flex}.business-branches h2{font-family:var(--font-display);margin:4px 0 3px;font-size:20px}.business-branches header p{color:var(--muted);margin:0;font-size:11.5px}.section-kicker{color:var(--accent)}.branch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.branch-card{border:1px solid var(--line);background:var(--surface);min-height:238px;box-shadow:var(--sh-1);border-radius:17px;gap:14px;padding:17px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid}.branch-card:hover{border-color:var(--accent-border);box-shadow:var(--sh-2);transform:translateY(-2px)}.branch-card--inactive{opacity:.68}.branch-card__top{align-items:flex-start;gap:11px;display:flex}.branch-card__icon{border:1px solid var(--accent-border);background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:12px;flex:none;place-items:center;display:grid}.branch-card__icon svg{width:20px}.branch-card__top>div{min-width:0}.branch-card__badges{flex-wrap:wrap;gap:5px;margin-bottom:7px;display:flex}.branch-card__badges .status{align-items:center;gap:4px;display:inline-flex}.branch-card__badges svg{width:11px;height:11px}.branch-card h3{font-family:var(--font-display);margin:0 0 3px;font-size:15px}.branch-card code{color:var(--muted);font-size:10px}.branch-card__details{align-content:start;gap:8px;min-height:55px;display:grid}.branch-card__details p{color:var(--muted);align-items:flex-start;gap:7px;margin:0;font-size:10.5px;line-height:1.55;display:flex}.branch-card__details svg{width:14px;height:14px;color:var(--accent);flex:none}.branch-card>footer{border-top:1px solid var(--line-soft);flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:12px;display:flex}.branch-card>footer .text-action{padding:6px 8px}.branch-form .branch-check{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;align-items:center;gap:10px;padding:11px;display:flex}.branch-check>input{width:17px;height:17px;min-height:0;accent-color:var(--accent)}.branch-check>span{display:grid}.branch-check strong{font-size:11.5px}.branch-check small{color:var(--muted);margin-top:2px;font-size:9.5px}@media (width<=1100px){.business-hero{grid-template-columns:auto 1fr}.business-hero__stats{grid-column:1/-1}.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.business-layout{grid-template-columns:1fr}.business-readiness{position:static}.business-hero{padding:20px}.business-hero__stats{grid-template-columns:repeat(3,1fr)}}@media (width<=620px){.business-hero{grid-template-columns:auto 1fr;gap:14px;padding:17px}.business-hero__mark{border-radius:16px;width:58px;height:58px}.business-hero__mark .matrix-mark{width:34px;height:34px}.business-hero__identity h2{font-size:20px}.business-hero__identity p{font-size:10px}.business-hero__stats{grid-template-columns:1fr 1fr 1fr;gap:6px}.business-hero__stats>span{min-width:0;min-height:62px;padding:8px}.business-hero__stats strong{font-size:16px}.business-hero__stats small{font-size:8.5px}.business-branches>header{align-items:flex-start}.business-branches>header .button{padding-inline:10px}.branch-grid{grid-template-columns:1fr}.business-profile__form{padding:15px}.page:has(>.pos-screen){overflow-x:clip}.page>.pos-screen{width:100%;min-width:0;max-width:100%;padding:14px 12px calc(var(--tabbar-h) + 24px);flex-direction:column;grid-template-columns:none;display:flex}.page>.pos-screen>*{width:100%;min-width:0;max-width:100%;margin-inline:0}.page>.pos-screen .pos-scanbar>*,.page>.pos-screen .pos-invoice>*{min-width:0;max-width:100%}.page>.pos-screen .button--checkout{box-sizing:border-box;z-index:auto;width:100%;max-width:100%;margin:0;position:static;inset:auto}.app-shell--cashier .page:not(:has(>.pos-screen)){width:100%;max-width:100%;padding-top:18px;padding-right:max(16px,env(safe-area-inset-right));padding-bottom:calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));margin:0;overflow-x:clip}.app-shell--cashier .page:not(:has(>.pos-screen))>*{min-width:0;max-width:100%}.app-shell--cashier .shared-data-notice{gap:10px;width:100%;padding:13px}.app-shell--cashier .shared-data-notice>div,.app-shell--cashier .account-card>header>div{min-width:0}.app-shell--cashier .shared-data-notice strong,.app-shell--cashier .shared-data-notice p{overflow-wrap:anywhere}.app-shell--cashier .account-card{padding:16px}}[data-theme=dark] .app-shell--cashier .shared-data-notice{color:var(--ink);border-color:var(--success-border);background:#102f2a}[data-theme=dark] .app-shell--cashier .shared-data-notice strong{color:#f4fbf8}[data-theme=dark] .app-shell--cashier .shared-data-notice p{color:#b8d8cf}[data-theme=dark] .app-shell--cashier .shared-data-notice>span{color:var(--success);background:var(--surface)}.employee-branch{white-space:normal;gap:5px;min-width:155px;max-width:260px;display:grid}.employee-branch>span{color:var(--ink);align-items:center;gap:7px;display:flex}.employee-branch svg,.account-branch>svg{color:var(--accent);flex:none}.employee-branch strong{overflow-wrap:anywhere;font-size:12px}.employee-branch small{color:var(--muted);font-size:10px}.employee-branch .text-action{min-height:36px;color:var(--accent);justify-self:start}.employee-branch-form{gap:18px;display:grid}.employee-branch-form>p{color:var(--muted);margin:0;font-size:12px;line-height:1.9}.employee-branch-form>.form-error{color:var(--danger)}.account-branch{border:1px solid var(--accent-border);background:var(--accent-soft);border-radius:14px;align-items:center;gap:12px;margin-bottom:18px;padding:16px;display:flex}.account-branch>div{overflow-wrap:anywhere;min-width:0}.account-branch strong,.account-branch small{display:block}.account-branch strong{color:var(--ink);font-size:13px}.account-branch small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.8}.pos-topbar__who .pos-branch{color:var(--accent);overflow-wrap:anywhere;line-height:1.7}.branch-selector{min-width:0;color:var(--ink);white-space:nowrap;align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.branch-selector svg{width:17px;height:17px;color:var(--accent);flex:none}.branch-selector select{border:1px solid var(--line);background:var(--surface);min-width:130px;max-width:220px;height:36px;color:var(--ink);border-radius:8px;padding:0 8px}.branch-selector--readonly{color:var(--muted)}@media (width<=720px){.branch-selector span{display:none}.branch-selector select{min-width:90px;max-width:145px}.branch-selector--readonly{font-size:10px}}@media (width<=620px){.topbar{height:auto;min-height:var(--bar-h);flex-wrap:wrap;row-gap:5px;padding-block:5px}.branch-selector{flex:1 0 100%;order:3}.branch-selector select{flex:1;max-width:none}}.subscription-status{color:#185739;background:#eaf4ed;justify-content:space-between;align-items:center;gap:12px;padding:9px 22px;font-size:11px;font-weight:700;display:flex}.subscription-status button{color:#145c38;white-space:nowrap;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}@media (width<=600px){.subscription-status{flex-wrap:wrap;padding:9px 14px}}
