*{box-sizing:border-box}:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f6fb;font-family:Inter,Noto Sans Thai,Segoe UI,Tahoma,sans-serif}html,body{background:#f3f6fb;min-width:320px;min-height:100%}body{min-height:100vh;font-size:var(--font-base);margin:0;line-height:1.45}button,input,textarea,select{font:inherit}button{-webkit-tap-highlight-color:transparent}#root{width:100%;min-height:100vh}html[data-thanacom-auth-suspended=true] #root{visibility:hidden}:root{--navy-950:#07172d;--navy-900:#0a203b;--navy-800:#102b4d;--blue-700:#0757d7;--blue-600:#0b69f7;--blue-500:#2680ff;--blue-100:#dcebff;--blue-50:#f1f7ff;--ink-950:#111827;--ink-800:#263247;--ink-600:#5e6b7f;--ink-500:#7a8799;--surface-page:#f3f6fb;--surface-card:#fff;--surface-muted:#f8fafc;--line:#dfe6ef;--line-soft:#edf1f6;--danger:#e34949;--danger-soft:#fff4f4;--success:#15965d;--shadow-card:0 5px 18px #122b4d0e;--shadow-focus:0 0 0 3px #0b69f724;--radius-lg:12px;--radius-md:9px;--font-xs:.75rem;--font-sm:.8125rem;--font-base:.875rem;--font-md:.9375rem;--font-lg:1.0625rem;--font-xl:1.25rem;--control-height:40px;--panel-gap:14px;--sidebar-width:232px;--header-height:68px}.visually-hidden{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.app-shell{background:var(--surface-page);min-height:100vh;color:var(--ink-950);display:flex}.app-sidebar{z-index:20;width:var(--sidebar-width);color:#e8f0fc;background:radial-gradient(circle at 12% 5%, #2076f530, transparent 28%), linear-gradient(180deg, var(--navy-950), #061426 100%);flex-direction:column;min-height:100vh;padding:16px 14px 15px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto;box-shadow:6px 0 28px #04132621}.brand-lockup{align-items:center;gap:11px;min-height:46px;margin-bottom:12px;padding:0 7px;display:flex}.brand-lockup strong,.brand-lockup small{display:block}.brand-lockup strong{color:#fff;letter-spacing:.7px;font-size:17px;line-height:1.1}.brand-lockup small{color:#9eb0c9;letter-spacing:.9px;margin-top:3px;font-size:11px}.brand-symbol{width:32px;height:32px;position:relative;transform:rotate(45deg)}.brand-symbol span{border:5px solid var(--blue-500);border-radius:3px;position:absolute;inset:2px}.brand-symbol span:last-child{border-color:#0f56c9;inset:10px 2px 2px 10px}.sidebar-navigation{flex-direction:column;gap:3px;display:flex}.navigation-item{color:#cfdaeb;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:12px;width:100%;min-height:42px;padding:9px 10px;font-size:14px;display:flex}.navigation-item:disabled{cursor:default;opacity:.78}.navigation-item.is-active{color:#fff;opacity:1;background:linear-gradient(135deg,#096cf8,#0758dd);font-weight:650;box-shadow:0 7px 18px #0459e152}.navigation-glyph{color:#b9c9df;text-align:center;flex:0 0 20px;width:20px;font-size:18px;line-height:1}.is-active .navigation-glyph{color:#fff}.sidebar-status{background:#ffffff0b;border:1px solid #7ea4d626;border-radius:9px;align-items:flex-start;gap:9px;margin-top:auto;padding:13px 12px;display:flex}.sidebar-status strong,.sidebar-status small{display:block}.sidebar-status strong{font-size:13px}.sidebar-status small{color:#9eb0c9;margin-top:3px;font-size:11px;line-height:1.35}.status-dot{background:#35c987;border-radius:50%;flex:0 0 8px;width:8px;height:8px;margin-top:4px;box-shadow:0 0 0 3px #35c98724}.app-workspace{width:calc(100% - var(--sidebar-width));min-width:0;min-height:100vh;margin-left:var(--sidebar-width)}.app-header{height:var(--header-height);border-bottom:1px solid var(--line);background:#fffffff5;justify-content:space-between;align-items:center;padding:0 22px;display:flex}.header-title{align-items:center;gap:14px;display:flex}.header-title h1{color:var(--ink-950);letter-spacing:-.2px;margin:0;font-size:22px;line-height:1.2}.header-title p{color:var(--ink-500);margin:5px 0 0;font-size:12px}.header-title p span{color:#a4afbd;padding:0 5px}.mobile-menu-mark{color:var(--navy-800);font-size:18px}.header-phase-badge{color:#24507f;background:#f4f9ff;border:1px solid #cfe1f8;border-radius:999px;align-items:center;gap:8px;padding:8px 11px;font-size:12px;font-weight:650;display:flex}.header-phase-badge .status-dot{margin-top:0}@media (width<=1180px){:root{--sidebar-width:196px}.app-sidebar{padding-inline:10px}.navigation-item{font-size:13px}}@media (width<=820px){:root{--sidebar-width:68px}.brand-lockup{justify-content:center;padding:0}.brand-lockup>div:last-child,.navigation-item>span:last-child,.sidebar-status{display:none}.navigation-item{justify-content:center;padding-inline:0}.navigation-glyph{flex-basis:24px;width:24px}.app-header{padding-inline:16px}.header-phase-badge{display:none}}@media (width<=560px){:root{--sidebar-width:0px}.app-sidebar{display:none}.app-header{height:66px}.header-title h1{font-size:18px}}.header-actions{align-items:center;gap:12px;display:flex}.header-operator{text-align:right;min-width:110px;line-height:1.2;display:grid}.header-operator span{color:var(--ink-800);font-size:13px;font-weight:700}.header-operator small{color:var(--ink-500);margin-top:3px;font-size:11px}.header-logout{min-height:34px;color:var(--ink-700);cursor:pointer;background:#fff;border:1px solid #c7d3e0;border-radius:7px;padding:6px 10px;font-size:12px;font-weight:650}.header-logout:hover{background:#f7f9fc;border-color:#9eb0c4}.header-logout:disabled{cursor:wait;opacity:.6}@media (width<=560px){.header-operator{display:none}.header-actions{gap:6px}}.dashboard-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.dashboard-intro,.dashboard-section>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.dashboard-intro h2,.dashboard-intro p,.dashboard-section h3,.dashboard-section p{margin:0}.dashboard-intro h2{color:var(--ink-950);font-size:19px}.dashboard-intro p,.dashboard-section header p{color:var(--ink-500);margin-top:3px;font-size:13px}.dashboard-intro button,.dashboard-section header a{border:1px solid var(--line);min-height:34px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;padding:0 10px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.dashboard-intro button:disabled{opacity:.55}.dashboard-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;display:grid}.dashboard-kpi{border-top:3px solid var(--blue-500);align-content:center;gap:5px;min-height:104px;padding:13px;text-decoration:none;display:grid}.dashboard-kpi:hover{border-color:var(--blue-600);box-shadow:var(--shadow-card)}.dashboard-kpi span{color:var(--ink-600);font-size:13px}.dashboard-kpi strong{color:var(--ink-950);font-size:23px}.dashboard-kpi small{color:var(--blue-700);font-size:12px}.dashboard-kpi.is-out{border-top-color:var(--danger)}.dashboard-kpi.is-low,.dashboard-kpi.is-po{border-top-color:#d99000}.dashboard-kpi.is-ar{border-top-color:#7a5bc7}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.dashboard-sales-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr)}.dashboard-section{min-width:0;padding:14px}.dashboard-section>header{margin:-2px 0 12px}.dashboard-section h3{color:var(--ink-950);font-size:17px}.dashboard-chart{border-top:1px solid var(--line-soft);grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;height:190px;padding-top:12px;display:grid}.dashboard-chart-column{text-align:center;grid-template-rows:20px 1fr 18px;gap:4px;min-width:0;display:grid}.dashboard-chart-column>strong{color:var(--ink-600);text-overflow:ellipsis;font-size:12px;overflow:hidden}.dashboard-chart-column>div{border-bottom:1px solid var(--line);justify-content:center;align-items:flex-end;height:125px;display:flex}.dashboard-chart-column>div span{background:linear-gradient(180deg, var(--blue-500), var(--blue-700));border-radius:4px 4px 0 0;width:min(30px,70%);min-height:3px}.dashboard-chart-column small,.dashboard-footnote,.dashboard-profit-note{color:var(--ink-500);font-size:12px}.dashboard-breakdown,.dashboard-po-list,.dashboard-debtors,.dashboard-activity{margin:0;padding:0;list-style:none}.dashboard-breakdown li,.dashboard-debtors li{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:center;padding:10px 0;font-size:14px;display:flex}.dashboard-breakdown strong,.dashboard-debtors span{color:var(--ink-950)}.dashboard-empty{color:var(--ink-500);text-align:center;padding:28px 8px;font-size:13px}.dashboard-table-wrap{margin:0 -14px -14px;overflow:auto}.dashboard-table-wrap table{border-collapse:collapse;width:100%}.dashboard-table-wrap th,.dashboard-table-wrap td{border-top:1px solid var(--line-soft);text-align:left;padding:9px 14px;font-size:14px}.dashboard-table-wrap th{color:var(--ink-600);background:#f7f9fc;font-size:12px}.dashboard-table-wrap td small{color:var(--ink-600);font-size:12px;display:block}.dashboard-badge{background:var(--surface-muted);white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:12px;font-weight:750;display:inline-flex}.dashboard-badge.is-negative,.dashboard-badge.is-out{color:#b42323;background:var(--danger-soft)}.dashboard-badge.is-low,.dashboard-badge.is-ordered{color:#805600;background:#fff4ce}.dashboard-badge.is-partially_received{color:#7a4600;background:#fff0dc}.dashboard-po-list li{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:flex-start;gap:10px;padding:9px 0;display:flex}.dashboard-po-list li>div{gap:2px;display:grid}.dashboard-po-list span,.dashboard-po-list small{color:var(--ink-600);font-size:13px}.dashboard-alert{color:#805600;background:#fff4ce;border-radius:6px;padding:8px;font-size:13px;margin-bottom:8px!important}.dashboard-ar-total{color:var(--ink-950);margin-bottom:5px;font-size:23px;display:block}.dashboard-pending-review{color:#805600;background:#fff4ce;border-radius:6px;margin-top:9px;padding:7px 9px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.dashboard-activity li{border-top:1px solid var(--line-soft);grid-template-columns:92px 72px 1fr;align-items:start;gap:7px;padding:7px 0;display:grid}.dashboard-activity time{color:var(--ink-600);font-size:12px}.dashboard-activity-type{font-size:12px;font-weight:700}.dashboard-activity li div{gap:2px;display:grid}.dashboard-activity a{font-size:13px;font-weight:700}.dashboard-activity small{color:var(--ink-600);font-size:12px}.dashboard-profit-note{text-align:center}.dashboard-state{text-align:center;margin:30px;padding:50px}.dashboard-state button{margin-left:10px}.dashboard-message{border-radius:6px;margin:0;padding:9px}.dashboard-message.is-error,.dashboard-state.is-error{color:var(--danger);background:var(--danger-soft)}@media (width<=1200px){.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=850px){.dashboard-page{padding:12px}.dashboard-grid,.dashboard-sales-grid{grid-template-columns:1fr}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-activity li{grid-template-columns:80px 65px 1fr}}.reports-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.reports-intro,.reports-table-card>header,.reports-table-card>footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.reports-intro h2,.reports-intro p,.reports-table-card h3,.reports-table-card p,.reports-extra h3{margin:0}.reports-intro h2{color:var(--ink-950);font-size:20px}.reports-intro p{color:var(--ink-600);margin-top:3px;font-size:13px}.reports-export{color:#fff;background:var(--blue-700);border-radius:7px;align-items:center;min-height:38px;padding:0 14px;font-size:13px;font-weight:750;text-decoration:none;display:inline-flex}.reports-filters{flex-wrap:wrap;align-items:end;gap:12px;padding:14px;display:flex}.reports-filters p{color:var(--ink-600);margin:0;font-size:13px}.reports-quick-ranges{gap:6px;display:flex}.reports-quick-ranges button,.reports-tabs button,.reports-table-card footer button{border:1px solid var(--line);min-height:36px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;padding:0 12px;font-size:13px;font-weight:700}.reports-quick-ranges button.is-active,.reports-tabs button.is-active{color:#fff;border-color:var(--blue-700);background:var(--blue-700)}.reports-custom-dates,.reports-options{flex-wrap:wrap;gap:9px;display:flex}.reports-custom-dates label,.reports-options label{color:var(--ink-700);gap:4px;font-size:13px;display:grid}.reports-custom-dates input,.reports-options input,.reports-options select{border:1px solid var(--line);min-height:38px;color:var(--ink-950);font:inherit;background:#fff;border-radius:7px;padding:7px 9px}.reports-options{margin-left:auto}.reports-options input{min-width:250px}.reports-tabs{gap:7px;padding-bottom:2px;display:flex;overflow-x:auto}.reports-tabs button{white-space:nowrap}.reports-summary{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;display:grid}.reports-summary article{align-content:center;gap:5px;min-height:92px;padding:14px;display:grid}.reports-summary span{color:var(--ink-600);font-size:13px}.reports-summary strong{color:var(--ink-950);font-size:23px}.reports-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.reports-extra{min-width:0;padding:14px;overflow:auto}.reports-extra h3{color:var(--ink-950);margin-bottom:10px;font-size:17px}.reports-extra p,.reports-extra small{color:var(--ink-600);font-size:13px}.reports-extra table,.reports-table-wrap table{border-collapse:collapse;width:100%}.reports-extra th,.reports-extra td,.reports-table-wrap th,.reports-table-wrap td{border-top:1px solid var(--line-soft);text-align:left;vertical-align:top;padding:9px 11px;font-size:14px}.reports-extra th,.reports-table-wrap th{color:var(--ink-600);white-space:nowrap;background:#f7f9fc;font-size:12px}.reports-table-card{min-width:0;overflow:hidden}.reports-table-card>header{border-bottom:1px solid var(--line-soft);padding:14px 15px}.reports-table-card h3{color:var(--ink-950);font-size:18px}.reports-table-card header p{color:var(--ink-600);margin-top:3px;font-size:13px}.reports-table-wrap{overflow:auto}.reports-table-wrap td{white-space:nowrap}.reports-table-wrap td:first-child,.reports-table-wrap td:nth-child(2){white-space:normal;min-width:130px}.reports-table-wrap td small{color:var(--ink-600);font-size:12px;display:block}.reports-table-wrap a{color:var(--blue-700);font-weight:700}.reports-table-card>footer{border-top:1px solid var(--line-soft);padding:11px 15px}.reports-table-card footer span{color:var(--ink-700);margin-right:auto;font-size:13px}.reports-table-card footer button:disabled{opacity:.5;cursor:not-allowed}.reports-state{min-height:110px;color:var(--ink-600);place-items:center;font-size:14px;display:grid}.reports-badge{background:var(--surface-muted);border-radius:999px;padding:3px 8px;font-size:12px;font-weight:750;display:inline-flex}.reports-badge.is-negative,.reports-badge.is-out{color:#a5222d;background:var(--danger-soft)}.reports-badge.is-low{color:#805600;background:#fff4ce}.reports-badge.is-available,.reports-badge.is-cost-complete{color:#17663a;background:#e7f6ed}.reports-badge.is-cost-partial{color:#805600;background:#fff4ce}.reports-badge.is-cost-unknown{color:var(--ink-700);background:var(--surface-muted)}.reports-negative-text{color:#a5222d}.reports-profit-coverage{gap:10px;padding:16px;display:grid}.reports-profit-coverage>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.reports-profit-coverage>div span{color:var(--ink-700);font-size:15px;font-weight:750}.reports-profit-coverage>div strong{color:var(--ink-950);font-size:24px}.reports-profit-coverage p,.reports-profit-coverage small{color:var(--ink-600);margin:0;font-size:13px}.reports-profit-coverage dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.reports-profit-coverage dl div{background:var(--surface-muted);border-radius:7px;padding:10px}.reports-profit-coverage dt{color:var(--ink-600);font-size:12px}.reports-profit-coverage dd{color:var(--ink-950);margin:4px 0 0;font-size:16px;font-weight:750}.reports-message{border-radius:7px;margin:0;padding:10px 12px;font-size:14px}.reports-message.is-error{color:var(--danger);background:var(--danger-soft)}.reports-profit-note{color:var(--ink-600);text-align:center;margin:0;font-size:13px}@media (width<=850px){.reports-page{padding:12px}.reports-extra-grid{grid-template-columns:1fr}.reports-options{width:100%;margin-left:0}.reports-options label{flex:1}.reports-profit-coverage dl{grid-template-columns:1fr}}.auth-page,.auth-checking,.auth-password-blocked{background:radial-gradient(circle at 25% 10%, #1f6feb21, transparent 34%), var(--surface-page);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card,.auth-password-blocked section{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(100%,430px);padding:34px;box-shadow:0 20px 54px #0e23411f}.login-brand{color:var(--navy-950);letter-spacing:.5px;align-items:center;gap:11px;font-size:14px;display:flex}.login-brand span{border:5px solid var(--blue-500);border-radius:4px;width:24px;height:24px;transform:rotate(45deg)}.login-heading{margin:28px 0 24px}.login-heading h1,.auth-password-blocked h1{color:var(--ink-950);margin:0;font-size:30px}.login-heading p,.auth-password-blocked p,.auth-checking p{color:var(--ink-500);margin:7px 0 0}.login-card form{gap:10px;display:grid}.login-card label{color:var(--ink-700);margin-top:5px;font-weight:650}.login-card input{width:100%;min-height:50px;color:var(--ink-950);background:#fff;border:1px solid #bdc9d8;border-radius:8px;padding:11px 13px;font-size:17px}.login-card input:focus{border-color:var(--blue-500);outline:3px solid #1f6feb29}.login-card button,.auth-password-blocked button{color:#fff;background:var(--blue-600);cursor:pointer;border:0;border-radius:8px;min-height:50px;margin-top:12px;font-weight:700}.login-card button:disabled{cursor:wait;opacity:.65}.login-card button.login-secondary{border:1px solid var(--line);color:var(--ink-800);background:#fff;margin-top:2px}.login-card button.login-link{min-height:36px;color:var(--blue-700);background:0 0;margin-top:0}.login-error{color:#8d2020;background:#fff0f0;border-radius:7px;margin:3px 0 0;padding:10px 12px}.auth-checking{color:var(--ink-700);text-align:center}.auth-password-blocked section{text-align:center}.auth-forbidden-banner{color:#7d2424;background:#fff4f4;border:1px solid #f0caca;border-radius:8px;justify-content:space-between;gap:16px;margin:14px 22px 0;padding:10px 13px;display:flex}.auth-forbidden-banner button{color:inherit;cursor:pointer;background:0 0;border:0;font-weight:700}.pos-page{width:100%;padding:14px 18px 24px}.panel-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-card);box-shadow:var(--shadow-card)}.search-toolbar{grid-template-columns:minmax(360px,1fr) 114px 136px;align-items:stretch;gap:10px;padding:10px;display:grid}.product-search-form{border:1.5px solid var(--blue-500);background:#fff;border-radius:8px;align-items:center;gap:10px;min-height:54px;padding:0 14px;display:flex;box-shadow:0 0 0 2px #2680ff0f}.product-search-form:focus-within{border-color:var(--blue-600);box-shadow:var(--shadow-focus)}.product-search-form input{min-width:0;height:50px;color:var(--ink-950);background:0 0;border:0;outline:0;flex:1;font-size:16px}.product-search-form input::placeholder{color:#96a2b2;opacity:1}.barcode-icon{color:var(--blue-700);font-size:22px;line-height:1}.product-search-form kbd{border:1px solid var(--line);color:var(--ink-500);background:#f4f7fb;border-radius:5px;padding:4px 7px;font-family:inherit;font-size:12px}.search-spinner{border:2px solid #cfe0f6;border-top-color:var(--blue-600);border-radius:50%;width:16px;height:16px;animation:.7s linear infinite search-spin}@keyframes search-spin{to{transform:rotate(360deg)}}.phase-action{color:#1f5ea9;background:#f7faff;border:1px solid #bdd5f6;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:54px;padding:7px 11px;font-size:14px;font-weight:650;display:flex}.phase-action span:last-child{flex-direction:column;display:flex}.phase-action small{color:#7890ae;margin-top:1px;font-size:11px;font-weight:500}.phase-action-danger{color:#ce4242;background:snow;border-color:#f3caca}.phase-action:not(:disabled){cursor:pointer}.phase-action:not(:disabled):hover{background:var(--danger-soft)}.phase-action:disabled{cursor:not-allowed;opacity:.62}.search-feedback{min-height:27px;color:var(--ink-500);margin:0;padding:5px 10px 3px;font-size:12px}.search-feedback.is-visible{color:#1f5ea9;font-weight:600}.cart-error-alert{color:#a93636;background:var(--danger-soft);border:1px solid #f3caca;border-radius:8px;align-items:center;gap:9px;min-height:38px;margin:0 0 10px;padding:8px 11px;font-size:13px;display:flex}.cart-error-alert>span{color:#fff;background:var(--danger);border-radius:50%;flex:0 0 19px;justify-content:center;align-items:center;width:19px;height:19px;font-weight:800;display:flex}.cart-error-alert p{flex:1;margin:0}.cart-error-alert button{color:#a93636;cursor:pointer;background:0 0;border:0;width:24px;height:24px;font-size:18px}.pos-content-grid{align-items:start;gap:var(--panel-gap);grid-template-columns:minmax(0,2.25fr) minmax(360px,1fr);display:grid}.pos-primary-column,.checkout-column{gap:var(--panel-gap);flex-direction:column;min-width:0;display:flex}.section-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.compact-heading{border-bottom:1px solid var(--line-soft);padding:13px 15px}.section-heading h2{color:var(--ink-950);margin:0;font-size:16px;line-height:1.3}.section-heading p{color:var(--ink-500);margin:3px 0 0;font-size:12px}.muted-count{color:var(--ink-500);font-weight:500}.phase-label,.result-count{color:#557394;white-space:nowrap;letter-spacing:.3px;background:#f5f9fe;border:1px solid #d5e4f8;border-radius:999px;padding:4px 7px;font-size:11px;font-weight:700}.product-results{min-height:132px;overflow:hidden}.product-result-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:236px;padding:11px;display:grid;overflow-y:auto}.product-card{border:1px solid var(--line);min-width:0;min-height:124px;color:var(--ink-950);text-align:left;cursor:pointer;background:#fff;border-radius:8px;grid-template-rows:1fr auto;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:7px 9px;padding:11px;transition:border-color .14s,box-shadow .14s,transform .14s;display:grid}.product-card:hover{border-color:#a9c8f4;transform:translateY(-1px);box-shadow:0 5px 13px #23508914}.product-card:disabled{cursor:wait;opacity:.68;transform:none}.product-card:focus-visible,.product-card.is-selected{border-color:var(--blue-600);box-shadow:var(--shadow-focus);outline:0}.product-card.is-selected{background:var(--blue-50)}.product-glyph{color:#2b6dbe;background:#edf5ff;border-radius:8px;grid-row:1;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.product-glyph svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:22px;height:22px}.product-card-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.product-card-copy strong{color:var(--ink-950);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:750;line-height:1.35;display:-webkit-box;overflow:hidden}.product-card-copy small{color:var(--ink-500);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;overflow:hidden}.product-card-copy .product-brand,.product-card-copy .product-model{color:var(--ink-700);font-size:12px}.product-card-copy .product-brand{color:var(--ink-600);font-weight:500}.product-card-copy .product-brand-value{color:var(--blue-700);font-weight:650}.product-card-copy .product-model-label{color:var(--ink-600)}.product-card-copy .product-barcode{color:var(--ink-500)}.product-card-copy .product-inactive{color:var(--danger);font-weight:700}.product-meta{color:var(--ink-700);margin-top:2px;font-size:12px;font-weight:650}.product-price{color:var(--blue-700);grid-column:1/-1;font-size:16px;font-weight:800}.product-price.is-missing{color:#bd6b31;font-size:11px}.product-results-state{min-height:76px;color:var(--ink-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:14px 20px;font-size:12px;display:flex}.product-results-state strong{color:var(--ink-800);font-size:14px}.product-results-state.is-error strong{color:var(--danger)}.cart-card{overflow:hidden}.cart-table-wrap{max-height:410px;overflow:hidden auto}.cart-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0}.cart-table th{z-index:1;border-bottom:1px solid var(--line);color:var(--ink-600);background:var(--surface-muted);text-align:left;padding:11px 12px;font-size:12px;font-weight:650;position:sticky;top:0}.cart-table th:first-child{width:50px}.cart-table th:nth-child(2){width:30%}.cart-table th:nth-child(3){width:12%}.cart-table th:nth-child(4){width:132px}.cart-table th:nth-child(5),.cart-table th:nth-child(6){width:13%}.cart-table th:last-child{width:44px}.cart-table td{padding:0}.cart-item-row{border-bottom:1px solid var(--line-soft);transition:opacity .12s}.cart-item-row:last-child{border-bottom:0}.cart-item-row.is-busy{opacity:.58}.cart-item-row td{color:var(--ink-800);vertical-align:middle;padding:13px 12px;font-size:13px}.cart-item-row td:first-child{color:var(--ink-500);text-align:center}.cart-product,.discount-readonly{flex-direction:column;gap:3px;display:flex}.cart-product strong{color:var(--ink-950);font-size:14px;line-height:1.35}.cart-product small,.discount-readonly small{color:var(--ink-500);font-size:11px;line-height:1.3}.quantity-control{border:1px solid var(--line);border-radius:6px;grid-template-columns:34px 42px 34px;align-items:center;width:max-content;display:grid;overflow:hidden}.quantity-control button{height:36px;color:var(--blue-700);cursor:pointer;background:#f8fbff;border:0;font-size:18px}.quantity-control button:hover:not(:disabled){background:var(--blue-100)}.quantity-control button:disabled{cursor:wait;opacity:.5}.quantity-control strong{text-align:center;min-width:42px;font-size:13px}.cart-line-total{white-space:nowrap;font-size:14px;font-weight:700;color:var(--ink-950)!important}.remove-item-button{color:#d05757;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;width:32px;height:32px;font-size:18px}.remove-item-button:hover:not(:disabled){background:var(--danger-soft);border-color:#f3cccc}.remove-item-button:disabled{cursor:wait;opacity:.45}.cart-empty-state{min-height:210px;color:var(--ink-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:22px;font-size:12px;display:flex}.cart-empty-state strong{color:var(--ink-800);font-size:15px}.empty-cart-icon{color:#91a6c0;font-size:28px}.customer-notes-grid{gap:var(--panel-gap);grid-template-columns:1fr 1fr;display:grid}.customer-panel,.sale-notes{min-height:206px;overflow:hidden}.selected-customer-card{background:var(--blue-50);border:1px solid #d5e4f8;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;margin:12px 14px 10px;padding:11px 12px;display:flex}.selected-customer-card>div{flex-direction:column;gap:2px;min-width:0;display:flex}.selected-customer-card strong{color:var(--ink-900);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.selected-customer-card span{color:var(--ink-500);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.selected-customer-card button,.customer-search-form button,.inline-save-control button{min-height:38px;color:var(--blue-700);cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #bcd5f5;border-radius:6px;padding:0 12px;font-size:12px;font-weight:650}.customer-search-form{padding:0 14px 11px}.customer-search-form>label,.metadata-controls>label{color:var(--ink-600);flex-direction:column;gap:4px;font-size:12px;font-weight:650;display:flex}.customer-search-form>div,.inline-save-control{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.customer-search-form input,.customer-form-grid input,.customer-form-grid select,.metadata-controls input,.metadata-controls select{border:1px solid var(--line);min-width:0;height:40px;color:var(--ink-900);font:inherit;background:#fff;border-radius:6px;outline:0;padding:0 10px}.customer-search-form input:focus,.customer-form-grid input:focus,.customer-form-grid select:focus,.metadata-controls input:focus,.metadata-controls select:focus,.sale-notes textarea:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.customer-results{border:1px solid var(--line);border-radius:7px;flex-direction:column;max-height:150px;margin:0 14px 11px;display:flex;overflow-y:auto}.customer-results button{border:0;border-bottom:1px solid var(--line-soft);color:var(--ink-900);text-align:left;cursor:pointer;background:#fff;flex-direction:column;gap:2px;padding:10px 11px;display:flex}.customer-results button:last-child{border-bottom:0}.customer-results button:hover:not(:disabled){background:var(--blue-50)}.customer-results strong{font-size:13px}.customer-results span{color:var(--ink-500);font-size:11px}.metadata-message{color:var(--blue-700);margin:0;font-size:11px;line-height:1.4}.customer-panel>.metadata-message{padding:0 14px 11px}.customer-dialog-backdrop{z-index:100;background:#07182d94;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.customer-dialog{background:#fff;border-radius:12px;width:min(720px,100%);max-height:calc(100vh - 60px);padding:18px;overflow-y:auto;box-shadow:0 24px 70px #0413274d}.customer-dialog-heading,.customer-dialog-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-dialog-heading h3{color:var(--ink-950);margin:0;font-size:16px}.customer-dialog-heading p{color:var(--ink-500);margin:3px 0 0;font-size:12px}.customer-dialog-heading>button{width:32px;height:32px;color:var(--ink-600);background:var(--surface-muted);cursor:pointer;border:0;border-radius:7px;font-size:20px}.customer-form-grid{grid-template-columns:1fr 1fr;gap:11px 12px;margin:16px 0;display:grid}.customer-form-grid label{color:var(--ink-700);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.customer-dialog-actions{border-top:1px solid var(--line-soft);justify-content:flex-end;padding-top:13px}.customer-dialog-actions button{border:1px solid var(--line);min-height:36px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;padding:0 14px;font-size:12px;font-weight:650}.customer-dialog-actions button[type=submit]{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.phase-disabled-panel>label{color:var(--ink-600);padding:10px 12px 4px;font-size:12px;font-weight:650;display:block}.phase-disabled-panel select,.sale-notes textarea{border:1px solid var(--line);color:#8490a0;background:#f8fafc;border-radius:7px;width:calc(100% - 24px);margin:0 12px}.phase-disabled-panel select{height:40px;padding:0 9px;font-size:12px}.compact-heading button{min-height:30px;color:var(--blue-600);background:0 0;border:0;padding:4px 9px;font-size:12px}.compact-heading button:disabled{color:#97a4b4}.customer-empty-details{color:var(--ink-500);grid-template-columns:1fr 1fr;gap:6px 12px;padding:12px 14px;font-size:11px;display:grid}.customer-empty-details span:last-child{grid-column:1/-1}.customer-empty-details strong{color:#8e99a7;margin-left:5px}.sale-notes textarea{resize:none;height:112px;color:var(--ink-900);background:#fff;outline:0;padding:11px;font-size:13px}.notes-footer{color:var(--ink-500);justify-content:space-between;align-items:center;gap:8px;padding:7px 14px 11px;font-size:11px;display:flex}.metadata-controls{border-bottom:1px solid var(--line-soft);background:#fbfcfe;gap:11px;padding:12px 14px;display:grid}.metadata-controls .toggle-control{color:var(--ink-800);flex-direction:row;align-items:center;gap:9px;font-size:12px}.metadata-controls .toggle-control>span{flex-direction:column;gap:2px;display:flex}.metadata-controls .toggle-control strong{color:var(--ink-900);font-size:14px}.metadata-controls .toggle-control small{color:var(--ink-500);font-size:11px;font-weight:500}.metadata-controls .toggle-control input{width:18px;height:18px;accent-color:var(--blue-600);padding:0}.metadata-controls input:disabled,.metadata-controls select:disabled,.metadata-controls button:disabled,.customer-panel button:disabled{cursor:not-allowed;opacity:.55}.summary-message{padding:8px 12px 0}.legacy-vat-warning{color:#8a5b13;background:#fff8e8;border:1px solid #f0d49b;border-radius:6px;margin:0;padding:8px 9px;font-size:11px;line-height:1.45}.summary-rows{flex-direction:column;gap:11px;padding:12px 15px;display:flex}.summary-row{color:var(--ink-600);justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.summary-row strong{color:var(--ink-800);font-size:14px;font-weight:600}.summary-total{border-top:1px solid var(--line);color:var(--ink-950);justify-content:space-between;align-items:center;margin:0 15px 15px;padding:14px 0 0;font-size:16px;font-weight:700;display:flex}.summary-total strong{color:var(--blue-700);font-size:28px}.payment-methods{grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 14px;display:grid}.payment-methods button{border:1px solid var(--line);color:#526176;background:#f4f7fa;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:60px;padding:8px 4px;font-size:12px;display:flex}.payment-methods button span{font-size:18px}.payment-methods button small{color:var(--ink-500);font-size:10px}.payment-methods button.is-active{color:#18734c;cursor:pointer;background:#eefaf4;border-color:#77b79a}.payment-methods button.is-active small{color:#3c8464}.payment-methods button:disabled,.checkout-button:disabled,.print-button:disabled{cursor:not-allowed}.payment-methods button:disabled{opacity:.74}.cash-payment-form{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;flex-direction:column;gap:10px;margin:0 14px 12px;padding:12px;display:flex}.cash-total-row,.cash-change-row{color:var(--ink-600);justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.cash-total-row strong{color:var(--ink-900);font-size:16px}.cash-payment-form>label{color:var(--ink-700);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.cash-payment-form input{border:1px solid var(--line);width:100%;height:46px;color:var(--ink-950);text-align:right;background:#fff;border-radius:7px;outline:0;padding:0 12px;font-size:18px;font-weight:700}.cash-payment-form input:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.cash-payment-form input:disabled{color:var(--ink-500);background:var(--surface-muted);cursor:not-allowed}.manual-payment-fields{flex-direction:column;gap:10px;display:flex}.manual-payment-notice{color:var(--blue-700);background:var(--blue-50);border:1px solid #bcd5f5;border-radius:7px;margin:0;padding:9px 10px;font-size:12px;line-height:1.45}.manual-payment-total{color:var(--ink-600);justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.manual-payment-total strong{color:var(--blue-700);font-size:20px}.manual-payment-fields label{color:var(--ink-700);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.manual-payment-fields label small{color:var(--ink-500);align-self:flex-end;font-size:10px;font-weight:500}.cash-quick-amounts{flex-wrap:wrap;gap:6px;display:flex}.cash-quick-amounts button,.reconcile-button{min-height:34px;color:var(--blue-700);cursor:pointer;background:#fff;border:1px solid #bcd5f5;border-radius:6px;padding:0 10px;font-size:11px;font-weight:650}.cash-quick-amounts button:hover:not(:disabled),.reconcile-button:hover:not(:disabled){background:var(--blue-50)}.cash-change-row{border-top:1px solid var(--line-soft);padding-top:10px}.cash-change-row strong{color:#17824f;font-size:18px}.cash-change-row.has-shortage strong{color:var(--danger)}.payment-message{color:#8a5b13;background:#fff8e8;border:1px solid #f0d49b;border-radius:6px;margin:0;padding:8px 9px;font-size:11px;line-height:1.45}.reconcile-button{width:100%}.checkout-button,.print-button{color:#fff;opacity:1;background:linear-gradient(135deg,#2d78d8,#245fac);border:0;border-radius:7px;width:calc(100% - 24px);min-height:50px;margin:0 12px 12px;font-size:15px;font-weight:700}.checkout-button:disabled,.print-button:disabled{opacity:.58}.checkout-button span{font-size:12px}.payment-dialog-backdrop{z-index:120;background:#07182da8;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.payment-dialog{background:#fff;border-radius:12px;width:min(520px,100%);max-height:calc(100vh - 48px);padding:20px;overflow-y:auto;box-shadow:0 24px 70px #04132757}.payment-dialog-heading>div{align-items:center;gap:12px;display:flex}.payment-dialog-heading h3,.payment-dialog-heading p{margin:0}.payment-dialog-heading h3{color:var(--ink-950);font-size:18px}.payment-dialog-heading p{color:var(--ink-500);margin-top:3px;font-size:12px}.payment-dialog-icon{color:#fff;background:#23855b;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-size:22px;font-weight:750;display:flex}.payment-confirm-details,.success-details{flex-direction:column;margin:18px 0 12px;display:flex}.payment-confirm-details>div,.success-details>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:9px 0;display:flex}.payment-confirm-details dt,.success-details dt{color:var(--ink-600);font-size:13px}.payment-confirm-details dd,.success-details dd{color:var(--ink-900);text-align:right;margin:0;font-size:14px;font-weight:650}.payment-confirm-details .is-emphasized dd{color:var(--blue-700);font-size:20px}.payment-confirm-details .is-change dd,.success-details .is-change dd{color:#17824f;font-size:18px}.payment-authority-note,.success-readonly-note{color:var(--ink-600);background:var(--surface-muted);border-radius:7px;margin:0 0 16px;padding:9px 10px;font-size:11px;line-height:1.5}.payment-dialog-actions{grid-template-columns:1fr 1.4fr;gap:9px;display:grid}.payment-dialog-actions button{border:1px solid var(--line);min-height:44px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;font-size:13px;font-weight:700}.payment-dialog-actions .confirm-payment-button{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.payment-dialog-actions button:disabled{cursor:not-allowed;opacity:.58}.sale-complete-success{text-align:center;padding:22px 18px 18px}.success-mark{color:#fff;background:#23855b;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin:0 auto 10px;font-size:28px;font-weight:800;display:flex;box-shadow:0 8px 20px #23855b38}.sale-complete-success h2{color:var(--ink-950);margin:0;font-size:21px}.success-sale-number{color:var(--blue-700);margin:4px 0 0;font-size:13px;font-weight:700}.reconciled-badge{color:#18734c;background:#e8f7ef;border-radius:999px;width:max-content;margin:9px auto 0;padding:5px 8px;font-size:11px;font-weight:650}.success-details{text-align:left}.start-new-sale-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2d78d8,#245fac);border:0;border-radius:7px;width:100%;min-height:48px;font-size:14px;font-weight:750}.held-sales{overflow:hidden}.held-sales-compact{min-height:64px;color:var(--ink-500);background:var(--surface-muted);align-items:center;gap:11px;padding:11px 15px;display:flex}.held-sales-icon{color:#75869c;background:#e8edf3;border-radius:8px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;font-size:15px;font-weight:750;display:flex}.held-sales-compact>div{flex:1;min-width:0}.held-sales-compact h2,.held-sales-compact p{margin:0}.held-sales-compact h2{color:var(--ink-700);font-size:14px}.held-sales-compact p{margin-top:2px;font-size:11px}.held-sales-compact .phase-label{color:#788698;white-space:nowrap;background:#fff;border:1px solid #d7dee7;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:650}.held-sales-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;min-height:56px;padding:10px 14px;display:flex}.held-sales-heading h2,.held-sales-heading p{margin:0}.held-sales-heading h2{color:var(--ink-900);font-size:14px}.held-sales-heading p{color:var(--ink-500);margin-top:2px;font-size:11px}.held-sales-state{min-height:58px;color:var(--ink-500);text-align:center;margin:0;padding:18px 14px;font-size:12px}.held-sales-state.is-error{color:var(--danger)}.held-sales-list{max-height:250px;overflow-y:auto}.held-sale-row{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:62px;padding:9px 12px;display:grid}.held-sale-row:last-child{border-bottom:0}.held-sale-main,.held-sale-meta{flex-direction:column;gap:2px;min-width:0;display:flex}.held-sale-main strong{color:var(--blue-700);font-size:12px}.held-sale-main span,.held-sale-meta span{color:var(--ink-700);font-size:11px}.held-sale-main small{color:var(--ink-500);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.held-sale-meta{align-items:flex-end}.held-sale-meta strong{color:var(--ink-900);font-size:12px}.held-sale-meta small{color:var(--ink-500);white-space:nowrap;font-size:10px}.held-sale-row button{min-height:30px;color:var(--blue-700);cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #bcd5f5;border-radius:6px;padding:0 9px;font-size:11px;font-weight:700}.held-sale-row button:disabled{cursor:not-allowed;opacity:.55}.phase-action:not(.phase-action-danger):not(:disabled):hover{background:var(--blue-50)}.receipt-panel{overflow:hidden}.receipt-toggle{white-space:nowrap}.receipt-preview-body{border-top:1px solid var(--line-soft)}.receipt-paper{background:linear-gradient(90deg,#f6f7f9 0 24px,#0000 24px calc(100% - 24px),#f6f7f9 calc(100% - 24px)),#fff;border:1px solid #d8dee7;justify-content:center;align-items:center;min-height:260px;margin:12px;display:flex;position:relative;box-shadow:inset 0 0 18px #1f314908}.receipt-paper:before,.receipt-paper:after{content:"";background:radial-gradient(circle,#aeb8c5 0 3px,#0000 3.5px) 50% 4px/9px 28px repeat-y;width:9px;position:absolute;inset:0 auto 0 7px}.receipt-paper:after{inset:0 7px 0 auto}.paper-hole{display:none}.receipt-empty{max-width:220px;color:var(--ink-500);text-align:center;flex-direction:column;align-items:center;gap:7px;padding:28px 20px;display:flex}.receipt-empty strong{color:var(--ink-800);font-size:14px}.receipt-empty p{margin:0;font-size:12px;line-height:1.5}.receipt-empty small{color:#9ca7b5;font-size:11px;line-height:1.5}.receipt-icon{color:#8da2bb;margin-bottom:3px;font-size:28px}.printer-placeholder{grid-template-columns:78px minmax(0,1fr);align-items:center;gap:8px;padding:0 12px 10px;display:grid}.printer-placeholder label{color:var(--ink-600);font-size:12px;font-weight:650}.printer-placeholder select{border:1px solid var(--line);color:#8995a4;background:#f8fafc;border-radius:7px;width:100%;height:40px;padding:0 8px;font-size:12px}@media (width>=1700px){.pos-page{padding:18px 22px 28px}.pos-content-grid{grid-template-columns:minmax(0,2.4fr) minmax(390px,1fr);gap:16px}}@media (width<=1420px){.pos-content-grid{grid-template-columns:minmax(0,2.25fr) minmax(340px,1fr)}.product-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1080px){.search-toolbar{grid-template-columns:minmax(260px,1fr) 96px 112px}.pos-content-grid{grid-template-columns:1fr}.checkout-column{grid-template-columns:1fr 1fr;align-items:start;display:grid}.receipt-panel{grid-column:1/-1}}@media (width<=760px){.pos-page{padding:12px}.search-toolbar{grid-template-columns:1fr 1fr}.product-search-form{grid-column:1/-1}.product-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-notes-grid,.checkout-column{grid-template-columns:1fr}.receipt-panel{grid-column:auto}.cart-table-wrap{overflow-x:auto}.cart-table{min-width:720px}.held-sales-compact{align-items:flex-start}.held-sales-compact .phase-label{display:none}}@media (width<=480px){.product-result-grid{grid-template-columns:1fr}.search-toolbar{gap:8px}.product-search-form input{font-size:13px}}@media (prefers-reduced-motion:reduce){.search-spinner{animation-duration:1.8s}.product-card{transition:none}}.success-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.view-receipt-button{border:1px solid var(--blue-600);width:100%;min-height:48px;color:var(--blue-700);cursor:pointer;background:#fff;border-radius:7px;font-size:14px;font-weight:750}.view-receipt-button:hover{background:var(--blue-50)}.receipt-compact-placeholder{border-top:1px solid var(--line-soft);min-height:54px;color:var(--ink-500);background:var(--surface-muted);align-items:center;gap:9px;padding:10px 15px;font-size:11px;display:flex}.receipt-compact-placeholder .receipt-icon{margin:0;font-size:20px}.receipt-paper{color:#161616;background:#fff;border:1px solid #cdd3db;min-height:0;margin:10px;display:block;box-shadow:0 2px 10px #1f31490d}.receipt-paper:before,.receipt-paper:after{content:none}.receipt-document{padding:16px 12px;font-family:Arial,Tahoma,sans-serif;font-size:10px;line-height:1.4}.receipt-document-header{text-align:center;padding-bottom:10px}.receipt-document-header h3,.receipt-document-header h4,.receipt-document-header p{margin:0}.receipt-document-header h3{font-size:15px}.receipt-document-header h4{margin-top:10px;font-size:13px}.receipt-document-meta,.receipt-totals,.receipt-payment-summary{margin:0}.receipt-document-meta{border-top:1px solid #555;border-bottom:1px solid #555;padding:8px 0}.receipt-document-meta>div,.receipt-totals>div,.receipt-payment-summary>div{justify-content:space-between;gap:10px;display:flex}.receipt-document-meta dt,.receipt-totals dt,.receipt-payment-summary dt{color:inherit}.receipt-document-meta dd,.receipt-totals dd,.receipt-payment-summary dd{text-align:right;font-variant-numeric:tabular-nums;margin:0}.receipt-snapshot-warning{color:#333;background:#f6f6f6;border:1px solid #777;margin:0 0 8px;padding:6px 7px;font-size:9px;line-height:1.4}.receipt-customer{border-bottom:1px solid #777;padding:8px 0}.receipt-customer h5,.receipt-payments h5{margin:0 0 4px;font-size:10px}.receipt-customer p{margin:0}.receipt-item-table-wrap{width:100%;overflow-x:auto}.receipt-item-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:9px}.receipt-item-table th,.receipt-item-table td{vertical-align:top;border-bottom:1px solid #999;padding:5px 2px}.receipt-item-table th{text-align:left;font-weight:700}.receipt-item-table th:first-child{width:5%}.receipt-item-table th:nth-child(2){width:29%}.receipt-item-table th:nth-child(3){width:10%}.receipt-item-table th:nth-child(4){width:9%}.receipt-item-table th:nth-child(5){width:17%}.receipt-item-table th:nth-child(6){width:14%}.receipt-item-table th:nth-child(7){width:16%}.receipt-item-table .is-number{text-align:right;font-variant-numeric:tabular-nums}.receipt-item-table td strong{overflow-wrap:anywhere;display:block}.receipt-item-table td small{color:#555;overflow-wrap:anywhere;display:block}.receipt-totals{border-bottom:1px solid #555;padding:8px 0}.receipt-totals>div{padding:1px 0}.receipt-grand-total{border-top:1px solid #555;margin-top:5px;font-size:13px;font-weight:800;padding-top:5px!important}.receipt-payments{padding-top:8px}.receipt-payment-row{justify-content:space-between;align-items:flex-start;gap:10px;padding:3px 0;display:flex}.receipt-payment-row>div{min-width:0}.receipt-payment-row small{color:#444;overflow-wrap:anywhere;display:block}.receipt-payment-row>span{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.receipt-payment-summary{border-top:1px dashed #777;margin-top:5px;padding-top:5px}.receipt-footer{text-align:center;white-space:pre-line;border-top:1px solid #555;margin-top:12px;padding-top:8px}.receipt-icon{color:#6c7784}.printer-placeholder{padding:0 10px 9px}.printer-placeholder select{height:38px;font-size:11px}.print-receipt-link,.receipt-preview-route-action a{border:1px solid var(--blue-600);min-height:48px;color:var(--blue-700);text-align:center;background:#fff;border-radius:7px;justify-content:center;align-items:center;padding:0 12px;font-size:14px;font-weight:750;text-decoration:none;display:inline-flex}.print-receipt-link:hover,.receipt-preview-route-action a:hover{background:var(--blue-50)}.success-actions .start-new-sale-button{grid-column:1/-1}.receipt-preview-route-action{padding:0 10px 10px}.receipt-preview-route-action a{width:100%}.receipt-page{--receipt-screen-paper-width:760px;--receipt-print-content-width:100%;color:#111;background:#edf1f5;min-height:100vh;padding:24px}.receipt-paper-profile-continuous{--receipt-screen-paper-width:760px;--receipt-print-content-width:100%}.receipt-paper-profile-a4{--receipt-screen-paper-width:210mm;--receipt-print-content-width:190mm}.receipt-page-controls{width:min(100%, var(--receipt-screen-paper-width));border:1px solid var(--line);background:#fff;border-radius:9px;justify-content:space-between;align-items:center;gap:16px;margin:0 auto 14px;padding:12px 14px;display:flex;box-shadow:0 4px 16px #1f314912}.receipt-page-controls>div:first-child{flex-direction:column;min-width:0;display:flex}.receipt-page-controls strong{color:var(--ink-950);font-size:14px}.receipt-page-controls span{color:var(--ink-500);font-size:11px}.receipt-page-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.receipt-page-actions a,.receipt-page-actions button,.receipt-page-state a{color:#263445;cursor:pointer;background:#fff;border:1px solid #9aa6b5;border-radius:6px;justify-content:center;align-items:center;min-height:38px;padding:0 13px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.receipt-page-actions button:first-of-type{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.receipt-page-paper{width:min(100%, var(--receipt-screen-paper-width));background:#fff;border:1px solid #bbc2cb;margin:0 auto;box-shadow:0 8px 30px #1f31491f}.receipt-page-paper .receipt-document{padding:14mm 12mm;font-size:12px}.receipt-page-paper .receipt-item-table{font-size:11px}.receipt-print-note{width:min(100%, var(--receipt-screen-paper-width));color:#647184;text-align:center;margin:10px auto 0;font-size:11px}.receipt-page-state{place-items:center;display:grid}.receipt-page-state>section{border:1px solid var(--line);text-align:center;background:#fff;border-radius:10px;width:min(520px,100%);padding:28px}.receipt-page-state h1{color:var(--ink-950);margin:0;font-size:20px}.receipt-page-state p{color:var(--ink-600);margin:8px 0 18px}@media (width<=720px){.receipt-page{padding:12px}.receipt-page-controls{flex-direction:column;align-items:flex-start}.receipt-page-actions{justify-content:flex-start;width:100%}.receipt-page-paper .receipt-document{padding:18px 12px}}@page{size:auto;margin:8mm}@media print{html,body,#root{width:100%;min-width:0;min-height:0;margin:0;background:#fff!important}.receipt-screen-only{display:none!important}.receipt-page{color:#000;width:100%;min-height:0;padding:0;background:#fff!important}.receipt-page-paper{width:var(--receipt-print-content-width);max-width:none;box-shadow:none;border:0;margin:0 auto;background:#fff!important}.receipt-page-paper .receipt-document{color:#000;padding:0;font-family:Tahoma,Noto Sans Thai,Arial,sans-serif;font-size:10pt;line-height:1.32}.receipt-page-paper .receipt-item-table{font-size:9pt}.receipt-page-paper .receipt-document-header{padding-bottom:5px}.receipt-page-paper .receipt-document-header h3{font-size:14pt}.receipt-page-paper .receipt-document-header h4{margin-top:5px;font-size:12pt}.receipt-page-paper .receipt-document-meta{border-top:1px solid #000;border-bottom:0;padding:5px 0}.receipt-page-paper .receipt-customer{border-bottom:0;padding:4px 0 5px}.receipt-page-paper .receipt-customer h5,.receipt-page-paper .receipt-payments h5{margin-bottom:2px;font-size:10pt}.receipt-page-paper .receipt-item-table-wrap{overflow:visible}.receipt-page-paper .receipt-item-table th,.receipt-page-paper .receipt-item-table td{vertical-align:top;border:0}.receipt-page-paper .receipt-item-table th{border-top:1px solid #000;border-bottom:1px solid #000;padding:4px 2px}.receipt-page-paper .receipt-item-table td{padding:3px 2px}.receipt-page-paper .receipt-item-table td strong{font-size:9.5pt;line-height:1.3}.receipt-page-paper .receipt-item-table td small{font-size:8pt;line-height:1.25}.receipt-page-paper .receipt-totals{border-top:1px solid #000;border-bottom:0;margin-top:3px;padding:5px 0 2px}.receipt-page-paper .receipt-totals>div{padding:0}.receipt-page-paper .receipt-grand-total{border-top:0;margin-top:2px;font-size:13pt;font-weight:800;padding-top:2px!important}.receipt-page-paper .receipt-payments{padding-top:5px}.receipt-page-paper .receipt-payment-row{padding:1px 0}.receipt-page-paper .receipt-payment-summary{border-top:0;margin-top:2px;padding-top:2px}.receipt-page-paper .receipt-footer{margin-top:7px;padding-top:5px}.receipt-page-paper *,.receipt-page-paper :before,.receipt-page-paper :after{color:#000!important;box-shadow:none!important;text-shadow:none!important;background:0 0!important}.receipt-page-paper tr,.receipt-page-paper .receipt-payment-row,.receipt-page-paper .receipt-grand-total,.receipt-page-paper .receipt-totals,.receipt-page-paper .receipt-payments{break-inside:avoid;page-break-inside:avoid}.receipt-page-paper thead{display:table-header-group}.receipt-page-paper .receipt-snapshot-warning{border:1px solid #555}}.navigation-item[href]{cursor:pointer;text-decoration:none}.navigation-item[href]:hover:not(.is-active){background:#ffffff12}.sales-history-page,.sale-detail-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.sales-history-filters form{grid-template-columns:minmax(280px,1.8fr) minmax(150px,.7fr) minmax(150px,.7fr) auto;align-items:end;gap:10px;display:grid}.sales-history-filters label{min-width:0;color:var(--ink-700);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.sales-history-filters input{border:1px solid var(--line);width:100%;height:40px;color:var(--ink-950);background:#fff;border-radius:7px;outline:0;padding:0 10px}.sales-history-filters input:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.sales-search-field small{color:var(--ink-500);font-size:10px;font-weight:500}.sales-filter-actions{flex-wrap:wrap;gap:6px;display:flex}.sales-filter-actions button,.sales-pagination button,.sales-history-state button{border:1px solid var(--line);min-height:40px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;padding:0 12px;font-size:12px;font-weight:700}.sales-filter-actions .is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.sales-timezone-note,.sales-history-error{margin:8px 0 0;font-size:11px}.sales-timezone-note{color:var(--ink-500)}.sales-history-error{color:var(--danger);font-weight:650}.sales-history-table-card{overflow:hidden}.sales-history-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:13px 15px;display:flex}.sales-history-heading h2,.sales-history-heading p{margin:0}.sales-history-heading h2{color:var(--ink-950);font-size:16px}.sales-history-heading p{color:var(--ink-500);margin-top:3px;font-size:11px}.sales-history-heading>strong{color:var(--blue-700);white-space:nowrap;font-size:13px}.sales-history-table-wrap,.sale-detail-table-wrap{overflow-x:auto}.sales-history-table,.sale-detail-table{border-collapse:collapse;table-layout:fixed;width:100%}.sales-history-table th,.sales-history-table td,.sale-detail-table th,.sale-detail-table td{border-bottom:1px solid var(--line-soft);color:var(--ink-700);text-align:left;vertical-align:middle;padding:10px 9px;font-size:12px}.sales-history-table th,.sale-detail-table th{color:var(--ink-600);background:#f7f9fc;font-size:11px;font-weight:750}.sales-history-table .is-number,.sale-detail-table .is-number{text-align:right;font-variant-numeric:tabular-nums}.history-status-badge{color:#18734c;white-space:nowrap;background:#edf9f3;border:1px solid #b7ddca;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:750}.history-row-actions{gap:5px;display:flex}.history-row-actions a,.sale-detail-actions a,.sale-detail-state a{min-height:32px;color:var(--blue-700);white-space:nowrap;background:#fff;border:1px solid #bcd5f5;border-radius:6px;justify-content:center;align-items:center;padding:0 9px;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex}.sales-history-state{min-height:240px;color:var(--ink-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:30px;font-size:12px;display:flex}.sales-history-state strong{color:var(--ink-800);font-size:14px}.sales-history-state.is-error strong{color:var(--danger)}.sales-pagination{justify-content:flex-end;align-items:center;gap:10px;min-height:58px;padding:9px 14px;display:flex}.sales-pagination span{color:var(--ink-600);font-size:12px}.sales-pagination button:disabled{cursor:not-allowed;opacity:.5}.sale-detail-topbar{justify-content:space-between;align-items:center;gap:18px;padding:15px 17px;display:flex}.sale-detail-topbar a{color:var(--blue-700);font-size:11px;font-weight:650;text-decoration:none}.sale-detail-topbar h2,.sale-detail-topbar p{margin:0}.sale-detail-topbar h2{color:var(--ink-950);margin-top:3px;font-size:19px}.sale-detail-topbar p{color:var(--ink-500);margin-top:3px;font-size:12px}.sale-detail-actions{align-items:center;gap:8px;display:flex}.sale-detail-actions a{min-height:38px;padding-inline:12px}.sale-detail-warning{color:#78561e;background:#fff9ea;border:1px solid #dfca9b;border-radius:7px;margin:0;padding:9px 11px;font-size:11px}.sale-detail-grid,.sale-detail-bottom-grid{grid-template-columns:1fr 1fr;align-items:start;gap:14px;display:grid}.sale-detail-customer,.sale-detail-note,.sale-detail-payments,.sale-detail-totals,.sale-detail-items{padding:14px 15px}.sale-detail-page h3{color:var(--ink-900);margin:0 0 10px;font-size:14px}.sale-detail-customer dl,.sale-detail-payment-summary,.sale-detail-totals dl{margin:0}.sale-detail-customer dl>div,.sale-detail-payment-summary>div,.sale-detail-totals dl>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;gap:14px;padding:7px 0;display:flex}.sale-detail-customer dt,.sale-detail-payment-summary dt,.sale-detail-totals dt{color:var(--ink-600);font-size:12px}.sale-detail-customer dd,.sale-detail-payment-summary dd,.sale-detail-totals dd{color:var(--ink-900);text-align:right;margin:0;font-size:12px;font-weight:650}.sale-detail-note>p{min-height:90px;color:var(--ink-700);white-space:pre-wrap;margin:0;font-size:12px}.sale-detail-table{min-width:850px}.sale-detail-table td strong,.sale-detail-table td small{display:block}.sale-detail-table td small{color:var(--ink-500);margin-top:2px;font-size:10px}.sale-detail-payment-row{border-bottom:1px solid var(--line-soft);color:var(--ink-800);justify-content:space-between;align-items:flex-start;gap:14px;padding:8px 0;font-size:12px;display:flex}.sale-detail-payment-row small{color:var(--ink-500);margin-top:2px;font-size:10px;display:block}.sale-detail-payment-row>span{font-weight:700}.sale-detail-payment-summary{margin-top:8px}.sale-detail-grand-total{border-top:1px solid var(--ink-400);margin-top:5px;border-bottom:0!important}.sale-detail-grand-total dt,.sale-detail-grand-total dd{color:var(--blue-700)!important;font-size:17px!important;font-weight:800!important}.sale-detail-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:30px;display:flex}.sale-detail-state h2,.sale-detail-state p{margin:0}.sale-detail-state p{color:var(--ink-500);margin:6px 0 15px;font-size:12px}@media (width<=1260px){.sales-history-filters form{grid-template-columns:minmax(260px,1fr) 160px 160px}.sales-filter-actions{grid-column:1/-1}}@media (width<=900px){.sales-history-page,.sale-detail-page{padding:14px}.sales-history-filters form,.sale-detail-grid,.sale-detail-bottom-grid{grid-template-columns:1fr}.sales-filter-actions{grid-column:auto}.sale-detail-topbar{flex-direction:column;align-items:flex-start}}.sales-history-page{gap:11px;padding:14px 18px 24px}.sales-history-filters{padding:10px 12px 9px}.sales-history-filters form{grid-template-columns:minmax(270px,330px) 150px 150px auto;justify-content:start;gap:8px}.sales-history-filters label{gap:3px;font-size:11px}.sales-history-filters input{height:36px;padding-inline:9px;font-size:12px}.sales-filter-actions{flex-wrap:nowrap;gap:5px}.sales-filter-actions button,.sales-pagination button,.sales-history-state button{min-height:36px;padding-inline:10px;font-size:11px}.sales-filter-actions button:first-child{color:var(--blue-700);background:var(--blue-50);border-color:#bcd5f5}.sales-filter-actions .is-primary{min-width:72px}.sales-filter-actions .is-tertiary{color:var(--ink-600);background:#fff;border-color:#d8dee7;font-weight:650}.sales-filter-helper{color:var(--ink-500);flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:10px;line-height:1.35;display:flex}.sales-filter-helper span+span:before{color:#c3cad3;content:"•";margin-right:14px}.sales-history-error{margin-top:5px;font-size:10px}.sales-history-heading{gap:12px;min-height:58px;padding:10px 13px}.sales-history-heading h2{font-size:15px}.sales-history-heading p{margin-top:2px;font-size:10px}.sales-result-count{background:#f4f9ff;border:1px solid #cfe1f8;border-radius:999px;padding:4px 8px;font-size:11px!important}.sales-history-table th,.sales-history-table td{padding:7px 8px;font-size:11.5px}.sales-history-table th{height:34px;color:var(--ink-700);background:#f5f7fa;font-size:10.5px}.sales-history-table tbody tr{min-height:42px}.sales-history-table tbody tr:hover{background:#fafcff}.sales-history-table td:first-child{color:var(--ink-600);white-space:nowrap;font-variant-numeric:tabular-nums}.sales-history-table td:nth-child(2) strong{color:var(--ink-950);font-size:12px;font-weight:750}.sales-history-table td:nth-child(3){color:var(--ink-600)}.history-money{font-weight:800;color:var(--ink-950)!important}.history-missing-data{color:#8a6d3b;font-size:10px}.history-status-badge{padding:3px 6px;font-size:9.5px}.history-row-actions{gap:4px}.history-row-actions a{border-color:#c7d9ef;min-height:28px;padding-inline:7px;font-size:10px}.history-row-actions a:last-child{color:#315f91;background:#f8fbff}.sales-history-state{min-height:200px;padding:24px}.sales-pagination{gap:8px;min-height:48px;padding:7px 12px}.sales-pagination button{min-height:32px;padding-inline:9px}.sales-pagination button:disabled{color:#9ba5b2;opacity:.72;background:#f5f7f9}.sales-pagination span{text-align:center;min-width:82px;font-size:11px}@media (width<=1050px){.sales-history-filters form{grid-template-columns:minmax(240px,1fr) 145px 145px}.sales-filter-actions{grid-column:1/-1}}@media (width<=700px){.sales-history-page{padding:10px}.sales-history-filters form{grid-template-columns:1fr}.sales-filter-actions{flex-wrap:wrap;grid-column:auto}.sales-filter-helper{flex-direction:column}.sales-filter-helper span+span:before{content:none}}.sales-history-table{min-width:1045px}.sales-history-table th:first-child{width:135px}.sales-history-table th:nth-child(2){width:165px}.sales-history-table th:nth-child(3){width:180px}.sales-history-table th:nth-child(4){width:75px}.sales-history-table th:nth-child(5){width:115px}.sales-history-table th:nth-child(6){width:135px}.sales-history-table th:nth-child(7){width:90px}.sales-history-table th:nth-child(8){width:150px}.sales-history-table td:first-child{color:var(--ink-700);font-size:11.5px;font-weight:550;line-height:1.35}.sales-history-table th:nth-child(7),.sales-history-table td:nth-child(7){text-align:center}.history-row-actions{flex-wrap:nowrap;align-items:center}.customers-page,.customer-detail-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.customer-search-card{padding:14px}.customer-search-card form{grid-template-columns:minmax(280px,1fr) auto auto;align-items:end;gap:9px;display:grid}.customer-search-card label,.customer-edit-form label{color:var(--ink-700);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.customer-search-card input,.customer-edit-form input,.customer-edit-form select,.customer-edit-form textarea{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink-950);background:#fff;border-radius:7px;outline:0;padding:8px 10px}.customer-search-card input:focus,.customer-edit-form input:focus,.customer-edit-form select:focus,.customer-edit-form textarea:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.customer-search-card button,.customer-detail-topbar button,.customer-edit-actions button,.customer-pagination button{border:1px solid var(--line);min-height:40px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;padding:0 13px;font-size:12px;font-weight:700}.customer-search-card .is-primary,.customer-edit-actions .is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.customer-list-card,.customer-history-card{overflow:hidden}.customer-section-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:13px 15px;display:flex}.customer-section-heading h2,.customer-section-heading p{margin:0}.customer-section-heading h2{color:var(--ink-950);font-size:16px}.customer-section-heading p{color:var(--ink-500);margin-top:3px;font-size:11px}.customer-section-heading>strong{color:var(--blue-700);white-space:nowrap;font-size:13px}.customer-table-wrap{overflow-x:auto}.customer-table{border-collapse:collapse;width:100%;min-width:850px}.customer-table th,.customer-table td{border-bottom:1px solid var(--line-soft);color:var(--ink-700);text-align:left;vertical-align:middle;padding:11px 10px;font-size:12px}.customer-table th{color:var(--ink-600);background:#f7f9fc;font-size:11px;font-weight:750}.customer-table td strong,.customer-table td small{display:block}.customer-table td small{color:var(--ink-500);margin-top:2px}.customer-table a,.customer-page-state a,.customer-detail-topbar a,.customer-row-actions a{color:var(--blue-700);font-weight:700;text-decoration:none}.customer-table td>a,.customer-row-actions a{white-space:nowrap;background:#fff;border:1px solid #bcd5f5;border-radius:6px;align-items:center;min-height:32px;padding:0 9px;font-size:11px;display:inline-flex}.customer-page-state{min-height:180px;color:var(--ink-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px;font-size:13px;display:flex}.customer-page-state.is-error,.customer-message{color:var(--danger)}.customer-limit-note,.customer-message{margin:0;padding:10px 15px;font-size:11px}.customer-detail-topbar{justify-content:space-between;align-items:center;gap:16px;padding:15px 17px;display:flex}.customer-detail-topbar h2,.customer-detail-topbar p{margin:0}.customer-detail-topbar h2{margin-top:4px;font-size:20px}.customer-detail-topbar p{color:var(--ink-500);margin-top:2px;font-size:12px}.customer-information,.customer-edit-form{padding:15px}.customer-information h3{margin:0 0 12px;font-size:15px}.customer-information dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:0;display:grid}.customer-information dl>div{border-bottom:1px solid var(--line-soft);grid-template-columns:125px 1fr;gap:10px;padding:9px 0;display:grid}.customer-information dt{color:var(--ink-500);font-size:11px}.customer-information dd{color:var(--ink-800);margin:0;font-size:12px}.customer-edit-form .customer-section-heading{margin:-15px -15px 14px}.customer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px;display:grid}.customer-edit-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.customer-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.customer-summary-grid>div{flex-direction:column;justify-content:center;min-height:88px;padding:15px;display:flex}.customer-summary-grid span{color:var(--ink-500);font-size:11px}.customer-summary-grid strong{color:var(--ink-950);margin-top:5px;font-size:19px}.customer-history-table{min-width:980px}.customer-row-actions{gap:5px;display:flex}.customer-pagination{justify-content:flex-end;align-items:center;gap:10px;min-height:58px;padding:9px 14px;display:flex}.customer-pagination span{color:var(--ink-600);font-size:12px}.customer-pagination button:disabled,.customer-edit-actions button:disabled{cursor:not-allowed;opacity:.5}@media (width<=820px){.customer-search-card form,.customer-form-grid,.customer-summary-grid,.customer-information dl{grid-template-columns:1fr}}@media (width<=560px){.customers-page,.customer-detail-page{padding:12px}.customer-search-card form{grid-template-columns:1fr 1fr}.customer-search-card label{grid-column:1/-1}}.receivables-page{gap:14px;padding:18px 22px 30px;display:grid}.receivable-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.receivable-summary-card{border:1px solid var(--line);min-height:92px;color:inherit;background:var(--surface-card);text-align:left;cursor:pointer;gap:7px;padding:15px 17px;display:grid}.receivable-summary-card:hover{box-shadow:var(--shadow-card);border-color:#bcd5f5}.receivable-summary-card.is-review{border-left:4px solid #d58a12}.receivable-summary-card span{color:var(--ink-600);font-size:12px;font-weight:650}.receivable-summary-card strong{color:var(--ink-950);font-size:22px;line-height:1.1}.receivable-message{color:#684500;background:#fff8e7;border:1px solid #f2d68f;border-radius:8px;margin:0;padding:11px 14px;font-size:13px}.receivable-tabs{border-bottom:1px solid var(--line);align-items:end;gap:4px;display:flex}.receivable-tabs button{min-height:44px;color:var(--ink-600);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:0 17px;font-size:13px;font-weight:750}.receivable-tabs button:hover{color:var(--blue-700);background:var(--blue-50)}.receivable-tabs button.is-active{border-bottom-color:var(--blue-600);color:var(--blue-700);background:var(--surface-card)}.receivable-tabs button span{min-width:23px;color:var(--ink-600);background:var(--line-soft);border-radius:999px;margin-left:6px;padding:2px 7px;font-size:11px;display:inline-block}.receivable-tabs button.is-active span{color:#fff;background:var(--blue-600)}.receivable-list{padding:0;overflow:hidden}.receivable-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:18px;min-height:70px;padding:13px 15px;display:flex}.receivable-heading h2,.receivable-heading p{margin:0}.receivable-heading h2{color:var(--ink-950);font-size:16px}.receivable-heading p{color:var(--ink-500);margin-top:3px;font-size:11px}.receivable-search,.customer-picker{align-items:center;gap:8px;display:flex}.receivable-search input,.customer-picker input{width:min(360px,38vw);min-height:40px;color:var(--ink-950);font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;padding:8px 11px;font-size:12px}.receivable-search input:focus,.customer-picker input:focus,.receivable-modal input:focus,.receivable-modal select:focus,.receivable-modal textarea:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.receivable-search button,.customer-picker button,.customer-choice,.receive-payment-button,.review-actions button,.modal-actions button,.payment-amount-row button,.suggested-customer button{border:1px solid var(--line);min-height:38px;color:var(--ink-800);cursor:pointer;font:inherit;background:#fff;border-radius:7px;padding:0 13px;font-size:12px;font-weight:750}.receivable-search button{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.review-search input{width:min(390px,42vw)}.receivable-table-wrap{overflow-x:auto}.receivable-table{border-collapse:collapse;width:100%;min-width:880px}.receivable-table th,.receivable-table td{border-bottom:1px solid var(--line-soft);color:var(--ink-800);text-align:left;vertical-align:middle;padding:11px 12px;font-size:12px}.receivable-table th{color:var(--ink-600);background:#f7f9fc;font-size:11px;font-weight:750}.receivable-table tbody tr:hover{background:#fbfdff}.receivable-table tbody tr:last-child td{border-bottom:0}.receivable-customer{gap:2px;display:grid}.receivable-customer strong{color:var(--ink-950);font-size:12px}.receivable-customer small{color:var(--ink-500);font-size:10px;font-weight:500}.document-number{white-space:nowrap;font-weight:700;color:var(--ink-950)!important}.remaining-amount{white-space:nowrap;font-weight:800;color:var(--blue-700)!important}.receive-payment-button{min-height:34px;color:var(--blue-700);background:var(--blue-50);white-space:nowrap;border-color:#9bc3fa}.receive-payment-button:hover{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.receivable-empty{min-height:150px;color:var(--ink-500);text-align:center;place-items:center;margin:0;padding:28px;font-size:13px;display:grid}.review-result-count{border-bottom:1px solid var(--line-soft);color:var(--ink-500);background:var(--surface-muted);margin:0;padding:9px 15px;font-size:11px}.review-grid{grid-template-columns:repeat(2,minmax(360px,1fr));gap:12px;padding:14px;display:grid}.review-card{border:1px solid var(--line);background:#fff;border-radius:9px;gap:12px;padding:15px;display:grid}.review-card header{justify-content:space-between;align-items:start;gap:12px;display:flex}.review-card header>div{gap:2px;display:grid}.review-card header small{color:var(--ink-500);font-size:10px}.review-card header strong{color:var(--ink-950);font-size:14px}.review-card time{color:var(--ink-600);background:var(--surface-muted);white-space:nowrap;border-radius:6px;padding:4px 7px;font-size:11px}.review-card dl{gap:9px;margin:0;display:grid}.review-card dl>div{grid-template-columns:145px minmax(0,1fr);gap:12px;display:grid}.review-card dt{color:var(--ink-500);font-size:11px}.review-card dd{color:var(--ink-950);text-align:right;margin:0;font-size:12px;font-weight:700}.review-card dd .receivable-customer{justify-items:end}.review-warning{color:#684500;background:#fff8e7;border-left:3px solid #d58a12;border-radius:5px;margin:0;padding:10px 11px;font-size:11px;line-height:1.55}.review-actions,.modal-actions{flex-wrap:wrap;gap:8px;display:flex}.review-actions button{min-height:38px}.review-actions .is-primary,.modal-actions .is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.review-actions .is-paid,.modal-actions .is-paid{color:#0d7046;background:#f1fbf6;border-color:#9acfb8}.review-actions .is-ignore,.modal-actions .is-ignore{color:var(--ink-600);background:var(--surface-muted);border-color:#d7dce3}.review-actions button:disabled,.modal-actions button:disabled{cursor:not-allowed;opacity:.58}.receivable-modal-backdrop{z-index:50;background:#07172d9e;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.receivable-modal{background:#fff;border-radius:12px;gap:14px;width:min(540px,100%);max-height:92vh;padding:20px;display:grid;overflow-y:auto;box-shadow:0 24px 70px #07172d47}.receivable-modal h3,.receivable-modal p{margin:0}.receivable-modal h3{color:var(--ink-950);font-size:18px}.modal-heading{justify-content:space-between;align-items:start;gap:14px;display:flex}.modal-heading small{color:var(--ink-500);font-size:10px}.modal-close{width:34px;height:34px;color:var(--ink-600);background:var(--surface-muted);cursor:pointer;border:0;border-radius:7px;font-size:22px;line-height:1}.modal-summary-list{border:1px solid var(--line-soft);background:var(--surface-muted);border-radius:8px;gap:8px;margin:0;padding:11px 13px;display:grid}.modal-summary-list>div{justify-content:space-between;gap:14px;display:flex}.modal-summary-list dt{color:var(--ink-500);font-size:11px}.modal-summary-list dd{color:var(--ink-950);text-align:right;margin:0;font-size:12px;font-weight:750}.suggested-customer,.selected-customer{border-radius:8px;gap:5px;padding:11px 12px;display:grid}.suggested-customer{background:var(--blue-50);border:1px solid #bcd5f5}.selected-customer{border:1px solid var(--line);background:#fff}.suggested-customer>span,.selected-customer>span{color:var(--ink-500);font-size:10px;font-weight:700}.suggested-customer button{width:fit-content;min-height:30px;color:var(--blue-700);margin-top:3px}.customer-picker input{flex:1;width:auto}.customer-results{border:1px solid var(--line);background:var(--surface-muted);border-radius:8px;gap:5px;max-height:150px;padding:5px;display:grid;overflow-y:auto}.customer-choice{text-align:left;padding:7px 10px}.customer-choice.is-selected{border-color:var(--blue-600);background:var(--blue-50)}.receivable-modal label{color:var(--ink-800);gap:5px;font-size:12px;font-weight:700;display:grid}.receivable-modal input,.receivable-modal select,.receivable-modal textarea{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink-950);font:inherit;background:#fff;border-radius:7px;outline:none;padding:8px 10px;font-size:13px}.receivable-modal textarea{resize:vertical}.important-field{background:var(--blue-50);border:1px solid #bcd5f5;border-radius:8px;padding:11px 12px}.important-field small{color:var(--ink-500);font-size:10px;font-weight:500}.modal-actions{justify-content:flex-end;padding-top:3px}.modal-actions button{min-height:40px}.decision-modal{width:min(430px,100%)}.decision-modal>p{color:var(--ink-600);font-size:13px;line-height:1.55}.decision-modal .decision-document{color:var(--ink-950);font-weight:750}.payment-amount-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.payment-amount-row button{color:var(--blue-700);white-space:nowrap}.customer-receivables-card{margin-bottom:18px}@media (width<=1050px){.receivable-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-grid{grid-template-columns:1fr}}@media (width<=760px){.receivables-page{padding:14px}.receivable-heading{flex-direction:column;align-items:stretch}.receivable-search input,.review-search input,.receivable-search{width:100%}.receivable-tabs{align-items:stretch}.receivable-tabs button{flex:1;padding:0 10px}}@media (width<=520px){.receivable-summary-grid{grid-template-columns:1fr}.review-grid{grid-template-columns:minmax(0,1fr);padding:10px}.review-card dl>div{grid-template-columns:1fr;gap:3px}.review-card dd,.review-card dd .receivable-customer{text-align:left;justify-items:start}.payment-amount-row{grid-template-columns:1fr}}.products-page,.product-detail-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.product-search-card{padding:14px}.product-search-card form{grid-template-columns:minmax(300px,1fr) auto auto;align-items:end;gap:9px;display:grid}.product-search-card label,.product-edit-form label{color:var(--ink-800);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.product-search-card input,.product-edit-form input,.product-edit-form textarea{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink-950);font:inherit;background:#fff;border-radius:7px;outline:none;padding:8px 10px}.product-search-card input:focus,.product-edit-form input:focus,.product-edit-form textarea:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.product-search-card button,.product-detail-topbar button,.product-edit-actions button,.product-pagination button{border:1px solid var(--line);min-height:40px;color:var(--ink-800);cursor:pointer;background:#fff;border-radius:7px;padding:0 13px;font-size:12px;font-weight:700}.product-search-card .is-primary,.product-edit-actions .is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.product-list-card{overflow:hidden}.product-section-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:13px 15px;display:flex}.product-section-heading h2,.product-section-heading p{margin:0}.product-section-heading h2{color:var(--ink-950);font-size:16px}.product-section-heading p{color:var(--ink-500);margin-top:3px;font-size:11px}.product-section-heading>strong{color:var(--blue-700);white-space:nowrap;font-size:14px}.product-table-wrap{overflow-x:auto}.product-management-table{border-collapse:collapse;width:100%;min-width:900px}.product-management-table th,.product-management-table td{border-bottom:1px solid var(--line-soft);color:var(--ink-800);text-align:left;vertical-align:middle;padding:11px 12px;font-size:12px}.product-management-table th{color:var(--ink-600);background:#f7f9fc;font-size:11px;font-weight:750}.product-management-table td strong,.product-management-table td small{display:block}.product-management-table td small{color:var(--ink-500);margin-top:2px;font-size:10px}.product-management-table .product-list-brand{color:var(--ink-600);font-size:12px;font-weight:500;line-height:1.35}.product-management-table .product-brand-value{color:var(--blue-700);font-weight:650}.product-management-table tr.is-inactive{opacity:.62}.product-management-table .product-status-text{color:var(--danger)}.product-management-table a,.product-page-state a,.product-detail-topbar a{min-height:32px;color:var(--blue-700);white-space:nowrap;background:#fff;border:1px solid #bcd5f5;border-radius:6px;align-items:center;padding:0 9px;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex}.product-page-state{min-height:180px;color:var(--ink-500);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px;font-size:13px;display:flex}.product-page-state.is-error,.product-message{color:var(--danger)}.product-pagination{border-top:1px solid var(--line-soft);justify-content:flex-end;align-items:center;gap:9px;min-height:58px;padding:9px 14px;display:flex}.product-pagination span{color:var(--ink-600);margin-right:4px;font-size:12px}.product-pagination button:disabled,.product-edit-actions button:disabled{cursor:not-allowed;opacity:.5}.product-detail-topbar{justify-content:space-between;align-items:center;gap:16px;padding:15px 17px;display:flex}.product-detail-topbar h2,.product-detail-topbar p{margin:0}.product-detail-topbar h2{color:var(--ink-950);margin-top:5px;font-size:20px}.product-detail-topbar p{color:var(--ink-500);margin-top:3px;font-size:11px}.product-message{background:var(--surface-card);border-radius:7px;margin:0;padding:10px 14px;font-size:12px}.product-stock-summary{border-left:4px solid var(--blue-600);justify-content:space-between;align-items:center;gap:20px;min-height:92px;padding:15px 17px;display:flex}.product-stock-summary>div{gap:4px;display:grid}.product-stock-summary span{color:var(--ink-500);font-size:11px}.product-stock-summary strong{color:var(--ink-950);font-size:22px}.product-stock-summary p{max-width:390px;color:var(--ink-500);text-align:right;margin:0;font-size:11px}.product-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.product-detail-grid>.product-information:first-child{grid-column:1/-1}.product-reference{padding:15px}.product-reference h3{color:var(--ink-950);margin:0 0 12px;font-size:15px}.product-reference dl{margin:0}.product-reference dl>div{border-bottom:1px solid var(--line-soft);grid-template-columns:130px 1fr;gap:10px;padding:9px 0;display:grid}.product-reference dt{color:var(--ink-500);font-size:11px}.product-reference dd{color:var(--ink-600);overflow-wrap:anywhere;margin:0;font-size:12px}.product-information,.product-edit-form{padding:15px}.product-information h3{color:var(--ink-950);margin:0 0 12px;font-size:15px}.product-information dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;display:grid}.product-information dl>div{border-bottom:1px solid var(--line-soft);grid-template-columns:130px 1fr;gap:10px;padding:9px 0;display:grid}.product-information dl>div.is-wide{grid-column:1/-1}.product-information dt,.product-price-summary dt{color:var(--ink-500);font-size:11px}.product-information dd,.product-price-summary dd{color:var(--ink-800);margin:0;font-size:12px}.product-edit-form .product-section-heading{margin:-15px -15px 14px}.product-form-section{border-bottom:1px solid var(--line-soft);padding-bottom:14px}.product-form-section+.product-form-section{margin-top:14px}.product-form-section h3{color:var(--ink-950);margin:0 0 11px;font-size:14px}.product-form-price-section{background:var(--blue-50);border:1px solid #bcd5f5;border-radius:8px;padding:13px}.product-form-grid .is-main-price small{color:var(--ink-500);font-size:10px;font-weight:500}.product-edit-form>.additional-prices{margin-top:14px}.product-form-grid,.product-price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px;display:grid}.product-form-grid .is-wide{grid-column:1/-1}.product-edit-form textarea{resize:vertical}.additional-prices{border:1px solid var(--line);background:var(--surface-muted);border-radius:8px;margin-top:14px;padding:11px 13px}.additional-prices summary{color:var(--blue-700);cursor:pointer;font-size:12px;font-weight:750}.additional-prices>p{color:var(--ink-500);margin:8px 0 12px;font-size:10px}.product-price-grid{margin-top:12px}.product-edit-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.product-price-summary{overflow:hidden}.product-main-price{text-align:right;gap:2px;display:grid}.product-main-price span,.product-cost-price span{color:var(--ink-500);font-size:10px}.product-main-price strong{color:var(--blue-700);white-space:nowrap;font-size:22px}.product-cost-price{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:11px 15px;display:flex}.product-cost-price strong{color:var(--ink-800);white-space:nowrap;font-size:14px}.product-price-summary .additional-prices{border:0;border-top:1px solid var(--line-soft);border-radius:0;margin:0}.product-price-summary .additional-prices dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;margin:12px 0 0;display:grid}.product-price-summary .additional-prices dl>div{justify-content:space-between;gap:10px;display:flex}.product-price-summary dd{font-weight:700}@media (width<=820px){.product-search-card form,.product-detail-grid,.product-form-grid,.product-price-grid,.product-information dl{grid-template-columns:1fr}.product-information dl>div.is-wide,.product-form-grid .is-wide{grid-column:auto}.product-price-summary .additional-prices dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.products-page,.product-detail-page{padding:12px}.product-search-card form{grid-template-columns:1fr 1fr}.product-search-card label{grid-column:1/-1}.product-detail-topbar,.product-stock-summary{flex-direction:column;align-items:flex-start}.product-stock-summary p{text-align:left}.product-price-summary .additional-prices dl{grid-template-columns:1fr}}.product-search-card form,.customer-search-card form{grid-template-columns:minmax(260px,1fr) 150px auto auto}.management-status-filter select{border:1px solid var(--line);min-height:40px;color:var(--ink-950);background:#fff;border-radius:7px;padding:8px 10px}.management-list-actions{align-items:center;gap:10px;display:flex}.management-list-actions button{border:1px solid var(--line);min-height:34px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;padding:0 11px;font-size:12px;font-weight:700}.management-bulk-bar{border-bottom:1px solid var(--line-soft);background:var(--surface-muted);justify-content:flex-end;align-items:center;gap:9px;min-height:52px;padding:9px 15px;display:flex}.management-bulk-bar span{color:var(--ink-700);margin-right:auto;font-size:12px;font-weight:700}.management-bulk-bar button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:7px;min-height:34px;padding:0 11px;font-size:11px;font-weight:700}.management-bulk-bar button:disabled{cursor:not-allowed;opacity:.5}.management-checkbox-cell{width:42px;text-align:center!important}.management-checkbox-cell input{width:16px;height:16px}.product-management-table tr.is-inactive,.customer-table tr.is-inactive{opacity:.78;background:#f7f8fa}.customer-status-text,.product-status-text{color:var(--danger)!important}.management-message{margin:0;padding:10px 15px;font-size:12px}.management-message.is-success{color:#17663a;background:#edf8f1}.management-detail-actions{gap:8px;display:flex}.management-status-badge{border-radius:999px;width:fit-content;margin-top:6px;padding:3px 8px;font-size:11px;font-weight:750;display:inline-flex}.management-status-badge.is-active{color:#17663a;background:#e7f6ed}.management-status-badge.is-inactive{color:#8b2731;background:#fae9eb}@media (width<=820px){.product-search-card form,.customer-search-card form{grid-template-columns:1fr 1fr}.product-search-card form label:first-child,.customer-search-card form label:first-child{grid-column:1/-1}}@media (width<=560px){.management-status-filter{grid-column:1/-1}.management-bulk-bar{flex-direction:column;align-items:stretch}.management-detail-actions{flex-wrap:wrap;width:100%}}.product-readonly-cost{border:1px solid var(--line);background:#f7f9fc;border-radius:7px;gap:3px;padding:10px;display:grid}.product-readonly-cost span,.product-readonly-cost small,.product-cost-price small{color:var(--ink-500);font-size:10px}.product-cost-price{flex-wrap:wrap}.product-cost-price small{text-align:right;flex-basis:100%}.product-cost-price button{border:1px solid var(--blue-600);min-height:36px;color:var(--blue-700);cursor:pointer;background:#fff;border-radius:7px;padding:0 13px;font-size:13px;font-weight:700}.product-cost-history{overflow:hidden}.product-cost-history-list{display:grid}.product-cost-history-list article{border-top:1px solid var(--line-soft);grid-template-columns:160px 180px 160px 1fr;align-items:start;gap:12px;padding:13px 16px;display:grid}.product-cost-history-list time,.product-cost-history-list span{color:var(--ink-500);font-size:13px}.product-cost-history-list strong{font-size:14px}.product-cost-history-list p{margin:0;font-size:13px;line-height:1.5}.product-cost-modal-backdrop{z-index:80;background:#17203080;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.product-cost-modal{width:min(620px,100%);max-height:calc(100vh - 40px);overflow:auto}.product-cost-modal>header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.product-cost-modal h2,.product-cost-modal header p{margin:0}.product-cost-modal header p{color:var(--ink-500);margin-top:4px;font-size:13px}.product-cost-modal button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:7px;min-height:38px;padding:0 13px;font-size:13px;font-weight:700}.product-cost-modal button.is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.product-cost-modal dl{background:#f7f9fc;grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding:14px 18px;display:grid}.product-cost-modal dl div{gap:4px;display:grid}.product-cost-modal dt{color:var(--ink-500);font-size:12px}.product-cost-modal dd{margin:0;font-size:14px;font-weight:700}.product-cost-modal form{gap:14px;padding:16px 18px;display:grid}.product-cost-modal label{color:var(--ink-700);gap:6px;font-size:13px;font-weight:700;display:grid}.product-cost-modal input,.product-cost-modal textarea{border:1px solid var(--line);width:100%;font:inherit;background:#fff;border-radius:7px;padding:9px 10px}.product-cost-preview{border:1px solid var(--line-soft);background:#fafbfd;border-radius:7px;grid-template-columns:1fr 1fr;gap:10px;padding:12px;display:grid}.product-cost-preview div{gap:3px;display:grid}.product-cost-preview span,.product-cost-preview small{color:var(--ink-500);font-size:12px}.product-cost-preview small{grid-column:1/-1}.product-cost-modal-actions{justify-content:flex-end;gap:8px;display:flex}@media (width<=760px){.product-cost-history-list article,.product-cost-modal dl,.product-cost-preview{grid-template-columns:1fr}.product-cost-preview small{grid-column:auto}}.stock-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.stock-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.stock-summary-card{border-top:3px solid var(--blue-500);align-content:center;gap:5px;min-height:88px;padding:14px;display:grid}.stock-summary-card span{color:var(--ink-500);font-size:11px}.stock-summary-card strong{color:var(--ink-950);font-size:22px}.stock-summary-card.is-low{border-top-color:#d99000}.stock-summary-card.is-out,.stock-summary-card.is-negative{border-top-color:var(--danger)}.stock-summary-card.is-unknown{border-top-color:var(--ink-500)}.stock-controls{padding:14px}.stock-controls form{grid-template-columns:minmax(300px,1fr) auto auto;align-items:end;gap:9px;display:grid}.stock-controls label{color:var(--ink-800);flex-direction:column;gap:5px;font-size:12px;font-weight:650;display:flex}.stock-controls input,.stock-controls select{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink-950);background:#fff;border-radius:7px;outline:none;padding:8px 10px}.stock-controls input:focus,.stock-controls select:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.stock-controls button,.stock-pagination button{border:1px solid var(--line);min-height:40px;color:var(--ink-800);cursor:pointer;background:#fff;border-radius:7px;padding:0 13px;font-size:12px;font-weight:700}.stock-controls form .is-primary,.stock-filter-buttons .is-active{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.stock-filter-row{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:end;gap:14px;margin-top:12px;padding-top:12px;display:flex}.stock-filter-buttons{flex-wrap:wrap;gap:7px;display:flex}.stock-filter-buttons button{min-height:34px}.stock-sort-control{flex:0 0 230px}.stock-threshold-note{color:var(--ink-500);margin:8px 0 0;font-size:10px}.stock-list-card{overflow:hidden}.stock-list-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:13px 15px;display:flex}.stock-list-heading h2,.stock-list-heading p{margin:0}.stock-list-heading h2{color:var(--ink-950);font-size:16px}.stock-list-heading p{color:var(--ink-500);margin-top:3px;font-size:11px}.stock-list-heading>strong{color:var(--blue-700);white-space:nowrap;font-size:14px}.stock-table-wrap{overflow-x:auto}.stock-table{border-collapse:collapse;width:100%;min-width:900px}.stock-table th,.stock-table td{border-bottom:1px solid var(--line-soft);color:var(--ink-800);text-align:left;vertical-align:middle;padding:11px 12px;font-size:12px}.stock-table th{color:var(--ink-600);background:#f7f9fc;font-size:11px;font-weight:750}.stock-table tr.is-inactive{opacity:.62}.stock-quantity{color:var(--ink-950);white-space:nowrap;font-weight:750}.stock-status{color:#087244;white-space:nowrap;background:#effaf4;border:1px solid #b8dfcc;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:750;display:inline-flex}.stock-status.is-low{color:#845400;background:#fff8e9;border-color:#f0d19a}.stock-status.is-out,.stock-status.is-negative{color:#b42323;background:var(--danger-soft);border-color:#f0b7b7}.stock-status.is-unknown{border-color:var(--line);color:var(--ink-600);background:var(--surface-muted)}.stock-table a,.stock-row-actions button{min-height:32px;color:var(--blue-700);white-space:nowrap;background:#fff;border:1px solid #bcd5f5;border-radius:6px;align-items:center;padding:0 9px;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex}.stock-row-actions{flex-wrap:wrap;gap:5px;display:flex}.stock-row-actions button{border-color:var(--blue-600);color:#fff;background:var(--blue-600);cursor:pointer}.stock-page-state{min-height:180px;color:var(--ink-500);place-items:center;font-size:13px;display:grid}.stock-page-state.is-error{color:var(--danger)}.stock-pagination{border-top:1px solid var(--line-soft);justify-content:flex-end;align-items:center;gap:9px;min-height:58px;padding:9px 14px;display:flex}.stock-pagination span{color:var(--ink-600);margin-right:4px;font-size:12px}.stock-pagination button:disabled{cursor:not-allowed;opacity:.5}@media (width<=1050px){.stock-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.stock-page{padding:12px}.stock-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-controls form{grid-template-columns:1fr 1fr}.stock-controls form label{grid-column:1/-1}.stock-filter-row{flex-direction:column;align-items:stretch}.stock-sort-control{flex-basis:auto}}.product-stock-summary-actions{justify-content:flex-end;align-items:center;gap:12px;display:flex}.product-stock-summary-actions p{color:var(--ink-500);margin:0;font-size:11px}.product-stock-summary-actions button,.stock-adjustment-modal button{border:1px solid var(--line);min-height:38px;color:var(--ink-800);cursor:pointer;background:#fff;border-radius:7px;padding:0 13px;font-weight:700}.product-stock-summary-actions button,.stock-adjustment-modal .is-primary,.management-detail-actions .is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.stock-adjustment-backdrop{z-index:1000;background:#0f172a85;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.stock-adjustment-modal{width:min(620px,100%);max-height:calc(100vh - 48px);padding:18px;overflow-y:auto}.stock-adjustment-modal>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:15px;display:flex}.stock-adjustment-modal h2,.stock-adjustment-modal h3,.stock-adjustment-modal p{margin:0}.stock-adjustment-modal h2{color:var(--ink-950);font-size:19px}.stock-adjustment-modal h3{color:var(--ink-950);margin-bottom:12px;font-size:16px}.stock-adjustment-modal header p{color:var(--ink-500);margin-top:4px;font-size:11px}.stock-adjustment-facts,.stock-adjustment-confirmation dl{border:1px solid var(--line-soft);border-radius:8px;gap:0;margin:0 0 15px;display:grid;overflow:hidden}.stock-adjustment-facts div,.stock-adjustment-confirmation dl div{border-bottom:1px solid var(--line-soft);grid-template-columns:150px minmax(0,1fr);gap:12px;padding:10px 12px;display:grid}.stock-adjustment-facts div:last-child,.stock-adjustment-confirmation dl div:last-child{border-bottom:0}.stock-adjustment-facts dt,.stock-adjustment-confirmation dt{color:var(--ink-500);font-size:11px}.stock-adjustment-facts dd,.stock-adjustment-confirmation dd{color:var(--ink-950);margin:0;font-size:13px;font-weight:700}.stock-adjustment-confirmation dd small{color:var(--ink-500);white-space:pre-wrap;margin-top:4px;font-size:10px;font-weight:500;display:block}.stock-adjustment-modal form{gap:12px;display:grid}.stock-adjustment-modal label{color:var(--ink-800);gap:5px;font-size:12px;font-weight:700;display:grid}.stock-adjustment-modal input,.stock-adjustment-modal select,.stock-adjustment-modal textarea{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink-950);font:inherit;background:#fff;border-radius:7px;padding:8px 10px}.stock-adjustment-modal textarea{resize:vertical}.stock-adjustment-modal input:focus,.stock-adjustment-modal select:focus,.stock-adjustment-modal textarea:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus);outline:none}.stock-adjustment-modal label small{color:var(--ink-500);font-size:10px;font-weight:500}.stock-adjustment-preview,.stock-adjustment-success{background:#f5f9ff;border:1px solid #bcd5f5;border-radius:8px;gap:4px;padding:12px;display:grid}.stock-adjustment-preview span,.stock-adjustment-preview small,.stock-adjustment-success span,.stock-adjustment-success small{color:var(--ink-500);font-size:11px}.stock-adjustment-preview strong,.stock-adjustment-success strong{color:var(--blue-800);font-size:19px}.stock-adjustment-success{background:#effaf4;border-color:#b8dfcc;margin:14px 0}.stock-adjustment-error{color:var(--danger);background:var(--danger-soft);border-radius:7px;padding:9px 11px;font-size:11px}.stock-adjustment-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:15px;display:flex}.stock-adjustment-actions a{color:var(--blue-700);margin-right:auto;font-size:12px;font-weight:700}.stock-adjustment-modal button:disabled{cursor:not-allowed;opacity:.5}@media (width<=700px){.stock-adjustment-backdrop{padding:10px}.stock-adjustment-modal{max-height:calc(100vh - 20px)}.stock-adjustment-facts div,.stock-adjustment-confirmation dl div{grid-template-columns:1fr;gap:3px}.product-stock-summary{flex-direction:column;align-items:flex-start}.product-stock-summary-actions{flex-direction:column;align-items:flex-start;width:100%}}.movement-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.movement-product-filter{justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.movement-product-filter div{gap:3px;display:grid}.movement-product-filter span{color:var(--ink-500);font-size:11px}.movement-product-filter strong{color:var(--ink-950)}.movement-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.movement-summary-card{border-top:3px solid var(--blue-500);align-content:center;gap:5px;min-height:82px;padding:14px;display:grid}.movement-summary-card span{color:var(--ink-500);font-size:11px}.movement-summary-card strong{color:var(--ink-950);font-size:22px}.movement-controls{padding:14px}.movement-controls form{grid-template-columns:minmax(260px,1.6fr) minmax(150px,.8fr) 150px 150px auto auto;align-items:end;gap:9px;display:grid}.movement-controls label{color:var(--ink-800);flex-direction:column;gap:5px;font-size:11px;font-weight:700;display:flex}.movement-controls input,.movement-controls select{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink-950);background:#fff;border-radius:7px;padding:8px 10px}.movement-controls input:focus,.movement-controls select:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus);outline:none}.movement-controls button,.movement-pagination button{border:1px solid var(--line);min-height:40px;color:var(--ink-800);cursor:pointer;background:#fff;border-radius:7px;padding:0 13px;font-size:12px;font-weight:700}.movement-controls .is-primary{border-color:var(--blue-600);background:var(--blue-600);color:#fff}.movement-quick-dates{border-top:1px solid var(--line-soft);align-items:center;gap:7px;margin-top:11px;padding-top:11px;display:flex}.movement-quick-dates span{color:var(--ink-500);margin-right:3px;font-size:11px}.movement-quick-dates button{min-height:32px}.movement-list{overflow:hidden}.movement-list>header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:14px;min-height:68px;padding:13px 15px;display:flex}.movement-list h2,.movement-list p{margin:0}.movement-list h2{color:var(--ink-950);font-size:16px}.movement-list p{color:var(--ink-500);margin-top:3px;font-size:11px}.movement-list header>strong{color:var(--blue-700);white-space:nowrap;font-size:14px}.movement-table-wrap{overflow-x:auto}.movement-table{border-collapse:collapse;width:100%;min-width:1320px}.movement-table th,.movement-table td{border-bottom:1px solid var(--line-soft);color:var(--ink-800);text-align:left;vertical-align:middle;padding:10px 11px;font-size:11px}.movement-table th{color:var(--ink-600);background:#f7f9fc;font-weight:750}.movement-table td small{color:var(--ink-500);margin-top:2px;font-size:9px;display:block}.movement-date{white-space:nowrap}.movement-product{color:var(--ink-950);font-weight:750}.movement-type{border:1px solid var(--line);background:var(--surface-muted);white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:750;display:inline-flex}.movement-type.is-receive,.movement-type.is-receive_in,.movement-type.is-return_in{color:#087244;background:#effaf4;border-color:#b8dfcc}.movement-type.is-sale,.movement-type.is-return_out{background:var(--danger-soft);color:#b42323;border-color:#f0b7b7}.movement-positive{font-weight:800;color:#087244!important}.movement-negative{font-weight:800;color:#b42323!important}.movement-note{white-space:normal;overflow-wrap:anywhere;min-width:190px;max-width:290px;line-height:1.45}.movement-state{color:var(--ink-500);text-align:center;padding:45px 18px}.movement-state.is-error{color:var(--danger)}.movement-pagination{justify-content:flex-end;align-items:center;gap:8px;padding:12px 15px;display:flex}.movement-pagination span{color:var(--ink-500);margin-right:auto;font-size:11px}.movement-pagination button:disabled{cursor:not-allowed;opacity:.45}@media (width<=1100px){.movement-controls form{grid-template-columns:1fr 1fr 1fr}.movement-search{grid-column:span 2}}@media (width<=760px){.movement-page{padding:12px}.movement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.movement-controls form{grid-template-columns:1fr}.movement-search{grid-column:auto}}.receiving-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.receiving-create,.receiving-header-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:15px;display:grid}.receiving-create>div{grid-column:1/-1}.receiving-create h2,.receiving-create p,.receiving-heading h2,.receiving-heading p{margin:0}.receiving-create p,.receiving-heading p{color:var(--ink-500);margin-top:3px;font-size:13px}.receiving-page label{color:var(--ink-700);flex-direction:column;gap:5px;font-size:13px;font-weight:700;display:flex}.receiving-page label.is-wide{grid-column:1/-1}.receiving-page input,.receiving-page textarea{border:1px solid var(--line);background:#fff;border-radius:7px;width:100%;min-height:40px;padding:8px 10px}.receiving-page textarea{resize:vertical}.receiving-page button,.receiving-page a{border:1px solid var(--line);min-height:38px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;padding:0 12px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.receiving-page .is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.receiving-page button:disabled{cursor:not-allowed;opacity:.5}.receiving-heading{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:12px;min-height:66px;padding:13px 15px;display:flex}.receiving-heading h2{font-size:16px}.receiving-heading>strong{color:var(--blue-700);font-size:13px}.receiving-search{padding:14px}.receiving-search form{grid-template-columns:1fr auto;align-items:end;gap:9px;display:grid}.receiving-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.receiving-results button{flex-direction:column;align-items:flex-start;height:auto;padding:9px}.receiving-results small,.receiving-table-wrap td small,.receiving-table-wrap td em{color:var(--ink-500);margin-top:2px;font-size:12px;display:block}.receiving-table-wrap td em{color:var(--danger);font-style:normal}.receiving-table-wrap{overflow-x:auto}.receiving-table-wrap table{border-collapse:collapse;width:100%;min-width:920px}.receiving-table-wrap th,.receiving-table-wrap td{border-bottom:1px solid var(--line-soft);text-align:left;padding:10px;font-size:13px}.receiving-table-wrap th{color:var(--ink-600);background:#f7f9fc;font-size:12px}.receiving-table-wrap input{min-width:120px}.receiving-state,.receiving-message{color:var(--ink-500);text-align:center;margin:0;padding:24px}.receiving-message{color:var(--danger);background:#fff1f2;border-radius:7px;padding:10px 15px}.receiving-totals{justify-content:flex-end;align-items:center;gap:10px;padding:14px;display:flex}.receiving-totals>div{flex-direction:column;margin-right:18px;display:flex}.receiving-totals span{color:var(--ink-500);font-size:12px}.receiving-totals strong{font-size:18px}.receiving-success{text-align:center;flex-direction:column;align-items:center;padding:28px;display:flex}.receiving-success>span{color:#17663a;background:#e7f6ed;border-radius:50%;place-items:center;width:46px;height:46px;font-size:24px;display:grid}.receiving-success h2{margin:10px 0 4px}.receiving-success p{color:var(--ink-500);margin:5px 0 15px}.receiving-success div{gap:8px;display:flex}.receiving-detail dl{grid-template-columns:repeat(3,1fr);gap:12px;padding:14px;display:grid}.receiving-detail dl div{flex-direction:column;gap:3px;display:flex}.receiving-detail dt{color:var(--ink-500);font-size:12px}.receiving-detail dd{margin:0;font-size:14px}.receiving-new-link{align-self:flex-start}.receiving-supplier{grid-column:span 2;grid-template-columns:1fr 1fr;gap:8px;display:grid}.receiving-supplier>small{color:var(--danger);grid-column:1/-1}.receiving-table-wrap th small{max-width:250px;margin-top:3px;font-weight:400;display:block}.receiving-row-actions{white-space:nowrap;align-items:center;gap:6px;display:flex}.receiving-badge{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.receiving-badge.is-draft{color:#805600;background:#fff4ce}.receiving-badge.is-posted{color:#17663a;background:#e7f6ed}.receiving-badge.is-cancelled{color:#7b2732;background:#fff1f2}.receiving-document-head{padding:16px 18px 12px}.receiving-document-head p{color:var(--ink-500);margin:6px 0 0;font-size:13px}.receiving-title-line{align-items:center;gap:10px;display:flex}.receiving-title-line h2{margin:0;font-size:20px}.receiving-po-reference{gap:7px;width:fit-content;margin-top:8px;min-height:0!important;color:var(--blue-700)!important;border:0!important;justify-content:flex-start!important;padding:0!important}.receiving-po-reference span{color:var(--ink-500);font-weight:500}.receiving-header-grid{grid-template-columns:160px minmax(240px,1fr) minmax(230px,1fr);align-items:end;padding-top:8px}.receiving-readonly-field{flex-direction:column;justify-content:center;gap:5px;min-height:66px;padding:9px 2px;display:flex}.receiving-readonly-field>span,.receiving-readonly-field>small{color:var(--ink-500);font-size:12px}.receiving-readonly-field>strong{color:var(--ink-900);font-size:16px}.receiving-fixed-supplier{border-left:3px solid var(--blue-500);background:#f7f9fc;border-radius:4px;grid-column:auto;padding:9px 12px}.inspection-badge{border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.inspection-badge.is-waiting{color:#596273;background:#eef1f5}.inspection-badge.is-complete{color:#17663a;background:#e7f6ed}.inspection-badge.is-short{color:#805600;background:#fff4ce}.inspection-badge.is-problem{color:#7b2732;background:#fff1f2}.receiving-inspection-list{background:#f5f7fa;gap:14px;padding:14px;display:grid}.receiving-inspection-item{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden}.receiving-inspection-item>header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;display:flex}.receiving-inspection-item>header h3,.receiving-inspection-item>header p{margin:0}.receiving-inspection-item>header h3{font-size:16px}.receiving-inspection-item>header p{color:var(--ink-500);margin-top:3px;font-size:13px}.receiving-inspection-item>header>div:last-child{align-items:center;gap:8px;display:flex}.receiving-inspection-body{grid-template-columns:minmax(190px,.75fr) minmax(235px,.9fr) minmax(310px,1.2fr);display:grid}.receiving-inspection-body>section{border-right:1px solid var(--line-soft);padding:14px 15px}.receiving-inspection-body>section:last-child{border-right:0}.receiving-inspection-body h4,.receiving-cost-inputs h4,.receiving-audit-sections h4{color:var(--ink-800);margin:0 0 11px;font-size:14px}.receiving-calculated-group{background:#fafbfd}.receiving-calculated-group dl,.receiving-audit-sections dl{gap:10px;margin:0;display:grid}.receiving-calculated-group dl div,.receiving-audit-sections dl div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.receiving-calculated-group dt,.receiving-audit-sections dt{color:var(--ink-500);font-size:12px}.receiving-calculated-group dd,.receiving-audit-sections dd{color:var(--ink-900);text-align:right;margin:0;font-size:14px;font-weight:700}.receiving-input-group{align-content:start;gap:10px;display:grid}.receiving-input-group label,.receiving-cost-inputs>label,.receiving-opening-warning label{grid-template-columns:1fr 116px auto;align-items:center;gap:8px;font-size:12px;display:grid}.receiving-input-group label input,.receiving-cost-inputs>label input,.receiving-opening-warning label input{min-width:0}.receiving-input-group label span,.receiving-cost-inputs label span,.receiving-opening-warning label span{color:var(--ink-500);font-size:12px;font-weight:500}.receiving-cost-inputs{align-content:start;gap:10px;min-width:0;display:grid}.receiving-cost-inputs>p{color:var(--ink-500);margin:-4px 0 0;font-size:12px;line-height:1.45}.receiving-cost-readonly,.receiving-cost-calculated>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.receiving-cost-readonly span,.receiving-cost-calculated span{color:var(--ink-500);font-size:12px}.receiving-cost-readonly strong,.receiving-cost-calculated strong{font-size:14px}.receiving-cost-calculated{border-top:1px solid var(--line-soft);gap:7px;padding-top:9px;display:grid}.receiving-opening-warning{background:#fff9e8;border:1px solid #e9c46a;border-radius:7px;gap:7px;padding:12px;display:grid}.receiving-opening-warning>strong{color:#714f00;font-size:13px}.receiving-opening-warning p{color:#684f17;margin:0;font-size:12px;line-height:1.45}.receiving-opening-warning label{grid-template-columns:1fr 116px}.receiving-opening-warning label span{grid-column:1/-1}.receiving-inspection-note{margin:0 15px 14px}.receiving-inspection-note textarea{min-height:58px}.receiving-inspection-item>footer{border-top:1px solid var(--line-soft);background:#fafbfd;flex-wrap:wrap;align-items:center;gap:9px 18px;padding:10px 15px;display:flex}.receiving-inspection-item>footer span{color:var(--ink-500);font-size:12px}.receiving-inspection-item>footer strong{font-size:13px}.receiving-unit-totals{flex-wrap:wrap;gap:8px;margin-right:auto;display:flex}.receiving-unit-totals>div{border-left:3px solid var(--blue-500);background:#f7f9fc;gap:2px;min-width:250px;padding:8px 10px;display:grid}.receiving-unit-totals>div strong{font-size:13px}.receiving-total-count{min-width:85px;margin-right:0!important}.receiving-audit-list{background:#f5f7fa;gap:12px;padding:14px;display:grid}.receiving-audit-list>article{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.receiving-audit-list article>header{border-bottom:1px solid var(--line-soft);padding:12px 14px}.receiving-audit-list h3,.receiving-audit-list header p{margin:0}.receiving-audit-list h3{font-size:15px}.receiving-audit-list header p{color:var(--ink-500);margin-top:3px;font-size:12px}.receiving-audit-sections{grid-template-columns:1fr 1fr;display:grid}.receiving-audit-sections>section{border-right:1px solid var(--line-soft);padding:14px}.receiving-audit-sections>section:last-child{border-right:0}.receiving-audit-note{border-top:1px solid var(--line-soft);color:var(--ink-700);gap:4px;margin:0;padding:11px 14px;font-size:13px;display:grid}@media (width<=980px){.receiving-header-grid,.receiving-inspection-body{grid-template-columns:1fr}.receiving-inspection-body>section,.receiving-audit-sections>section{border-right:0;border-bottom:1px solid var(--line-soft)}.receiving-inspection-body>section:last-child,.receiving-audit-sections>section:last-child{border-bottom:0}}@media (width<=760px){.receiving-page{padding:12px}.receiving-create,.receiving-header-grid,.receiving-detail dl,.receiving-results,.receiving-audit-sections{grid-template-columns:1fr}.receiving-create>div,.receiving-page label.is-wide,.receiving-supplier{grid-column:auto}.receiving-totals{flex-direction:column;align-items:stretch}.receiving-inspection-item>header{flex-direction:column;align-items:flex-start}.receiving-input-group label,.receiving-cost-inputs>label{grid-template-columns:1fr}}.suppliers-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.supplier-toolbar,.supplier-create,.supplier-list,.supplier-detail-top,.supplier-form,.supplier-info{padding:15px}.supplier-toolbar form,.supplier-create form{grid-template-columns:minmax(240px,1fr) minmax(150px,.35fr) auto;align-items:end;gap:10px;display:grid}.suppliers-page label{color:var(--ink-700);flex-direction:column;gap:5px;font-size:12px;font-weight:700;display:flex}.suppliers-page input,.suppliers-page select,.suppliers-page textarea{border:1px solid var(--line);background:#fff;border-radius:7px;width:100%;min-height:40px;padding:8px 10px}.suppliers-page button,.suppliers-page a{border:1px solid var(--line);min-height:36px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;padding:0 11px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.suppliers-page .is-primary{color:#fff;border-color:var(--blue-600);background:var(--blue-600)}.supplier-create>div{margin-bottom:12px}.supplier-create h2,.supplier-create p,.supplier-heading h2,.supplier-heading p,.supplier-detail-top h2{margin:0}.supplier-create p,.supplier-heading p{color:var(--ink-500);font-size:11px}.supplier-heading,.supplier-detail-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.supplier-detail-top>div:last-child,.supplier-actions{gap:8px;display:flex}.supplier-detail-top h2{margin:8px 0}.supplier-table-wrap{margin:14px -15px -15px;overflow-x:auto}.supplier-table-wrap table{border-collapse:collapse;width:100%;min-width:760px}.supplier-table-wrap th,.supplier-table-wrap td{border-top:1px solid var(--line-soft);text-align:left;padding:10px 15px;font-size:12px}.supplier-table-wrap th{color:var(--ink-600);background:#f7f9fc;font-size:11px}.supplier-badge{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.supplier-badge.is-active{color:#17663a;background:#e7f6ed}.supplier-badge.is-inactive{color:#7b2732;background:#fff1f2}.supplier-state,.supplier-message{text-align:center;color:var(--ink-500);margin:0;padding:20px}.supplier-message{color:var(--danger);background:#fff1f2;border-radius:7px}.supplier-form h3,.supplier-info h3{margin:0 0 12px}.supplier-form-grid,.supplier-info dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.supplier-form-grid label:nth-last-child(-n+2){grid-column:1/-1}.supplier-actions{margin-top:14px}.supplier-info dl{margin:0}.supplier-info dl div{flex-direction:column;gap:3px;display:flex}.supplier-info dt{color:var(--ink-500);font-size:10px}.supplier-info dd{white-space:pre-wrap;margin:0;font-size:12px}@media (width<=760px){.suppliers-page{padding:12px}.supplier-toolbar form,.supplier-create form,.supplier-form-grid,.supplier-info dl{grid-template-columns:1fr}.supplier-form-grid label:nth-last-child(-n+2){grid-column:auto}.supplier-detail-top{flex-direction:column;align-items:flex-start}}.po-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.po-create,.po-list,.po-detail-top,.po-info,.po-product-search,.po-items,.po-receipts,.po-timeline{padding:15px}.po-heading,.po-detail-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.po-heading h2,.po-heading h3,.po-heading p,.po-detail-top h2{margin:0}.po-heading p{color:var(--ink-500);font-size:11px}.po-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.po-page label{color:var(--ink-700);flex-direction:column;gap:5px;font-size:12px;font-weight:700;display:flex}.po-page label.is-wide{grid-column:1/-1}.po-page input,.po-page select,.po-page textarea{border:1px solid var(--line);background:#fff;border-radius:7px;width:100%;min-height:40px;padding:8px 10px}.po-page button,.po-page a{border:1px solid var(--line);min-height:36px;color:var(--ink-700);cursor:pointer;background:#fff;border-radius:7px;justify-content:center;align-items:center;padding:0 11px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.po-page .is-primary{color:#fff;border-color:var(--blue-600);background:var(--blue-600)}.po-page button:disabled{opacity:.5;cursor:not-allowed}.po-supplier-select{grid-column:span 2}.po-filter,.po-product-search form{grid-template-columns:1fr 180px auto;align-items:end;gap:8px;margin-top:12px;display:grid}.po-product-search form{grid-template-columns:1fr auto}.po-product-search>div{grid-template-columns:repeat(2,1fr);gap:7px;margin-top:8px;display:grid}.po-product-search>div button{flex-direction:column;align-items:flex-start;height:auto;padding:9px}.po-product-search small,.po-table-wrap td small{color:var(--ink-500);font-size:10px;display:block}.po-table-wrap{margin:12px -15px -15px;overflow:auto}.po-table-wrap table{border-collapse:collapse;width:100%;min-width:900px}.po-table-wrap th,.po-table-wrap td{border-top:1px solid var(--line-soft);text-align:left;padding:10px 15px;font-size:12px}.po-table-wrap th{color:var(--ink-600);background:#f7f9fc;font-size:11px}.po-table-wrap input{min-width:110px}.po-badge{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.po-badge.is-draft{color:#805600;background:#fff4ce}.po-badge.is-ordered{color:#174c80;background:#e7f1fb}.po-badge.is-partially_received{color:#7a4600;background:#fff0dc}.po-badge.is-received{color:#17663a;background:#e7f6ed}.po-badge.is-closed,.po-badge.is-cancelled{color:#6b3440;background:#f3edf0}.po-detail-top h2{margin:8px 0}.po-actions{gap:8px;display:flex}.po-info dl{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.po-info dl div{flex-direction:column;display:flex}.po-info dt{color:var(--ink-500);font-size:10px}.po-info dd{margin:2px 0 0;font-size:12px}.po-state,.po-message{text-align:center;color:var(--ink-500);margin:0;padding:20px}.po-message{color:var(--danger);background:#fff1f2;border-radius:7px}.po-timeline ol{margin:8px 0 0;padding:0;list-style:none}.po-timeline li{border-left:2px solid var(--line);padding:10px 10px 10px 22px;position:relative}.po-timeline li:before{content:"";background:var(--blue-600);border-radius:50%;width:10px;height:10px;position:absolute;top:17px;left:-6px}.po-timeline time{color:var(--ink-500);font-size:10px;display:block}.po-timeline strong{font-size:12px}@media (width<=760px){.po-page{padding:12px}.po-form-grid,.po-supplier-select,.po-info dl,.po-product-search>div{grid-template-columns:1fr}.po-supplier-select,.po-page label.is-wide{grid-column:auto}.po-detail-top{flex-direction:column;align-items:flex-start}.po-actions{flex-wrap:wrap}.po-filter{grid-template-columns:1fr}}.po-supplier-select{flex-direction:column;gap:7px;display:flex;position:relative}.po-supplier-results{z-index:20;border:1px solid var(--line);background:#fff;border-radius:8px;max-height:250px;padding:6px;position:absolute;top:64px;left:0;right:0;overflow:auto;box-shadow:0 12px 28px #19284129}.po-supplier-results button{border:0;flex-direction:column;align-items:flex-start;width:100%;height:auto;min-height:48px;padding:8px 10px}.po-supplier-results button:hover{background:#f3f7fc}.po-supplier-results small,.po-selected-supplier span{color:var(--ink-500);font-size:10px}.po-selected-supplier{background:#f3f8fd;border:1px solid #b9d3ed;border-radius:7px;grid-template-columns:1fr auto auto;gap:8px;padding:8px 10px;display:grid}.po-product-search{border:1px solid var(--line-soft);background:#f8fafc;border-radius:8px;margin:12px 0 0;padding:12px}.po-product-search form{grid-template-columns:1fr auto auto;margin:0}.po-product-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px;display:grid}.po-product-results>button{flex-direction:column;align-items:flex-start;height:auto;padding:9px}.po-product-results>p{color:var(--ink-500);margin:0;font-size:12px}.po-order-total{flex-direction:column;align-items:flex-end;display:flex}.po-order-total span{color:var(--ink-500);font-size:10px}.po-order-total strong{font-size:18px}.po-modal-backdrop{z-index:1000;background:#111c2b8c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.po-product-modal{width:min(720px,100%);max-height:calc(100vh - 48px);padding:18px;overflow:auto}.po-modal-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.po-modal-heading h2,.po-modal-heading p{margin:0}.po-modal-heading p{color:var(--ink-500);margin-top:3px;font-size:11px}.po-stock-helper{color:var(--ink-600);background:#eef6ff;border-radius:7px;margin:12px 0 0;padding:9px 10px;font-size:11px}.po-create-recovery{color:#6f4a00;background:#fff8e8;border:1px solid #e7b868;border-radius:7px;margin:10px 0 0;padding:9px 10px;font-size:11px}.po-modal-fields{border:0;min-width:0;margin:0;padding:0}.po-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.po-modal-grid .is-wide{grid-column:1/-1}.po-modal-grid h3{border-bottom:1px solid var(--line-soft);margin:4px 0 0;padding-bottom:6px;font-size:13px}.po-modal-grid label small{color:var(--ink-500);font-size:10px}.po-price-input{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;display:grid}.po-price-input span{color:var(--ink-500);font-size:11px;font-weight:600}.po-duplicate-warning{background:#fff8e8;border:1px solid #e7b868;border-radius:8px;flex-direction:column;gap:7px;margin-top:12px;padding:12px;display:flex}.po-duplicate-warning>button{justify-content:space-between;height:auto;padding:8px}.po-duplicate-warning>label{flex-direction:row;align-items:center}.po-duplicate-warning input[type=checkbox]{width:auto;min-height:0}.po-modal-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}@media (width<=760px){.po-selected-supplier,.po-modal-grid,.po-product-results,.po-product-search form{grid-template-columns:1fr}.po-modal-backdrop{padding:8px}}.settings-page{flex-direction:column;gap:14px;padding:18px 22px 30px;display:flex}.settings-intro h2,.settings-intro p,.settings-card h3,.settings-card h4,.settings-card header p{margin:0}.settings-intro h2{color:var(--ink-950);font-size:20px}.settings-intro p{color:var(--ink-500);margin-top:4px;font-size:12px}.settings-layout{grid-template-columns:245px minmax(0,760px);align-items:start;gap:14px;display:grid}.settings-section-nav{gap:4px;padding:8px;display:grid}.settings-section-nav button{min-height:42px;color:var(--ink-700);text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:7px;padding:9px 11px;font-size:13px;font-weight:700}.settings-section-nav button:hover{background:var(--surface-muted)}.settings-section-nav button.is-active{color:var(--blue-700);background:#edf5ff}.settings-content{min-width:0}.settings-card{padding:18px}.settings-card>header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:17px;padding-bottom:13px;display:flex}.settings-card h3{color:var(--ink-950);font-size:18px}.settings-card header p{color:var(--ink-500);margin-top:4px;font-size:11px}.settings-card fieldset{border:0;margin:0 0 18px;padding:0}.settings-card legend,.settings-card h4{color:var(--ink-950);margin-bottom:10px;font-size:13px;font-weight:800}.settings-form-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.settings-card label{color:var(--ink-800);gap:5px;font-size:12px;font-weight:700;display:grid}.settings-card label.is-wide{grid-column:1/-1}.settings-card input,.settings-card select,.settings-card textarea{border:1px solid var(--line);width:100%;min-height:40px;color:var(--ink-950);font:inherit;background:#fff;border-radius:7px;outline:none;padding:8px 10px}.settings-card textarea{resize:vertical}.settings-card input:focus,.settings-card select:focus,.settings-card textarea:focus{border-color:var(--blue-500);box-shadow:var(--shadow-focus)}.settings-card input:disabled{color:var(--ink-500);background:var(--surface-muted)}.settings-actions{justify-content:flex-end;margin-top:16px;display:flex}.settings-actions button,.settings-session-row button{border:1px solid var(--line);min-height:40px;color:var(--ink-800);cursor:pointer;background:#fff;border-radius:7px;padding:0 14px;font-size:12px;font-weight:750}.settings-actions .is-primary{border-color:var(--blue-600);color:#fff;background:var(--blue-600)}.settings-actions button:disabled,.settings-session-row button:disabled{cursor:not-allowed;opacity:.5}.settings-warning,.settings-information{color:#714b00;background:#fff8e9;border-radius:7px;margin:12px 0 0;padding:10px 11px;font-size:11px;line-height:1.5}.settings-information{color:var(--ink-600);background:var(--surface-muted)}.settings-feedback{border-radius:7px;margin:0 0 10px;padding:10px 12px;font-size:12px}.settings-feedback.is-success{color:#087244;background:#effaf4}.settings-feedback.is-error,.settings-state.is-error{color:var(--danger);background:var(--danger-soft)}.settings-readonly-badge{border:1px solid var(--line);color:var(--ink-500);background:var(--surface-muted);white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:750}.settings-detail-list{border:1px solid var(--line-soft);border-radius:8px;margin:0;display:grid;overflow:hidden}.settings-detail-list div{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(180px,.7fr) 1fr;gap:15px;padding:11px 12px;display:grid}.settings-detail-list div:last-child{border-bottom:0}.settings-detail-list dt{color:var(--ink-500);font-size:11px}.settings-detail-list dd{color:var(--ink-950);margin:0;font-size:12px;font-weight:700}.settings-threshold{max-width:430px}.settings-threshold input{max-width:210px;font-size:18px;font-weight:750}.settings-threshold small,.settings-password-form small{color:var(--ink-500);font-size:10px;font-weight:500}.settings-password-form{border-top:1px solid var(--line-soft);gap:11px;margin-top:18px;padding-top:17px;display:grid}.settings-password-form label{max-width:430px}.settings-two-factor{border-top:1px solid var(--line-soft);margin-top:18px;padding-top:17px}.settings-two-factor .settings-session-row{border-top:0;margin-top:0;padding-top:0}.settings-qr{border:1px solid var(--line);background:#fff;border-radius:8px;width:220px;max-width:100%;padding:8px}.settings-secret{letter-spacing:.08em;font-family:monospace!important}.settings-recovery pre{border:1px solid var(--line);width:max-content;max-width:100%;color:var(--ink-950);background:var(--surface-muted);border-radius:8px;padding:14px 18px;line-height:1.7;overflow-x:auto}.settings-inline-actions{flex-wrap:wrap;gap:8px;display:flex}.settings-card label.settings-checkbox{grid-template-columns:auto 1fr;align-items:center;max-width:430px;display:flex}.settings-card label.settings-checkbox input{width:18px;min-height:18px}.settings-session-row{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding-top:17px;display:flex}.settings-session-row strong{color:var(--ink-950);font-size:13px}.settings-session-row p{color:var(--ink-500);margin:3px 0 0;font-size:11px}.settings-state{min-height:180px;color:var(--ink-500);place-items:center;display:grid}@media (width<=850px){.settings-layout{grid-template-columns:1fr}.settings-section-nav{display:flex;overflow-x:auto}.settings-section-nav button{white-space:nowrap;flex:none}}@media (width<=620px){.settings-page{padding:12px}.settings-form-grid{grid-template-columns:1fr}.settings-card label.is-wide{grid-column:auto}.settings-detail-list div{grid-template-columns:1fr;gap:4px}.settings-session-row{flex-direction:column;align-items:stretch}}
