:root{--ink:#1d2926;--muted:#52615c;--paper:#f4f1e9;--surface:#fffdf8;--surface-strong:#ffffff;--line:#dedbd1;--brand:#17453f;--brand-soft:#dbe8e3;--accent:#b84d2a;--danger:#a93434;--danger-soft:#f8e4df;--success:#246548;--success-soft:#dff1e7;--shadow:0 18px 44px rgba(27,52,46,0.08)}*{box-sizing:border-box}html{color:var(--ink);font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body,html{background:var(--paper)}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}span.money-amount.money-amount{display:inline-flex;align-items:flex-end;color:inherit;font-size:inherit;font-weight:inherit;line-height:1;white-space:nowrap}.money-amount>span.money-number{color:inherit;font-size:1em;font-weight:inherit;line-height:1}.money-amount>span.money-unit{flex:0 0 auto;color:inherit;font-size:.5em;font-weight:inherit;line-height:1;transform:translateY(-.18em)}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(223,112,71,.45);outline-offset:2px}h1,h2,p{margin-top:0}h1{margin-bottom:.25rem;font-family:inherit;font-size:clamp(1.75rem,3.2vw,2.35rem);line-height:1.15;letter-spacing:-.03em}h2{margin-bottom:0;font-size:1.25rem}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:10;display:flex;width:250px;flex-direction:column;padding:28px 20px;color:#f7f3e9;background:var(--brand)}.brand{display:flex;min-height:44px;align-items:center;gap:12px}.brand span:last-child{display:grid;gap:2px}.brand strong{font-size:1.1rem}.brand small,.sidebar-user small{color:rgba(255,255,255,.67)}.brand-mark{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:14px;color:white;background:var(--accent);font-family:inherit;font-size:1.25rem;font-weight:700;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.brand-mark-large{width:58px;height:58px;flex-basis:58px;border-radius:18px;font-size:1.65rem}.desktop-nav{display:grid;gap:8px;margin-top:42px}.desktop-nav a{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;color:rgba(255,255,255,.82)}.mobile-navigation-alert-badge,.navigation-alert-badge{display:inline-grid;min-width:24px;height:24px;padding:0 6px;place-items:center;border-radius:999px;color:white;background:#c84534;font-size:.7rem;line-height:1;box-shadow:0 0 0 2px rgba(255,255,255,.13)}.desktop-nav a:hover{color:white;background:rgba(255,255,255,.1)}.sidebar-user{display:grid;gap:4px;margin-top:auto;padding:16px 12px 0;border-top:1px solid rgba(255,255,255,.13)}.text-button{padding:8px 0 0;border:0;color:#f4b29a;background:transparent;cursor:pointer}.table-action{display:inline-grid;min-height:36px;place-items:center;padding:0 12px;border:1px solid var(--brand);border-radius:9px;color:var(--brand);background:white;font-weight:700;cursor:pointer}.main-content{min-height:100vh;margin-left:250px;padding:32px clamp(24px,5vw,72px) 48px}.low-stock-global-notice{display:flex;max-width:1180px;min-height:64px;align-items:center;gap:12px;margin:0 auto 22px;padding:12px 16px;border:1px solid #e6afa5;border-radius:16px;color:#8f2f25;background:#fff1ed;box-shadow:0 9px 24px rgba(143,47,37,.08)}.low-stock-global-notice>span:nth-child(2){display:grid;gap:2px}.low-stock-global-notice small{color:#87564e}.low-stock-global-notice b{margin-left:auto;white-space:nowrap}.low-stock-global-icon{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border-radius:50%;color:white;background:#c84534;font-size:1.1rem;font-weight:900}.mobile-nav{display:none}.visually-hidden-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}.version-update-notice{position:sticky;top:16px;z-index:30;display:flex;max-width:1180px;align-items:center;justify-content:space-between;gap:16px;margin:0 auto 20px;padding:14px 16px;border:1px solid #d4a66f;border-radius:14px;background:#fff5df;box-shadow:var(--shadow)}.version-update-notice span{display:grid;gap:3px}.version-update-notice small{color:#5d4b35}.version-update-notice .secondary-button{flex:0 0 auto}.mfa-enrollment{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:24px}.mfa-qr{width:240px;height:240px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.mfa-secret{display:block;overflow-wrap:anywhere;padding:14px;border:1px dashed var(--brand);border-radius:12px;color:var(--brand);background:var(--brand-soft);font-size:1rem;font-weight:800;letter-spacing:.08em}.recovery-code-panel{border-color:#d4a66f;background:#fff5df}.recovery-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.recovery-code-grid code{padding:9px 12px;border-radius:9px;background:var(--surface-strong);font-weight:800;letter-spacing:.04em}.page-stack{display:grid;max-width:1180px;gap:16px;margin:0 auto}.narrow-page{max-width:820px}.page-header,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.header-actions{display:flex;gap:8px}.header-actions .primary-button,.header-actions .secondary-button{white-space:nowrap}.audit-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.table-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.statement-metadata{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.statement-metadata div{display:grid;gap:5px}.statement-metadata span{color:var(--muted);font-size:.78rem;font-weight:750}.metric-status{font-size:1.15rem!important}.negative-amount{color:var(--danger)}.print-signatures{display:none}@page replenishment-report{size:A4 landscape;margin:10mm}@media print{@page{size:A4 portrait;margin:14mm}body,html{background:#fff!important}.mobile-nav,.nextjs-portal,.no-print,.sidebar{display:none!important}.main-content{margin:0;padding:0}.print-document{max-width:none;gap:12px}.print-landscape{page:replenishment-report}.print-document .metric-card,.print-document .panel{page-break-inside:avoid;break-inside:avoid;border:1px solid #bbb;box-shadow:none}.print-document .table-scroll{overflow:visible}.print-document table{font-size:10pt}.print-document td,.print-document th{padding:7px}.print-landscape .table-panel{page-break-inside:auto;break-inside:auto}.print-landscape table{font-size:8pt}.print-landscape td,.print-landscape th{padding:5px}.print-landscape thead{display:table-header-group}.print-signatures{display:flex;justify-content:space-between;gap:20px;padding-top:16px;font-size:10pt}}.product-image-panel{display:grid;gap:18px}.product-image-preview{display:grid;min-height:220px;place-items:center;overflow:hidden;border:1px dashed var(--line);border-radius:16px;color:var(--muted);background:#f8f5ec}.product-image-preview img{width:100%;height:auto;max-height:420px;object-fit:contain}.product-catalog-filters{display:grid;grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(180px,1fr)) auto;gap:14px;align-items:end;padding:18px}.product-catalog-filters label{display:grid;gap:7px;font-size:.88rem;font-weight:750}.product-filter-actions{display:flex;gap:8px}.product-browse-filters{display:grid;gap:0;overflow:hidden;padding:0}.product-filter-stage{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line)}.product-category-stage{background:#fbfaf6}.product-name-stage{position:relative;background:#f5f8f5}.product-name-stage:before{position:absolute;top:0;bottom:0;left:0;width:3px;background:var(--brand);content:""}.product-filter-label{padding-top:9px;font-size:.88rem}.supplier-filter-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:6px}.supplier-filter-option{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"marker title" "marker count";align-items:center;column-gap:7px;min-height:44px;padding:5px 8px;border:1px solid hsl(var(--supplier-hue,160) 22% 83%);border-radius:13px;background:hsl(var(--supplier-hue,160) 32% 98%);transition:border-color .15s ease,background .15s ease,transform .15s ease}.supplier-filter-option:hover{transform:translateY(-1px);border-color:hsl(var(--supplier-hue,160) 42% 58%)}.supplier-filter-option.is-active{border-color:hsl(var(--supplier-hue,160) 48% 43%);background:hsl(var(--supplier-hue,160) 42% 91%);box-shadow:inset 0 0 0 1px hsl(var(--supplier-hue,160) 48% 43%)}.supplier-filter-option>strong{grid-area:title;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.supplier-filter-option>small{grid-area:count;color:var(--muted);font-size:.68rem}.supplier-filter-all,.supplier-filter-dot{grid-area:marker;align-self:stretch}.supplier-filter-dot{width:7px;border-radius:999px;background:hsl(var(--supplier-hue,160) 48% 50%)}.supplier-filter-all{display:grid;width:26px;height:26px;align-self:center;place-items:center;border-radius:9px;color:white;background:var(--brand);font-size:.75rem;font-weight:850}.category-filter-list{display:flex;flex-wrap:wrap;gap:7px}.category-filter-option{display:inline-flex;min-height:32px;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:white;font-size:.86rem;font-weight:750}.category-filter-option small{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;color:var(--muted);background:#f0eee7;font-size:.7rem}.category-filter-option.is-active,.category-filter-option:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.category-filter-option.is-active small{color:white;background:var(--brand)}.product-name-filter-list{display:flex;flex-wrap:wrap;gap:7px}.product-name-filter-option{display:inline-flex;min-height:36px;align-items:center;gap:8px;padding:6px 12px;border:1px solid #cfdbd4;border-radius:10px;color:var(--ink);background:rgba(255,255,255,.88);font-size:.84rem;font-weight:750}.product-name-filter-option small{color:var(--muted);font-size:.7rem;font-weight:650}.product-name-filter-option.is-active,.product-name-filter-option:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}.product-name-filter-option.is-active small{color:var(--brand)}.product-filter-placeholder{display:grid;min-height:34px;place-items:center;padding:12px 18px;border:1px dashed #d5d2c8;border-radius:12px;color:var(--muted);background:rgba(255,255,255,.65);text-align:center}.product-inline-search{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center;gap:10px;padding:10px 12px}.product-inline-search .primary-button,.product-inline-search .secondary-button,.product-inline-search input{min-height:42px}.product-catalog-summary{display:flex;align-items:baseline;justify-content:space-between;gap:16px;color:var(--muted)}.product-catalog-summary strong{color:var(--ink);font-size:1.05rem}.product-masonry{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px;align-items:stretch}.product-catalog-card{position:relative;display:block;width:100%;height:100%;overflow:hidden;border:1px solid hsl(var(--supplier-hue,160) 26% 82%);border-radius:18px;color:inherit;background:hsl(var(--supplier-hue,160) 38% 97%);box-shadow:0 8px 24px rgba(24,58,53,.07);transition:transform .16s ease,box-shadow .16s ease}.product-catalog-card:before{position:absolute;z-index:2;top:0;right:0;left:0;height:5px;background:hsl(var(--supplier-hue,160) 45% 52%);content:"";pointer-events:none}.product-catalog-card article{display:grid;grid-template-rows:auto minmax(0,1fr);height:100%}.product-catalog-card:hover{color:inherit;transform:translateY(-3px);box-shadow:0 16px 34px rgba(24,58,53,.13)}.product-catalog-card.is-discontinued{border-color:#d8c8bb;background:#f7f2ed}.product-catalog-card.is-discontinued:before{background:#a95834}.product-catalog-card.is-discontinued .product-card-media img,.product-catalog-card.is-discontinued .product-image-placeholder{filter:saturate(.42)}.product-card-media{position:relative;overflow:hidden;aspect-ratio:1/1;background:#ede9dd}.product-card-media img{object-fit:cover;transition:transform .22s ease}.product-catalog-card:hover .product-card-media img{transform:scale(1.025)}.product-image-placeholder{display:grid;height:100%;place-content:center;gap:8px;color:var(--muted);text-align:center;background:radial-gradient(circle at 20% 15%,hsl(var(--supplier-hue,160) 50% 52%/.2),transparent 36%),linear-gradient(145deg,hsl(var(--supplier-hue,160) 42% 96%),hsl(var(--supplier-hue,160) 32% 89%))}.product-image-placeholder span{color:var(--brand);font-family:inherit;font-size:clamp(2.4rem,6vw,4.5rem);font-weight:800}.product-image-placeholder small{font-size:.76rem}.product-status-badge{position:absolute;top:10px;right:10px;padding:5px 8px;border-radius:999px;color:white;background:rgba(157,70,34,.9);font-size:.72rem;font-weight:800}.product-card-body{display:flex;min-height:162px;flex-direction:column;gap:7px;padding:12px}.product-card-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.product-card-tags span{max-width:100%;overflow:hidden;padding:4px 7px;border-radius:999px;color:var(--brand);background:var(--brand-soft);font-size:.7rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.product-card-tags span:first-child{color:hsl(var(--supplier-hue,160) 48% 27%);background:hsl(var(--supplier-hue,160) 42% 88%)}.product-card-body h2{display:-webkit-box;min-height:2.9em;max-height:2.9em;overflow:hidden;margin:0;font-size:1rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.product-card-commercial{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:3px}.product-card-commercial strong{color:var(--accent);font-size:1.2rem}.product-card-commercial span{white-space:nowrap}.product-card-commercial span,.product-card-stock-line{color:var(--muted);font-size:.72rem}.low-stock-alert-panel{padding:0;overflow:hidden;border-color:#e6afa5;background:#fffaf8}.low-stock-alert-panel-focused{box-shadow:0 0 0 3px rgba(200,69,52,.12),var(--shadow)}.low-stock-alert-panel>.section-heading{padding:clamp(20px,4vw,30px);background:linear-gradient(135deg,#fff1ed,#fffaf8 72%)}.low-stock-quantity{color:var(--danger)}.import-instructions{display:grid;gap:16px}.import-instructions ol,.import-issues ul{display:grid;gap:8px;margin:0;padding-left:1.4rem;line-height:1.65}.import-instructions .secondary-button{justify-self:start}.product-excel-defaults{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:14px;border:1px solid #c8ddd7;border-radius:14px;background:#f3faf7}.product-excel-defaults .form-section{padding-top:0;border-top:0}.product-excel-defaults small{color:var(--muted);font-weight:500}.import-issues{padding:16px;border:1px solid #edc4ba;border-radius:14px;color:var(--danger);background:var(--danger-soft)}.import-issues strong{display:block;margin-bottom:10px}.sales-excel-reader{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(280px,1.3fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid #c8ddd7;border-radius:14px;background:#f3faf7}.sales-excel-reader-copy{display:grid;gap:3px}.sales-excel-reader-copy small{color:var(--muted);font-size:.78rem;font-weight:500;line-height:1.35}.sales-excel-reader input[type=file]{min-height:42px;padding:7px 9px;font-size:.82rem}.sales-excel-reader input[type=file]::file-selector-button{margin-right:10px;padding:7px 10px;border:0;border-radius:8px;color:var(--brand);background:var(--brand-soft);font:inherit;font-weight:750;cursor:pointer}.sales-excel-summary{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;border:1px solid #bcd8d1;border-radius:12px;color:var(--brand);background:#edf8f4;font-size:.86rem}.sales-excel-issues{padding:14px;border:1px solid #edc4ba;border-radius:12px;color:var(--danger);background:var(--danger-soft);font-size:.84rem}.sales-excel-issues ul{display:grid;gap:5px;margin:8px 0 0;padding-left:1.25rem}.sales-excel-issues small{display:block;margin-top:8px}.confirmation-row{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:16px;border:1px solid var(--line);border-radius:14px;line-height:1.55}.confirmation-row input{width:22px;min-height:22px;margin-top:1px;accent-color:var(--brand)}.sku-search-field{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-strong)}.sku-search-field>label{display:grid;gap:8px}.page-header .muted{margin-bottom:0}.compact-heading .eyebrow,.compact-heading>div>.muted,.compact-page-header>div:first-child>.muted{display:none}.eyebrow{margin-bottom:5px;color:var(--accent);font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.muted{color:var(--muted)}.metric-card,.panel{border:1px solid rgba(91,105,99,.15);border-radius:16px;background:rgba(255,253,248,.92);box-shadow:var(--shadow)}.panel{padding:20px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-metric-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.sales-visualization{display:grid;gap:16px}.sales-visualization-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:4px 2px 0}.sales-visualization-heading h2{margin:0;font-size:1.35rem}.sales-visualization-heading p:not(.eyebrow){margin:5px 0 0;color:var(--muted);font-size:.82rem}.sales-visualization-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sales-visualization-metrics .metric-card{min-height:126px;border-color:var(--sales-metric-border,rgba(91,105,99,.15));background:radial-gradient(circle at 92% 14%,var(--sales-metric-glow,rgba(23,102,90,.1)),transparent 35%),rgba(255,253,248,.94)}.sales-visualization-metrics .metric-card strong{color:var(--sales-metric-color,var(--brand));font-size:clamp(1.65rem,2.8vw,2.15rem)}.sales-visualization-metrics .metric-card small{color:var(--muted)}.sales-metric-quantity{--sales-metric-color:#3f7095;--sales-metric-border:#cbdce8;--sales-metric-glow:rgba(63,112,149,0.12)}.sales-metric-store{--sales-metric-color:#a6522a;--sales-metric-border:#ead0bd;--sales-metric-glow:rgba(183,91,45,0.12)}.sales-metric-product{--sales-metric-color:#71538f;--sales-metric-border:#dbd0e7;--sales-metric-glow:rgba(113,83,143,0.12)}.sales-metric-product strong{font-size:clamp(1.3rem,2.2vw,1.7rem)!important}.sales-ranking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sales-ranking-card{min-height:310px}.sales-store-ranking-list{display:grid;gap:10px}.sales-store-ranking-row{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.5)}.sales-store-ranking-row[open]{border-color:#bfd3df;box-shadow:0 8px 20px rgba(63,112,149,.08)}.sales-store-ranking-row>summary{display:grid;gap:8px;padding:12px 14px;list-style:none;cursor:pointer}.sales-store-ranking-row>summary::-webkit-details-marker{display:none}.sales-store-ranking-summary{display:grid;grid-template-columns:24px minmax(0,1fr) auto 14px;align-items:center;gap:8px}.sales-store-ranking-summary>strong{overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.sales-store-ranking-summary>span:nth-child(3){color:#3f7095;font-size:.74rem;font-weight:850;white-space:nowrap}.sales-store-ranking-summary small{margin-left:6px;color:var(--muted)}.sales-ranking-chevron{width:8px;height:8px;border-right:2px solid #6d7c77;border-bottom:2px solid #6d7c77;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}.sales-store-ranking-row[open] .sales-ranking-chevron{transform:rotate(225deg) translate(-2px,-1px)}.sales-store-product-ranking{display:grid;gap:10px;padding:13px 14px 15px 46px;border-top:1px solid var(--line);background:#f5f8f7}.sales-store-product-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.7rem}.sales-store-product-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;align-items:center;gap:8px;font-size:.7rem}.sales-store-product-row>span:first-child{color:var(--muted);font-weight:800}.sales-store-product-row>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-store-product-row>span:nth-child(3){color:var(--muted);white-space:nowrap}.sales-store-product-row>b{color:#3f7095;white-space:nowrap}.sales-store-product-row .dashboard-ranking-track{grid-column:2/-1;height:5px}.sales-store-product-row .dashboard-ranking-track i{background:linear-gradient(90deg,#3f7095,#8cb6d1)}.sales-store-product-more{color:var(--muted);text-align:right}.metric-card{display:grid;min-height:132px;padding:18px}.metric-card span{color:var(--muted);font-weight:650}.metric-card strong{align-self:center;font-family:inherit;font-size:2.15rem}.dashboard-metric-grid .metric-card strong{font-size:clamp(2rem,4vw,2.5rem)}.metric-card a{align-self:end;color:var(--brand);font-weight:700}.task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.task-list a{display:flex;min-height:76px;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-strong)}.task-list a:hover{border-color:var(--brand);transform:translateY(-1px)}.task-list>a>span{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:50%;color:var(--brand);background:var(--brand-soft);font-size:.78rem;font-weight:800}.task-list div{display:grid;gap:5px}.form-section small,.task-list small,label small,td small{color:var(--muted)}td small,td strong{display:block}.primary-button,.secondary-button{display:inline-grid;min-height:42px;place-items:center;padding:0 15px;border-radius:10px;font-weight:750;cursor:pointer}.primary-button{border:1px solid var(--brand);color:white;background:var(--brand);box-shadow:0 9px 20px rgba(23,69,63,.15)}.primary-button:hover{background:#0f3732}.secondary-button{border:1px solid var(--line);color:var(--ink);background:var(--surface-strong)}.alert{padding:13px 16px;border-radius:13px;font-weight:650}.alert-error{border:1px solid #edc4ba;color:var(--danger);background:var(--danger-soft)}.alert-success{border:1px solid #badac8;color:var(--success);background:var(--success-soft)}.table-panel{padding:0;overflow:hidden}.table-panel>.section-heading{padding:18px 20px}.report-scope{display:grid;gap:6px}.panel-note,.report-scope span{color:var(--muted)}.panel-note{margin:0;padding:14px 22px;border-top:1px solid var(--line)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:13px 18px;border-bottom:1px solid var(--line);vertical-align:middle;white-space:nowrap}th{color:var(--muted);background:#f8f5ed;font-size:.78rem;letter-spacing:.04em}.inventory-table-filter-group{display:grid;min-width:300px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.inventory-table-filter-select{min-height:36px;padding:0 30px 0 10px;border-color:#d8d6cd;border-radius:9px;color:var(--ink);background-color:#fff;font-size:.74rem;font-weight:750;letter-spacing:0}.inventory-location-filter{min-width:160px}thead tr[aria-busy=true] .inventory-table-filter-select{opacity:.68}.inventory-table-empty-cell{padding:0;white-space:normal}.inventory-sku-row>td{background:var(--supplier-surface)}.inventory-sku-row>td:first-child{border-left:4px solid var(--supplier-accent);padding-left:14px}.inventory-sku-row>td:last-child strong{color:var(--supplier-accent)}.inventory-stock-quantity{display:grid;gap:3px}.inventory-stock-quantity small{color:var(--muted);font-size:.7rem;font-weight:700}tbody tr:last-child td{border-bottom:0}tbody td:first-child{display:table-cell}tbody td:first-child>*+*{margin-top:4px}.supplier-management-table{min-width:900px;table-layout:fixed}.supplier-management-table .supplier-column-name{width:22%}.supplier-management-table .supplier-column-products{width:14%}.supplier-management-table .supplier-column-contact{width:12%}.supplier-management-table .supplier-column-phone{width:14%}.supplier-management-table .supplier-column-status{width:10%}.supplier-management-table .supplier-column-actions{width:28%}.supplier-management-table tbody tr{height:64px}.supplier-management-table .supplier-name-link{display:block;overflow:hidden;text-overflow:ellipsis}.supplier-management-table .table-actions{flex-wrap:nowrap}.supplier-management-table .table-action{min-width:88px}tfoot td{background:#f8f5ed}tfoot td:first-child,tfoot td:last-child{text-align:right}.tag{display:inline-block;padding:5px 9px;border-radius:999px;color:var(--brand);background:var(--brand-soft);font-size:.8rem;font-weight:700}.empty-state{display:grid;min-height:200px;place-content:center;justify-items:center;padding:24px;text-align:center}.empty-state strong{font-size:1.2rem}.empty-state p{margin:8px 0 18px;color:var(--muted)}.empty-state a{color:var(--brand);font-weight:750}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}.record-page{gap:12px}.record-page-header{min-height:auto;align-items:flex-end;padding:2px 2px 0}.record-page-header h1{font-size:clamp(1.65rem,2.7vw,2rem)}.record-page-header .muted{margin-top:4px;font-size:.86rem;line-height:1.4}.record-form{gap:14px 16px;padding:20px}.record-form label{align-self:start;gap:6px}.record-form input,.record-form select{height:44px;min-height:44px}.record-form small{color:var(--muted);font-size:.72rem;line-height:1.35}.record-form .form-actions{margin-top:2px;padding-top:14px;border-top:1px solid var(--line)}.dashboard-filter-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end}.inventory-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.dashboard-filter-form .form-actions,.inventory-filter-form .form-actions{grid-column:auto;padding-top:0}.dashboard-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:6px 2px 0}.dashboard-card-heading h2,.dashboard-section-heading h2{margin:0;font-size:clamp(1.15rem,2vw,1.4rem)}.dashboard-card-heading p:not(.eyebrow),.dashboard-section-heading p:not(.eyebrow){margin:6px 0 0;color:var(--muted);font-size:.8rem;line-height:1.5}.dashboard-sales-heading{padding-top:10px}.dashboard-operations-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-operation-metric{--operation-accent:#17665a;--operation-border:#c7ddd6;--operation-soft:#edf7f3;display:grid;min-width:0;min-height:154px;gap:12px;padding:17px;border:1px solid var(--operation-border);border-radius:16px;color:var(--ink);background:linear-gradient(150deg,#fffefb 16%,var(--operation-soft));box-shadow:var(--shadow)}a.dashboard-operation-metric:hover{border-color:var(--operation-accent);transform:translateY(-2px)}.dashboard-operation-outbound{--operation-accent:#b75b2d;--operation-border:#ead0bd;--operation-soft:#fff3e9}.dashboard-operation-stock{--operation-accent:#3f7095;--operation-border:#cbdce8;--operation-soft:#f0f7fb}.dashboard-operation-value{--operation-accent:#75518a;--operation-border:#ddcfe6;--operation-soft:#f8f2fb}.dashboard-operation-warning{--operation-accent:#a15d1e;--operation-border:#ead8b8;--operation-soft:#fff8e9}.dashboard-operation-metric-heading{display:flex;align-items:center;gap:8px;color:var(--operation-accent)}.dashboard-operation-metric-heading>span{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:9px;color:white;background:var(--operation-accent);font-size:.7rem;font-weight:850}.dashboard-operation-metric-heading>strong{overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-operation-metric>b{overflow:hidden;align-self:end;color:var(--operation-accent);font-family:inherit;font-size:clamp(1.75rem,3vw,2.3rem);line-height:1;text-overflow:ellipsis;white-space:nowrap}.dashboard-operation-inbound>b,.dashboard-operation-outbound>b{font-size:clamp(1.55rem,2.15vw,1.8rem)}.dashboard-operation-value>b{font-size:clamp(1.4rem,2.2vw,1.9rem)}.dashboard-operation-metric>small{overflow:hidden;color:var(--muted);font-size:.7rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.dashboard-operations-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:14px;align-items:stretch}.dashboard-flow-panel,.dashboard-ranking-card,.dashboard-sales-summary,.dashboard-supplier-panel{display:grid;min-width:0;gap:16px}.dashboard-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.dashboard-card-heading>span{flex:0 0 auto;padding:6px 9px;border-radius:999px;color:var(--brand);background:var(--brand-soft);font-size:.7rem;font-weight:800}.dashboard-flow-filters{display:flex;justify-content:flex-end;gap:6px}.dashboard-flow-filter{display:inline-flex;min-height:30px;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--surface-strong);font-size:.68rem;font-weight:750;cursor:pointer}.dashboard-flow-filter.is-active,.dashboard-flow-filter:hover{border-color:rgba(23,102,90,.45);color:var(--brand);background:var(--brand-soft)}.dashboard-flow-filter i{width:9px;height:9px;flex:0 0 9px;border-radius:3px}.dashboard-flow-scroll{overflow-x:auto;padding:4px 2px 1px}.dashboard-flow-chart{display:grid;min-width:460px;height:240px;grid-template-columns:repeat(12,minmax(30px,1fr));gap:4px;align-items:end}.dashboard-flow-month{display:grid;height:100%;grid-template-rows:minmax(0,1fr) 26px;gap:6px;align-items:end;text-align:center}.dashboard-flow-bars{display:flex;height:100%;align-items:flex-end;justify-content:center;gap:4px;border-bottom:1px solid var(--line)}.dashboard-flow-series{display:flex;width:min(26px,44%);height:100%;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px}.dashboard-flow-bars.is-single .dashboard-flow-series{width:min(20px,52%)}.dashboard-flow-series>span{flex:0 0 auto;font-size:.56rem;line-height:1;white-space:nowrap}.flow-inbound-series>span{color:#17665a}.flow-outbound-series>span{color:#b75b2d}.dashboard-flow-series>i{width:min(16px,100%);min-height:0;flex:0 0 auto;border-radius:5px 5px 2px 2px;transition:height .18s ease}.flow-inbound{background:linear-gradient(180deg,#70ad9d,#17665a)}.flow-outbound{background:linear-gradient(180deg,#e2a071,#b75b2d)}.dashboard-flow-month>strong{color:var(--muted);font-size:.66rem;white-space:nowrap}.dashboard-ranking-list{display:grid;gap:13px}.dashboard-ranking-row{display:grid;gap:7px}.dashboard-ranking-row>div:first-child{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:baseline;gap:8px}.dashboard-rank-number{color:var(--muted);font-size:.68rem;font-weight:850}.dashboard-ranking-row strong{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-ranking-row>div:first-child>span:last-child{color:#a6522a;font-size:.72rem;font-weight:850;white-space:nowrap}.dashboard-ranking-row small{margin-left:4px;color:var(--muted);font-weight:650}.dashboard-ranking-track,.dashboard-supplier-track{height:8px;overflow:hidden;border-radius:999px;background:#e9ece8}.dashboard-ranking-track i,.dashboard-supplier-track i{display:block;height:100%;border-radius:inherit}.dashboard-ranking-category .dashboard-ranking-track i{background:linear-gradient(90deg,#bd6336,#e2a372)}.dashboard-ranking-store .dashboard-ranking-track i{background:linear-gradient(90deg,#3f7095,#8cb6d1)}.dashboard-ranking-store .dashboard-ranking-row>div:first-child>span:last-child{color:#3f7095}.sales-rank-tone-0{--sales-rank-color:#267f6c;--sales-rank-light:#79b6a4;--sales-rank-soft:#edf7f3}.sales-rank-tone-1{--sales-rank-color:#c46536;--sales-rank-light:#e2a071;--sales-rank-soft:#fff3e9}.sales-rank-tone-2{--sales-rank-color:#3477a5;--sales-rank-light:#8cb6d1;--sales-rank-soft:#eef6fb}.sales-rank-tone-3{--sales-rank-color:#8155a0;--sales-rank-light:#b69bcc;--sales-rank-soft:#f6f0fa}.sales-rank-tone-4{--sales-rank-color:#b18422;--sales-rank-light:#dbc06e;--sales-rank-soft:#fbf7e8}.sales-rank-tone-5{--sales-rank-color:#b95454;--sales-rank-light:#d98f8f;--sales-rank-soft:#fcf0f0}.sales-rank-tone-6{--sales-rank-color:#238585;--sales-rank-light:#78baba;--sales-rank-soft:#edf7f7}.sales-rank-tone-7{--sales-rank-color:#b85f83;--sales-rank-light:#d99ab4;--sales-rank-soft:#fbf0f4}.sales-rank-tone-8{--sales-rank-color:#596fb0;--sales-rank-light:#99a8d4;--sales-rank-soft:#f0f2fa}.sales-rank-tone-9{--sales-rank-color:#6f8738;--sales-rank-light:#a9bb7e;--sales-rank-soft:#f3f6eb}.sales-rank-tone-10{--sales-rank-color:#96603d;--sales-rank-light:#c3987c;--sales-rank-soft:#f8f1ed}.sales-rank-tone-11{--sales-rank-color:#3e8fa6;--sales-rank-light:#8bc0ce;--sales-rank-soft:#eef7f9}.sales-ranking-card .sales-store-ranking-row{border-left:4px solid var(--sales-rank-color);background:linear-gradient(110deg,var(--sales-rank-soft),#fff 62%)}.sales-ranking-card .sales-store-ranking-row[open]{border-color:var(--sales-rank-light);border-left-color:var(--sales-rank-color)}.sales-ranking-card .sales-ranking-colored-row>div:first-child>span:last-child,.sales-ranking-card .sales-store-product-row>b,.sales-ranking-card .sales-store-ranking-summary>span:nth-child(3){color:var(--sales-rank-color)}.sales-ranking-card .sales-rank-tone-0 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-1 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-10 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-11 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-2 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-3 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-4 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-5 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-6 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-7 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-8 .dashboard-ranking-track i,.sales-ranking-card .sales-rank-tone-9 .dashboard-ranking-track i{background:linear-gradient(90deg,var(--sales-rank-color),var(--sales-rank-light))}.sales-ranking-colored-row{padding:9px 10px;border-left:4px solid var(--sales-rank-color);border-radius:10px;background:var(--sales-rank-soft)}.sales-store-product-row{padding:6px 8px;border-left:3px solid var(--sales-rank-color);border-radius:8px;background:var(--sales-rank-soft)}.dashboard-chart-empty{display:grid;min-height:170px;place-items:center;color:var(--muted);font-size:.82rem}.dashboard-supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.dashboard-supplier-card{display:grid;min-width:0;gap:11px;padding:15px;border:1px solid var(--supplier-border);border-radius:14px;background:linear-gradient(145deg,#fffefd 12%,var(--supplier-surface))}.dashboard-supplier-card>footer,.dashboard-supplier-card>header,.dashboard-supplier-remaining{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.dashboard-supplier-card>header strong{overflow:hidden;font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.dashboard-supplier-card>header span,.dashboard-supplier-remaining b{flex:0 0 auto;color:var(--supplier-accent);font-weight:850}.dashboard-supplier-card>footer,.dashboard-supplier-remaining span{color:var(--muted);font-size:.68rem}.dashboard-supplier-remaining b{font-family:inherit;font-size:1.55rem}.dashboard-supplier-track i{background:linear-gradient(90deg,var(--supplier-accent),var(--supplier-accent-end))}.dashboard-sales-summary dl,.dashboard-store-sales-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-sales-summary dl{display:grid;gap:10px;margin:0}.dashboard-sales-summary dl>div{display:grid;gap:7px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#faf9f5}.dashboard-sales-summary dt{color:var(--muted);font-size:.7rem}.dashboard-sales-summary dd{margin:0;color:var(--brand);font-family:inherit;font-size:1.25rem;font-weight:850}.form-grid label,.form-stack label{display:grid;gap:8px;color:#36433f;font-weight:700}input,select,textarea{width:100%;border:1px solid #cfcfc6;border-radius:11px;color:var(--ink);background:white}input,select{min-height:44px;padding:0 13px}textarea{min-height:84px;padding:12px 13px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--brand)}.full-field{grid-column:1/-1}.form-section{display:flex;align-items:baseline;gap:12px;padding-top:10px;border-top:1px solid var(--line)}.form-section:first-child{padding-top:0;border-top:0}.form-section span{font-size:1.05rem;font-weight:800}.form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.product-detail-page{max-width:980px}.product-detail-header>div:first-child{min-width:0}.product-detail-header .header-actions{flex:0 0 auto}.product-settings-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}.product-settings-form .form-section{padding-bottom:2px}.product-settings-form label{grid-template-rows:auto 46px;align-self:start}.product-settings-form input,.product-settings-form select{height:46px}.product-settings-form .form-actions{padding-top:2px}.product-create-page{max-width:900px}.product-create-form{display:grid;gap:0;overflow:hidden;padding:0}.product-form-section{display:grid;gap:20px;padding:28px 32px}.product-form-section+.product-form-section{border-top:1px solid var(--line)}.product-form-heading{display:flex;align-items:baseline;gap:12px}.product-form-heading h2,.product-form-heading p{margin:0}.product-form-heading h2{flex:0 0 auto;font-size:1.05rem}.product-form-heading p{color:var(--muted);font-size:.88rem;line-height:1.5}.product-form-fields{display:grid;align-items:start;gap:20px 24px}.product-form-fields-two{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form-fields-three{grid-template-columns:repeat(3,minmax(0,1fr))}.product-form-fields-four{grid-template-columns:repeat(4,minmax(0,1fr))}.product-form-fields>.product-suggestion-field,.product-form-fields>label{display:grid;grid-template-rows:auto minmax(48px,auto) minmax(2.8em,auto);align-content:start;gap:8px;color:#36433f;font-weight:700}.product-form-fields>.product-suggestion-field>small,.product-form-fields>label>small{align-self:start;color:var(--muted);line-height:1.4}.product-suggestion-field>label{color:#36433f;font-weight:700}.suggestion-input-control{position:relative}.suggestion-popover{position:absolute;z-index:40;top:calc(100% + 7px);right:0;left:0;overflow:hidden;border:1px solid #cfcfc6;border-radius:12px;background:white;box-shadow:0 16px 36px rgba(31,48,43,.18)}.suggestion-popover-title{padding:9px 12px 7px;color:var(--muted);background:var(--surface-strong);font-size:.72rem;font-weight:750}.suggestion-popover ul{max-height:240px;overflow-y:auto;margin:0;padding:5px;list-style:none}.suggestion-popover li{margin:0}.suggestion-popover button{width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:8px;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.suggestion-popover button.is-active,.suggestion-popover button:hover{color:var(--brand);background:var(--brand-soft)}.suggestion-popover p{margin:0;padding:14px 12px;color:var(--muted);font-size:.82rem}.product-create-actions{padding:22px 32px;border-top:1px solid var(--line);background:rgba(246,244,237,.6)}.line-editor{display:grid;gap:16px;padding-top:20px;border-top:1px solid var(--line)}.line-editor-heading,.line-row,.scan-add-row{display:flex;align-items:flex-end;gap:12px}.line-editor-heading{align-items:center;justify-content:space-between}.line-editor-heading>div{display:grid;gap:4px}.line-editor-heading>span,.line-number{color:var(--brand);font-size:.82rem;font-weight:800}.scan-add-row label{display:grid;flex:1 1;gap:8px}.scan-add-row .secondary-button{border:1px solid var(--line)}.inline-status{min-height:1.3em;margin:-7px 0 0;color:var(--muted);font-size:.86rem}.stock-count-draft-boundary{display:contents}.stock-count-draft-status{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:12px}.count-scanner{display:grid;gap:14px}.camera-scanner{position:relative;display:grid;gap:10px;max-width:560px;padding:10px;border:1px solid var(--line);border-radius:16px;background:#17211e}.camera-scanner[hidden]{display:none}.camera-scanner video{width:100%;max-height:360px;border-radius:10px;object-fit:cover}.camera-scan-guide{position:absolute;top:28%;right:13%;left:13%;height:35%;border:3px solid rgba(255,255,255,.9);border-radius:12px;box-shadow:0 0 0 999px rgba(0,0,0,.18);pointer-events:none}.unexpected-count-match{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--brand);border-radius:14px;background:var(--brand-soft)}.unexpected-count-match small,.unexpected-count-match span{display:grid;gap:4px}.unexpected-label{color:var(--brand);font-weight:800}.inspection-line{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(100px,.55fr));gap:12px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-strong)}.inspection-line label,.inspection-line>div{display:grid;gap:6px}.inspection-history-heading{padding:20px 22px}.count-table tr{scroll-margin-top:24px}.line-list{display:grid;gap:14px}.line-row{flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-strong)}.line-row label:first-of-type{flex:1 1 44%}.line-row label:nth-of-type(2),.line-row label:nth-of-type(3){flex:1 1 20%}.line-row label:nth-of-type(4){flex:1 1 100%}.line-row.classified-line .line-category-field,.line-row.classified-line .line-supplier-field{flex:1 1 25%}.line-row.classified-line .line-sku-field{flex:1 1 42%}.line-row.classified-line .line-price-field,.line-row.classified-line .line-quantity-field{flex:1 1 20%}.line-row.classified-line .line-notes-field{flex:1 1 48%}.line-row.editable-line{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:13px 16px;align-items:start;padding:14px 16px 16px;border:1px solid #cbd8d3;border-radius:14px;background:#f9fcfa;box-shadow:inset 4px 0 0 var(--brand),0 5px 14px rgba(27,52,46,.06)}.line-row.editable-line:nth-child(2n){border-color:#dfd2c5;background:#fffaf4;box-shadow:inset 4px 0 0 #bd663d,0 5px 14px rgba(74,48,34,.05)}.line-item-heading{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;min-height:34px;padding-bottom:9px;border-bottom:1px solid rgba(91,105,99,.16)}.line-item-heading strong{display:inline-grid;min-height:28px;place-items:center;padding:0 10px;border-radius:999px;color:var(--brand);background:var(--brand-soft);font-size:.86rem}.line-row.editable-line:nth-child(2n) .line-item-heading strong{color:#914723;background:#f7e5d8}.inventory-batch-field,.line-row.editable-line label{gap:6px;font-size:.9rem}.inventory-batch-field{display:grid;font-weight:700}.line-row.editable-line input,.line-row.editable-line select{min-height:44px;border-radius:9px}.line-row.editable-line.classified-line .line-supplier-field{grid-column:1/4}.line-row.editable-line.classified-line .line-category-field{grid-column:4/7}.line-row.editable-line.classified-line .line-sku-field{grid-column:7/13}.line-row.editable-line.classified-line .line-quantity-field{grid-column:1/3}.line-row.editable-line.classified-line .line-price-field{grid-column:3/5}.line-row.editable-line.classified-line .line-retail-price-field{grid-column:5/7}.line-row.editable-line.classified-line .line-notes-field{grid-column:5/13}.line-row.editable-line.classified-line.has-retail-price .line-notes-field{grid-column:7/13}.line-row.editable-line.classified-line:not(.has-price) .line-quantity-field{grid-column:1/4}.line-row.editable-line.classified-line:not(.has-price) .line-notes-field{grid-column:4/13}.line-row.editable-line.classified-line.has-packaging .line-package-field{grid-column:1/3}.line-row.editable-line.classified-line.has-packaging .line-case-pack-field{grid-column:3/5}.line-row.editable-line.classified-line.has-packaging .line-quantity-field{grid-column:5/7}.line-row.editable-line.classified-line.has-packaging .line-price-field{grid-column:7/9}.line-row.editable-line.classified-line.has-packaging .line-notes-field,.line-row.editable-line.classified-line.has-packaging.has-batch .line-batch-field{grid-column:9/13}.line-row.editable-line.classified-line.has-packaging.has-batch .line-notes-field{grid-column:1/13}.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode) .line-quantity-field{grid-column:3/5}.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode) .line-price-field{grid-column:5/7}.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode) .line-retail-price-field{grid-column:7/9}.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode).has-batch .line-batch-field{grid-column:9/13}.line-row.editable-line.classified-line.has-packaging.has-retail-price.is-case-mode .line-retail-price-field{grid-column:9/11}.line-row.editable-line.classified-line.has-packaging.has-retail-price.is-case-mode.has-batch .line-batch-field{grid-column:11/13}.line-retail-price-field input[readonly]{border-color:#cad5cf;color:var(--brand);background:#eef3f0;font-weight:800;cursor:default}.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-package-field{grid-column:1/4}.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-case-pack-field{grid-column:4/7}.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-quantity-field{grid-column:7/9}.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-notes-field{grid-column:9/13}.package-conversion-hint{color:var(--brand);font-weight:700}.line-row.editable-line:not(.classified-line) .line-sku-field{grid-column:1/7}.line-row.editable-line:not(.classified-line) .line-quantity-field{grid-column:7/10}.line-row.editable-line:not(.classified-line) .line-price-field{grid-column:10/13}.quantity-slider-field{position:relative;display:grid;gap:6px;font-size:.9rem;font-weight:700}.quantity-slider-field>label{display:block}.quantity-slider-popover{position:absolute;z-index:12;top:calc(100% + 8px);right:0;left:0;display:grid;min-width:250px;gap:8px;padding:12px 14px 10px;border:1px solid #b8cec6;border-radius:12px;background:#fffefa;box-shadow:0 14px 34px rgba(27,52,46,.18)}.quantity-slider-heading,.quantity-slider-scale{display:flex;align-items:center;justify-content:space-between;gap:10px}.quantity-slider-heading span{color:var(--muted);font-size:.78rem}.quantity-slider-heading strong{color:var(--brand);font-size:1.05rem}.line-row.editable-line .quantity-slider-popover input[type=range]{width:100%;min-height:24px;padding:0;border:0;border-radius:0;accent-color:var(--brand);background:transparent;cursor:grab}.line-row.editable-line .quantity-slider-popover input[type=range]:active{cursor:grabbing}.quantity-slider-scale{color:var(--muted);font-size:.7rem;font-weight:650}.line-row.editable-line:not(.classified-line) .line-notes-field{grid-column:1/-1}.line-row.editable-line:not(.classified-line):not(.has-price) .line-sku-field{grid-column:1/9}.line-row.editable-line:not(.classified-line):not(.has-price) .line-quantity-field{grid-column:9/13}.line-number{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;align-self:center;border-radius:50%;background:var(--brand-soft)}.line-remove{min-height:44px;padding:0 10px;border:0;color:var(--danger);background:transparent;cursor:pointer}.line-remove:disabled{cursor:not-allowed;opacity:.4}.line-item-heading .line-remove{min-height:30px;padding:0 9px;border:1px solid #ebc8be;border-radius:8px;background:#fff7f4;font-size:.84rem}.add-line-button{justify-self:start}.inline-request-form{display:grid;min-width:250px;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}.inline-request-form label{display:grid;gap:4px;font-size:.75rem}.inline-action-form select,.inline-request-form input{min-height:38px}.inline-action-form{display:flex;align-items:center;gap:8px}.inline-action-form select{min-width:130px}.decision-actions,.decision-form{display:flex;align-items:center;gap:8px}.decision-actions{align-items:stretch;flex-direction:column}.decision-form input{min-width:130px;min-height:38px}.inline-details summary{color:var(--brand);cursor:pointer;font-weight:700}.overage-fields{padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle)}.overage-fields summary{color:var(--brand);cursor:pointer;font-weight:700}.overage-fields[open] summary{margin-bottom:16px}.discrepancy-fields{padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-subtle)}.damage-cancel-form{margin-top:8px;flex-wrap:wrap}.review-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.review-reason,.review-summary>div{display:grid;gap:4px}.review-line{grid-template-columns:auto minmax(0,1fr) auto}.damage-review-form{display:grid;gap:16px}.damage-review-form fieldset{display:grid;gap:10px;margin:0;padding:0;border:0}.damage-review-form legend{margin-bottom:8px;font-weight:700}.radio-field{display:grid!important;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:12px;border:1px solid var(--border);border-radius:12px}.radio-field input{width:20px;min-height:20px;accent-color:var(--brand)}.radio-field span{display:grid;gap:2px}.checkbox-field{display:flex!important;align-items:center;align-self:end;min-height:48px;grid-template-columns:auto 1fr}.checkbox-field input{width:20px;min-height:20px;accent-color:var(--brand)}.primary-button:disabled{cursor:not-allowed;opacity:.5}.simple-list{display:grid;gap:10px;margin-top:20px}.simple-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center;min-height:52px;padding:10px 0;border-bottom:1px solid var(--line)}.simple-list>div:last-child{border-bottom:0}.simple-list span{color:var(--success);font-weight:700}.simple-list time{color:var(--muted);font-size:.86rem}.inventory-documents-section{display:grid;gap:12px}.inventory-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-document-card{position:relative;display:grid;min-height:176px;align-content:start;gap:14px;overflow:hidden;padding:20px;border:1px solid rgba(35,73,66,.13);border-radius:16px;box-shadow:0 18px 46px rgba(35,52,47,.08)}.inventory-document-card:has(.inventory-document-create){padding-right:142px}.inventory-document-card:after{position:absolute;right:-38px;bottom:-52px;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.42);content:"";pointer-events:none}.inventory-inbound-card{background:linear-gradient(145deg,#f3fbf6,#e6f4ec)}.inventory-outbound-card{background:linear-gradient(145deg,#fff9f0,#f7eadc)}.inventory-document-card-heading{display:flex;align-items:center;gap:12px}.inventory-document-card-heading>div{display:grid;gap:3px}.inventory-document-icon{display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:13px;color:white;background:var(--brand);box-shadow:0 10px 24px rgba(20,79,68,.18);font-size:1.35rem;font-weight:800}.inventory-outbound-card .inventory-document-icon{background:#b96236;box-shadow:0 10px 24px rgba(159,78,38,.18)}.inventory-document-create{position:absolute;z-index:2;top:50%;right:36px;display:grid;width:82px;height:82px;place-items:center;transform:translateY(-50%);border:2px solid rgba(20,79,68,.35);border-radius:50%;color:var(--brand);background:rgba(255,255,255,.42);font-size:1.45rem;font-weight:850;text-decoration:none;transition:transform .16s ease,color .16s ease,background .16s ease,box-shadow .16s ease}.inventory-document-create:focus-visible,.inventory-document-create:hover{transform:translateY(-50%) scale(1.05);color:white;background:var(--brand);box-shadow:0 12px 28px rgba(20,79,68,.2)}.inventory-outbound-card .inventory-document-create{border-color:rgba(185,98,54,.38);color:#a6532e}.inventory-outbound-card .inventory-document-create:focus-visible,.inventory-outbound-card .inventory-document-create:hover{color:white;background:#b96236;box-shadow:0 12px 28px rgba(159,78,38,.2)}.inventory-document-kicker{color:var(--brand);font-size:.78rem;font-weight:800;letter-spacing:.08em}.inventory-outbound-card .inventory-document-kicker{color:#9d4f2c}.inventory-document-card h3{margin:0;font-size:1.3rem}.inventory-document-card>p{display:none}.inventory-document-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;align-self:end;margin-top:auto}.inventory-document-actions .primary-button,.inventory-document-actions .secondary-button{min-height:42px}.inventory-visualization{display:grid;gap:12px}.inventory-page-shell{display:grid;max-width:1180px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 auto}.inventory-page-main{width:100%;grid-column:1/-1;grid-row:1;margin:0}.inventory-document-rail{display:grid;min-width:0;max-height:360px;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:12px;border:1px solid rgba(35,73,66,.14);border-radius:18px;background:rgba(255,253,248,.94);box-shadow:0 12px 32px rgba(35,52,47,.07)}.inventory-document-rail>header{display:flex;min-height:30px;align-items:center;justify-content:space-between;gap:8px}.inventory-document-rail>header strong{font-size:.94rem}.inventory-document-rail>header a{color:var(--brand);font-size:.76rem;font-weight:800}.inventory-document-scroll{display:grid;min-height:0;align-content:start;gap:10px;overflow-y:auto;padding-right:3px;overscroll-behavior:contain;scrollbar-gutter:stable}.inventory-document-slip{position:relative;display:grid;min-height:158px;align-content:start;gap:7px;padding:12px;overflow:hidden;border:1px solid #c8ddd6;border-radius:13px;color:inherit;background:linear-gradient(145deg,#fbfffd,#eef7f3);transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease;width:100%;font:inherit;text-align:left;cursor:pointer}.inventory-document-slip:before{position:absolute;inset:0 auto 0 0;width:4px;background:var(--brand);content:""}.inventory-document-slip:hover{border-color:var(--brand);color:inherit;transform:translateY(-1px);box-shadow:0 9px 18px rgba(35,73,66,.1)}.inventory-document-slip footer,.inventory-document-slip>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.inventory-document-slip footer span,.inventory-document-slip small,.inventory-document-slip time{color:var(--muted);font-size:.72rem}.inventory-document-slip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-document-slip-operator{color:#3f514c!important;font-weight:750}.inventory-document-slip-category-title{margin-top:2px;font-weight:800}.inventory-document-slip-categories{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important}.inventory-document-slip-categories>span{display:flex;min-width:0;min-height:28px;align-items:center;justify-content:space-between;gap:5px;padding:5px 7px;border:1px solid #c8ddd6;border-radius:8px;background:rgba(255,255,255,.72);font-size:.68rem}.inventory-document-rail-outbound .inventory-document-slip-categories>span{border-color:#e5c9b6}.inventory-document-slip-categories b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-document-slip-categories em{color:var(--brand);font-style:normal;font-weight:900}.inventory-document-rail-outbound .inventory-document-slip-categories em{color:#9d4f2c}.inventory-document-slip>strong{overflow:hidden;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.inventory-document-slip footer{margin-top:auto;padding-top:7px;border-top:1px solid rgba(35,73,66,.1)}.inventory-document-slip footer strong{color:var(--brand);font-size:.78rem;white-space:nowrap}.inventory-document-rail-outbound .inventory-document-slip{border-color:#e5c9b6;background:linear-gradient(145deg,#fffdf9,#fbefe4)}.inventory-document-rail-outbound .inventory-document-slip:before{background:#b96236}.inventory-document-rail-outbound .inventory-document-slip:hover{border-color:#b96236;box-shadow:0 9px 18px rgba(159,78,38,.1)}.inventory-document-rail-outbound .inventory-document-slip footer strong{color:#9d4f2c}.inventory-document-rail-empty{display:grid;min-height:120px;place-items:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.8rem}.inventory-document-dialog-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:rgba(22,31,28,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.inventory-document-dialog{position:relative;display:grid;width:min(1120px,100%);max-height:min(900px,calc(100vh - 48px));gap:18px;overflow-y:auto;padding:24px;border:1px solid #c8ddd6;border-radius:22px;background:#fffdfa;box-shadow:0 30px 80px rgba(20,38,33,.26)}.inventory-document-dialog:before{position:absolute;inset:0 0 auto;height:6px;background:var(--brand);content:""}.inventory-document-dialog-outbound:before{background:#b96236}.inventory-document-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.inventory-document-dialog-notes>span,.inventory-document-dialog>header span{color:var(--muted);font-size:.76rem;font-weight:800}.inventory-document-dialog h2{margin-top:4px;font-size:clamp(1.25rem,3vw,1.65rem)}.inventory-document-dialog-close{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:white;font-size:1.35rem;cursor:pointer}.inventory-document-dialog-status{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:14px;background:var(--brand-soft)}.inventory-document-dialog-outbound .inventory-document-dialog-status{background:#fbebdf}.inventory-document-dialog-total{display:grid;justify-items:end;gap:2px}.inventory-document-dialog-total>span{color:var(--muted);font-size:.72rem;font-weight:800}.inventory-document-dialog-total>strong{color:var(--brand);font-family:inherit;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:1.7rem;font-weight:850}.inventory-document-dialog-outbound .inventory-document-dialog-total>strong{color:#9d4f2c}.inventory-document-dialog-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.inventory-document-dialog-details>div{display:grid;gap:5px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#faf9f5}.inventory-document-dialog-details dt{color:var(--muted);font-size:.72rem}.inventory-document-dialog-details dd{margin:0;font-weight:800}.inventory-document-dialog-lines{display:grid;gap:9px}.inventory-document-dialog-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.inventory-document-dialog-section-heading>strong{font-size:.86rem}.inventory-document-dialog-section-heading>span{color:var(--muted);font-size:.75rem;font-weight:800}.inventory-document-dialog-error,.inventory-document-dialog-loading{display:flex;min-height:92px;align-items:center;justify-content:center;gap:12px;padding:16px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);background:#faf9f5;font-size:.82rem}.inventory-document-dialog-error{color:var(--danger)}.inventory-document-dialog-table{max-height:360px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}.inventory-document-dialog-table table{width:100%;min-width:940px;border-collapse:collapse;font-size:.78rem}.inventory-document-dialog-table td,.inventory-document-dialog-table th{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.inventory-document-dialog-table th{position:sticky;top:0;z-index:1;color:var(--muted);background:#f7f5ef;font-size:.7rem;white-space:nowrap}.inventory-document-dialog-table tbody tr:last-child td{border-bottom:0}.inventory-document-dialog-table tbody tr:hover{background:#f7fbf9}.inventory-document-dialog-outbound .inventory-document-dialog-table tbody tr:hover{background:#fff8f2}.inventory-document-dialog-table td small,.inventory-document-dialog-table td strong{display:block}.inventory-document-dialog-table td strong{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-document-dialog-table td small{margin-top:3px;color:var(--muted);white-space:nowrap}.inventory-document-dialog-quantity>small,.inventory-document-dialog-quantity>span{display:block;white-space:nowrap}.inventory-document-dialog-quantity>small{margin-top:3px;color:var(--brand);font-weight:750}.inventory-document-dialog-outbound .inventory-document-dialog-quantity>small{color:#9d4f2c}.inventory-document-dialog-categories{display:grid;gap:9px}.inventory-document-dialog-categories>span{color:var(--muted);font-size:.76rem;font-weight:800}.inventory-document-dialog-categories>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.inventory-document-dialog-categories>div>div{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;border:1px solid #c8ddd6;border-radius:11px;background:#f4faf7}.inventory-document-dialog-outbound .inventory-document-dialog-categories>div>div{border-color:#e5c9b6;background:#fff6ef}.inventory-document-dialog-categories strong{overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.inventory-document-dialog-categories>div>div>span{color:var(--brand);font-weight:850}.inventory-document-dialog-outbound .inventory-document-dialog-categories>div>div>span{color:#9d4f2c}.inventory-document-dialog-notes{display:grid;gap:6px;padding:13px 14px;border:1px solid var(--line);border-radius:12px}.inventory-document-dialog-notes p{margin:0;line-height:1.55}.inventory-document-dialog>footer{display:flex;justify-content:flex-end;gap:8px}@media (min-width:1700px){.main-content:has(.inventory-page-shell){padding-right:24px;padding-left:24px}.inventory-page-shell{max-width:1812px;grid-template-columns:minmax(250px,300px) minmax(0,1180px) minmax(250px,300px);align-items:start}.inventory-page-shell:not(.has-inbound-rail){max-width:1496px;grid-template-columns:minmax(0,1180px) minmax(250px,300px)}.inventory-page-main{grid-column:2;grid-row:1}.inventory-page-main>.compact-page-header{min-height:48px}.inventory-page-shell:not(.has-inbound-rail) .inventory-page-main{grid-column:1}.inventory-document-rail{position:sticky;top:24px;max-height:calc(100vh - 48px);margin-top:64px}.inventory-document-rail-inbound{grid-column:1;grid-row:1}.inventory-document-rail-outbound{grid-column:3;grid-row:1}.inventory-page-shell:not(.has-inbound-rail) .inventory-document-rail-outbound{grid-column:2}}.inventory-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-scope-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.inventory-stat-card{position:relative;display:grid;min-height:142px;align-content:space-between;gap:12px;overflow:hidden;padding:18px;border:1px solid rgba(35,73,66,.12);border-radius:16px;background:linear-gradient(145deg,#f5faf7,#eef6f1);box-shadow:0 14px 38px rgba(35,52,47,.07)}.inventory-stat-card:after{position:absolute;right:-24px;bottom:-34px;width:105px;height:105px;border-radius:50%;background:rgba(255,255,255,.45);content:"";pointer-events:none}.inventory-stat-transit{background:linear-gradient(145deg,#f2f6fb,#e8f0f7)}.inventory-stat-reserved{background:linear-gradient(145deg,#f7f5fb,#efebf6)}.inventory-stat-warning{background:linear-gradient(145deg,#fff7ee,#f8eadc)}.inventory-stat-store{background:linear-gradient(145deg,#f2f7fb,#e8f1f7)}.inventory-stat-store .inventory-stat-icon{background:#517b9a}.inventory-stat-all{background:linear-gradient(145deg,#f7f3fb,#efe8f6)}.inventory-stat-all .inventory-stat-icon{background:#76658d}.inventory-stat-heading{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:.82rem;font-weight:800}.inventory-stat-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;color:white;background:var(--brand);font-size:.75rem}.inventory-stat-transit .inventory-stat-icon{background:#517b9a}.inventory-stat-reserved .inventory-stat-icon{background:#76658d}.inventory-stat-warning .inventory-stat-icon{background:#b96236}.inventory-stat-card>strong{position:relative;z-index:1;font-family:inherit;font-size:clamp(2rem,4vw,2.55rem);line-height:1}.inventory-stat-card>small{position:relative;z-index:1;color:var(--muted);line-height:1.45}.inventory-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-chart-card{display:grid;align-content:start;gap:18px;min-height:260px}.inventory-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.inventory-chart-heading h2{margin:0 0 5px;font-size:1.08rem}.inventory-chart-empty,.inventory-chart-heading p,.inventory-visualization-note{margin:0;color:var(--muted);font-size:.8rem;line-height:1.5}.inventory-chart-heading>span{flex:0 0 auto;color:var(--muted);font-size:.72rem;font-weight:750}.inventory-bar-list{display:grid;gap:13px}.inventory-bar-row{display:grid;gap:6px}.inventory-bar-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:.82rem}.inventory-bar-label>span{overflow:hidden;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.inventory-bar-label>strong{flex:0 0 auto;color:var(--muted);font-size:.76rem}.inventory-bar-track{height:9px;overflow:hidden;border-radius:999px;background:#e9ece8}.inventory-bar-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#155548,#5e9a84)}.inventory-chart-card:nth-child(2) .inventory-bar-fill{background:linear-gradient(90deg,#b55b32,#db9b6e)}.inventory-visualization-note{padding:0 4px}.supplier-stock-visualization{display:grid;gap:18px}.supplier-stock-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.supplier-stock-heading h2{margin:0 0 5px;font-size:1.12rem}.supplier-stock-heading p{margin:0;color:var(--muted);font-size:.8rem;line-height:1.5}.supplier-stock-heading>span{flex:0 0 auto;padding:6px 10px;border-radius:999px;color:var(--brand);background:var(--brand-soft);font-size:.74rem;font-weight:800}.supplier-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.inventory-sku-tone-0,.supplier-stock-card{--supplier-accent:#236b5d;--supplier-accent-end:#8cbba9;--supplier-border:#cfe1da;--supplier-soft:#deeee7;--supplier-surface:#f5fbf8}.supplier-stock-card{display:grid;gap:15px;min-width:0;padding:16px;border:1px solid var(--supplier-border);border-radius:14px;background:linear-gradient(145deg,#fffefd 12%,var(--supplier-surface))}.inventory-sku-tone-1,.supplier-stock-tone-1{--supplier-accent:#b35e32;--supplier-accent-end:#dfa173;--supplier-border:#ead6c3;--supplier-soft:#f8e8da;--supplier-surface:#fff7ef}.inventory-sku-tone-2,.supplier-stock-tone-2{--supplier-accent:#3f7197;--supplier-accent-end:#8db6d1;--supplier-border:#cbdbe8;--supplier-soft:#e3eef6;--supplier-surface:#f3f8fc}.inventory-sku-tone-3,.supplier-stock-tone-3{--supplier-accent:#76528d;--supplier-accent-end:#b39ac3;--supplier-border:#ded1e7;--supplier-soft:#eee5f3;--supplier-surface:#faf6fc}.inventory-sku-tone-4,.supplier-stock-tone-4{--supplier-accent:#95671f;--supplier-accent-end:#d3b06b;--supplier-border:#eadbb8;--supplier-soft:#f6ecd5;--supplier-surface:#fff9ec}.inventory-sku-tone-5,.supplier-stock-tone-5{--supplier-accent:#9d5967;--supplier-accent-end:#d19aa5;--supplier-border:#e7cfd4;--supplier-soft:#f5e5e8;--supplier-surface:#fff6f8}.supplier-stock-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--supplier-border)}.supplier-stock-card>header>div{min-width:0}.supplier-stock-card header span{color:var(--muted);font-size:.7rem;font-weight:750}.supplier-stock-card h3{overflow:hidden;margin:0;font-size:.96rem;text-overflow:ellipsis;white-space:nowrap}.supplier-stock-summary{display:flex;flex:0 0 auto;gap:13px;align-items:baseline}.supplier-stock-summary>span{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.supplier-stock-summary strong{color:var(--supplier-accent);font-size:1.05rem}.supplier-sku-list{display:grid;gap:11px}.supplier-sku-row{display:grid;gap:5px}.supplier-sku-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:.78rem}.supplier-sku-label>span{overflow:hidden;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.supplier-sku-values{display:flex;flex:0 0 auto;align-items:baseline;gap:10px;white-space:nowrap}.supplier-sku-values>span{color:var(--muted);font-size:.7rem}.supplier-sku-values>strong{color:var(--supplier-accent);font-size:.74rem}.supplier-sku-track{height:7px;overflow:hidden;border-radius:999px;background:#e9ece8}.supplier-sku-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--supplier-accent),var(--supplier-accent-end))}.supplier-stock-more{display:grid;gap:12px;padding-top:1px}.supplier-stock-more summary{display:flex;min-height:38px;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--supplier-border);border-radius:10px;color:var(--supplier-accent);background:var(--supplier-soft);cursor:pointer;font-size:.76rem;font-weight:800;list-style:none}.supplier-stock-more summary::-webkit-details-marker{display:none}.supplier-stock-more[open] summary{order:1;margin-top:12px}.supplier-stock-more-opened,.supplier-stock-more[open] .supplier-stock-more-closed{display:none}.supplier-stock-more[open] .supplier-stock-more-opened{display:inline}.login-page{display:grid;min-height:100vh;place-items:center;padding:22px}.login-card{width:min(100%,440px);padding:clamp(24px,6vw,40px);border:1px solid rgba(91,105,99,.15);border-radius:26px;background:rgba(255,253,248,.96);box-shadow:0 28px 70px rgba(23,69,63,.14)}.login-heading{display:flex;align-items:center;gap:16px;margin-bottom:20px}.login-heading h1{margin:0;font-size:2rem}.login-heading .eyebrow{margin-bottom:3px}.login-card>.muted{margin-bottom:24px;line-height:1.65}.form-stack{display:grid;gap:18px;margin-top:20px}.form-stack .primary-button{margin-top:4px}.category-management-page{max-width:1180px}.category-page-header{padding-bottom:8px}.category-return-notice{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid #c8dcd4;border-radius:14px;background:var(--brand-soft)}.category-return-notice>span{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:50%;color:white;background:var(--brand);font-weight:800}.category-return-notice p{display:grid;gap:2px;margin:0}.category-return-notice small{color:var(--muted)}.category-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.category-stat-card{display:grid;min-height:104px;align-content:space-between;gap:4px;padding:16px 18px;background:radial-gradient(circle at 90% 15%,rgba(23,69,63,.1),transparent 35%),var(--surface)}.category-stat-card small,.category-stat-card span{color:var(--muted)}.category-stat-card small{display:none}.category-stat-card span{font-size:.82rem;font-weight:800;letter-spacing:.04em}.category-stat-card strong{color:var(--brand);font-family:inherit;font-size:1.95rem;line-height:1}.category-workspace{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(520px,1.7fr);align-items:start;gap:14px}.category-create-panel{display:grid;gap:14px;position:sticky;top:24px}.category-create-panel label{display:grid;gap:8px;font-weight:750}.category-create-panel .primary-button{width:100%}.category-panel-heading{display:flex;align-items:center;gap:13px}.category-panel-heading .eyebrow{margin-bottom:3px}.category-empty-icon,.category-panel-icon{display:grid;place-items:center;border-radius:13px;color:var(--brand);background:var(--brand-soft);font-weight:850}.category-panel-icon{width:44px;height:44px;flex:0 0 44px;font-size:1.45rem}.category-create-description{display:none}@media (max-width:980px){.dashboard-filter-form,.inventory-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-operations-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-operations-grid,.dashboard-store-sales-grid{grid-template-columns:1fr}.inventory-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-chart-grid,.supplier-stock-grid{grid-template-columns:1fr}.dashboard-filter-form .form-actions,.inventory-filter-form .form-actions{grid-column:1/-1}}.category-list-panel .section-heading{align-items:flex-start}.category-list-panel td:first-child,.category-list-panel th:first-child{width:36%}.category-name-form{min-width:220px}.category-name-form input{min-height:42px;border-color:transparent;background:#f7f5ef;font-weight:750}.category-name-form input:focus,.category-name-form input:hover{border-color:var(--brand);background:white}.category-list-panel select{min-width:9rem;min-height:42px}.store-category-discounts{display:grid;gap:.25rem;min-width:13rem}.store-category-discounts span{color:var(--muted);font-size:.84rem;line-height:1.35;white-space:nowrap}.category-status-active{color:var(--success);background:var(--success-soft)}.category-empty-state{min-height:320px}.category-empty-icon{width:52px;height:52px;margin-bottom:12px;font-size:1.05rem}@media (max-width:980px){.product-settings-form{grid-template-columns:repeat(2,minmax(0,1fr))}.category-workspace{grid-template-columns:1fr}.category-create-panel{position:static}}@media (max-width:800px){.product-excel-defaults{grid-template-columns:1fr}.dashboard-operations-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-supplier-grid,.inventory-page-shell{grid-template-columns:1fr}.inventory-document-rail{max-height:320px}.inventory-document-dialog-backdrop{align-items:end;padding:10px}.inventory-document-dialog{max-height:calc(100vh - 20px);gap:14px;padding:20px 16px 16px;border-radius:18px}.inventory-document-dialog-details{grid-template-columns:1fr}.inventory-document-dialog-categories>div{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-document-dialog-total>strong{font-size:1.35rem}.inventory-document-dialog>footer{display:grid;grid-template-columns:1fr}.category-stat-grid{grid-template-columns:1fr}.category-stat-card{min-height:112px}.statement-metadata{grid-template-columns:1fr 1fr}body{background:var(--paper)}.sidebar{position:static;width:auto;padding:16px 18px}.desktop-nav,.sidebar .brand small,.sidebar-user{display:none}.main-content{margin-left:0;padding:26px 16px 100px}.version-update-notice{top:8px;align-items:stretch;flex-direction:column}.version-update-notice .secondary-button{width:100%}.mfa-enrollment,.recovery-code-grid{grid-template-columns:1fr}.mfa-qr{width:min(240px,100%);height:auto;justify-self:center}.mobile-nav{position:fixed;inset:auto 0 0;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid var(--line);background:#fffdf8}.mobile-nav a{position:relative;display:grid;min-height:48px;place-items:center;border-radius:11px;color:var(--muted);font-size:.85rem;font-weight:750}.mobile-navigation-alert-badge{position:absolute;top:1px;left:calc(50% + 13px);min-width:19px;height:19px;padding:0 4px;font-size:.58rem}.low-stock-global-notice{align-items:flex-start;margin-bottom:18px;padding:11px 12px;border-radius:14px}.low-stock-global-notice b{display:none}.low-stock-alert-panel>.section-heading{align-items:stretch;flex-direction:column}.low-stock-alert-panel>.section-heading .secondary-button{width:100%}.page-header{align-items:flex-start}.product-detail-header{display:grid}.page-header .primary-button{flex:0 0 auto}.header-actions{flex-wrap:wrap}.product-catalog-filters{grid-template-columns:1fr 1fr;padding:14px}.product-filter-stage{grid-template-columns:1fr;gap:7px;padding:10px 12px}.product-filter-label{padding-top:0}.supplier-filter-list{grid-template-columns:repeat(2,minmax(0,1fr))}.product-inline-search{grid-template-columns:1fr 1fr;padding:10px 12px}.product-inline-search input{grid-column:1/-1}.product-inline-search .primary-button,.product-inline-search .secondary-button{width:100%}.product-filter-actions,.product-search-field{grid-column:1/-1}.product-filter-actions>*{flex:1 1}.product-catalog-summary{align-items:flex-start;flex-direction:column;gap:3px}.product-masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-catalog-card{border-radius:14px}.product-card-body{min-height:150px;gap:6px;padding:10px}.product-card-tags{gap:4px}.product-card-tags span{padding:3px 6px;font-size:.62rem}.product-card-body h2{font-size:.9rem}.product-card-body p{font-size:.7rem}.product-card-commercial{align-items:flex-start;flex-direction:column;gap:2px}.product-card-commercial strong{font-size:1.08rem}.inventory-document-grid,.metric-grid,.task-list{grid-template-columns:1fr}.metric-card{min-height:125px}.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.sales-excel-reader{grid-template-columns:1fr}.sales-excel-reader .secondary-button{width:100%}.sales-excel-summary{gap:3px}.form-section,.sales-excel-summary{align-items:flex-start;flex-direction:column}.form-section{gap:4px}.product-form-section{gap:18px;padding:22px 20px}.product-form-heading{align-items:flex-start;flex-direction:column;gap:4px}.product-form-fields-four,.product-form-fields-three,.product-form-fields-two{grid-template-columns:1fr}.product-form-fields>.product-suggestion-field,.product-form-fields>label{grid-template-rows:auto minmax(48px,auto) auto}.product-create-actions{padding:18px 20px}.line-row,.scan-add-row{display:grid;grid-template-columns:1fr;align-items:stretch}.line-row.editable-line{gap:12px;padding-top:12px}.line-row.editable-line .line-item-heading,.line-row.editable-line.classified-line .line-batch-field,.line-row.editable-line.classified-line .line-case-pack-field,.line-row.editable-line.classified-line .line-category-field,.line-row.editable-line.classified-line .line-notes-field,.line-row.editable-line.classified-line .line-package-field,.line-row.editable-line.classified-line .line-price-field,.line-row.editable-line.classified-line .line-quantity-field,.line-row.editable-line.classified-line .line-retail-price-field,.line-row.editable-line.classified-line .line-sku-field,.line-row.editable-line.classified-line .line-supplier-field,.line-row.editable-line.classified-line.has-packaging .line-batch-field,.line-row.editable-line.classified-line.has-packaging .line-case-pack-field,.line-row.editable-line.classified-line.has-packaging .line-notes-field,.line-row.editable-line.classified-line.has-packaging .line-package-field,.line-row.editable-line.classified-line.has-packaging .line-price-field,.line-row.editable-line.classified-line.has-packaging .line-quantity-field,.line-row.editable-line.classified-line.has-packaging .line-retail-price-field,.line-row.editable-line.classified-line.has-packaging.has-batch .line-batch-field,.line-row.editable-line.classified-line.has-packaging.has-retail-price.is-case-mode .line-retail-price-field,.line-row.editable-line.classified-line.has-packaging.has-retail-price.is-case-mode.has-batch .line-batch-field,.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode) .line-price-field,.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode) .line-quantity-field,.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode) .line-retail-price-field,.line-row.editable-line.classified-line.has-packaging.has-retail-price:not(.is-case-mode).has-batch .line-batch-field,.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-case-pack-field,.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-notes-field,.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-package-field,.line-row.editable-line.classified-line.has-packaging:not(.has-price) .line-quantity-field,.line-row.editable-line:not(.classified-line) .line-notes-field,.line-row.editable-line:not(.classified-line) .line-price-field,.line-row.editable-line:not(.classified-line) .line-quantity-field,.line-row.editable-line:not(.classified-line) .line-sku-field{grid-column:1/-1}.add-line-button,.scan-add-row .secondary-button{width:100%}.unexpected-count-match{align-items:stretch;flex-direction:column}.inspection-line{grid-template-columns:1fr}.count-table,.count-table tbody,.count-table td,.count-table tr{display:block;width:100%}.count-table thead{display:none}.count-table tbody tr{padding:10px 0;border-bottom:8px solid var(--paper)}.count-table tbody tr:last-child{border-bottom:0}.count-table td,.count-table td:first-child{position:relative;display:block;min-height:44px;padding:10px 14px 10px 116px;border-bottom:1px dashed var(--line);white-space:normal}.count-table td:last-child{border-bottom:0}.count-table td:before{position:absolute;top:12px;left:14px;width:90px;color:var(--muted);content:attr(data-label);font-size:.75rem;font-weight:750}.count-table .inline-action-form{align-items:stretch;flex-direction:column}.count-table .inline-action-form .table-action{min-height:42px}.line-number{display:none}.line-remove{justify-self:end}}@media (max-width:520px){.dashboard-card-heading,.dashboard-section-heading{display:grid}.dashboard-section-heading .secondary-button{width:100%}.dashboard-operations-metrics{gap:8px}.dashboard-operation-metric{min-height:132px;gap:9px;padding:13px;border-radius:14px}.dashboard-operation-metric-heading>span{width:27px;height:27px;flex-basis:27px}.dashboard-operation-metric>b{font-size:1.55rem}.dashboard-operation-metric>small{white-space:normal}.dashboard-flow-panel,.dashboard-ranking-card,.dashboard-sales-summary,.dashboard-supplier-panel{padding:16px}.dashboard-sales-summary dl,.statement-metadata{grid-template-columns:1fr}h1{font-size:1.7rem}.page-header{display:grid}.page-header .primary-button{width:100%}.header-actions{display:grid;width:100%}.product-catalog-page .header-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.product-catalog-page .header-actions>*{min-height:42px;padding:0 8px;font-size:.8rem;white-space:nowrap}.panel{border-radius:17px}.inventory-stat-grid{grid-template-columns:1fr;gap:8px}.inventory-stat-card{min-height:128px;gap:9px;padding:14px;border-radius:14px}.inventory-stat-heading{gap:7px;font-size:.74rem}.inventory-stat-icon{width:27px;height:27px;border-radius:8px;font-size:.68rem}.inventory-stat-card>strong{font-size:1.75rem}.inventory-stat-card>small{font-size:.68rem}.inventory-chart-card{min-height:auto;padding:16px}.inventory-chart-heading{display:grid;gap:5px}.inventory-chart-heading>span{display:none}.supplier-stock-visualization{padding:16px}.supplier-stock-heading{display:grid;gap:8px}.supplier-stock-heading>span{justify-self:start}.form-actions{display:grid;grid-template-columns:1fr 1fr}.simple-list>div{grid-template-columns:1fr;gap:8px}.simple-list time{grid-column:1/-1}.inventory-document-actions{justify-content:flex-start}.inventory-document-card:has(.inventory-document-create){padding-right:104px}.inventory-document-create{right:18px;width:66px;height:66px;font-size:1.2rem}.inventory-document-actions .table-action{white-space:nowrap}}@media (max-width:380px){.product-inline-search,.supplier-filter-list{grid-template-columns:1fr}.product-inline-search input{grid-column:auto}.product-masonry{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important}}