:root{--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;--brand-25:#fbf9ff;--brand-50:#f5f1fb;--brand-100:#ebe3f7;--brand-200:#d8c8ef;--brand-300:#bca4e1;--brand-400:#9c7bce;--brand-500:#7957b4;--brand-600:#6847a3;--brand-700:#56398a;--brand-800:#493274;--brand-900:#3d2b60;--accent-50:#fff7ed;--accent-500:#ed762f;--accent-600:#d75e1b;--gray-0:#fff;--gray-25:#fcfcfd;--gray-50:#f8f9fb;--gray-100:#f0f2f5;--gray-150:#e9ecf0;--gray-200:#dfe3e8;--gray-300:#c8ced7;--gray-400:#929baa;--gray-500:#687385;--gray-600:#4c5668;--gray-700:#343d4d;--gray-800:#222a37;--gray-900:#151a23;--success-50:#ecfdf3;--success-100:#d1fadf;--success-600:#039855;--success-700:#027a48;--warning-50:#fffaeb;--warning-100:#fef0c7;--warning-600:#dc6803;--warning-700:#b54708;--danger-50:#fff1f0;--danger-100:#fee4e2;--danger-600:#d92d20;--danger-700:#b42318;--info-50:#eff8ff;--info-600:#1570ef;--surface-app:#f4f5f7;--surface-panel:#fff;--surface-subtle:#f8f9fb;--surface-raised:#fff;--text-primary:var(--gray-900);--text-secondary:var(--gray-600);--text-tertiary:var(--gray-500);--border-subtle:var(--gray-150);--border-strong:var(--gray-300);--focus-ring:#6847a33d;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.25rem;--space-6:1.5rem;--space-8:2rem;--space-10:2.5rem;--space-12:3rem;--radius-xs:.375rem;--radius-sm:.5rem;--radius-md:.75rem;--radius-lg:1rem;--radius-xl:1.25rem;--radius-full:999px;--shadow-xs:0 1px 2px #1018280d;--shadow-sm:0 1px 3px #10182814, 0 1px 2px #1018280a;--shadow-md:0 8px 24px #10182814;--shadow-lg:0 16px 48px #1018281f;--control-sm:2.5rem;--control-md:2.75rem;--control-lg:3rem;--sidebar-width:14.5rem;--sidebar-rail:4.75rem;--topbar-height:3.75rem;--mobile-nav-height:4.25rem;--content-max:100rem;--motion-fast:.12s;--motion-normal:.18s;--ease-standard:cubic-bezier(.2, 0, 0, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#17243a;background:#f5f6f0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f5f6f0;margin:0}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #f3bd30}.signed-out{background:radial-gradient(circle at 100% 0,#d6efe9,#0000 42%),#eef4f7;place-items:center;min-height:100svh;padding:24px;display:grid}.card{background:#fffffff5;border:1px solid #d4e0e7;border-radius:24px;width:min(100%,620px);padding:clamp(28px,7vw,56px);box-shadow:0 18px 60px #16324f1f}.eyebrow,.brand{color:#0f766e;letter-spacing:.09em;text-transform:uppercase;margin:0 0 8px;font-size:.78rem;font-weight:850}.sign-in-card h1,.page-heading h1{color:#16324f;letter-spacing:-.05em;margin:0;font-size:clamp(2rem,7vw,3.8rem);line-height:1.02}.lede{color:#506175;margin:22px 0;font-size:1.05rem;line-height:1.65}.auth-form{gap:18px;display:grid}.auth-form label{color:#334155;gap:8px;font-weight:750;display:grid}.auth-form input{color:#17243a;background:#fff;border:1px solid #cbd5e1;border-radius:12px;width:100%;min-height:52px;padding:0 14px}.auth-error{color:#9f1d1d;background:#fff1f1;border:1px solid #efb4b4;border-radius:12px;margin:0 0 20px;padding:12px 14px;line-height:1.45}.auth-help{color:#667085;margin:20px 0 0;font-size:.9rem;line-height:1.5}.status{color:#285d52;align-items:center;gap:10px;margin:24px 0;font-weight:750;display:flex}.dot{background:#27ad88;border-radius:50%;width:11px;height:11px;box-shadow:0 0 0 5px #dff5ee}.pwa-controls{z-index:50;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));color:#285d52;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border:1px solid #cfe4dc;border-radius:999px;align-items:center;gap:8px;min-height:42px;padding:8px 12px;font-size:.78rem;display:flex;position:fixed;box-shadow:0 10px 30px #16324f29}.pwa-controls.offline{color:#765200;background:#fff6df;border-color:#f0c67a;border-radius:14px}.connection-dot{background:#27ad88;border-radius:50%;flex:none;width:9px;height:9px}.offline .connection-dot{background:#c77b11}.pwa-controls button{color:#fff;background:#16324f;border:0;border-radius:999px;min-height:30px;padding:0 11px;font-size:.75rem;font-weight:800}.install-help{z-index:51;right:max(14px,env(safe-area-inset-right));bottom:calc(max(14px,env(safe-area-inset-bottom)) + 52px);background:#fff;border:1px solid #d4e0e7;border-radius:18px;width:min(330px,100vw - 28px);padding:18px 44px 18px 18px;position:fixed;box-shadow:0 18px 50px #16324f33}.install-help p{color:#586577;margin:6px 0 0;line-height:1.5}.install-help-close{color:#16324f;background:#eef4f7;border:0;border-radius:50%;width:32px;height:32px;font-size:1.35rem;position:absolute;top:8px;right:8px}.button,.complete-button,.search-row button{color:#fff;background:#16324f;border:0;border-radius:14px;justify-content:center;align-items:center;min-height:50px;padding:0 22px;font-weight:800;text-decoration:none;display:inline-flex}.app-shell{min-height:100svh}.topbar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe0;border-bottom:1px solid #dfe3d6;justify-content:space-between;align-items:center;min-height:78px;padding:14px max(20px,50vw - 590px);display:flex}.brand{color:#16324f;margin:0;font-size:1rem}.welcome{color:#667085;margin:3px 0 0;font-size:.86rem}.role-chip{color:#17675f;background:#dff3ef;border-radius:999px;padding:8px 12px;font-size:.78rem;font-weight:800}.app-nav{gap:6px;display:flex}.app-nav a{color:#586577;border-radius:10px;padding:8px 12px;font-size:.82rem;font-weight:800;text-decoration:none}.app-nav a:hover,.app-nav a.active{color:#17675f;background:#e7f2ef}.sell-page{width:min(1180px,100%);margin:0 auto;padding:clamp(24px,5vw,52px) 20px 64px}.page-heading>p:last-child{color:#657083;margin:14px 0 0;line-height:1.6}.search-bar{background:#fff;border:1px solid #dfe3d6;border-radius:20px;margin:30px 0 22px;padding:18px;box-shadow:0 12px 35px #232e250f}.catalog-sync-state{color:#285d52;background:#f4faf7;border:1px solid #d9e6df;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:-10px 0 22px;padding:11px 13px;font-size:.78rem;display:grid}.catalog-sync-state>span{background:#dff5ee;border-radius:50%;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.catalog-sync-state>div{gap:2px;display:grid}.catalog-sync-state small{color:#667085}.catalog-sync-state.loading{color:#536579}.catalog-sync-state.unavailable,.catalog-sync-state.offline{color:#765200;background:#fff6df;border-color:#f0c67a}.catalog-sync-state button{min-height:34px;color:inherit;background:0 0;border:1px solid;border-radius:10px;padding:0 11px;font-size:.75rem;font-weight:800}.offline-readiness{gap:8px;margin:-10px 0 22px;display:grid}.device-readiness{color:#285d52;background:#f7faf8;border:1px solid #d9e6df;border-radius:14px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px 13px;font-size:.76rem;display:grid}.device-readiness>span{color:#168276;place-items:center;width:24px;height:24px;display:grid}.device-readiness>div{gap:2px;display:grid}.device-readiness small{color:#667085}.device-readiness.pending,.device-readiness.expired,.device-readiness.unenrolled{color:#765200;background:#fffaf0;border-color:#f0c67a}.device-readiness.revoked{color:#8e2d28;background:#fff1f0;border-color:#e9aba7}.offline-queue-state{color:#285d52;background:#f7faf8;border:1px solid #d9e6df;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 13px;font-size:.76rem;display:grid}.offline-queue-state>span{color:#168276;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.offline-queue-state>div{gap:2px;display:grid}.offline-queue-state small{color:#667085}.offline-queue-state.review{color:#8e2d28;background:#fff1f0;border-color:#e9aba7}.offline-queue-state button{min-height:34px;color:inherit;background:0 0;border:1px solid;border-radius:10px;padding:0 11px;font-size:.75rem;font-weight:800}.offline-queue-list{background:#fff;border:1px solid #e4e8e5;border-radius:14px;gap:7px;padding:8px;display:grid}.offline-queue-list>div{background:#f8faf9;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:9px 10px;font-size:.76rem;display:grid}.offline-queue-list span{gap:2px;display:grid}.offline-queue-list small{color:#667085}.offline-queue-list>div>small{color:#8e2d28;grid-column:1/-1}.offline-queue-list b{color:#17675f}.offline-checkout{background:#fffaf0;border:1px solid #f0c67a;border-radius:16px;gap:16px;margin-top:14px;padding:16px;display:grid}.offline-checkout label{color:#344054;gap:8px;font-size:.84rem;font-weight:800;display:grid}.offline-read-only{color:#765200;background:#fff6df;border-left:4px solid #d79122;border-radius:8px;margin:14px 0;padding:10px 12px;font-size:.82rem;line-height:1.45}.online-only-checkout{border:0;min-width:0;margin:0;padding:0}.search-bar label,.form-row label,fieldset legend{color:#344054;margin-bottom:9px;font-size:.84rem;font-weight:800;display:block}.search-row{grid-template-columns:1fr auto auto;gap:10px;display:grid}.barcode-scanner{color:#fff;background:#102a43;border-radius:20px;margin:-6px 0 22px;padding:18px;box-shadow:0 18px 40px #102a4333}.scanner-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.scanner-heading h2{margin:0;font-size:1.25rem}.scanner-heading .eyebrow{color:#82e2d5}.scanner-heading button{color:#fff;background:0 0;border:1px solid #ffffff73;border-radius:12px;min-height:42px;padding:0 15px;font-weight:800}.scanner-viewport{aspect-ratio:16/10;background:#071a2b;border-radius:16px;position:relative;overflow:hidden}.scanner-viewport video{object-fit:cover;width:100%;height:100%}.scanner-target{border:3px solid #f3bd30;border-radius:14px;position:absolute;inset:25% 8%;box-shadow:0 0 0 999px #05152247}.barcode-scanner>p{color:#dce8f2;margin:13px 0 0;line-height:1.45}.activity-page{width:min(900px,100%)}.activity-toolbar{justify-content:space-between;align-items:center;gap:14px;margin:28px 0 18px;display:flex}.activity-filters{background:#e7ece5;border-radius:14px;gap:6px;padding:5px;display:flex}.activity-filters a,.activity-refresh{color:#526173;border-radius:10px;padding:9px 14px;font-size:.86rem;font-weight:800;text-decoration:none}.activity-filters a.active{color:#17675f;background:#fff;box-shadow:0 3px 12px #232e2514}.activity-refresh{color:#17675f;background:#fff;border:1px solid #cad4ca}.activity-list{gap:14px;display:grid}.activity-card{background:#fff;border:1px solid #dfe3d6;border-radius:18px;padding:20px;box-shadow:0 10px 28px #232e250d}.activity-card-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.activity-card-heading h2{color:#16324f;margin:0;font-size:1.18rem}.activity-card-heading p:not(.eyebrow){color:#697386;margin:4px 0 0}.activity-amount,.guest-activity-total{color:#16324f;font-size:1.45rem}.activity-time{color:#697386;margin:8px 0 15px;font-size:.84rem}.activity-facts{flex-wrap:wrap;gap:8px;display:flex}.activity-facts span{color:#475467;background:#f1f5f1;border-radius:999px;padding:7px 10px;font-size:.82rem}.activity-actor{color:#526173;margin:15px 0 0}.activity-status{color:#8a5a00;background:#fff3d5;border-radius:999px;padding:7px 10px;font-size:.78rem;font-weight:850}.activity-status.approved,.activity-status.consumed{color:#17633e;background:#dff3e8}.activity-status.rejected,.activity-status.expired{color:#a92f2a;background:#feeceb}.approval-price-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.approval-price-summary span{color:#697386;background:#f5f6f1;border-radius:12px;gap:4px;padding:11px 13px;font-size:.8rem;display:grid}.approval-price-summary strong{color:#16324f;font-size:1rem}.activity-note{color:#526173;border-left:3px solid #f3bd30;margin:10px 0 0;padding-left:10px}.guest-activity-total{margin-top:-4px;display:block}input,select{color:#17243a;background:#fff;border:1px solid #ccd3c7;border-radius:12px;width:100%;min-height:48px;padding:10px 13px}button:disabled{cursor:not-allowed;opacity:.55}.alert{border-radius:14px;margin:0 0 18px;padding:13px 16px;font-weight:700}.alert.error{color:#a92f2a;background:#feeceb}.alert.success{color:#17633e;background:#dff3e8}.workspace-grid{grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);align-items:start;gap:20px;display:grid}.results-panel,.checkout-panel{background:#fff;border:1px solid #dfe3d6;border-radius:22px;box-shadow:0 12px 35px #232e250d}.section-title,.selected-product,.checkout-total{justify-content:space-between;align-items:center;gap:16px;display:flex}.section-title{padding:2px 4px 14px}.section-title h2,.selected-product h2,.empty-state h2{color:#16324f;margin:0}.section-title span{color:#7b8477;font-size:.8rem}.product-list{gap:9px;display:grid}.product-row{width:100%;color:inherit;text-align:left;background:#fbfcf8;border:1px solid #e1e5dc;border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px;display:grid}.product-row:hover,.product-row.selected{background:#eef9f6;border-color:#2a8a7e}.product-icon{color:#513e08;background:#f7d76f;border-radius:12px;place-items:center;width:42px;height:42px;font-size:1.2rem;font-weight:900;display:grid}.product-copy{gap:3px;min-width:0;display:grid}.product-copy strong{color:#24324a}.product-copy small{color:#697386;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.stock-pill,.stock-large{color:#1e714c;white-space:nowrap;background:#e4f5ec;border-radius:999px;padding:7px 10px;font-size:.72rem;font-weight:850}.stock-pill.empty{color:#a92f2a;background:#feeceb}.condition-stock-note{color:#7b6670;grid-column:2/-1;font-size:.7rem;font-weight:750}.stock-large{text-align:center;border-radius:16px;min-width:72px;font-size:1.35rem;display:grid}.stock-large small{font-size:.65rem}.selected-product{border-bottom:1px solid #e5e8e0;padding-bottom:22px}.selected-product h2{font-size:clamp(1.35rem,4vw,1.8rem)}.selected-product p:last-child{color:#657083;margin:7px 0 0;font-size:.85rem}.price-summary{grid-template-columns:1fr 1fr;gap:10px;margin:20px 0;display:grid}.price-summary div{background:#f3f5ef;border-radius:14px;gap:4px;padding:12px 14px;display:grid}.price-summary .permitted{background:#e1f3ef;grid-column:1/-1}.price-summary span{color:#657083;font-size:.73rem}.price-summary strong{color:#16324f;font-size:1.05rem}fieldset{border:0;margin:0;padding:0}.preset-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.preset-row button{color:#344054;background:#fff;border:1px solid #ccd3c7;border-radius:11px;min-height:40px;font-size:.8rem;font-weight:800}.preset-row button:hover{color:#17675f;border-color:#2a8a7e}.price-slider{accent-color:#168276;min-height:auto;margin:18px 0 8px;padding:0}.price-output{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.price-output strong{color:#167368;font-size:1.75rem}.price-output span{color:#697386;text-align:right;font-size:.72rem}.exception-box{background:#fffaf0;border:1px dashed #d5ad3c;border-radius:14px;margin-top:18px;padding:14px}.text-button{color:#7a5300;text-underline-offset:3px;background:0 0;border:0;padding:4px 0;font-weight:800;text-decoration:underline}.text-button.muted{color:#697386;margin-top:12px;font-size:.78rem}.compact-row{align-items:end;margin-top:0}.compact-row>button,.approval-status button,.refresh-button,.decision-buttons button{color:#fff;background:#16324f;border:0;border-radius:12px;min-height:48px;padding:10px 16px;font-weight:800}.approval-status{color:#6b520d;background:#f3eddb;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;font-size:.8rem;font-weight:800;display:flex}.approval-status.approved{color:#17633e;background:#dff3e8}.form-row{margin-top:22px}.two-columns{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-row label{margin:0}.form-row label input,.form-row label select{margin-top:8px}.customer-toggle{color:#344054;align-items:center;gap:9px;margin-top:20px;font-size:.86rem;font-weight:750;display:flex}.customer-toggle input{accent-color:#168276;width:18px;min-height:18px}.payment-section{gap:12px;margin-top:18px;display:grid}.payment-section h3{color:#16324f;margin:0;font-size:1rem}.payment-section .form-row{margin-top:0}.split-remainder{grid-template-columns:1fr 1fr;align-items:end;gap:12px;display:grid}.split-remainder>div{color:#17675f;background:#edf8f4;border-radius:12px;align-content:center;gap:5px;min-height:48px;padding:8px 12px;display:grid}.split-remainder span{font-size:.72rem;font-weight:750}.split-remainder strong{font-size:1.05rem}.customer-section{border-top:1px solid #e5e8e0;gap:12px;margin-top:20px;padding-top:18px;display:grid}.customer-section h3{color:#16324f;margin:0;font-size:1rem}.customer-finder-button,.customer-finder button,.guest-policy>button{color:#17675f;background:#e7f2ef;border:0;border-radius:12px;min-height:46px;padding:10px 14px;font-weight:800}.selected-customer{background:#edf8f4;border:1px solid #b8ded5;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:13px;display:flex}.selected-customer span{gap:3px;display:grid}.selected-customer small{color:#516174}.selected-customer button{color:#17675f;background:0 0;border:0;font-weight:800;text-decoration:underline}.customer-finder{background:#f5f6f1;border-radius:14px;gap:12px;padding:14px;display:grid}.inline-find{grid-template-columns:1fr auto;gap:8px;margin-top:7px;display:grid}.inline-find input{margin:0}.customer-results{gap:7px;display:grid}.customer-results>button{text-align:left;background:#fff;border:1px solid #d8ded2;justify-content:space-between;align-items:center;gap:10px;display:flex}.customer-results>button span:first-child{color:#16324f;gap:3px;display:grid}.customer-results small,.customer-results>button span:last-child{color:#697386;font-size:.72rem}.new-customer-fields{gap:12px;display:grid}.new-customer-fields .form-row{margin-top:0}.guest-policy{color:#5d4705;background:#fff8df;border:1px solid #e9c966;border-radius:14px;gap:9px;margin-top:16px;padding:14px;display:grid}.guest-policy p{margin:0;font-size:.8rem;line-height:1.5}.guest-policy .customer-toggle{color:#5d4705;margin-top:2px}.sale-success{background:#fff;border:1px solid #dfe3d6;border-radius:24px;max-width:760px;margin:0 auto;padding:clamp(20px,5vw,34px);box-shadow:0 18px 45px #232e2514}.receipt-topline{justify-content:space-between;align-items:start;gap:18px;display:flex}.receipt-topline h2{color:#16324f;margin:3px 0;font-size:1.8rem}.receipt-topline p:last-child{color:#697386;margin:0}.success-mark{color:#17633e;background:#dff3e8;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;font-size:1.5rem;font-weight:900;display:grid}.receipt-customer{color:#17675f;background:#edf8f4;border-radius:12px;margin:20px 0 0;padding:10px 12px}.receipt-lines{border-block:1px solid #e5e8e0;gap:12px;margin-top:24px;padding-block:18px;display:grid}.receipt-lines>div,.receipt-payments>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.receipt-lines span{gap:4px;min-width:0;display:grid}.receipt-lines small{color:#697386}.receipt-payments{gap:9px;margin-top:18px;display:grid}.receipt-payments>div{color:#516174}.receipt-payments .receipt-grand-total{color:#16324f;border-top:1px solid #e5e8e0;margin-top:6px;padding-top:14px;font-size:1.35rem}.receipt-disclaimer{color:#697386;margin:20px 0 0;font-size:.78rem}.receipt-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.receipt-actions button{border-radius:12px;min-height:50px;padding:10px 16px;font-weight:850}.share-receipt-button{color:#fff;background:#167368;border:0}.new-sale-button{color:#17675f;background:#fff;border:1px solid #b8ded5}.checkout-total{border-top:1px solid #e5e8e0;margin-top:24px;padding-top:18px}.checkout-total span{gap:3px;font-weight:800;display:grid}.checkout-total small{color:#318063;font-weight:650}.checkout-total strong{color:#16324f;font-size:1.9rem}.complete-button{color:#302506;background:#f0b927;width:100%;margin-top:16px}.add-cart-button{color:#fff;background:#16324f}.line-preview{margin-bottom:0}.cart-section{border-top:2px solid #e5e8e0;margin-top:26px;padding-top:22px}.cart-empty{color:#7b8477;margin:0;font-size:.86rem}.cart-lines{gap:9px;display:grid}.cart-row{background:#fbfcf8;border:1px solid #e1e5dc;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 14px;padding:12px;display:grid}.cart-row>div:first-child{gap:4px;min-width:0;display:grid}.cart-row>div:first-child strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cart-row small{color:#697386}.cart-actions{grid-column:1/-1;gap:8px;display:flex}.cart-actions button{color:#17675f;text-underline-offset:3px;background:0 0;border:0;padding:3px 0;font-size:.75rem;font-weight:800;text-decoration:underline}.cart-actions button:last-child{color:#a92f2a}.cart-checkout{border-top:1px solid #e5e8e0;margin-top:20px;padding-top:2px}.cart-total{margin-top:20px}.cart-empty-state{min-height:210px}.receipt-review{border-top:1px solid #e5e8e0;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-top:24px;padding-top:18px;display:flex}.receipt-review span{color:#16324f;font-size:1.15rem;font-weight:850;display:grid}.receipt-review small{color:#697386;font-size:.72rem;font-weight:650}.receipt-review .receipt-value{color:#167368;text-align:right;font-size:1.45rem}.draft-receipts{background:#fff;border:1px solid #dfe3d6;border-radius:22px;margin:28px 0 20px;padding:18px;box-shadow:0 12px 35px #232e250d}.draft-empty{color:#697386;background:#f5f6f1;border-radius:14px;padding:16px}.draft-receipt-list{gap:12px;display:grid}.draft-receipt-card{background:#fbfcf8;border:1px solid #e1e5dc;border-radius:16px;padding:16px}.draft-receipt-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.draft-receipt-heading h3{color:#16324f;margin:0;font-size:1.08rem}.draft-receipt-heading p:last-child{color:#697386;margin:5px 0 0;font-size:.8rem}.draft-receipt-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.draft-receipt-facts span{background:#f0f3ed;border-radius:12px;gap:4px;min-width:0;padding:10px;display:grid}.draft-receipt-facts small{color:#697386;font-size:.7rem}.draft-receipt-facts strong{color:#24324a;text-overflow:ellipsis;overflow:hidden}.draft-note{color:#526173;margin:12px 0 0}.complete-draft-button{color:#fff;background:#167368;border:0;border-radius:12px;width:100%;min-height:46px;margin-top:14px;font-weight:850}.draft-effect{border-top:1px solid #e5e8e0;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:24px;padding-top:18px;display:grid}.draft-effect span{color:#16324f;background:#f5f6f1;border-radius:12px;gap:4px;padding:11px;font-weight:850;display:grid}.draft-effect small{color:#697386;font-size:.72rem;font-weight:650}.draft-effect strong{color:#7a5100;background:#fff3d5;border-radius:12px;grid-column:1/-1;padding:11px;font-size:.82rem}.receipt-header-card,.receipt-builder{background:#fff;border:1px solid #dfe3d6;border-radius:22px;margin:24px 0;padding:clamp(18px,4vw,28px);box-shadow:0 12px 35px #232e250d}.receipt-header-card>label{color:#26354b;gap:8px;margin-top:16px;font-size:.82rem;font-weight:800;display:grid}.new-supplier-form{background:#f2f6f1;border-radius:14px;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;margin-top:18px;padding:14px;display:grid}.new-supplier-form label{gap:7px;font-size:.78rem;font-weight:800;display:grid}.new-supplier-form button{color:#fff;background:#163a5e;border:0;border-radius:12px;min-height:47px;padding:0 18px;font-weight:850}.new-product-panel{background:#f4faf8;border:1px solid #cbded9;border-radius:22px;margin:24px 0;padding:clamp(18px,4vw,28px);box-shadow:0 12px 35px #232e250a}.manage-product-button{color:#17675f;background:#f4faf8;border:1px solid #8bbab0;border-radius:12px;width:100%;margin-top:16px;padding:11px 14px;font-weight:850}.product-change-panel{background:#fffdf4;border:1px solid #d7d7bf;border-radius:22px;margin:24px 0;padding:clamp(18px,4vw,28px);box-shadow:0 12px 35px #232e250d}.product-change-panel .section-title p:last-child{color:#697386;margin:4px 0 0}.change-safety-note{color:#17675f;background:#e7f2ef;border-radius:14px;gap:4px;margin:16px 0;padding:13px 15px;display:grid}.change-safety-note span{color:#526173;font-size:.78rem}.product-change-form{gap:16px;display:grid}.product-change-form label{color:#26354b;gap:7px;font-size:.78rem;font-weight:800;display:grid}.product-change-facts{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.product-change-facts span{color:#16324f;background:#fff;border-radius:13px;gap:4px;padding:12px;display:grid}.product-change-facts small{color:#697386}.secondary-action{color:#17675f;background:#fff;border:1px solid #8bbab0;border-radius:12px;align-self:end;min-height:47px;padding:8px 14px;font-weight:850}.change-neutral-note{color:#526173;background:#f0f3ed;border-radius:12px;margin:0;padding:11px 13px;font-size:.8rem;font-weight:750}.new-product-panel>p{color:#526173;margin:10px 0 0}.new-product-form{gap:16px;margin-top:20px;display:grid}.new-product-form label{color:#26354b;gap:7px;font-size:.78rem;font-weight:800;display:grid}.new-product-guidance{color:#17675f;background:#dff2ed;border-radius:14px;gap:3px;padding:13px 15px;display:grid}.new-product-guidance span{color:#526173;font-size:.78rem}.product-code-grid{grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr) 140px;gap:10px;display:grid}.sku-preview{color:#526173;background:#fff;border:1px dashed #8bbab0;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.sku-preview strong{color:#16324f;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.new-product-price-grid,.price-floor-preview{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.price-floor-preview span{color:#16324f;background:#e7f2ef;border-radius:13px;gap:4px;padding:12px;display:grid}.price-floor-preview small{color:#526173}.floor-overrides{border-top:1px solid #cbded9;padding-top:15px}.floor-overrides p{color:#526173;grid-column:1/-1;margin:0;font-size:.75rem}.inline-validation{color:#9b302b;background:#fff0ed;border-radius:12px;margin:0;padding:11px 13px;font-size:.8rem;font-weight:800}.condition-quantity-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:22px;display:grid}.condition-quantity-grid label,.unit-cost-field{color:#26354b;gap:7px;font-size:.78rem;font-weight:800;display:grid}.unit-cost-field{margin-top:14px}.condition-guidance{color:#765200;background:#fff3d5;border-radius:10px;margin:10px 0 0;padding:9px 11px;font-size:.75rem;font-weight:750}.receipt-line-list{gap:9px;display:grid}.receipt-line-card{color:#26354b;background:#fbfcf8;border:1px solid #e1e5dc;border-radius:14px;grid-template-columns:minmax(0,1.5fr) auto auto auto;align-items:center;gap:18px;padding:13px;display:grid}.receipt-line-card>div:first-child{gap:4px;min-width:0;display:grid}.receipt-line-card small{color:#697386}.condition-breakdown{color:#526173;font-size:.78rem;font-weight:750}.line-actions{gap:9px;display:flex}.line-actions button{color:#17675f;text-underline-offset:3px;background:0 0;border:0;padding:2px 0;font-size:.75rem;font-weight:800;text-decoration:underline}.line-actions button:last-child{color:#a92f2a}.receipt-totals{grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0;display:grid}.receipt-totals.condition-totals{grid-template-columns:repeat(5,minmax(0,1fr))}.receipt-totals span{color:#16324f;background:#f0f3ed;border-radius:13px;gap:4px;padding:12px;display:grid}.receipt-totals small{color:#697386}.receipt-totals strong{font-size:1.05rem}.duplicate-warning{color:#704d09;background:#fff5db;border:1px solid #e4b768;border-radius:14px;margin:16px 0;padding:14px}.duplicate-warning p{margin:6px 0 12px}.duplicate-warning label{align-items:flex-start;gap:9px;font-weight:800;display:flex}.duplicate-warning input{width:18px;height:18px;margin-top:1px}.draft-line-list{gap:7px;margin-top:14px;display:grid}.draft-line-list>div{color:#26354b;background:#f1f4ee;border-radius:11px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:10px;display:grid}.draft-line-list span:first-child{gap:3px;min-width:0;display:grid}.draft-line-list small{color:#697386}.approval-heading{justify-content:space-between;align-items:end;gap:20px;max-width:none;margin-bottom:28px;display:flex}.approval-heading>div{max-width:760px}.refresh-button{color:#17675f;background:#e7f2ef}.approval-list{gap:16px;display:grid}.approval-group>.section-title{margin-bottom:14px}.approval-group>.section-title h2{color:#16324f}.approval-card{background:#fff;border:1px solid #dfe3d6;border-radius:22px;padding:clamp(20px,4vw,30px);box-shadow:0 12px 35px #232e250d}.approval-product{justify-content:space-between;align-items:start;gap:16px;display:flex}.approval-product h2{color:#16324f;margin:0}.approval-product p:last-child{color:#697386;margin:7px 0 0}.pending-chip{color:#765200;background:#fff0c2;border-radius:999px;padding:7px 11px;font-size:.75rem;font-weight:850}.approval-money-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px;display:grid}.approval-money-grid>div{background:#f3f5ef;border-radius:14px;gap:4px;padding:13px;display:grid}.approval-money-grid .requested{background:#e1f3ef}.approval-money-grid .loss{color:#9c2e29;background:#feeceb}.approval-money-grid .safe{color:#17633e;background:#dff3e8}.approval-money-grid span,.approval-money-grid small{font-size:.72rem}.approval-money-grid strong{color:inherit;font-size:1.05rem}.accounting-result{color:#516174;font-size:.85rem;font-weight:750}.decision-buttons{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.decision-buttons .reject-button{color:#9c2e29;background:#fff;border:1px solid #e2a7a3}.decision-buttons .approve-button{background:#167368}.empty-approvals{text-align:center;padding:40px}.empty-approvals h2{color:#16324f;margin:0}.empty-approvals p{color:#697386;margin-bottom:0}.guest-cart-summary{background:#f5f6f1;border-radius:14px;gap:9px;margin-top:20px;padding:14px;display:grid}.guest-cart-summary>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.guest-cart-summary span{gap:3px;display:grid}.guest-cart-summary small{color:#697386}.guest-cart-summary .guest-cart-total{color:#16324f;border-top:1px solid #dfe3d6;padding-top:10px;font-size:1.1rem}.stock-count-comparison{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px;display:grid}.stock-count-comparison>div{background:#f1f4ee;border-radius:14px;gap:4px;padding:13px;display:grid}.stock-count-comparison small{color:#697386}.stock-count-comparison strong{color:#16324f;font-size:1.1rem}.stock-count-comparison .loss{background:#feeceb}.stock-count-comparison .loss strong{color:#9c2e29}.stock-count-comparison .found{background:#e1f3ef}.stock-count-comparison .found strong{color:#17675f}.stock-count-evidence{color:#526173;background:#f7f8f4;border-radius:14px;margin-top:14px;padding:13px}.stock-count-evidence p{margin:4px 0}.stock-approval-warning{color:#765200;background:#fff3d5;border-radius:12px;padding:11px 13px;font-size:.8rem;font-weight:750}.empty-state{text-align:center;align-content:center;place-items:center;min-height:360px;display:grid}.empty-state.cart-empty-state{min-height:210px}.empty-state>span{color:#168276;font-size:2.2rem}.empty-state p{color:#697386}.inventory-page .page-heading{max-width:820px}.inventory-search-row{grid-template-columns:1fr auto}.inventory-layout{grid-template-columns:minmax(260px,.8fr) minmax(0,1.7fr);align-items:start;gap:22px;display:grid}.inventory-products,.inventory-summary,.reorder-panel,.count-panel,.movement-panel{background:#fff;border:1px solid #dfe3d6;border-radius:22px;padding:20px;box-shadow:0 12px 35px #232e250d}.inventory-products{position:sticky;top:18px}.inventory-products .section-title,.movement-panel .section-title{margin-bottom:14px}.inventory-products .product-list{max-height:720px;overflow:auto}.inventory-detail{gap:18px;min-width:0;display:grid}.inventory-empty{text-align:center;background:#fbfcf8;border:1px dashed #cdd5c7;border-radius:22px;align-content:center;place-items:center;min-height:300px;padding:30px;display:grid}.inventory-empty span{color:#168276;font-size:2.2rem}.inventory-empty h2{color:#16324f;margin:8px 0 0}.inventory-empty p{color:#697386;max-width:420px;line-height:1.5}.inventory-product-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.inventory-product-heading h2{color:#16324f;margin:0}.inventory-product-heading p:last-child{color:#697386;margin:6px 0 0}.ledger-ok,.ledger-warning{text-align:center;border-radius:999px;padding:8px 11px;font-size:.73rem;font-weight:850}.ledger-ok{color:#17633e;background:#dff3e8}.ledger-warning{color:#9c2e29;background:#feeceb}.balance-grid,.owner-cost-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.balance-grid>div,.owner-cost-grid>div{background:#f1f4ee;border-radius:14px;gap:4px;padding:13px;display:grid}.balance-grid small,.owner-cost-grid small{color:#697386}.balance-grid strong{color:#16324f;font-size:1.45rem}.balance-grid span{color:#58706b;font-size:.72rem;font-weight:750}.owner-cost-grid{margin-top:10px}.owner-cost-grid>div{background:#e8f4f1}.owner-cost-grid strong{color:#17675f}.count-panel h2{color:#16324f;margin:0 0 18px}.reorder-panel h2{color:#16324f;margin:0}.reorder-panel-heading{justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px;display:flex}.reorder-status{color:#526173;text-transform:lowercase;background:#f1f4ee;border-radius:999px;padding:8px 11px;font-size:.73rem;font-weight:850}.reorder-status.configured{color:#17633e;background:#dff3e8}.reorder-status.disabled{color:#765200;background:#fff3d5}.reorder-toggle{color:#26354b;background:#f1f4ee;border-radius:13px;align-items:center;gap:10px;padding:13px;font-weight:800;display:flex}.reorder-toggle input{width:18px;height:18px}.reorder-panel .form-row{margin-top:14px}.reorder-panel input,.reorder-panel select,.reorder-panel textarea{color:#17243a;background:#fff;border:1px solid #ccd5c7;border-radius:13px;width:100%;padding:13px 14px}.reorder-panel textarea{resize:vertical;min-height:84px}.reorder-preview{color:#17675f;background:#e8f4f1;border-radius:13px;gap:3px;margin:14px 0;padding:13px;display:grid}.reorder-preview span{font-size:.78rem;line-height:1.45}.reorder-panel .complete-button{width:100%}.count-panel .form-row{margin-top:14px}.count-panel input,.count-panel select,.count-panel textarea{color:#17243a;background:#fff;border:1px solid #ccd5c7;border-radius:13px;width:100%;padding:13px 14px}.count-panel input[readonly]{color:#526173;background:#f1f4ee}.count-panel textarea{resize:vertical;min-height:84px}.count-entry{grid-template-columns:minmax(0,1fr) 130px;align-items:end;gap:12px;margin-top:14px;display:grid}.count-entry label{color:#344054;font-size:.84rem;font-weight:800}.count-entry label input{margin-top:9px}.count-difference{background:#f1f4ee;border-radius:13px;gap:2px;min-height:52px;padding:10px 13px;display:grid}.count-difference small{color:#697386}.count-difference strong{color:#526173;font-size:1.15rem}.count-difference.negative{background:#feeceb}.count-difference.negative strong{color:#9c2e29}.count-difference.positive{background:#e1f3ef}.count-difference.positive strong{color:#17675f}.count-safety{color:#765200;background:#fff3d5;border-radius:13px;gap:4px;margin:16px 0;padding:13px;display:grid}.count-safety span{font-size:.78rem;line-height:1.45}.count-panel .complete-button{width:100%}.view-only-note{color:#526173;background:#f1f4ee;border-radius:13px;padding:16px;line-height:1.5}.movement-list{gap:10px;display:grid}.movement-card{background:#fbfcf8;border:1px solid #e1e5dc;border-radius:14px;grid-template-columns:100px minmax(0,1fr);gap:14px;padding:13px;display:grid}.movement-sign{align-content:start;gap:3px;display:grid}.movement-sign strong{font-size:1.25rem}.movement-sign strong.positive{color:#17633e}.movement-sign strong.negative{color:#9c2e29}.movement-sign small{color:#697386}.movement-copy{gap:3px;min-width:0;display:grid}.movement-copy>strong{color:#16324f}.movement-copy>span{color:#526173;font-size:.85rem}.movement-copy>small{color:#7b8492;line-height:1.35}.dashboard-page{gap:34px;display:grid}.dashboard-heading{justify-content:space-between;align-items:end;gap:24px;display:flex}.dashboard-heading .page-heading{max-width:800px}.dashboard-heading .page-heading h1{font-size:clamp(2.6rem,7vw,5rem)}.dashboard-updated{color:#526173;background:#e7f2ef;border-radius:16px;gap:3px;min-width:190px;padding:14px;font-size:.76rem;display:grid}.dashboard-updated strong{color:#17675f}.dashboard-updated a{color:#765200;margin-top:5px;font-weight:850}.dashboard-section{scroll-margin-top:18px}.dashboard-section>.section-title{margin-bottom:14px}.dashboard-section>.section-title h2{color:#16324f;font-size:1.45rem}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-card{background:#fff;border:1px solid #dfe3d6;border-radius:19px;align-content:start;gap:7px;min-height:150px;padding:18px;display:grid;box-shadow:0 12px 35px #232e250d}.metric-card small{color:#697386;font-weight:750}.metric-card span{color:#697386;font-size:.76rem;line-height:1.4}.metric-card.primary{background:#16324f}.metric-card.primary strong{color:#fff}.metric-card.internal{background:#e8f4f1}.metric-card.internal strong{color:#17675f}.action-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.action-card{color:#526173;background:#fff;border:1px solid #dfe3d6;border-radius:18px;gap:5px;min-height:136px;padding:16px;text-decoration:none;display:grid}.action-card>span{font-size:.8rem;font-weight:800}.action-card>strong{color:#16324f;font-size:2rem}.action-card>small{color:#697386;align-self:end;line-height:1.4}.action-card.urgent{background:#fff5f4;border-color:#e9aba7}.action-card.urgent>strong{color:#9c2e29}.action-card.waiting{background:#fff9e9;border-color:#e5c77d}.action-card.waiting>strong{color:#765200}.action-card.safe{background:#eff9f4;border-color:#a9d7c6}.action-card.safe>strong{color:#17633e}.dashboard-two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.dashboard-panel,.stock-risk-section,.data-quality-section{background:#fff;border:1px solid #dfe3d6;border-radius:22px;padding:20px;box-shadow:0 12px 35px #232e250d}.payment-breakdown,.seller-breakdown{gap:9px;display:grid}.payment-breakdown>div,.seller-breakdown>div{background:#f1f4ee;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.payment-breakdown span{color:#526173}.payment-breakdown strong,.seller-breakdown>div>strong{color:#16324f}.seller-breakdown span{gap:3px;display:grid}.seller-breakdown span>strong{color:#26354b}.seller-breakdown small{color:#697386}.dashboard-empty{color:#697386;text-align:center;background:#f1f4ee;border-radius:13px;margin:0;padding:18px}.stock-position-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.stock-position-grid>article{background:#f1f4ee;border-radius:15px;gap:4px;padding:15px;display:grid}.stock-position-grid small{color:#697386}.stock-position-grid strong{color:#16324f;font-size:1.65rem}.stock-position-grid .risk{background:#feeceb}.stock-position-grid .risk strong{color:#9c2e29}.stock-position-grid .watch{background:#fff3d5}.stock-position-grid .watch strong{color:#765200}.threshold-note{color:#697386;margin:12px 0;font-size:.76rem}.low-stock-list{gap:8px;display:grid}.low-stock-list>a{color:#26354b;border:1px solid #e1e5dc;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:12px;text-decoration:none;display:flex}.low-stock-list span{gap:3px;min-width:0;display:grid}.low-stock-list small{color:#697386}.low-stock-list .out{color:#9c2e29}.low-stock-list .low{color:#765200}.reorder-policy-setup{border-top:1px solid #e1e5dc;gap:12px;margin-top:18px;padding-top:18px;display:grid}.reorder-policy-setup>div:first-child{justify-content:space-between;align-items:end;gap:14px;display:flex}.reorder-policy-setup>div:first-child>strong{color:#16324f}.reorder-policy-setup>div:first-child>span{color:#697386;text-align:right;font-size:.78rem}.quality-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.quality-grid>article{border-radius:14px;gap:3px;padding:13px;display:grid}.quality-grid strong{font-size:1.35rem}.quality-grid span{font-size:.76rem}.quality-grid .passed{color:#17633e;background:#eff9f4}.quality-grid .failed{color:#9c2e29;background:#feeceb}.dashboard-text-link{color:#17675f;margin-top:15px;font-weight:850;display:inline-block}@media (max-width:850px){.inventory-layout{grid-template-columns:1fr}.inventory-products{position:static}.inventory-products .product-list{max-height:420px}.dashboard-heading{display:grid}.dashboard-updated{min-width:0}.dashboard-metrics,.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.pwa-controls{right:10px;bottom:max(10px,env(safe-area-inset-bottom))}.pwa-controls.offline{justify-content:center;left:10px}.app-nav a{padding-inline:7px;font-size:.74rem}.inventory-page{padding-inline:12px}.inventory-products,.inventory-summary,.reorder-panel,.count-panel,.movement-panel{padding:16px}.inventory-products .product-list{max-height:none;overflow:visible}.inventory-product-heading{display:grid}.ledger-ok,.ledger-warning{justify-self:start}.balance-grid,.owner-cost-grid{grid-template-columns:1fr}.count-entry{grid-template-columns:minmax(0,1fr) 100px}.movement-card{grid-template-columns:78px minmax(0,1fr)}.stock-count-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-page{gap:28px;padding-inline:12px}.dashboard-two-column,.dashboard-metrics,.action-grid,.stock-position-grid,.quality-grid{grid-template-columns:1fr}.metric-card{min-height:130px}.dashboard-panel,.stock-risk-section,.data-quality-section{padding:16px}}@media (max-width:850px){.workspace-grid{grid-template-columns:1fr}.checkout-panel{order:-1}.approval-money-grid,.new-supplier-form{grid-template-columns:1fr 1fr}.new-supplier-form button{grid-column:1/-1}.product-code-grid{grid-template-columns:minmax(0,1fr) 120px}.product-change-facts,.receipt-totals.condition-totals{grid-template-columns:repeat(3,1fr)}}@media (max-width:560px){.sell-page{padding-inline:12px}.topbar{flex-wrap:wrap;gap:10px;padding-inline:14px}.app-nav{order:3;width:100%}.app-nav a{text-align:center;flex:1}.search-bar{padding:13px}.search-row{grid-template-columns:1fr}.search-row button{width:100%}.activity-toolbar{flex-direction:column;align-items:stretch}.activity-filters{grid-template-columns:repeat(3,1fr);display:grid}.activity-filters a,.activity-refresh{text-align:center}.activity-card-heading{gap:12px}.draft-receipt-facts{grid-template-columns:1fr 1fr}.new-supplier-form,.product-code-grid,.new-product-price-grid,.price-floor-preview,.product-change-facts,.receipt-totals,.receipt-totals.condition-totals,.condition-quantity-grid{grid-template-columns:1fr}.new-supplier-form button{grid-column:auto}.sku-preview{flex-direction:column;align-items:flex-start}.receipt-line-card{grid-template-columns:1fr}.receipt-line-card>strong{text-align:left}.receipt-line-card .line-actions{grid-column:auto}.draft-line-list>div{grid-template-columns:1fr}.draft-line-list>div>strong{grid-column:auto}.results-panel,.checkout-panel{border-radius:18px}.product-row{grid-template-columns:auto 1fr}.stock-pill{grid-column:2;width:fit-content}.two-columns,.split-remainder,.receipt-actions{grid-template-columns:1fr}.receipt-topline h2{white-space:nowrap;letter-spacing:-.02em;font-size:1.35rem}.preset-row{grid-template-columns:1fr}.price-output{flex-direction:column;align-items:flex-start}.price-output span{text-align:left}.approval-heading{flex-direction:column;align-items:stretch}.approval-money-grid{grid-template-columns:1fr}.decision-buttons{flex-direction:column-reverse}.decision-buttons button{width:100%}}@media print{.topbar,.page-heading,.alert,.receipt-actions{display:none!important}.sell-page{padding:0}.sale-success{max-width:none;box-shadow:none;border:0}}.closing-page{gap:28px;max-width:1000px;display:grid}.closing-alert{border-radius:16px;gap:4px;padding:15px 17px;display:grid}.closing-alert.danger{color:#8e2d28;background:#fff1f0;border:1px solid #e9aba7}.closing-alert span{font-size:.84rem;line-height:1.5}.closing-snapshot,.closing-form,.closing-receipt{background:#fff;border:1px solid #dfe3d6;border-radius:22px;padding:22px;box-shadow:0 12px 35px #232e250d}.closing-snapshot>.section-title,.closing-form>.section-title,.closing-receipt>.section-title{margin-bottom:16px}.closing-snapshot h2,.closing-form h2,.closing-receipt h2{color:#16324f;margin:0}.closing-snapshot-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.closing-snapshot-grid article,.closing-result-grid article{background:#f1f4ee;border-radius:15px;gap:5px;padding:15px;display:grid}.closing-snapshot-grid small,.closing-result-grid small{color:#697386}.closing-snapshot-grid strong,.closing-result-grid strong{color:#16324f;font-size:1.4rem}.closing-state.open,.closing-state.needs_reconciliation{color:#8a5c00}.closing-state.closed{color:#17633e}.closing-explainer{color:#526173;background:#e8f4f1;border-radius:15px;gap:4px;padding:14px 16px;font-size:.84rem;display:grid}.closing-explainer strong{color:#17675f}.closing-fields{gap:12px;margin-top:18px;display:grid}.closing-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.closing-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.closing-fields label,.closing-note-field,.cash-count-panel label,.digital-closing-list label{color:#344054;font-size:.82rem;font-weight:800}.closing-fields input,.closing-fields select,.closing-note-field textarea,.cash-count-panel input,.digital-closing-list input{color:#17243a;background:#fff;border:1px solid #ccd5c7;border-radius:13px;width:100%;margin-top:8px;padding:13px 14px}.closing-note-field{margin-top:16px;display:block}.closing-note-field>span{color:#7b8492;font-weight:600}.closing-note-field textarea{resize:vertical;min-height:82px}.cash-count-panel{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin-top:18px;display:grid}.cash-count-panel>div,.closing-variance{background:#f1f4ee;border-radius:14px;align-content:center;gap:4px;min-height:74px;padding:12px 14px;display:grid}.cash-count-panel small,.closing-variance small{color:#697386}.cash-count-panel strong,.closing-variance strong{color:#16324f}.closing-variance.over{background:#fff3d5}.closing-variance.over strong{color:#765200}.closing-variance.short{background:#feeceb}.closing-variance.short strong{color:#9c2e29}.digital-title{margin:28px 0 12px}.digital-title h3{color:#16324f;margin:0}.digital-title p{color:#697386;margin:4px 0 0;font-size:.8rem}.digital-closing-list{gap:10px;display:grid}.digital-closing-list>div{border:1px solid #e1e5dc;border-radius:15px;grid-template-columns:minmax(170px,1fr) minmax(180px,1fr) 130px;align-items:end;gap:12px;padding:13px;display:grid}.digital-closing-list>div>span{gap:4px;display:grid}.digital-closing-list>div>span strong{color:#26354b}.digital-closing-list>div>span small{color:#697386}.closing-correction{background:#fff7e3;border-radius:16px;margin-top:20px;padding:16px}.closing-correction>p:last-child{color:#765200;margin:12px 0 0;font-size:.78rem}.closing-submit{border-top:1px solid #e2e6dc;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding-top:18px;display:flex}.closing-submit p{color:#697386;max-width:520px;margin:0;font-size:.8rem;line-height:1.5}.complete-button:disabled{cursor:not-allowed;opacity:.45}.closing-record-meta{color:#697386;justify-content:space-between;gap:12px;margin:-4px 0 16px;font-size:.8rem;display:flex}.closing-result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.closing-result-grid .matched{background:#eff9f4}.closing-result-grid .matched strong{color:#17633e}.closing-result-grid .variance{background:#feeceb}.closing-result-grid .variance strong{color:#9c2e29}.closing-digital-records{gap:8px;margin-top:14px;display:grid}.closing-digital-records>div{background:#f1f4ee;border-radius:13px;grid-template-columns:130px 1fr auto;align-items:center;gap:12px;padding:12px;display:grid}.closing-digital-records small{color:#697386}.closing-digital-records strong{color:#17633e}.closing-digital-records .has-variance{color:#9c2e29}.closing-actions{margin-top:18px}.secondary-button{color:#16324f;background:#fff;border:1px solid #16324f;border-radius:13px;min-height:46px;margin-top:18px;padding:0 18px;font-weight:800}@media (max-width:850px){.closing-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.access-card{max-width:680px}.access-card .lede strong{color:#16324f;overflow-wrap:anywhere}.access-state{color:#17675f;background:#e8f4f1;border-radius:16px;align-items:center;gap:12px;margin:24px 0 4px;padding:15px 17px;display:flex}.access-state>span{background:#c9ece3;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.access-state div{gap:3px;display:grid}.access-state small{color:#526173;line-height:1.4}.team-page{gap:24px;max-width:1100px;display:grid}.team-notice{color:#17633e;background:#ecf8f4;border:1px solid #a9d7ca;border-radius:14px;padding:13px 15px;font-weight:700}.team-notice.error{color:#8e2d28;background:#fff1f0;border-color:#e9aba7}.team-section{background:#fff;border:1px solid #dfe3d6;border-radius:22px;padding:22px;box-shadow:0 12px 35px #232e250d}.team-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.team-section-heading h2{color:#16324f;margin:3px 0 0}.team-section-heading>span{color:#526173;background:#f1f4ee;border-radius:999px;padding:7px 10px;font-size:.76rem;font-weight:800}.team-invite-form{grid-template-columns:minmax(220px,1.5fr) minmax(160px,1fr) minmax(180px,1fr) auto;align-items:end;gap:12px;display:grid}.team-invite-form label,.inline-access-field{color:#344054;gap:7px;font-size:.8rem;font-weight:800;display:grid}.team-invite-form input,.team-invite-form select,.inline-access-field select{color:#17243a;min-height:46px;font:inherit;background:#fff;border:1px solid #ccd5c7;border-radius:13px;padding:0 13px}.team-invite-form .button{cursor:pointer;border:0;min-height:46px}.team-invite-form .button:disabled{cursor:not-allowed;opacity:.55}.role-explainer{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.role-explainer span{color:#697386;background:#f4f6f1;border-radius:14px;gap:3px;padding:13px 15px;font-size:.78rem;line-height:1.4;display:grid}.role-explainer strong{color:#26354b}.team-list{gap:10px;display:grid}.team-row{border:1px solid #e1e5dc;border-radius:16px;grid-template-columns:minmax(230px,1fr) minmax(155px,auto) minmax(240px,auto);align-items:center;gap:18px;padding:15px;display:grid}.team-person{gap:3px;min-width:0;display:grid}.team-person strong{color:#26354b}.team-person small{color:#697386;overflow-wrap:anywhere}.access-pill{border-radius:999px;justify-self:start;padding:7px 10px;font-size:.75rem;font-weight:850}.access-pill.active{color:#17633e;background:#e6f5ee}.access-pill.pending{color:#765200;background:#fff3d5}.access-pill.revoked{color:#9c2e29;background:#feeceb}.access-pill.waiting{color:#765200;background:#fff3d5}.access-pill.owner{color:#16324f;background:#e8f0f8}.team-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.team-actions button{color:#344054;cursor:pointer;background:#fff;border:1px solid #cfd8cf;border-radius:10px;min-height:38px;padding:0 11px;font-weight:750}.team-actions button:hover{border-color:#7f9184}.team-actions button:disabled{cursor:not-allowed;opacity:.5}.team-actions .danger-link{color:#9c2e29}.owner-protected{color:#697386;font-size:.76rem;font-weight:700}.inline-access-field{grid-template-columns:auto minmax(150px,1fr);align-items:center}.device-section-note{color:#697386;margin:-5px 0 17px;font-size:.82rem;line-height:1.5}.device-empty{color:#697386;background:#f4f6f1;border-radius:14px;margin:0;padding:15px}@media (max-width:900px){.team-invite-form{grid-template-columns:repeat(2,minmax(0,1fr))}.team-row{grid-template-columns:minmax(210px,1fr) auto}.team-row .team-actions{grid-column:1/-1;justify-content:flex-start}}@media (max-width:560px){.team-page{padding-inline:12px}.team-section{padding:16px}.team-invite-form,.role-explainer,.team-row{grid-template-columns:1fr}.team-invite-form .button{width:100%}.team-actions{flex-wrap:wrap;grid-column:auto;justify-content:flex-start}.team-actions button{flex:1}.inline-access-field{grid-template-columns:1fr}.closing-page{padding-inline:12px}.closing-snapshot,.closing-form,.closing-receipt{padding:16px}.closing-fields.three,.closing-fields.two,.cash-count-panel,.closing-result-grid{grid-template-columns:1fr}.digital-closing-list>div{grid-template-columns:1fr;align-items:stretch}.closing-submit,.closing-record-meta{flex-direction:column;align-items:stretch}.closing-submit .complete-button{width:100%}.closing-digital-records>div{grid-template-columns:1fr;gap:4px}}.migration-page{gap:24px;max-width:1180px;display:grid}.migration-safety{color:#17633e;background:#ecf8f4;border:1px solid #9bcdbf;border-radius:16px;justify-content:space-between;gap:16px;padding:15px 18px;display:flex}.migration-safety span{color:#42655a}.migration-panel{background:#fff;border:1px solid #dfe3d6;border-radius:22px;padding:22px;box-shadow:0 12px 35px #232e250d}.migration-section-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.migration-section-heading h2,.migration-section-heading h3{color:#16324f;margin:3px 0 0}.migration-section-heading p{color:#697386;margin:6px 0 0}.migration-section-heading>span{color:#526173;white-space:nowrap;background:#f1f4ee;border-radius:999px;padding:7px 10px;font-size:.76rem;font-weight:800}.migration-upload{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;display:grid}.migration-upload label{color:#344054;gap:8px;font-size:.8rem;font-weight:800;display:grid}.migration-upload input{color:#526173;background:#fff;border:1px solid #ccd5c7;border-radius:13px;width:100%;min-height:48px;padding:10px}.migration-upload .button{cursor:pointer;border:0;min-height:48px}.migration-upload .button:disabled{cursor:wait;opacity:.6}.migration-help{color:#697386;margin:15px 0 0;font-size:.8rem;line-height:1.5}.migration-error{color:#8e2d28;background:#fff1f0;border-radius:13px;margin:15px 0 0;padding:12px 14px;font-weight:750}.migration-mapping{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.migration-mapping article{background:#f6f8f4;border-radius:16px;padding:16px}.migration-mapping h3{color:#16324f;margin:0 0 10px}.migration-mapping p{color:#526173;margin:7px 0 0;font-size:.8rem;line-height:1.5}.migration-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.migration-metrics article{border:1px solid #e1e5dc;border-radius:16px;gap:6px;min-height:135px;padding:16px;display:grid}.migration-metrics article.safe{background:#eef8f3}.migration-metrics article.urgent{background:#fff0ef;border-color:#efc3bf}.migration-metrics article.waiting{background:#fff8e7;border-color:#ead9ad}.migration-metrics small{color:#697386;font-weight:800}.migration-metrics strong{color:#16324f;font-size:2rem}.migration-metrics span{color:#697386;font-size:.76rem;line-height:1.4}.migration-reconciliation{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.migration-reconciliation div{background:#f4f6f1;border-radius:14px;gap:6px;padding:14px 16px;display:grid}.migration-reconciliation span{color:#697386;font-size:.76rem;font-weight:800}.migration-reconciliation strong{color:#26354b}.migration-exceptions{margin-top:24px}.migration-issue-list{gap:12px;display:grid}.migration-issue-list>article{border:1px solid #e1e5dc;border-radius:16px;overflow:hidden}.migration-row-heading{background:#f6f8f4;grid-template-columns:minmax(180px,auto) 1fr auto;align-items:center;gap:12px;padding:13px 15px;display:grid}.migration-row-heading span{color:#526173;font-size:.78rem;font-weight:800}.migration-row-heading strong{color:#26354b;overflow-wrap:anywhere}.migration-row-heading em{border-radius:999px;padding:6px 9px;font-size:.7rem;font-style:normal;font-weight:850}.migration-row-heading em.quarantined{color:#9c2e29;background:#feeceb}.migration-row-heading em.accepted{color:#17633e;background:#e6f5ee}.migration-issue-list ul{gap:8px;margin:0;padding:12px 15px 15px;list-style:none;display:grid}.migration-issue-list li{border-radius:11px;grid-template-columns:minmax(150px,auto) 1fr auto;align-items:center;gap:10px;padding:10px 12px;font-size:.78rem;display:grid}.migration-issue-list li.error{color:#7e2925;background:#fff1f0}.migration-issue-list li.warning{color:#765200;background:#fff8e7}.migration-issue-list li code{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.migration-empty{color:#17633e;background:#eef8f3;border-radius:14px;padding:15px}.migration-history{gap:8px;display:grid}.migration-history a{color:#526173;border:1px solid #e1e5dc;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:13px 15px;text-decoration:none;display:flex}.migration-history a.active{background:#eef8f3;border-color:#7fb9a7}.migration-history a>span:first-child{gap:3px;display:grid}.migration-history strong{color:#26354b}.migration-history small{color:#697386}@media (max-width:900px){.migration-upload,.migration-mapping,.migration-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.migration-page{padding-inline:12px}.migration-panel{padding:16px}.migration-safety,.migration-section-heading,.migration-history a{flex-direction:column;align-items:stretch}.migration-upload,.migration-mapping,.migration-metrics,.migration-reconciliation{grid-template-columns:1fr}.migration-upload .button{width:100%}.migration-row-heading,.migration-issue-list li{grid-template-columns:1fr}.migration-issue-list li code{max-width:100%}}html{background:var(--surface-app);min-width:320px;font-family:var(--font-sans);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}body{background:var(--surface-app);min-height:100svh;color:var(--text-primary)}::selection{background:var(--brand-200);color:var(--brand-900)}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:#0000}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.brand-mark{align-items:center;gap:var(--space-3);color:inherit;line-height:1;display:inline-flex}.brand-mark__image{border-radius:var(--radius-lg);object-fit:cover;border:2px solid #ffffff2e;flex:none;width:2.75rem;height:2.75rem}.brand-mark__copy{gap:.25rem;display:grid}.brand-mark__copy strong{letter-spacing:-.02em;font-size:.9375rem;font-weight:800}.brand-mark__copy small{color:#ffffff7a;letter-spacing:.12em;text-transform:uppercase;font-size:.625rem;font-weight:700}.brand-mark--compact .brand-mark__image{border:1px solid var(--border-subtle);border-radius:var(--radius-sm);width:2rem;height:2rem}.eyebrow,.brand{margin:0 0 var(--space-1);color:var(--brand-600);letter-spacing:.08em;text-transform:uppercase;font-size:.6875rem;font-weight:800}.sell-page{width:min(100%,var(--content-max));padding:var(--space-5) var(--space-6) var(--space-8);margin:0 auto}.page-heading{max-width:48rem}.page-heading h1{color:var(--text-primary);letter-spacing:-.035em;margin:0;font-size:clamp(1.625rem,2.3vw,2.25rem);line-height:1.12}.page-heading>p:last-child,.page-heading>div>p:last-child{max-width:54rem;margin:var(--space-2) 0 0;color:var(--text-secondary);font-size:.8125rem;line-height:1.5}.page-heading--system{justify-content:space-between;align-items:flex-end;gap:var(--space-5);max-width:none;margin-bottom:var(--space-5);display:flex}.page-heading__actions{gap:var(--space-2);flex:none;align-items:center;display:flex}.button,.complete-button,.complete-draft-button,.search-row button,.refresh-button,.secondary-button,.secondary-action,.share-receipt-button,.new-sale-button,.approve-button,.reject-button{min-height:var(--control-md);border-radius:var(--radius-md);padding:0 var(--space-4);background:var(--brand-600);color:#fff;box-shadow:var(--shadow-xs);transition:background var(--motion-fast) var(--ease-standard),border-color var(--motion-fast) var(--ease-standard),transform var(--motion-fast) var(--ease-standard);border:1px solid #0000;justify-content:center;align-items:center;font-size:.8125rem;font-weight:750;text-decoration:none;display:inline-flex}.button:hover:not(:disabled),.complete-button:hover:not(:disabled),.complete-draft-button:hover:not(:disabled),.search-row button:hover:not(:disabled),.refresh-button:hover:not(:disabled),.secondary-button:hover:not(:disabled),.secondary-action:hover:not(:disabled),.share-receipt-button:hover:not(:disabled),.new-sale-button:hover:not(:disabled),.approve-button:hover:not(:disabled),.reject-button:hover:not(:disabled){background:var(--brand-700)}.button:active:not(:disabled),.complete-button:active:not(:disabled),.complete-draft-button:active:not(:disabled),.search-row button:active:not(:disabled),.refresh-button:active:not(:disabled),.secondary-button:active:not(:disabled),.secondary-action:active:not(:disabled),.share-receipt-button:active:not(:disabled),.new-sale-button:active:not(:disabled),.approve-button:active:not(:disabled),.reject-button:active:not(:disabled){transform:translateY(1px)}.secondary-button,.secondary-action,.new-sale-button,.refresh-button{border-color:var(--border-strong);background:var(--surface-panel);color:var(--text-secondary);box-shadow:none}.secondary-button:hover:not(:disabled),.secondary-action:hover:not(:disabled),.new-sale-button:hover:not(:disabled),.refresh-button:hover:not(:disabled){border-color:var(--brand-300);background:var(--brand-50);color:var(--brand-700)}.complete-button,.complete-draft-button,.share-receipt-button,.approve-button{background:var(--brand-600);color:#fff}.reject-button{border-color:var(--danger-100);background:var(--surface-panel);color:var(--danger-700)}.reject-button:hover:not(:disabled){border-color:var(--danger-600);background:var(--danger-50)}.text-button,.danger-link{color:var(--brand-700)}input,select,textarea,.auth-form input{width:100%;min-height:var(--control-md);border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:0 var(--space-3);background:var(--surface-panel);color:var(--text-primary);box-shadow:var(--shadow-xs);transition:border-color var(--motion-fast) var(--ease-standard),box-shadow var(--motion-fast) var(--ease-standard)}input:hover:not(:disabled),select:hover:not(:disabled),textarea:hover:not(:disabled),.auth-form input:hover:not(:disabled){border-color:var(--gray-400)}input:focus,select:focus,textarea:focus,.auth-form input:focus{border-color:var(--brand-400);box-shadow:0 0 0 3px var(--focus-ring);outline:0}input::placeholder,select::placeholder,textarea::placeholder,.auth-form input::placeholder{color:var(--gray-400)}textarea{min-height:5rem;padding-block:var(--space-3);resize:vertical}.search-bar,.results-panel,.checkout-panel,.receipt-header-card,.receipt-builder,.draft-receipts,.new-product-panel,.product-change-panel,.approval-card,.inventory-products,.inventory-summary,.reorder-panel,.count-panel,.movement-panel,.inventory-history-panel,.dashboard-panel,.stock-risk-section,.data-quality-section,.closing-snapshot,.closing-form,.closing-receipt,.team-section,.migration-panel,.sale-success{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs)}.search-bar{margin:0 0 var(--space-4);padding:var(--space-3);box-shadow:none}.search-bar label{margin-bottom:var(--space-2);color:var(--text-secondary);font-size:.75rem;font-weight:700}.sale-type-switch{gap:var(--space-2);width:min(100%,38rem);margin:var(--space-4) 0;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-subtle);grid-template-columns:repeat(2,minmax(0,1fr));padding:.25rem;display:grid}.sale-type-switch button{border-radius:var(--radius-md);min-height:3.25rem;padding:var(--space-2) var(--space-3);color:var(--text-secondary);text-align:left;background:0 0;border:1px solid #0000;flex-direction:column;justify-content:center;align-items:flex-start;gap:.125rem;display:flex}.sale-type-switch button strong{color:inherit;font-size:.8125rem}.sale-type-switch button span{font-size:.6875rem}.sale-type-switch button.active{border-color:var(--brand-200);background:var(--surface-panel);color:var(--brand-700);box-shadow:var(--shadow-xs)}.search-row{gap:var(--space-2)}.search-row .scan-trigger{background:var(--gray-800)}.section-title{min-height:2rem;padding:0 0 var(--space-3)}.section-title h2{color:var(--text-primary);letter-spacing:-.01em;font-size:.9375rem}.section-title span{color:var(--text-tertiary);font-size:.6875rem;font-weight:650}.workspace-grid{gap:var(--space-4);grid-template-columns:minmax(17rem,.82fr) minmax(26rem,1.18fr)}.results-panel{padding:var(--space-4)}.checkout-panel{padding:var(--space-5)}.product-list,.movement-list,.activity-list,.approval-list,.team-list,.draft-receipt-list,.migration-history{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.product-list::-webkit-scrollbar{width:8px;height:8px}.movement-list::-webkit-scrollbar{width:8px;height:8px}.activity-list::-webkit-scrollbar{width:8px;height:8px}.approval-list::-webkit-scrollbar{width:8px;height:8px}.team-list::-webkit-scrollbar{width:8px;height:8px}.draft-receipt-list::-webkit-scrollbar{width:8px;height:8px}.migration-history::-webkit-scrollbar{width:8px;height:8px}.product-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.movement-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.activity-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.approval-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.team-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.draft-receipt-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.migration-history::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.product-list{gap:var(--space-2)}.product-row{gap:var(--space-3);border-radius:var(--radius-md);background:var(--surface-subtle);min-height:3.75rem;transition:border-color var(--motion-fast) var(--ease-standard),background var(--motion-fast) var(--ease-standard);border-color:#0000;grid-template-columns:2.25rem minmax(0,1fr) auto auto;padding:.625rem}.product-row:hover{border-color:var(--brand-200);background:var(--brand-25)}.product-row.selected{border-color:var(--brand-300);background:var(--brand-50);box-shadow:inset 3px 0 var(--brand-600)}.product-price{color:var(--text-primary);flex-direction:column;align-items:flex-end;font-size:.75rem;font-weight:750;display:flex}.product-price small{color:var(--text-tertiary);font-size:.625rem;font-weight:600}.product-icon,.product-letter{border-radius:var(--radius-sm);background:var(--brand-100);width:2.25rem;height:2.25rem;color:var(--brand-700);place-items:center;font-size:.875rem;font-weight:800;display:grid}.product-copy{gap:.125rem}.product-copy strong{color:var(--text-primary);font-size:.8125rem}.product-copy small{color:var(--text-tertiary);font-size:.6875rem}.stock-pill,.stock-chip,.stock-large,.role-chip,.pending-chip,.activity-status,.access-pill,.ledger-ok,.ledger-warning,.reorder-status{border-radius:var(--radius-full);background:var(--success-50);color:var(--success-700);padding:.3125rem .5rem;font-size:.6875rem;font-weight:750}.stock-pill.empty,.ledger-warning,.access-pill.revoked,.activity-status.rejected,.activity-status.expired{background:var(--danger-50);color:var(--danger-700)}.pending-chip,.activity-status,.access-pill.pending,.access-pill.waiting,.reorder-status.disabled{background:var(--warning-50);color:var(--warning-700)}.selected-product{border-color:var(--border-subtle);padding-bottom:var(--space-4)}.selected-product h2{color:var(--text-primary);font-size:1.125rem}.price-summary,.approval-money-grid,.balance-grid,.owner-cost-grid,.stock-count-comparison,.closing-snapshot-grid,.closing-result-grid,.migration-metrics,.stock-position-grid,.quality-grid{gap:var(--space-2)}.price-summary div,.approval-money-grid>div,.balance-grid>div,.owner-cost-grid>div,.stock-count-comparison>div,.closing-snapshot-grid>div,.closing-result-grid>div,.migration-metrics article,.stock-position-grid article,.quality-grid article{border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-3);background:var(--surface-subtle)}.price-summary{margin:var(--space-4) 0}.price-summary .permitted,.approval-money-grid .requested{border-color:var(--brand-100);background:var(--brand-50)}.receipt-sale-type{margin:0 0 var(--space-3);border-radius:var(--radius-full);background:var(--brand-50);color:var(--brand-700);padding:.3125rem .625rem;font-size:.6875rem;font-weight:750;display:inline-flex}.cart-section{margin-top:var(--space-5);border-color:var(--border-subtle);padding-top:var(--space-4)}.cart-row,.receipt-line-card,.draft-receipt-card,.activity-card,.movement-card,.team-row,.migration-history a{border-color:var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-panel);box-shadow:none}.cart-row{padding:var(--space-3)}.alert,.auth-error,.closing-alert,.team-notice,.migration-error{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);border:1px solid #0000;font-size:.8125rem}.alert.error,.auth-error,.closing-alert.danger,.team-notice.error,.migration-error{border-color:var(--danger-100);background:var(--danger-50);color:var(--danger-700)}.alert.success,.team-notice{border-color:var(--success-100);background:var(--success-50);color:var(--success-700)}.catalog-sync-state,.device-readiness,.offline-queue-state{border-color:var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-subtle)}.offline-readiness{gap:var(--space-2);margin:0 0 var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr))}.offline-readiness .catalog-sync-state{margin:0}.barcode-scanner{--scanner-accent:var(--info-600);border:2px solid var(--scanner-accent);border-radius:var(--radius-lg);background:var(--gray-900);transition:border-color var(--motion-fast),box-shadow var(--motion-fast);overflow:hidden}.barcode-scanner[data-state=scanning]{--scanner-accent:#2dd4bf}.barcode-scanner[data-state=success]{--scanner-accent:#12b76a;box-shadow:0 0 0 .25rem #12b76a2e}.barcode-scanner[data-state=warning]{--scanner-accent:#fdb022}.barcode-scanner[data-state=error]{--scanner-accent:#f04438;box-shadow:0 0 0 .25rem #f0443829}.barcode-scanner .scanner-viewport{border:2px solid var(--scanner-accent);transition:border-color var(--motion-fast)}.barcode-scanner .scanner-target{border-color:var(--scanner-accent);transition:border-color var(--motion-fast),box-shadow var(--motion-fast)}.barcode-scanner .scanner-beam{z-index:2;background:linear-gradient(90deg, transparent, var(--scanner-accent) 18% 82%, transparent);height:2px;box-shadow:0 0 .75rem var(--scanner-accent);opacity:0;pointer-events:none;position:absolute;top:27%;left:9%;right:9%}.barcode-scanner[data-state=scanning] .scanner-beam,.barcode-scanner[data-state=warning] .scanner-beam{opacity:1;animation:1.8s ease-in-out infinite scanner-sweep}@keyframes scanner-sweep{0%,to{top:27%}50%{top:72%}}.scanner-modal-panel{width:min(34rem,100%)}.scanner-modal-panel>.modal-body{padding:0;overflow:hidden}.scanner-modal-panel .barcode-scanner{max-width:none;padding:var(--space-5);box-shadow:none;border-radius:0;margin:0}.scanner-modal-panel .scanner-viewport{aspect-ratio:4/3;min-height:0}.scanner-modal-panel .scanner-privacy{margin-top:var(--space-2);color:var(--gray-400);font-size:.75rem}.scanner-modal-panel .scanner-feedback{align-items:center;gap:var(--space-3);margin-top:var(--space-4);border:1px solid var(--scanner-accent);border-radius:var(--radius-md);padding:var(--space-3);background:color-mix(in srgb, var(--scanner-accent) 14%, transparent);color:#fff;border-left-width:4px;grid-template-columns:2rem minmax(0,1fr);display:grid}.scanner-modal-panel .scanner-feedback>span:last-child{gap:.125rem;display:grid}.scanner-modal-panel .scanner-feedback strong,.scanner-modal-panel .scanner-feedback small{display:block}.scanner-modal-panel .scanner-feedback strong{font-size:.875rem}.scanner-modal-panel .scanner-feedback small{color:var(--gray-300);font-size:.75rem;line-height:1.4}.scanner-modal-panel .scanner-feedback-icon{border-radius:var(--radius-full);background:var(--scanner-accent);color:#fff;place-items:center;width:2rem;height:2rem;font-size:1rem;font-weight:850;display:grid}.scanner-modal-panel .scanner-actions{gap:var(--space-2);margin-top:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.scanner-modal-panel .scanner-actions button{min-height:var(--control-md);border:1px solid var(--scanner-accent);border-radius:var(--radius-md);background:var(--scanner-accent);color:#fff;font-weight:750}.scanner-modal-panel .scanner-actions .scanner-manual{background:0 0}.receipt-header-card,.receipt-builder,.draft-receipts,.new-product-panel,.product-change-panel{margin:0 0 var(--space-4);padding:var(--space-5)}.receive-page{gap:var(--space-3)}.receive-steps{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);padding:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));margin:0;list-style:none;display:grid}.receive-steps li{align-items:center;gap:var(--space-2);border-radius:var(--radius-md);min-width:0;padding:var(--space-2) var(--space-3);color:var(--text-tertiary);display:flex;position:relative}.receive-steps li:after{background:var(--border-strong);content:"";width:.5rem;height:1px;position:absolute;right:-.25rem}.receive-steps li:last-child:after{display:none}.receive-steps li>span{border:1px solid var(--border-strong);border-radius:var(--radius-full);flex:none;place-items:center;width:1.75rem;height:1.75rem;font-size:.6875rem;font-weight:800;display:grid}.receive-steps li div{gap:.125rem;min-width:0;display:grid}.receive-steps li strong,.receive-steps li small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.receive-steps li strong{color:var(--text-secondary);font-size:.6875rem}.receive-steps li small{font-size:.5625rem}.receive-steps li.active{background:var(--brand-50);color:var(--brand-700)}.receive-steps li.active>span{border-color:var(--brand-300);background:var(--brand-600);color:#fff}.receive-steps li.active strong{color:var(--brand-700)}.receive-steps li.done>span{border-color:var(--success-100);background:var(--success-50);color:var(--success-700)}.receive-page .receipt-header-card{padding:var(--space-4);margin:0}.receive-page .receipt-header-card .section-title{padding-bottom:var(--space-3);align-items:flex-start}.receive-page .receipt-header-card .section-title h2{margin:0}.receive-page .receipt-header-card .section-title p{color:var(--text-tertiary);margin:.125rem 0 0;font-size:.625rem}.receive-bill-fields{gap:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.receive-bill-fields label{gap:var(--space-1);min-width:0;color:var(--text-secondary);font-size:.6875rem;font-weight:700;display:grid}.receive-page .new-supplier-form{margin-top:var(--space-3);padding:var(--space-3)}.receive-command-center{gap:var(--space-3);grid-template-columns:minmax(35rem,1.65fr) minmax(20rem,.8fr);align-items:stretch;min-width:0;display:grid}.receive-product-column{flex-direction:column;min-width:0;min-height:0;display:flex}.receive-product-column>.search-bar{margin:0 0 var(--space-2)}.receive-product-column>.workspace-grid{gap:var(--space-2);flex:1;grid-template-columns:minmax(17rem,.85fr) minmax(22rem,1.15fr);min-height:0}.receive-product-column .results-panel,.receive-product-column .checkout-panel{height:100%;min-height:0;overflow:auto}.receive-product-column .results-panel{flex-direction:column;display:flex}.receive-product-column .product-list{flex:1;min-height:0;overflow-y:auto}.receive-command-center,.receive-command-center .receipt-builder,.receive-product-column{height:clamp(24rem,100svh - 25rem,34rem)}.receive-product-column .new-product-panel{margin:0 0 var(--space-2);padding:var(--space-3)}.receive-product-column .new-product-panel:not(.expanded){background:var(--surface-panel);border-style:dashed}.receive-product-column .new-product-panel:not(.expanded) .section-title{min-height:0;padding:0}.receive-product-column .new-product-panel:not(.expanded)>p,.receive-product-column .new-product-panel:not(.expanded) .eyebrow{display:none}.receive-product-column .new-product-panel:not(.expanded) h2{margin:0;font-size:.75rem}.receive-product-column .new-product-panel.expanded{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.receive-product-column .new-product-panel.expanded::-webkit-scrollbar{width:8px;height:8px}.receive-product-column .new-product-panel.expanded::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.receive-product-column .new-product-panel.expanded{overflow-y:auto}.receive-command-center .receipt-builder{min-width:0;min-height:0;padding:var(--space-4);flex-direction:column;margin:0;display:flex;position:sticky;top:0;overflow:hidden}.receive-command-center .receipt-builder .section-title{flex:none;align-items:flex-start}.receive-command-center .receipt-builder .section-title h2{margin:0}.receive-command-center .receipt-builder .section-title p{color:var(--text-tertiary);margin:.125rem 0 0;font-size:.625rem}.receive-command-center .receipt-builder .section-title>span{text-align:right}.receive-command-center .receipt-builder .receipt-line-list{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.receive-command-center .receipt-builder .receipt-line-list::-webkit-scrollbar{width:8px;height:8px}.receive-command-center .receipt-builder .receipt-line-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.receive-command-center .receipt-builder .receipt-line-list{flex:1;min-height:0;overflow-y:auto}.receive-command-center .receipt-builder .receipt-line-card{gap:var(--space-2);padding:var(--space-2);grid-template-columns:minmax(0,1fr) auto}.receive-command-center .receipt-builder .receipt-line-card .condition-breakdown,.receive-command-center .receipt-builder .receipt-line-card .line-actions{grid-column:1/-1}.receive-command-center .receipt-builder .receipt-totals.condition-totals{gap:var(--space-2);margin:var(--space-3) 0;grid-template-columns:repeat(2,minmax(0,1fr))}.receive-command-center .receipt-builder .receipt-totals.condition-totals span{padding:var(--space-2)}.receive-command-center .receipt-builder .receipt-totals.condition-totals .stock-effect-total{grid-column:1/-1}.receive-command-center .receipt-builder>.complete-button{flex:none;width:100%}.receive-page>.draft-receipts{margin:0}.new-product-panel{border-color:var(--brand-200);background:var(--brand-25)}.new-product-guidance,.change-safety-note,.count-safety,.stock-approval-warning,.migration-safety,.offline-read-only{border-radius:var(--radius-md)}.approval-heading{margin-bottom:var(--space-5);align-items:flex-end}.approval-heading h1{font-size:clamp(1.625rem,2.3vw,2.25rem)}.approval-group+.approval-group{margin-top:var(--space-5)}.approval-card{padding:var(--space-5)}.approval-product h2,.activity-card-heading h2,.inventory-product-heading h2,.team-section-heading h2,.migration-section-heading h2,.closing-snapshot h2,.closing-form h2,.closing-receipt h2{color:var(--text-primary)}.inventory-layout{gap:var(--space-4);grid-template-columns:minmax(16rem,.7fr) minmax(0,1.6fr)}.inventory-products,.inventory-summary,.reorder-panel,.count-panel,.movement-panel,.inventory-history-panel{padding:var(--space-4)}.inventory-products{top:0}.inventory-products .product-list{max-height:calc(100svh - 18.5rem)}.inventory-detail,.inventory-page{gap:var(--space-4)}.inventory-kpis{gap:var(--space-3);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.inventory-kpis article{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);gap:var(--space-1);min-width:0;padding:var(--space-3) var(--space-4);display:grid}.inventory-kpis small{color:var(--text-tertiary);font-size:.6875rem;font-weight:700}.inventory-kpis strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:1.25rem;overflow:hidden}.inventory-kpis .watch{border-color:var(--warning-100);background:var(--warning-50)}.inventory-kpis .risk{border-color:var(--danger-100);background:var(--danger-50)}.inventory-toolbar{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);gap:var(--space-3);padding:var(--space-3);grid-template-columns:minmax(15rem,1fr) minmax(10rem,.35fr) auto;align-items:end;display:grid}.inventory-toolbar label{gap:var(--space-1);display:grid}.inventory-toolbar label span{color:var(--text-secondary);font-size:.6875rem;font-weight:700}.inventory-toolbar input,.inventory-toolbar select,.inventory-toolbar button{min-height:var(--control-md)}.inventory-label-actions{align-items:center;gap:var(--space-2);display:flex}.inventory-label-actions>span{min-width:7.5rem;display:grid}.inventory-label-actions>span strong{color:var(--text-primary);font-size:.875rem}.inventory-label-actions>span small{color:var(--text-tertiary);white-space:nowrap;font-size:.5625rem;font-weight:700}.inventory-label-actions .text-button{min-height:var(--control-md);padding-inline:var(--space-2)}.inventory-command-center{grid-template-columns:minmax(33rem,1.45fr) minmax(23rem,1fr);align-items:stretch;min-height:min(42rem,100svh - 17.5rem)}.inventory-command-center>.inventory-products,.inventory-command-center>.inventory-detail{min-height:0;max-height:min(42rem,100svh - 17.5rem)}.inventory-command-center>.inventory-products{flex-direction:column;display:flex;overflow:hidden}.inventory-table-wrap{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.inventory-table-wrap::-webkit-scrollbar{width:8px;height:8px}.inventory-table-wrap::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.inventory-table-wrap{min-height:0;overflow:auto}.inventory-table{border-collapse:collapse;width:100%;font-size:.75rem}.inventory-table th{z-index:1;padding:.625rem var(--space-2);background:var(--surface-subtle);color:var(--text-tertiary);letter-spacing:.04em;text-align:left;text-transform:uppercase;font-size:.625rem;position:sticky;top:0}.inventory-table td{border-top:1px solid var(--border-subtle);padding:.625rem var(--space-2);color:var(--text-secondary);vertical-align:middle}.inventory-table tr.selected td{background:var(--brand-50)}.inventory-table input[type=checkbox]{width:1rem;min-height:1rem;accent-color:var(--brand-600)}.inventory-product-link{max-width:15rem;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;gap:.125rem;padding:0;display:grid}.inventory-product-link strong,.inventory-product-link small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-product-link small{color:var(--text-tertiary);font-family:var(--font-mono);font-size:.625rem}.stock-state{color:var(--success-700);margin-top:.125rem;font-size:.625rem;font-weight:700;display:block}.stock-state.low{color:var(--warning-700)}.stock-state.out{color:var(--danger-700)}.inventory-command-center>.inventory-detail{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.inventory-command-center>.inventory-detail::-webkit-scrollbar{width:8px;height:8px}.inventory-command-center>.inventory-detail::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.inventory-command-center>.inventory-detail{display:block;overflow:auto}.inventory-detail-heading{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);justify-content:space-between;align-items:flex-start;gap:var(--space-4);border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:var(--space-4);display:flex}.inventory-detail-heading h2{color:var(--text-primary);margin:0;font-size:1.125rem}.inventory-detail-heading p:last-child{margin:var(--space-1) 0 0;color:var(--text-tertiary);font-size:.75rem}.inventory-tabs{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.inventory-tabs::-webkit-scrollbar{width:8px;height:8px}.inventory-tabs::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.inventory-tabs{z-index:3;border:1px solid var(--border-subtle);padding:0 var(--space-2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-top:0;display:flex;position:sticky;top:0;overflow-x:auto}.inventory-tabs button{min-height:2.75rem;padding:0 var(--space-3);color:var(--text-tertiary);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;font-size:.6875rem;font-weight:700}.inventory-tabs button.active{border-bottom-color:var(--brand-600);color:var(--brand-700)}.inventory-detail-heading+.inventory-tabs+.inventory-summary,.inventory-tabs+.inventory-summary,.inventory-tabs+.inventory-history-panel,.inventory-tabs+.movement-panel{border-radius:0 0 var(--radius-lg) var(--radius-lg);border-top:0}.inventory-price-grid{gap:var(--space-2);margin-top:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.inventory-price-grid>div{border:1px solid var(--brand-100);border-radius:var(--radius-md);padding:var(--space-3);background:var(--brand-50)}.inventory-price-grid small{color:var(--text-tertiary);font-size:.625rem;display:block}.inventory-price-grid strong{color:var(--text-primary);font-size:.875rem}.inventory-history-panel{min-height:20rem}.inventory-history-panel .section-title{margin-bottom:var(--space-4);align-items:flex-start}.inventory-history-panel .section-title p{margin:var(--space-1) 0 0;color:var(--text-tertiary);font-size:.75rem}.inventory-history-list{display:grid}.inventory-history-list article{gap:var(--space-3);border-top:1px solid var(--border-subtle);padding:var(--space-3) 0;grid-template-columns:minmax(9rem,1.35fr) minmax(8rem,1fr) minmax(7rem,.8fr) auto;align-items:center;display:grid}.inventory-history-list div{gap:.125rem;min-width:0;display:grid}.inventory-history-list strong,.inventory-history-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-history-list strong{color:var(--text-primary);font-size:.75rem}.inventory-history-list small,.inventory-history-list time{color:var(--text-tertiary);font-size:.625rem}.inventory-history-list .positive{color:var(--success-700)}.inventory-history-list .negative{color:var(--danger-700)}.sale-price-trend{margin:0 0 var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-3);background:var(--surface-subtle)}.sale-price-trend>div{color:var(--text-tertiary);justify-content:space-between;font-size:.625rem;display:flex}.sale-price-trend svg{width:100%;height:6rem;margin-top:var(--space-2);display:block}.sale-price-trend path{fill:none;stroke:var(--border-strong)}.sale-price-trend polyline{fill:none;stroke:var(--brand-600);stroke-linecap:round;stroke-linejoin:round;stroke-width:3px}.sale-price-trend circle{fill:var(--surface-panel);stroke:var(--brand-600);stroke-width:2px}.sale-price-trend figcaption{color:var(--text-tertiary);text-align:center;font-size:.625rem}.inventory-empty-copy{padding:var(--space-8);color:var(--text-tertiary);text-align:center;margin:0;font-size:.8125rem}.movement-card{padding:var(--space-3);grid-template-columns:6.25rem minmax(0,1fr)}.dashboard-page{gap:var(--space-5)}.dashboard-heading{align-items:flex-end;gap:var(--space-5)}.dashboard-heading .page-heading h1{max-width:none;font-size:clamp(1.625rem,2.3vw,2.25rem)}.dashboard-updated{border-color:var(--border-subtle);border-radius:var(--radius-md);min-width:12rem;padding:var(--space-3);background:var(--surface-panel);box-shadow:var(--shadow-xs)}.dashboard-metrics{gap:var(--space-3);grid-template-columns:repeat(4,minmax(0,1fr))}.metric-card{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);min-height:6.75rem;padding:var(--space-4);background:var(--surface-panel);box-shadow:var(--shadow-xs)}.metric-card.primary,.metric-card.internal{background:var(--surface-panel)}.metric-card.primary{border-top:3px solid var(--brand-500)}.metric-card.primary small,.metric-card.primary span{color:var(--text-secondary)}.metric-card strong{color:var(--text-primary);font-size:clamp(1.25rem,1.8vw,1.75rem)}.insights-page{gap:var(--space-4)}.insight-scorecard{gap:var(--space-3);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.insight-kpi{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);gap:var(--space-1);min-height:8rem;padding:var(--space-4);align-content:start;display:grid}.insight-kpi.primary{border-top:3px solid var(--brand-500)}.insight-kpi>small{color:var(--text-tertiary);font-size:.6875rem;font-weight:700}.insight-kpi>strong{color:var(--text-primary);font-size:clamp(1.25rem,1.8vw,1.75rem)}.insight-kpi>span,.insight-kpi>em{color:var(--text-secondary);font-size:.6875rem;font-style:normal}.insight-change{width:fit-content;margin-top:var(--space-1);border-radius:var(--radius-full);padding:.1875rem .4375rem;font-weight:700}.insight-change.up{background:var(--success-50);color:var(--success-700)}.insight-change.down{background:var(--danger-50);color:var(--danger-700)}.insight-change.neutral{background:var(--gray-100);color:var(--text-tertiary)}.insights-layout{gap:var(--space-3);grid-template-columns:minmax(0,1.55fr) minmax(19rem,.75fr);display:grid}.insight-panel{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);min-width:0;padding:var(--space-4)}.insight-panel .section-title{margin-bottom:var(--space-3);align-items:flex-start}.insight-panel .section-title h2{color:var(--text-primary);font-size:.9375rem}.insight-panel .section-title p{color:var(--text-tertiary);margin:.125rem 0 0;font-size:.6875rem}.sales-trend{gap:var(--space-2);grid-template-columns:repeat(6,minmax(3.5rem,1fr));align-items:end;height:10.5rem;display:grid}.sales-trend article{text-align:center;gap:.1875rem;min-width:0;display:grid}.sales-trend strong,.sales-trend small,.sales-trend .trend-amount{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sales-trend strong{color:var(--text-primary);font-size:.75rem}.sales-trend small,.sales-trend .trend-amount{color:var(--text-tertiary);font-size:.625rem}.trend-track{border-radius:var(--radius-sm);background:var(--gray-100);height:6rem;position:relative;overflow:hidden}.trend-bar{height:var(--trend-height);border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:linear-gradient(180deg, var(--brand-400), var(--brand-600));position:absolute;bottom:0;left:0;right:0}.channel-list{gap:var(--space-4);display:grid}.channel-list article{gap:var(--space-2);grid-template-columns:minmax(0,1fr) auto;display:grid}.channel-list article>div:first-child{gap:.125rem;display:grid}.channel-list strong{color:var(--text-primary);font-size:.8125rem}.channel-list span,.channel-list small{color:var(--text-tertiary);font-size:.625rem}.channel-share{border-radius:var(--radius-full);background:var(--gray-100);grid-column:1/-1;height:.375rem;overflow:hidden}.channel-share span{border-radius:inherit;background:var(--brand-500);height:100%;display:block}.insight-ranking{display:grid}.insight-ranking a{gap:var(--space-3);border-top:1px solid var(--border-subtle);min-width:0;color:inherit;grid-template-columns:1.75rem minmax(0,1fr) auto;align-items:center;padding:.625rem 0;display:grid}.insight-ranking a:first-child{border-top:0}.insight-ranking a>span:not(.rank){gap:.125rem;min-width:0;display:grid}.insight-ranking strong,.insight-ranking small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.insight-ranking strong{color:var(--text-primary);font-size:.75rem}.insight-ranking small{color:var(--text-tertiary);font-size:.625rem}.insight-ranking.compact a{grid-template-columns:minmax(0,1fr) auto}.rank{border-radius:var(--radius-sm);background:var(--brand-50);width:1.75rem;height:1.75rem;color:var(--brand-700);place-items:center;font-size:.6875rem;font-weight:800;display:grid}.ranking-money{text-align:right}.stock-insight-summary{gap:var(--space-2);margin-bottom:var(--space-2);grid-template-columns:1fr 1fr;display:grid}.stock-insight-summary span{border-radius:var(--radius-md);padding:var(--space-3);background:var(--surface-subtle);gap:.125rem;display:grid}.stock-insight-summary small{color:var(--text-tertiary);font-size:.625rem}.stock-insight-summary strong{color:var(--text-primary);font-size:.875rem}.customers-page{gap:var(--space-4)}.customer-kpis{gap:var(--space-3);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.customer-kpis article{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);gap:var(--space-1);padding:var(--space-3) var(--space-4);display:grid}.customer-kpis small{color:var(--text-tertiary);font-size:.6875rem;font-weight:700}.customer-kpis strong{color:var(--text-primary);font-size:1.25rem}.customer-toolbar{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);gap:var(--space-3);padding:var(--space-3);display:grid}.customer-toolbar form{gap:var(--space-2);grid-template-columns:minmax(14rem,1fr) auto auto;align-items:end;display:grid}.customer-toolbar label{gap:var(--space-1);display:grid}.customer-toolbar label span{color:var(--text-secondary);font-size:.6875rem;font-weight:700}.customer-toolbar input,.customer-toolbar button{min-height:var(--control-md)}.customer-clear-search{min-height:var(--control-md);padding-inline:var(--space-2);color:var(--brand-700);align-items:center;font-size:.75rem;font-weight:700;display:inline-flex}.customer-segments{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.customer-segments::-webkit-scrollbar{width:8px;height:8px}.customer-segments::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.customer-segments{gap:var(--space-1);display:flex;overflow-x:auto}.customer-segments a{border-radius:var(--radius-full);min-width:max-content;color:var(--text-secondary);border:1px solid #0000;padding:.375rem .6875rem;font-size:.6875rem;font-weight:700}.customer-segments a:hover{background:var(--surface-subtle);color:var(--text-primary)}.customer-segments a.active{border-color:var(--brand-100);background:var(--brand-50);color:var(--brand-700)}.customer-workspace{gap:var(--space-3);grid-template-columns:minmax(20rem,.8fr) minmax(27rem,1.2fr);min-height:min(40rem,100svh - 18rem);display:grid}.customer-directory,.customer-profile{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-xs);min-width:0;min-height:0;max-height:min(40rem,100svh - 18rem)}.customer-directory{padding:var(--space-4);flex-direction:column;display:flex;overflow:hidden}.customer-directory .section-title{flex:none}.customer-directory .section-title h2{margin:0}.customer-directory .section-title p{margin:var(--space-1) 0 0;color:var(--text-tertiary);font-size:.6875rem}.customer-list{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.customer-list::-webkit-scrollbar{width:8px;height:8px}.customer-list::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.customer-list{min-height:0;display:grid;overflow-y:auto}.customer-list>a{gap:var(--space-3);border-top:1px solid var(--border-subtle);min-width:0;padding:.75rem var(--space-2);color:inherit;grid-template-columns:2.25rem minmax(0,1fr) auto;align-items:center;display:grid}.customer-list>a:first-child{border-top:0}.customer-list>a:hover,.customer-list>a.selected{border-radius:var(--radius-md);background:var(--brand-50)}.customer-list>a.selected{box-shadow:inset 3px 0 0 var(--brand-500)}.customer-avatar{border-radius:var(--radius-md);background:var(--brand-100);width:2.25rem;height:2.25rem;color:var(--brand-700);place-items:center;font-size:.8125rem;font-weight:800;display:grid}.customer-list-copy,.customer-list-value{gap:.1875rem;min-width:0;display:grid}.customer-list-copy strong,.customer-list-copy small,.customer-list-value strong,.customer-list-value small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-list-copy strong,.customer-list-value strong{color:var(--text-primary);font-size:.75rem}.customer-list-copy small,.customer-list-value small{color:var(--text-tertiary);font-size:.625rem}.customer-list-value{text-align:right}.customer-segment{border-radius:var(--radius-full);background:var(--gray-100);width:fit-content;color:var(--text-secondary);padding:.1875rem .4375rem;font-size:.5625rem;font-weight:750;display:inline-flex}.customer-segment.retail{background:var(--success-50);color:var(--success-700)}.customer-segment.wholesale{background:var(--brand-50);color:var(--brand-700)}.customer-segment.mixed{background:var(--warning-50);color:var(--warning-700)}.customer-profile{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.customer-profile::-webkit-scrollbar{width:8px;height:8px}.customer-profile::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.customer-profile{padding:var(--space-4);overflow-y:auto}.customer-profile-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-5);border-bottom:1px solid var(--border-subtle);padding-bottom:var(--space-4);display:flex}.customer-profile-heading h2{margin:0 0 var(--space-2);color:var(--text-primary);letter-spacing:-.02em;font-size:1.25rem}.customer-back{margin-bottom:var(--space-3);color:var(--brand-700);font-size:.75rem;font-weight:700;display:none}.customer-contact{gap:var(--space-1);text-align:right;max-width:16rem;display:grid}.customer-contact a,.customer-contact span{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:.6875rem;overflow:hidden}.customer-contact a{color:var(--brand-700);font-weight:700}.customer-profile-kpis{gap:var(--space-2);margin-block:var(--space-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.customer-profile-kpis article{border-radius:var(--radius-md);padding:var(--space-3);background:var(--surface-subtle);gap:.1875rem;display:grid}.customer-profile-kpis small{color:var(--text-tertiary);font-size:.625rem}.customer-profile-kpis strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.customer-channel-summary,.customer-purchase-history{border-top:1px solid var(--border-subtle);padding-top:var(--space-4)}.customer-channel-summary .section-title,.customer-purchase-history .section-title{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.customer-channel-summary .section-title h3,.customer-purchase-history .section-title h3{color:var(--text-primary);margin:0;font-size:.875rem}.customer-channel-summary .section-title p,.customer-purchase-history .section-title p{color:var(--text-tertiary);margin:.125rem 0 0;font-size:.625rem}.customer-channel-summary .section-title>span,.customer-purchase-history .section-title>span{text-align:right;max-width:13rem}.customer-channel-summary>div:last-child{gap:var(--space-2);margin-bottom:var(--space-4);grid-template-columns:1fr 1fr;display:grid}.customer-channel-summary article{justify-content:space-between;align-items:center;gap:var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-3);display:flex}.customer-channel-summary article span{gap:.125rem;display:grid}.customer-channel-summary article strong{color:var(--text-primary);font-size:.75rem}.customer-channel-summary article small{color:var(--text-tertiary);font-size:.625rem}.customer-purchases{gap:var(--space-2);display:grid}.customer-purchases>article{border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-3)}.customer-purchase-heading{justify-content:space-between;gap:var(--space-3);display:flex}.customer-purchase-heading>span{gap:.125rem;display:grid}.customer-purchase-heading>span:last-child{text-align:right}.customer-purchase-heading strong{color:var(--text-primary);font-size:.75rem}.customer-purchase-heading small{color:var(--text-tertiary);font-size:.625rem}.customer-purchase-products{gap:var(--space-1);margin-block:var(--space-2);flex-wrap:wrap;display:flex}.customer-purchase-products span{border-radius:var(--radius-full);background:var(--surface-subtle);color:var(--text-secondary);padding:.1875rem .4375rem;font-size:.625rem}.customer-purchases footer{justify-content:space-between;gap:var(--space-3);color:var(--text-tertiary);font-size:.625rem;display:flex}.customer-empty,.customer-profile-empty{min-height:12rem;color:var(--text-tertiary);text-align:center;place-items:center;display:grid}.customer-empty>div,.customer-profile-empty>div{max-width:22rem}.customer-empty h2,.customer-empty h3,.customer-profile-empty h2,.customer-profile-empty h3{color:var(--text-primary);margin:0;font-size:.9375rem}.customer-empty p,.customer-profile-empty p{margin:var(--space-2) 0 0;font-size:.75rem;line-height:1.5}.customer-empty.compact,.customer-profile-empty.compact{min-height:9rem}.customer-empty-icon{width:3rem;height:3rem;margin:0 auto var(--space-3);border-radius:var(--radius-full);background:var(--brand-50);color:var(--brand-600);place-items:center;font-size:1.5rem;display:grid}.action-grid{gap:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr))}.action-card{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);min-height:6.75rem;padding:var(--space-4);background:var(--surface-panel);box-shadow:var(--shadow-xs)}.action-card.urgent{border-color:var(--danger-100);background:var(--danger-50)}.action-card.waiting{border-color:var(--warning-100);background:var(--warning-50)}.action-card.safe{border-color:var(--success-100);background:var(--success-50)}.dashboard-panel,.stock-risk-section,.data-quality-section{padding:var(--space-4)}.activity-page,.closing-page,.team-page,.migration-page{max-width:var(--content-max)}.activity-toolbar{margin:0 0 var(--space-4)}.activity-filters{border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-1);background:var(--gray-100)}.activity-filters a,.activity-refresh{border-radius:var(--radius-sm);color:var(--text-secondary);padding:.4375rem .75rem;font-size:.75rem}.activity-filters a.active{color:var(--brand-700);box-shadow:var(--shadow-xs)}.activity-list{gap:var(--space-2)}.activity-card{gap:var(--space-3) var(--space-5);padding:var(--space-4);grid-template-columns:minmax(16rem,1.3fr) minmax(11rem,.8fr) auto;align-items:center;display:grid}.activity-card .activity-card-heading{grid-column:1}.activity-card .activity-time{grid-area:1/2;margin:0}.activity-card .activity-facts,.activity-card .approval-price-summary{grid-column:1/3}.activity-card .activity-actor{text-align:right;grid-area:1/3;margin:0}.activity-card .activity-note,.activity-card .guest-activity-total{grid-column:1/-1}.closing-page,.team-page,.migration-page{gap:var(--space-4)}.closing-snapshot,.closing-form,.closing-receipt,.team-section,.migration-panel{padding:var(--space-4)}.team-section-heading,.migration-section-heading{margin-bottom:var(--space-4)}.team-row{padding:var(--space-3) var(--space-2);border-width:0 0 1px;border-radius:0}.team-row:last-child{border-bottom:0}.migration-history a{padding:var(--space-3) var(--space-2);border-width:0 0 1px;border-radius:0}.signed-out{min-height:100svh;padding:var(--space-5);background:radial-gradient(circle at 10% 0%, var(--brand-100), transparent 34rem),var(--surface-app)}.signed-out .card{border-color:var(--border-subtle);border-radius:var(--radius-xl);background:var(--surface-panel);width:min(100%,27rem);box-shadow:var(--shadow-lg);padding:clamp(1.5rem,5vw,2.25rem)}.auth-brand{margin-bottom:var(--space-6);color:var(--text-primary);display:flex}.auth-brand .brand-mark__copy small{color:var(--text-tertiary)}.sign-in-card h1{color:var(--text-primary);letter-spacing:-.035em;font-size:1.875rem}.lede{margin:var(--space-3) 0 var(--space-5);color:var(--text-secondary);font-size:.875rem;line-height:1.55}.auth-form{gap:var(--space-4)}.auth-form label{gap:var(--space-2);color:var(--text-secondary);font-size:.75rem;font-weight:700}.auth-form .button{width:100%;min-height:var(--control-lg);margin-top:var(--space-1)}.auth-help{margin-top:var(--space-4);color:var(--text-tertiary);font-size:.75rem}.pwa-controls{z-index:60;right:var(--space-4);bottom:var(--space-4);border-color:var(--border-subtle);border-radius:var(--radius-full);min-height:2rem;color:var(--text-secondary);box-shadow:var(--shadow-md);background:#fffffff0;padding:.375rem .625rem;font-size:.6875rem}.pwa-controls.online:not(:has(button)){display:none}.connection-dot{background:var(--success-600);width:.5rem;height:.5rem}.pwa-controls.offline{border-color:var(--warning-100);background:var(--warning-50);color:var(--warning-700)}@media (min-width:1024.02px) and (min-height:700px){.app-content>.sell-page{min-height:100%}.checkout-panel .price-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.checkout-panel .price-summary .permitted{grid-column:auto}.checkout-panel .price-summary div{padding:var(--space-3)}.workspace-grid{min-height:min(39rem,100svh - 14.5rem)}.workspace-grid>.results-panel{flex-direction:column;min-height:0;display:flex}.workspace-grid>.results-panel .product-list{flex:1;min-height:0;overflow:auto}.sale-workspace-page .workspace-grid{flex:1;align-items:stretch;height:auto;min-height:0;overflow:hidden}.sale-workspace-page{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.sale-workspace-page .checkout-panel{height:100%;min-height:0;overflow-y:auto}.sale-workspace-page .cart-empty-state{min-height:8.5rem}.sale-workspace-page .cart-section{margin-top:var(--space-3);padding-top:var(--space-3)}.sale-workspace-page .workspace-grid>.results-panel{height:100%;overflow:hidden}.sale-workspace-page .workspace-grid>.results-panel .product-list{max-height:100%}}@media (max-width:1024px){.sell-page{padding:var(--space-5)}.workspace-grid,.inventory-layout{grid-template-columns:1fr}.inventory-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-toolbar{grid-template-columns:minmax(0,1fr) minmax(10rem,.4fr)}.inventory-toolbar>button{width:100%}.inventory-toolbar .inventory-label-actions{grid-column:1/-1;justify-content:flex-end}.inventory-command-center,.inventory-command-center>.inventory-products,.inventory-command-center>.inventory-detail{min-height:0;max-height:none}.checkout-panel{order:0}.offline-readiness{grid-template-columns:1fr}.dashboard-metrics,.insight-scorecard,.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-layout{grid-template-columns:1fr}.customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-workspace{grid-template-columns:1fr;min-height:0}.customer-directory,.customer-profile{max-height:none}.customer-directory{max-height:30rem}.customer-workspace.has-selection .customer-directory{display:none}.customer-back{display:inline-flex}.receive-bill-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.receive-bill-fields label:last-child{grid-column:1/-1}.receive-command-center{grid-template-columns:1fr;height:auto}.receive-product-column,.receive-command-center .receipt-builder{height:auto;min-height:0}.receive-product-column>.workspace-grid{grid-template-columns:1fr}.receive-command-center .receipt-builder{position:static;overflow:visible}.receive-command-center .receipt-builder .receipt-line-list{overflow:visible}.activity-card{grid-template-columns:1fr auto}.activity-card .activity-card-heading,.activity-card .activity-time,.activity-card .activity-facts,.activity-card .approval-price-summary,.activity-card .activity-actor,.activity-card .activity-note,.activity-card .guest-activity-total{text-align:left;grid-area:auto}.activity-card .activity-card-heading,.activity-card .activity-facts,.activity-card .approval-price-summary,.activity-card .activity-note,.activity-card .guest-activity-total{grid-column:1/-1}}@media (max-width:720px){.sell-page,.inventory-page,.dashboard-page,.insights-page,.customers-page,.receive-page,.activity-page,.closing-page,.team-page,.migration-page{width:100%;padding:var(--space-3);padding-bottom:calc(var(--space-6) + env(safe-area-inset-bottom))}.page-heading--system,.approval-heading,.dashboard-heading{align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-4);flex-direction:column;display:flex}.page-heading h1{font-size:1.5rem}.page-heading>p:last-child,.page-heading>div>p:last-child{margin-top:var(--space-1);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.75rem;display:-webkit-box;overflow:hidden}.page-heading__actions{width:100%}.page-heading__actions>*{flex:1}.search-bar{z-index:5;margin-bottom:var(--space-3);padding:var(--space-2);box-shadow:var(--shadow-sm);position:sticky;top:0}.search-bar label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.search-row{gap:var(--space-1);grid-template-columns:minmax(0,1fr) auto auto}.search-row input{min-width:0}.search-row button{width:auto;min-height:var(--control-md);padding-inline:var(--space-3)}.search-row.inventory-search-row{grid-template-columns:minmax(0,1fr) auto}.workspace-grid{gap:var(--space-3);flex-direction:column;display:flex}.results-panel,.checkout-panel,.receipt-header-card,.receipt-builder,.draft-receipts,.new-product-panel,.product-change-panel,.approval-card,.inventory-products,.inventory-summary,.reorder-panel,.count-panel,.movement-panel,.inventory-history-panel,.dashboard-panel,.stock-risk-section,.data-quality-section,.closing-snapshot,.closing-form,.closing-receipt,.team-section,.migration-panel,.sale-success{border-radius:var(--radius-lg);padding:var(--space-4)}.results-panel{max-height:17rem;overflow:auto}.checkout-panel:has(.selected-product){order:-1}.checkout-panel:not(:has(.selected-product)):has(.cart-empty){display:none}.product-row{grid-template-columns:2.25rem minmax(0,1fr) auto}.product-price{display:none}.sale-type-switch{width:100%;margin-block:var(--space-3)}.sale-type-switch button{min-height:3rem}.product-copy small{max-width:12rem}.offline-readiness{margin-bottom:var(--space-3);scroll-snap-type:x mandatory;display:flex;overflow-x:auto}.offline-readiness>*{scroll-snap-align:start;min-width:85%}.price-summary,.approval-money-grid,.balance-grid,.owner-cost-grid,.stock-count-comparison,.closing-snapshot-grid,.closing-result-grid,.migration-metrics,.stock-position-grid,.quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.complete-button,.complete-draft-button,.add-cart-button,.closing-submit .complete-button{z-index:4;bottom:var(--space-2);min-height:var(--control-lg);box-shadow:var(--shadow-md);position:sticky}.cart-checkout .complete-button{box-shadow:none;position:static}.inventory-products{position:static}.inventory-products .product-list{max-height:14rem}.inventory-kpis{scroll-snap-type:x mandatory;display:flex;overflow-x:auto}.inventory-kpis article{scroll-snap-align:start;min-width:8.5rem}.inventory-toolbar{z-index:5;gap:var(--space-2);box-shadow:var(--shadow-sm);grid-template-columns:1fr 1fr;position:sticky;top:0}.inventory-toolbar .inventory-search-field{grid-column:1/-1}.inventory-toolbar .inventory-label-actions{grid-column:1/-1;grid-template-columns:1fr auto auto;display:grid}.inventory-toolbar .inventory-label-actions>span{grid-column:1/-1}.inventory-toolbar .inventory-label-actions .button:last-child{min-width:8rem}.inventory-command-center:has(.inventory-detail-heading) .inventory-detail{order:-1}.inventory-table-wrap{overflow:visible}.inventory-table{display:block}.inventory-table thead{display:none}.inventory-table tbody{gap:var(--space-2);display:grid}.inventory-table tr{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--surface-panel);box-shadow:var(--shadow-xs);gap:var(--space-2) var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid;position:relative}.inventory-table tr.selected{border-color:var(--brand-300);box-shadow:0 0 0 2px var(--focus-ring)}.inventory-table tr.selected td{background:0 0}.inventory-table td{border:0;gap:.125rem;padding:0;display:grid}.inventory-table td:before{color:var(--text-tertiary);content:attr(data-label);letter-spacing:.04em;text-transform:uppercase;font-size:.5625rem;font-weight:700}.inventory-table td:first-child{top:var(--space-3);right:var(--space-3);position:absolute}.inventory-table td:first-child:before{display:none}.inventory-table td:nth-child(2){padding-right:var(--space-8);grid-column:1/-1}.inventory-table td:nth-child(2):before{display:none}.inventory-product-link{max-width:calc(100vw - 7rem)}.inventory-detail{gap:0}.inventory-detail-heading{border-radius:var(--radius-lg) var(--radius-lg) 0 0}.inventory-tabs{border-radius:0}.inventory-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-history-list article{grid-template-columns:1fr 1fr}.inventory-history-list article time{grid-column:1/-1}.movement-card,.team-row,.activity-card,.draft-receipt-card,.migration-history a{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--surface-panel);box-shadow:var(--shadow-xs)}.activity-card{grid-template-columns:1fr;display:grid}.activity-toolbar{gap:var(--space-2);margin-bottom:var(--space-3)}.activity-filters{grid-template-columns:repeat(3,1fr);width:100%;display:grid}.activity-refresh{display:none}.dashboard-page{gap:var(--space-4)}.dashboard-metrics,.insight-scorecard,.action-grid{gap:var(--space-3);scroll-snap-type:x mandatory;display:flex;overflow-x:auto}.dashboard-metrics>*,.insight-scorecard>*,.action-grid>*{scroll-snap-align:start;min-width:min(78vw,18rem)}.insights-page,.customers-page{gap:var(--space-3)}.receive-page{gap:var(--space-2)}.receive-steps{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.receive-steps::-webkit-scrollbar{width:8px;height:8px}.receive-steps::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.receive-steps{display:flex;overflow-x:auto}.receive-steps li{flex:1 0 auto;min-width:10.5rem}.receive-page .receipt-header-card{padding:var(--space-3)}.receive-bill-fields{grid-template-columns:1fr}.receive-bill-fields label:last-child{grid-column:auto}.receive-page .new-supplier-form{grid-template-columns:1fr}.receive-page .new-supplier-form button{grid-column:auto}.receive-product-column>.search-bar{z-index:5;position:sticky;top:0}.receive-product-column .checkout-panel:has(.selected-product){order:-1}.receive-command-center .receipt-builder{padding:var(--space-3)}.receive-command-center .receipt-builder .receipt-line-card{grid-template-columns:1fr}.receive-command-center .receipt-builder .receipt-line-card .condition-breakdown,.receive-command-center .receipt-builder .receipt-line-card .line-actions{grid-column:auto}.customer-kpis{scroll-snap-type:x mandatory;display:flex;overflow-x:auto}.customer-kpis article{scroll-snap-align:start;min-width:9rem}.customer-toolbar{z-index:5;padding:var(--space-2);box-shadow:var(--shadow-sm);position:sticky;top:0}.customer-toolbar form{grid-template-columns:minmax(0,1fr) auto}.customer-toolbar form label{grid-column:1/-1}.customer-clear-search{display:none}.customer-directory,.customer-profile{border-radius:var(--radius-lg);padding:var(--space-3)}.customer-directory{max-height:none}.customer-list>a{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--surface-panel);box-shadow:var(--shadow-xs);margin-top:var(--space-2);grid-template-columns:2.25rem minmax(0,1fr)}.customer-list>a:first-child{margin-top:0}.customer-list-value{text-align:left;grid-column:2}.customer-profile-heading{gap:var(--space-3);display:grid}.customer-contact{text-align:left;max-width:none}.customer-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-channel-summary .section-title{display:grid}.customer-channel-summary .section-title>span{text-align:left;max-width:none}.customer-channel-summary>.selling-price{grid-template-columns:1fr}.customer-purchases footer{gap:var(--space-1);display:grid}.insight-panel{padding:var(--space-4)}.trend-panel{scrollbar-color:var(--gray-300) #0000;scrollbar-width:thin}.trend-panel::-webkit-scrollbar{width:8px;height:8px}.trend-panel::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--gray-300);background-clip:padding-box;border:2px solid #0000}.trend-panel{overflow-x:auto}.sales-trend{min-width:31rem}.insight-ranking a{grid-template-columns:1.75rem minmax(0,1fr)}.insight-ranking .ranking-money{text-align:left;grid-column:2}.insight-ranking.compact a{grid-template-columns:1fr}.insight-ranking.compact .ranking-money{grid-column:1}.metric-card,.action-card{min-height:6.25rem}.dashboard-updated{display:none}.team-row{grid-template-columns:1fr}.team-actions{grid-column:auto}.pwa-controls{right:var(--space-3);bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + var(--space-2));max-width:calc(100vw - 1.5rem)}.pwa-controls>span:not(.connection-dot),.pwa-controls>strong+span{display:none}.signed-out{padding:var(--space-3)}.signed-out .card{padding:var(--space-5)}}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page{gap:var(--space-3) var(--space-4);grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(23rem,.9fr) minmax(0,1.6fr)}.sale-workspace-page>.page-heading--system{display:none}.sale-workspace-page>.search-bar{grid-area:1/1;margin:0}.sale-workspace-page>.offline-readiness-disclosure{grid-area:2/1;margin:0}.sale-workspace-page>.alert{z-index:80;top:5rem;right:var(--space-5);max-width:28rem;box-shadow:var(--shadow-md);position:fixed}.sale-workspace-page>.workspace-grid{display:contents}.sale-workspace-page .workspace-grid>.results-panel{grid-area:3/1;height:auto}.sale-workspace-page .workspace-grid>.results-panel .product-icon{display:none}.sale-workspace-page .workspace-grid>.results-panel .product-row{gap:var(--space-2);grid-template-columns:minmax(0,1fr) auto auto 2rem}.sale-workspace-page .workspace-grid>.results-panel .product-copy strong,.sale-workspace-page .workspace-grid>.results-panel .product-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sale-workspace-page .workspace-grid>.results-panel .product-copy small:last-child{display:none}.sale-workspace-page .workspace-grid>.checkout-panel{height:auto;padding:var(--space-4);grid-area:1/2/4;display:block;overflow:hidden}.sale-workspace-page .cart-section{gap:0 var(--space-4);grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(18rem,1.08fr) minmax(18rem,.92fr);height:100%;display:grid}.sale-workspace-page .cart-section>.section-title,.sale-workspace-page .cart-section>.cart-empty,.sale-workspace-page .cart-section>.cart-lines,.sale-workspace-page .cart-section>.cart-review{grid-column:1}.sale-workspace-page .cart-section>.section-title{grid-row:1}.sale-workspace-page .cart-section>.cart-empty,.sale-workspace-page .cart-section>.cart-lines{grid-row:2}.sale-workspace-page .cart-section>.cart-review{grid-row:3}.sale-workspace-page .payment-empty,.sale-workspace-page .sale-checkout-step{grid-area:1/2/4}.sale-workspace-page .payment-empty{justify-content:center;align-items:flex-start;gap:var(--space-2);border-left:1px solid var(--border-subtle);padding:var(--space-5);color:var(--text-secondary);flex-direction:column;display:flex}.sale-workspace-page .payment-empty span{color:var(--text-primary);font-size:1rem;font-weight:750}.sale-workspace-page .payment-empty strong{color:var(--text-primary);font-size:1.125rem}.sale-workspace-page .payment-empty p{max-width:18rem;margin:0;font-size:.8125rem;line-height:1.5}.sale-workspace-page .modal-backdrop:has(.sale-checkout-modal){-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;padding:0;display:block;position:static}.sale-workspace-page .modal-panel:has(.sale-checkout-modal){width:100%;height:100%;max-height:none;box-shadow:none;border-width:0 0 0 1px;border-radius:0}.sale-workspace-page .modal-panel:has(.sale-checkout-modal)>.modal-heading{display:none}.sale-workspace-page .modal-panel:has(.sale-checkout-modal)>.modal-body{max-height:none;padding:0 0 0 var(--space-4)}.sale-workspace-page .sale-checkout-modal,.sale-workspace-page .sale-checkout-modal .cart-checkout{height:100%;min-height:0}.sale-workspace-page .sale-checkout-modal .cart-checkout{overflow-y:auto}.sale-workspace-page .cart-review button{display:none}}.sale-workspace-page .customer-add-action:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px;border-radius:var(--radius-sm)}.sale-workspace-page .customer-quick-search .customer-results button>span:first-child strong,.sale-workspace-page .customer-quick-search .customer-results button>span:first-child small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sale-workspace-page .selected-customer,.sale-workspace-page .selected-customer>span{min-width:0}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page{grid-template-columns:minmax(20rem,.82fr) minmax(0,1.68fr)}.sale-workspace-page .cart-section{gap:0 var(--space-3);grid-template-columns:minmax(16rem,1fr) minmax(14rem,.82fr)}.sale-workspace-page .modal-backdrop:has(.sale-checkout-modal){min-width:0}}@media (max-width:1320px) and (min-width:1180px) and (min-height:700px){.sale-workspace-page{grid-template-columns:minmax(18rem,.76fr) minmax(0,1.74fr)}.sale-workspace-page .cart-section{grid-template-columns:minmax(14rem,1fr) minmax(13rem,.88fr)}.sale-workspace-page .customer-heading-actions>span{display:none}.sale-workspace-page .form-row.two-columns,.sale-workspace-page .split-remainder,.sale-workspace-page .due-payment-fields{grid-template-columns:1fr}}@media (max-width:720px){.sale-workspace-page .customer-heading-actions{flex-wrap:wrap}.sale-workspace-page .due-payment-fields{grid-template-columns:1fr}.sale-workspace-page .due-balance,.sale-workspace-page .due-payment-fields>p{grid-column:1}}.sale-due-status{margin:var(--space-2) 0 0;border-radius:var(--radius-sm);padding:var(--space-2);background:var(--warning-50);color:var(--warning-700);font-size:.75rem}.custom-select{width:100%;position:relative}.custom-select__trigger{width:100%;min-height:var(--control-lg);justify-content:space-between;align-items:center;gap:var(--space-3);border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:0 var(--space-3);background:var(--surface-panel);color:var(--text-primary);box-shadow:var(--shadow-xs);font:inherit;text-align:left;font-weight:700;display:flex}.custom-select__trigger:hover:not(:disabled),.custom-select__trigger[aria-expanded=true]{border-color:var(--brand-400)}.custom-select__trigger:focus-visible{outline:3px solid var(--focus-ring);outline-offset:1px}.custom-select__trigger:disabled{cursor:not-allowed;opacity:.55}.custom-select__trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:1.125rem;height:1.125rem;transition:transform var(--motion-fast) var(--ease-standard);flex:none}.custom-select.is-open .custom-select__trigger svg{transform:rotate(180deg)}.custom-select__list{z-index:140;max-height:var(--dropdown-max-height,16rem);overscroll-behavior:contain;border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-1);box-shadow:var(--shadow-lg);isolation:isolate;background-color:#fff;display:grid;position:absolute;left:0;right:0;overflow-y:auto}.custom-select__list button{align-items:center;gap:var(--space-2);border-radius:var(--radius-sm);width:100%;min-height:2.5rem;padding:var(--space-2);color:var(--text-primary);font:inherit;text-align:left;background:#fff;border:0;grid-template-columns:1.25rem minmax(0,1fr);display:grid}.custom-select__list button:hover:not(:disabled),.custom-select__list button:focus-visible{background:var(--brand-50);color:var(--brand-800);outline:0}.custom-select__list button.is-selected{background:var(--brand-100);color:var(--brand-800);font-weight:750}.custom-select.opens-bottom .custom-select__list{top:calc(100% + var(--space-1));bottom:auto}.custom-select.opens-top .custom-select__list{top:auto;bottom:calc(100% + var(--space-1))}.custom-select.aligns-left .custom-select__list{left:0;right:auto}.custom-select.aligns-right .custom-select__list{left:auto;right:0}.custom-select.is-open.opens-bottom .custom-select__trigger svg{transform:rotate(0)}.custom-select.is-open.opens-top .custom-select__trigger svg{transform:rotate(180deg)}label>.custom-select{margin-top:var(--space-2)}.customer-quick-search{gap:var(--space-2);grid-template-columns:minmax(0,1fr) auto;display:grid;position:relative}.customer-quick-search input{min-width:0}.customer-quick-search>button{min-height:var(--control-lg);border:1px solid var(--brand-100);border-radius:var(--radius-md);padding:0 var(--space-3);background:var(--brand-50);color:var(--brand-700);white-space:nowrap;font-weight:750}.customer-quick-search .customer-results{z-index:130;top:calc(100% + var(--space-1));border:1px solid var(--border-subtle);border-radius:var(--radius-md);max-height:16rem;padding:var(--space-1);background:var(--surface-panel);box-shadow:var(--shadow-lg);position:absolute;left:0;right:0;overflow-y:auto}.customer-quick-search .customer-search-status{color:var(--text-tertiary);grid-column:1/-1;margin:0;font-size:.75rem}.sale-checkout-modal .cart-checkout,.sale-checkout-modal .customer-section{border-top:0;margin-top:0;padding-top:0}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page .workspace-grid>.checkout-panel{position:relative}.sale-workspace-page .sale-checkout-modal .cart-checkout,.sale-workspace-page .sale-checkout-modal .customer-section{border-top:0;margin-top:0;padding-top:0}.sale-workspace-page .sale-checkout-modal .payment-section{margin-top:var(--space-4);border-top:1px solid var(--border-subtle);padding-top:var(--space-4)}.sale-workspace-page .checkout-panel>.modal-backdrop:has(.sale-line-editor){z-index:20;width:calc(54% - var(--space-2));background:var(--surface-panel);-webkit-backdrop-filter:none;backdrop-filter:none;padding:0;position:absolute;inset:0 auto 0 0}.sale-workspace-page .checkout-panel>.modal-backdrop:has(.sale-line-editor)>.modal-panel{width:100%;height:100%;max-height:none;box-shadow:none;border-width:0 1px 0 0;border-radius:0}}.sale-workspace-page .selected-customer,.sale-workspace-page .selected-customer>span{min-width:0}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page{grid-template-columns:minmax(20rem,.82fr) minmax(0,1.68fr)}.sale-workspace-page .cart-section{gap:0 var(--space-3);grid-template-columns:minmax(16rem,1fr) minmax(14rem,.82fr)}.sale-workspace-page .modal-backdrop:has(.sale-checkout-modal){min-width:0}}@media (max-width:1320px) and (min-width:1180px) and (min-height:700px){.sale-workspace-page{grid-template-columns:minmax(18rem,.76fr) minmax(0,1.74fr)}.sale-workspace-page .cart-section{grid-template-columns:minmax(14rem,1fr) minmax(13rem,.88fr)}.sale-workspace-page .customer-heading-actions>span{display:none}.sale-workspace-page .form-row.two-columns,.sale-workspace-page .split-remainder,.sale-workspace-page .due-payment-fields{grid-template-columns:1fr}}@media (max-width:720px){.sale-workspace-page .customer-heading-actions{flex-wrap:wrap}.sale-workspace-page .due-payment-fields{grid-template-columns:1fr}.sale-workspace-page .due-balance,.sale-workspace-page .due-payment-fields>p{grid-column:1}}.mobile-cart-bar,.mobile-products-back{display:none}.sale-workspace-page .checkout-panel{flex-direction:column;min-height:0;display:flex}.sale-workspace-page .cart-section{border-top:0;flex-direction:column;flex:1;min-height:0;margin-top:0;padding-top:0;display:flex}.sale-workspace-page .cart-lines{align-content:start;min-height:0;overflow-y:auto}.product-row{grid-template-columns:2.25rem minmax(0,1fr) auto auto 2rem}.product-row:disabled{cursor:not-allowed;opacity:.58}.product-row.in-cart{border-color:var(--brand-200);background:var(--brand-25)}.product-add{border-radius:var(--radius-full);background:var(--brand-600);color:#fff;place-items:center;width:2rem;height:2rem;font-size:1.125rem;font-weight:750;display:grid}.cart-review{justify-content:space-between;align-items:center;gap:var(--space-3);border-top:1px solid var(--border-subtle);padding-top:var(--space-4);margin-top:auto;display:flex}.cart-review span{flex-direction:column;display:flex}.cart-review span small{color:var(--text-tertiary);font-size:.6875rem;font-weight:650}.cart-review span strong{color:var(--text-primary);font-size:1.25rem}.cart-review button{min-height:var(--control-lg);border-radius:var(--radius-md);padding-inline:var(--space-5);background:var(--brand-600);color:#fff;border:0;font-weight:750}:is(.modal-panel:has(.sale-line-editor),.modal-panel:has(.sale-checkout-modal)){flex-direction:column;display:flex}:is(.modal-panel:has(.sale-line-editor) .modal-body,.modal-panel:has(.sale-checkout-modal) .modal-body){flex:1;min-height:0}.modal-panel:has(.sale-line-editor){width:min(38rem,100%)}.modal-panel:has(.sale-checkout-modal){width:min(46rem,100%)}.sale-line-editor{gap:var(--space-3);display:grid}.sale-line-editor .price-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.sale-line-editor .price-summary>div{background:var(--surface-panel);gap:.25rem;padding:.875rem 1rem;display:grid}.sale-line-editor .price-summary span{color:var(--text-secondary);letter-spacing:.04em;text-transform:uppercase;font-size:.6875rem;font-weight:750}.sale-line-editor .price-summary strong{color:var(--text-primary);font-size:clamp(1.35rem,2vw,1.625rem);line-height:1}.sale-line-editor .price-summary>div:last-child{border-color:var(--brand-200);background:var(--brand-25)}.sale-line-editor .price-summary>div:last-child strong{color:var(--brand-700)}.sale-line-editor fieldset,.sale-line-editor .line-preview{margin:0}.sale-line-editor .line-editor-actions{z-index:2;bottom:calc(-1*var(--space-5));gap:var(--space-2);padding-top:var(--space-2);background:var(--surface-panel);box-shadow:0 -.75rem 1.5rem var(--surface-panel);grid-template-columns:minmax(7rem,auto) minmax(0,1fr);display:grid;position:sticky}.sale-line-editor .line-editor-actions button{width:100%;min-height:var(--control-lg)}.sale-line-editor .price-output{align-items:stretch}.sale-line-editor .price-output>span{text-align:left;gap:.2rem;display:grid}.sale-line-editor .price-output>span:last-child{text-align:right}.sale-line-editor .price-output strong{font-size:1.25rem;display:block}.sale-line-editor .preset-row{grid-template-columns:repeat(3,minmax(0,1fr))}.sale-line-editor .discount-saving-note{margin:var(--space-2) 0 0;color:var(--success-700);font-size:.8125rem;font-weight:750}.line-editor-product{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.line-editor-product>div{flex-direction:column;min-width:0;display:flex}.line-editor-product strong{color:var(--text-primary)}.line-editor-product small{color:var(--text-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.line-editor-product .stock-large{white-space:nowrap;flex:none;align-items:center;gap:.25rem;display:inline-flex}.line-editor-product .stock-large small{color:inherit;font-size:inherit;text-overflow:clip;overflow:visible}.business-impact{border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-subtle)}.business-impact summary{min-height:var(--control-md);padding:var(--space-3);color:var(--text-secondary);cursor:pointer;font-size:.8125rem;font-weight:700}.business-impact>div{gap:var(--space-2);border-top:1px solid var(--border-subtle);padding:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.business-impact span{justify-content:space-between;gap:var(--space-3);color:var(--text-secondary);font-size:.75rem;display:flex}.sale-checkout-modal .cart-checkout{margin:0}@media (max-width:720px){.sale-workspace-page{padding-bottom:5.5rem}.sale-workspace-page .workspace-grid{flex:1;min-height:0;display:flex}.sale-workspace-page .results-panel{flex-direction:column;flex:1;min-height:0;max-height:none;overflow:hidden;display:flex!important}.sale-workspace-page .results-panel .product-list{flex:1;min-height:0;overflow-y:auto}.sale-workspace-page .checkout-panel,.sale-workspace-page.cart-view-open .results-panel{display:none!important}.sale-workspace-page.cart-view-open .checkout-panel{flex:1;min-height:0;max-height:none;overflow:hidden;display:flex!important}.sale-workspace-page .cart-lines{flex:1}.mobile-cart-bar{z-index:20;right:var(--space-3);bottom:calc(5.25rem + env(safe-area-inset-bottom));left:var(--space-3);border-radius:var(--radius-lg);min-height:3.5rem;padding-inline:var(--space-4);background:var(--brand-600);color:#fff;box-shadow:var(--shadow-lg);border:0;justify-content:space-between;align-items:center;display:flex;position:fixed}.mobile-products-back{min-height:var(--control-md);margin-bottom:var(--space-3);color:var(--brand-700);background:0 0;border:0;align-self:flex-start;align-items:center;padding:0;display:inline-flex}.product-row{grid-template-columns:2.25rem minmax(0,1fr) auto 2rem}.stock-pill{display:none}.cart-review{padding-bottom:env(safe-area-inset-bottom);background:var(--surface-panel);position:sticky;bottom:0}:is(.modal-panel:has(.sale-line-editor),.modal-panel:has(.sale-checkout-modal)){border:0;border-radius:0;width:100%;height:100svh;max-height:100svh}.sale-line-editor .price-summary,.sale-line-editor .preset-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-line-editor .add-cart-button{bottom:calc(-1*var(--space-5));min-height:3.5rem}.business-impact>div{grid-template-columns:1fr}}@media print{.app-shell{height:auto!important;display:block!important}.app-content{overflow:visible!important}}.focused-page,.dashboard-page--focused,.inventory-mode-list,.inventory-mode-labels,.inventory-mode-count,.inventory-mode-detail{min-height:100%}.page-action-row{gap:var(--space-2);flex-wrap:wrap;display:flex}.inventory-command-center.detail-only,.inventory-mode-list .inventory-layout,.inventory-mode-labels .inventory-layout{grid-template-columns:minmax(0,1fr)}.inventory-mode-labels .inventory-toolbar{grid-template-columns:minmax(18rem,1fr) 12rem minmax(24rem,auto)}.inventory-mode-count .inventory-kpis,.inventory-mode-count .inventory-label-actions{display:none}.inventory-product-link{text-decoration:none}.customer-directory--page,.customer-profile-panel{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-5);background:var(--surface-panel);box-shadow:var(--shadow-xs)}.customer-profile-grid{gap:var(--space-4);grid-template-columns:minmax(16rem,.8fr) minmax(28rem,1.5fr);align-items:start;display:grid}.record-details{margin:var(--space-4) 0 0;gap:0;display:grid}.record-details div{gap:var(--space-3);border-top:1px solid var(--border-subtle);padding:var(--space-3) 0;grid-template-columns:8rem minmax(0,1fr);display:grid}.record-details dt{color:var(--text-tertiary);font-size:.75rem;font-weight:700}.record-details dd{color:var(--text-primary);margin:0;font-size:.8125rem;font-weight:650}.module-card-grid{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.module-card{justify-content:space-between;align-items:center;gap:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);min-height:8rem;padding:var(--space-5);background:var(--surface-panel);color:var(--text-primary);box-shadow:var(--shadow-xs);text-decoration:none;display:flex}.module-card span{gap:var(--space-2);display:grid}.module-card small{color:var(--text-secondary)}.module-card b{border-radius:var(--radius-full);background:var(--surface-subtle);place-items:center;min-width:3rem;height:3rem;font-size:1.125rem;display:grid}.module-card--attention{border-color:var(--warning-100)}.module-card--attention b{background:var(--warning-50);color:var(--warning-700)}.dashboard-metrics--compact{grid-template-columns:repeat(4,minmax(0,1fr))}.home-grid,.report-grid{gap:var(--space-4);grid-template-columns:minmax(0,1.15fr) minmax(20rem,.85fr);display:grid}.home-action-list{gap:var(--space-2);display:grid}.home-action{justify-content:space-between;align-items:center;gap:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-md);min-height:4.5rem;padding:var(--space-3) var(--space-4);background:var(--surface-panel);color:var(--text-primary);text-decoration:none;display:flex}.home-action span{gap:var(--space-1);display:grid}.home-action small,.home-action b{color:var(--text-secondary)}.home-action--attention{border-color:var(--warning-100);background:var(--warning-50)}.home-action--attention b{color:var(--warning-700)}.quick-action-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.quick-action-grid a{align-content:center;gap:var(--space-1);border:1px solid var(--border-subtle);border-radius:var(--radius-md);min-height:6rem;padding:var(--space-4);color:var(--text-primary);text-decoration:none;display:grid}.quick-action-grid small{color:var(--text-secondary)}.pagination{justify-content:center;align-items:center;gap:var(--space-4);padding:var(--space-4);display:flex}.pagination a,.pagination button{border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);background:var(--surface-panel);color:var(--text-primary);text-decoration:none}.pagination button:disabled{opacity:.45}.pagination .disabled{pointer-events:none;opacity:.45}.pagination span{color:var(--text-secondary);font-size:.75rem;font-weight:700}.offline-readiness-disclosure{margin-bottom:var(--space-4)}.offline-readiness-disclosure>summary{justify-content:space-between;align-items:center;gap:var(--space-4);cursor:pointer;border:1px solid var(--border-subtle);border-radius:var(--radius-md);min-height:3.5rem;padding:var(--space-2) var(--space-4);background:var(--surface-panel);list-style:none;display:flex}.offline-readiness-disclosure>summary::-webkit-details-marker{display:none}.offline-readiness-disclosure>summary span{gap:.125rem;display:grid}.offline-readiness-disclosure>summary small,.offline-readiness-disclosure>summary b{color:var(--text-secondary);font-size:.6875rem}.offline-readiness-disclosure[open]>summary{border-radius:var(--radius-md) var(--radius-md) 0 0}.offline-readiness-disclosure .offline-readiness{border-radius:0 0 var(--radius-md) var(--radius-md);border-top:0;margin-top:0}.dashboard-page--focused{padding-block:var(--space-4)}.dashboard-page--focused .page-heading--system{margin-bottom:var(--space-4)}.dashboard-page--focused .metric-card{min-height:5.75rem}.dashboard-page--focused .dashboard-panel{padding:var(--space-4)}.modal-backdrop{z-index:100;padding:var(--space-4);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#151a2385;place-items:center;display:grid;position:fixed;inset:0}.modal-panel{border:1px solid var(--border-subtle);border-radius:var(--radius-xl);background:var(--surface-panel);width:min(38rem,100%);max-height:min(44rem,100svh - 2rem);box-shadow:var(--shadow-lg);overflow:hidden}.modal-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-4);border-bottom:1px solid var(--border-subtle);padding:var(--space-5);display:flex}.modal-heading h2,.modal-heading p{margin:0}.modal-heading h2{font-size:1.125rem}.modal-heading p{margin-top:var(--space-1);color:var(--text-secondary);font-size:.8125rem}.modal-heading button{border-radius:var(--radius-full);background:var(--surface-subtle);width:2rem;height:2rem;color:var(--text-secondary);border:0;place-items:center;font-size:1.25rem;display:grid}.modal-body{max-height:calc(100svh - 9rem);padding:var(--space-5);overflow-y:auto}.customer-finder--modal{background:0 0;border:0;padding:0}@media (max-width:1024px){.customer-profile-grid,.home-grid,.report-grid{grid-template-columns:1fr}.dashboard-metrics--compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.module-card-grid,.quick-action-grid{grid-template-columns:1fr}.dashboard-metrics--compact{scroll-snap-type:x mandatory;grid-template-columns:none;grid-auto-columns:minmax(10rem,78vw);grid-auto-flow:column;display:grid;overflow-x:auto}.dashboard-metrics--compact>article{scroll-snap-align:start}.inventory-mode-labels .inventory-toolbar{grid-template-columns:1fr}.inventory-label-actions{z-index:3;background:var(--surface-panel);position:sticky;bottom:0}.customer-profile-panel,.customer-directory--page{border-radius:var(--radius-md);padding:var(--space-4)}.record-details div{gap:var(--space-1);grid-template-columns:1fr}.home-action{min-height:4rem}.modal-backdrop{align-items:end;padding:0}.modal-panel{border-radius:var(--radius-xl) var(--radius-xl) 0 0;width:100%;max-height:88svh}}.sell-page{align-content:start;gap:var(--space-4);padding:var(--space-4) var(--space-5) var(--space-5);display:grid}.page-heading--system{margin-bottom:0}.page-heading h1{font-size:clamp(1.625rem,2vw,2rem)}.section-title h2,.section-title h3{margin:0;font-size:1rem;line-height:1.3}.button,.complete-button,.complete-draft-button,.search-row button,.refresh-button,.secondary-button,.secondary-action,.share-receipt-button,.new-sale-button,.approve-button,.reject-button,.team-actions button,.pagination a,.pagination button{min-height:var(--control-md)}.receipt-modal-panel{width:min(31rem,100vw - 2rem);max-height:min(55rem,100svh - 2rem);box-shadow:none;background:0 0;border:0;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.receipt-modal-panel>.modal-heading{z-index:4;border-radius:var(--radius-xl) var(--radius-xl) 0 0;color:#fff;background:#201a29;border:1px solid #ffffff29;position:relative}.receipt-modal-panel>.modal-heading h2{color:#fff}.receipt-modal-panel>.modal-heading p{color:#cfc5dc}.receipt-modal-panel>.modal-heading>button{color:#fff;background:#ffffff14;border-color:#ffffff24}.receipt-modal-panel>.modal-body{min-height:0;max-height:none;padding:0 var(--space-4) 1.5rem;background:radial-gradient(circle at 50% 0,#754dad40,#0000 40%),#201a29;overflow:visible auto}.receipt-modal-panel>.modal-footer{z-index:7;border-radius:0 0 var(--radius-xl) var(--radius-xl);padding:.75rem var(--space-4) var(--space-4);background:#201a29;border-top:1px solid #ffffff1f;position:relative}.new-customer-modal-panel{width:min(30rem,100vw - 2rem)}.new-customer-modal-panel>.modal-body{padding:var(--space-4)}.new-customer-modal-panel .new-customer-fields,.new-customer-modal-panel .new-customer-fields .form-row.two-columns{gap:var(--space-3);grid-template-columns:1fr;display:grid}.new-customer-modal-panel .new-customer-submit{width:100%;min-height:var(--control-lg)}.thermal-receipt-modal{justify-items:center;padding-top:.7rem;display:grid;position:relative}.receipt-printer{z-index:3;background:linear-gradient(#393141 0%,#17131d 70%);border:1px solid #4d4459;border-radius:1rem 1rem .45rem .45rem;width:min(24.5rem,96%);height:3rem;position:sticky;top:0;box-shadow:0 .8rem 1.5rem #09050d6b}.receipt-printer-slot{background:#09070b;border-radius:999px;height:.5rem;position:absolute;bottom:.55rem;left:1rem;right:1rem;box-shadow:inset 0 1px 2px #ffffff14}.receipt-printer-light{background:#4ade80;border-radius:50%;width:.5rem;height:.5rem;position:absolute;top:.8rem;right:1rem;box-shadow:0 0 .65rem #4ade80cc}.thermal-receipt-paper{z-index:2;transform-origin:top;color:#16151a;will-change:clip-path;width:min(22rem,100% - 1rem);animation:receipt-feed var(--receipt-feed-duration,3.2s) linear both;background:linear-gradient(90deg,#0f172a06,#0000 8% 92%,#0f172a06),#fff;margin-top:-.25rem;padding:1rem 1.25rem 1.1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;position:relative;box-shadow:0 1.25rem 2.4rem #0302055c}.receipt-tear-edge{width:min(22rem,100% - 1rem);height:.75rem;animation:receipt-tear-reveal .18s ease-out var(--receipt-feed-duration,3.2s) both;display:flex}.receipt-tear-edge span{clip-path:polygon(0 0,100% 0,50% 100%);background:#fff;flex:1 1 0;height:100%}@keyframes receipt-feed{0%{clip-path:inset(0 0 100%)}to{clip-path:inset(0)}}@keyframes receipt-tear-reveal{0%{opacity:0}to{opacity:1}}.thermal-receipt-brand{text-align:center;justify-items:center;display:grid}.thermal-receipt-brand img{object-fit:cover;border:1px solid #ddd6e9;border-radius:50%;width:2.75rem;height:2.75rem}.thermal-receipt-brand>strong{letter-spacing:.08em;text-transform:uppercase;margin-top:.45rem;font-family:inherit;font-size:1.1rem}.thermal-receipt-brand>span:not(.receipt-payment-status){color:#5f5b66;letter-spacing:.13em;text-transform:uppercase;margin-top:.08rem;font-size:.67rem;font-weight:700}.thermal-receipt-brand h2{color:#16151a;letter-spacing:.09em;text-transform:uppercase;margin:.6rem 0 0;font-family:inherit;font-size:1.1rem}.receipt-payment-status{color:#166534;letter-spacing:.08em;text-transform:uppercase;background:#dcfce7;border-radius:999px;margin-top:.4rem;padding:.28rem .65rem;font-size:.68rem;font-weight:900}.has-balance-due .receipt-payment-status{color:#9a3412;background:#fff1d6}.thermal-receipt-meta{border-block:1px dashed #a8a2ad;gap:.35rem;margin:.75rem 0 0;padding-block:.65rem;display:grid}.thermal-receipt-meta div{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:.75rem;display:grid}.thermal-receipt-meta dt{color:#6b6670;text-transform:uppercase;font-size:.68rem}.thermal-receipt-meta dd{overflow-wrap:anywhere;color:#16151a;text-align:right;min-width:0;margin:0;font-size:.72rem;font-weight:750}.thermal-receipt-items{padding-block:.65rem}.thermal-receipt-table-head,.thermal-receipt-line{grid-template-columns:minmax(0,1fr) auto;gap:.8rem;display:grid}.thermal-receipt-table-head{color:#6b6670;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.65rem;font-size:.66rem;font-weight:800}.thermal-receipt-table-head span:last-child{text-align:right}.thermal-receipt-line{align-items:start;padding:.42rem 0;font-size:.77rem}.thermal-receipt-line>span{gap:.18rem;min-width:0;display:grid}.thermal-receipt-line small{color:#6b6670;overflow-wrap:anywhere;font-size:.64rem;line-height:1.35}.thermal-receipt-payment{border-top:1px dashed #a8a2ad;gap:.5rem;padding-top:.65rem;display:grid}.thermal-receipt-payment>div{justify-content:space-between;align-items:center;gap:1rem;font-size:.75rem;display:flex}.thermal-receipt-payment .thermal-balance-due{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:.35rem;align-items:flex-start;margin:.25rem -.35rem;padding:.65rem}.thermal-receipt-payment .thermal-balance-due>span{gap:.18rem;display:grid}.thermal-receipt-payment .thermal-balance-due small{color:#be123c;font-size:.6rem;font-weight:650}.thermal-receipt-payment .thermal-balance-due>strong{white-space:nowrap;font-size:1.15rem}.thermal-receipt-payment .thermal-additional-discount{color:#7c3aed}.thermal-receipt-payment .thermal-total-saving{color:#047857;background:#ecfdf5;border-radius:.35rem;padding:.45rem .55rem;font-weight:800}.thermal-receipt-payment .thermal-grand-total{color:#111;letter-spacing:.02em;text-transform:uppercase;border-top:2px solid #2c2930;margin-top:.25rem;padding-top:.7rem;font-size:.95rem;font-weight:900}.thermal-receipt-payment .thermal-grand-total strong{font-size:1.15rem}.thermal-receipt-footer{color:#5f5b66;text-align:center;border-top:1px dashed #a8a2ad;justify-items:center;gap:.25rem;margin-top:.75rem;padding-top:.65rem;font-size:.62rem;line-height:1.45;display:grid}.thermal-receipt-footer strong{color:#262329;text-transform:uppercase;font-size:.7rem}.receipt-modal-footer .receipt-actions{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:.65rem;margin:0;display:grid}.receipt-share{position:relative}.receipt-modal-footer .share-receipt-button,.receipt-modal-footer .new-sale-button{border-radius:var(--radius-md);justify-content:center;align-items:center;gap:.45rem;width:100%;font-size:.78rem;font-weight:800;display:inline-flex}.receipt-modal-footer .share-receipt-button svg,.receipt-modal-footer .new-sale-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:1rem;height:1rem}.receipt-modal-footer .share-receipt-button{background:var(--brand-600)}.receipt-modal-footer .share-receipt-button:hover{background:var(--brand-700)}.receipt-modal-footer .new-sale-button{color:#fff;background:#ffffff17;border-color:#ffffff3d}.receipt-modal-footer .new-sale-button:hover{background:#ffffff29}.receipt-export-menu{z-index:5;border:1px solid var(--border-default);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-lg);gap:.25rem;padding:.35rem;display:grid;position:absolute;bottom:calc(100% + .5rem);left:0;right:0}.receipt-export-menu button{border-radius:var(--radius-md);min-height:2.65rem;color:var(--text-primary);text-align:left;background:0 0;border:0;align-items:center;gap:.6rem;padding:.55rem .7rem;font-size:.75rem;font-weight:750;display:flex}.receipt-export-menu button:hover:not(:disabled){background:var(--brand-50);color:var(--brand-700)}.receipt-export-menu svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;flex:none;width:1rem;height:1rem}.receipt-export-status{color:#ddd4e7;text-align:center;margin:.75rem 0 0;font-size:.72rem;line-height:1.45}@media (prefers-reduced-motion:reduce){.thermal-receipt-paper,.receipt-tear-edge{animation:none}}.button.secondary,.text-button{min-height:var(--control-md);border-radius:var(--radius-md);padding:0 var(--space-3);color:var(--brand-700);box-shadow:none;cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;font-size:.8125rem;font-weight:750;text-decoration:none;display:inline-flex}.button.secondary:hover:not(:disabled),.text-button:hover:not(:disabled){border-color:var(--brand-200);background:var(--brand-50)}.button.secondary{border-color:var(--border-strong);background:var(--surface-panel);color:var(--text-secondary)}.pagination{padding:var(--space-2) 0 0;flex:none}.pagination a,.pagination button{padding:0 var(--space-3);justify-content:center;align-items:center;display:inline-flex}.activity-page{height:100%;min-height:0;overflow:hidden}.activity-page .activity-list{min-height:0;overflow-y:auto}.dashboard-page,.insights-page,.reports-page{height:100%;min-height:0;overflow:hidden}.dashboard-page .home-grid,.insights-page .insights-layout,.reports-page>.insight-panel:last-child,.reports-page>.report-grid{min-height:0;overflow-y:auto}.customer-directory--page{max-height:min(32rem,100svh - 22rem)}.customers-page,.customer-profile-page{height:100%;min-height:0;overflow:hidden}.customers-page{grid-template-rows:auto auto auto minmax(0,1fr)}.customers-page .customer-directory--page{min-height:0;max-height:none}.customer-profile-page{grid-template-rows:auto auto minmax(0,1fr)}.customer-profile-page .customer-profile-grid{align-items:start;min-height:0;overflow-y:auto}.customer-purchase-history{min-height:0;max-height:min(35rem,100svh - 21rem);overflow:hidden}.customer-purchase-history .customer-purchases{min-height:0;max-height:calc(100% - 3rem);overflow-y:auto}.closing-page{grid-template-rows:auto auto minmax(0,1fr);height:100%;min-height:0;overflow:hidden}.closing-page .closing-form,.closing-page .closing-receipt{min-height:0;overflow-y:auto}.insight-ranking a:not(:has(.rank)){grid-template-columns:minmax(0,1fr) auto}@media (max-width:720px){.sell-page,.inventory-page,.dashboard-page,.insights-page,.customers-page,.receive-page,.activity-page,.closing-page,.team-page{gap:var(--space-3);padding:var(--space-3);padding-bottom:var(--space-4)}.sale-workspace-page{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.sale-workspace-page .workspace-grid{flex:1;min-height:0;overflow:hidden}:is(.sale-workspace-page:has(.selected-product) .results-panel,.sale-workspace-page:has(.cart-row) .results-panel){display:none}:is(.sale-workspace-page .checkout-panel:has(.selected-product),.sale-workspace-page .checkout-panel:has(.cart-row)){flex:1;min-height:0;max-height:none;overflow-y:auto}.page-heading--system,.approval-heading,.dashboard-heading{gap:var(--space-2);margin-bottom:0}.page-heading h1{font-size:1.5rem}.page-heading__actions{gap:var(--space-2)}.button,.complete-button,.complete-draft-button,.search-row button,.refresh-button,.secondary-button,.secondary-action,.share-receipt-button,.new-sale-button,.approve-button,.reject-button,.text-button,.team-actions button,.pagination a,.pagination button,.page-action-row>.button,.page-action-row>.secondary-button{min-height:2.75rem}.dashboard-metrics,.dashboard-metrics--compact,.customer-kpis,.insight-scorecard{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;display:grid;overflow:visible}.dashboard-metrics>*,.dashboard-metrics article,.dashboard-metrics--compact>*,.dashboard-metrics--compact article,.customer-kpis>*,.customer-kpis article,.insight-scorecard>*,.insight-scorecard article{min-width:0;min-height:0;padding:var(--space-3)}.inventory-kpis{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:visible}.inventory-kpis article{min-width:0;min-height:4.5rem;padding:var(--space-2)}.inventory-kpis article:nth-child(3){grid-column:1/-1}.metric-card,.insight-kpi{min-height:6.25rem}.inventory-kpis strong,.insight-kpi>strong{white-space:normal;font-size:1.125rem}.quick-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-action-grid a{min-height:4.75rem;padding:var(--space-3)}.inventory-toolbar{box-shadow:var(--shadow-xs);position:static}.inventory-label-actions{position:static;grid-template-columns:repeat(3,minmax(0,1fr))!important}.inventory-label-actions>span{grid-column:1/-1;min-width:0}.inventory-label-actions .button,.inventory-label-actions .button:last-child,.inventory-label-actions .text-button{width:100%;min-width:0;padding-inline:var(--space-2)}.inventory-command-center>.inventory-products{flex-direction:column;min-height:18rem;max-height:22rem;display:flex;overflow:hidden}.inventory-command-center>.inventory-products .section-title,.inventory-command-center>.inventory-products .pagination{flex:none}.inventory-mode-count .inventory-detail:has(.inventory-empty){display:none}.inventory-mode-labels .inventory-toolbar{min-width:0;overflow:hidden}.inventory-mode-labels .inventory-label-actions{gap:var(--space-1);width:100%;min-width:0}.inventory-table-wrap{min-height:0;overflow-y:auto}.inventory-table tbody{gap:var(--space-1)}.inventory-table tr{gap:var(--space-2);border-radius:var(--radius-md);padding:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-table td:nth-child(2){grid-column:1/-1}.inventory-table td{min-width:0;font-size:.75rem}.inventory-table td:before{font-size:.5625rem}.inventory-product-link{min-height:var(--control-md);max-width:calc(100vw - 5.5rem)}.customer-directory--page{min-height:18rem;max-height:24rem}.customer-list>a{gap:var(--space-2);border:0;border-top:1px solid var(--border-subtle);box-shadow:none;border-radius:0;grid-template-columns:2.25rem minmax(0,1fr) auto;margin:0;padding:.625rem 0}.customer-list-value{text-align:right;grid-column:auto}.customer-profile-grid{gap:var(--space-3)}.customer-purchase-history{max-height:26rem}.activity-page .activity-list{flex:1;max-height:none}.activity-page .activity-card{gap:var(--space-2);padding:var(--space-3) 0;box-shadow:none;border-width:0 0 1px;border-radius:0}.insight-ranking a,.insight-ranking.compact a{grid-template-columns:minmax(0,1fr) auto}.insight-ranking a:not(:has(.rank)){grid-template-columns:minmax(0,1fr) auto}.insight-ranking .ranking-money,.insight-ranking.compact .ranking-money{text-align:right;grid-column:auto;min-width:4.75rem}.trend-panel{overflow:visible}.sales-trend{gap:var(--space-1);grid-template-columns:repeat(6,minmax(0,1fr));width:100%;min-width:0}.sales-trend .trend-amount,.sales-trend small{font-size:.5rem}.receive-steps{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:visible}.receive-steps li{min-width:0;padding:var(--space-2);overflow:hidden}.receive-steps li>span{width:1.5rem;height:1.5rem}.receive-steps li strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.receive-steps li small{display:none}.offline-readiness{display:grid;overflow:visible}.offline-readiness>*{min-width:0}.closing-page .closing-snapshot{padding:var(--space-3)}.closing-page .closing-snapshot-grid{gap:var(--space-2)}.closing-page .closing-snapshot-grid article,.closing-page .closing-form,.closing-page .closing-receipt,.team-section{padding:var(--space-3)}.dashboard-page .home-grid,.insights-page .insights-layout,.reports-page>.insight-panel:last-child,.reports-page>.report-grid{overflow-y:auto}.sale-workspace-page{padding-bottom:5.5rem}.sale-workspace-page .workspace-grid{flex:1;min-height:0;display:flex}.sale-workspace-page .results-panel{flex-direction:column;flex:1;min-height:0;max-height:none;overflow:hidden;display:flex!important}.sale-workspace-page .results-panel .product-list{flex:1;min-height:0;overflow-y:auto}.sale-workspace-page .checkout-panel{display:none!important}.sale-workspace-page.cart-view-open>.page-heading--system,.sale-workspace-page.cart-view-open>.search-bar,.sale-workspace-page.cart-view-open>.offline-readiness-disclosure,.sale-workspace-page.cart-view-open>.alert{display:none}.sale-workspace-page.cart-view-open .results-panel{display:none!important}.sale-workspace-page.cart-view-open .checkout-panel{flex:1;min-height:0;max-height:none;overflow:hidden;display:flex!important}.sale-workspace-page .page-heading--system p:not(.eyebrow){display:none}:is(.modal-panel:has(.sale-line-editor),.modal-panel:has(.sale-checkout-modal)){border:0;border-radius:0;width:100%;height:100svh;max-height:100svh}}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page{display:grid}.sale-workspace-page .workspace-grid>.checkout-panel{display:block}.sale-workspace-page .cart-section{display:grid}}.sale-workspace-page .results-panel{padding:0;overflow:hidden}.sale-workspace-page .results-panel>.section-title{padding:var(--space-3) var(--space-4) var(--space-2)}.sale-workspace-page .results-panel>.product-list{padding:0 var(--space-3) var(--space-3);grid-auto-rows:max-content;align-content:start}.sale-workspace-page .product-search{border:0;border-bottom:1px solid var(--border-subtle);padding:var(--space-3);background:0 0;border-radius:0;margin:0}.sale-workspace-page .product-search>label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.sale-workspace-page .product-search .search-row{grid-template-columns:minmax(0, 1fr) var(--control-md);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-panel);gap:0;overflow:hidden}.sale-workspace-page .product-search .search-row input,.sale-workspace-page .product-search .search-row button{min-height:var(--control-lg);box-shadow:none;border:0;border-radius:0}.sale-workspace-page .product-search .search-row input{min-width:0;padding-inline:var(--space-3)}.sale-workspace-page .product-search .search-row button{border-left:1px solid var(--border-subtle);padding-inline:var(--space-4)}.sale-workspace-page .product-search .search-row .scan-trigger{width:var(--control-md);background:var(--surface-subtle);color:var(--text-secondary);place-items:center;padding:0;display:grid}.sale-workspace-page .product-search .search-row .scan-trigger:hover{background:var(--gray-800);color:#fff}.sale-workspace-page .product-search .search-row .scan-trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75px;width:1.25rem;height:1.25rem}.sale-workspace-page .product-row{background:var(--surface-subtle);grid-template-columns:minmax(0,1fr) 2.75rem;gap:0;min-height:3.75rem;padding:0;display:grid;overflow:hidden}.sale-workspace-page .product-row:hover{border-color:var(--brand-300);background:var(--brand-25)}.sale-workspace-page .product-row:hover .product-add{background:var(--brand-200);color:var(--brand-800)}.sale-workspace-page .product-row.in-cart{border-color:var(--brand-400);background:var(--brand-50);box-shadow:inset 3px 0 var(--brand-600)}.sale-workspace-page .product-row.in-cart .product-add{border-left-color:var(--brand-200);background:var(--brand-100);color:var(--brand-700)}.sale-workspace-page .product-main{align-items:center;gap:var(--space-2);min-width:0;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:2.25rem minmax(0,1fr) auto auto;padding:.625rem;display:grid}.sale-workspace-page .product-main:disabled{cursor:not-allowed;opacity:.5}.sale-workspace-page .product-add{border:0;border-left:1px solid var(--border-subtle);background:var(--brand-50);width:100%;height:100%;min-height:100%;color:var(--brand-500);transition:background var(--motion-fast) var(--ease-standard),color var(--motion-fast) var(--ease-standard);border-radius:0;place-items:center;font-size:1.25rem;font-weight:750;display:grid}.sale-workspace-page .product-add:disabled{cursor:not-allowed;opacity:.45}.sale-workspace-page .product-add:hover:not(:disabled){background:var(--brand-600)!important;color:#fff!important}.sale-workspace-page .cart-actions{align-items:center}.sale-workspace-page .cart-quantity{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-panel);grid-template-columns:2rem 2rem 2rem;align-items:center;display:inline-grid;overflow:hidden}.sale-workspace-page .cart-quantity button{background:var(--surface-subtle);min-height:2rem;color:var(--text-primary);border:0;padding:0;font-size:1rem;text-decoration:none}.sale-workspace-page .cart-quantity button:hover{background:var(--brand-100);color:var(--brand-800)}.sale-workspace-page .cart-quantity strong{text-align:center;font-size:.8125rem}@media (max-width:720px){.sale-workspace-page .product-search{z-index:5;box-shadow:var(--shadow-xs);position:sticky;top:0}.sale-workspace-page .product-main{grid-template-columns:2.25rem minmax(0,1fr) auto}}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page{grid-template-rows:minmax(0,1fr)}.sale-workspace-page .workspace-grid>.results-panel{grid-area:1/1;height:100%}.sale-workspace-page .workspace-grid>.results-panel .product-row{grid-template-columns:minmax(0,1fr) 2.75rem}.sale-workspace-page .workspace-grid>.results-panel .product-main{grid-template-columns:minmax(0,1fr) auto auto}.sale-workspace-page .workspace-grid>.checkout-panel{grid-row:1}}.sale-workspace-page .checkout-panel,.sale-workspace-page .cart-section,.sale-workspace-page .cart-checkout,.sale-workspace-page .sale-checkout-modal,.sale-workspace-page .customer-section,.sale-workspace-page .payment-section{min-width:0}.sale-workspace-page .customer-section-title{align-items:center;gap:var(--space-2)}.sale-workspace-page .customer-heading-actions{justify-content:flex-end;align-items:center;gap:var(--space-2);min-width:0;display:flex}.sale-workspace-page .customer-heading-actions>span{white-space:nowrap}.sale-workspace-page .customer-add-action{min-height:2rem;color:var(--brand-700);font:inherit;white-space:nowrap;background:0 0;border:0;align-items:center;gap:.25rem;padding:.25rem;font-size:.6875rem;font-weight:750;display:inline-flex}.sale-workspace-page .customer-add-action:hover{color:var(--brand-900);text-underline-offset:.2rem;text-decoration:underline}.sale-workspace-page .customer-add-action svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8px;width:.875rem;height:.875rem}.sale-workspace-page .customer-quick-search{width:100%;display:block}.sale-workspace-page .customer-quick-search input{width:100%}.sale-workspace-page .customer-quick-search.has-results input{z-index:132;border-color:var(--brand-400);box-shadow:none;border-bottom-right-radius:0;border-bottom-left-radius:0;position:relative}.sale-workspace-page .customer-quick-search .customer-results{border-color:var(--brand-400);border-top-color:var(--border-subtle);border-radius:0 0 var(--radius-md) var(--radius-md);max-height:15rem;padding:var(--space-1);top:calc(100% - 1px)}.sale-workspace-page .customer-quick-search .customer-results button{align-items:center;gap:var(--space-2);border-radius:var(--radius-sm);width:100%;min-width:0;padding:var(--space-2);color:var(--text-primary);font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;display:grid}.sale-workspace-page .customer-quick-search .customer-results button>span:first-child{gap:.125rem;min-width:0;display:grid}.sale-workspace-page .customer-quick-search .customer-results button strong,.sale-workspace-page .customer-quick-search .customer-results button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sale-workspace-page .customer-quick-search .customer-results button>span:last-child{color:var(--text-tertiary);white-space:nowrap;font-size:.625rem}.sale-workspace-page .customer-quick-search .customer-results button:hover,.sale-workspace-page .customer-quick-search .customer-results button:focus-visible,.sale-workspace-page .customer-quick-search .customer-results button.is-active,.sale-workspace-page .customer-quick-search .customer-results button[aria-selected=true]{background:var(--brand-50);color:var(--brand-800);outline:0}.sale-workspace-page .selected-customer,.sale-workspace-page .selected-customer>span{min-width:0}.sale-workspace-page .selected-customer strong,.sale-workspace-page .selected-customer small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sale-workspace-page .selected-customer button{flex:none}.sale-workspace-page .due-payment-fields{align-items:end;gap:var(--space-2);grid-template-columns:minmax(0,1fr) minmax(7.5rem,.72fr);min-width:0;display:grid}.sale-workspace-page .due-payment-fields>p{color:var(--danger-700);grid-column:1/-1;margin:0;font-size:.6875rem}.sale-workspace-page .due-balance{min-height:var(--control-lg);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);background:var(--warning-50);color:var(--warning-700);align-content:center;gap:.125rem;display:grid}.sale-workspace-page .due-balance span{font-size:.625rem;font-weight:700}.sale-workspace-page .due-balance strong{font-size:.9375rem}.sale-workspace-page .checkout-total{align-items:end;gap:var(--space-3);grid-template-columns:minmax(0,1fr) auto;min-width:0;display:grid}.sale-workspace-page .checkout-total>span{min-width:0}.sale-workspace-page .checkout-total>strong{white-space:nowrap;min-width:max-content;font-size:clamp(1.5rem,2.5vw,2rem)}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page{grid-template-columns:minmax(20rem,.82fr) minmax(0,1.68fr)}.sale-workspace-page .cart-section{gap:0 var(--space-3);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(16rem,1fr) minmax(14rem,.82fr)}.sale-workspace-page .cart-review{display:none}.sale-workspace-page .payment-empty,.sale-workspace-page .sale-checkout-step{grid-row:1/3}.sale-workspace-page .modal-backdrop:has(.sale-checkout-modal){min-width:0}}@media (max-width:1320px) and (min-width:1180px) and (min-height:700px){.sale-workspace-page{grid-template-columns:minmax(18rem,.76fr) minmax(0,1.74fr)}.sale-workspace-page .cart-section{grid-template-columns:minmax(14rem,1fr) minmax(13rem,.88fr)}.sale-workspace-page .customer-heading-actions>span{display:none}.sale-workspace-page .form-row.two-columns,.sale-workspace-page .split-remainder,.sale-workspace-page .due-payment-fields{grid-template-columns:1fr}}@media (max-width:720px){.sale-workspace-page .customer-heading-actions{flex-wrap:wrap}.sale-workspace-page .due-payment-fields{grid-template-columns:1fr}.sale-workspace-page .due-balance,.sale-workspace-page .due-payment-fields>p{grid-column:1}}.sale-workspace-page .payment-section .payment-method-fields,.sale-workspace-page .payment-section .due-payment-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-workspace-page .payment-section .payment-method-fields>label,.sale-workspace-page .payment-section .due-payment-fields>label{min-width:0}.sale-workspace-page .payment-section .customer-toggle{width:100%;min-width:0;margin-top:0;line-height:1.25}.sale-workspace-page .payment-section .due-payment-fields>p{grid-column:1/-1}.receive-v2__product-step{border:1px solid var(--border-subtle);border-radius:var(--radius-xl);background:var(--surface-panel);min-height:0;box-shadow:var(--shadow-xs);grid-template-columns:minmax(0,1.45fr) minmax(18rem,.62fr);display:grid;overflow:hidden}.receive-v2__product-entry{border-right:1px solid var(--border-subtle);min-width:0;min-height:0;padding:var(--space-4);flex-direction:column;display:flex;position:relative}.receive-v2__product-entry-heading,.receive-v2__receipt-lines>header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.receive-v2__product-entry-heading h2,.receive-v2__product-entry-heading p,.receive-v2__receipt-lines>header h2,.receive-v2__receipt-lines>header p{margin:0}.receive-v2__product-entry-heading h2,.receive-v2__receipt-lines>header h2{color:var(--text-primary);font-size:.95rem}.receive-v2__product-entry-heading p,.receive-v2__receipt-lines>header p{color:var(--text-secondary);margin-top:.15rem;font-size:.7rem}.receive-v2__product-entry-heading>button,.receive-v2__receipt-lines>header>button{border:1px solid var(--brand-200);border-radius:var(--radius-md);min-height:2.25rem;padding:0 var(--space-3);background:var(--brand-50);color:var(--brand-700);cursor:pointer;flex:none;font-size:.72rem;font-weight:750}.receive-v2__product-search{z-index:12;margin-top:var(--space-3);position:relative}.receive-v2__product-search>label{color:var(--text-secondary);margin-bottom:.35rem;font-size:.68rem;font-weight:750;display:block}.receive-v2__product-search-control{grid-template-columns:minmax(0,1fr) auto;display:grid}.receive-v2__product-search-control input{border-radius:var(--radius-md) 0 0 var(--radius-md);min-height:2.9rem}.receive-v2__product-search-control span{border:1px solid var(--border-strong);border-radius:0 var(--radius-md) var(--radius-md) 0;min-width:6.7rem;padding:0 var(--space-3);background:var(--surface-muted);color:var(--text-secondary);white-space:nowrap;border-left:0;place-items:center;font-size:.68rem;font-weight:750;display:grid}.receive-v2__product-results{border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-panel);max-height:min(22rem,48svh);box-shadow:var(--shadow-lg);padding:.3rem;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow-y:auto}.receive-v2__product-results>p{padding:var(--space-3);color:var(--text-secondary);margin:0}.receive-v2__product-results>button{align-items:center;gap:var(--space-3);border-radius:var(--radius-md);width:100%;padding:.65rem var(--space-3);color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto auto;display:grid}.receive-v2__product-results>button:hover,.receive-v2__product-results>button.is-active{background:var(--brand-50)}.receive-v2__product-results>button>span:first-child{gap:.1rem;min-width:0;display:grid}.receive-v2__product-results>button strong,.receive-v2__product-results>button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.receive-v2__product-results>button small,.receive-v2__product-results>button>span:nth-child(2){color:var(--text-secondary);font-size:.7rem}.receive-v2__product-results>button em{border-radius:var(--radius-full);background:var(--success-50);color:var(--success-700);white-space:nowrap;padding:.25rem .5rem;font-size:.65rem;font-style:normal;font-weight:750}.receive-v2__product-no-result{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3);display:flex}.receive-v2__product-no-result>div{gap:.1rem;display:grid}.receive-v2__product-no-result span{color:var(--text-secondary);font-size:.7rem}.receive-v2__product-no-result button{border:1px solid var(--brand-200);border-radius:var(--radius-md);min-height:2.25rem;padding:0 var(--space-3);background:var(--brand-50);color:var(--brand-700);flex:none;font-weight:750}.receive-v2__product-empty{min-height:15rem;color:var(--text-secondary);text-align:center;flex:1;place-content:center;justify-items:center;gap:.35rem;display:grid}.receive-v2__product-empty>span{color:var(--brand-600);font-size:2rem}.receive-v2__product-empty strong{color:var(--text-primary)}.receive-v2__product-empty p{max-width:28rem;margin:0;font-size:.75rem}.receive-v2__line-editor{gap:var(--space-3);max-width:52rem;margin-top:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--surface-subtle);display:grid}.receive-v2__line-editor>header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);display:flex}.receive-v2__line-editor>header span,.receive-v2__line-editor>header h2,.receive-v2__line-editor>header p{margin:0}.receive-v2__line-editor>header>div:first-child>span{color:var(--brand-700);letter-spacing:.08em;text-transform:uppercase;font-size:.64rem;font-weight:800}.receive-v2__line-editor>header h2{margin-top:.15rem;font-size:1rem}.receive-v2__line-editor>header p{color:var(--text-secondary);font-size:.72rem}.receive-v2__line-editor .condition-quantity-grid{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.receive-v2__line-editor label{color:var(--text-primary);gap:.35rem;font-size:.72rem;font-weight:750;display:grid}.receive-v2__line-editor input{min-height:2.7rem}.receive-v2__line-stock{border-radius:var(--radius-full);background:var(--success-50);min-width:6rem;color:var(--success-700);justify-items:center;padding:.4rem .7rem;display:grid}.receive-v2__line-stock strong,.receive-v2__line-stock span{font-size:.68rem}.receive-v2__line-actions{gap:var(--space-2);grid-template-columns:auto minmax(12rem,1fr);display:grid}.receive-v2__line-actions button{border:1px solid var(--border-strong);border-radius:var(--radius-md);min-height:2.75rem;padding:0 var(--space-4);background:var(--surface-panel);color:var(--text-primary);cursor:pointer;margin:0;font-weight:750}.receive-v2__receipt-lines{min-width:0;min-height:0;padding:var(--space-4);background:var(--surface-subtle);flex-direction:column;display:flex}.receive-v2__receipt-lines>header>span,.receive-v2__receipt-lines>footer span{color:var(--text-secondary);font-size:.68rem;font-weight:750}.receive-v2__receipt-lines>footer{gap:var(--space-3);border-top:1px solid var(--border-subtle);padding-top:var(--space-3);margin-top:auto;display:grid}.receive-v2__receipt-lines>footer>div{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.receive-v2__receipt-lines>footer .complete-button{min-height:2.8rem;margin:0}.receive-v2__receipt-empty{min-height:10rem;color:var(--text-secondary);text-align:center;place-items:center;font-size:.75rem;display:grid}.receive-v2__receipt-list{align-content:start;gap:var(--space-2);min-height:0;margin:var(--space-3) 0;display:grid;overflow-y:auto}.receive-v2__receipt-list article{gap:.3rem var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-3);background:var(--surface-panel);grid-template-columns:minmax(0,1fr) auto;display:grid}.receive-v2__receipt-list article>div:first-child{gap:.1rem;min-width:0;display:grid}.receive-v2__receipt-list article strong,.receive-v2__receipt-list article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.receive-v2__receipt-list article small,.receive-v2__receipt-list article>span{color:var(--text-secondary);font-size:.68rem}.receive-v2__receipt-list article>span,.receive-v2__receipt-list article>div:last-child{grid-column:1/-1}.receive-v2__receipt-list article>strong{text-align:right}.receive-v2__receipt-list article>div:last-child{gap:var(--space-3);display:flex}.receive-v2__receipt-list article button{color:var(--brand-700);cursor:pointer;background:0 0;border:0;padding:0;font-size:.68rem;font-weight:750;text-decoration:underline}.receive-v2__receipt-list article button:last-child{color:var(--danger-700)}.creatable-combobox{position:relative}.creatable-combobox>input{width:100%;padding-right:2.6rem}.creatable-combobox__toggle{z-index:2;border-radius:var(--radius-sm);width:2rem;height:2rem;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.creatable-combobox__toggle:hover{background:var(--surface-subtle);color:var(--text-primary)}.creatable-combobox__toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:1rem}.creatable-combobox__list{z-index:75;max-height:var(--dropdown-max-height,15rem);border:1px solid var(--border-strong);border-radius:var(--radius-md);overscroll-behavior:contain;box-shadow:var(--shadow-lg);isolation:isolate;background-color:#fff;padding:.3rem;position:absolute;left:0;right:0;overflow-y:auto}.creatable-combobox__list button{justify-content:space-between;align-items:center;gap:var(--space-3);border-radius:calc(var(--radius-md) - .15rem);width:100%;padding:.6rem var(--space-2);color:var(--text-primary);text-align:left;cursor:pointer;background:#fff;border:0;display:flex}.creatable-combobox__list button:hover,.creatable-combobox__list button.is-active{background:var(--brand-50)}.creatable-combobox__list button small{color:var(--text-secondary);font-size:.66rem}.creatable-combobox__list button.is-create{color:var(--brand-700);font-weight:750}.creatable-combobox.opens-bottom .creatable-combobox__list{top:calc(100% + .25rem);bottom:auto}.creatable-combobox.opens-top .creatable-combobox__list{top:auto;bottom:calc(100% + .25rem)}.creatable-combobox.aligns-left .creatable-combobox__list{left:0;right:auto}.creatable-combobox.aligns-right .creatable-combobox__list{left:auto;right:0}.receive-v2__new-product-modal{background-color:#fff;flex-direction:column;width:min(54rem,100vw - 2rem);max-height:min(52rem,100svh - 2rem);display:flex}.receive-v2__new-product-modal>.modal-heading{padding:var(--space-4);background-color:#fff;flex:none}.receive-v2__new-product-modal>.modal-body{min-height:0;max-height:none;padding:var(--space-4);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background-color:#fff;flex:auto;overflow-y:auto}.receive-v2__new-product-modal>.modal-footer{z-index:3;border-top:1px solid var(--border-subtle);padding:var(--space-3) var(--space-4);background-color:#fff;flex:none;box-shadow:0 -.5rem 1rem #151a230d}.receive-v2__new-product-form{gap:var(--space-4);display:grid}.receive-v2__new-product-section{gap:var(--space-3);display:grid}.receive-v2__new-product-section+.receive-v2__new-product-section{border-top:1px solid var(--border-subtle);padding-top:var(--space-4)}.receive-v2__new-product-section>header{align-items:flex-start;gap:var(--space-2);display:flex}.receive-v2__new-product-section>header>span{border-radius:var(--radius-full);background:var(--brand-100);width:1.45rem;height:1.45rem;color:var(--brand-700);flex:none;place-items:center;font-size:.68rem;font-weight:800;display:grid}.receive-v2__new-product-section>header h3,.receive-v2__new-product-section>header p{margin:0}.receive-v2__new-product-section>header h3{font-size:.86rem}.receive-v2__new-product-section>header p{color:var(--text-secondary);margin-top:.1rem;font-size:.68rem}.receive-v2__new-product-grid{gap:var(--space-3);display:grid}.receive-v2__new-product-grid.is-core{grid-template-columns:repeat(2,minmax(0,1fr))}.receive-v2__new-product-grid.is-pricing{grid-template-columns:repeat(5,minmax(0,1fr))}.receive-v2__new-product-grid .is-wide{grid-column:span 2}.receive-v2__new-product-grid label{min-width:0;color:var(--text-primary);align-content:start;gap:.35rem;font-size:.68rem;font-weight:750;display:grid}.receive-v2__new-product-grid label>span{color:var(--text-secondary);font-size:.62rem;font-weight:600}.receive-v2__new-product-grid label>.custom-select{margin-top:0}.receive-v2__new-product-grid input,.receive-v2__new-product-grid .custom-select__trigger{width:100%;min-height:2.6rem}.receive-v2__new-product-grid .is-code input{text-transform:uppercase}.receive-v2__field-label{align-items:baseline;gap:.35rem;display:flex}.receive-v2__field-label em{color:var(--text-secondary);font-size:.62rem;font-style:normal;font-weight:600}.receive-v2__variant-heading{justify-content:space-between}.receive-v2__variant-toggle{align-items:center;gap:var(--space-2);color:var(--text-primary);font-size:.72rem;font-weight:750;display:flex}.receive-v2__variant-toggle input{width:1.1rem;height:1.1rem;accent-color:var(--brand-600)}.receive-v2__variant-table{gap:.45rem;display:grid}.receive-v2__variant-labels,.receive-v2__variant-row{align-items:center;gap:var(--space-2);grid-template-columns:minmax(0,1fr) 6rem minmax(10rem,1fr) 2.25rem;display:grid}.receive-v2__variant-labels{padding:0 var(--space-1);color:var(--text-secondary);font-size:.62rem;font-weight:750}.receive-v2__variant-row input{min-width:0;min-height:2.45rem}.receive-v2__variant-row .is-code{text-transform:uppercase}.receive-v2__variant-row code{min-width:0;color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.receive-v2__variant-row button{border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--surface-panel);width:2.25rem;height:2.25rem;color:var(--danger-700);cursor:pointer;font-size:1.1rem}.receive-v2__variant-row button:disabled{opacity:.35;cursor:not-allowed}.receive-v2__add-variant{padding:var(--space-1) 0;color:var(--brand-700);cursor:pointer;background:0 0;border:0;justify-self:start;font-size:.7rem;font-weight:750}.receive-v2__sku-preview{justify-content:space-between;align-items:center;gap:var(--space-3);border:1px dashed var(--brand-300);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);background:var(--brand-50);display:flex}.receive-v2__sku-preview span{color:var(--text-secondary);font-size:.68rem}.receive-v2__sku-preview strong{font-family:var(--font-mono);font-size:.78rem}.receive-v2__new-product-error{border:1px solid var(--danger-100);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);background:var(--danger-50);color:var(--danger-700);margin:0;font-size:.72rem;font-weight:700}.receive-v2__new-product-actions{justify-content:end;gap:var(--space-2);grid-template-columns:auto minmax(14rem,1fr);width:100%;display:grid}.receive-v2__new-product-actions button{border:1px solid var(--border-strong);border-radius:var(--radius-md);min-height:2.75rem;padding:0 var(--space-4);background:var(--surface-panel);color:var(--text-primary);cursor:pointer;margin:0;font-weight:750}.receive-v2__new-product-actions .complete-button{border-color:var(--brand-600);background:var(--brand-600);color:#fff}@media (max-width:1024px){.receive-v2__product-step{grid-template-columns:minmax(0,1.2fr) minmax(17rem,.8fr)}.receive-v2__new-product-grid.is-core,.receive-v2__new-product-grid.is-pricing{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.receive-v2__product-step{flex-direction:column;display:flex;overflow:visible}.receive-v2__product-entry{border-right:0;border-bottom:1px solid var(--border-subtle);min-height:30rem;padding:var(--space-3)}.receive-v2__product-entry-heading>div p{display:none}.receive-v2__product-entry-heading>button{padding:0 var(--space-2);font-size:.66rem}.receive-v2__product-search-control span{min-width:5.6rem}.receive-v2__product-results{max-height:20rem}.receive-v2__product-results>button{grid-template-columns:minmax(0,1fr) auto}.receive-v2__product-results>button em{grid-column:1/-1;justify-self:start}.receive-v2__line-editor{padding:var(--space-3)}.receive-v2__line-editor .condition-quantity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.receive-v2__line-actions,.receive-v2__new-product-actions{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}.receive-v2__receipt-lines{min-height:22rem;padding:var(--space-3)}.receive-v2__new-product-modal{right:var(--space-2);bottom:var(--space-2);left:var(--space-2);width:auto;max-height:calc(100svh - 2*var(--space-2));border-radius:var(--radius-xl);position:fixed}.receive-v2__new-product-modal>.modal-heading,.receive-v2__new-product-modal>.modal-body,.receive-v2__new-product-modal>.modal-footer{padding:var(--space-3)}.receive-v2__new-product-grid.is-core,.receive-v2__new-product-grid.is-pricing{grid-template-columns:minmax(0,1fr)}.receive-v2__new-product-grid .is-wide{grid-column:auto}.receive-v2__sku-preview,.receive-v2__variant-heading{flex-direction:column;align-items:flex-start}.receive-v2__variant-labels{display:none}.receive-v2__variant-row{grid-template-columns:minmax(0,1fr) 5.5rem 2.25rem}.receive-v2__variant-row code{grid-area:2/1/auto/3}.receive-v2__variant-row button{grid-area:1/3}}@media (max-width:1024px){.sale-workspace-page{flex-direction:column;width:100%;max-width:none;height:100%;min-height:0;padding-bottom:5rem;display:flex;overflow:hidden}.sale-workspace-page>.workspace-grid{flex-direction:column;flex:1;align-items:stretch;width:100%;min-height:0;display:flex;overflow:hidden}.sale-workspace-page .results-panel{flex-direction:column;flex:1;align-self:stretch;width:100%;min-width:0;max-width:none;min-height:0;max-height:none;overflow:hidden;display:flex!important}.sale-workspace-page .results-panel .product-list{flex:1;min-height:0;overflow-y:auto}.sale-workspace-page .checkout-panel{align-self:stretch;width:100%;min-width:0;max-width:none;display:none!important}.sale-workspace-page.cart-view-open>.page-heading--system,.sale-workspace-page.cart-view-open>.alert,.sale-workspace-page.checkout-view-open>.page-heading--system,.sale-workspace-page.checkout-view-open>.alert{display:none}.sale-workspace-page.cart-view-open .results-panel,.sale-workspace-page.checkout-view-open .results-panel{display:none!important}.sale-workspace-page.cart-view-open .checkout-panel,.sale-workspace-page.checkout-view-open .checkout-panel{flex:1;min-height:0;max-height:none;overflow:hidden;display:flex!important}.sale-workspace-page .cart-section,.sale-workspace-page .cart-lines,.sale-workspace-page .cart-review{width:100%;max-width:none}.mobile-cart-bar{z-index:20;right:var(--space-3);bottom:var(--space-3);left:calc(var(--sidebar-rail) + var(--space-3));border-radius:var(--radius-lg);min-height:3.5rem;padding-inline:var(--space-4);background:var(--brand-600);color:#fff;box-shadow:var(--shadow-lg);border:0;justify-content:space-between;align-items:center;display:flex;position:fixed}.mobile-products-back{min-height:var(--control-md);margin-bottom:var(--space-3);color:var(--brand-700);background:0 0;border:0;align-self:flex-start;align-items:center;padding:0;display:inline-flex}}@media (max-width:720px){.sale-checkout-modal .customer-section,.sale-checkout-modal .payment-section{gap:var(--space-2)}.sale-workspace-page .payment-section .payment-method-fields,.sale-workspace-page .payment-section .due-payment-fields{grid-template-columns:1fr}.mobile-cart-bar{left:var(--space-3);bottom:calc(5.25rem + env(safe-area-inset-bottom))}.modal-backdrop:has(.sale-checkout-modal){width:100vw}:is(.modal-panel:has(.sale-line-editor),.modal-panel:has(.sale-checkout-modal)){max-width:none}.receipt-modal-panel{width:calc(100vw - 2*var(--space-3));max-width:none;max-height:calc(100svh - 2*var(--space-3))}}.content:has(.inventory-v2){min-height:0;overflow:hidden}.inventory-v2{--inventory-gap:var(--space-3);--surface-card:var(--surface-panel);--text-strong:var(--text-primary);--text-muted:var(--text-secondary);--border-default:var(--border-strong);--danger-300:var(--danger-100);--success-200:var(--success-100);--success-300:var(--success-100);--module-nav-height:3rem;gap:var(--inventory-gap);width:100%;height:100%;min-height:0;padding:var(--space-3);background:var(--surface-app);grid-template-rows:auto auto minmax(0,1fr);display:grid;overflow:hidden}.inventory-v2 *{min-width:0}.inventory-v2__module-bar,.inventory-v2__summary,.inventory-v2__workspace,.inventory-v2__catalog,.inventory-v2__detail,.inventory-v2__label-summary{border:1px solid var(--border-subtle);background:var(--surface-card);box-shadow:var(--shadow-xs)}.inventory-v2__module-bar{justify-content:space-between;align-items:center;gap:var(--space-4);border-radius:var(--radius-lg);min-height:3.5rem;padding:var(--space-2) var(--space-4);display:flex}.inventory-v2__module-bar h1,.inventory-v2__module-bar p{margin:0}.inventory-v2__module-bar h1{color:var(--text-strong);font-size:1.0625rem;line-height:1.25}.inventory-v2__module-bar p{color:var(--text-muted);margin-top:.125rem;font-size:.75rem}.inventory-v2__quick-actions{align-items:center;gap:var(--space-2);display:flex}.inventory-v2__quick-actions a{border:1px solid var(--border-default);border-radius:var(--radius-md);min-height:2.25rem;padding:0 var(--space-3);color:var(--brand-700);align-items:center;font-size:.8125rem;font-weight:700;text-decoration:none;display:inline-flex}.inventory-v2__quick-actions a:first-child{border-color:var(--brand-600);background:var(--brand-600);color:#fff}.inventory-v2__notice{z-index:80;top:calc(var(--topbar-height) + var(--module-nav-height) + var(--space-3));right:var(--space-4);align-items:center;gap:var(--space-3);border-radius:var(--radius-lg);max-width:min(34rem,100vw - 2rem);padding:var(--space-3) var(--space-4);box-shadow:var(--shadow-lg);border:1px solid;font-size:.875rem;font-weight:700;display:flex;position:fixed}.inventory-v2__notice.error{border-color:var(--danger-300);background:var(--danger-50);color:var(--danger-700)}.inventory-v2__notice.success{border-color:var(--success-300);background:var(--success-50);color:var(--success-700)}.inventory-v2__notice button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.inventory-v2__summary{border-radius:var(--radius-lg);grid-template-columns:repeat(5,minmax(0,1fr));display:grid;overflow:hidden}.inventory-v2__summary article{border-right:1px solid var(--border-subtle);min-height:3.75rem;padding:var(--space-2) var(--space-3);flex-direction:column;justify-content:center;display:flex}.inventory-v2__summary article:last-child{border-right:0}.inventory-v2__summary article.watch{background:var(--warning-50)}.inventory-v2__summary article.risk{background:var(--danger-50)}.inventory-v2__summary small{color:var(--text-muted);font-size:.6875rem;font-weight:650}.inventory-v2__summary strong{color:var(--text-strong);margin-top:.125rem;font-size:1.125rem}.inventory-v2--count,.inventory-v2--labels,.inventory-v2--detail{grid-template-rows:auto minmax(0,1fr)}.inventory-v2__workspace{border-radius:var(--radius-xl);grid-template-columns:minmax(20rem,.8fr) minmax(32rem,1.6fr);gap:0;min-height:0;display:grid;overflow:hidden}.inventory-v2__workspace--record{grid-template-columns:minmax(0,1fr)}.inventory-v2__workspace--labels{grid-template-columns:minmax(28rem,1fr) minmax(16rem,.34fr)}.inventory-v2__catalog{min-height:0;box-shadow:none;border-width:0 1px 0 0;grid-template-rows:auto auto minmax(0,1fr);display:grid;overflow:hidden}.inventory-v2__find{gap:var(--space-2);border-bottom:1px solid var(--border-subtle);padding:var(--space-3);grid-template-columns:minmax(0,1fr) 9rem;display:grid}.inventory-v2__find input,.inventory-v2__find .custom-select__trigger{min-height:2.625rem}.inventory-v2__find input{border:1px solid var(--border-default);border-radius:var(--radius-md);width:100%;padding:0 var(--space-3);color:var(--text-strong);font:inherit;background:#fff;font-size:.875rem}.inventory-v2__find input:focus{border-color:var(--brand-500);outline:3px solid var(--brand-100)}.inventory-v2__list-heading,.inventory-v2__section-heading,.inventory-v2__count-intro{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.inventory-v2__list-heading{padding:var(--space-2) var(--space-3);color:var(--text-strong);font-size:.8125rem}.inventory-v2__list-heading span{color:var(--text-muted);font-size:.75rem}.inventory-v2__product-list{min-height:0;padding:0 var(--space-2) var(--space-2);overscroll-behavior:contain;scrollbar-gutter:stable;overflow-y:auto}.inventory-v2__product{align-items:center;gap:var(--space-2);border-radius:var(--radius-lg);width:100%;min-height:3.65rem;padding:var(--space-2) var(--space-2) var(--space-2) var(--space-3);background:var(--surface-subtle);color:var(--text-strong);font:inherit;text-align:left;cursor:pointer;border:1px solid #0000;grid-template-columns:minmax(0,1fr) 5.2rem 5.5rem 1.25rem;margin-bottom:.35rem;display:grid;position:relative}.inventory-v2__product:hover{border-color:var(--brand-200);background:var(--brand-50)}.inventory-v2__product.is-selected{border-color:var(--brand-500);background:var(--brand-50);box-shadow:inset 3px 0 0 var(--brand-600)}.inventory-v2__product:has(.inventory-v2__check){grid-template-columns:1.5rem minmax(0,1fr) 5.2rem 5.5rem}.inventory-v2__product-copy,.inventory-v2__product-price{flex-direction:column;min-width:0;display:flex}.inventory-v2__product-copy strong,.inventory-v2__product-copy small,.inventory-v2__product-price strong,.inventory-v2__product-price small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-v2__product-copy strong,.inventory-v2__product-price strong{font-size:.8125rem}.inventory-v2__product-copy small,.inventory-v2__product-price small{color:var(--text-muted);margin-top:.1rem;font-size:.6875rem}.inventory-v2__product-price{text-align:right}.inventory-v2__stock{min-height:1.6rem;padding:0 var(--space-2);background:var(--success-50);color:var(--success-700);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;font-size:.6875rem;font-weight:750;display:inline-flex}.inventory-v2__stock.is-out{background:var(--danger-50);color:var(--danger-700)}.inventory-v2__open{color:var(--brand-600);text-align:center;font-size:1.25rem;font-weight:800}.inventory-v2__check{border:1px solid var(--border-default);width:1.35rem;height:1.35rem;color:var(--brand-700);background:#fff;border-radius:.35rem;place-items:center;font-size:.75rem;font-weight:800;display:grid}.inventory-v2__detail{min-height:0;box-shadow:none;border:0;grid-template-rows:auto auto minmax(0,1fr);display:grid;overflow:hidden}.inventory-v2__empty-state,.inventory-v2__loading{padding:var(--space-6);color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.inventory-v2__empty-state span,.inventory-v2__loading span{color:var(--brand-600);font-size:2rem}.inventory-v2__empty-state h2,.inventory-v2__loading h2{margin:var(--space-2) 0 0;color:var(--text-strong);font-size:1.125rem}.inventory-v2__empty-state p,.inventory-v2__loading p{max-width:28rem;margin:var(--space-2) 0 0;font-size:.875rem}.inventory-v2__record-header{justify-content:space-between;align-items:center;gap:var(--space-4);border-bottom:1px solid var(--border-subtle);min-height:4.4rem;padding:var(--space-3) var(--space-4);display:flex}.inventory-v2__record-header p,.inventory-v2__record-header h1,.inventory-v2__record-header span{margin:0}.inventory-v2__record-header p{color:var(--brand-700);letter-spacing:.06em;font-size:.6875rem;font-weight:800}.inventory-v2__record-header h1{max-width:50rem;color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;font-size:1.125rem;line-height:1.25;overflow:hidden}.inventory-v2__record-header span{color:var(--text-muted);font-size:.75rem}.inventory-v2__mobile-back{color:var(--brand-700);font:inherit;background:0 0;border:0;padding:0;font-size:.8125rem;font-weight:700;display:none}.inventory-v2__tabs{gap:var(--space-4);border-bottom:1px solid var(--border-subtle);padding:0 var(--space-4);display:flex;overflow-x:auto}.inventory-v2__tabs button{min-height:2.7rem;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:0;font-size:.75rem;font-weight:700}.inventory-v2__tabs button.is-active{border-color:var(--brand-600);color:var(--brand-700)}.inventory-v2__record-body{min-height:0;padding:var(--space-3) var(--space-4) var(--space-4);overscroll-behavior:contain;scrollbar-gutter:stable;overflow-y:auto}.inventory-v2__overview,.inventory-v2__history-stack{gap:var(--space-3);display:grid}.inventory-v2__metric-grid{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.inventory-v2__metric-grid article{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);min-height:4.4rem;padding:var(--space-2) var(--space-3);background:var(--surface-subtle);flex-direction:column;justify-content:center;display:flex}.inventory-v2__metric-grid article.primary{border-color:var(--success-200);background:var(--success-50)}.inventory-v2__metric-grid small{color:var(--text-muted);font-size:.6875rem}.inventory-v2__metric-grid strong{color:var(--text-strong);margin-top:.15rem;font-size:1.2rem}.inventory-v2__cost-strip{border:1px solid var(--border-subtle);border-radius:var(--radius-lg);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.inventory-v2__cost-strip div{border-right:1px solid var(--border-subtle);padding:var(--space-3);flex-direction:column;display:flex}.inventory-v2__cost-strip div:last-child{border-right:0}.inventory-v2__cost-strip small{color:var(--text-muted);font-size:.6875rem}.inventory-v2__cost-strip strong{color:var(--text-strong);margin-top:.15rem;font-size:.95rem}.inventory-v2__health{align-items:center;gap:var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-3);grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;display:grid}.inventory-v2__health div{flex-direction:column;display:flex}.inventory-v2__health small,.inventory-v2__health span{color:var(--text-muted);font-size:.6875rem}.inventory-v2__health strong{color:var(--text-strong);margin:.1rem 0;font-size:.875rem}.inventory-v2__section-heading{margin-bottom:var(--space-2)}.inventory-v2__section-heading h2,.inventory-v2__section-heading p{margin:0}.inventory-v2__section-heading h2{color:var(--text-strong);font-size:.95rem}.inventory-v2__section-heading p,.inventory-v2__section-heading>span{color:var(--text-muted);margin-top:.15rem;font-size:.6875rem}.inventory-v2__section-heading>span{flex:none;font-weight:700}.inventory-v2__fifo-list,.inventory-v2__history-list,.inventory-v2__movement-list{gap:.45rem;display:grid}.inventory-v2__fifo-list article,.inventory-v2__history-list article,.inventory-v2__movement-list article{align-items:center;gap:var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);background:#fff;display:grid}.inventory-v2__fifo-list article{grid-template-columns:4.5rem minmax(10rem,1fr) minmax(7rem,.5fr) minmax(8rem,.55fr)}.inventory-v2__fifo-list article.is-next{border-color:var(--brand-300);background:var(--brand-50)}.inventory-v2__lot-order{color:var(--brand-700);letter-spacing:.06em;font-size:.625rem;font-weight:850}.inventory-v2__fifo-list div,.inventory-v2__history-list div,.inventory-v2__movement-list div,.inventory-v2__movement-list time{flex-direction:column;min-width:0;display:flex}.inventory-v2__fifo-list div strong,.inventory-v2__fifo-list div small,.inventory-v2__history-list div strong,.inventory-v2__history-list div small,.inventory-v2__movement-list div strong,.inventory-v2__movement-list div small,.inventory-v2__movement-list time strong,.inventory-v2__movement-list time small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-v2__fifo-list div strong,.inventory-v2__history-list div strong,.inventory-v2__movement-list div strong,.inventory-v2__movement-list time strong{color:var(--text-strong);font-size:.8rem}.inventory-v2__fifo-list div small,.inventory-v2__history-list div small,.inventory-v2__movement-list div small,.inventory-v2__movement-list time small{color:var(--text-muted);font-size:.65rem}.inventory-v2__history-list article{grid-template-columns:minmax(10rem,1fr) minmax(8rem,.6fr) minmax(7rem,.5fr) auto}.inventory-v2__history-list article time{color:var(--text-muted);white-space:nowrap;font-size:.65rem}.inventory-v2__movement-list article{grid-template-columns:3rem minmax(0,1fr) auto}.inventory-v2__movement-list article>span{font-size:1rem;font-weight:800}.inventory-v2__movement-list article time{color:var(--text-muted);align-items:flex-end;font-size:.65rem}.inventory-v2__trend{margin:0 0 var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);background:var(--surface-subtle)}.inventory-v2__trend div{color:var(--text-muted);justify-content:space-between;font-size:.65rem;display:flex}.inventory-v2__trend svg{width:100%;height:4.5rem}.inventory-v2__trend path{fill:none;stroke:var(--border-default)}.inventory-v2__trend polyline{fill:none;stroke:var(--brand-600);stroke-linecap:round;stroke-linejoin:round;stroke-width:3px}.inventory-v2__empty{padding:var(--space-5);color:var(--text-muted);text-align:center;margin:0;font-size:.8125rem}.inventory-v2__count{grid-template-rows:auto minmax(0,1fr)}.inventory-v2__count-form{min-height:0;padding:var(--space-4);flex-direction:column;padding-bottom:5rem;display:flex;position:relative;overflow-y:auto}.inventory-v2__count-intro h2,.inventory-v2__count-intro p{margin:0}.inventory-v2__count-intro h2{color:var(--text-strong);font-size:1rem}.inventory-v2__count-intro p{color:var(--text-muted);margin-top:.2rem;font-size:.75rem}.inventory-v2__count-intro>strong{background:var(--brand-50);color:var(--brand-700);border-radius:999px;padding:.35rem .7rem;font-size:.6875rem}.inventory-v2__condition-grid{gap:var(--space-3);margin-top:var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.inventory-v2__condition-grid label{gap:var(--space-1);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-3);color:var(--text-strong);font-size:.8125rem;font-weight:700;display:grid}.inventory-v2__condition-grid small{color:var(--text-muted);font-size:.6875rem;font-weight:500}.inventory-v2__condition-grid input{border:1px solid var(--border-default);border-radius:var(--radius-md);width:100%;min-height:2.75rem;padding:0 var(--space-3);font:inherit}.inventory-v2__condition-grid strong{font-size:.6875rem}.inventory-v2__count-notes,.inventory-v2__policy-quantities{gap:var(--space-3);margin-top:var(--space-3);grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);display:grid}.inventory-v2__count-notes label,.inventory-v2__policy-quantities label{gap:var(--space-1);color:var(--text-strong);font-size:.75rem;font-weight:700;display:grid}.inventory-v2__count-notes textarea,.inventory-v2__count-notes input,.inventory-v2__policy-quantities textarea,.inventory-v2__policy-quantities input{border:1px solid var(--border-default);border-radius:var(--radius-md);width:100%;min-height:2.75rem;padding:var(--space-2) var(--space-3);font:inherit;resize:vertical}.inventory-v2__sticky-action{z-index:3;right:var(--space-4);bottom:var(--space-3);left:var(--space-4);justify-content:space-between;align-items:center;gap:var(--space-3);border-radius:var(--radius-lg);min-height:3.5rem;padding:0 var(--space-3);background:var(--surface-card);box-shadow:var(--shadow-lg);display:flex;position:absolute}.inventory-v2__sticky-action span{color:var(--text-muted);font-size:.75rem}.inventory-v2__sticky-action button{border-radius:var(--radius-md);min-height:2.75rem;padding:0 var(--space-4);background:var(--brand-600);color:#fff;font:inherit;border:0;font-size:.8125rem;font-weight:750}.inventory-v2__label-summary{gap:var(--space-3);min-height:0;padding:var(--space-4);box-shadow:none;border:0;flex-direction:column;display:flex}.inventory-v2__label-summary>div{border-radius:var(--radius-lg);padding:var(--space-4);background:var(--brand-50);flex-direction:column;display:flex}.inventory-v2__label-summary small,.inventory-v2__label-summary p{color:var(--text-muted);font-size:.75rem}.inventory-v2__label-summary strong{color:var(--brand-700);font-size:2rem}.inventory-v2__label-summary p{margin:var(--space-2) 0 0}.inventory-v2__label-summary .complete-button{margin-top:auto}.inventory-v2__policy-modal{flex-direction:column;width:min(36rem,100vw - 2rem);max-height:min(46rem,100svh - 2rem);display:flex}.inventory-v2__policy-modal>.modal-heading{padding:var(--space-4);flex:none}.inventory-v2__policy-modal>.modal-body{min-height:0;max-height:none;padding:var(--space-4);overscroll-behavior:contain;flex:auto;overflow-y:auto}.inventory-v2__policy-modal>.modal-footer{border-top:1px solid var(--border-subtle);padding:var(--space-3) var(--space-4);background:var(--surface-panel);flex:none;box-shadow:0 -.5rem 1.25rem #151a230d}.inventory-v2__policy-form{gap:var(--space-3);display:grid}.inventory-v2__policy-product{justify-content:space-between;align-items:center;gap:var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-3);background:var(--surface-subtle);display:flex}.inventory-v2__policy-product>div{gap:.125rem;min-width:0;display:grid}.inventory-v2__policy-product>div:last-child{text-align:right;flex:none}.inventory-v2__policy-product strong{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.inventory-v2__policy-product span,.inventory-v2__policy-product small{color:var(--text-muted);font-size:.6875rem}.inventory-v2__policy-decision{align-items:center;gap:var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-3);background:var(--surface-panel);grid-template-columns:minmax(0,1fr) 12rem;display:grid}.inventory-v2__policy-decision>div:first-child{align-items:flex-start;gap:var(--space-2);min-width:0;display:flex}.inventory-v2__policy-decision>div:first-child>div{min-width:0}.inventory-v2__policy-decision strong{color:var(--text-strong);font-size:.8125rem}.inventory-v2__policy-decision p{color:var(--text-muted);margin:.25rem 0 0;font-size:.6875rem;line-height:1.4}.inventory-v2__policy-step{border-radius:var(--radius-full);background:var(--brand-50);width:1.5rem;height:1.5rem;color:var(--brand-700);flex:none;place-items:center;font-size:.6875rem;font-weight:800;display:grid}.inventory-v2__quantity-control{border:1px solid var(--border-default);border-radius:var(--radius-md);background:var(--surface-panel);grid-template-columns:2.5rem minmax(0,1fr) 2.5rem;align-items:stretch;min-width:0;display:grid;overflow:hidden}.inventory-v2__quantity-control button{background:var(--surface-subtle);min-width:0;color:var(--text-strong);font:inherit;cursor:pointer;border:0;font-size:1.125rem;font-weight:800}.inventory-v2__quantity-control button:first-child{border-right:1px solid var(--border-subtle)}.inventory-v2__quantity-control button:last-child{border-left:1px solid var(--border-subtle)}.inventory-v2__quantity-control button:hover{background:var(--brand-50);color:var(--brand-700)}.inventory-v2__quantity-control label{text-align:center;grid-template-columns:auto 2.25rem;place-content:center;align-items:baseline;column-gap:.25rem;min-width:0;padding:.4rem;display:grid}.inventory-v2__quantity-control label>span{color:var(--text-muted);grid-column:1/-1;font-size:.625rem;font-weight:650}.inventory-v2__quantity-control input{width:2.25rem;min-height:1.75rem;color:var(--text-strong);font:inherit;text-align:right;background:0 0;border:0;outline:none;padding:0;font-size:1rem;font-weight:800}.inventory-v2__quantity-control small{color:var(--text-muted);white-space:nowrap;font-size:.625rem}.inventory-v2__policy-preview{border:1px solid var(--success-100);border-radius:var(--radius-lg);padding:var(--space-3);background:var(--success-50)}.inventory-v2__policy-preview.is-due{border-color:var(--warning-100);background:var(--warning-50)}.inventory-v2__policy-preview strong{color:var(--text-strong);font-size:.8125rem}.inventory-v2__policy-preview p{color:var(--text-muted);margin:.25rem 0 0;font-size:.75rem;line-height:1.45}.inventory-v2__policy-note{color:var(--text-strong);grid-template-columns:auto 1fr;align-items:baseline;column-gap:.25rem;font-size:.75rem;font-weight:700;display:grid}.inventory-v2__policy-note span{color:var(--text-muted);font-weight:500}.inventory-v2__policy-note input{width:100%;min-height:2.75rem;margin-top:var(--space-1);border:1px solid var(--border-default);border-radius:var(--radius-md);padding:0 var(--space-3);background:var(--surface-panel);color:var(--text-strong);font:inherit;grid-column:1/-1}.inventory-v2__policy-actions{justify-content:space-between;align-items:center;gap:var(--space-3);width:100%;display:flex}.inventory-v2__policy-actions>div{gap:var(--space-2);margin-left:auto;display:flex}.inventory-v2__policy-actions .secondary-button,.inventory-v2__policy-actions .complete-button,.inventory-v2__policy-actions .inventory-v2__disable-policy{border-radius:var(--radius-md);min-height:2.75rem;padding:0 var(--space-4);font:inherit;cursor:pointer;font-size:.75rem;font-weight:750}.inventory-v2__policy-actions .complete-button{background:var(--brand-600);color:#fff;border:0}.inventory-v2__policy-actions .inventory-v2__disable-policy{color:var(--danger-600);background:0 0;border:0;padding-inline:0}.inventory-v2__policy-actions button:disabled{cursor:wait;opacity:.6}@media (max-width:1024px){.content:has(.inventory-v2){overflow:hidden}.inventory-v2{padding:var(--space-2)}.inventory-v2__module-bar .inventory-v2__quick-actions{gap:var(--space-1)}.inventory-v2__module-bar .inventory-v2__quick-actions a{padding:0 var(--space-2);font-size:.7rem}.inventory-v2__summary{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-v2__summary article:nth-child(3){display:none}.inventory-v2__workspace{grid-template-columns:minmax(17rem,.7fr) minmax(25rem,1.3fr)}.inventory-v2__product{grid-template-columns:minmax(0,1fr) 4.5rem 4.7rem 1rem}}@media (max-width:720px){.content:has(.inventory-v2){padding-bottom:calc(4.75rem + env(safe-area-inset-bottom))}.inventory-v2{--inventory-gap:var(--space-2);padding:var(--space-2);grid-template-rows:auto minmax(0,1fr)}.inventory-v2--list:has(.inventory-v2__summary){grid-template-rows:auto auto minmax(0,1fr)}.inventory-v2__module-bar{border-radius:var(--radius-md);min-height:2.75rem;padding:var(--space-2) var(--space-3)}.inventory-v2__module-bar p{display:none}.inventory-v2__module-bar h1{font-size:.95rem}.inventory-v2__quick-actions a{display:none}.inventory-v2__quick-actions a:first-child{min-height:2rem;display:inline-flex}.inventory-v2__summary{border-radius:var(--radius-md);grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-v2__summary article{min-height:3.25rem;padding:var(--space-2)}.inventory-v2__summary article:nth-child(3){display:none}.inventory-v2__summary small{font-size:.58rem}.inventory-v2__summary strong{font-size:.95rem}.inventory-v2__workspace,.inventory-v2__workspace--labels,.inventory-v2__workspace--record{border-radius:var(--radius-lg);min-height:0;display:block;position:relative}.inventory-v2__catalog,.inventory-v2__detail{width:100%;height:100%;position:absolute;inset:0}.inventory-v2__detail{background:#fff;display:none}.inventory-v2.is-mobile-detail .inventory-v2__catalog{display:none}.inventory-v2.is-mobile-detail .inventory-v2__detail{display:grid}.inventory-v2__workspace--labels{grid-template-rows:minmax(0,1fr) auto;display:grid}.inventory-v2__workspace--labels .inventory-v2__catalog{display:grid;position:relative}.inventory-v2__label-summary{gap:var(--space-2);border-top:1px solid var(--border-subtle);min-height:4rem;padding:var(--space-2);grid-template-columns:minmax(0,1fr) auto;display:grid}.inventory-v2__label-summary>div,.inventory-v2__label-summary .secondary-button,.inventory-v2__label-summary .text-button{display:none}.inventory-v2__label-summary .complete-button{grid-column:2;margin:0}.inventory-v2__label-summary:before{content:attr(data-selection);color:var(--text-strong);align-self:center;font-size:.75rem;font-weight:700}.inventory-v2__find{padding:var(--space-2);grid-template-columns:minmax(0,1fr) 7.2rem}.inventory-v2__product-list{padding:0 var(--space-2) var(--space-2)}.inventory-v2__product{gap:var(--space-1);min-height:3.7rem;padding-left:var(--space-2);grid-template-columns:minmax(0,1fr) 4.4rem 4.7rem .75rem}.inventory-v2__product:has(.inventory-v2__check){grid-template-columns:1.4rem minmax(0,1fr) 4.4rem 4.7rem}.inventory-v2__record-header{gap:var(--space-2);min-height:5rem;padding:var(--space-2) var(--space-3);grid-template-columns:1fr auto;display:grid}.inventory-v2__record-header .inventory-v2__mobile-back{grid-column:1/-1;display:inline-flex}.inventory-v2__record-header h1{font-size:.95rem}.inventory-v2__record-header .secondary-button{display:none}.inventory-v2__tabs{gap:var(--space-3);padding:0 var(--space-3)}.inventory-v2__record-body{padding:var(--space-3)}.inventory-v2__metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-v2__cost-strip{grid-template-columns:1fr}.inventory-v2__cost-strip div{border-right:0;border-bottom:1px solid var(--border-subtle)}.inventory-v2__cost-strip div:last-child{border-bottom:0}.inventory-v2__health{grid-template-columns:1fr}.inventory-v2__fifo-list article,.inventory-v2__history-list article,.inventory-v2__movement-list article{grid-template-columns:1fr auto}.inventory-v2__fifo-list article>:nth-child(n+3),.inventory-v2__history-list article>:nth-child(n+3),.inventory-v2__movement-list article>:nth-child(n+3){grid-column:1/-1}.inventory-v2__fifo-list article{grid-template-columns:4rem 1fr}.inventory-v2__count-form{padding:var(--space-3);padding-bottom:5rem}.inventory-v2__condition-grid,.inventory-v2__count-notes,.inventory-v2__policy-quantities,.inventory-v2__policy-decision{grid-template-columns:1fr}.inventory-v2__quantity-control{min-height:3.5rem}.inventory-v2__policy-actions{flex-direction:column-reverse;align-items:stretch}.inventory-v2__policy-actions>div{width:100%;margin-left:0}.inventory-v2__policy-actions>div .secondary-button{flex:none}.inventory-v2__policy-actions>div .complete-button{flex:auto}.inventory-v2__policy-actions .inventory-v2__disable-policy{align-self:flex-start}.inventory-v2__sticky-action{right:var(--space-3);bottom:var(--space-2);left:var(--space-3)}.inventory-v2__notice{top:auto;right:var(--space-3);bottom:calc(5.25rem + env(safe-area-inset-bottom));left:var(--space-3);max-width:none}}.sale-action-bar{justify-content:space-between;align-items:center;gap:var(--space-3);border-radius:var(--radius-lg);width:100%;min-height:3.5rem;padding:0 var(--space-4);background:var(--brand-600);color:#fff;box-shadow:var(--shadow-md);font:inherit;border:0;font-weight:750;display:flex}.sale-action-bar span{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sale-action-bar strong{color:inherit;white-space:nowrap;flex:none;font-size:1rem}.mobile-products-back{min-height:var(--control-md);color:var(--brand-700);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;padding:0;font-weight:650;display:none}.mobile-cart-bar{display:none}.cart-review.sale-action-bar{padding:0 var(--space-4);border-top:0;flex-direction:row;margin-top:auto}.cart-review.sale-action-bar span{font-size:.8125rem;display:block}.cart-review.sale-action-bar strong{font-size:1rem}.complete-button.sale-action-bar{margin-top:var(--space-3)}.sale-checkout-step{flex:1;min-width:0;min-height:0;display:none;overflow:hidden}.sale-workspace-page.checkout-view-open .mobile-products-back{display:inline-flex}.sale-workspace-page.checkout-view-open .cart-section{flex-direction:column;flex:1;min-height:0;display:flex}.sale-workspace-page.checkout-view-open .cart-section>.section-title,.sale-workspace-page.checkout-view-open .cart-section>.cart-empty,.sale-workspace-page.checkout-view-open .cart-section>.payment-empty,.sale-workspace-page.checkout-view-open .cart-section>.cart-lines,.sale-workspace-page.checkout-view-open .cart-section>.cart-review{display:none}.sale-workspace-page.checkout-view-open .sale-checkout-step{flex-direction:column;display:flex}.sale-workspace-page.checkout-view-open .sale-checkout-modal,.sale-workspace-page.checkout-view-open .cart-checkout{min-width:0;height:100%;min-height:0}.sale-workspace-page.checkout-view-open .cart-checkout{border-top:0;margin:0;padding-top:0;overflow-y:auto}@media (min-width:1180px) and (min-height:700px){.sale-workspace-page .sale-checkout-step{flex-direction:column;display:flex}.sale-workspace-page.checkout-view-open .mobile-products-back{display:none}.sale-workspace-page.checkout-view-open .cart-section{gap:0 var(--space-3);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(14rem,1fr) minmax(13rem,.88fr);height:100%;display:grid}.sale-workspace-page.checkout-view-open .cart-section>.section-title,.sale-workspace-page.checkout-view-open .cart-section>.cart-lines{grid-column:1}.sale-workspace-page.checkout-view-open .cart-section>.section-title{grid-row:1;display:flex}.sale-workspace-page.checkout-view-open .cart-section>.cart-lines{grid-row:2;min-height:0;display:grid;overflow-y:auto}.sale-workspace-page.checkout-view-open .sale-checkout-step{border-left:1px solid var(--border-subtle);padding-left:var(--space-3);grid-area:1/2/3}.sale-workspace-page.checkout-view-open .online-only-checkout{flex-direction:column;min-height:100%;display:flex}.sale-workspace-page.checkout-view-open .customer-section,.sale-workspace-page.checkout-view-open .payment-section{border-top:0;min-width:0;margin:0;padding-top:0}.sale-workspace-page.checkout-view-open .payment-section{margin-top:var(--space-4);border-top:1px solid var(--border-subtle);padding-top:var(--space-4);border-left:0;padding-left:0}.sale-workspace-page.checkout-view-open .checkout-total{margin-top:var(--space-4)}}@media (max-width:1024px){.sale-workspace-page>.page-heading--system{display:none}.sale-workspace-page .mobile-products-back{display:inline-flex}.sale-workspace-page .mobile-cart-bar,.sale-workspace-page.cart-view-open:not(.checkout-view-open) .cart-review,.sale-workspace-page.checkout-view-open .complete-button.sale-action-bar{z-index:20;right:var(--space-3);bottom:var(--space-3);left:calc(var(--sidebar-rail) + var(--space-3));width:auto;margin:0;position:fixed}.sale-workspace-page .mobile-cart-bar{display:flex}.sale-workspace-page.checkout-view-open .cart-checkout{padding-bottom:4.5rem}}@media (max-width:720px){.sale-workspace-page .mobile-cart-bar,.sale-workspace-page.cart-view-open:not(.checkout-view-open) .cart-review,.sale-workspace-page.checkout-view-open .complete-button.sale-action-bar{right:var(--space-3);bottom:calc(5.25rem + env(safe-area-inset-bottom));left:var(--space-3)}}.content:has(.receive-v2){min-height:0;overflow:hidden}.receive-v2{gap:var(--space-2);width:100%;height:100%;min-height:0;padding:var(--space-3);background:var(--surface-app);grid-template-rows:auto auto auto minmax(0,1fr);display:grid;overflow:hidden}.receive-v2 *{min-width:0}.receive-v2__module-bar,.receive-v2 .receive-steps,.receive-v2__bill,.receive-v2__workspace{border:1px solid var(--border-subtle);background:var(--surface-panel);box-shadow:var(--shadow-xs)}.receive-v2__module-bar{justify-content:space-between;align-items:center;gap:var(--space-4);border-radius:var(--radius-lg);min-height:3.5rem;padding:var(--space-2) var(--space-4);display:flex}.receive-v2__module-bar h1,.receive-v2__module-bar p{margin:0}.receive-v2__module-bar h1{color:var(--text-primary);font-size:1.0625rem;line-height:1.25}.receive-v2__module-bar p:not(.eyebrow){color:var(--text-secondary);margin-top:.125rem;font-size:.72rem}.receive-v2__module-bar .eyebrow{display:none}.receive-v2__header-actions{align-items:center;gap:var(--space-3);display:flex}.receive-v2__header-actions>button,.receive-v2__header-actions>strong{border-radius:var(--radius-md);min-height:2.25rem;padding:0 var(--space-3);align-items:center;font-size:.75rem;font-weight:750;display:inline-flex}.receive-v2__header-actions>button{gap:var(--space-2);border:1px solid var(--brand-200);background:var(--brand-50);color:var(--brand-700);cursor:pointer}.receive-v2__header-actions>button span{border-radius:var(--radius-full);background:var(--brand-600);color:#fff;place-items:center;min-width:1.25rem;height:1.25rem;font-size:.65rem;display:grid}.receive-v2__header-actions>strong{border:1px solid var(--success-100);background:var(--success-50);color:var(--success-700)}.receive-v2__header-actions>.receive-v2__cancel-action{border-color:var(--danger-100);background:var(--danger-50);color:var(--danger-700)}.receive-v2__notice{z-index:90;top:calc(var(--topbar-height) + var(--space-3));right:var(--space-4);align-items:center;gap:var(--space-3);border-radius:var(--radius-lg);max-width:min(34rem,100vw - 2rem);padding:var(--space-3) var(--space-4);box-shadow:var(--shadow-lg);border:1px solid;display:flex;position:fixed}.receive-v2__notice p{margin:0;font-size:.8rem;font-weight:750}.receive-v2__notice button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:1.15rem}.receive-v2__notice.is-error{border-color:var(--danger-100);background:var(--danger-50);color:var(--danger-700)}.receive-v2__notice.is-success{border-color:var(--success-100);background:var(--success-50);color:var(--success-700)}.receive-v2 .receive-steps{border-radius:var(--radius-lg);min-height:2.75rem;padding:.25rem}.receive-v2 .receive-steps li{min-height:2.15rem;padding:.3rem var(--space-3)}.receive-v2 .receive-steps li>span{width:1.4rem;height:1.4rem}.receive-v2 .receive-steps li small{display:none}.receive-v2__bill{border-radius:var(--radius-lg);padding:var(--space-3);margin:0;position:relative}.receive-v2__bill .section-title{min-height:1.75rem;padding-bottom:var(--space-2);display:flex}.receive-v2__bill .section-title h2{font-size:.78rem}.receive-v2__bill .section-title p{display:none}.receive-v2__bill .receive-bill-fields{gap:var(--space-2)}.receive-v2__bill input,.receive-v2__bill .custom-select__button{min-height:2.5rem}.receive-v2__bill .new-supplier-form{z-index:40;top:100%;right:var(--space-4);left:var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--shadow-lg);position:absolute}.receive-v2__bill-footer{justify-content:flex-end;align-items:center;gap:var(--space-4);margin-top:var(--space-3);border-top:1px solid var(--border-subtle);padding-top:var(--space-3);display:flex}.receive-v2__bill-footer p{color:var(--text-secondary);flex:1;margin:0;font-size:.72rem}.receive-v2__bill-footer .complete-button{width:auto;min-width:12rem;min-height:2.5rem;margin:0}.receive-v2__locked-context{align-items:center;gap:var(--space-4);border:1px solid var(--brand-200);border-radius:var(--radius-lg);min-height:3.25rem;padding:var(--space-2) var(--space-4);background:var(--brand-50);box-shadow:var(--shadow-xs);grid-template-columns:minmax(12rem,.8fr) minmax(10rem,.65fr) minmax(0,1fr) auto;display:grid}.receive-v2__locked-context>div{gap:.1rem;display:grid}.receive-v2__locked-context span{color:var(--text-secondary);letter-spacing:.03em;text-transform:uppercase;font-size:.64rem;font-weight:700}.receive-v2__locked-context strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.receive-v2__locked-context>p{border-radius:var(--radius-full);background:var(--surface-panel);color:var(--brand-700);white-space:nowrap;margin:0;padding:.35rem .65rem;font-size:.68rem;font-weight:750}.receive-v2__workspace{border-radius:var(--radius-xl);grid-template-columns:minmax(34rem,1.55fr) minmax(19rem,.7fr);gap:0;height:auto;min-height:0;margin:0;overflow:hidden}.receive-v2__workspace .receive-product-column,.receive-v2__workspace .receipt-builder{height:auto;min-height:0}.receive-v2__workspace .receive-product-column{border-right:1px solid var(--border-subtle);grid-template-rows:auto auto minmax(0,1fr);display:grid;overflow:hidden}.receive-v2__workspace .receive-product-column>.workspace-grid{grid-template-columns:minmax(16rem,.8fr) minmax(20rem,1.2fr);gap:0;min-height:0;overflow:hidden}.receive-v2__workspace .results-panel,.receive-v2__workspace .checkout-panel{min-height:0;box-shadow:none;border:0;border-radius:0}.receive-v2__workspace .results-panel{border-right:1px solid var(--border-subtle)}.receive-v2__workspace .receipt-builder{height:auto;min-height:0;box-shadow:none;border:0;border-radius:0;flex-direction:column;margin:0;display:flex;position:static;overflow:hidden}.receive-v2__workspace .receipt-builder .receipt-line-list{flex:1;min-height:0;overflow-y:auto}.receive-v2__search{border:0;border-bottom:1px solid var(--border-subtle);padding:var(--space-2) var(--space-3);box-shadow:none;border-radius:0;margin:0}.receive-v2__search>label{display:none}.receive-v2__search .search-row{grid-template-columns:minmax(0,1fr) auto;gap:0;display:grid}.receive-v2__search .search-row input{border-radius:var(--radius-md) 0 0 var(--radius-md);min-height:2.6rem}.receive-v2__search .search-row span{border:1px solid var(--border-strong);border-radius:0 var(--radius-md) var(--radius-md) 0;background:var(--surface-muted);min-width:5.6rem;color:var(--text-secondary);border-left:0;place-items:center;font-size:.68rem;font-weight:700;display:grid}.receive-v2 .new-product-panel{border:0;border-bottom:1px solid var(--border-subtle);background:var(--surface-panel);border-radius:0;margin:0}.receive-v2 .new-product-panel:not(.expanded){padding:.35rem var(--space-3)}.receive-v2 .new-product-panel:not(.expanded) .section-title{min-height:2rem}.receive-v2 .new-product-panel:not(.expanded) h2{color:var(--text-secondary);font-size:.72rem}.receive-v2 .new-product-panel.expanded{z-index:105;top:max(var(--space-4),4vh);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);width:min(54rem,100vw - 2rem);max-height:min(54rem,100svh - 2rem);padding:var(--space-4);box-shadow:0 0 0 100vmax #0f172a7a,var(--shadow-xl);position:fixed;right:50%;overflow-y:auto;transform:translate(50%)}.receive-v2 .product-change-panel{z-index:105;top:max(var(--space-4),4vh);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);width:min(50rem,100vw - 2rem);max-height:min(50rem,100svh - 2rem);padding:var(--space-4);background:var(--surface-panel);box-shadow:0 0 0 100vmax #0f172a7a,var(--shadow-xl);margin:0;position:fixed;right:50%;overflow-y:auto;transform:translate(50%)}.receive-v2__draft-modal,.receive-v2__cancel-modal,.inventory-v2__policy-modal{--surface-card:var(--surface-panel);--text-strong:var(--text-primary);--text-muted:var(--text-secondary);--border-default:var(--border-strong)}.receive-v2__cancel-modal{width:min(32rem,100vw - 2rem)}.receive-v2__cancel-modal-actions{justify-content:flex-end;gap:var(--space-2);display:flex}.receive-v2__cancel-modal-actions button{border:1px solid var(--border-strong);border-radius:var(--radius-md);min-height:2.75rem;padding:0 var(--space-4);background:var(--surface-panel);color:var(--text-primary);cursor:pointer;font-weight:750}.receive-v2__cancel-modal-actions .is-danger{border-color:var(--danger-100);background:var(--danger-50);color:var(--danger-700)}.receive-v2__confirm{border:1px solid var(--border-subtle);border-radius:var(--radius-xl);background:var(--surface-panel);min-height:0;box-shadow:var(--shadow-xs);flex-direction:column;display:flex;overflow:hidden}.receive-v2__confirm-header{justify-content:space-between;align-items:center;gap:var(--space-4);border-bottom:1px solid var(--border-subtle);padding:var(--space-3) var(--space-4);display:flex}.receive-v2__confirm-header h2,.receive-v2__confirm-header p{margin:0}.receive-v2__confirm-header h2{font-size:1rem}.receive-v2__confirm-header p:not(.eyebrow){color:var(--text-secondary);margin-top:.15rem;font-size:.72rem}.receive-v2__confirm-header>button{border:1px solid var(--brand-200);border-radius:var(--radius-md);min-height:2.35rem;padding:0 var(--space-3);background:var(--brand-50);color:var(--brand-700);cursor:pointer;font-size:.75rem;font-weight:750}.receive-v2__confirm-body{flex:1;grid-template-columns:minmax(0,1fr) minmax(20rem,.42fr);min-height:0;display:grid}.receive-v2__confirm-lines{min-height:0;padding:var(--space-3);overflow-y:auto}.receive-v2__confirm-lines article{align-items:center;gap:var(--space-3);border-bottom:1px solid var(--border-subtle);padding:var(--space-3);grid-template-columns:minmax(12rem,1.2fr) minmax(13rem,1fr) auto auto;display:grid}.receive-v2__confirm-lines article>div{gap:.15rem;display:grid}.receive-v2__confirm-lines article strong,.receive-v2__confirm-lines article span,.receive-v2__confirm-lines article small{min-width:0}.receive-v2__confirm-lines article small,.receive-v2__confirm-lines article span{color:var(--text-secondary);font-size:.72rem}.receive-v2__confirm-lines article>strong:last-child{color:var(--text-primary);text-align:right;font-size:.88rem}.receive-v2__confirm-summary{gap:var(--space-3);border-left:1px solid var(--border-subtle);min-height:0;padding:var(--space-4);background:var(--surface-subtle);flex-direction:column;display:flex;overflow-y:auto}.receive-v2__confirm-summary>div:not(.receive-v2__condition-summary):not(.receive-v2__atomic-note):not(.duplicate-warning){gap:.15rem;display:grid}.receive-v2__confirm-summary>div>span{color:var(--text-secondary);font-size:.68rem}.receive-v2__confirm-summary>div>strong{color:var(--text-primary);font-size:.82rem}.receive-v2__confirm-summary .complete-button{min-height:3rem;margin:auto 0 0}.receive-v2__condition-summary{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.receive-v2__condition-summary span{border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-2);background:var(--surface-panel);gap:.15rem;display:grid}.receive-v2__condition-summary small{color:var(--text-secondary);font-size:.62rem}.receive-v2__confirm-total{border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);padding:var(--space-3) 0}.receive-v2__confirm-total strong{font-size:1.25rem!important}.receive-v2__atomic-note{border:1px solid var(--success-100);border-radius:var(--radius-md);padding:var(--space-3);background:var(--success-50);gap:.2rem;display:grid}.receive-v2__atomic-note strong{color:var(--success-700)!important}.receive-v2__atomic-note span{line-height:1.4;color:var(--success-700)!important}.receive-v2__draft-modal{width:min(58rem,100vw - 2rem)}.receive-v2__draft-modal .draft-receipts{box-shadow:none;border:0;margin:0;padding:0}.receive-v2__draft-modal .draft-receipt-list{max-height:min(66vh,40rem);overflow-y:auto}@media (max-width:1024px){.content:has(.receive-v2){overflow:auto}.receive-v2{height:auto;min-height:100%;padding-bottom:calc(5rem + env(safe-area-inset-bottom));grid-template-rows:auto auto auto auto;overflow:visible}.receive-v2__module-bar p:not(.eyebrow){display:none}.receive-v2__workspace{grid-template-columns:minmax(0,1fr);overflow:visible}.receive-v2__workspace .receive-product-column{border-right:0;border-bottom:1px solid var(--border-subtle);min-height:34rem}.receive-v2__workspace .receipt-builder{min-height:24rem}.receive-v2__confirm-body{grid-template-columns:minmax(0,1.2fr) minmax(18rem,.8fr)}.receive-v2__confirm-lines article{grid-template-columns:minmax(10rem,1fr) auto}.receive-v2__confirm-lines article>span{grid-column:1/-1}}@media (max-width:720px){.receive-v2{gap:var(--space-2);padding:var(--space-2)}.receive-v2__module-bar{min-height:3rem;padding:var(--space-2) var(--space-3)}.receive-v2__module-bar h1{font-size:.95rem}.receive-v2__header-actions>strong{display:none}.receive-v2__header-actions>button{padding:0 var(--space-2)}.receive-v2__header-actions>.receive-v2__cancel-action{font-size:0}.receive-v2__header-actions>.receive-v2__cancel-action:after{content:"Cancel";font-size:.68rem}.receive-v2 .receive-steps{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.receive-v2 .receive-steps li{justify-content:center;min-width:0;padding:.25rem}.receive-v2 .receive-steps li div{display:none}.receive-v2 .receive-steps li:after{width:.7rem;right:-.35rem}.receive-v2__bill{padding:var(--space-3)}.receive-v2__bill .receive-bill-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.receive-v2__bill .receive-bill-fields label:last-child{grid-column:1/-1}.receive-v2__bill-footer{align-items:stretch;gap:var(--space-2);flex-direction:column}.receive-v2__bill-footer .complete-button{width:100%}.receive-v2__locked-context{gap:var(--space-2);grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}.receive-v2__locked-context .receive-v2__locked-note{grid-column:1/-1}.receive-v2__locked-context>p{display:none}.receive-v2__workspace .receive-product-column{min-height:0;display:flex;overflow:visible}.receive-v2__workspace .receive-product-column>.workspace-grid{grid-template-columns:minmax(0,1fr);display:grid;overflow:visible}.receive-v2__workspace .results-panel,.receive-v2__workspace .checkout-panel{max-height:none;overflow:visible}.receive-v2__workspace .results-panel{border-right:0;border-bottom:1px solid var(--border-subtle);max-height:26rem;overflow:hidden}.receive-v2__workspace .results-panel .product-list{overflow-y:auto}.receive-v2__workspace .checkout-panel{min-height:20rem}.receive-v2__workspace .receipt-builder{min-height:22rem}.receive-v2 .new-product-panel.expanded,.receive-v2 .product-change-panel{border-radius:var(--radius-xl) var(--radius-xl) 0 0;width:100%;max-height:min(88svh,48rem);padding:var(--space-3);inset:auto 0 0;transform:none}.receive-v2__draft-modal{width:calc(100vw - 2*var(--space-2));max-height:calc(100svh - 2*var(--space-2))}.receive-v2__confirm{min-height:34rem}.receive-v2__confirm-header{align-items:flex-start}.receive-v2__confirm-header p:not(.eyebrow){display:none}.receive-v2__confirm-body{flex-direction:column;display:flex;overflow:visible}.receive-v2__confirm-lines{max-height:24rem;overflow-y:auto}.receive-v2__confirm-lines article{padding:var(--space-2);grid-template-columns:minmax(0,1fr) auto}.receive-v2__confirm-lines article>span{grid-column:1/-1}.receive-v2__confirm-summary{border-top:1px solid var(--border-subtle);border-left:0;overflow:visible}.receive-v2__cancel-modal-actions{flex-direction:column-reverse}.receive-v2__cancel-modal-actions button{width:100%}}.sale-workspace-page>.sale-alert{z-index:90;top:5rem;right:var(--space-5);width:min(28rem,100vw - 2*var(--space-4));box-shadow:var(--shadow-lg);margin:0;display:block;position:fixed}.sale-workspace-page .cart-heading-actions{align-items:center;gap:var(--space-3);min-width:0;display:flex}.sale-workspace-page .cancel-sale-action{min-height:2rem;color:var(--danger-700);font:inherit;text-underline-offset:.2rem;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;font-size:.75rem;font-weight:750;text-decoration:underline}.sale-line-editor .wholesale-price-editor{gap:var(--space-3);display:grid}.sale-line-editor .wholesale-price-editor .preset-row{grid-template-columns:repeat(3,minmax(0,1fr))}.negotiated-price-field{align-items:center;gap:var(--space-3);color:var(--text-secondary);grid-template-columns:minmax(0,1fr) minmax(10rem,13rem);font-size:.8125rem;font-weight:750;display:grid}.currency-input{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface-panel);align-items:center;min-width:0;display:flex}.currency-input:focus-within{border-color:var(--brand-500);box-shadow:var(--focus-ring)}.currency-input b{padding-left:var(--space-3);color:var(--text-primary);font-size:1rem}.currency-input input{width:100%;min-width:0;padding-left:var(--space-2);box-shadow:none;border:0;font-size:1rem;font-weight:750}.currency-input input:focus{box-shadow:none}.wholesale-price-note{color:var(--text-tertiary);margin:0;font-size:.75rem;line-height:1.45}@media (max-width:1024px){.sale-workspace-page>.sale-alert,.sale-workspace-page.cart-view-open>.sale-alert,.sale-workspace-page.checkout-view-open>.sale-alert{top:6.75rem;right:var(--space-3);left:var(--space-3);width:auto;max-width:none;display:block!important}}@media (max-width:720px){.modal-backdrop:has(.discount-modal-panel){padding:var(--space-2) var(--space-2) 0;place-items:end center}.modal-panel.discount-modal-panel{width:100%;height:auto;max-height:calc(100svh - var(--space-2));border:1px solid var(--border-subtle);border-radius:var(--radius-xl) var(--radius-xl) 0 0}.modal-panel.discount-modal-panel>.modal-heading{padding:var(--space-4)}.modal-panel.discount-modal-panel>.modal-body{max-height:calc(100svh - 6rem);padding:var(--space-4)}.modal-panel.discount-modal-panel .sale-line-editor{gap:var(--space-2)}.modal-panel.discount-modal-panel .sale-line-editor .preset-row{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr))}.modal-panel.discount-modal-panel .sale-line-editor .preset-row button{min-height:3rem;padding-inline:var(--space-2);font-size:.75rem}.modal-panel.discount-modal-panel .sale-line-editor .line-editor-actions{bottom:calc(-1*var(--space-4))}.modal-panel.discount-modal-panel .sale-line-editor .wholesale-price-editor .preset-row{grid-template-columns:1fr}.negotiated-price-field{gap:var(--space-2);grid-template-columns:1fr}}
