:root{--surface-app:#f4f7fb;--surface-panel:#fff;--surface-muted:#eef2f7;--border:#dde5ef;--text-primary:#151f2e;--text-secondary:#4c5a6c;--text-muted:#7d8898;--shadow-soft:0 12px 28px #0f172a0f;--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;font-family:var(--font-sans);color:var(--text-primary);background:var(--surface-app);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{background:var(--surface-app);min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,select{letter-spacing:0}button{transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s,transform .16s}button:disabled{cursor:not-allowed;opacity:.55}img,svg{display:block}#root{min-height:100vh}:root{--accent:#2563eb;--accent-strong:#1d4ed8;--ring:#2563eb59;--shadow-card:0 1px 2px #0f172a0a, 0 10px 24px #0f172a0f;--shadow-pop:0 12px 32px #0f172a24}*{scrollbar-width:thin;scrollbar-color:#c3ccd8 transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#c3ccd8 padding-box content-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:#9aa6b6 padding-box content-box}::-webkit-scrollbar-track{background:0 0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}button:focus:not(:focus-visible),input:focus:not(:focus-visible),select:focus:not(:focus-visible){outline:none}button:not(:disabled):active{transform:translateY(1px)}input,select,textarea{transition:border-color .15s,box-shadow .15s,background-color .15s}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px var(--ring)}::selection{background:#2563eb2e}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.app-shell{min-height:100vh;color:var(--text-primary);background:#edf2f4;grid-template-columns:220px minmax(0,1fr);display:grid}.app-nav{color:#f5fbf8;background:#12211e;flex-direction:column;gap:14px;height:100vh;padding:14px;display:flex;position:sticky;top:0}.brand-block{background:#ffffff0f;border-radius:8px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-height:54px;padding:8px;display:grid}.brand-block img{object-fit:contain;background:#fff;border-radius:7px;width:42px;height:42px;padding:4px}.brand-block strong,.brand-block span,.shift-panel strong,.shift-panel small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.brand-block strong{font-size:15px;line-height:20px}.brand-block span,.shift-panel span,.shift-panel small{color:#a9c7c0;font-size:12px}.nav-list{gap:4px;display:grid}.nav-list button,.topbar button,.category-tabs button,.quick-products button,.detail-row button,.mode-group button,.payment-methods button,.payment-actions button,.payment-head button{cursor:pointer;font:inherit;border:0}.nav-list button{color:#c9d9d5;text-align:left;background:0 0;border-radius:7px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:40px;padding:0 10px;display:grid}.nav-list button:hover,.nav-list button.active{color:#fff;background:#ffffff1f}.nav-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nav-list b{color:#06231f;text-align:center;background:#2dd4bf;border-radius:999px;min-width:24px;padding:2px 6px;font-size:11px;line-height:16px}.shift-panel{background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;gap:4px;margin-top:auto;padding:11px;display:grid}.shift-panel strong{color:#fff;font-size:13px}.sales-screen{grid-template-rows:auto auto auto;align-content:start;gap:10px;min-width:0;padding:10px;display:grid}.topbar{background:#fff;border:1px solid #d7e0ea;border-radius:8px;grid-template-columns:250px minmax(260px,1fr) 132px auto;align-items:center;gap:10px;min-width:0;min-height:58px;padding:10px;display:grid}.title-group{min-width:0}.title-group span,.section-label,.invoice-number span,.readonly-field span,.invoice-form label span,.payment-head span,.paid-input span,.settlement span,.money-table span,.ledger-head span,.debt-meter span{color:var(--text-muted);letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:850}.title-group h1,.entry-toolbar h2,.payment-head h2{color:var(--text-primary);letter-spacing:0;margin:0}.entry-toolbar h2{font-size:20px;line-height:26px}.payment-head h2{color:#2563eb;font-size:24px;line-height:30px}.global-search,.entry-search{min-width:0;min-height:38px;color:var(--text-muted);background:#f8fafc;border:1px solid #d6e0ea;border-radius:7px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:0 10px;display:grid}.global-search input,.entry-search input,.invoice-form select,.branch-switcher select,.detail-row input,.paid-input input{width:100%;min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0}.branch-switcher{background:#f8fafc;border:1px solid #d6e0ea;border-radius:7px;grid-template-columns:1fr;gap:2px;min-width:0;min-height:38px;padding:5px 9px;display:grid}.branch-switcher span{color:var(--text-muted);text-transform:uppercase;font-size:10px;font-weight:850;line-height:12px}.branch-switcher select{cursor:pointer;font-size:13px;font-weight:800}.branch-chip{color:#075985;background:#eef8ff;border:1px solid #b8d5ed;border-radius:999px;justify-content:center;align-items:center;width:fit-content;min-width:44px;min-height:24px;padding:3px 8px;font-size:12px;font-weight:850;display:inline-flex}.topbar-actions{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.topbar-actions>button,.account-chip,.sync-state,.payment-head button{white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:38px;display:inline-flex}.topbar-actions>button,.account-chip,.payment-head button{color:var(--text-secondary);background:#fff;border:1px solid #d7e0ea}.topbar-actions>button:not(.account-chip){width:38px}.account-chip{color:var(--text-primary);padding:0 11px;font-weight:800}.sync-state{color:#116154;background:#e8f0fe;padding:0 11px;font-size:13px;font-weight:850}.sync-state.demo,.sync-note.demo{color:#8a4b00;background:#fff2d8}.sales-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:10px;min-width:0;display:grid}.invoice-workspace{gap:10px;min-width:0;display:grid}.invoice-form,.product-entry,.bottom-ledger,.payment-panel,.status-strip{background:#fff;border:1px solid #d7e0ea;border-radius:8px;min-width:0;box-shadow:0 10px 24px #0f172a0a}.invoice-form{grid-template-columns:138px minmax(220px,1.3fr) 150px 140px 132px 190px;align-items:stretch;gap:8px;padding:10px;display:grid}.invoice-number,.readonly-field,.invoice-form label,.debt-meter{background:#fbfcfe;border:1px solid #dbe5ee;border-radius:7px;align-content:center;gap:4px;min-width:0;min-height:56px;padding:8px 10px;display:grid}.invoice-number strong{font-size:20px;line-height:24px}.invoice-form select{height:24px;font-weight:800}.readonly-field strong,.debt-meter strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.debt-meter{color:#8a4b00;background:#fff7e6}.debt-meter div{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.debt-meter i{background:#e6edf4;border-radius:999px;height:6px;overflow:hidden}.debt-meter i b{border-radius:inherit;background:#2563eb;height:100%;display:block}.product-entry{gap:10px;padding:10px;display:grid}.entry-toolbar{grid-template-columns:190px minmax(280px,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.category-tabs{background:#edf2f7;border:1px solid #d7e0ea;border-radius:7px;gap:4px;min-width:0;padding:4px;display:flex}.category-tabs button{min-height:30px;color:var(--text-secondary);background:0 0;border-radius:6px;padding:0 10px;font-size:13px;font-weight:850}.category-tabs button.selected{color:var(--text-primary);background:#fff;box-shadow:0 5px 12px #0f172a14}.quick-products{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;min-width:0;display:grid}.quick-products button{min-width:0;min-height:58px;color:var(--text-primary);text-align:left;background:#fff;border:1px solid #dbe5ee;border-radius:7px;grid-template-rows:auto auto;grid-template-columns:4px minmax(0,1fr);align-content:center;gap:2px 8px;padding:8px;display:grid}.quick-products button:hover{background:#fbfffd;border-color:#78bdb2}.quick-products button>span{border-radius:999px;grid-row:1/3;align-self:center;width:4px;height:34px}.quick-products strong,.quick-products small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quick-products small{color:var(--text-muted);font-size:12px}.detail-grid{border:1px solid #d7e0ea;border-radius:7px;align-content:start;min-width:0;min-height:252px;display:grid;overflow:hidden}.detail-head,.detail-row{grid-template-columns:46px minmax(240px,1fr) 116px 166px 58px 126px 134px 42px;align-items:center;gap:8px;min-width:0;display:grid}.detail-head{min-height:34px;color:var(--text-muted);text-transform:uppercase;background:#f1f5f9;padding:0 10px;font-size:12px;font-weight:900}.detail-row{background:#fff;border-top:1px solid #e3ebf3;min-height:62px;padding:8px 10px}.detail-row:nth-child(2n){background:#fbfdff}.detail-row>span,.detail-row>strong,.line-name strong,.line-name small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.line-name{gap:2px;min-width:0;display:grid}.line-name small,.detail-row>span{color:var(--text-muted);font-size:12px}.detail-row>strong{text-align:right}.qty-control,.size-control{align-items:center;gap:4px;min-width:0;display:grid}.qty-control{grid-template-columns:28px minmax(38px,1fr) 28px}.size-control{grid-template-columns:minmax(54px,1fr) 12px minmax(54px,1fr)}.qty-control button,.row-delete{width:28px;height:28px;color:var(--text-secondary);background:#edf2f7;border-radius:6px;place-items:center;display:grid}.row-delete{justify-self:end}.detail-row input,.paid-input input{text-align:center;background:#fff;border:1px solid #d7e0ea;border-radius:6px;height:30px}.order-note{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:10px;display:grid}.order-note span{color:var(--text-muted);text-transform:uppercase;font-size:12px;font-weight:850}.order-note input{min-width:0;height:36px;font:inherit;border:1px solid #d7e0ea;border-radius:6px;outline:0;padding:0 10px}.empty-row{min-height:120px;color:var(--text-muted);place-items:center;gap:8px;display:grid}.bottom-ledger{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px;padding:10px;display:grid}.ledger-card{gap:6px;min-width:0;display:grid}.ledger-head,.ledger-line,.job-line{align-items:center;gap:8px;min-width:0;display:grid}.ledger-head{grid-template-columns:minmax(0,1fr) auto}.ledger-head strong{font-size:13px}.ledger-line,.job-line{background:#f8fafc;border-radius:6px;min-height:34px;padding:0 8px;font-size:12px}.ledger-line{grid-template-columns:44px 68px minmax(0,1fr)}.job-line{grid-template-columns:58px minmax(0,1fr) 80px minmax(100px,.8fr)}.ledger-line small,.job-line span,.job-line small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.job-line i{background:#dfe8f0;border-radius:999px;height:6px;overflow:hidden}.job-line i b{border-radius:inherit;background:#2563eb;height:100%;display:block}.payment-panel{gap:10px;padding:10px;display:grid;position:sticky;top:10px}.payment-head{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.payment-head button{flex:none;width:38px}.saved-state,.sync-note{border-radius:7px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:9px;font-size:12px;display:grid}.saved-state{color:#2563eb;background:#e8f0fe}.saved-state strong,.saved-state span{display:block}.saved-state span{color:var(--text-secondary)}.mode-group,.payment-methods{background:#edf2f7;border:1px solid #d7e0ea;border-radius:7px;gap:5px;padding:4px;display:grid}.mode-group{grid-template-columns:repeat(2,1fr)}.payment-methods{grid-template-columns:repeat(3,1fr)}.mode-group button,.payment-methods button{min-height:32px;color:var(--text-secondary);background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:6px;font-size:13px;font-weight:850;display:inline-flex}.mode-group button.selected,.payment-methods button.selected{color:var(--text-primary);background:#fff;box-shadow:0 5px 12px #0f172a14}.money-table,.settlement{border-top:1px solid #d7e0ea;border-bottom:1px solid #d7e0ea;gap:8px;padding:10px 0;display:grid}.money-table div,.settlement div{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.money-table strong,.settlement strong{overflow-wrap:anywhere;min-width:0}.total-row strong,.settlement div:first-child strong{color:#2563eb;font-size:20px}.paid-input{gap:6px;display:grid}.paid-input input{text-align:right;height:42px;padding:0 10px;font-size:18px;font-weight:850}.paid-input input:disabled{color:var(--text-muted);background:#f1f5f9}.sync-note{color:#116154;background:#e8f0fe;font-weight:850}.payment-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.payment-actions button{min-width:0;min-height:42px;color:var(--text-primary);background:#edf2f7;border-radius:7px;justify-content:center;align-items:center;gap:7px;font-weight:850;display:inline-flex}.payment-actions .pay-primary{color:#fff;background:#2563eb;grid-column:1/-1;min-height:48px;font-size:16px}.payment-actions button:disabled{cursor:not-allowed;opacity:.55}.status-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;display:grid}.metric{background:#fbfcfe;border:1px solid #dbe5ee;border-radius:7px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;min-height:40px;padding:8px 10px;display:grid}.metric svg{color:#526273}.metric span,.metric strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.metric span{color:var(--text-muted);font-size:12px}.metric strong{text-align:right}.module-page{gap:10px;min-width:0;display:grid}.overview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.overview-grid .metric{grid-template-rows:auto auto;grid-template-columns:32px minmax(0,1fr);align-content:center;min-height:76px}.overview-grid .metric svg{grid-row:1/3}.overview-grid .metric strong{text-align:left;font-size:18px}.dashboard-grid,.settings-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr);align-items:start;gap:10px;min-width:0;display:grid}.customer-care-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0;display:grid}.customer-care-panel{min-height:230px}.customer-care-list{min-width:0;display:grid}.customer-care-row{border-bottom:1px solid #edf2f7;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:10px 0;display:grid}.customer-care-row:last-child{border-bottom:0}.customer-care-row span{gap:2px;min-width:0;display:grid}.customer-care-row strong{min-width:0;color:var(--ds-ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:18px;overflow:hidden}.customer-care-row small{min-width:0;color:var(--ds-ink-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.customer-care-row b{color:var(--ds-primary);font-variant-numeric:tabular-nums;text-align:right;font-size:12px;font-weight:650}.customer-care-row.warn b{color:#b91c1c}.customer-care-row em{color:var(--ds-ink-soft);text-align:right;font-size:11px;font-style:normal;line-height:15px}@media (width<=1180px){.customer-care-grid{grid-template-columns:1fr}}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-panel{background:#fff;border:1px solid #d7e0ea;border-radius:8px;gap:12px;min-width:0;padding:14px;display:grid;box-shadow:0 10px 24px #0f172a0a}.module-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.module-head span,.entity-form>span,.detail-modal>span,.qr-modal>span{color:var(--text-muted);text-transform:uppercase;font-size:12px;font-weight:850}.module-head h2,.entity-form h2,.detail-modal h2,.qr-modal h2{margin:0;font-size:20px;line-height:26px}.module-head>button,.primary-command,.danger-command,.text-command{cursor:pointer;font:inherit;border:0}.module-head>button:not(.primary-command){color:#2563eb;background:0 0;font-weight:850}.module-toolbar{flex-wrap:wrap;row-gap:8px}.module-toolbar .module-toolbar-titles{min-width:0;margin-right:auto}.module-toolbar-filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.module-toolbar-action{align-items:center;gap:8px;display:flex}.module-toolbar-filters .report-filter{color:var(--text-muted,#66758a);gap:3px;font-size:11px;font-weight:600;display:grid}.module-toolbar-filters .report-filter input{color:#0f172a;background:#fff;border:1px solid #d3dfeb;border-radius:7px;height:34px;padding:0 8px;font-size:12px}.primary-command,.danger-command{border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-weight:850;display:inline-flex}.primary-command{color:#fff;background:#2563eb}.danger-command{color:#b91c1c;background:#fee2e2}.text-command{color:#2563eb;background:#e8f0fe;border-radius:6px;min-height:30px;padding:0 9px;font-weight:850}.data-table-wrap{border:1px solid #d7e0ea;border-radius:7px;min-width:0;overflow:auto}.data-table{border-collapse:collapse;width:100%;min-width:820px;font-size:13px}.data-table th{height:38px;color:var(--text-muted);text-align:left;text-transform:uppercase;white-space:nowrap;background:#f1f5f9;padding:0 10px;font-size:11px}.data-table td{vertical-align:middle;border-top:1px solid #e3ebf3;min-height:50px;padding:10px}.data-table td small{color:var(--text-muted);margin-top:2px;display:block}.data-table-empty:hover{background:0 0}.data-table-empty td{text-align:center;color:var(--text-muted);padding:36px 12px;font-size:13px;font-style:italic}.table-actions{gap:6px;display:flex}.table-actions button{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:#edf2f7;border:0;border-radius:6px;place-items:center;display:grid}.status-badge,.state-dot{color:var(--text-secondary);white-space:nowrap;background:#f1f5f9;border-radius:999px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.status-badge.paid,.state-dot.good{color:#166534;background:#dcfce7}.status-badge.debt{color:#92400e;background:#fef3c7}.status-badge.cancelled{color:#991b1b;background:#fee2e2}.table-progress{grid-template-columns:minmax(80px,1fr) auto;align-items:center;gap:8px;min-width:130px;display:grid}.table-progress i{background:#e2e8f0;border-radius:999px;height:6px;overflow:hidden}.table-progress i b{border-radius:inherit;background:#d97706;height:100%;display:block}.status-panel,.info-list{gap:8px;display:grid}.status-line{background:#fbfcfe;border:1px solid #e0e8f0;border-radius:7px;grid-template-columns:10px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:10px;display:grid}.status-line>i{background:#dc2626;border-radius:50%;width:9px;height:9px}.status-line>i.good{background:#16a34a}.status-line span,.status-line strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.status-line span,.info-list span{color:var(--text-muted);font-size:12px}.info-list div{border-bottom:1px solid #e7edf3;grid-template-columns:minmax(120px,.4fr) minmax(0,1fr);gap:12px;min-width:0;padding:9px 0;display:grid}.info-list strong{overflow-wrap:anywhere;text-align:right;min-width:0}.settings-warning,.danger-panel p{color:var(--text-secondary);margin:0;font-size:13px;line-height:20px}.danger-panel{border-color:#fecaca}.modal-backdrop{z-index:100;background:#0f172a85;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-dialog{background:#fff;border-radius:8px;width:min(720px,100%);max-height:calc(100vh - 40px);padding:20px;position:relative;overflow:auto;box-shadow:0 30px 80px #0f172a4d}.modal-dialog:has(.settings-form-section){width:min(940px,100%)}.modal-close{z-index:2;width:34px;height:34px;color:var(--text-secondary);cursor:pointer;background:#edf2f7;border:0;border-radius:6px;place-items:center;display:grid;position:absolute;top:12px;right:12px}.file-import-popover{z-index:90;background:#0f172a6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.file-import-card{background:#fff;border:1px solid #d3dde8;border-radius:8px;gap:10px;width:min(980px,100%);max-height:calc(100vh - 36px);padding:14px;display:grid;overflow:auto;box-shadow:0 24px 70px #0f172a47}.file-import-head,.file-import-footer,.file-import-tools{align-items:center;gap:8px;min-width:0;display:flex}.file-import-head{justify-content:space-between}.file-import-head span{color:var(--text-secondary);text-transform:uppercase;font-size:11px;font-weight:850}.file-import-head strong{color:var(--text-primary);font-size:17px;display:block}.file-import-head button,.file-import-footer button,.file-import-tools button,.file-picker-command{color:#314256;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d7e0ea;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.file-picker-command input{display:none}.file-import-tools{background:#f8fafc;border:1px solid #e1e8f0;border-radius:7px;flex-wrap:wrap;padding:8px}.file-import-tools label{color:#59697d;align-items:center;gap:5px;font-size:12px;font-weight:750;display:inline-flex}.unit-toggle{background:#fff;border:1px solid #d7e0ea;border-radius:6px;padding:2px;display:inline-flex}.unit-toggle button{background:0 0;border:0;min-height:28px}.unit-toggle button.selected{color:#2563eb;background:#e8f0fe}.file-import-layout{grid-template-columns:190px minmax(0,1fr);gap:10px;min-height:280px;display:grid}.file-import-list{background:#fff;border:1px solid #d7e0ea;border-radius:7px;align-content:start;gap:4px;min-width:0;padding:6px;display:grid;overflow:auto}.file-import-list span{color:#748195;padding:10px;font-size:12px}.file-import-list button{color:#314256;min-width:0;min-height:28px;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:5px;padding:0 7px;font-size:12px;overflow:hidden}.file-import-list button.selected{color:#174b86;background:#dcecff;font-weight:800}.file-import-table-wrap{border:1px solid #d7e0ea;border-radius:7px;min-width:0;overflow:auto}.file-import-table{border-collapse:collapse;width:100%;min-width:720px;font-size:12px}.file-import-table th,.file-import-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e5ebf2;padding:7px 8px}.file-import-table th{color:#526176;background:#f1f5f9;font-size:11px;font-weight:850}.file-import-warning{color:#92400e;background:#fff8ea;border:1px solid #f1c27d;border-radius:6px;padding:8px 10px;font-size:12px;font-weight:800}.file-import-footer{flex-wrap:wrap;justify-content:flex-end}.file-import-footer select,.file-import-footer input{min-width:0;height:36px;font:inherit;background:#fff;border:1px solid #d7e0ea;border-radius:6px;font-size:12px}.file-import-footer select{width:min(320px,100%)}.file-import-footer input{text-align:right;width:110px;padding:0 8px}.file-import-footer>strong{color:#2563eb;text-align:right;min-width:110px}.entity-form,.detail-modal,.qr-modal{gap:14px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.settings-form-section{background:#fbfdff;border:1px solid #d7e0ea;border-radius:8px;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;display:grid}.settings-form-section+.settings-form-section{margin-top:2px}.settings-form-logo{grid-template-columns:minmax(160px,.4fr) minmax(0,1fr);align-items:center}.settings-form-title{grid-column:1/-1;gap:2px;display:grid}.settings-form-logo .settings-form-title{grid-column:auto}.settings-form-title span{color:#64748b;letter-spacing:.02em;text-transform:uppercase;font-size:11px;font-weight:650}.settings-form-title strong{color:#0f172a;font-size:15px;font-weight:650}.form-field{gap:6px;min-width:0;display:grid}.form-field span{color:var(--text-secondary);font-size:12px;font-weight:800}.form-field input,.form-field select,.form-field textarea{width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #d7e0ea;border-radius:7px;outline:0;padding:9px 10px}.form-field input,.form-field select{height:40px}.form-field textarea{resize:vertical}.logo-upload-field{background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.settings-form-logo .logo-upload-field{min-width:0}.logo-upload-field img{object-fit:contain;background:#fff;border:1px solid #d7e0ea;border-radius:8px;width:56px;height:56px}.logo-upload-field div{gap:7px;min-width:0;display:grid}.logo-upload-field input{background:#fff;height:auto;padding:7px 8px}.logo-upload-field button{color:#1f2a44;background:#fff;border:1px solid #cbd6e2;border-radius:7px;justify-self:start;min-height:30px;padding:0 10px;font-size:12px;font-weight:600}.logo-upload-field small{color:#607089;font-size:12px;line-height:1.35}.logo-upload-field .form-error-text{color:#b42318}.settings-logo-preview{color:#607089;background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;align-items:center;gap:10px;margin:6px 0 12px;padding:10px;font-size:12px;display:flex}.settings-logo-preview img{object-fit:contain;background:#fff;border:1px solid #d7e0ea;border-radius:8px;width:48px;height:48px}.form-submit{justify-self:end}.compact-check{color:#334155;background:#fff;border:1px solid #d7e0ea;border-radius:7px;align-items:center;gap:8px;min-height:40px;padding:0 10px;font-size:13px;font-weight:500;display:inline-flex}.compact-check input[type=checkbox]{accent-color:#2563eb;width:14px;height:14px}.settings-qr-check{align-self:end}.form-summary{background:#fff7e6;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.form-summary strong{color:#8a4b00;font-size:18px}.purchase-line-editor{background:#f8fafc;border:1px solid #d7e0ea;border-radius:8px;grid-column:1/-1;gap:10px;padding:10px;display:grid}.purchase-line-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.purchase-line-head span{color:var(--text-secondary);text-transform:uppercase;font-size:12px;font-weight:800}.purchase-line-head button,.purchase-line-row>button{min-height:36px;color:var(--text-primary);font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;justify-content:center;align-items:center;gap:6px;font-weight:800;display:inline-flex}.purchase-line-row{grid-template-columns:minmax(220px,1fr) 130px 130px 140px 38px;align-items:end;gap:10px;display:grid}.purchase-line-row>button{width:38px;padding:0}.purchase-line-row>button:disabled{cursor:not-allowed;opacity:.45}.purchase-line-total{background:#fff;border:1px solid #d7e0ea;border-radius:7px;align-content:center;gap:2px;min-height:40px;padding:7px 9px;display:grid}.purchase-line-total span{color:var(--text-secondary);font-size:11px;font-weight:800}.purchase-line-total strong{font-size:13px}.purchase-total{grid-column:1/-1}.warning-summary{background:#fff0f0}.warning-summary strong{color:#b42318}.production-page{gap:10px;display:grid}.production-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.production-state{color:#425466;white-space:nowrap;background:#edf2f7;border-radius:5px;align-items:center;min-height:26px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.production-state.ready,.production-state.completed{color:#116154;background:#e3f6ef}.production-state.designing,.production-state.printing,.production-state.finishing{color:#1d4f91;background:#e8f0ff}.production-state.waiting_file,.production-state.on_hold{color:#8a4b00;background:#fff2d8}.production-state.cancelled{color:#9b1c1c;background:#f4e8e8}.overdue-text{color:#b42318;font-weight:800}.table-actions .danger-icon{color:#b42318}.detail-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.detail-history-grid>section{border-top:1px solid #d7e0ea;min-width:0;padding-top:12px}.detail-history-grid h3{margin:0 0 8px;font-size:14px}.detail-history-grid p{color:var(--text-muted);margin:0;font-size:13px}.history-line{border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:8px 0;display:flex}.history-line div{gap:3px;min-width:0;display:grid}.history-line small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-line>b{color:#2563eb;flex:none;font-size:12px}.history-line>b.refund{color:#b42318}.detail-total{justify-content:flex-end;align-items:center;gap:16px;font-size:18px;display:flex}.detail-total strong{color:#2563eb;font-size:24px}.qr-modal{text-align:center;justify-items:center}.qr-modal>strong{font-size:22px}.qr-modal p{color:var(--text-secondary);margin:-8px 0 0}.qr-modal>div{border-bottom:1px solid #e3ebf3;justify-content:space-between;gap:12px;width:min(360px,100%);padding:9px 0;display:flex}.toast{z-index:120;color:#fff;background:#123d36;border-radius:8px;align-items:center;gap:9px;max-width:min(420px,100vw - 36px);padding:12px 14px;font-weight:800;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 18px 48px #0f172a42}.print-invoice{display:none}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #2563eb52}@media (width<=1500px){.app-shell{grid-template-columns:204px minmax(0,1fr)}.sales-layout{grid-template-columns:minmax(0,1fr) 340px}.invoice-form{grid-template-columns:130px minmax(210px,1fr) 140px 132px 124px}.debt-meter{grid-column:span 2}.quick-products{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=1180px){.topbar{grid-template-columns:minmax(0,1fr) auto auto}.branch-switcher,.topbar-actions{order:2}.global-search{order:3;grid-column:1/-1}.branch-switcher{justify-self:end;min-width:132px}.sales-layout{grid-template-columns:1fr}.payment-panel{order:-1;position:static}.invoice-form{grid-template-columns:repeat(3,minmax(0,1fr))}.debt-meter{grid-column:auto}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.app-shell{grid-template-columns:1fr}.app-nav{flex-direction:row;height:auto;padding:8px;position:static;overflow-x:auto}.brand-block,.shift-panel{flex:0 0 170px}.nav-list{align-items:center;display:flex}.nav-list button{grid-template-columns:20px;justify-content:center;width:44px;padding:0}.nav-list span,.nav-list b{display:none}.sales-screen{padding:8px}.topbar,.invoice-form,.entry-toolbar,.bottom-ledger,.status-strip,.dashboard-grid,.settings-grid{grid-template-columns:1fr}.branch-switcher{justify-self:stretch}.production-summary,.detail-history-grid{grid-template-columns:1fr}.topbar-actions,.category-tabs,.quick-products{overflow-x:auto}.quick-products{display:flex}.quick-products button{flex:0 0 180px}.detail-grid{overflow:visible}.detail-head{display:none}.detail-row{grid-template-columns:28px minmax(0,1fr) 34px;align-items:start;gap:7px;min-width:0}.detail-row>span:first-child{grid-area:1/1/span 2}.line-name{grid-area:1/2}.row-delete{grid-area:1/3}.qty-control{grid-area:2/2/auto/-1;max-width:150px}.size-control{grid-area:3/2/auto/-1;max-width:220px}.detail-row>span:nth-of-type(2){display:none}.detail-row>strong{text-align:left}.detail-row>strong:first-of-type{color:var(--text-muted);grid-area:4/2;font-size:12px}.detail-row>strong:nth-of-type(2){grid-area:5/2/auto/-1;font-size:16px}.overview-grid{grid-template-columns:1fr}.module-head{flex-direction:column;align-items:stretch}.form-grid,.order-note{grid-template-columns:1fr}}@media (width<=520px){.brand-block{flex-basis:54px;grid-template-columns:42px}.brand-block div,.shift-panel,.sync-state span,.account-chip span{display:none}.account-chip{width:38px;padding:0}.account-chip svg:last-child{display:none}.payment-methods,.mode-group,.payment-actions{grid-template-columns:1fr}.payment-actions .pay-primary{grid-column:auto}}@media print{@page{size:A5 portrait;margin:0}html,body{background:#fff;width:148mm;min-height:210mm;margin:0}.app-nav,.sales-screen,.modal-backdrop,.toast{display:none!important}.print-invoice{box-sizing:border-box;color:#000;width:148mm;max-width:148mm;min-height:210mm;padding:7mm 8mm 8mm;font-family:Arial,sans-serif;font-size:10px;line-height:1.32;display:block}.print-invoice header{text-align:center}.print-invoice h1,.print-invoice h2,.print-invoice p{margin:3px 0}.print-meta{margin:8px 0}.print-invoice table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:9px}.print-invoice th,.print-invoice td{text-align:left;overflow-wrap:anywhere;border:1px solid #000;padding:3px 4px}.print-invoice footer{text-align:right;margin-top:10px}.print-head{text-align:left;border-bottom:2px solid #000;align-items:center;gap:8px;padding-bottom:6px;display:flex}.print-logo{object-fit:contain;width:48px;height:auto}.print-company h1{margin:0 0 2px;font-size:13px}.print-company p{margin:1px 0;font-size:9px}.print-title{text-align:center;margin:8px 0 4px;font-size:13px}.print-totals{text-align:right;margin-top:8px}.print-inwords{text-align:right;font-size:9px}.print-bank{border-top:1px dashed #000;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;padding-top:7px;display:flex}.print-bank-info{text-align:left;font-size:9px}.print-bank-info p{margin:2px 0}.print-bank-qr{object-fit:contain;width:28mm;height:auto}.print-foot{text-align:center;margin-top:9px;font-style:italic}.print-invoice-commercial{flex-direction:column;min-height:210mm;padding:6mm 7mm;display:flex}.print-commercial-head{text-align:left;border-bottom:1.2px solid #000;grid-template-columns:18mm minmax(0,1fr) 26mm;align-items:start;gap:4mm;padding-bottom:3mm;display:grid}.print-invoice .print-commercial-head{text-align:left}.print-commercial-head .print-logo{object-fit:contain;width:16mm;max-height:16mm}.print-commercial-head .print-company strong{text-transform:uppercase;margin-bottom:1mm;font-size:12px;display:block}.print-commercial-head .print-company p{margin:.7mm 0;font-size:8.5px}.print-quick-pay{text-align:center;justify-items:center;gap:1mm;font-size:7px;display:grid}.print-quick-pay svg,.print-quick-pay img{object-fit:contain;width:20mm;height:20mm}.print-invoice-commercial .print-title{text-align:center;letter-spacing:0;margin:4mm 0 2mm;font-size:18px}.print-invoice-meta{border:1px solid #000;grid-template-columns:32mm 1fr 1fr;gap:1.5mm 3mm;padding:2mm 3mm;display:grid}.print-invoice-meta div{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:2mm;display:grid}.print-invoice-meta span{color:#333;font-size:8px}.print-invoice-meta strong{overflow-wrap:anywhere;min-width:0;font-size:9px}.print-invoice-commercial .print-barcode{max-width:58mm;margin:2mm auto 3mm}.print-lines-commercial{table-layout:fixed}.print-lines-commercial th,.print-lines-commercial td{vertical-align:top;padding:1.8mm 1.2mm;font-size:8.3px;line-height:1.2}.print-lines-commercial th:first-child{text-align:center;width:8mm}.print-lines-commercial th:nth-child(2){width:auto}.print-lines-commercial th:nth-child(3){text-align:center;width:12mm}.print-lines-commercial th:nth-child(4){text-align:center;width:24mm}.print-lines-commercial th:nth-child(5){text-align:right;width:20mm}.print-lines-commercial th:nth-child(6){text-align:right;width:18mm}.print-lines-commercial th:nth-child(7){text-align:right;width:22mm}.print-lines-commercial td:first-child,.print-lines-commercial td:nth-child(3),.print-lines-commercial td:nth-child(4){text-align:center}.print-lines-commercial td:nth-child(5),.print-lines-commercial td:nth-child(6),.print-lines-commercial td:nth-child(7){text-align:right}.print-summary-commercial{grid-template-columns:minmax(0,1fr) 48mm;align-items:start;gap:4mm;margin-top:3mm;display:grid}.print-note{border:1px solid #000;min-height:18mm;padding:2mm}.print-note .print-inwords{text-align:left;font-size:9px}.print-total-box{border-top:1px solid #000}.print-total-box p{border-bottom:1px solid #000;justify-content:space-between;gap:4mm;margin:0;padding:1.7mm 0;font-size:9px;display:flex}.print-total-box strong{font-size:12px}.print-payment-strip{border:1px dashed #555;grid-template-columns:minmax(0,1fr) 24mm;align-items:center;gap:4mm;margin-top:3mm;padding:2mm;display:grid}.print-payment-strip p{margin:1mm 0 0;font-size:8px}.print-payment-qr{justify-content:center;display:flex}.print-payment-qr svg,.print-payment-qr img{object-fit:contain;width:22mm;height:22mm}.print-invoice footer.print-signatures,.print-signatures{text-align:center;grid-template-columns:repeat(4,1fr);gap:3mm;margin-top:auto;padding-top:5mm;font-style:normal;display:grid}.print-signatures div{flex-direction:column;min-height:23mm;display:flex}.print-signatures strong{font-size:9px}.print-signatures span{margin-top:1mm;font-size:7px}.print-signatures em{margin-top:auto;font-size:9px;font-style:normal;font-weight:700}}.app-nav{background:#10231f;gap:10px;padding:10px 8px}.brand-block{background:0 0;grid-template-columns:46px;justify-content:center;min-height:54px;padding:4px}.brand-block img{width:46px;height:46px}.brand-block>div{display:none}.nav-list button{grid-template-columns:22px;justify-content:center;justify-self:center;width:48px;min-height:44px;padding:0;position:relative}.nav-list button svg{width:19px;height:19px}.nav-list button>span{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.nav-list b{min-width:20px;padding:1px 5px;position:absolute;top:-3px;right:-4px}.shift-panel{align-content:center;justify-self:center;justify-items:center;width:48px;min-height:48px;padding:6px}.shift-panel span,.shift-panel small,.shift-panel strong{display:none}.shift-panel svg{color:#d9ebe6}.sales-screen{gap:10px;padding:10px}.topbar{min-height:56px;box-shadow:none;grid-template-columns:246px minmax(240px,1fr) auto auto;padding:8px 10px}.title-group h1{font-size:20px;line-height:24px}.sales-workbench{grid-template-columns:226px minmax(520px,1fr) 326px;align-items:start;gap:10px;min-width:0;display:grid}.customer-context,.catalog-workspace,.receipt-dock{background:#fff;border:1px solid #d6dee7;border-radius:7px;min-width:0}.customer-context{gap:10px;padding:11px;display:grid}.workbench-heading{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.workbench-heading span,.customer-picker>label,.receipt-head span,.receipt-line-price label span{color:#758195;text-transform:uppercase;font-size:11px;font-weight:850}.workbench-heading h2,.receipt-head h2{color:#142032;margin:1px 0 0;font-size:16px;line-height:21px}.customer-tier{background:#e7f7f3;border-radius:999px;flex:none;padding:4px 6px;color:#0d766b!important;font-size:10px!important}.customer-picker{gap:5px;display:grid}.customer-picker>div{grid-template-columns:minmax(0,1fr) 34px;gap:5px;min-width:0;display:grid}.customer-picker select,.customer-picker button{color:#182334;min-width:0;height:34px;font:inherit;background:#fff;border:1px solid #d6dee7;border-radius:6px}.customer-picker select{padding:0 8px;font-size:12px;font-weight:750}.customer-picker button{cursor:pointer;place-items:center;display:grid}.customer-profile{background:#f8fafb;border:1px solid #dbe3eb;border-radius:6px;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:9px;display:grid}.customer-avatar{color:#fff;background:#117d73;border-radius:6px;place-items:center;width:38px;height:38px;display:grid}.customer-profile strong,.customer-profile span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.customer-profile strong{font-size:13px}.customer-profile span{color:#758195;margin-top:2px;font-size:11px}.customer-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.customer-facts>div{border:1px solid #dbe3eb;border-radius:6px;gap:4px;min-width:0;padding:8px;display:grid}.customer-facts span,.customer-credit span,.customer-credit small{color:#7b8797;font-size:10px}.customer-facts strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.customer-credit{color:#8b550c;background:#fff6df;border-radius:6px;gap:6px;padding:9px;display:grid}.customer-credit>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.customer-credit strong{font-size:12px}.customer-credit i{background:#e4e9ee;border-radius:999px;height:5px;overflow:hidden}.customer-credit i b{background:#16877c;height:100%;display:block}.customer-credit.over-limit{color:#a32722;background:#fce9e8}.customer-summary{border:1px solid #dbe3eb;border-radius:6px;display:grid;overflow:hidden}.customer-summary>div{border-bottom:1px solid #e5ebf0;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;min-height:39px;padding:0 8px;display:grid}.customer-summary>div:last-child{border-bottom:0}.customer-summary svg{color:#687789}.customer-summary span{color:#718094;font-size:11px}.customer-summary strong{text-overflow:ellipsis;white-space:nowrap;max-width:86px;font-size:11px;overflow:hidden}.source-notice{color:#0d766b;background:#e8f7f3;border-radius:6px;grid-template-columns:18px minmax(0,1fr);gap:7px;min-width:0;padding:8px;display:grid}.source-notice strong,.source-notice span{font-size:10px;display:block}.source-notice span{color:#51746f;margin-top:2px}.catalog-workspace{grid-template-rows:auto auto minmax(350px,1fr) auto;gap:9px;padding:11px;display:grid}.catalog-header,.catalog-toolbar{align-items:center;gap:8px;min-width:0;display:grid}.catalog-header{grid-template-columns:minmax(0,1fr) auto}.catalog-actions{gap:6px;display:flex}.catalog-actions button{color:#253246;cursor:pointer;min-height:34px;font:inherit;background:#fff;border:1px solid #d5dee7;border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.catalog-toolbar{grid-template-columns:minmax(240px,1fr) auto}.catalog-list{border:1px solid #d6dee7;border-radius:6px;min-width:0;overflow:hidden}.catalog-list-head,.catalog-row{grid-template-columns:minmax(260px,1fr) 84px 58px 78px 136px;align-items:center;gap:8px;min-width:680px;display:grid}.catalog-list-head{color:#748095;text-transform:uppercase;background:#f1f4f7;min-height:31px;padding:0 9px;font-size:10px;font-weight:850}.catalog-row{color:#172234;cursor:pointer;width:100%;min-height:51px;font:inherit;text-align:left;background:#fff;border:0;border-top:1px solid #e3e9ef;padding:6px 9px}.catalog-row:hover{background:#f7fbfa}.catalog-row>span,.catalog-row>strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.catalog-row>strong{color:#101c2c;text-align:right}.catalog-product{grid-template-columns:4px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid!important}.catalog-product i{border-radius:999px;width:4px;height:30px}.catalog-product strong,.catalog-product small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.catalog-product strong{font-size:12px}.catalog-product small{color:#778397;margin-top:2px;font-size:10px}.catalog-empty{color:#7c8797;place-items:center;min-height:160px;font-size:12px;display:grid}.operations-strip{border-top:1px solid #dde4eb;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0;padding-top:9px;display:grid}.operations-column{gap:5px;min-width:0;display:grid}.operations-head{color:#738095;justify-content:space-between;gap:8px;font-size:10px;font-weight:850;display:flex}.operations-head strong{color:#172234}.operations-strip .ledger-line,.operations-strip .job-line{border-radius:4px;min-height:31px;font-size:10px}.operations-strip .job-line{grid-template-columns:54px minmax(0,1fr) 70px minmax(70px,.7fr)}.operations-today{border-left:1px solid #e6ebf1;padding-left:10px}.today-line{background:#f6f9fc;border-radius:4px;grid-template-columns:40px 60px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;min-height:31px;padding:0 7px;font-size:10px;display:grid}.today-line:hover{background:#eef4f9}.today-line span{color:#738095;font-variant-numeric:tabular-nums}.today-line strong{color:var(--accent,#2563eb);font-weight:800}.today-line .branch-chip{color:#1d4ed8;background:#e8f0fe;border-radius:999px;padding:1px 5px;font-size:9px;font-style:normal;font-weight:700}.today-line small{text-overflow:ellipsis;white-space:nowrap;color:#4c5a6c;min-width:0;overflow:hidden}.today-line b{color:#172234;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:800}.operations-empty{color:#9aa6b6;padding:12px 8px;font-size:10px;font-style:italic}.receipt-dock{gap:9px;padding:11px;display:grid;position:sticky;top:10px}.receipt-head{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.receipt-head h2{font-size:18px}.receipt-head small{color:#758195;text-overflow:ellipsis;white-space:nowrap;max-width:240px;margin-top:2px;font-size:10px;display:block;overflow:hidden}.receipt-head button{color:#273548;cursor:pointer;background:#fff;border:1px solid #d6dee7;border-radius:6px;flex:none;place-items:center;width:34px;height:34px;display:grid}.receipt-lines{gap:7px;max-height:355px;padding-right:2px;display:grid;overflow-y:auto}.receipt-line{background:#fbfcfd;border:1px solid #dbe3eb;border-radius:6px;gap:7px;min-width:0;padding:9px;display:grid}.receipt-line-title,.receipt-line-price{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.receipt-line-title>div{min-width:0}.receipt-line-title strong,.receipt-line-title span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.receipt-line-title span{color:#788597;margin-top:2px;font-size:10px}.receipt-line-controls{grid-template-columns:100px minmax(0,1fr);gap:6px;min-width:0;display:grid}.receipt-line-controls .qty-control{grid-template-columns:24px minmax(34px,1fr) 24px}.receipt-line-controls .qty-control button,.receipt-line-title .row-delete{width:24px;height:27px}.receipt-line-controls input{text-align:center;background:#fff;border:1px solid #d6dee7;border-radius:5px;min-width:0;height:27px}.receipt-line-price label{grid-template-columns:auto 88px;align-items:center;gap:6px;min-width:0;display:grid}.receipt-line-price input{min-width:0;height:27px;font:inherit;text-align:right;background:#fff;border:1px solid #d6dee7;border-radius:5px;padding:0 6px;font-size:11px}.receipt-line-price>strong{color:#2563eb;flex:none;font-size:12px}.line-note{min-width:0;height:28px;font:inherit;background:#fff;border:1px solid #dbe3eb;border-radius:5px;padding:0 7px;font-size:10px}.receipt-empty{color:#748195;text-align:center;border:1px dashed #ced8e1;border-radius:6px;align-content:center;place-items:center;gap:5px;min-height:150px;display:grid}.receipt-empty strong{color:#344154;font-size:12px}.receipt-empty span{max-width:210px;font-size:10px}.compact-note{grid-template-columns:92px minmax(0,1fr);gap:6px}.compact-note input{height:31px;font-size:11px}.receipt-dock .mode-group,.receipt-dock .payment-methods{gap:4px;padding:3px}.receipt-dock .mode-group button,.receipt-dock .payment-methods button{min-height:29px;font-size:11px}.receipt-dock .money-table,.receipt-dock .settlement{gap:6px;padding:7px 0}.receipt-dock .money-table span,.receipt-dock .settlement span,.receipt-dock .paid-input span{font-size:10px}.receipt-dock .money-table strong,.receipt-dock .settlement strong{font-size:12px}.receipt-dock .total-row strong,.receipt-dock .settlement div:first-child strong{font-size:17px}.receipt-dock .paid-input{gap:4px}.receipt-dock .paid-input input{height:36px;font-size:15px}.credit-warning{color:#a52822;background:#fff0ef;border:1px solid #efc2be;border-radius:6px;padding:8px;font-size:10px;font-weight:750}.receipt-dock .payment-actions{gap:6px}.receipt-dock .payment-actions button{border-radius:6px;min-height:36px;font-size:11px}@media (width<=1450px){.sales-workbench{grid-template-columns:208px minmax(480px,1fr) 310px}.catalog-row,.catalog-list-head{grid-template-columns:minmax(230px,1fr) 76px 48px 70px 125px}}@media (width<=1180px){.sales-workbench{grid-template-columns:210px minmax(0,1fr)}.receipt-dock{grid-column:1/-1;position:static}.receipt-lines{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}}@media (width<=860px){.app-shell{grid-template-columns:1fr}.app-nav{z-index:50;flex-direction:row;height:58px;padding:5px 7px;display:flex;position:sticky}.brand-block{flex:0 0 48px;min-width:48px}.brand-block img{width:40px;height:40px}.nav-list{align-items:center;display:flex;overflow-x:auto}.nav-list button{flex:0 0 42px;width:42px;min-height:40px}.shift-panel{display:none}.topbar{grid-template-columns:minmax(0,1fr) auto}.sales-workbench{grid-template-columns:1fr}.customer-context,.catalog-workspace,.receipt-dock{grid-column:auto}.customer-context{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-context>.workbench-heading,.customer-context>.customer-picker,.customer-context>.source-notice{grid-column:1/-1}.customer-summary{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.customer-summary>div:nth-child(2){border-right:0}.catalog-toolbar{grid-template-columns:1fr}.catalog-list{overflow-x:auto}.operations-strip,.receipt-lines{grid-template-columns:1fr}}@media (width<=560px){.sales-screen{padding:7px}.topbar-actions .sync-state,.topbar-actions>button{display:none}.topbar{grid-template-columns:minmax(0,1fr) 38px}.global-search,.branch-switcher{grid-column:1/-1}.customer-context{grid-template-columns:1fr}.customer-context>*{grid-column:auto!important}.customer-summary,.catalog-header{grid-template-columns:1fr}.catalog-actions button{flex:1;justify-content:center}.category-tabs{overflow-x:auto}.receipt-line-controls{grid-template-columns:98px minmax(0,1fr)}.receipt-dock .payment-methods,.receipt-dock .payment-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.receipt-dock .payment-actions .pay-primary{grid-column:1/-1}}.login-screen{background:#e9eef1;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #d2dce4;border-radius:8px;width:min(420px,100%);overflow:hidden;box-shadow:0 20px 55px #10231f1f}.login-brand{color:#fff;background:#10231f;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px;min-width:0;padding:14px 18px;display:grid}.login-brand img{object-fit:contain;background:#fff;border-radius:6px;width:48px;height:48px;padding:4px}.login-brand strong,.login-brand span{display:block}.login-brand strong{font-size:16px}.login-brand span{color:#b8cec8;margin-top:2px;font-size:11px}.login-panel form{gap:14px;padding:24px;display:grid}.login-title span{color:#748195;font-size:11px;font-weight:850}.login-title h1{margin:2px 0 0;font-size:22px;line-height:28px}.login-panel form>label{gap:6px;display:grid}.login-panel form>label>span{color:#536174;font-size:12px;font-weight:750}.login-panel input{width:100%;height:42px;font:inherit;background:#fff;border:1px solid #ccd7e0;border-radius:6px;outline:0;padding:0 11px}.login-panel form>button{color:#fff;cursor:pointer;min-height:44px;font:inherit;background:#117d73;border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;font-weight:850;display:inline-flex}.login-error,.form-error{color:#9f2923;background:#fff0ef;border:1px solid #efc0bc;border-radius:6px;padding:9px 10px;font-size:12px}.login-panel footer{color:#657386;background:#f7f9fa;border-top:1px solid #e2e8ed;align-items:center;gap:7px;padding:11px 18px;font-size:11px;display:flex}.shift-panel{color:#d9ebe6;cursor:pointer;font:inherit;border:1px solid #ffffff24}.shift-panel.is-open{color:#5eead4;background:#2dd4bf1f;border-color:#2dd4bf80}.shift-overview,.shift-current{min-width:0}.shift-current{background:#fff;border:1px solid #d7e0ea;border-radius:8px;gap:14px;padding:15px;display:grid}.shift-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.shift-metrics .metric{min-height:62px}.shift-balance{grid-template-columns:minmax(160px,.8fr) minmax(180px,1fr) minmax(220px,1.2fr);gap:8px;display:grid}.shift-balance>div,.shift-close-summary>div{background:#fafcfd;border:1px solid #dbe3eb;border-radius:6px;gap:4px;min-width:0;padding:10px;display:grid}.shift-balance span,.shift-close-summary span{color:#748195;text-transform:uppercase;font-size:11px;font-weight:750}.shift-balance strong,.shift-close-summary strong{overflow-wrap:anywhere}.shift-balance .shift-expected,.shift-close-summary .shift-expected{background:#e9f8f4;border-color:#a8d9d1}.shift-expected strong{color:#2563eb;font-size:18px}.shift-empty{color:#748195;text-align:center;align-content:center;place-items:center;gap:6px;min-height:160px;display:grid}.shift-empty strong{color:#273548}.shift-empty span{max-width:440px;font-size:12px}.shift-close-summary{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.shift-close-summary .shift-expected{grid-column:1/-1}.role-badge{color:#26465a;background:#e8f1f4;border-radius:5px;align-items:center;min-height:25px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.form-check{align-items:center;gap:8px;padding-top:22px;font-size:13px;font-weight:750;display:flex}.form-check input{width:17px;height:17px}.password-notice{color:#405368;background:#edf4f6;border-radius:6px;grid-column:1/-1;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:10px;font-size:12px;display:grid}@media (width<=860px){.file-import-layout{grid-template-columns:1fr}.file-import-list{max-height:120px}.file-import-footer{justify-content:stretch}.file-import-footer select,.file-import-footer input,.file-import-footer button{flex:160px}.shift-metrics,.shift-balance{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-line-row{grid-template-columns:minmax(180px,1fr) repeat(2,minmax(110px,.5fr)) 130px 38px}.shift-balance .shift-expected{grid-column:1/-1}}@media (width<=520px){.login-screen{align-items:start;padding:12px}.login-panel{margin-top:8vh}.login-panel form{padding:20px 16px}.shift-metrics,.shift-balance,.shift-close-summary,.purchase-line-row{grid-template-columns:1fr}.purchase-line-row>button{width:100%}.shift-balance .shift-expected,.shift-close-summary .shift-expected{grid-column:auto}}.aging-summary{flex-wrap:wrap;gap:8px;display:flex}.aging-chip{color:#334155;background:#f1f5f9;border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.aging-chip.good{color:#166534;background:#dcfce7}.aging-chip.warn{color:#92400e;background:#fef3c7}.aging-chip.danger{color:#991b1b;background:#fee2e2}.ledger-view{flex-direction:column;gap:16px;min-width:min(820px,86vw);display:flex}.ledger-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.ledger-head h3{margin:2px 0 0;font-size:20px}.ledger-adjust{background:#f8fafc;border-radius:12px;grid-template-columns:1fr 1fr 2fr auto;align-items:end;gap:12px;padding:14px;display:grid}.amount-debit{color:#b91c1c;font-weight:600}.amount-credit{color:#166534;font-weight:600}@media (width<=720px){.ledger-adjust{grid-template-columns:1fr}}.report-stack{flex-direction:column;gap:18px;display:flex}.report-filter{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.report-filter label{color:#475569;flex-direction:column;gap:4px;font-size:12px;font-weight:600;display:flex}.report-filter input,.report-filter select{border:1px solid #cbd5e1;border-radius:8px;min-height:34px;padding:4px 8px}.report-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.report-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:4px;padding:14px;display:flex}.report-card span{color:#64748b;font-size:12px;font-weight:600}.report-card strong{color:#0f172a;font-size:18px}.report-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;display:grid}.quote-lines{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;grid-column:1/-1;gap:8px;padding:12px;display:flex;overflow-x:auto}.quote-line{grid-template-columns:minmax(220px,2fr) 78px 90px 90px 120px 132px 64px;align-items:center;gap:8px;min-width:820px;display:grid}.quote-line-head{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:600}.quote-line input,.quote-line select{background:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;min-height:34px;padding:2px 8px;font-weight:400}.quote-line-total{text-align:right;flex-direction:column;font-size:13px;font-weight:600;display:flex}.quote-line-total small{color:#94a3b8;font-weight:400}.quote-add-line{justify-content:center!important;width:max-content!important;min-width:120px!important}.form-hint{color:#64748b;margin:0;font-size:12px}@media (width<=720px){.quote-line{min-width:760px}}.update-banner{z-index:60;color:#fff;background:#0f172a;border-radius:12px;align-items:center;gap:14px;padding:10px 16px;font-size:13px;display:flex;position:fixed;bottom:76px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0f172a59}.update-banner button{color:#06281a;cursor:pointer;background:#22c55e;border:none;border-radius:8px;padding:6px 12px;font-weight:700}kbd{text-align:center;color:#334155;vertical-align:middle;background:#f1f5f9;border:1px solid #cbd5e1;border-bottom-width:2px;border-radius:4px;min-width:18px;margin-left:4px;padding:1px 5px;font-family:inherit;font-size:10px;font-weight:600;line-height:16px;display:inline-block}.nav-list button{color:#9db3ac;border-radius:12px;transition:background-color .15s,color .15s,transform .15s,box-shadow .15s}.nav-list button.active{color:#fff;background:#60a5fa29;box-shadow:inset 0 0 0 1px #60a5fa52}.nav-list button.active:before{content:"";background:#60a5fa;border-radius:0 3px 3px 0;width:3px;height:22px;position:absolute;top:50%;left:-8px;transform:translateY(-50%)}.topbar{background:#fff;border-bottom:1px solid #e6ebf1}.module-panel,.customer-context,.catalog-board,.receipt-dock,.metric,.settings-grid>section,.operations-strip{border:1px solid #e7ecf2;border-radius:14px;box-shadow:0 1px 2px #0f172a08,0 8px 22px #0f172a0d}.operations-strip{box-shadow:none;border:none;border-top:1px solid #e6ebf1;border-radius:0}.primary-command{color:#fff;background:linear-gradient(#2f6ef0 0%,#2563eb 100%);border:none;border-radius:10px;transition:transform .14s,box-shadow .14s,filter .14s;box-shadow:0 1px 2px #2563eb40,0 6px 16px #2563eb38}.primary-command:hover{filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 2px 4px #2563eb47,0 10px 22px #2563eb42}.pay-primary{background:linear-gradient(#2f6ef0 0%,#1d4ed8 100%);border-radius:12px;box-shadow:0 8px 20px #2563eb47}.pay-primary:not(:disabled):hover{filter:brightness(1.05);transform:translateY(-1px)}.metric strong{letter-spacing:-.02em}.state-dot.good:before{box-shadow:0 0 0 3px #10b98129}.entry-search,.paid-input input,.money-table{border-radius:10px}.report-cards{grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:14px}.report-card{background:#fff;border:1px solid #e7ecf2;border-radius:16px;gap:8px;padding:16px 16px 16px 18px;transition:transform .15s,box-shadow .15s;position:relative;overflow:hidden;box-shadow:0 1px 2px #0f172a0a,0 8px 20px #0f172a0d}.report-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0f172a0f,0 14px 30px #0f172a17}.report-card:before{content:"";background:linear-gradient(#60a5fa,#2563eb);width:4px;position:absolute;top:0;bottom:0;left:0}.report-card span{letter-spacing:.06em;text-transform:uppercase;color:#7d8898;font-size:10.5px;font-weight:800}.report-card strong{letter-spacing:-.02em;color:#0d1b2a;font-variant-numeric:tabular-nums;font-size:23px;font-weight:800;line-height:1.1}.report-cards .report-card:first-child:before{background:#ffffff80}.report-cards .report-card:first-child span{color:#ffffffc7}.report-cards .report-card:first-child strong{color:#fff}.report-filter label{letter-spacing:.04em;text-transform:uppercase;color:#7d8898;gap:4px;font-size:10.5px;font-weight:800}.report-filter input,.report-filter select{color:#0d1b2a;background:#fff;border:1px solid #d7dee7;border-radius:10px;min-height:38px;font-weight:600}.report-filter>select:first-child{color:#fff;background:#2563eb;border-color:#2563eb;align-self:flex-end;padding:0 12px;font-weight:700}.overview-grid{gap:14px}.overview-grid .metric{background:#fff;border:1px solid #e7ecf2;border-radius:16px;grid-template-columns:46px minmax(0,1fr);gap:3px 14px;min-height:94px;padding:16px 18px;transition:transform .15s,box-shadow .15s;box-shadow:0 1px 2px #0f172a0a,0 8px 20px #0f172a0d}.overview-grid .metric:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0f172a0f,0 14px 30px #0f172a17}.overview-grid .metric svg{color:#2563eb;box-sizing:border-box;background:#e8f0fe;border-radius:13px;grid-row:1/3;align-self:center;width:46px;height:46px;padding:12px}.overview-grid .metric span{letter-spacing:.05em;text-transform:uppercase;color:#7d8898;font-size:10.5px;font-weight:800}.overview-grid .metric strong{letter-spacing:-.02em;color:#0d1b2a;font-size:24px;font-weight:800;line-height:1.05}.overview-grid .metric:nth-child(2) svg{color:#4f46e5;background:#eef2ff}.overview-grid .metric:nth-child(3) svg{color:#c2570c;background:#fff3e6}.overview-grid .metric:nth-child(4) svg{color:#be123c;background:#fde8ef}.production-summary .metric,.shift-metrics .metric{border-radius:14px;box-shadow:0 1px 2px #0f172a0a,0 8px 20px #0f172a0d}.data-table-wrap{border:1px solid #eef2f6;border-radius:12px}.data-table thead th{z-index:1;color:#6b7787;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;background:#f7f9fc;border-bottom:1px solid #e7ecf2;height:42px;font-size:10.5px;font-weight:800;position:sticky;top:0}.data-table td{color:#2b3648;vertical-align:middle;border:none;border-bottom:1px solid #f0f3f7;padding:12px;font-size:12.5px}.data-table tbody tr{transition:background-color .12s}.data-table tbody tr:last-child td{border-bottom:none}.data-table td strong{color:#0d1b2a;font-weight:700}.branch-chip{color:#475569;letter-spacing:.02em;background:#eef2f7;border-radius:999px;padding:2px 9px;font-size:10.5px;font-weight:700;display:inline-block}.role-badge{border-radius:999px}.table-actions button{color:#6b7787;border-radius:8px;transition:background-color .12s,color .12s}.table-actions button:hover{color:#2563eb;background:#eef4f9}.table-actions button.danger-icon:hover{color:#be123c;background:#fdeef0}.login-screen{background:radial-gradient(1100px 600px at 15% -10%,#60a5fa33,#0000 60%),radial-gradient(900px 500px at 110% 110%,#2563eb3d,#0000 55%),linear-gradient(135deg,#122a52 0%,#0d1f3d 100%)}.login-panel{border:1px solid #ffffff14;border-radius:18px;width:min(440px,100%);box-shadow:0 30px 80px #00000059}.login-brand{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);grid-template-columns:54px minmax(0,1fr);gap:13px;padding:20px 22px}.login-brand img{border-radius:12px;width:54px;height:54px;box-shadow:0 6px 16px #0000002e}.login-brand strong{letter-spacing:-.01em;font-size:18px}.login-brand span{color:#fffc}.login-panel form{gap:16px;padding:26px 24px 22px}.login-panel form>label>span{letter-spacing:.03em;text-transform:uppercase;color:#6b7787;font-size:11px;font-weight:700}.login-panel input{border:1px solid #d7dee7;border-radius:11px;height:46px;padding:0 13px;font-size:14px;transition:border-color .15s,box-shadow .15s}.login-panel input:focus{box-shadow:0 0 0 3px var(--ring,#2563eb59);border-color:#2563eb}.login-panel form>button{color:#fff;background:linear-gradient(#2563eb 0%,#1d4ed8 100%);border:none;border-radius:12px;min-height:48px;font-size:14px;font-weight:700;transition:transform .14s,filter .14s;box-shadow:0 8px 20px #2563eb47}.login-panel form>button:not(:disabled):hover{filter:brightness(1.05);transform:translateY(-1px)}.login-panel footer{color:#7d8898;background:#f7f9fc;border-top:1px solid #eef2f6;padding:14px 22px;font-size:11.5px}.topbar{border:1px solid #e7ecf2;border-radius:14px;box-shadow:0 1px 2px #0f172a08,0 6px 18px #0f172a0a}.global-search{background:#f4f7fa;border:1px solid #e7ecf2;border-radius:11px;transition:border-color .15s,box-shadow .15s,background-color .15s}.global-search:focus-within{box-shadow:0 0 0 3px var(--ring,#2563eb40);background:#fff;border-color:#2563eb}.global-search input{background:0 0;border:none}.topbar-actions>button,.account-chip,.sync-state{background:#fff;border:1px solid #e7ecf2;border-radius:11px;transition:background-color .14s,border-color .14s,transform .14s}.topbar-actions>button:not(.account-chip):hover{background:#f1f5f9;transform:translateY(-1px)}.account-chip:hover{background:#f1f5f9}.sync-state.api{color:#1d4ed8;background:#e8f0fe;border-color:#bcd4fb}.sync-state.api svg{color:#2563eb}.sync-state.local{color:#8a4b00;background:#fff7e6;border-color:#f4cf88}.sync-state.local svg{color:#b46500}.boot-screen{background:linear-gradient(#f8fafceb,#eef4f7fa),radial-gradient(circle at 50% 35%,#00747014,#0000 36%);place-items:center;min-height:100vh;padding:28px;display:grid}.boot-panel{background:#fff;border:1px solid #cfdce5;border-radius:14px;gap:14px;width:min(520px,100%);padding:0;display:grid;overflow:hidden;box-shadow:0 22px 58px #0f231f1f}.boot-brand,.boot-copy{align-items:center;min-width:0;display:grid}.boot-brand{background:linear-gradient(#fff,#f7fafb);border-bottom:1px solid #dbe5ec;grid-template-columns:54px minmax(0,1fr);gap:13px;padding:18px 20px}.boot-brand img{object-fit:contain;background:#fff;border:1px solid #dbe5ec;border-radius:11px;width:54px;height:54px;padding:6px}.boot-brand span,.boot-copy p{color:#667085}.boot-brand span{letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.boot-brand strong{margin-top:2px;font-size:18px;font-weight:750;line-height:24px;display:block}.boot-brand small{color:#667085;margin-top:2px;font-size:12px;line-height:17px;display:block}.boot-copy{background:#f8fbfc;border:1px solid #dce7ee;border-radius:12px;grid-template-columns:46px minmax(0,1fr);gap:14px;margin:18px 20px 0;padding:16px}.boot-copy-icon{color:#04736e;background:#e5f5f3;border-radius:11px;place-items:center;width:46px;height:46px;padding:10px;display:grid}.boot-copy-icon svg{animation:.9s linear infinite spin}.boot-copy span{color:#04736e;font-size:12px;font-weight:720;line-height:17px;display:block}.boot-copy h1{color:#101828;margin:1px 0 0;font-size:21px;font-weight:760;line-height:28px}.boot-copy p{margin:5px 0 0;font-size:13px;line-height:20px}.boot-progress{background:#e5ecf1;border-radius:999px;height:6px;margin:0 20px;overflow:hidden}.boot-progress span{border-radius:inherit;background:linear-gradient(90deg,#04736e,#1f9d91);width:44%;height:100%;animation:1.15s ease-in-out infinite alternate boot-progress;display:block}.boot-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 20px;display:grid}.boot-steps div{color:#667085;white-space:nowrap;background:#fff;border:1px solid #dce7ee;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:34px;padding:0 9px;font-size:11.5px;font-weight:650;line-height:16px;display:inline-flex}.boot-steps svg{flex:none}.boot-steps .done{color:#067647;background:#effaf5;border-color:#c8eadc}.boot-steps .active{color:#04736e;background:#eaf7f6;border-color:#bde4e1}.boot-steps .active svg{animation:.9s linear infinite spin}.boot-error{color:#9f1239;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;margin:0 20px;padding:10px 11px;font-size:13px;font-weight:750}.boot-panel button{color:#344054;cursor:pointer;min-height:42px;font:inherit;background:#fff;border:1px solid #c7d5df;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin:0 20px 20px;font-weight:720;display:inline-flex}.boot-panel button:disabled{cursor:wait;opacity:.72}@keyframes boot-progress{0%{transform:translate(0)}to{transform:translate(138%)}}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=620px){.boot-steps{grid-template-columns:1fr}}.catalog-row{border-radius:9px;transition:background-color .12s,box-shadow .12s}.catalog-row:hover{cursor:pointer;background:#f3f8f7;box-shadow:inset 0 0 0 1px #d6ebe6}.payment-methods button.selected{box-shadow:0 4px 12px #2563eb40;color:#fff!important;background:#2563eb!important;border-color:#2563eb!important}.payment-methods button.selected svg{color:#fff}.mode-group button.selected{color:#fff!important;background:#2563eb!important;border-color:#2563eb!important}.money-table .total-row{background:linear-gradient(135deg,#eef4ff 0%,#e8f0fe 100%);border:1px solid #bcd4fb;border-radius:10px;margin-top:2px;padding:9px 11px}.money-table .total-row span{color:#1d4ed8}.money-table .total-row strong{color:#1d4ed8;font-size:16px;font-weight:800}.settlement strong{color:#0d1b2a;font-weight:800}.invoice-number strong{letter-spacing:-.01em}.nas-browser{background:#fff;border:1px solid #e7ecf2;border-radius:12px;overflow:hidden}.nas-browser-bar{background:#f7f9fc;border-bottom:1px solid #eef2f6;align-items:center;gap:8px;padding:8px 10px;display:flex}.nas-browser-bar button{color:#475569;cursor:pointer;background:#fff;border:1px solid #d7dee7;border-radius:8px;height:30px;padding:0 10px;font-size:12px;font-weight:700}.nas-browser-bar button:disabled{opacity:.5;cursor:not-allowed}.nas-browser-path{text-overflow:ellipsis;white-space:nowrap;color:#6b7787;flex:1;min-width:0;font-family:ui-monospace,monospace;font-size:11.5px;overflow:hidden}.nas-browser-list{gap:3px;max-height:260px;padding:6px;display:grid;overflow:auto}.nas-entry{text-align:left;cursor:pointer;color:#2b3648;background:0 0;border:none;border-radius:8px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;font-size:12.5px;transition:background-color .12s;display:grid}.nas-entry:hover{background:#f3f8f7}.nas-entry.is-dir svg{color:#2563eb}.nas-entry.is-file svg{color:#94a3b8}.nas-entry span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nas-entry small{color:#9aa6b6;white-space:nowrap;font-size:10.5px}.nas-browser-empty{text-align:center;color:#9aa6b6;padding:22px 12px;font-size:12px;font-style:italic}.modal-backdrop,.file-import-popover{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0814128c;animation:.14s ease-out ovpos-fade}@keyframes ovpos-fade{0%{opacity:0}to{opacity:1}}.modal-dialog,.file-import-card{border:1px solid #fff9;border-radius:18px;animation:.16s cubic-bezier(.16,1,.3,1) ovpos-pop;box-shadow:0 30px 90px #08141259}@keyframes ovpos-pop{0%{opacity:0;transform:translateY(8px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-close{border-radius:10px;transition:background-color .13s,color .13s}.modal-close:hover{color:#be123c;background:#fdeef0}.form-field>span{letter-spacing:.02em;text-transform:uppercase;color:#6b7787;font-size:11px;font-weight:700}.entity-form input,.entity-form select,.entity-form textarea{border:1px solid #d7dee7;border-radius:10px;transition:border-color .15s,box-shadow .15s}.entity-form input:focus,.entity-form select:focus,.entity-form textarea:focus{box-shadow:0 0 0 3px var(--ring,#2563eb38);border-color:#2563eb}.form-summary{border-radius:10px}.category-tabs{background:#eef2f7;border-radius:11px;gap:3px;padding:3px}.category-tabs button{color:#5b6675;background:0 0;border:none;border-radius:8px;font-weight:700;transition:background-color .13s,color .13s,box-shadow .13s}.category-tabs button.selected{box-shadow:0 3px 10px #2563eb47;color:#fff!important;background:#2563eb!important}.invoice-number strong{color:#2563eb;font-size:22px;font-weight:800}.invoice-line,.cart-row,.receipt-line{border-radius:9px;transition:background-color .12s}.invoice-line:hover,.cart-row:hover,.receipt-line:hover{background:#f6fafb}.entity-form>span{color:#2563eb;letter-spacing:.08em;text-transform:uppercase;font-size:10.5px;font-weight:850}.entity-form>h2{letter-spacing:-.01em;color:#0d1b2a;margin:3px 0 14px;font-size:19px}.form-submit{justify-content:center;width:100%;min-height:46px;margin-top:4px;font-size:14px}.form-summary{background:#f6f9fc;border:1px solid #e7ecf2;padding:10px 12px}.form-summary.warning-summary,.form-summary.warn{background:#fff6f7;border-color:#f3c9d1}.receipt-barcode{background:#fff;border:1px solid #e7ecf2;border-radius:10px;justify-content:center;padding:8px;display:flex;overflow:hidden}.receipt-barcode svg{max-width:100%;height:auto}@media print{.print-barcode{justify-content:center;margin:3px 0 7px;display:flex}.print-barcode svg{max-width:72mm;height:auto}}.production-board{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:12px;display:grid}.production-rail{background:#fff;border:1px solid #e7ecf2;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px #0f172a0a,0 8px 20px #0f172a0d}.production-rail-head{letter-spacing:.04em;text-transform:uppercase;color:#475569;border-bottom:1px solid #eef2f6;align-items:center;gap:8px;padding:12px 14px;font-size:11px;font-weight:800;display:flex}.production-rail-head svg{color:#2563eb}.production-rail-head b{color:#1d4ed8;background:#e8f0fe;border-radius:999px;margin-left:auto;padding:1px 8px;font-size:11px}.production-rail-list{gap:6px;max-height:620px;padding:8px;display:grid;overflow:auto}.production-rail-item{text-align:left;cursor:pointer;background:#fff;border:1px solid #eef2f6;border-radius:11px;gap:2px;padding:10px 12px;transition:border-color .13s,background-color .13s,box-shadow .13s;display:grid}.production-rail-item:hover{background:#f6fafb}.production-rail-item.active{background:#eef4ff;border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}.production-rail-item strong{color:#0d1b2a;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.production-rail-item small{color:#6b7787;font-size:11px}.pr-item-top{justify-content:space-between;align-items:center;gap:6px;display:flex}.pr-code{color:#2563eb;font-size:12px;font-weight:800}.pr-due{color:#94a3b8;font-size:10.5px}.production-rail-item .production-state{justify-self:start;margin-top:3px}.production-detail{background:#fff;border:1px solid #e7ecf2;border-radius:14px;min-height:360px;padding:20px 22px;box-shadow:0 1px 2px #0f172a0a,0 8px 20px #0f172a0d}.pd-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.pd-eyebrow{letter-spacing:.06em;color:#2563eb;text-transform:uppercase;font-size:10.5px;font-weight:850}.pd-head h2{color:#0d1b2a;margin:4px 0;font-size:20px}.pd-head p{color:#4c5a6c;margin:0;font-size:13px}.pd-head-actions{flex-wrap:wrap;gap:8px;display:flex}.stepper{grid-auto-columns:1fr;grid-auto-flow:column;gap:0;margin:28px 0 26px;padding:0;list-style:none;display:grid}.stepper-node{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:0 6px;display:flex;position:relative}.stepper-node:before,.stepper-node:after{content:"";z-index:0;background:#e2e8f0;height:3px;position:absolute;top:17px}.stepper-node:before{width:50%;left:0}.stepper-node:after{width:50%;right:0}.stepper-node:first-child:before,.stepper-node:last-child:after{display:none}.stepper-dot{z-index:1;color:#94a3b8;background:#fff;border:3px solid #e2e8f0;border-radius:50%;place-items:center;width:36px;height:36px;font-size:14px;font-weight:800;transition:all .16s;display:grid;position:relative}.stepper-text strong{color:#475569;font-size:12.5px;display:block}.stepper-text small{color:#94a3b8;font-size:10.5px}.stepper-node.done:before,.stepper-node.done:after{background:#60a5fa}.stepper-node.done .stepper-dot{color:#fff;background:#10b981;border-color:#10b981}.stepper-node.done .stepper-text strong{color:#0d1b2a}.stepper-node.current:before{background:#60a5fa}.stepper-node.current .stepper-dot{color:#2563eb;background:#fff;border-color:#2563eb;box-shadow:0 0 0 5px #2563eb24}.stepper-node.current .stepper-text strong{color:#2563eb;font-weight:800}.pd-actions{border-top:1px solid #eef2f6;justify-content:flex-end;gap:10px;padding-top:16px;display:flex}.ghost-command{color:#475569;cursor:pointer;background:#fff;border:1px solid #d7dee7;border-radius:10px;min-height:42px;padding:0 16px;font-weight:700;transition:background-color .13s}.ghost-command:hover:not(:disabled){background:#f1f5f9}.ghost-command:disabled{opacity:.5;cursor:not-allowed}.pd-actions .primary-command{min-height:42px;padding:0 20px}.pd-cancelled{text-align:center;color:#be123c;padding:30px;font-weight:700}@media (width<=1100px){.production-board{grid-template-columns:1fr}.stepper{grid-auto-columns:auto;grid-auto-flow:row;gap:14px}.stepper-node{text-align:left;flex-direction:row;gap:12px}.stepper-node:before,.stepper-node:after{display:none}}.stepper-actor{color:#2563eb;margin-top:4px;font-size:11px;font-style:normal;font-weight:700;display:block}.stepper-actor b{color:#94a3b8;font-size:10px;font-weight:600;display:block}.pd-actions{flex-wrap:wrap;justify-content:space-between;align-items:center}.pd-hint strong{color:#0d1b2a}.production-detail .stepper{grid-auto-columns:1fr;grid-auto-flow:column;gap:0;margin:30px 0 22px;padding:0;list-style:none;display:grid}.production-detail .stepper-node{text-align:center;flex-direction:column;align-items:center;gap:0;padding:0 8px;display:flex;position:relative}.production-detail .stepper-node:before,.production-detail .stepper-node:after{content:"";z-index:0;background:#e2e8f0;height:4px;position:absolute;top:22px}.production-detail .stepper-node:before{width:50%;left:0}.production-detail .stepper-node:after{width:50%;right:0}.production-detail .stepper-node:first-child:before,.production-detail .stepper-node:last-child:after{display:none}.production-detail .stepper-dot{z-index:1;color:#94a3b8;background:#fff;border:3px solid #e2e8f0;border-radius:50%;place-items:center;width:44px;height:44px;font-size:15px;font-weight:800;transition:all .16s;display:grid;position:relative}.stage-card{background:#fff;border:1px solid #eef2f6;border-radius:14px;flex-direction:column;align-items:center;gap:5px;width:100%;max-width:150px;padding:14px 10px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex}.stage-avatar{color:#fff;letter-spacing:.02em;border-radius:50%;place-items:center;width:46px;height:46px;font-size:14px;font-weight:800;display:grid;box-shadow:0 4px 10px #0f172a1f}.stage-card strong{color:#0d1b2a;font-size:13px}.stage-card small{letter-spacing:.06em;color:#94a3b8;text-transform:uppercase;font-size:9.5px;font-weight:800}.production-detail .stepper-node.done:before,.production-detail .stepper-node.done:after{background:#10b981}.production-detail .stepper-node.done .stepper-dot{color:#fff;background:#10b981;border-color:#10b981}.production-detail .stepper-node.done .stepper-label{color:#0d1b2a}.production-detail .stepper-node.done .stage-time{color:#10b981;font-weight:700}.production-detail .stepper-node.current:before{background:#10b981}.production-detail .stepper-node.current .stepper-dot{color:#2563eb;background:#fff;border-color:#2563eb;box-shadow:0 0 0 5px #2563eb29}.production-detail .stepper-node.current .stepper-label{color:#2563eb;font-weight:800}.production-detail .stepper-node.current .stage-card{background:#eff6ff;border-color:#bfdbfe;transform:translateY(-2px);box-shadow:0 8px 22px #2563eb1f}.production-detail .stepper-node.current .stage-time{color:#2563eb;font-weight:800}.pd-actions .primary-command{background:linear-gradient(#2f6bff 0%,#2563eb 100%);box-shadow:0 8px 20px #2563eb47}@media (width<=1100px){.production-detail .stepper{grid-auto-columns:auto;grid-auto-flow:row;gap:12px}.production-detail .stepper-node{text-align:left;flex-direction:row;justify-content:flex-start;gap:14px}.production-detail .stepper-node:before,.production-detail .stepper-node:after{display:none}.production-detail .stepper-label{min-height:0;margin:0}.stage-card{flex-direction:row;max-width:none}}@media (width>=1180px){.production-page .production-summary{display:none}.production-board{grid-template-columns:286px minmax(0,1fr);align-items:stretch;gap:14px}.production-rail,.production-detail{border-radius:16px;min-height:calc(100vh - 104px)}.production-rail-list{max-height:calc(100vh - 166px)}.production-rail-item{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;min-height:86px;padding:8px}.pr-thumb{color:#334155;text-align:center;background:linear-gradient(135deg,#2563eb1a,#2563eb14),#f8fafc;border:1px solid #dde6ef;border-radius:8px;place-items:center;width:72px;height:58px;padding:5px;font-size:10px;font-weight:800;line-height:1.15;display:grid;overflow:hidden}.pr-body{gap:3px;min-width:0;display:grid}.production-detail{flex-direction:column;padding:0;display:flex;overflow:hidden}.pd-head{border-bottom:1px solid #edf1f5;align-items:center;padding:18px 22px}.pd-head-main{grid-template-columns:132px minmax(0,1fr);align-items:center;gap:16px;min-width:0;display:grid}.pd-preview{background:linear-gradient(135deg,#2563eb14,#2563eb14),repeating-linear-gradient(0deg,#fff 0 8px,#f8fafc 8px 16px);border:1px solid #dde6ef;border-radius:10px;place-items:center;width:132px;height:72px;padding:8px;display:grid;overflow:hidden}.pd-preview span{color:#334155;text-align:center;font-size:12px;font-weight:850;line-height:1.2}.pd-head h2{margin:3px 0 6px;font-size:24px;line-height:1.15}.pd-meta{color:#64748b;flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.pd-meta strong{color:#334155}.pd-meta .pd-due{color:#ef4444}.production-detail .stepper{flex:1;align-items:start;margin:72px 44px 42px}.pd-actions{background:#fff;border-top:1px solid #edf1f5;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:auto;padding:16px 22px;display:grid}.pd-hint{color:#64748b;font-size:13px}.pd-actions .ghost-command,.pd-actions .primary-command{border-radius:10px;min-height:44px;font-weight:800}.pd-actions .ghost-command{color:#b42318;background:#fff;border:1px solid #efc3c3}}.pr-file-count{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;width:fit-content;min-height:20px;padding:2px 7px;font-size:10px;font-weight:850;display:inline-flex}.pd-preview.has-file{background:linear-gradient(135deg,#2563eb1f,#2563eb1a),#f8fafc;align-content:center;gap:4px}.pd-preview.has-file svg{color:#2563eb}.pd-preview.has-file small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;font-weight:750;overflow:hidden}.pd-file-strip{color:#1e3a8a;background:#eff6ff;border:1px solid #dbeafe;border-radius:9px;grid-template-columns:auto minmax(120px,220px) minmax(0,1fr);align-items:center;gap:8px;width:min(780px,100%);min-width:0;margin-top:9px;padding:7px 9px;font-size:12px;display:grid}.pd-file-strip span{white-space:nowrap;font-weight:850}.pd-file-strip strong,.pd-file-strip small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.pd-file-strip strong{color:#0f172a}.pd-file-strip small{color:#475569}.pd-file-strip.empty{color:#64748b;background:#f8fafc;border-color:#e2e8f0;grid-template-columns:minmax(0,1fr)}@media (width<=860px){.pd-file-strip{grid-template-columns:minmax(0,1fr);align-items:start}}@media (width>=1180px){.app-shell{grid-template-columns:224px minmax(0,1fr)}.app-nav{gap:12px;padding:14px 12px;overflow-y:auto}.brand-block{background:#ffffff12;border:1px solid #ffffff1a;border-radius:14px;grid-template-columns:44px minmax(0,1fr);justify-content:stretch;gap:10px;min-height:58px;padding:8px}.brand-block img{border-radius:10px;width:44px;height:44px}.brand-block>div{min-width:0;display:block}.nav-list{gap:4px}.nav-list button{grid-template-columns:22px minmax(0,1fr) auto;justify-content:stretch;justify-self:stretch;gap:10px;width:100%;min-height:34px;padding:0 10px}.nav-list button>span{clip:auto;clip-path:none;width:auto;height:auto;color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:760;line-height:18px;position:static;overflow:hidden}.nav-list b{justify-self:end;min-width:22px;padding:1px 6px;position:static}.nav-list button.active:before{left:-12px}.shift-panel{border-radius:14px;grid-template-columns:22px minmax(0,1fr);align-content:center;justify-items:start;gap:2px 9px;width:100%;min-height:52px;padding:9px 10px}.shift-panel svg{grid-row:1/4}.shift-panel span,.shift-panel strong,.shift-panel small{max-width:100%;display:block}.topbar{grid-template-columns:minmax(190px,230px) minmax(260px,1fr) 132px auto}.sales-workbench{grid-template-columns:210px minmax(0,1fr) 306px}.catalog-list-head,.catalog-row{grid-template-columns:minmax(180px,1.45fr) 68px 42px 62px 102px;gap:6px;min-width:0}.catalog-row,.catalog-list-head{padding-left:8px;padding-right:8px}.catalog-actions button{padding:0 8px}}@media (width<=1179px){.app-shell{grid-template-columns:72px minmax(0,1fr)}}@media (width>=1180px){.production-page{gap:10px}.production-page .production-summary{display:none}.production-board{grid-template-columns:286px minmax(0,1fr);align-items:stretch;gap:14px}.production-rail,.production-detail{min-height:calc(100vh - 104px)}.production-rail{border-radius:16px;box-shadow:0 1px 2px #0f172a0a,0 12px 30px #0f172a0f}.production-rail-head{background:#fff;min-height:50px;padding:0 14px}.production-rail-list{max-height:calc(100vh - 166px);padding:8px}.production-rail-item{border-radius:12px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;min-height:86px;padding:8px}.pr-thumb{color:#334155;text-align:center;background:linear-gradient(135deg,#2563eb1a,#2563eb14),#f8fafc;border:1px solid #dde6ef;border-radius:8px;place-items:center;width:72px;height:58px;padding:5px;font-size:10px;font-weight:800;line-height:1.15;display:grid;overflow:hidden}.pr-body{gap:3px;min-width:0;display:grid}.production-rail-item .production-state{min-height:22px;padding:3px 7px;font-size:10.5px}.production-detail{background:#fff;border-radius:16px;flex-direction:column;padding:0;display:flex;overflow:hidden}.pd-head{border-bottom:1px solid #edf1f5;align-items:center;padding:18px 22px}.pd-head-main{grid-template-columns:132px minmax(0,1fr);align-items:center;gap:16px;min-width:0;display:grid}.pd-preview{background:linear-gradient(135deg,#2563eb14,#2563eb14),repeating-linear-gradient(0deg,#fff 0 8px,#f8fafc 8px 16px);border:1px solid #dde6ef;border-radius:10px;place-items:center;width:132px;height:72px;padding:8px;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffffb3}.pd-preview span{color:#334155;text-align:center;font-size:12px;font-weight:850;line-height:1.2}.pd-head h2{margin:3px 0 6px;font-size:24px;line-height:1.15}.pd-meta{color:#64748b;flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.pd-meta strong{color:#334155}.pd-meta .pd-due{color:#ef4444}.pd-head-actions .text-command{color:#2563eb;background:#e8f0fe;min-height:42px;padding:0 12px}.production-detail .stepper{flex:1;align-items:start;margin:72px 44px 42px}.stage-card{min-height:86px}.pd-actions{background:#fff;border-top:1px solid #edf1f5;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:auto;padding:16px 22px;display:grid}.pd-hint{color:#64748b;font-size:13px}.pd-actions .ghost-command,.pd-actions .primary-command{border-radius:10px;min-height:44px;font-weight:800}.pd-actions .ghost-command{color:#b42318;background:#fff;border:1px solid #efc3c3}}.pd-head-main{align-items:flex-start;gap:14px;display:flex}.pd-thumb{color:#fff;border-radius:12px;flex:none;place-items:center;width:54px;height:54px;font-size:16px;font-weight:800;display:grid;box-shadow:0 6px 16px #0f172a24}.pd-due{color:#e11d48}.att-cal{gap:8px;display:grid}.att-weekdays{color:#7d8898;text-transform:uppercase;text-align:center;grid-template-columns:repeat(7,1fr);gap:6px;font-size:11px;font-weight:800;display:grid}.att-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.att-cell{background:#fff;border:1px solid #eef2f6;border-radius:10px;flex-direction:column;gap:2px;min-height:58px;padding:6px 8px;display:flex}.att-cell.empty{background:0 0;border:none}.att-day{color:#0d1b2a;font-size:13px;font-weight:700}.att-cell small{font-size:10px;font-weight:700}.att-cell.att-present{background:#f0fdf6;border-color:#bbf7d0}.att-cell.att-present small{color:#10b981}.att-cell.att-half{background:#fffbeb;border-color:#fde68a}.att-cell.att-half small{color:#d97706}.att-cell.att-absent{background:#fef2f2;border-color:#fecaca}.att-cell.att-absent small{color:#e11d48}.att-cell.att-leave{background:#f1f5f9;border-color:#e2e8f0}.att-cell.att-leave small{color:#64748b}.att-legend{flex-wrap:wrap;gap:14px;font-size:11.5px;font-weight:700;display:flex}.att-legend .att-present{color:#10b981}.att-legend .att-half{color:#d97706}.att-legend .att-absent{color:#e11d48}.att-legend .att-leave{color:#64748b}html,body,#root{width:100%;height:100%;overflow:hidden}body{background:#eef3f7}.app-shell{background:#eef3f7;height:100dvh;min-height:0;font-size:13px;line-height:1.35;overflow:hidden}.app-shell button,.app-shell input,.app-shell select,.app-shell textarea{font-size:13px}.sales-screen{align-content:start;height:100dvh;min-height:0;padding:10px;overflow:auto}.topbar{z-index:30;background:#fffffffa;border:1px solid #dfe7ef;border-radius:12px;position:sticky;top:10px;box-shadow:0 1px 2px #0f172a0a,0 10px 26px #0f172a0f}.title-group h1{font-size:20px;font-weight:760;line-height:25px}.title-group span,.section-label,.workbench-heading span,.catalog-list-head,.receipt-head span,.paid-input span,.money-table span,.settlement span,.module-head span,.pd-eyebrow,.production-rail-head{color:#6b7787;letter-spacing:0;font-weight:700}.nav-list button,.catalog-row,.receipt-line,.customer-summary>div,.money-table>div,.settlement>div,.data-table td,.production-rail-item,.stage-card{font-weight:560}.catalog-product strong,.receipt-line-title strong,.receipt-line-price strong,.today-line strong,.ledger-line strong,.job-line strong,.data-table strong,.module-head h2,.pd-head h2,.stage-card strong{font-weight:720}.sales-workbench,.production-board,.module-grid,.dashboard-grid{min-width:0}.customer-context,.catalog-workspace,.receipt-dock,.production-rail,.production-detail,.module-panel,.dashboard-card,.metric,.data-table-wrap{background:#fff;border:1px solid #dfe7ef;border-radius:10px;box-shadow:0 1px 2px #0f172a08}.receipt-dock{max-height:calc(100dvh - 88px);position:sticky;top:78px;overflow:auto}.catalog-list-body{scrollbar-gutter:stable}.catalog-row{border-radius:7px}.catalog-row:hover,.data-table tbody tr:hover,.production-rail-item:hover{background:#f3f8fb;box-shadow:inset 0 0 0 1px #d7e8f2}.topbar-actions>button,.account-chip,.sync-state,.branch-switcher,.global-search,.entry-search,.catalog-actions button,.payment-methods button,.payment-actions button,.mode-group button,.text-command,.primary-command,.ghost-command,.danger-command{border-radius:8px}.primary-command,.pay-primary{box-shadow:none!important;background:#2563eb!important}.primary-command:hover:not(:disabled),.pay-primary:hover:not(:disabled){transform:translateY(-1px);background:#1d4ed8!important}.receipt-dock .payment-actions .pay-primary{min-height:44px;font-size:14px}.production-page{min-height:calc(100dvh - 90px)}.production-detail{min-height:0}.pd-head{border-bottom:1px solid #e7edf4}.stage-card{border-radius:10px}.stage-card strong{color:#243244}@media (width>=1180px){.app-nav{height:100dvh;position:sticky;top:0}.production-rail,.production-detail{min-height:calc(100dvh - 110px)}}@media (width<=1180px){html,body,#root{overflow:auto}.app-shell,.sales-screen{height:auto;overflow:visible}.topbar,.receipt-dock{max-height:none;position:static}}.sales-workbench{--saas-border:#d9e2ec;--saas-border-soft:#e8edf3;--saas-surface:#fff;--saas-soft:#f6f8fb;--saas-muted:#6b7787;--saas-text:#111827;--saas-blue:#2563eb;--saas-green:#0f9f72;--saas-danger:#dc2626;grid-template-columns:248px minmax(0,1fr) 352px;align-items:stretch;gap:12px;min-height:calc(100dvh - 92px);display:grid}.sales-workbench>.customer-context,.sales-workbench>.catalog-workspace,.sales-workbench>.receipt-dock{border:1px solid var(--saas-border);background:var(--saas-surface);box-shadow:none;border-radius:8px}.customer-context{align-content:start;gap:10px;padding:12px}.workbench-heading{align-items:start;min-height:34px}.workbench-heading span,.catalog-list-head,.operations-head span,.receipt-head span,.pd-eyebrow,.production-rail-head span{color:#667085;letter-spacing:0;font-size:11px;font-weight:750}.workbench-heading h2,.receipt-head h2{color:var(--saas-text);font-size:17px;font-weight:720;line-height:22px}.customer-tier,.branch-chip,.pr-code{color:#1d4ed8;background:#eef6ff;border-radius:999px;font-weight:720}.customer-picker,.customer-profile,.customer-facts,.customer-credit,.customer-summary,.source-notice{border:1px solid var(--saas-border-soft);background:#fff;border-radius:8px}.customer-picker{padding:10px}.customer-picker label,.customer-credit span,.customer-facts span,.customer-summary span,.source-notice span{color:var(--saas-muted)}.customer-picker select,.customer-picker button{border-radius:7px;min-height:36px}.customer-profile{grid-template-columns:42px minmax(0,1fr);padding:10px}.customer-avatar{background:#2563eb;border-radius:8px;width:42px;height:42px}.customer-facts{grid-template-columns:1fr;gap:0;overflow:hidden}.customer-facts>div,.customer-summary>div,.money-table>div,.settlement>div{border:0;border-bottom:1px solid var(--saas-border-soft);background:0 0;border-radius:0;min-height:36px}.customer-facts>div:last-child,.customer-summary>div:last-child,.money-table>div:last-child,.settlement>div:last-child{border-bottom:0}.customer-credit{background:#fffaf0;padding:10px}.customer-credit.over-limit{background:#fff5f5;border-color:#fecaca}.customer-credit i{background:#e5e7eb}.customer-credit i b{background:#0f9f72}.customer-credit.over-limit i b{background:var(--saas-danger)}.customer-summary{gap:0;padding:0 10px}.customer-summary>div{grid-template-columns:18px minmax(0,1fr) auto;padding:8px 0}.source-notice{background:#f0fdfa;margin-top:auto;padding:10px}.catalog-workspace{grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px;min-width:0;min-height:0;padding:12px;display:grid;overflow:hidden}.catalog-header{border:0;min-height:42px;padding:0}.catalog-actions{gap:6px}.catalog-actions button,.file-picker-command,.text-command{border:1px solid var(--saas-border);color:#344054;min-height:34px;box-shadow:none;background:#fff;border-radius:7px;font-weight:700}.catalog-actions button:hover,.text-command:hover,.file-picker-command:hover{background:#f8fafc;border-color:#b7c6d8}.catalog-toolbar{border:1px solid var(--saas-border-soft);background:var(--saas-soft);border-radius:8px;grid-template-columns:minmax(260px,1fr) auto;gap:8px;padding:8px}.entry-search{border:1px solid var(--saas-border);background:#fff;border-radius:7px;height:38px}.entry-search input{height:36px}.category-tabs{border:1px solid var(--saas-border);scrollbar-width:none;background:#fff;border-radius:7px;min-height:38px;padding:2px;overflow-x:auto}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{color:#475467;white-space:nowrap;border-radius:6px;flex:none;min-height:32px;font-weight:700}.category-tabs button.selected{background:var(--saas-blue);color:#fff}.catalog-list{border:1px solid var(--saas-border);background:#fff;border-radius:8px;min-height:0;overflow:hidden}.catalog-list-head,.catalog-row{grid-template-columns:minmax(240px,1.7fr) 86px 58px 78px 128px;gap:8px;padding:0 12px}.catalog-list-head{z-index:1;border-bottom:1px solid var(--saas-border);background:#f8fafc;height:36px;position:sticky;top:0}.catalog-list-body{max-height:none;overflow:auto}.catalog-row{border-bottom:1px solid var(--saas-border-soft);color:#344054;background:#fff;border-radius:0;min-height:50px}.catalog-row:last-child{border-bottom:0}.catalog-row:hover{box-shadow:inset 3px 0 0 var(--saas-blue);background:#f5f9ff}.catalog-product i{border-radius:999px;width:4px}.catalog-product strong{color:var(--saas-text);font-size:13px;font-weight:720}.catalog-product small{color:#667085;font-size:11px}.operations-strip{background:0 0;border:0;grid-template-columns:.95fr 1fr 1.15fr;gap:8px;min-height:126px;padding:0}.operations-column{border:1px solid var(--saas-border-soft);background:#fff;border-radius:8px;min-width:0;padding:10px}.operations-head{min-height:24px;margin-bottom:6px}.operations-head strong{color:var(--saas-text);font-size:12px}.job-line,.ledger-line,.today-line{background:#f8fafc;border-radius:6px;min-height:28px}.receipt-dock{grid-template-rows:auto auto auto minmax(160px,1fr) auto auto auto auto auto;gap:10px;min-width:0;padding:12px;display:grid;overflow:auto}.receipt-head{min-height:38px}.receipt-head button{border:1px solid var(--saas-border);background:#fff;border-radius:7px;width:34px;height:34px}.receipt-barcode{border:1px solid var(--saas-border-soft);background:#fff;border-radius:8px;min-height:54px;padding:8px}.mode-group,.payment-methods{border:1px solid var(--saas-border);background:var(--saas-soft);border-radius:7px;min-height:36px;padding:2px}.mode-group button,.payment-methods button{border-radius:6px;min-height:30px;font-weight:720}.mode-group button.selected,.payment-methods button.selected{color:#fff;background:#2563eb}.receipt-lines{gap:8px;min-height:0;padding-right:2px;overflow:auto}.receipt-line{border:1px solid var(--saas-border);background:#fff;border-radius:8px;padding:10px}.receipt-line:hover{background:#fbfdff;border-color:#bcd0e6}.receipt-line-title strong{color:var(--saas-text);font-size:13px}.qty-control,.size-control{border-radius:7px;min-width:0}.qty-control button,.row-delete{border-radius:6px}.receipt-line-controls input,.receipt-line-price input,.line-note,.paid-input input,.order-note input{border:1px solid var(--saas-border);background:#fff;border-radius:7px}.receipt-line-price label{gap:4px}.receipt-line-price label span{color:#667085;font-size:11px}.receipt-line-price>strong{color:#2563eb}.compact-note{gap:5px;display:grid}.compact-note span,.paid-input span{color:#667085;text-transform:uppercase;font-size:11px;font-weight:750}.money-table,.settlement{border:1px solid var(--saas-border-soft);background:#fff;border-radius:8px;gap:0;overflow:hidden}.money-table>div,.settlement>div{padding:8px 0}.total-row{margin:0;background:#eef4ff!important;padding:11px 10px!important}.total-row strong{color:#2563eb;font-size:18px}.paid-input{gap:5px}.paid-input input{height:42px;font-size:18px;font-weight:760}.payment-actions{grid-template-columns:1fr repeat(3,auto);gap:6px}.payment-actions button{border:1px solid var(--saas-border);background:#fff;border-radius:7px;min-height:38px;font-weight:720}.payment-actions .pay-primary{border-color:var(--saas-blue);color:#fff;min-width:0;background:var(--saas-blue)!important}.credit-warning{border-radius:7px}.production-page{--prod-border:#d9e2ec;--prod-soft-border:#e8edf3;--prod-soft:#f6f8fb;--prod-text:#111827;--prod-muted:#667085;--prod-blue:#2563eb;--prod-green:#10b981;grid-template-rows:auto minmax(0,1fr);gap:12px;min-height:calc(100dvh - 92px);display:grid}.production-page .production-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid!important}.production-board{grid-template-columns:320px minmax(0,1fr);gap:12px;min-height:0;display:grid}.production-rail,.production-detail{border:1px solid var(--prod-border);min-height:0;box-shadow:none;background:#fff;border-radius:8px;overflow:hidden}.production-rail{grid-template-rows:auto minmax(0,1fr);display:grid}.production-rail-head b{color:#1d4ed8;background:#e6f4ff;border-radius:999px;min-width:28px;height:24px}.production-rail-list{min-height:0;padding:8px;overflow:auto;max-height:none!important}.production-rail-item{background:#fff;border:1px solid #0000;border-radius:8px;grid-template-columns:70px minmax(0,1fr);gap:10px;min-height:82px;padding:8px}.production-rail-item:hover{background:#f7fbff;border-color:#d6e6f6}.production-rail-item.active{box-shadow:inset 3px 0 0 var(--prod-blue);background:#eff6ff;border-color:#93c5fd}.pr-thumb{border:1px solid var(--prod-soft-border);color:#344054;background:linear-gradient(#ffffffb8,#ffffffe0),repeating-linear-gradient(0deg,#eef4fa 0 6px,#f8fafc 6px 12px);border-radius:7px;width:70px;height:56px;font-size:10px;font-weight:760}.pr-body{gap:3px}.pr-body strong{color:var(--prod-text);font-size:13px;font-weight:720}.pr-body small,.pr-due{color:var(--prod-muted)}.pr-due.overdue{color:#dc2626}.production-state{border-radius:999px;min-height:22px;padding:2px 8px;font-size:11px}.pd-head{border-bottom:1px solid var(--prod-soft-border);background:#fff;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:16px 18px;display:grid!important}.pd-head-main{grid-template-columns:132px minmax(0,1fr);align-items:start;gap:14px;display:grid!important}.pd-preview{border:1px solid var(--prod-soft-border);color:#344054;width:132px;height:74px;box-shadow:none;background:linear-gradient(#ffffffc7,#ffffffe6),repeating-linear-gradient(0deg,#eaf2fb 0 7px,#f8fafc 7px 14px);border-radius:8px}.pd-preview.has-file{background:#f0f9ff}.pd-preview span{font-size:12px;line-height:1.2}.pd-head h2{color:var(--prod-text);margin:2px 0 5px;font-size:23px;font-weight:760;line-height:28px}.pd-meta{color:var(--prod-muted);flex-wrap:wrap;gap:6px 12px;font-size:12px;display:flex}.pd-meta strong{color:#344054}.pd-meta .pd-due{color:#dc2626}.pd-file-strip{border:1px solid var(--prod-soft-border);background:var(--prod-soft);border-radius:7px;grid-template-columns:auto minmax(0,.45fr) minmax(0,1fr);min-height:34px;margin-top:8px}.pd-file-strip.empty{grid-template-columns:minmax(0,1fr)}.pd-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.pd-head-actions .text-command{border:1px solid var(--prod-border);color:#344054;background:#fff;border-radius:7px;min-height:36px}.production-detail .stepper{background:#fbfcfe;grid-template-columns:repeat(6,minmax(118px,1fr));align-content:center;gap:10px;min-width:0;min-height:0;margin:0;padding:42px 22px 32px;display:grid;overflow-x:auto}.production-detail .stepper-node{text-align:center;grid-template-rows:34px 42px auto;justify-items:center;gap:8px;min-width:118px;display:grid}.production-detail .stepper-dot{color:#667085;background:#fff;border:3px solid #dbe4ef;width:34px;height:34px;font-size:14px;font-weight:800}.production-detail .stepper-node.current .stepper-dot{border-color:var(--prod-blue);color:var(--prod-blue);box-shadow:0 0 0 5px #2563eb1f}.production-detail .stepper-label{color:#475467;min-height:38px;margin:0;font-size:12px;font-weight:720;line-height:16px}.stage-card{border:1px solid var(--prod-soft-border);width:100%;min-height:82px;box-shadow:none;background:#fff;border-radius:8px;padding:10px 8px}.stage-avatar{width:38px;height:38px;margin-bottom:5px;font-size:12px}.stage-card strong{color:var(--prod-text);font-size:12px;font-weight:760}.stage-card small{color:#98a2b3;letter-spacing:0;font-size:9.5px}.stage-time{color:#667085;margin-top:3px;font-size:11px;font-weight:720}.production-detail .stepper-node.done .stage-card{background:#f0fdf4;border-color:#bbf7d0}.production-detail .stepper-node.current .stage-card{box-shadow:none;background:#eff6ff;border-color:#bfdbfe;transform:none}.production-detail .stepper-node.todo .stage-card{opacity:.72}.pd-actions{border-top:1px solid var(--prod-soft-border);background:#fff;grid-template-columns:minmax(0,1fr) minmax(240px,320px) auto auto;align-items:center;gap:8px;margin:0;padding:14px 18px;display:grid!important}.pd-hint{color:var(--prod-muted);font-size:12px}.pd-next-assignee{gap:4px;min-width:0;display:grid}.pd-next-assignee span{color:var(--prod-muted);text-transform:uppercase;font-size:11px;font-weight:800}.pd-next-assignee input{color:#0f172a;width:100%;min-width:0;height:40px;font:inherit;border:1px solid #cdd9e6;border-radius:7px;padding:0 10px;font-size:13px;font-weight:650}.pd-actions .ghost-command,.pd-actions .primary-command{border-radius:7px;min-height:40px;font-weight:760}.pd-actions .ghost-command{color:#b42318;background:#fff;border:1px solid #fecaca}.pd-actions .primary-command{border:1px solid var(--prod-blue);color:#fff;background:var(--prod-blue)!important}@media (width<=1440px) and (width>=1180px){.sales-workbench{grid-template-columns:214px minmax(0,1fr) 318px;gap:10px}.catalog-list-head,.catalog-row{grid-template-columns:minmax(168px,1.5fr) 58px 34px 56px 124px;gap:6px;padding:0 9px}.catalog-actions{gap:5px}.catalog-actions button{padding:0 8px}.catalog-toolbar{grid-template-columns:minmax(220px,1fr) auto}.category-tabs button{padding:0 8px}.receipt-dock{padding:10px}.receipt-line-controls{grid-template-columns:104px minmax(0,1fr)}.production-board{grid-template-columns:292px minmax(0,1fr)}.production-detail .stepper{grid-template-columns:repeat(6,minmax(108px,1fr));padding-left:16px;padding-right:16px}}@media (width<=1179px){.sales-workbench,.production-board{grid-template-columns:1fr}.catalog-workspace,.receipt-dock,.production-detail,.production-rail{overflow:visible}.receipt-dock{position:static}.production-detail .stepper{grid-template-columns:1fr;padding:16px}.production-detail .stepper-node{text-align:left;grid-template-rows:auto;grid-template-columns:34px minmax(0,1fr) minmax(180px,.45fr);justify-items:start}.production-detail .stepper-node:before,.production-detail .stepper-node:after{display:none}.stage-card{justify-self:stretch}.pd-actions{grid-template-columns:1fr}}.sales-workbench{grid-template:"customer receipt""catalog receipt"minmax(0,1fr)/minmax(0,1fr) minmax(408px,440px)!important;align-items:stretch!important;gap:12px!important}.sales-workbench>.customer-context{grid-area:customer}.sales-workbench>.catalog-workspace{grid-area:catalog}.sales-workbench>.receipt-dock{grid-area:receipt}.customer-context{grid-template-columns:minmax(168px,.7fr) minmax(280px,1.3fr) minmax(210px,.9fr) minmax(250px,1fr);align-items:stretch;gap:10px!important;padding:12px!important;display:grid!important}.customer-context>.workbench-heading,.customer-context>.customer-picker,.customer-context>.customer-profile,.customer-context>.customer-facts,.customer-context>.customer-credit,.customer-context>.customer-summary,.customer-context>.source-notice{min-width:0;margin:0!important}.customer-context>.workbench-heading{background:#f8fbff;border:1px solid #dbe5ef;border-radius:10px;justify-content:space-between;align-items:center;min-height:78px;padding:12px;display:flex}.customer-context>.customer-picker{z-index:12;position:relative}.customer-combo-row{grid-template-columns:minmax(0,1fr) 38px;align-items:stretch;gap:6px;display:grid}.customer-combobox{color:#64748b;background:#fff;border:1px solid #bfd0e1;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;min-width:0;height:40px;padding:0 10px;display:grid;position:relative}.customer-combobox:focus-within{border-color:#0f8f7d;box-shadow:0 0 0 3px #0f8f7d1f}.customer-combobox input{color:#111827;min-width:0;height:100%;font:inherit;background:0 0;border:0;outline:0;font-size:13px;font-weight:720}.customer-suggestion-menu{z-index:80;background:#fff;border:1px solid #c9d6e3;border-radius:8px;max-height:340px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:-44px;overflow:auto;box-shadow:0 18px 48px #0f172a2e}.customer-suggestion-menu button,.customer-suggestion-empty{color:#1f2937;width:100%;min-height:42px;font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(0,1.2fr) 112px;align-items:center;gap:4px 8px;padding:7px 9px;display:grid}.customer-suggestion-menu button:hover,.customer-suggestion-menu button.selected{background:#e9f7f4}.customer-suggestion-menu strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:760;overflow:hidden}.customer-suggestion-menu span{color:#2563eb;text-align:right;font-size:12px;font-weight:720}.customer-suggestion-menu small{color:#667085;grid-column:1/-1;font-size:11px}.customer-suggestion-empty{color:#667085;font-size:12px}.customer-context>.customer-profile{align-content:center;min-height:78px}.customer-context>.customer-facts,.customer-context>.customer-credit{min-height:78px}.customer-context>.customer-summary{grid-column:1/span 3;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px!important;display:grid!important}.customer-context>.source-notice{grid-column:4;min-height:58px}.catalog-workspace{grid-template-rows:auto auto minmax(0,1fr) auto;min-height:0;display:grid!important}.receipt-dock{grid-template-rows:auto auto auto minmax(170px,1fr) auto auto auto auto auto auto;min-width:0;max-height:calc(100dvh - 92px);overflow:auto;width:auto!important;padding:14px!important;display:grid!important}.receipt-head h2{font-size:25px!important;line-height:30px!important}.receipt-barcode{min-height:74px}.receipt-lines{min-height:190px;max-height:none!important}.receipt-line{border-radius:10px!important;padding:12px!important}.receipt-line-title strong{font-size:14px}.receipt-line-controls{grid-template-columns:128px minmax(0,1fr)!important;gap:8px!important}.receipt-line-price{align-items:end;grid-template-columns:minmax(0,1fr) auto!important}.receipt-line-price input,.receipt-line-controls input{height:34px!important}.paid-input input{height:46px!important}.payment-actions{grid-template-columns:1fr repeat(3,minmax(72px,auto))!important}.payment-actions .pay-primary{min-height:46px}.file-import-card{grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(1180px,100vw - 32px)!important;max-height:calc(100dvh - 32px)!important}.file-import-layout{grid-template-columns:220px minmax(0,1fr)!important;min-height:430px!important}.file-import-table{min-width:940px!important}.file-import-file-row{border-radius:5px;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:4px;min-width:0;display:grid}.file-import-file-row.selected{background:#dcecff}.file-import-file-row>button:first-child{text-align:left;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid;background:0 0!important}.file-import-file-row>button:first-child span{gap:2px;min-width:0;display:grid}.file-import-file-row>button:first-child strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.file-import-file-row>button:first-child small{text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:11px;overflow:hidden}.file-import-thumb{object-fit:cover;background:#f8fafc;border:1px solid #d6e0ea;border-radius:6px;width:34px;height:34px}.file-import-thumb--file{color:#475569;place-items:center;font-size:10px;font-style:normal;font-weight:700;display:grid}.file-import-delete,.file-import-row-delete,.product-combo-clear{color:#b42318;cursor:pointer;background:#fff;border:1px solid #d6e0ea;border-radius:6px}.file-import-delete{place-items:center;width:28px;height:28px;padding:0;display:inline-grid}.file-import-table th,.file-import-table td{vertical-align:middle;padding:6px!important}.file-import-table input{color:#111827;width:100%;min-width:74px;height:34px;font:inherit;background:#fff;border:1px solid #d4dee9;border-radius:6px;outline:0;padding:0 8px;font-size:12px;font-weight:650}.file-import-table input:focus{border-color:#0f8f7d;box-shadow:0 0 0 3px #0f8f7d1f}.file-import-table .import-product-input{min-width:230px}.file-import-table td:nth-child(2) input,.file-import-table td:nth-child(3) input,.file-import-table td:nth-child(4) input,.file-import-table td:nth-child(5) input,.file-import-table td:nth-child(6) input{text-align:right}.file-import-table td:nth-child(7){color:#2563eb;text-align:right;min-width:112px}.file-import-table th:last-child,.file-import-table td:last-child{text-align:center;width:44px;min-width:44px}.file-import-row-delete{place-items:center;width:34px;height:34px;padding:0;display:inline-grid}.file-import-footer{grid-template-columns:minmax(280px,1fr) 130px 132px auto auto;align-items:center;justify-content:stretch!important;display:grid!important}.file-import-product-search{color:#64748b;background:#fff;border:1px solid #d7e0ea;border-radius:7px;grid-template-columns:18px minmax(0,1fr) 28px;align-items:center;gap:7px;min-width:0;height:38px;padding:0 10px;display:grid;position:relative}.product-combobox{min-width:0;position:relative}.product-combobox:not(.with-icon){display:block}.file-import-product-search input{outline:0;min-width:0;height:100%;padding:0;text-align:left!important;border:0!important;width:100%!important}.product-combo-clear{color:#667085;place-items:center;width:26px;height:26px;padding:0;display:inline-grid}.product-combo-clear:hover,.file-import-delete:hover,.file-import-row-delete:hover{color:#b42318;background:#fff1f2;border-color:#fecaca}.product-suggestion-menu{z-index:110;background:#fff;border:1px solid #c9d6e3;border-radius:8px;max-height:360px;padding:6px;position:absolute;bottom:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 18px 48px #0f172a33}.product-suggestion-menu button,.product-suggestion-empty{color:#1f2937;width:100%;min-height:42px;font:inherit;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(0,1.4fr) 138px;align-items:center;gap:4px 10px;padding:7px 9px;display:grid}.product-suggestion-menu button:hover{background:#e9f7f4}.product-suggestion-menu strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:760;overflow:hidden}.product-suggestion-menu span{color:#2563eb;text-align:right;font-size:12px;font-weight:780}.product-suggestion-menu small{color:#667085;grid-column:1/-1;font-size:11px}.product-suggestion-empty{color:#667085;font-size:12px}.search-combobox{color:#64748b;background:#fff;border:1px solid #cdd9e6;border-radius:8px;align-items:center;gap:7px;min-width:0;height:38px;padding:0 10px;display:flex;position:relative}.search-combobox:focus-within{border-color:#0f8f7d;box-shadow:0 0 0 3px #0f8f7d1f}.search-combobox>svg{color:#64748b;flex:none}.search-combobox input,.search-combobox>input{color:#111827;font:inherit;flex:1;font-size:13px;font-weight:650;width:100%!important;min-width:0!important;height:100%!important;box-shadow:none!important;text-align:left!important;background:0 0!important;border:0!important;outline:0!important;padding:0!important}.combobox-clear{color:#667085;cursor:pointer;background:#fff;border:1px solid #d6e0ea;border-radius:6px;flex:none;place-items:center;width:26px;height:26px;padding:0;display:inline-grid}.combobox-clear:hover{color:#b42318;background:#fff1f2;border-color:#fecaca}.combobox-menu{z-index:130;background:#fff;border:1px solid #c9d6e3;border-radius:8px;max-height:340px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden auto;box-shadow:0 18px 48px #0f172a33}.combobox-menu.up{top:auto;bottom:calc(100% + 6px)}.combobox-menu button,.combobox-empty{color:#1f2937;width:100%;min-width:0;min-height:42px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;grid-template-columns:minmax(0,1.3fr) 132px;align-items:center;gap:4px 10px;padding:7px 9px;display:grid}.combobox-menu button strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:760;overflow:hidden}.combobox-menu button span{color:#2563eb;text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:780;overflow:hidden}.combobox-menu button small{color:#667085;text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;min-width:0;font-size:11px;overflow:hidden}.combobox-menu button:hover,.combobox-menu button.highlighted{background:#e9f7f4}.combobox-empty{color:#667085;cursor:default;font-size:12px;display:block}.search-combobox.customer-combobox,.search-combobox.file-import-product-search{display:flex}.sale-command-bar .search-combobox.customer-combobox{border-color:#b7c9dc;height:40px}.invoice-line-table .invoice-name-combobox,.file-import-table .import-product-combobox{height:34px;padding:0 8px}.invoice-line-table .invoice-name-combobox{min-width:220px}.file-import-table .import-product-combobox{min-width:230px}.invoice-line-table .search-combobox input,.file-import-table .search-combobox input{font-size:12px;height:100%!important}.file-import-footer>input{width:100%!important;height:38px!important}.file-import-footer>strong{color:#2563eb;font-size:15px;min-width:0!important}@media (width<=1440px) and (width>=1180px){.sales-workbench{grid-template:"customer receipt""catalog receipt"minmax(0,1fr)/minmax(0,1fr) minmax(388px,412px)!important}.customer-context{grid-template-columns:minmax(150px,.7fr) minmax(250px,1.3fr) minmax(190px,.9fr);grid-auto-rows:auto}.customer-context>.customer-summary{display:none!important}.customer-context>.source-notice{grid-column:3}.customer-context>.workbench-heading,.customer-context>.customer-picker,.customer-context>.customer-profile,.customer-context>.customer-facts,.customer-context>.customer-credit,.customer-context>.source-notice{min-height:74px}.customer-profile{grid-template-columns:38px minmax(0,1fr)!important;padding:9px!important}.customer-avatar{width:38px;height:38px}.catalog-list-head,.catalog-row{grid-template-columns:minmax(220px,1.6fr) 64px 38px 62px 128px!important}}@media (width<=1179px){.sales-workbench{grid-template-columns:1fr!important;grid-template-areas:"customer""catalog""receipt"!important}.customer-context{grid-template-columns:1fr!important}.customer-context>.customer-summary,.customer-context>.source-notice{grid-column:auto}.customer-context>.customer-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-dock{max-height:none}.file-import-layout,.file-import-footer{grid-template-columns:1fr!important}}.sales-board-v4{--sale-border:#d8e2ec;--sale-border-soft:#e8eef5;--sale-text:#111827;--sale-muted:#667085;--sale-soft:#f6f9fc;--sale-accent:#087f73;--sale-blue:#2563eb;grid-template-rows:auto minmax(0,1fr);gap:10px;min-height:calc(100dvh - 92px);display:grid}.sale-command-bar{border:1px solid var(--sale-border);background:#fff;border-radius:10px;grid-template-columns:180px minmax(270px,1.2fr) minmax(220px,.85fr) minmax(160px,.55fr) minmax(140px,.45fr) minmax(170px,.55fr);align-items:stretch;gap:8px;min-width:0;min-height:86px;padding:10px;display:grid}.sale-command-title,.sale-command-bar .customer-picker,.sale-customer-snapshot,.sale-credit-mini,.sale-shift-mini,.sale-creator-mini{border:1px solid var(--sale-border-soft);background:#fff;border-radius:8px;min-width:0}.sale-command-title{background:#f8fbff;align-content:center;gap:2px;padding:10px;display:grid}.sale-command-title span,.sale-panel-head span,.invoice-canvas-head span,.settlement-head span,.invoice-code-block span,.sale-ops-feed header span,.sale-credit-mini span,.customer-money-stack span{color:#667085;letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:800}.sale-command-title strong{color:var(--sale-text);font-size:18px;font-weight:780;line-height:23px}.sale-command-title small,.invoice-canvas-head small,.settlement-head small,.sale-credit-mini small,.sale-shift-mini span,.sale-creator-mini span{min-width:0;color:var(--sale-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.sale-command-bar .customer-picker{z-index:20;align-content:center;gap:7px;padding:10px;display:grid;position:relative}.sale-command-bar .customer-picker label{color:#475467;text-transform:uppercase;font-size:11px;font-weight:800}.sale-command-bar .customer-combobox{border-color:#b7c9dc;height:40px}.sale-customer-snapshot{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.sale-customer-snapshot .customer-avatar{border-radius:8px;width:44px;height:44px}.sale-customer-snapshot strong,.sale-customer-snapshot span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.sale-customer-snapshot strong{color:var(--sale-text);font-size:14px;font-weight:760}.sale-customer-snapshot span{color:var(--sale-muted);font-size:12px}.sale-customer-snapshot em{color:#047568;white-space:nowrap;background:#e6f7f3;border-radius:999px;padding:3px 8px;font-size:11px;font-style:normal;font-weight:780}.sale-credit-mini{background:#fff9eb;align-content:center;gap:4px;padding:10px;display:grid}.sale-credit-mini.over-limit{background:#fff1f2}.sale-credit-mini strong{color:#92400e;font-size:15px;font-weight:820}.sale-credit-mini i{background:#e5e7eb;border-radius:999px;height:5px;overflow:hidden}.sale-credit-mini i b{border-radius:inherit;background:var(--sale-accent);height:100%;display:block}.sale-credit-mini.over-limit i b{background:#dc2626}.sale-shift-mini{color:var(--sale-accent);background:#effaf7;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;padding:10px;display:grid}.sale-creator-mini{color:#1d4ed8;background:#f8fbff;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;padding:10px;display:grid}.sale-shift-mini>svg,.sale-creator-mini>svg{border-radius:8px;width:34px;height:34px;padding:8px}.sale-shift-mini>svg{background:#dff7f0}.sale-creator-mini>svg{background:#e8f0ff}.sale-shift-mini strong,.sale-creator-mini strong{color:#064e45;font-size:13px;font-weight:780;display:block}.sale-creator-mini strong{color:#172554}.sale-creator-mini select{color:#0f172a;width:100%;min-width:0;height:28px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;margin-top:3px;font-size:12px;font-weight:500}.sale-workgrid-v4{grid-template-columns:minmax(260px,300px) minmax(0,1fr) minmax(314px,356px);align-items:stretch;gap:10px;min-height:0;display:grid}.sale-product-rail,.sale-invoice-canvas,.sale-settlement-panel{border:1px solid var(--sale-border);min-width:0;min-height:0;box-shadow:none;background:#fff;border-radius:10px;overflow:hidden}.sale-product-rail{grid-template-rows:auto auto auto auto minmax(0,1fr);gap:9px;padding:10px;display:grid}.sale-panel-head,.invoice-canvas-head{justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.sale-panel-head strong,.invoice-canvas-head strong{color:var(--sale-text);font-size:16px;font-weight:780;line-height:21px;display:block}.sale-panel-head button,.invoice-head-actions button,.sale-rail-actions button,.settlement-actions button{color:#344054;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d5e0eb;border-radius:7px;justify-content:center;align-items:center;gap:6px;font-size:12px;font-weight:780;display:inline-flex}.sale-product-search{color:#667085;background:#f8fbff;border:1px solid #cbd8e5;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;height:42px;padding:0 11px;display:grid}.sale-product-search:focus-within{border-color:var(--sale-accent);box-shadow:0 0 0 3px #087f731f}.sale-product-search input{min-width:0;height:100%;color:var(--sale-text);font:inherit;background:0 0;border:0;outline:0;font-size:13px}.sale-rail-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.sale-rail-actions button{white-space:nowrap;min-width:0;padding:0 6px}.sale-category-tabs{background:#f6f9fc;border:1px solid #e0e8f0;border-radius:8px;gap:5px;padding:3px;display:flex;overflow-x:auto}.sale-category-tabs button{color:#475467;min-height:30px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;padding:0 9px;font-size:12px;font-weight:760}.sale-category-tabs button.selected{background:var(--sale-accent);color:#fff}.sale-product-list{border:1px solid #e1e8f0;border-radius:8px;min-height:0;overflow:auto}.sale-product-row{width:100%;min-height:58px;color:var(--sale-text);font:inherit;text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #e8eef5;grid-template-columns:4px minmax(0,1fr) 36px;grid-template-areas:"color info stock""color price price";align-items:center;gap:2px 9px;padding:8px 9px;display:grid}.sale-product-row:hover{background:#f4fbfa}.sale-product-row>i{border-radius:999px;grid-area:color;align-self:stretch;width:4px}.sale-product-row span{grid-area:info;min-width:0}.sale-product-row strong,.sale-product-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.sale-product-row small{color:var(--sale-muted);font-size:11px}.sale-product-row em{color:#475467;text-align:right;grid-area:stock;font-size:11px;font-style:normal}.sale-product-row b{color:var(--sale-accent);text-align:right;grid-area:price;font-size:12px;font-weight:820}.sale-product-empty{color:var(--sale-muted);text-align:center;padding:18px 12px;font-size:13px}.sale-invoice-canvas{grid-template-rows:auto auto minmax(0,1fr) auto auto;display:grid}.invoice-canvas-head{border-bottom:1px solid var(--sale-border-soft);padding:12px 14px}.invoice-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.invoice-meta-line{border-bottom:1px solid var(--sale-border-soft);background:#f8fbff;grid-template-columns:130px minmax(0,1fr) 186px;align-items:center;gap:10px;min-height:64px;padding:10px 14px;display:grid}.invoice-code-block{gap:1px;display:grid}.invoice-code-block strong{color:var(--sale-text);font-size:22px;font-weight:820;line-height:26px}.invoice-barcode-wide{background:#fff;border:1px solid #d9e4ef;border-radius:7px;place-items:center;min-width:0;height:46px;display:grid}.invoice-priority{background:#fff;border:1px solid #d9e4ef;border-radius:8px;grid-template-columns:1fr 1fr;gap:4px;padding:3px;display:grid!important}.invoice-priority button{color:#475467;background:0 0;border:0;border-radius:6px;min-height:34px;font-weight:780}.invoice-priority button.selected{background:var(--sale-accent);color:#fff}.invoice-table-shell{min-height:0;overflow:auto}.invoice-line-table{border-collapse:separate;border-spacing:0;width:100%;min-width:860px;font-size:12px}.invoice-line-table th{z-index:2;color:#526176;text-align:left;text-transform:uppercase;background:#eef3f8;border-bottom:1px solid #d7e2ed;height:38px;padding:0 8px;font-size:11px;font-weight:840;position:sticky;top:0}.invoice-line-table th:nth-child(n+2),.invoice-line-table td:nth-child(n+2){text-align:right}.invoice-line-table td{vertical-align:top;background:#fff;border-bottom:1px solid #e8eef5;padding:7px 8px}.invoice-line-table tr:hover td{background:#fbfefd}.invoice-line-table input{width:100%;min-width:72px;height:34px;color:var(--sale-text);font:inherit;text-align:right;background:#fff;border:1px solid #cfdbe8;border-radius:6px;outline:0;padding:0 8px;font-weight:680}.invoice-line-table input:focus{border-color:var(--sale-accent);box-shadow:0 0 0 3px #087f731f}.invoice-line-table .invoice-name-input{text-align:left;min-width:220px}.invoice-line-table td:first-child small{color:var(--sale-muted);margin-top:3px;font-size:10px;display:block}.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b{color:#047568;align-items:center;min-height:34px;font-weight:820;display:inline-grid}.invoice-qty-stepper{grid-template-columns:28px minmax(44px,1fr) 28px;gap:4px;display:grid}.invoice-qty-stepper button,.invoice-row-delete{color:#344054;cursor:pointer;background:#fff;border:1px solid #cfdbe8;border-radius:6px;min-height:34px}.invoice-qty-stepper input{text-align:center;min-width:44px;padding:0 4px}.invoice-row-delete{color:#b42318;width:34px}.invoice-empty-row td{height:280px;color:var(--sale-muted);text-align:center!important}.invoice-empty-row svg,.invoice-empty-row strong,.invoice-empty-row span{margin:0 auto 6px;display:block}.invoice-empty-row strong{color:var(--sale-text);font-size:15px}.invoice-note-band{border-top:1px solid var(--sale-border-soft);background:#fbfcfe;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:10px;padding:10px 14px;display:grid}.invoice-note-band label{gap:5px;display:grid}.invoice-note-band label span{color:#667085;text-transform:uppercase;font-size:11px;font-weight:800}.invoice-note-band input{height:38px;color:var(--sale-text);font:inherit;background:#fff;border:1px solid #cfdbe8;border-radius:7px;padding:0 10px}.invoice-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.invoice-kpi-strip div{background:#fff;border:1px solid #e0e8f0;border-radius:7px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:2px 6px;min-width:0;padding:8px;display:grid}.invoice-kpi-strip svg{color:var(--sale-accent);grid-row:1/3}.invoice-kpi-strip span{color:var(--sale-muted);font-size:10px}.invoice-kpi-strip strong{min-width:0;color:var(--sale-text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:820;overflow:hidden}.sale-ops-feed{border-top:1px solid var(--sale-border-soft);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:104px;padding:10px 14px;display:grid}.sale-ops-feed>div{background:#fff;border:1px solid #e0e8f0;border-radius:8px;min-width:0;padding:8px}.sale-ops-feed header{justify-content:space-between;gap:8px;margin-bottom:6px;display:flex}.sale-ops-feed header strong{color:var(--sale-text);font-size:12px;font-weight:820}.ops-feed-line{grid-template-columns:52px minmax(0,1fr) minmax(70px,.7fr);align-items:center;gap:6px;min-height:24px;font-size:10px;display:grid}.ops-feed-line b,.ops-feed-line strong{color:var(--sale-accent);font-weight:820}.ops-feed-line span,.ops-feed-line small{color:#475467;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ops-feed-line i{background:#e5edf5;border-radius:999px;height:5px;overflow:hidden}.ops-feed-line i u{border-radius:inherit;background:#2563eb;height:100%;display:block}.ops-empty{color:var(--sale-muted);text-align:center;padding:12px 4px;font-size:11px;font-style:italic}.sale-settlement-panel{grid-template-rows:auto auto auto auto auto auto minmax(0,1fr);gap:10px;padding:12px;display:grid;overflow:auto}.settlement-head{background:#eef4ff;border:1px solid #bbf7d0;border-radius:8px;gap:3px;padding:12px;display:grid}.settlement-head strong{color:#065f46;font-size:27px;font-weight:860;line-height:32px}.sale-settlement-panel .payment-methods{background:#f6f9fc;border:1px solid #d9e4ef;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:3px;display:grid!important}.sale-settlement-panel .payment-methods button{color:#475467;background:0 0;border:0;border-radius:6px;min-height:36px;font-weight:780}.sale-settlement-panel .payment-methods button.selected{background:var(--sale-accent);color:#fff}.settlement-breakdown,.settlement-result,.customer-money-stack{background:#fff;border:1px solid #e0e8f0;border-radius:8px;gap:0;display:grid;overflow:hidden}.settlement-breakdown>div,.settlement-result>div,.customer-money-stack>div{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:center;gap:8px;min-height:38px;padding:0 10px;display:flex}.settlement-breakdown>div:last-child,.settlement-result>div:last-child,.customer-money-stack>div:last-child{border-bottom:0}.settlement-breakdown span,.settlement-result span{color:var(--sale-muted);font-size:12px;font-weight:720}.settlement-breakdown strong,.settlement-result strong,.customer-money-stack strong{color:var(--sale-text);font-size:13px;font-weight:820}.settlement-breakdown .due{background:#eef4ff;min-height:48px}.settlement-breakdown .due strong{color:#065f46;font-size:20px}.settlement-paid{gap:6px;display:grid!important}.settlement-paid span{color:var(--sale-muted);text-transform:uppercase;font-size:11px;font-weight:800}.settlement-paid input{text-align:right;border-radius:8px;font-size:19px;font-weight:820;height:46px!important}.settlement-actions{grid-template-columns:1fr 74px 82px;gap:6px;display:grid}.settlement-actions .pay-primary{border-color:var(--sale-blue);color:#fff;min-height:48px;background:var(--sale-blue)!important}.settlement-actions button:not(.pay-primary){min-height:44px}.customer-money-stack{align-self:end}@media (width<=1480px) and (width>=1180px){.sale-command-bar{grid-template-columns:164px minmax(270px,1.1fr) minmax(200px,.8fr) minmax(150px,.55fr)}.sale-shift-mini{display:none}.sale-workgrid-v4{grid-template-columns:230px minmax(0,1fr) 286px;gap:8px}.sale-product-rail,.sale-settlement-panel{padding:8px}.sale-rail-actions{grid-template-columns:1fr;gap:5px}.sale-rail-actions button{justify-content:flex-start;padding:0 10px}.invoice-meta-line{grid-template-columns:116px minmax(0,1fr);padding:8px 10px}.invoice-priority{grid-column:1/-1}.invoice-canvas-head{padding:10px}.invoice-canvas-head small{display:none}.invoice-line-table{table-layout:fixed;min-width:100%;font-size:11px}.invoice-line-table th:first-child,.invoice-line-table td:first-child{width:26%}.invoice-line-table th:nth-child(2),.invoice-line-table td:nth-child(2),.invoice-line-table th:nth-child(3),.invoice-line-table td:nth-child(3){width:10%}.invoice-line-table th:nth-child(4),.invoice-line-table td:nth-child(4){width:15%}.invoice-line-table th:nth-child(5),.invoice-line-table td:nth-child(5){width:8%}.invoice-line-table th:nth-child(6),.invoice-line-table td:nth-child(6),.invoice-line-table th:nth-child(7),.invoice-line-table td:nth-child(7){width:13%}.invoice-line-table th:nth-child(8),.invoice-line-table td:nth-child(8){width:5%}.invoice-line-table th{white-space:normal;height:34px;padding:0 4px;font-size:10px}.invoice-line-table td{padding:5px 4px}.invoice-line-table input{min-width:0;height:32px;padding:0 5px;font-size:11px}.invoice-line-table .invoice-name-input{min-width:0}.invoice-qty-stepper{grid-template-columns:22px minmax(28px,1fr) 22px;gap:2px}.invoice-qty-stepper button,.invoice-row-delete{min-height:32px}.invoice-row-delete{width:28px}.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b{font-size:10.5px}.invoice-note-band{grid-template-columns:minmax(0,1fr);padding:8px 10px}.sale-ops-feed,.customer-money-stack{display:none}.settlement-head{padding:10px}.settlement-head strong{font-size:22px;line-height:27px}.sale-settlement-panel{gap:8px}.settlement-breakdown>div,.settlement-result>div{min-height:34px;padding:0 8px}.settlement-breakdown .due{min-height:42px}.settlement-breakdown .due strong{font-size:17px}.settlement-paid input{font-size:17px;height:42px!important}.settlement-actions{grid-template-columns:1fr 56px 66px}}@media (width<=1179px){.sales-board-v4{min-height:auto}.sale-command-bar,.sale-workgrid-v4,.invoice-note-band,.sale-ops-feed{grid-template-columns:1fr}.sale-workgrid-v4{min-height:auto}.sale-product-rail,.sale-invoice-canvas,.sale-settlement-panel{overflow:visible}.sale-product-list{max-height:380px}.invoice-table-shell{max-height:480px}}.app-shell{grid-template-columns:228px minmax(0,1fr);transition:grid-template-columns .18s}.app-nav,.brand-block{position:relative}.nav-collapse-button{color:#e6fffb;width:30px;height:30px;min-height:30px;box-shadow:none;z-index:4;background:#ffffff14;border:1px solid #e2e8f057;border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:10px;right:10px}.nav-collapse-button:hover{color:#fff;background:#ffffff29}.app-shell:not(.nav-collapsed) .brand-block>div,.app-shell:not(.nav-collapsed) .nav-list button>span,.app-shell:not(.nav-collapsed) .shift-panel span,.app-shell:not(.nav-collapsed) .shift-panel strong,.app-shell:not(.nav-collapsed) .shift-panel small{clip:auto;clip-path:none;white-space:normal;width:auto;height:auto;display:block;position:static;overflow:visible}.app-shell:not(.nav-collapsed) .nav-list button>span{display:inline}.app-shell.nav-collapsed .app-nav{align-items:center;padding:14px 8px}.app-shell.nav-collapsed .brand-block{justify-content:center;width:54px;min-height:54px;padding:4px;display:flex}.app-shell.nav-collapsed .brand-block>div{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell.nav-collapsed .nav-collapse-button{color:#2563eb;background:#fff;border-color:#2563eb5c;width:28px;height:28px;min-height:28px;top:13px;right:-11px;box-shadow:0 8px 22px #0f172a24}.app-shell.nav-collapsed .nav-list{width:54px}.app-shell.nav-collapsed .nav-list button{justify-content:center;align-items:center;gap:0;width:48px;min-height:44px;padding:0;display:flex;position:relative}.app-shell.nav-collapsed .nav-list button>span{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell.nav-collapsed .nav-list b{border:2px solid #073b33;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:10px;line-height:14px;position:absolute;top:-4px;right:-3px}.app-shell.nav-collapsed .shift-panel{justify-content:center;align-items:center;width:48px;min-height:48px;padding:0;display:flex}.app-shell.nav-collapsed .shift-panel span,.app-shell.nav-collapsed .shift-panel strong,.app-shell.nav-collapsed .shift-panel small{display:none}@media (width<=1179px){.app-shell,.app-shell.nav-collapsed{grid-template-columns:1fr}.nav-collapse-button{display:none}}.legacy-report-page,.legacy-debt-page{grid-template-rows:auto minmax(0,1fr) auto;gap:10px;min-height:calc(100vh - 82px);padding:0;display:grid}.legacy-report-head,.legacy-debt-header{background:#fff;border:1px solid #dce5ee;border-radius:10px;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:12px;min-height:72px;padding:12px 14px;display:grid}.legacy-report-head span,.legacy-debt-header span,.legacy-panel-title{color:#64748b;letter-spacing:.02em;text-transform:uppercase;font-size:11px;font-weight:850}.legacy-report-head h2,.legacy-debt-header h2{color:#0f172a;letter-spacing:0;margin:2px 0 0;font-size:22px;line-height:28px}.legacy-report-metrics,.legacy-totals{grid-auto-columns:minmax(118px,auto);grid-auto-flow:column;gap:8px;display:grid}.legacy-report-metrics>div,.legacy-totals{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:9px 10px}.legacy-report-metrics span,.legacy-totals span{color:#64748b;text-transform:uppercase;font-size:10px;font-weight:800;display:block}.legacy-report-metrics strong,.legacy-totals strong{color:#2563eb;font-variant-numeric:tabular-nums;margin-top:2px;font-size:15px;font-weight:900;display:block}.legacy-table-wrap{background:#fff;border:1px solid #cfdbe7;border-radius:8px;min-height:0;overflow:auto}.legacy-table-wrap table{border-collapse:collapse;width:100%;min-width:1280px;font-size:12px}.legacy-table-wrap th{z-index:2;color:#334155;text-align:left;white-space:nowrap;background:#edf2f7;border:1px solid #cfdbe7;height:34px;padding:0 8px;font-size:11px;font-weight:850;position:sticky;top:0}.legacy-table-wrap td{color:#1f2937;font-variant-numeric:tabular-nums;white-space:nowrap;border:1px solid #dde6ef;height:32px;padding:5px 8px}.legacy-table-wrap tbody tr:nth-child(2n) td{background:#fff7ed}.legacy-table-wrap tbody tr:hover td,.legacy-table-wrap tbody tr.selected td{background:#dbeafe}.legacy-table-wrap td strong{color:#0f172a;font-weight:850}.legacy-table-wrap td small{color:#64748b;margin-top:2px;font-size:10px;display:block}.report-order-table{min-height:420px}.legacy-report-filter,.legacy-filterbar{background:#fff;border:1px solid #dce5ee;border-radius:10px;gap:9px;padding:10px;display:grid}.legacy-field-grid{grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px;display:grid}.legacy-field-grid label,.legacy-action-row label{color:#64748b;text-transform:uppercase;gap:4px;font-size:10px;font-weight:800;display:grid}.legacy-field-grid input,.legacy-action-row input,.legacy-action-row select,.legacy-search-row input{color:#0f172a;min-width:0;height:34px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;font-weight:700}.legacy-report-search-row{flex-wrap:nowrap}.legacy-report-dynamic-control{flex:360px;min-width:260px}.legacy-report-dynamic-control>input,.legacy-report-dynamic-control>select{width:100%}.legacy-date-range{grid-template-columns:repeat(2,minmax(150px,1fr));gap:8px;display:grid}.legacy-date-range label{color:#334155;text-transform:none;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;font-size:12px;font-weight:700;display:grid}.legacy-date-range input{width:100%}.legacy-radio-row,.legacy-action-row,.legacy-search-row{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.legacy-radio-row span{color:#475569;font-size:11px;font-weight:850}.legacy-radio-row label{color:#334155;align-items:center;gap:5px;font-size:12px;font-weight:700;display:inline-flex}.legacy-action-row button,.legacy-search-row button,.legacy-debt-actions button{color:#0f172a;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-weight:850;display:inline-flex}.legacy-action-row button:hover,.legacy-search-row button:hover,.legacy-debt-actions button:hover{background:#f1f5f9}.legacy-action-row .danger-command{color:#be123c;background:#fff1f2;border-color:#fecaca}.legacy-action-row button:disabled,.legacy-debt-actions button:disabled{cursor:not-allowed;opacity:.48}.legacy-debt-page{grid-template-rows:auto minmax(0,1fr)}.legacy-debt-grid{grid-template-columns:minmax(360px,.72fr) minmax(0,1.4fr);gap:10px;min-height:0;display:grid}.legacy-debt-panel{background:#fff;border:1px solid #dce5ee;border-radius:10px;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;min-height:0;padding:10px;display:grid}.legacy-panel-title{justify-content:space-between;align-items:center;display:flex}.legacy-panel-title b{color:#2563eb;background:#e8f0fe;border-radius:999px;justify-content:center;align-items:center;min-width:28px;height:22px;display:inline-flex}.debt-customers-table table{min-width:620px}.debt-detail-table table{min-width:1260px}.legacy-search-row{grid-template-columns:minmax(0,1fr) auto auto;display:grid}.legacy-debt-actions{grid-template-columns:minmax(170px,1fr) minmax(220px,auto) auto auto;align-items:center;gap:8px;display:grid}.legacy-debt-actions>span{color:#64748b;font-size:12px;font-weight:750}.legacy-debt-actions .legacy-totals{grid-template-columns:1fr auto;grid-auto-flow:row;align-items:center;gap:4px 16px;padding:8px 10px}.legacy-debt-actions .legacy-totals span,.legacy-debt-actions .legacy-totals strong{margin:0}@media (width<=1280px){.legacy-report-head,.legacy-debt-header,.legacy-debt-grid,.legacy-field-grid,.legacy-debt-actions{grid-template-columns:1fr}.legacy-report-metrics,.legacy-totals{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}}html,body,#root{height:100%}body{overflow:hidden}.app-shell,.app-shell.nav-collapsed{height:100vh;min-height:0;overflow:hidden}.app-nav{height:100vh;min-height:0}.brand-block{padding-right:10px}.topbar{grid-template-columns:38px minmax(190px,236px) minmax(260px,1fr) auto auto;gap:8px;min-height:58px;padding:7px 10px}.topbar-menu-toggle{color:#334155;width:34px;min-width:34px;height:34px;min-height:34px;box-shadow:none;background:#fff;border:1px solid #d8e2ec;border-radius:7px;padding:0}.topbar-menu-toggle:hover{color:#2563eb;background:#f5f8fb}.app-shell.nav-collapsed .topbar-menu-toggle{color:#2563eb}.sales-screen{grid-template-rows:auto minmax(0,1fr);gap:8px;height:100vh;min-height:0;padding:8px 10px;display:grid;overflow:hidden}.sales-board-v4,.legacy-report-page,.legacy-debt-page,.module-page,.report-stack{height:100%;min-height:0;overflow:hidden}.legacy-report-page{grid-template-rows:auto minmax(0,1fr) auto;gap:8px}.legacy-debt-page{grid-template-rows:auto minmax(0,1fr);gap:8px}.legacy-report-head,.legacy-debt-header{min-height:58px;padding:8px 12px}.legacy-report-head h2,.legacy-debt-header h2{font-size:20px;line-height:24px}.legacy-report-metrics>div,.legacy-totals{padding:6px 9px}.legacy-debt-grid,.legacy-debt-panel,.legacy-table-wrap{min-height:0}.legacy-debt-panel{gap:6px;padding:8px}.legacy-filterbar,.legacy-report-filter{gap:7px;padding:8px 10px}.legacy-field-grid{gap:6px}.legacy-table-wrap th{height:30px;padding:0 7px}.legacy-table-wrap td{height:28px;padding:4px 7px}.legacy-action-row button,.legacy-search-row button,.legacy-debt-actions button{min-height:32px;padding:0 11px}.legacy-field-grid input,.legacy-action-row input,.legacy-action-row select,.legacy-search-row input{height:32px}.legacy-debt-actions{gap:7px}.legacy-debt-actions .legacy-totals{padding:6px 9px}.app-shell,.app-shell button,.app-shell input,.app-shell select,.app-shell textarea{font-weight:400}.title-group span,.legacy-report-head span,.legacy-debt-header span,.legacy-panel-title,.legacy-report-metrics span,.legacy-totals span,.legacy-field-grid label,.legacy-action-row label,.legacy-radio-row span,.sale-section-eyebrow,.title-group h1,.legacy-report-head h2,.legacy-debt-header h2,.module-head h2,.settlement-head strong,.invoice-number,.sale-command-invoice strong{letter-spacing:0;font-weight:600}.nav-list button,.topbar-actions button,.account-chip,.sync-state,.branch-switcher select,.legacy-action-row button,.legacy-search-row button,.legacy-debt-actions button{font-weight:500}.legacy-table-wrap th,.data-table thead th,.invoice-line-table th{letter-spacing:0;font-weight:600}.legacy-table-wrap td,.legacy-table-wrap td strong,.legacy-report-metrics strong,.legacy-totals strong,.debt-customers-table td strong,.debt-detail-table td strong,.report-order-table td strong,.data-table td strong,.invoice-line-table b,.invoice-line-table strong{font-weight:600}.sale-product-row strong,.product-card strong,.receipt-line strong,.settlement-breakdown strong,.settlement-result strong,.settlement-paid input,.legacy-field-grid input,.legacy-action-row input,.legacy-search-row input{font-weight:500}@media (width<=1179px){body{overflow:auto}.app-shell,.sales-screen,.legacy-report-page,.legacy-debt-page,.module-page,.report-stack{height:auto;overflow:visible}.topbar{grid-template-columns:minmax(0,1fr) auto}.topbar-menu-toggle{display:none}}.legacy-table-wrap table{font-size:11.5px}.legacy-table-wrap th,.legacy-table-wrap td{text-overflow:ellipsis;overflow:hidden}.debt-customers-table table,.report-order-table table{table-layout:fixed;min-width:100%}.debt-customers-table th:first-child,.debt-customers-table td:first-child{width:92px}.debt-customers-table th:nth-child(3),.debt-customers-table td:nth-child(3){width:132px}.debt-customers-table th:nth-child(4),.debt-customers-table td:nth-child(4){width:92px}.report-order-table th:nth-child(6),.report-order-table td:nth-child(6){width:4%}.report-order-table th:nth-child(7),.report-order-table td:nth-child(7),.report-order-table th:nth-child(8),.report-order-table td:nth-child(8),.report-order-table th:nth-child(9),.report-order-table td:nth-child(9){width:6%}.report-order-table th:nth-child(10),.report-order-table td:nth-child(10){width:4%}.report-order-table th:nth-child(11),.report-order-table td:nth-child(11){width:11%}.report-order-table th:nth-child(12),.report-order-table td:nth-child(12){width:5.2%}.legacy-table-wrap td strong{font-weight:500}.topbar{grid-template-columns:minmax(190px,236px) minmax(260px,1fr) auto auto}.nav-footer{gap:8px;width:100%;margin-top:auto;display:grid}.nav-footer .shift-panel{margin-top:0}.nav-footer .nav-collapse-button{color:#d7e5e2;width:100%;height:34px;min-height:34px;box-shadow:none;background:#ffffff12;border:1px solid #e2e8f038;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 10px;font-size:12px;font-weight:500;display:inline-flex;position:static!important}.app-shell.nav-collapsed .nav-footer{width:54px}.app-shell.nav-collapsed .nav-footer .nav-collapse-button{color:#d7e5e2;background:#ffffff14;border-color:#e2e8f033;width:48px;height:40px;min-height:40px;padding:0}.app-shell.nav-collapsed .nav-footer .nav-collapse-button span{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.nav-footer .nav-collapse-button{color:#d7dee8;background:#ffffff09;border-color:#ffffff14;border-radius:10px;height:34px;min-height:34px}.nav-footer .nav-collapse-button svg{stroke-width:2px;width:16px;height:16px}.app-shell.nav-collapsed .nav-footer .nav-collapse-button{background:#ffffff0d;border-radius:10px;width:48px;height:40px;min-height:40px}@media (width<=1179px){.topbar{grid-template-columns:minmax(0,1fr) auto}}:root{--ov-primary:#0b74de;--ov-primary-strong:#075aaa;--ov-primary-soft:#e8f2ff;--ov-primary-border:#b8d8ff;--ov-nav:#07111f;--ov-nav-soft:#101c2d;--ov-nav-active:#12385f;--ov-app:#eef3f8;--ov-panel:#fff;--ov-panel-subtle:#f7f9fc;--ov-line:#dbe4ef;--ov-line-strong:#c7d3e2;--ov-text:#162033;--ov-muted:#64748b;--ov-success:#09845b;--ov-danger:#c73636;--accent:var(--ov-primary);--accent-strong:var(--ov-primary-strong);--ring:#0b74de38;--shadow-card:0 1px 2px #0f172a0a;--shadow-pop:0 16px 42px #0f172a29}.app-shell{background:var(--ov-app);color:var(--ov-text);grid-template-columns:232px minmax(0,1fr)}.app-nav{background:var(--ov-nav);color:#d7e2ef;border-right:1px solid #152033;gap:10px;padding:12px}.brand-block{background:var(--ov-nav-soft);border:1px solid #ffffff14;border-radius:8px;grid-template-columns:42px minmax(0,1fr);min-height:56px;padding:8px}.brand-block img{box-shadow:none;border-radius:8px}.brand-block strong{color:#fff;font-size:14px;font-weight:600}.nav-list button{color:#b8c5d7;border-radius:8px;min-height:38px;font-size:13px;font-weight:500}.nav-list button.active{background:var(--ov-nav-active);color:#fff;box-shadow:inset 3px 0 0 var(--ov-primary)}.nav-list button.active:before{content:none}.nav-list b{color:#fff;background:#2aa7ff;min-width:20px;height:20px;padding:0 6px;font-size:11px;font-weight:600;line-height:20px}.nav-footer .shift-panel{background:var(--ov-nav-soft);border:1px solid #ffffff17;border-radius:8px}.shift-panel span,.shift-panel small{color:#aab8c9;font-weight:400}.shift-panel strong{color:#fff;font-weight:600}.nav-footer .nav-collapse-button,.app-shell.nav-collapsed .nav-footer .nav-collapse-button{color:#cdd8e6;background:#0c1728;border:1px solid #ffffff14}.sales-screen{background:var(--ov-app);gap:8px;padding:8px}.topbar{border:1px solid var(--ov-line);background:var(--ov-panel);min-height:58px;box-shadow:var(--shadow-card);border-radius:8px;grid-template-columns:minmax(180px,230px) minmax(320px,1fr) auto auto;padding:8px 10px}.title-group span,.legacy-report-head span,.legacy-debt-header span,.module-head span,.sale-section-eyebrow,.legacy-panel-title{color:var(--ov-muted);letter-spacing:0;font-size:11px;font-weight:600}.title-group h1,.legacy-report-head h2,.legacy-debt-header h2,.module-head h2{color:var(--ov-text);font-weight:600}.global-search,.entry-search,.branch-switcher,.sync-state,.topbar-actions>button,.account-chip,.legacy-field-grid input,.legacy-action-row input,.legacy-action-row select,.legacy-search-row input,.file-import-footer input,.file-import-table input,.invoice-line-table input,.invoice-note-band input,.invoice-note-band textarea{border:1px solid var(--ov-line);color:var(--ov-text);box-shadow:none;background:#fff;border-radius:7px}.global-search{background:#f7f9fc}.global-search:focus-within,.entry-search:focus-within,.product-combobox:focus-within,.legacy-field-grid input:focus,.legacy-action-row input:focus,.legacy-search-row input:focus,.invoice-line-table input:focus{border-color:var(--ov-primary);box-shadow:0 0 0 3px var(--ring)}.branch-switcher span{color:var(--ov-muted)}.branch-switcher select,.account-chip,.sync-state{font-weight:500}.sync-state.api,.sync-state.local{border-color:var(--ov-primary-border);background:var(--ov-primary-soft);color:var(--ov-primary-strong)}.sync-state.api svg,.sync-state.local svg{color:var(--ov-primary)}.module-panel,.legacy-report-head,.legacy-debt-header,.legacy-report-filter,.legacy-filterbar,.legacy-debt-panel,.sale-command-card,.sale-product-rail,.sale-invoice-canvas,.sale-settlement-panel,.invoice-summary-tile,.settlement-head,.settlement-breakdown>div,.settlement-result>div,.customer-money-stack>div,.report-card,.metric,.settings-grid>section{border:1px solid var(--ov-line);background:var(--ov-panel);box-shadow:var(--shadow-card);border-radius:8px}.legacy-report-head,.legacy-debt-header{background:var(--ov-panel)}.legacy-report-metrics>div,.legacy-totals,.invoice-summary-tile,.settlement-breakdown .due,.settlement-result .due,.customer-money-stack>div{border:1px solid var(--ov-line);background:var(--ov-panel-subtle)}.legacy-report-metrics strong,.legacy-totals strong,.settlement-head strong,.settlement-breakdown .due strong,.settlement-result .due strong,.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b,.sale-product-price,.amount-credit{color:var(--ov-success)}.data-table-wrap,.legacy-table-wrap,.invoice-table-shell,.file-import-table-wrap{border:1px solid var(--ov-line-strong);background:#fff;border-radius:7px}.data-table thead th,.legacy-table-wrap th,.invoice-line-table th,.file-import-table th{border-color:var(--ov-line);color:#344258;letter-spacing:0;background:#edf3fa;height:30px;font-size:11px;font-weight:600}.primary-command,.pay-primary,.file-import-footer .primary-command,.legacy-action-row button:not(.danger-command),.legacy-search-row button,.legacy-debt-actions button,.settlement-actions .pay-primary{border:1px solid var(--ov-primary);color:#fff;box-shadow:none;border-radius:7px;font-weight:500;background:var(--ov-primary)!important}.primary-command:hover,.pay-primary:hover,.legacy-action-row button:not(.danger-command):hover,.legacy-search-row button:hover,.legacy-debt-actions button:hover{border-color:var(--ov-primary-strong);color:#fff;transform:none;background:var(--ov-primary-strong)!important}.text-command,.sale-rail-actions button,.invoice-canvas-actions button,.settlement-actions button:not(.pay-primary),.file-import-tools button,.file-picker-command,.mode-group button,.payment-methods button,.legacy-action-row .danger-command{border:1px solid var(--ov-line);color:var(--ov-text);box-shadow:none;background:#fff;border-radius:7px;font-weight:500}.text-command:hover,.sale-rail-actions button:hover,.invoice-canvas-actions button:hover,.settlement-actions button:not(.pay-primary):hover,.file-import-tools button:hover,.file-picker-command:hover,.mode-group button:hover,.payment-methods button:hover{border-color:var(--ov-primary-border);background:var(--ov-primary-soft);color:var(--ov-primary-strong)}.mode-group button.selected,.payment-methods button.selected,.category-tabs button.active,.sale-category-tabs button.active,.unit-toggle button.selected{border-color:var(--ov-primary);background:var(--ov-primary)!important;color:#fff!important}.legacy-action-row .danger-command{border-color:#f2c5c5;background:#fff5f5!important}.legacy-action-row .danger-command:hover{border-color:var(--ov-danger);color:var(--ov-danger);background:#ffecec!important}.sale-product-row:before,.invoice-product-mark,.catalog-row:before{background:var(--ov-primary)}.aging-chip.good,.stage-card.done,.state-dot.good{color:var(--ov-success);background:#eaf8f2}.aging-chip,.role-badge,.branch-chip,kbd{border-color:var(--ov-line);color:#42526a;background:#f2f6fb}.file-import-card,.modal-card,.product-suggestion-menu,.customer-suggestion-menu{border:1px solid var(--ov-line);box-shadow:var(--shadow-pop);background:#fff;border-radius:8px}.report-cards .report-card:first-child{border-color:var(--ov-primary-border);background:var(--ov-primary-soft)}.report-cards .report-card:first-child span,.report-cards .report-card:first-child strong{color:var(--ov-primary-strong)}.app-shell:not(.nav-collapsed) .brand-block>div,.app-shell:not(.nav-collapsed) .nav-list button>span,.app-shell:not(.nav-collapsed) .shift-panel span,.app-shell:not(.nav-collapsed) .shift-panel strong,.app-shell:not(.nav-collapsed) .shift-panel small{display:block}.app-shell.nav-collapsed .brand-block,.app-shell.nav-collapsed .nav-list,.app-shell.nav-collapsed .nav-footer{width:48px}.app-shell.nav-collapsed .brand-block{min-height:48px;padding:4px}.app-shell.nav-collapsed .nav-list b{border-color:var(--ov-nav);background:#2aa7ff}@media (width<=1480px) and (width>=1180px){.topbar{grid-template-columns:minmax(170px,210px) minmax(260px,1fr) auto auto}.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-shell.nav-collapsed{grid-template-columns:72px minmax(0,1fr)}}:root{--ov-primary:#0b65c2;--ov-primary-strong:#064f9a;--ov-primary-soft:#eaf3ff;--ov-primary-border:#a9cdf7;--ov-nav:#07111f;--ov-nav-soft:#101b2b;--ov-nav-hover:#122238;--ov-nav-active:#123f6d;--ov-app:#eef3f8;--ov-panel:#fff;--ov-panel-subtle:#f7f9fc;--ov-table-head:#edf3fa;--ov-line:#d9e3ef;--ov-line-strong:#c8d5e4;--ov-text:#172033;--ov-muted:#66758a;--ov-success:#07805d;--ov-warning:#b76b00;--ov-danger:#c43131;--ov-ring:#0b65c224;--accent:var(--ov-primary);--accent-strong:var(--ov-primary-strong);--accent-soft:var(--ov-primary-soft);--ring:var(--ov-ring);--shadow-card:0 1px 2px #0f172a0a;--shadow-pop:0 18px 44px #0f172a29}html,body,#root{background:var(--ov-app);color:var(--ov-text);letter-spacing:0;font-family:Segoe UI,Arial,sans-serif;font-size:13px;font-weight:400}button,input,select,textarea{font:inherit;letter-spacing:0}.app-shell{background:var(--ov-app);grid-template-columns:232px minmax(0,1fr)}.sidebar{background:var(--ov-nav);border-right:1px solid #172538}.brand-block,.nav-footer .shift-panel,.nav-footer .nav-collapse-button{background:var(--ov-nav-soft);border-radius:6px}.brand-block{border-color:#22324a}.brand-text strong,.nav-list button span,.shift-panel strong{font-weight:600}.nav-list button{color:#c7d1df;border-radius:6px;min-height:38px;font-weight:500}.nav-list button:hover{background:var(--ov-nav-hover);color:#fff}.nav-list button.active{background:var(--ov-nav-active);color:#fff;border-color:#1b5b99}.nav-list button b{color:#fff;background:#1e8be6;border-color:#0a1625}.nav-footer .nav-collapse-button{color:#d3dde9;background:#0d1929;border-color:#ffffff14;height:34px;min-height:34px}.nav-footer .nav-collapse-button:hover{background:#17263c}.main-shell,.sales-screen,.page-surface,.production-page,.legacy-report-page,.legacy-debt-page{background:var(--ov-app)}.sales-screen,.page-surface{gap:8px;padding:8px}.topbar{border:1px solid var(--ov-line);background:var(--ov-panel);min-height:58px;box-shadow:var(--shadow-card);border-radius:7px}.title-group h1,.module-head h2,.sale-command-title strong,.sale-panel-head strong,.invoice-canvas-head strong,.settlement-head strong,.legacy-report-head h2,.legacy-debt-header h2,.pd-head h2{color:var(--ov-text);letter-spacing:0;font-weight:600!important}.title-group span,.module-head span,.sale-section-eyebrow,.sale-panel-head span,.invoice-canvas-head span,.settlement-head span,.legacy-panel-title,.legacy-report-head span,.legacy-debt-header span,.pd-eyebrow{color:var(--ov-muted);letter-spacing:0;font-size:11px;font-weight:600!important}.global-search,.entry-search,.product-combobox,.customer-combobox,.sale-product-search,.branch-switcher,.sync-state,.account-chip,.topbar-actions>button,.sale-command-card,.sale-command-title,.sale-command-bar .customer-picker,.sale-customer-snapshot,.sale-credit-mini,.sale-shift-mini,.sale-product-rail,.sale-invoice-canvas,.sale-settlement-panel,.module-panel,.legacy-report-head,.legacy-debt-header,.legacy-report-filter,.legacy-filterbar,.legacy-debt-panel,.report-card,.metric,.settings-grid>section,.invoice-summary-tile,.customer-money-stack>div,.settlement-breakdown>div,.settlement-result>div{border:1px solid var(--ov-line);background:var(--ov-panel);box-shadow:var(--shadow-card);border-radius:7px}.sale-command-bar,.sales-board-v4,.production-page{--sale-accent:var(--ov-primary);--sale-blue:var(--ov-primary);--prod-blue:var(--ov-primary);--prod-green:var(--ov-primary)}.sale-command-title,.invoice-meta-line,.invoice-note-band,.sale-product-search,.global-search,.legacy-report-filter,.legacy-filterbar,.sale-ops-feed>div,.pd-file-strip,.production-detail .stepper,.production-page .metric{background:var(--ov-panel-subtle)!important}.sale-credit-mini{background:#fff8e8!important}.sale-shift-mini,.sale-customer-snapshot em,.sync-state.api,.sync-state.local,.report-cards .report-card:first-child{border-color:var(--ov-primary-border);color:var(--ov-primary-strong);background:var(--ov-primary-soft)!important}.sale-shift-mini>svg,.customer-avatar,.sale-customer-snapshot .customer-avatar,.invoice-kpi-strip svg,.ops-feed-line b,.ops-feed-line strong{color:var(--ov-primary)}.customer-avatar,.sale-customer-snapshot .customer-avatar{background:var(--ov-primary)!important}.global-search:focus-within,.entry-search:focus-within,.product-combobox:focus-within,.customer-combobox:focus-within,.sale-product-search:focus-within,.legacy-field-grid input:focus,.legacy-action-row input:focus,.legacy-search-row input:focus,.invoice-line-table input:focus,.file-import-footer input:focus,.file-import-table input:focus{border-color:var(--ov-primary)!important;box-shadow:0 0 0 3px var(--ov-ring)!important}.primary-command,.pay-primary,.legacy-search-row button,.legacy-action-row button:not(.danger-command),.legacy-debt-actions button,.pd-actions .primary-command,.file-import-footer .primary-command{border-radius:6px;border-color:var(--ov-primary)!important;background:var(--ov-primary)!important;color:#fff!important;box-shadow:none!important;font-weight:600!important}.primary-command:hover,.pay-primary:hover,.legacy-search-row button:hover,.legacy-action-row button:not(.danger-command):hover,.legacy-debt-actions button:hover,.pd-actions .primary-command:hover{border-color:var(--ov-primary-strong)!important;background:var(--ov-primary-strong)!important;transform:none!important}.text-command,.ghost-command,.sale-panel-head button,.invoice-head-actions button,.sale-rail-actions button,.settlement-actions button:not(.pay-primary),.file-import-tools button,.file-picker-command,.mode-group button,.payment-methods button,.sale-category-tabs button,.category-tabs button,.invoice-priority button,.unit-toggle button{border-color:var(--ov-line)!important;color:#35445a!important;box-shadow:none!important;background:#fff!important;border-radius:6px!important;font-weight:500!important}.data-table-wrap,.legacy-table-wrap,.invoice-table-shell,.file-import-table-wrap,.sale-product-list{border:1px solid var(--ov-line-strong);box-shadow:none;background:#fff;border-radius:6px}.data-table thead th,.legacy-table-wrap th,.invoice-line-table th,.file-import-table th{border-color:var(--ov-line);color:#344258;letter-spacing:0;text-transform:none;height:31px;font-size:11px;background:var(--ov-table-head)!important;font-weight:600!important}.data-table td,.legacy-table-wrap td,.invoice-line-table td,.file-import-table td{color:var(--ov-text);border-color:#e2e9f2;font-weight:400!important}.legacy-table-wrap tbody tr:nth-child(2n) td,.data-table tbody tr:nth-child(2n) td{background:#fbfcfe}.legacy-table-wrap tbody tr:hover td,.legacy-table-wrap tbody tr.selected td,.data-table tbody tr:hover td,.invoice-line-table tbody tr:hover td{background:#eaf3ff!important}.sale-product-row,.product-card,.file-import-file-row button{border-color:var(--ov-line);background:#fff;border-radius:6px}.sale-product-row:hover,.product-card:hover,.file-import-file-row.selected button:first-child{border-color:var(--ov-primary-border)!important;background:#f3f8ff!important}.sale-product-row b,.sale-product-price,.amount-credit,.settlement-head strong,.settlement-breakdown .due strong,.settlement-result .due strong,.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b,.legacy-report-metrics strong,.legacy-totals strong{color:var(--ov-primary-strong)!important;font-weight:600!important}.sale-product-row strong,.sale-customer-snapshot strong,.invoice-code-block strong,.invoice-kpi-strip strong,.sale-ops-feed header strong,.legacy-table-wrap b,.data-table b,.report-card strong,.metric strong,.stage-card strong,.pr-body strong{font-weight:600!important}.invoice-line-table input,.file-import-table input,.file-import-footer input,.invoice-note-band input,.invoice-note-band textarea,.legacy-field-grid input,.legacy-action-row input,.legacy-action-row select,.legacy-search-row input{border-color:var(--ov-line);color:var(--ov-text);box-shadow:none;background:#fff;border-radius:6px;font-weight:400!important}.danger-command,.danger-icon,.legacy-action-row .danger-command,.invoice-row-delete,.file-import-row-delete,.file-import-delete{color:var(--ov-danger)!important}.badge,.aging-chip,.role-badge,.branch-chip,kbd{border-color:var(--ov-line);color:#43536a;background:#f2f6fb}.production-board{grid-template-columns:320px minmax(0,1fr)}.production-rail,.production-detail{border-color:var(--ov-line);box-shadow:var(--shadow-card);background:#fff;border-radius:7px}.production-rail-head svg,.production-rail-head span,.pd-head-actions .text-command svg{color:var(--ov-primary)!important}.production-rail-head b{background:var(--ov-primary-soft)!important;color:var(--ov-primary-strong)!important;font-weight:600!important}.production-rail-item{background:#fff;border-radius:6px}.pr-code{color:var(--ov-primary-strong)!important;font-weight:600!important}.production-state{border:1px solid var(--ov-line);color:#43536a!important;background:#f2f6fb!important;font-weight:500!important}.production-state.waiting_file,.production-state.on_hold{border-color:#f1d09b;color:var(--ov-warning)!important;background:#fff8e8!important}.production-state.cancelled{border-color:#efc6c6;color:var(--ov-danger)!important;background:#fff7f7!important}.production-detail .stepper-dot{color:#66758a;background:#fff;border-color:#d6e1ee;font-weight:600!important}.production-detail .stepper-label{color:#41516a;font-weight:600!important}.production-detail .stepper-node.current .stepper-label,.production-detail .stepper-node.done .stepper-label{color:var(--ov-primary-strong)!important}.stage-card{border-radius:7px;border-color:var(--ov-line)!important;box-shadow:none!important;background:#fff!important}.production-detail .stepper-node.done .stage-card{border-color:var(--ov-primary-border)!important;background:#f6faff!important}.production-detail .stepper-node.current .stage-card{border-color:var(--ov-primary-border)!important;background:var(--ov-primary-soft)!important;transform:none!important}.stage-avatar{color:var(--ov-primary-strong)!important;background:#dcecff!important;font-weight:600!important}.stage-card small,.stage-time{color:var(--ov-muted)!important;letter-spacing:0!important;font-weight:500!important}.production-detail .stepper-node.done .stage-time,.production-detail .stepper-node.current .stage-time{color:var(--ov-primary-strong)!important}.legacy-report-page .legacy-report-head,.legacy-debt-page .legacy-debt-header{border-radius:7px}.legacy-report-metrics>div,.legacy-totals{border-color:var(--ov-line);background:#f7f9fc!important}.file-import-popover{background:#07111f80}.file-import-card,.modal-card,.product-suggestion-menu,.customer-suggestion-menu{border-color:var(--ov-line);box-shadow:var(--shadow-pop);background:#fff;border-radius:8px}.product-suggestion-menu button:hover,.customer-suggestion-menu button:hover,.customer-suggestion-menu button.selected{background:var(--ov-primary-soft)!important}@media (width<=1480px) and (width>=1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-shell.nav-collapsed{grid-template-columns:72px minmax(0,1fr)}.production-board{grid-template-columns:306px minmax(0,1fr)}}.customer-avatar svg,.sale-customer-snapshot .customer-avatar svg{stroke-width:2px;color:#fff!important}.sale-product-row strong,.invoice-line-table td,.invoice-line-table td strong,.invoice-line-table td b,.legacy-table-wrap td,.legacy-table-wrap td strong,.legacy-table-wrap td b,.data-table td,.data-table td strong,.data-table td b,.file-import-table td,.file-import-table td strong,.file-import-table td b,.ops-feed-line b,.ops-feed-line strong{font-weight:500!important}.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b,.settlement-breakdown .due strong,.settlement-result .due strong,.sale-product-price,.amount-credit{font-weight:600!important}:root{--ov-primary:#0b6fd3;--ov-primary-strong:#084f9d;--ov-primary-soft:#eaf3ff;--ov-primary-border:#b9d8fb;--ov-nav:#07111f;--ov-nav-hover:#0f2338;--ov-nav-active:#12385f;--ov-app:#edf2f7;--ov-panel:#fff;--ov-panel-subtle:#f7fafc;--ov-table-head:#eef4fb;--ov-line:#d8e2ee;--ov-line-strong:#c8d5e4;--ov-text:#162033;--ov-muted:#64748b;--ov-success:#0a8f6a;--ov-warning:#b96a00;--ov-danger:#d12f2f;--ov-ring:#0b6fd329;--shadow-card:0 1px 2px #0f172a0a;--shadow-pop:0 18px 42px #0f172a2e;--accent:var(--ov-primary)}html,body,#root{width:100%;height:100%;min-height:100%;overflow:hidden!important}body{color:var(--ov-text);margin:0;font-size:13px;background:var(--ov-app)!important;letter-spacing:0!important;font-family:Segoe UI,Tahoma,Arial,sans-serif!important}.app-shell,.app-shell.nav-collapsed{height:100dvh;max-height:100dvh;background:var(--ov-app)!important;overflow:hidden!important}.app-shell{grid-template-columns:236px minmax(0,1fr)!important}.app-shell.nav-collapsed{grid-template-columns:64px minmax(0,1fr)!important}.app-nav{min-height:0;background:var(--ov-nav)!important;box-shadow:none!important;border-right:1px solid #12243a!important;gap:10px!important;padding:10px!important}.brand-block{min-height:58px!important;box-shadow:none!important;background:#0c1c2d!important;border:1px solid #ffffff1c!important;border-radius:8px!important;padding:8px!important}.brand-block img{border-radius:6px!important;width:42px!important;height:42px!important}.brand-block strong{color:#fff!important;font-size:14px!important;font-weight:600!important;line-height:1.15!important}.brand-block span{color:#b7c6d9!important;font-size:11px!important;font-weight:400!important}.nav-list{gap:4px!important}.nav-list button{color:#c6d3e2!important;letter-spacing:0!important;background:0 0!important;border:1px solid #0000!important;border-radius:7px!important;min-height:37px!important;padding:0 10px!important;font-size:13px!important;font-weight:500!important}.nav-list button:hover{background:var(--ov-nav-hover)!important;color:#fff!important;border-color:#ffffff14!important}.nav-list button.active{background:var(--ov-nav-active)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--ov-primary)!important;border-color:#3b82f659!important}.nav-list button.active:before{display:none!important}.nav-list b{color:#fff!important;background:#0b6fd3!important;border:1px solid #93c5fd59!important;border-radius:999px!important;min-width:22px!important;height:20px!important;font-size:11px!important;font-weight:600!important}.nav-footer{border-top:1px solid #ffffff1a!important;gap:8px!important;padding-top:8px!important}.shift-panel{color:#d7e1ee!important;min-height:64px!important;box-shadow:none!important;background:#0c1c2d!important;border:1px solid #ffffff1c!important;border-radius:8px!important}.shift-panel strong{color:#fff!important;font-size:13px!important;font-weight:600!important}.shift-panel span,.shift-panel small{color:#b7c6d9!important;font-size:11px!important;font-weight:400!important}.nav-footer .nav-collapse-button,.app-shell.nav-collapsed .nav-footer .nav-collapse-button{color:#dbe7f4!important;width:100%!important;height:34px!important;min-height:34px!important;box-shadow:none!important;background:#0b1726!important;border:1px solid #ffffff1f!important;border-radius:8px!important;justify-content:center!important;padding:0!important}.nav-footer .nav-collapse-button:hover,.app-shell.nav-collapsed .nav-footer .nav-collapse-button:hover{color:#fff!important;background:#13273d!important}.app-shell.nav-collapsed .brand-block,.app-shell.nav-collapsed .nav-list,.app-shell.nav-collapsed .nav-footer{align-items:center!important}.app-shell.nav-collapsed .brand-block{border-radius:8px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:1px!important}.app-shell.nav-collapsed .brand-block img{width:38px!important;height:38px!important}.app-shell.nav-collapsed .nav-list button,.app-shell.nav-collapsed .shift-panel,.app-shell.nav-collapsed .nav-footer .nav-collapse-button{width:44px!important}.app-shell.nav-collapsed .nav-list button{justify-content:center!important;height:40px!important;min-height:40px!important;padding:0!important}.app-shell.nav-collapsed .nav-list b{top:3px!important;right:1px!important}.sales-screen{min-width:0;height:100dvh;min-height:0;background:var(--ov-app)!important;gap:8px!important;padding:10px!important;overflow:hidden!important}.topbar{border:1px solid var(--ov-line)!important;background:var(--ov-panel)!important;min-height:54px!important;box-shadow:var(--shadow-card)!important;border-radius:8px!important;gap:10px!important;padding:8px 10px!important}.title-group span,.sale-section-title span,.legacy-report-head span,.legacy-debt-header span,.pd-eyebrow,.sale-panel-head span,.invoice-summary-title span{text-transform:uppercase;color:var(--ov-muted)!important;letter-spacing:.015em!important;font-size:11px!important;font-weight:600!important}.title-group h1,.legacy-report-head h2,.legacy-debt-header h2,.sale-section-title h2,.pd-head h2,.invoice-code-block h2{color:var(--ov-text)!important;letter-spacing:0!important;font-size:20px!important;font-weight:600!important;line-height:1.18!important}.global-search,.branch-switcher,.sync-state,.topbar-actions>button,.account-chip,.sale-product-search,.customer-combobox,.product-combobox,.entry-search,.legacy-search-row input,.legacy-field-grid input,.legacy-action-row input,.legacy-action-row select{border:1px solid var(--ov-line)!important;color:var(--ov-text)!important;box-shadow:none!important;background:#fff!important;border-radius:7px!important}.global-search input,.entry-search input,.product-combobox input,.customer-combobox input,.sale-product-search input,.legacy-search-row input,.legacy-field-grid input,.legacy-action-row input,.legacy-action-row select,.invoice-line-table input,.file-import-table input,.file-import-footer input{color:var(--ov-text)!important;letter-spacing:0!important;font-size:13px!important;font-weight:400!important}.sync-state.api,.sync-state.local{border-color:var(--ov-primary-border)!important;background:var(--ov-primary-soft)!important;color:var(--ov-primary-strong)!important;font-weight:600!important}.sales-board-v4,.production-page,.legacy-report-page,.legacy-debt-page,.report-stack{min-height:0;overflow:hidden!important}.sales-board-v4{grid-template-rows:auto minmax(0,1fr)!important;grid-template-columns:none!important;gap:8px!important}.sale-workgrid-v4{min-height:0;grid-template-columns:314px minmax(0,1fr) 350px!important;align-items:stretch!important;gap:8px!important;display:grid!important}.sale-content,.sale-panel,.sale-command-bar,.invoice-dock,.invoice-main-card,.invoice-sidebar-card,.production-summary,.production-board,.production-rail,.production-detail,.legacy-report-head,.legacy-debt-header,.legacy-report-filter,.legacy-table-wrap,.legacy-debt-panel,.report-card,.data-table-wrap,.invoice-table-shell,.file-import-table-wrap,.file-import-card,.modal-card{border:1px solid var(--ov-line)!important;background:var(--ov-panel)!important;box-shadow:var(--shadow-card)!important;border-radius:8px!important}.sale-command-bar,.legacy-report-head,.legacy-debt-header,.production-summary{padding:12px!important}.sale-panel,.invoice-dock,.invoice-main-card,.invoice-sidebar-card,.legacy-debt-panel,.legacy-table-wrap{overflow:hidden!important}.sale-product-list,.production-rail-list,.legacy-table-wrap,.invoice-table-shell,.file-import-table-wrap{scrollbar-color:#b9c7d8 transparent}.data-table thead th,.legacy-table-wrap th,.invoice-line-table th,.file-import-table th{border-color:var(--ov-line)!important;background:var(--ov-table-head)!important;color:#324158!important;letter-spacing:0!important;text-transform:none!important;height:30px!important;padding:6px 8px!important;font-size:11px!important;font-weight:600!important}.data-table td,.legacy-table-wrap td,.invoice-line-table td,.file-import-table td{background:#fff;min-height:32px!important;color:var(--ov-text)!important;letter-spacing:0!important;border-color:#e3eaf3!important;padding:6px 8px!important;font-size:12px!important;font-weight:400!important}.legacy-table-wrap tbody tr:nth-child(2n) td,.data-table tbody tr:nth-child(2n) td,.invoice-line-table tbody tr:nth-child(2n) td,.file-import-table tbody tr:nth-child(2n) td{background:#f9fbfd!important}.legacy-table-wrap tbody tr:hover td,.legacy-table-wrap tbody tr.selected td,.data-table tbody tr:hover td,.invoice-line-table tbody tr:hover td,.file-import-table tbody tr:hover td{background:#eaf3ff!important}.legacy-table-wrap tbody tr.selected td{box-shadow:inset 3px 0 0 var(--ov-primary)!important}.legacy-table-wrap td strong,.legacy-table-wrap td b,.data-table td strong,.data-table td b,.invoice-line-table td strong,.invoice-line-table td b,.file-import-table td strong,.file-import-table td b,.sale-product-row strong,.pr-body strong,.stage-card strong,.report-card strong{color:var(--ov-text)!important;font-weight:500!important}.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b,.sale-product-price,.amount-credit,.legacy-report-metrics strong,.legacy-totals strong,.settlement-result .due strong,.settlement-breakdown .due strong{color:var(--ov-primary-strong)!important;font-weight:600!important}.primary-command,.pay-primary,.legacy-search-row button,.legacy-action-row button:not(.danger-command),.legacy-debt-actions button,.pd-actions .primary-command,.file-import-footer .primary-command{border:1px solid var(--ov-primary)!important;background:var(--ov-primary)!important;color:#fff!important;min-height:34px!important;box-shadow:none!important;border-radius:7px!important;font-size:13px!important;font-weight:600!important}.primary-command:hover,.pay-primary:hover,.legacy-search-row button:hover,.legacy-action-row button:not(.danger-command):hover,.legacy-debt-actions button:hover,.pd-actions .primary-command:hover,.file-import-footer .primary-command:hover{border-color:var(--ov-primary-strong)!important;background:var(--ov-primary-strong)!important;transform:none!important}.text-command,.ghost-command,.sale-panel-head button,.invoice-head-actions button,.sale-rail-actions button,.settlement-actions button:not(.pay-primary),.file-import-tools button,.file-picker-command,.mode-group button,.payment-methods button,.sale-category-tabs button,.category-tabs button,.invoice-priority button,.unit-toggle button,.legacy-action-row .danger-command,.pd-actions .ghost-command{border:1px solid var(--ov-line)!important;color:#334155!important;min-height:32px!important;box-shadow:none!important;background:#fff!important;border-radius:7px!important;font-size:12px!important;font-weight:500!important}.text-command:hover,.ghost-command:hover,.sale-panel-head button:hover,.invoice-head-actions button:hover,.sale-rail-actions button:hover,.settlement-actions button:not(.pay-primary):hover,.file-import-tools button:hover,.file-picker-command:hover,.mode-group button:hover,.payment-methods button:hover,.sale-category-tabs button:hover,.category-tabs button:hover,.invoice-priority button:hover,.unit-toggle button:hover{border-color:var(--ov-primary-border)!important;background:var(--ov-primary-soft)!important;color:var(--ov-primary-strong)!important}.mode-group button.selected,.payment-methods button.selected,.category-tabs button.selected,.category-tabs button.active,.sale-category-tabs button.selected,.sale-category-tabs button.active,.invoice-priority button.selected,.unit-toggle button.selected{border-color:var(--ov-primary)!important;background:var(--ov-primary)!important;color:#fff!important}.danger-command,.danger-icon,.invoice-row-delete,.file-import-row-delete,.file-import-delete{color:var(--ov-danger)!important}.legacy-action-row .danger-command,.pd-actions .ghost-command{color:var(--ov-danger)!important;background:#fff8f8!important;border-color:#e8b9b9!important}.sale-product-row,.product-card,.file-import-file-row button,.production-rail-item{border:1px solid var(--ov-line)!important;box-shadow:none!important;background:#fff!important;border-radius:7px!important}.sale-product-row:hover,.product-card:hover,.file-import-file-row.selected button:first-child,.production-rail-item:hover{border-color:var(--ov-primary-border)!important;background:#f3f8ff!important}.sale-product-row>i,.sale-product-row:before,.catalog-row:before,.invoice-product-mark{background:var(--ov-primary)!important}.customer-avatar,.sale-customer-snapshot .customer-avatar{background:var(--ov-primary)!important;color:#fff!important}.production-page{gap:8px!important}.production-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}.production-page .metric{border:1px solid var(--ov-line)!important;min-height:68px!important;box-shadow:none!important;background:#fff!important;border-radius:8px!important}.production-board{grid-template-columns:306px minmax(0,1fr)!important;gap:8px!important}.production-rail,.production-detail{border-color:var(--ov-line)!important}.production-rail-head{border-bottom:1px solid var(--ov-line)!important;background:#f8fbfe!important;min-height:42px!important;padding:9px 12px!important}.production-rail-head svg,.production-rail-head span{color:var(--ov-primary-strong)!important}.production-rail-head b{border:1px solid var(--ov-primary-border)!important;background:var(--ov-primary-soft)!important;color:var(--ov-primary-strong)!important;font-weight:600!important}.production-rail-list{gap:6px!important;padding:8px!important}.production-rail-item{grid-template-columns:64px minmax(0,1fr)!important;min-height:86px!important;padding:8px!important}.production-rail-item.active{border-color:var(--ov-primary)!important;background:var(--ov-primary-soft)!important;box-shadow:inset 3px 0 0 var(--ov-primary)!important}.pr-thumb,.pd-preview{border:1px solid var(--ov-line)!important;color:#40506a!important;background:#f2f6fb!important;border-radius:7px!important;font-weight:600!important}.pr-code,.pd-eyebrow{color:var(--ov-primary-strong)!important;font-weight:600!important}.pr-due,.pr-body small,.pd-meta span,.pd-file-strip span,.pd-file-strip small{color:var(--ov-muted)!important;font-weight:400!important}.pr-due.overdue{color:var(--ov-danger)!important;font-weight:600!important}.production-state{border:1px solid var(--ov-line)!important;color:#40506a!important;background:#f2f6fb!important;border-radius:999px!important;font-size:11px!important;font-weight:500!important}.production-state.ready,.production-state.designing,.production-state.printing,.production-state.finishing,.production-state.completed{border-color:var(--ov-primary-border)!important;background:var(--ov-primary-soft)!important;color:var(--ov-primary-strong)!important}.production-state.waiting_file,.production-state.on_hold{color:var(--ov-warning)!important;background:#fff8e8!important;border-color:#efd2a6!important}.production-detail{grid-template-rows:auto minmax(0,1fr) auto!important;display:grid!important}.pd-head{border-bottom:1px solid var(--ov-line)!important;min-height:118px!important;padding:16px 18px!important}.pd-file-strip{border:1px solid var(--ov-line)!important;background:var(--ov-panel-subtle)!important;border-radius:7px!important}.production-detail .stepper{background:#fff!important;align-content:center!important;align-items:start!important;min-height:0!important;padding:42px 32px 26px!important}.production-detail .stepper-node:before,.production-detail .stepper-node:after{background:#dce5ef!important;height:3px!important;top:20px!important}.production-detail .stepper-node.done:before,.production-detail .stepper-node.done:after,.production-detail .stepper-node.current:before{background:var(--ov-primary)!important}.production-detail .stepper-dot{color:#64748b!important;width:42px!important;height:42px!important;box-shadow:none!important;background:#fff!important;border:2px solid #cbd8e7!important;font-size:14px!important;font-weight:600!important}.production-detail .stepper-node.done .stepper-dot{border-color:var(--ov-primary)!important;background:var(--ov-primary)!important;color:#fff!important}.production-detail .stepper-node.current .stepper-dot{border-color:var(--ov-primary)!important;color:var(--ov-primary)!important;box-shadow:0 0 0 5px var(--ov-ring)!important;background:#fff!important}.production-detail .stepper-label{color:#40506a!important;min-height:34px!important;font-size:12px!important;font-weight:500!important;line-height:1.25!important}.production-detail .stepper-node.current .stepper-label,.production-detail .stepper-node.done .stepper-label{color:var(--ov-primary-strong)!important;font-weight:600!important}.stage-card{border:1px solid var(--ov-line)!important;width:142px!important;min-height:118px!important;box-shadow:none!important;background:#fff!important;border-radius:8px!important;padding:12px 10px!important;transform:none!important}.production-detail .stepper-node.done .stage-card,.production-detail .stepper-node.current .stage-card{border-color:var(--ov-primary-border)!important;background:var(--ov-primary-soft)!important}.production-detail .stepper-node.todo .stage-card{opacity:1!important;background:#fff!important}.stage-avatar{width:42px!important;height:42px!important;color:var(--ov-primary-strong)!important;box-shadow:none!important;background:#dbeafe!important;border-radius:999px!important;font-size:13px!important;font-weight:600!important}.production-detail .stepper-node.todo .stage-avatar{color:#94a3b8!important;background:#eef2f7!important}.stage-card small{color:#7b8ba0!important;letter-spacing:.02em!important;font-size:10px!important;font-weight:500!important}.stage-time{color:var(--ov-muted)!important;font-size:11px!important;font-weight:500!important}.pd-actions{border-top:1px solid var(--ov-line)!important;background:#fff!important;min-height:64px!important;padding:10px 18px!important}.legacy-report-page,.legacy-debt-page{gap:8px!important}.legacy-report-metrics>div,.legacy-debt-actions .legacy-totals,.report-card{border:1px solid var(--ov-line)!important;box-shadow:none!important;background:#fff!important;border-radius:8px!important}.legacy-report-filter,.legacy-search-row,.legacy-action-row,.legacy-debt-grid{gap:8px!important}.legacy-debt-panel h3,.report-filter label,.legacy-report-filter label,.legacy-action-row label,.legacy-search-row label{text-transform:uppercase;color:#43536a!important;letter-spacing:.01em!important;font-size:11px!important;font-weight:600!important}.file-import-popover{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#07111f8f!important}.file-import-card{max-width:min(1180px,100vw - 96px)!important;max-height:calc(100dvh - 92px)!important}.file-import-toolbar{border-color:var(--ov-line)!important;background:var(--ov-panel-subtle)!important;border-radius:7px!important}.file-import-delete,.file-import-row-delete,.invoice-row-delete{color:var(--ov-danger)!important;background:#fff8f8!important;border:1px solid #e8b9b9!important;border-radius:6px!important}.product-suggestion-menu,.customer-suggestion-menu{border:1px solid var(--ov-line)!important;box-shadow:var(--shadow-pop)!important;background:#fff!important;border-radius:8px!important}.product-suggestion-menu button,.customer-suggestion-menu button{color:var(--ov-text)!important;font-size:13px!important;font-weight:400!important}.product-suggestion-menu button:hover,.customer-suggestion-menu button:hover,.customer-suggestion-menu button.selected{background:var(--ov-primary-soft)!important;color:var(--ov-primary-strong)!important}@media (width<=1480px) and (width>=1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)!important}.app-shell.nav-collapsed{grid-template-columns:64px minmax(0,1fr)!important}.sales-board-v4{grid-template-rows:auto minmax(0,1fr)!important;grid-template-columns:none!important}.sale-workgrid-v4{grid-template-columns:286px minmax(0,1fr) 326px!important}.production-board{grid-template-columns:286px minmax(0,1fr)!important}.stage-card{width:128px!important}}@media (width<=980px){html,body,#root{overflow:auto!important}.app-shell,.app-shell.nav-collapsed,.sales-screen{height:auto;max-height:none;overflow:visible!important}.sales-board-v4,.production-board,.legacy-debt-grid{grid-template-columns:1fr!important}}html,body,#root{height:100%;background:#eef3f8!important}body{color:var(--ov-text)!important;letter-spacing:0!important;font-family:Inter,Segoe UI,Arial,sans-serif!important;font-size:13px!important}button,input,select,textarea,table{font:inherit!important;letter-spacing:0!important}.app-shell{height:100dvh!important;overflow:hidden!important}.sales-screen{min-width:0!important;overflow:hidden!important}.sales-screen>:not(.topbar){min-height:0!important}.brand-block{background:#ffffff0a!important;border-color:#ffffff14!important;margin-bottom:10px!important}.brand-block strong,.title-group h1,.module-head h2,.legacy-report-head h2,.dashboard-hero h2{font-weight:600!important}.nav-list{gap:4px!important;padding:0 8px!important}.nav-group{border-top:1px solid #ffffff12;gap:3px;padding:10px 0 8px;display:grid}.nav-group-label{color:#e2e8f07a;text-transform:uppercase;padding:4px 12px 5px;font-size:10px;font-weight:500;line-height:1;display:block}.nav-list button{color:#e2e8f0b8!important;border:1px solid #0000!important;border-radius:8px!important;height:36px!important;font-size:13px!important;font-weight:500!important}.nav-list button:hover{color:#fff!important;background:#ffffff0e!important}.nav-list button.active{color:#dffcf7!important;box-shadow:none!important;background:#2563eb21!important;border-color:#2563eb47!important}.nav-list b{color:#042f2b!important;background:#2563eb!important;border-radius:999px!important;min-width:20px!important;height:20px!important;padding:0 6px!important;font-size:11px!important;font-weight:600!important}.nav-footer{gap:8px!important;padding:10px 12px 12px!important}.nav-footer .nav-collapse-button,.app-shell.nav-collapsed .nav-footer .nav-collapse-button{color:#dbe7f3!important;width:100%!important;height:36px!important;min-height:36px!important;box-shadow:none!important;background:#0f172a9e!important;border:1px solid #ffffff14!important;border-radius:10px!important}.nav-footer .nav-collapse-button:hover{color:#fff!important;background:#1e293beb!important}.app-shell.nav-collapsed .nav-group{border-top:0!important;padding:3px 0!important}.app-shell.nav-collapsed .nav-group-label{display:none!important}.app-shell.nav-collapsed .nav-list{padding:0 8px!important}.topbar{box-shadow:none!important;background:#fffffff0!important;border-color:#d9e2ec!important;gap:12px!important}.global-search input,.branch-switcher select,.legacy-report-actions input,.legacy-report-actions select{font-weight:400!important}.server-status-chip{color:#5a6b7d;cursor:default;white-space:nowrap;background:#f8fbfd;border:1px solid #dbe5ef;border-radius:8px;align-items:center;gap:7px;height:34px;padding:0 10px;font-size:12px;font-weight:500;display:inline-flex}.server-status-chip i{background:#94a3b8;border-radius:999px;width:8px;height:8px}.server-status-chip.online i{background:#16a34a;box-shadow:0 0 0 3px #16a34a1f}.server-status-chip.offline i{background:#dc2626;box-shadow:0 0 0 3px #dc26261c}.server-status-chip.checking i{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b21}.module-panel,.legacy-report-head,.legacy-report-filter,.settings-grid>section{box-shadow:none!important;background:#fff!important;border:1px solid #d9e2ec!important;border-radius:8px!important}.module-head{min-height:48px!important}.module-head>div>span,.legacy-report-head>div>span,.title-group span{color:#66758a!important;letter-spacing:.02em!important;font-size:11px!important;font-weight:600!important}.data-table-wrap,.legacy-table-wrap{background:#fff!important;border-color:#d9e2ec!important;border-radius:8px!important}.data-table thead th,.legacy-table-wrap th{color:#40506a!important;background:#f4f7fa!important;height:34px!important;font-size:11px!important;font-weight:600!important}.data-table td,.legacy-table-wrap td{color:#0f172a!important;vertical-align:middle!important;height:42px!important;font-size:12px!important;font-weight:400!important}.data-table td strong,.legacy-table-wrap td strong{font-weight:600!important}.data-table tbody tr:nth-child(2n) td,.legacy-table-wrap tbody tr:nth-child(2n) td{background:#fbfcfe!important}.data-table tbody tr:hover td,.legacy-table-wrap tbody tr:hover td{background:#eef8f6!important}.data-table-empty td{color:#7a889b!important;text-align:center!important;height:140px!important;font-style:normal!important}.status-dot-badge,.branch-scope-badges span,.report-status{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;min-height:24px;padding:0 8px;font-size:11px;font-weight:500;display:inline-flex}.status-dot-badge i{background:currentColor;border-radius:999px;width:7px;height:7px}.status-dot-badge.online{color:#047857;background:#eef4ff}.status-dot-badge.offline{color:#b91c1c;background:#fef2f2}.branch-scope-badges{flex-wrap:wrap;gap:5px;display:flex}.branch-scope-badges span{color:#45566c;background:#f8fbfd;border:1px solid #dbe7f3}.branch-access-box{background:#f8fbfd;border:1px solid #d9e2ec;border-radius:8px;gap:12px;padding:12px;display:grid}.branch-access-box>div:first-child{gap:3px;display:grid}.branch-access-box>div:first-child span{color:#0f172a;font-size:13px;font-weight:600}.branch-access-box>div:first-child small{color:#66758a;font-size:12px}.branch-access-options{flex-wrap:wrap;gap:10px;display:flex}.branch-access-options label{color:#233247;background:#fff;border:1px solid #d9e2ec;border-radius:8px;align-items:center;gap:8px;min-height:34px;padding:0 10px;font-weight:500;display:inline-flex}.branch-access-chip{color:#233247;background:#fff;border:1px solid #d9e2ec;border-radius:8px;align-items:center;min-height:30px;padding:0 10px;font-size:12px;font-weight:500;display:inline-flex}.permission-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.permission-chip{color:#233247;background:#fff;border:1px solid #d9e2ec;border-radius:8px;align-items:center;gap:8px;min-height:34px;padding:0 10px;font-size:12px;font-weight:500;display:inline-flex}.permission-chip input{accent-color:#176bff;width:14px;height:14px;margin:0}.legacy-report-head{grid-template-columns:minmax(220px,.9fr) minmax(360px,1.4fr) auto!important;align-items:center!important;gap:12px!important;display:grid!important}.legacy-report-actions{justify-content:flex-end;align-items:end;gap:8px;display:flex}.legacy-report-toolbar{background:#f7f9fc;border:1px solid #e1e8f1;border-radius:9px;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 10px;padding:10px 12px;display:flex}.legacy-report-toolbar>label{color:#66758a;gap:4px;font-size:11px;font-weight:600;display:grid}.legacy-report-toolbar select{color:#0f172a;background:#fff;border:1px solid #d3dfeb;border-radius:7px;min-width:140px;height:34px;padding:0 8px;font-size:12px}.legacy-report-toolbar .report-toggle-path{align-items:center;gap:6px;height:34px;margin-left:auto;font-weight:600;display:inline-flex}.legacy-report-toolbar .report-toggle-path input{width:15px;height:15px}.legacy-report-toolbar label input[type=date],.legacy-report-toolbar label input:not([type]){color:#0f172a;background:#fff;border:1px solid #d3dfeb;border-radius:7px;min-width:150px;height:34px;padding:0 8px;font-size:12px}.legacy-report-toolbar .audit-reset{align-self:center;margin-left:auto}.audit-action-chip{color:#3949ab;background:#eef2ff;border-radius:999px;align-items:center;padding:2px 9px;font-size:12px;font-weight:600;display:inline-flex}.audit-error{color:#b42318;background:#fdf0f0;border:1px solid #f3c6c6;border-radius:8px;margin:0 0 10px;padding:9px 12px;font-size:13px}.zalo-settings-panel code{color:#334155;background:#eef2f7;border-radius:5px;padding:1px 5px;font-size:12px}.zalo-test-form{align-items:end;gap:10px;margin-top:10px;display:flex}.zalo-test-fields{flex:1;grid-template-columns:minmax(140px,.8fr) minmax(0,1.6fr);gap:10px;display:grid}.zalo-test-fields label{color:#66758a;gap:4px;font-size:11px;font-weight:600;display:grid}.zalo-test-fields input{color:#0f172a;background:#fff;border:1px solid #d3dfeb;border-radius:7px;height:36px;padding:0 10px;font-size:13px}.zalo-test-fields input:focus{border-color:#0f8f7d;outline:0;box-shadow:0 0 0 3px #0f8f7d1f}.zalo-test-result{border-radius:8px;margin-top:10px;padding:9px 12px;font-size:13px;font-weight:600}.zalo-test-result.ok{color:#11704a;background:#effdf3;border:1px solid #bfe6cf}.zalo-test-result.fail{color:#b42318;background:#fdf0f0;border:1px solid #f3c6c6}.pd-files{margin:12px 0 4px}.pd-files-head,.form-section-head{color:#475467;text-transform:uppercase;letter-spacing:.02em;align-items:center;gap:7px;margin-bottom:8px;font-size:12px;font-weight:700;display:flex}.pd-files-head b,.form-section-head b{color:#0f766e;background:#e9f7f4;border-radius:999px;place-items:center;min-width:22px;height:20px;margin-left:auto;padding:0 7px;font-size:12px;display:inline-grid}.pd-file-warn{color:#b42318!important}.file-preview-empty{color:#667085;text-align:center;background:#f8fafc;border:1px dashed #cdd9e6;border-radius:9px;padding:14px;font-size:13px}.file-preview-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.file-preview-card{background:#fff;border:1px solid #e1e8f1;border-radius:10px;flex-direction:column;gap:8px;padding:10px;display:flex}.file-preview-card.missing{background:#fff7f7;border-color:#f3c6c6}.fp-thumb{color:#64748b;background:#f1f5f9;border-radius:8px;place-items:center;height:74px;display:grid;position:relative}.fp-thumb.kind-image{color:#2563eb;background:#eef6ff}.fp-thumb.kind-pdf{color:#c0392b;background:#fdeeee}.fp-thumb.kind-vector{color:#7c3aed;background:#f3eefe}.fp-thumb.kind-office{color:#1f9d57;background:#eafaf1}.fp-ext{color:#fff;letter-spacing:.03em;background:#0f172ab8;border-radius:5px;padding:1px 6px;font-size:10px;font-weight:700;position:absolute;bottom:6px;right:6px}.fp-meta{gap:3px;min-width:0;display:grid}.fp-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:650;overflow:hidden}.fp-meta small{color:#94a3b8;font-size:11px}.fp-state{align-items:center;gap:4px;font-size:11px;font-weight:600;display:inline-flex}.fp-state.ok{color:#0f766e}.fp-state.missing{color:#b42318}.fp-path-toggle{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #d6e0ea;border-radius:6px;margin:0 0 8px;padding:3px 9px;font-size:12px;font-weight:600}.fp-path-toggle:hover{background:#eef4ff}.fp-path{color:#475467;word-break:break-all;background:#f1f5f9;border-radius:5px;grid-column:1/-1;margin-top:2px;padding:3px 6px;font-size:10.5px}.legacy-report-actions label{color:#66758a;gap:4px;font-size:11px;font-weight:600;display:grid}.legacy-report-actions input,.legacy-report-actions select{color:#0f172a;background:#fff;border:1px solid #d3dfeb;border-radius:7px;min-width:130px;height:34px;font-size:12px}.legacy-report-actions button,.report-row-actions button{color:#23415f;background:#fff;border:1px solid #bfd0e2;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:34px;font-size:12px;font-weight:600;display:inline-flex}.legacy-report-actions button:hover,.report-row-actions button:hover{color:#2563eb;border-color:#2563eb}.report-status.issued{color:#047857;background:#eef4ff}.report-status.cancelled{color:#b91c1c;background:#fef2f2}.report-order-table tr.sub-row td{color:#45566c!important}.report-order-table tr.sub-row .report-product-cell{padding-left:18px!important}.report-row-actions{text-align:right!important}.report-row-actions button{height:28px;padding:0 9px}.report-order-table th:nth-child(15),.report-order-table td:nth-child(15){width:6.5%!important}.settings-branch-list{gap:8px;display:grid}.settings-branch-row{background:#fbfcfe;border:1px solid #d9e2ec;border-radius:8px;grid-template-columns:minmax(0,1fr) auto 34px;align-items:center;gap:10px;min-height:52px;padding:8px 10px;display:grid}.settings-branch-row div{gap:3px;display:grid}.settings-branch-row strong{font-size:13px;font-weight:600}.settings-branch-row span{color:#66758a;font-size:12px}.settings-branch-row>button{color:#506177;background:#fff;border:1px solid #d3dfeb;border-radius:7px;width:34px;height:34px}.settings-version-panel .info-list strong{font-variant-numeric:tabular-nums}@media (width<=1480px){.legacy-report-head{grid-template-columns:1fr!important}.legacy-report-actions{flex-wrap:wrap;justify-content:flex-start}}:root{--ds-primary:#2563eb;--ds-primary-strong:#1d4ed8;--ds-primary-soft:#e8f0fe;--ds-ink:#16202e;--ds-ink-soft:#586675;--ds-ink-muted:#8b97a6;--ds-line:#e5eaf1;--ds-line-strong:#d6dee8;--ds-bg:#f2f5f9;--ds-card:#fff;--ds-radius:10px}.app-shell{background:var(--ds-bg)!important}.app-nav{background:#11213f!important;border-right:1px solid #ffffff0f!important}.nav-list button{color:#a6b4ca!important}.nav-list button:hover{color:#fff!important;background:#ffffff14!important;transform:none!important}.nav-list button.active{color:#fff!important;box-shadow:none!important;background:#2563eb33!important}.nav-list button.active:before{background:#3b82f6!important}.nav-group-label{color:#ffffff6b!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-size:10.5px!important;font-weight:700!important}.primary-command,.pay-primary,.module-head>button.primary-command,.dashboard-hero-actions .primary-command{background:var(--ds-primary)!important;box-shadow:none!important;background-image:none!important;border:1px solid #0000!important;border-radius:8px!important}.primary-command:hover:not(:disabled),.pay-primary:hover:not(:disabled){background:var(--ds-primary-strong)!important;filter:none!important;transform:none!important;box-shadow:0 2px 6px #2563eb40!important}.pay-primary{border-radius:10px!important}.topbar{background:var(--ds-card)!important;border:1px solid var(--ds-line)!important;box-shadow:0 1px 2px #1018280a!important}.module-panel,.dashboard-panel,.dashboard-card,.metric,.report-card,.data-table-wrap,.settings-grid>section,.detail-modal{background:var(--ds-card);border:1px solid var(--ds-line)!important;border-radius:var(--ds-radius)!important;box-shadow:0 1px 2px #1018280a!important}.report-cards .report-card:first-child{background:var(--ds-primary)!important;border-color:#0000!important}.data-table thead th{height:40px!important;color:var(--ds-ink-muted)!important;letter-spacing:.04em!important;text-transform:uppercase!important;border-bottom:1px solid var(--ds-line)!important;background:#f7f9fc!important;font-size:11px!important;font-weight:700!important}.data-table td{min-height:48px!important;color:var(--ds-ink)!important;border-bottom:1px solid #f0f3f7!important;padding:11px 12px!important;font-size:13px!important}.data-table tbody tr:hover{background:#f6fafb!important}.data-table td small{color:var(--ds-ink-muted)!important}.module-panel input,.module-panel select,.form-field input,.form-field select,.form-field textarea,.global-search input{border-radius:8px}.branch-chip,.role-badge,.branch-scope-badges span{border-radius:6px!important;padding:2px 8px!important;font-size:11px!important;font-weight:500!important}.status-dot-badge{align-items:center;gap:6px;font-size:12px;font-weight:500;display:inline-flex}.status-dot-badge i{border-radius:50%;width:7px;height:7px;display:inline-block}.status-dot-badge.online i{background:#16a34a;box-shadow:0 0 0 3px #16a34a1f}.status-dot-badge.online{color:#15803d}.status-dot-badge.offline i{background:#dc2626;box-shadow:0 0 0 3px #dc26261c}.status-dot-badge.offline{color:#b91c1c}.data-table td strong,.metric strong,.metric .metric-value,.report-card strong,.payment-mix-list b,.dashboard-invoice-row strong,.dashboard-customer-list strong,.money,.form-summary strong{font-variant-numeric:tabular-nums}.module-head>div>span,.dashboard-panel-head>div>span{letter-spacing:.06em;text-transform:uppercase;color:var(--ds-ink-muted);font-size:11px;font-weight:700}.module-head h2{color:var(--ds-ink);font-size:18px;font-weight:600}.dashboard-page{flex-direction:column;gap:14px;min-width:0;display:flex}.dashboard-hero{background:var(--ds-card);border:1px solid var(--ds-line);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex;box-shadow:0 1px 2px #1018280a}.dashboard-hero>div:first-child{gap:5px;min-width:0;display:grid}.dashboard-hero>div:first-child>span{letter-spacing:.07em;text-transform:uppercase;color:var(--ds-ink-muted);font-size:11px;font-weight:700}.dashboard-hero h2{color:var(--ds-ink);margin:0;font-size:18px;font-weight:600}.dashboard-hero p{color:var(--ds-ink-soft);margin:0;font-size:13px}.dashboard-hero-actions{flex-wrap:wrap;gap:8px;display:flex}.dashboard-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.dashboard-kpi-grid .metric{grid-auto-rows:min-content;justify-items:start;min-height:104px;background:var(--ds-card)!important;border:1px solid var(--ds-line)!important;border-radius:12px!important;grid-template-columns:1fr!important;align-items:start!important;gap:8px!important;padding:15px 16px!important;box-shadow:0 1px 2px #1018280a!important}.dashboard-kpi-grid .metric svg{box-sizing:border-box;background:var(--ds-primary-soft);border-radius:9px;padding:8px;width:34px!important;height:34px!important;color:var(--ds-primary)!important}.dashboard-kpi-grid .metric span{letter-spacing:.03em;text-transform:uppercase;color:var(--ds-ink-muted);white-space:normal;font-size:11px;font-weight:600}.dashboard-kpi-grid .metric strong{color:var(--ds-ink);font-variant-numeric:tabular-nums;white-space:normal;font-size:22px;font-weight:700;text-align:left!important}.dashboard-workspace{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}.dashboard-col-main,.dashboard-col-side{flex-direction:column;gap:14px;min-width:0;display:flex}.dashboard-panel{background:var(--ds-card);border:1px solid var(--ds-line);border-radius:12px;flex-direction:column;gap:12px;min-width:0;padding:16px;display:flex;box-shadow:0 1px 2px #1018280a}.dashboard-panel-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.dashboard-panel-head>div{gap:2px;min-width:0;display:grid}.dashboard-panel-head>div>span{letter-spacing:.05em;text-transform:uppercase;color:var(--ds-ink-muted);font-size:11px;font-weight:700}.dashboard-panel-head h3{color:var(--ds-ink);margin:0;font-size:15px;font-weight:600}.dashboard-panel-head>button{color:var(--ds-primary);cursor:pointer;background:0 0;border:none;border-radius:7px;flex:none;padding:5px 9px;font-size:12px;font-weight:600}.dashboard-panel-head>button:hover{background:var(--ds-primary-soft)}.dashboard-invoice-list{flex-direction:column;display:flex}.dashboard-invoice-row{text-align:left;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #f0f3f7;grid-template-columns:62px minmax(0,1.5fr) 88px auto 86px;align-items:center;gap:10px;width:100%;padding:9px 8px;display:grid}.dashboard-invoice-row:last-child{border-bottom:none}.dashboard-invoice-row:hover{background:#f6fafb}.dashboard-invoice-row b{color:var(--ds-primary);font-variant-numeric:tabular-nums;font-size:13px;font-weight:700}.dashboard-invoice-row>span{min-width:0;color:var(--ds-ink);text-overflow:ellipsis;white-space:nowrap;gap:1px;font-size:13px;display:grid;overflow:hidden}.dashboard-invoice-row>span small{color:var(--ds-ink-muted);font-size:11px}.dashboard-invoice-row i{color:var(--ds-ink-soft);font-size:11px;font-style:normal}.dashboard-invoice-row strong{text-align:right;font-variant-numeric:tabular-nums;color:var(--ds-ink);font-weight:700}.dashboard-invoice-row em{text-align:right;color:var(--ds-ink-muted);font-size:11px;font-style:normal}.dashboard-progress-card{gap:8px;display:grid}.dashboard-progress-card>div{justify-content:space-between;align-items:baseline;display:flex}.dashboard-progress-card>div span{color:var(--ds-ink-soft);font-size:13px}.dashboard-progress-card>div strong{color:var(--ds-primary);font-variant-numeric:tabular-nums;font-size:24px;font-weight:700}.dashboard-progress-card>i{background:#eef2f7;border-radius:99px;height:8px;display:block;overflow:hidden}.dashboard-progress-card>i b{background:var(--ds-primary);border-radius:99px;height:100%;display:block}.dashboard-progress-card small{color:var(--ds-ink-muted);font-size:12px}.dashboard-mini-list{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.dashboard-mini-list>div{border:1px solid var(--ds-line);text-align:center;background:#fbfcfe;border-radius:9px;gap:4px;padding:10px 8px;display:grid}.dashboard-mini-list span{color:var(--ds-ink-muted);font-size:11px}.dashboard-mini-list strong{color:var(--ds-ink);font-variant-numeric:tabular-nums;font-size:18px;font-weight:700}.payment-mix-list{flex-direction:column;gap:7px;display:flex}.payment-mix-list>div{border:1px solid var(--ds-line);background:#fbfcfe;border-radius:9px;grid-template-columns:1fr auto minmax(96px,auto);align-items:center;gap:10px;padding:9px 11px;display:grid}.payment-mix-list span{color:var(--ds-ink);font-size:13px}.payment-mix-list strong{color:var(--ds-ink-muted);font-size:11px;font-weight:600}.payment-mix-list b{text-align:right;font-variant-numeric:tabular-nums;color:var(--ds-ink);font-weight:700}.dashboard-customer-list{flex-direction:column;display:flex}.dashboard-customer-list>div{border-bottom:1px solid #f0f3f7;grid-template-columns:minmax(0,1.5fr) auto minmax(110px,auto);align-items:center;gap:10px;padding:10px 8px;display:grid}.dashboard-customer-list>div:last-child{border-bottom:none}.dashboard-customer-list span{min-width:0;color:var(--ds-ink);text-overflow:ellipsis;white-space:nowrap;gap:1px;font-size:13px;display:grid;overflow:hidden}.dashboard-customer-list span small{color:var(--ds-ink-muted);font-size:11px}.dashboard-customer-list i{color:var(--ds-ink-soft);font-size:11px;font-style:normal}.dashboard-customer-list strong{text-align:right;color:#b91c1c;font-variant-numeric:tabular-nums;font-weight:700}.dashboard-empty{text-align:center;color:var(--ds-ink-muted);padding:26px 12px;font-size:13px}@media (width<=1180px){.dashboard-workspace{grid-template-columns:1fr}.dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-invoice-row{grid-template-columns:54px minmax(0,1fr) auto}.dashboard-invoice-row i,.dashboard-invoice-row em{display:none}}.sales-screen>.module-panel{grid-template-rows:auto minmax(0,1fr);align-content:stretch;height:100%;min-height:0;overflow:hidden}.sales-screen>.module-panel>.data-table-wrap{height:100%;min-height:0}.sales-screen>.report-stack{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto!important}.sales-screen>.dashboard-page{height:100%;min-height:0;overflow:hidden auto}.sales-screen>.production-page{grid-template-rows:auto minmax(0,1fr);gap:10px;height:100%;display:grid;overflow:hidden;min-height:0!important}.sales-screen>.production-page>.production-board{height:100%;min-height:0}.sales-screen>.production-page .production-rail-list{min-height:0;overflow:auto;max-height:none!important}.sales-screen>.production-page .production-detail{min-height:0;overflow:auto}.eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--ds-ink-muted);margin:0 0 2px;font-size:11px;font-weight:700}.sales-screen>.production-page .production-detail{grid-template-rows:auto minmax(0,1fr) auto!important}.sales-screen>.production-page .production-detail .stepper{overflow:auto;align-content:start!important;align-items:start!important;padding:28px 20px 24px!important}.sales-screen>.production-page .production-detail .pd-cancelled{align-self:start}.production-rail-item{align-items:start!important;height:auto!important;min-height:0!important;padding:9px!important}.production-rail-item .pr-thumb{text-align:center;line-height:1.15;overflow:hidden;place-items:center!important;display:grid!important}.production-rail-item .pr-body{flex-direction:column;align-items:flex-start;gap:3px;min-width:0;display:flex!important}.production-rail-item .pr-body>strong,.production-rail-item .pr-body>small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.production-rail-item .production-state{white-space:nowrap;align-items:center;width:fit-content;max-width:100%;margin-top:2px;line-height:1.4;display:inline-flex!important}.qr-hint{max-width:300px;font-size:11.5px;line-height:1.4;color:var(--ds-ink-muted)!important;margin:4px 0 0!important}.qr-hint.warn{color:#b45309!important}.production-rail-list{flex-direction:column!important;display:flex!important;overflow:hidden auto!important}.production-rail-item{flex:none!important;grid-template-columns:56px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;height:auto!important;min-height:0!important;padding:8px 10px!important;display:grid!important;overflow:visible!important}.production-rail-item>.pr-thumb{text-align:center!important;align-self:start!important;place-items:center!important;width:56px!important;height:56px!important;font-size:10px!important;line-height:1.15!important;display:grid!important;overflow:hidden!important}.production-rail-item>.pr-body{flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;gap:2px!important;width:100%!important;min-width:0!important;display:flex!important}.production-rail-item .pr-item-top{justify-content:space-between!important;align-items:baseline!important;gap:8px!important;width:100%!important;display:flex!important}.production-rail-item .pr-due{white-space:nowrap!important;flex:none!important;font-size:10.5px!important}.production-rail-item .pr-body>strong{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;font-size:12.5px!important;line-height:1.3!important;overflow:hidden!important}.production-rail-item .pr-body>small{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;font-size:11px!important;line-height:1.3!important;overflow:hidden!important}.production-rail-item .pr-file-count,.production-rail-item .production-state{white-space:nowrap!important;width:fit-content!important;max-width:100%!important;margin-top:1px!important}.sale-product-more{border-top:1px dashed var(--ov-line,#e1e8f1);color:#6b7787;text-align:center;margin-top:2px;padding:8px 10px;font-size:11.5px}.invoice-table-shell{overflow:auto!important}@media (width<=1440px){.invoice-line-table{min-width:720px}.invoice-line-table th,.invoice-line-table td{padding-left:5px!important;padding-right:5px!important}.invoice-line-table td:nth-child(2) input,.invoice-line-table td:nth-child(3) input,.invoice-line-table td:nth-child(5) input{min-width:54px!important}.invoice-line-table td:nth-child(6) input{min-width:76px!important}.invoice-qty-stepper{grid-template-columns:24px minmax(40px,1fr) 24px!important;gap:3px!important}.invoice-qty-stepper input{min-width:40px!important}.invoice-line-table .invoice-name-combobox{min-width:150px!important}}.settings-branches-panel .data-table th:nth-child(4),.settings-branches-panel .data-table td:nth-child(4){white-space:nowrap;min-width:132px}.settings-branches-panel .data-table th:last-child,.settings-branches-panel .data-table td:last-child{text-align:center;width:84px;min-width:84px}.settings-branches-panel .status-dot-badge{white-space:nowrap}.sales-screen>.settings-grid{scrollbar-gutter:stable;align-content:start!important;min-height:0!important;max-height:calc(100dvh - 74px)!important;padding-right:4px!important;overflow:hidden auto!important}.settings-grid{grid-auto-rows:max-content!important}.settings-grid>section,.zalo-settings-panel{align-self:start!important;min-height:0!important;overflow:visible!important}.zalo-test-form{grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:10px!important;display:grid!important}.zalo-test-form>.zalo-test-fields{grid-column:1/-1}.zalo-test-form>button.text-command{grid-column:1/2;width:fit-content}.zalo-test-form>button.primary-command{grid-column:2/3;min-width:112px}.app-shell input[type=checkbox],.file-import-toolbar input[type=checkbox],.legacy-report-filter input[type=checkbox],.legacy-report-search-row input[type=checkbox],.report-toggle-path input[type=checkbox],.zalo-test-fields input[type=checkbox],.checkbox-field input[type=checkbox]{accent-color:#2563eb;appearance:auto!important;width:14px!important;min-width:14px!important;max-width:14px!important;height:14px!important;min-height:14px!important;max-height:14px!important;box-shadow:none!important;border-radius:2px!important;margin:0!important;padding:0!important;transform:none!important}.checkbox-field,.report-toggle-path{align-items:center!important;gap:7px!important;display:inline-flex!important}.zalo-test-fields label:has(input[type=checkbox]){align-items:center!important;gap:7px!important;display:inline-flex!important}.legacy-report-search-row .report-toggle-path{color:#4b5870!important;text-transform:none!important;white-space:nowrap!important;height:34px!important;margin-left:auto!important;padding:0 6px!important;font-size:12px!important;font-weight:400!important;line-height:1.2!important}.settings-branches-panel .data-table-wrap{overflow-x:hidden!important}.settings-branches-panel .data-table{table-layout:auto!important;width:100%!important;min-width:0!important}.settings-branches-panel .data-table th:last-child,.settings-branches-panel .data-table td:last-child{text-align:left!important;white-space:nowrap!important;width:1%!important;min-width:150px!important}.settings-branches-panel .status-dot-badge{width:fit-content!important;font-weight:500!important}.data-table th,.legacy-table-wrap th,.report-order-table th,.debt-customers-table th,.debt-detail-table th,.invoice-line-table th,.file-import-table th{letter-spacing:.01em!important;font-weight:600!important}.data-table td,.legacy-table-wrap td,.report-order-table td,.debt-customers-table td,.debt-detail-table td,.invoice-line-table td,.file-import-table td{font-weight:400!important}.data-table td strong,.legacy-table-wrap td strong,.info-list strong,.status-line strong,.metric strong,.status-dot-badge,.state-dot,.report-status,.aging-chip,.production-state,.shift-panel strong,.nav-list button>span{font-weight:500!important}.module-toolbar-titles h2,.module-head h2,.title-group h1,.panel-title h2,.invoice-number,.payment-total strong{font-weight:600!important}.nav-group-label,.module-eyebrow,.panel-title span,.data-table th,.legacy-table-wrap th{color:#64748b!important}.primary-command,.text-command,.pay-primary,.toolbar-button,.quick-action{font-weight:500!important}.sales-board-v4,.legacy-debt-page,.legacy-report-page,.report-stack{--surface-bg:#fff;--surface-soft:#f7f9fc;--surface-line:#d9e3ee;--surface-line-soft:#edf2f7;--surface-ink:#172033;--surface-muted:#65738a;--surface-brand:#0f6fd6;--surface-brand-soft:#eaf3ff;--surface-green:#087f73;color:var(--surface-ink)!important}.sales-board-v4{gap:12px!important}.sale-command-bar,.legacy-debt-header,.legacy-report-head,.legacy-report-filter,.legacy-filterbar,.legacy-debt-panel,.sale-product-rail,.sale-invoice-canvas,.sale-settlement-panel,.settings-grid>section,.data-table-wrap,.report-card{border:1px solid var(--surface-line)!important;background:var(--surface-bg)!important;border-radius:8px!important;box-shadow:0 1px 2px #0f172a0a!important}.sale-command-title,.sale-command-bar .customer-picker,.sale-customer-snapshot,.sale-credit-mini,.sale-shift-mini,.sale-creator-mini{border-color:var(--surface-line-soft)!important;background:var(--surface-soft)!important;border-radius:7px!important}.sale-command-title span,.sale-panel-head span,.invoice-canvas-head span,.settlement-head span,.invoice-code-block span,.sale-ops-feed header span,.sale-credit-mini span,.customer-money-stack span,.legacy-debt-header span,.legacy-panel-title,.legacy-report-head span,.data-table th,.invoice-line-table th,.legacy-table-wrap th,.report-order-table th,.debt-customers-table th,.debt-detail-table th{color:var(--surface-muted)!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important}.sale-command-title strong,.sale-panel-head strong,.invoice-canvas-head strong,.legacy-debt-header h2,.legacy-report-head h2,.module-toolbar-titles h2{color:var(--surface-ink)!important;font-size:18px!important;font-weight:600!important;line-height:1.25!important}.sale-command-title strong,.invoice-code-block strong{letter-spacing:0!important;font-size:21px!important}.sale-command-bar{grid-template-columns:180px minmax(320px,1.25fr) minmax(236px,.8fr) minmax(174px,.55fr) minmax(156px,.48fr)!important;gap:10px!important;min-height:88px!important;padding:10px!important}.sale-command-bar .customer-combobox,.sale-product-search,.legacy-search-row input,.legacy-search-row select,.legacy-report-dynamic-control>input,.legacy-report-dynamic-control>select,.legacy-report-search-row input,.legacy-report-search-row select,.invoice-line-table input,.invoice-note-band input,.settlement-paid input,.zalo-test-fields input,.zalo-test-fields textarea{color:var(--surface-ink)!important;box-shadow:none!important;background:#fff!important;border-color:#cfd9e6!important;border-radius:6px!important;font-weight:400!important}.sale-command-bar .customer-combobox:focus-within,.sale-product-search:focus-within,.legacy-search-row input:focus,.legacy-search-row select:focus,.legacy-report-search-row input:focus,.legacy-report-search-row select:focus,.invoice-line-table input:focus,.invoice-note-band input:focus,.settlement-paid input:focus,.zalo-test-fields input:focus,.zalo-test-fields textarea:focus{border-color:var(--surface-brand)!important;box-shadow:0 0 0 3px #0f6fd61f!important}.sale-workgrid-v4{grid-template-columns:minmax(278px,318px) minmax(0,1fr) minmax(318px,352px)!important;gap:12px!important}.sale-product-rail{gap:10px!important;padding:12px!important}.sale-panel-head,.invoice-canvas-head{min-height:42px!important}.sale-rail-actions button,.invoice-head-actions button,.settlement-actions button,.legacy-debt-actions button,.legacy-search-row button,.legacy-report-actions button,.report-row-actions button,.primary-command,.text-command{letter-spacing:0!important;border-radius:6px!important;font-weight:500!important}.sale-rail-actions button,.invoice-head-actions button,.settlement-actions button:not(.pay-primary),.legacy-search-row button,.legacy-report-actions button,.report-row-actions button,.text-command{color:#2f3b52!important;background:#fff!important;border-color:#d6e0eb!important}.sale-rail-actions button:hover,.invoice-head-actions button:hover,.settlement-actions button:not(.pay-primary):hover,.legacy-search-row button:hover,.legacy-report-actions button:hover,.report-row-actions button:hover,.text-command:hover{background:#f5f8fc!important;border-color:#b8c7d8!important}.sale-category-tabs,.payment-methods,.invoice-priority{background:#f4f7fb!important;border-color:#d9e3ee!important;border-radius:7px!important}.sale-category-tabs button,.payment-methods button,.invoice-priority button{color:#40506a!important;border-radius:5px!important;font-weight:500!important}.sale-category-tabs button.selected,.sale-settlement-panel .payment-methods button.selected,.invoice-priority button.selected{background:var(--surface-brand)!important;color:#fff!important}.sale-product-list,.invoice-table-shell,.legacy-table-wrap,.debt-customers-table,.debt-detail-table{border-color:var(--surface-line)!important;background:#fff!important;border-radius:7px!important}.sale-product-row{border-bottom-color:var(--surface-line-soft)!important;background:#fff!important;min-height:56px!important}.sale-product-row:hover,.invoice-line-table tbody tr:hover td,.debt-customers-table tbody tr:hover td,.debt-detail-table tbody tr:hover td,.report-order-table tbody tr:hover td,.data-table tbody tr:hover td{background:#f6fafe!important}.sale-product-row strong,.sale-product-row b,.sale-customer-snapshot strong,.sale-credit-mini strong,.sale-shift-mini strong,.invoice-kpi-strip strong,.sale-ops-feed header strong,.ops-feed-line b,.ops-feed-line strong{font-weight:500!important}.sale-product-row b,.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b,.settlement-breakdown .due strong,.settlement-head strong,.settlement-result strong{color:var(--surface-green)!important}.invoice-meta-line{background:var(--surface-soft)!important;border-bottom-color:var(--surface-line-soft)!important}.invoice-line-table{font-size:12px!important}.invoice-line-table th,.report-order-table th,.debt-customers-table th,.debt-detail-table th,.data-table th{background:#f3f6fa!important;border-bottom-color:#d9e3ee!important;height:36px!important;font-size:11.5px!important}.invoice-line-table td,.report-order-table td,.debt-customers-table td,.debt-detail-table td,.data-table td{color:var(--surface-ink)!important;border-bottom-color:#edf2f7!important;font-weight:400!important}.invoice-line-table input{height:32px!important;font-size:12px!important}.invoice-code-block strong,.settlement-head strong,.settlement-paid input{font-weight:600!important}.settlement-head{background:#f4f8ff!important;border-color:#cfe1f8!important}.settlement-breakdown,.settlement-result,.customer-money-stack,.invoice-kpi-strip div,.sale-ops-feed>div{border-color:var(--surface-line)!important;border-radius:7px!important}.settlement-breakdown span,.settlement-result span,.settlement-paid span{font-weight:500!important}.settlement-actions .pay-primary,.primary-command{border-color:var(--surface-brand)!important;background:var(--surface-brand)!important;color:#fff!important}.settlement-actions .pay-primary:disabled,.primary-command:disabled{color:#fff!important;background:#b9cbe4!important;border-color:#b9cbe4!important}.legacy-debt-page{gap:12px!important}.legacy-debt-header{min-height:74px!important;padding:12px!important}.aging-summary{gap:8px!important}.aging-chip{border-radius:999px!important;padding:5px 10px!important;font-size:11.5px!important;font-weight:500!important}.legacy-debt-grid{gap:12px!important}.legacy-debt-panel{overflow:hidden!important}.legacy-panel-title{border-bottom:1px solid var(--surface-line)!important;background:var(--surface-soft)!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;min-height:40px!important;padding:0 10px!important;font-size:12px!important;display:flex!important}.legacy-panel-title b{background:var(--surface-brand-soft)!important;min-width:22px!important;height:22px!important;color:var(--surface-brand)!important;border-radius:999px!important;place-items:center!important;font-size:12px!important;font-weight:600!important;display:inline-grid!important}.legacy-table-wrap table{border-collapse:separate!important;border-spacing:0!important}.debt-customers-table tr.selected td{box-shadow:inset 3px 0 0 var(--surface-brand)!important;background:#eaf3ff!important}.legacy-filterbar{border-top:1px solid var(--surface-line)!important;background:var(--surface-soft)!important}.legacy-radio-row{color:#4b5b73!important;gap:10px!important;font-size:12px!important;font-weight:400!important}.legacy-radio-row label{align-items:center!important;gap:5px!important;font-weight:400!important;display:inline-flex!important}.legacy-search-row{gap:8px!important}.legacy-debt-actions{border-top:1px solid var(--surface-line)!important;background:#fff!important;gap:10px!important}.legacy-debt-actions .legacy-totals{border-color:var(--surface-line)!important;background:var(--surface-soft)!important;border-radius:7px!important}.customer-workspace{grid-template-columns:370px minmax(0,1fr);gap:10px;min-height:calc(100vh - 122px);display:grid}.customer-editor-panel,.customer-list-panel{min-width:0}.customer-editor-panel{align-content:start;gap:10px;max-height:calc(100vh - 116px);padding-right:2px;display:grid;overflow:auto}.customer-editor-head,.customer-form-grid,.customer-advance-panel,.customer-search-panel{background:#fff;border:1px solid #d8e2ef;border-radius:8px;box-shadow:0 1px 2px #0f172a0a}.customer-editor-head span,.customer-search-panel span,.customer-advance-title{color:#64748b;letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:600;display:block}.customer-editor-head strong{color:#0f172a;margin-top:3px;font-size:18px;font-weight:600;display:block}.customer-form-grid{gap:6px;padding:10px 12px;display:grid}.customer-form-grid label,.customer-advance-grid label{color:#475569;gap:4px;font-size:12px;font-weight:500;display:grid}.customer-form-grid input,.customer-advance-grid input,.customer-search-panel input{color:#0f172a;width:100%;height:32px;font:inherit;background:#fff;border:1px solid #cfdbea;border-radius:5px;font-weight:400}.customer-form-grid input,.customer-advance-grid input{padding:0 9px}.customer-form-grid input[readonly],.customer-advance-grid input[readonly]{background:#f8fafc}.customer-editor-actions,.customer-advance-actions{gap:6px;display:grid}.customer-editor-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-advance-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-editor-actions{z-index:1;background:#edf4f8;padding-block:2px;position:sticky;bottom:0}.customer-editor-actions button,.customer-advance-actions button{border-radius:6px;justify-content:center;min-height:34px;font-size:12px}.customer-advance-panel{gap:9px;padding:12px;display:grid}.customer-advance-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.customer-advance-header strong{color:#075985;font-size:15px;font-weight:600}.customer-advance-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.customer-advance-mode{color:#334155;grid-template-columns:1fr 1fr;align-items:center;gap:8px;font-size:12px;display:grid}.customer-advance-mode label{background:#fbfdff;border:1px solid #d8e2ef;border-radius:6px;align-items:center;gap:6px;min-height:32px;padding:0 9px;display:inline-flex}.customer-advance-mode input{width:14px;height:14px}.customer-advance-list{background:#fbfdff;border:1px solid #d8e2ef;border-radius:6px;min-height:58px;padding:9px;overflow:hidden}.customer-advance-list span{color:#475569;margin-bottom:8px;font-size:12px;display:block}.customer-advance-list b,.customer-advance-list small{font-weight:500}.customer-advance-note{gap:3px;display:grid}.customer-advance-note b{color:#075985;font-size:15px}.customer-search-panel{justify-content:space-between;align-items:end;gap:14px;margin-bottom:10px;padding:12px;display:flex}.customer-search-panel>div:first-child{flex:1;min-width:280px}.customer-search-panel label{margin-top:6px;display:block;position:relative}.customer-search-panel input{padding:0 36px 0 10px}.customer-search-panel svg{color:#2563eb;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.customer-stats-strip{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.customer-stats-strip b{color:#0f4c81;background:#eef6ff;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.customer-list-panel .module-panel{height:calc(100vh - 215px);overflow:hidden}.customer-list-panel .data-table-wrap{height:calc(100% - 58px);overflow:auto}.customer-list-panel tr.selected td{background:#eaf3ff!important}.customer-list-panel td{height:38px}@media (width<=1180px){.customer-workspace{grid-template-columns:1fr}.customer-list-panel .module-panel{height:auto;min-height:520px}}.nav-list button.active,.nav-collapse-button:hover,.shift-panel.is-open{border-color:color-mix(in srgb, var(--tenant-primary,#2563eb) 45%, #dbe7ff)!important}.nav-list button.active{background:color-mix(in srgb, var(--tenant-primary,#2563eb) 20%, #0f172a)!important}.primary-command,.pay-primary,.modal-primary-button,.login-submit,.branch-switcher button.active,.category-tabs button.active,.sales-toolbar .toolbar-button.primary,.settings-form button[type=submit]{background:var(--tenant-primary,#2563eb)!important;border-color:var(--tenant-primary,#2563eb)!important}.theme-color-field{grid-template-columns:44px 1fr;align-items:center;gap:8px;display:grid}.theme-color-field input[type=color]{width:44px;min-width:44px;height:36px;padding:3px}.production-detail .pd-files{background:#f8fbff!important;border:1px solid #d7e4f2!important;border-radius:8px!important;margin:10px 0 16px!important;padding:12px!important}.file-preview-wrap.compact .file-preview-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important}.file-preview-wrap.compact .file-preview-card{grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:86px!important;display:grid!important}.file-preview-wrap.compact .fp-thumb{height:62px!important}.fp-thumb-image{background:#f8fafc!important;border-color:#d8e4f2!important;overflow:hidden!important}.fp-thumb-image img{object-fit:cover!important;width:100%!important;height:100%!important;display:block!important}.file-preview-wrap.compact .fp-meta strong{font-weight:600!important}.pd-related-files{border-top:1px dashed #cbd8e6!important;margin-top:10px!important;padding-top:8px!important}.pd-related-files summary{color:#36506c!important;cursor:pointer!important;width:fit-content!important;margin-bottom:8px!important;font-size:12px!important;font-weight:600!important}.pd-file-strip small{color:#64748b!important;font-size:11px!important;font-weight:500!important}.production-scan-bar{background:#fff;border:1px solid #d7e4f2;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:10px 12px;display:flex}.production-scan-bar span{color:#64748b;text-transform:uppercase;margin-bottom:2px;font-size:11px;font-weight:500;display:block}.production-scan-bar strong{color:#172033;font-size:13px;font-weight:500;display:block}.production-scan-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.production-scan-actions .primary-command,.production-scan-actions .ghost-command{border-radius:7px;min-height:34px;padding:0 12px;font-size:12px}.scan-dialog-backdrop{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.scan-dialog{background:#fff;border:1px solid #d7e4f2;border-radius:10px;gap:12px;width:min(440px,100%);padding:14px;display:grid;box-shadow:0 22px 60px #0f172a47}.scan-dialog header{justify-content:space-between;align-items:center;gap:10px;display:flex}.scan-dialog header span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:500;display:block}.scan-dialog header strong{color:#172033;font-size:16px;font-weight:600;display:block}.scan-dialog header button{color:#334155;cursor:pointer;background:#fff;border:1px solid #d7e4f2;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.scan-camera{color:#fff;background:#0f172a;border:1px solid #d7e4f2;border-radius:10px;place-items:center;min-height:240px;display:grid;position:relative;overflow:hidden}.scan-camera video{object-fit:cover;width:100%;height:100%;min-height:240px}.scan-camera>span{background:#0f172abd;border-radius:7px;place-items:center;min-height:34px;font-size:12px;font-weight:500;display:grid;position:absolute;bottom:12px;left:12px;right:12px}.scan-manual-note{color:#dbeafe;justify-items:center;gap:10px;font-size:13px;display:grid}.scan-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;margin:0;padding:8px 10px;font-size:12px}.scan-manual-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.scan-manual-row input{min-width:0;height:38px;font:inherit;border:1px solid #cbd5e1;border-radius:7px;padding:0 10px}.scan-manual-row button{border-radius:7px;min-height:38px}@media (width<=700px){.production-page{gap:10px!important}.production-scan-bar{flex-direction:column;align-items:stretch}.production-scan-actions,.production-scan-actions .primary-command,.production-scan-actions .ghost-command{width:100%}.production-scan-actions .primary-command,.production-scan-actions .ghost-command{justify-content:center}.production-board{grid-template-columns:1fr!important;gap:10px!important}.production-rail,.production-detail{border-radius:8px!important;min-height:auto!important}.production-rail-list{max-height:38vh!important}.production-rail-item{grid-template-columns:56px minmax(0,1fr)!important;min-height:74px!important}.pd-head,.pd-head-main{grid-template-columns:1fr!important}.pd-preview{min-height:58px!important}.pd-head-actions{justify-content:stretch!important}.pd-head-actions button{flex:1 1 0}.production-detail .stepper{grid-auto-flow:row!important;gap:10px!important;margin:16px 0!important}.production-detail .stepper-node{text-align:left!important;flex-direction:row!important;justify-content:flex-start!important}.production-detail .stepper-node:before,.production-detail .stepper-node:after{display:none!important}.stage-card{flex-direction:row!important;max-width:none!important;padding:10px!important}.pd-actions{flex-direction:column!important;align-items:stretch!important}.pd-actions .primary-command,.pd-actions .ghost-command{justify-content:center!important;width:100%!important}.scan-dialog-backdrop{align-items:end;padding:10px}.scan-dialog{border-radius:12px}.scan-manual-row{grid-template-columns:1fr}}.branch-switcher--locked{cursor:default!important}.branch-switcher--locked strong{color:#0f172a!important;white-space:nowrap!important;font-size:13px!important;font-weight:800!important;line-height:1!important}.boot-panel{gap:16px;padding-bottom:18px}.boot-brand{grid-template-columns:54px minmax(0,1fr) auto;align-items:center}.boot-pill{color:#44546a;white-space:nowrap;background:#f8fbfc;border:1px solid #d3dfeb;border-radius:999px;align-items:center;gap:6px;min-height:30px;padding:0 10px;font-size:11px;font-weight:600;display:inline-flex}.boot-copy-icon{color:#04736e;background:#e5f5f3;border-radius:11px;place-items:center;width:46px;height:46px;display:grid}.boot-footer{justify-content:space-between;align-items:center;gap:12px;padding:0 20px 2px;display:flex}.boot-footer small{color:#667085;font-size:12px;line-height:17px}.boot-footer button{width:auto;min-width:132px;margin:0;padding:0 14px}.legacy-report-page{height:calc(100vh - 82px)!important;min-height:0!important;overflow:hidden!important}.legacy-report-page .legacy-table-wrap.report-order-table{height:100%!important;min-height:0!important;overflow:auto!important}.report-order-table{flex:auto;min-height:0!important}.report-order-table th,.report-order-table td{padding-top:5px!important;padding-bottom:5px!important;font-size:11px!important;line-height:1.18!important}.report-order-table th{height:32px!important}.report-order-table td{height:30px!important}.status-badge,.state-dot,.report-status{letter-spacing:0!important;font-weight:500!important}.state-dot,.report-status{font-size:11px!important}.table-actions{flex-wrap:wrap;align-items:center}.quotation-actions{justify-content:flex-end;gap:6px 8px;min-width:260px}.quotation-actions select{color:#0f172a;min-width:96px;height:30px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:0 8px;font-size:11.5px;font-weight:500}.quotation-actions .text-command{white-space:nowrap!important;justify-content:center!important;align-items:center!important;gap:5px!important;width:auto!important;min-width:70px!important;height:30px!important;min-height:30px!important;padding:0 10px!important;font-size:11.5px!important;display:inline-flex!important}.quotation-actions .text-command:first-of-type{min-width:96px!important}.quote-convert-command{color:#1d4ed8!important;background:#eff6ff!important;border-color:#bfdbfe!important}.report-invoice-row{cursor:pointer}.report-invoice-row.expanded td{background:#eef8f6!important}.report-expand-cell{text-align:center!important}.report-expand-cell button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;place-items:center;width:26px;height:26px;display:inline-grid}.report-detail-row td{white-space:normal!important;background:#f8fbfc!important;height:auto!important;padding:8px!important}.report-detail-panel{background:#fff;border:1px solid #d9e3ee;border-radius:8px;gap:7px;padding:8px;display:grid}.report-detail-title{color:#475569;font-size:12px;font-weight:500}.report-detail-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:920px!important}.report-detail-table th,.report-detail-table td{border:1px solid #e1e8f1!important;height:28px!important;padding:5px 7px!important;font-size:11px!important}.report-detail-table th{color:#64748b!important;background:#f4f7fa!important;font-weight:500!important;position:static!important}.report-order-table table{min-width:1220px!important}.report-order-table th:first-child,.report-order-table td:first-child{width:34px!important}.report-order-table th:nth-child(2),.report-order-table td:nth-child(2){width:7.5%!important}.report-order-table th:nth-child(3),.report-order-table td:nth-child(3){width:6%!important}.report-order-table th:nth-child(4),.report-order-table td:nth-child(4){width:16%!important}.report-order-table th:nth-child(5),.report-order-table td:nth-child(5),.report-order-table th:nth-child(6),.report-order-table td:nth-child(6){width:8%!important}.report-order-table th:nth-child(7),.report-order-table td:nth-child(7){width:4%!important}.report-order-table th:nth-child(8),.report-order-table td:nth-child(8),.report-order-table th:nth-child(9),.report-order-table td:nth-child(9),.report-order-table th:nth-child(10),.report-order-table td:nth-child(10){width:7%!important}.report-order-table th:nth-child(11),.report-order-table td:nth-child(11),.report-order-table th:nth-child(12),.report-order-table td:nth-child(12){width:6.5%!important}.report-order-table th:nth-child(13),.report-order-table td:nth-child(13){width:12%!important}.report-order-table th:nth-child(14),.report-order-table td:nth-child(14){width:6%!important}@media (width<=620px){.boot-brand{grid-template-columns:54px minmax(0,1fr)}.boot-pill{grid-column:1/-1;justify-self:start}.boot-footer{flex-direction:column;align-items:stretch}.boot-footer button{width:100%}}.sale-settlement-panel{flex-direction:column!important;gap:10px!important;display:flex!important;overflow:hidden auto!important}.settlement-head,.sale-settlement-panel .payment-methods,.settlement-breakdown,.settlement-paid,.settlement-result,.settlement-actions,.customer-money-stack{flex:none!important;min-width:0!important}.settlement-actions{z-index:2!important;position:relative!important}.customer-money-stack{z-index:1!important;pointer-events:auto!important;align-self:stretch!important;margin-top:0!important;position:relative!important}.customer-money-stack>div{min-height:34px!important}.app-shell input[type=radio]{accent-color:var(--surface-brand,#0f6fd6);width:14px!important;min-width:14px!important;height:14px!important;min-height:14px!important;margin:0!important}.nav-list button,.app-sidebar,.shift-panel{letter-spacing:0!important}.nav-group-label{font-size:11px!important;font-weight:500!important}@media (width<=1440px){.sale-command-bar{grid-template-columns:160px minmax(270px,1.25fr) minmax(206px,.85fr) minmax(154px,.55fr)!important}.sale-workgrid-v4{grid-template-columns:minmax(236px,270px) minmax(0,1fr) minmax(286px,318px)!important}.sale-command-title strong,.invoice-code-block strong{font-size:19px!important}}.sale-workgrid-v4{grid-template-columns:minmax(252px,286px) minmax(0,1fr) minmax(292px,318px)!important}.sale-command-bar{grid-template-columns:180px minmax(320px,1.4fr) minmax(220px,.75fr) minmax(160px,.5fr) minmax(150px,.45fr)!important}.invoice-line-table{min-width:704px!important}.invoice-line-table th,.invoice-line-table td{padding-left:6px!important;padding-right:6px!important}.invoice-line-table th{white-space:nowrap!important}.invoice-line-table th:first-child,.invoice-line-table td:first-child{width:24%!important}.invoice-line-table th:nth-child(2),.invoice-line-table td:nth-child(2),.invoice-line-table th:nth-child(3),.invoice-line-table td:nth-child(3){width:10%!important}.invoice-line-table th:nth-child(4),.invoice-line-table td:nth-child(4),.invoice-line-table th:nth-child(5),.invoice-line-table td:nth-child(5){width:9%!important}.invoice-line-table th:nth-child(6),.invoice-line-table td:nth-child(6){width:18%!important}.invoice-line-table th:nth-child(7),.invoice-line-table td:nth-child(7){width:15%!important}.invoice-line-table th:nth-child(8),.invoice-line-table td:nth-child(8){width:32px!important}.invoice-line-table input{min-width:0!important;padding-left:6px!important;padding-right:6px!important}.invoice-line-table td:nth-child(6) input{padding-left:4px!important;padding-right:4px!important;font-size:11.5px!important}.invoice-qty-stepper{grid-template-columns:24px minmax(36px,1fr) 24px!important;gap:3px!important}.invoice-qty-stepper button,.invoice-row-delete{min-height:32px!important}.invoice-row-delete{width:30px!important}.file-import-card{width:min(1120px,100vw - 28px)!important}.file-import-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr)!important;gap:10px!important}.file-import-list{overflow:hidden auto!important}.file-import-table-wrap{overflow:visible!important}.file-import-table{table-layout:fixed!important;width:100%!important;min-width:0!important}.file-import-table th,.file-import-table td{padding:5px!important}.file-import-table th:first-child,.file-import-table td:first-child{width:28%!important}.file-import-table th:nth-child(2),.file-import-table td:nth-child(2),.file-import-table th:nth-child(3),.file-import-table td:nth-child(3),.file-import-table th:nth-child(4),.file-import-table td:nth-child(4),.file-import-table th:nth-child(5),.file-import-table td:nth-child(5){width:10%!important}.file-import-table th:nth-child(6),.file-import-table td:nth-child(6),.file-import-table th:nth-child(7),.file-import-table td:nth-child(7){width:13%!important}.file-import-table th:nth-child(8),.file-import-table td:nth-child(8){width:34px!important}.file-import-table input{min-width:0!important;height:32px!important;padding:0 6px!important;font-weight:400!important}.file-import-table .import-product-combobox .combobox-menu{width:min(440px,100vw - 48px)!important;min-width:100%!important;max-width:440px!important;right:auto!important;overflow-x:hidden!important}.file-import-table .import-product-combobox .combobox-menu button{grid-template-columns:minmax(0,1fr) auto!important;min-width:0!important}.file-import-table .import-product-combobox .combobox-menu strong,.file-import-table .import-product-combobox .combobox-menu span,.file-import-table .import-product-combobox .combobox-menu small{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}.file-import-footer{grid-template-columns:minmax(260px,1fr) 118px 120px auto auto!important}@media (width<=1440px){.sale-workgrid-v4{grid-template-columns:minmax(230px,252px) minmax(0,1fr) minmax(270px,294px)!important}.invoice-line-table{min-width:660px!important}}.sale-product-row{min-height:52px!important;padding:6px 8px!important}.sale-product-row strong{font-size:12.5px!important;font-weight:500!important}.sale-product-row small{font-size:10.5px!important}.sale-product-row b{font-size:11.5px!important;font-weight:600!important}.invoice-meta-line{min-height:60px!important;padding-top:8px!important;padding-bottom:8px!important}.invoice-code-block strong,.settlement-head strong,.settlement-breakdown strong,.settlement-result strong,.customer-money-stack strong,.invoice-kpi-strip strong,.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b,.legacy-debt-actions .legacy-totals strong,.data-table td strong,.debt-customers-table td strong,.debt-detail-table td strong,.report-order-table td strong{font-variant-numeric:tabular-nums!important;letter-spacing:0!important}.invoice-line-table td:nth-child(5) strong,.invoice-line-table td:nth-child(7) b,.invoice-kpi-strip strong,.ops-feed-line b,.ops-feed-line strong,.sale-ops-feed header strong,.settlement-head strong,.settlement-breakdown strong,.settlement-result strong,.customer-money-stack strong{font-weight:600!important}.customer-list-panel .module-panel{grid-template-rows:auto minmax(0,1fr)!important;display:grid!important}.customer-list-panel .data-table-wrap{align-self:start!important}.production-page{grid-template-rows:auto auto minmax(0,1fr)!important}.production-scan-bar{min-height:58px!important;padding:10px 12px!important}.sale-ops-feed>div,.invoice-kpi-strip div,.settlement-breakdown,.settlement-result,.customer-money-stack{background:#fff!important}.legacy-debt-actions button{border-radius:6px!important;min-height:40px!important}.legacy-debt-actions .legacy-totals{min-width:260px!important}.legacy-debt-actions .legacy-totals span,.legacy-debt-actions .legacy-totals strong{font-weight:500!important}.sale-category-tabs{flex-wrap:wrap!important;overflow:visible!important}.sale-category-tabs button{white-space:nowrap!important;flex:72px!important;min-width:0!important}.customer-editor-panel{grid-template-rows:auto auto auto!important;min-height:0!important}.customer-form-grid{grid-template-columns:minmax(0,1fr)!important}.customer-advance-panel{max-height:260px!important;overflow:auto!important}.customer-list-panel .module-panel{min-height:0!important}.sales-screen>.settings-grid{grid-template-columns:repeat(2,minmax(420px,1fr))!important;gap:12px!important;padding-bottom:18px!important}.settings-grid>section{background:#fff!important;border-radius:10px!important;box-shadow:0 1px 2px #0f172a0d!important}.settings-grid .info-list>div,.settings-grid .settings-branch-row{min-height:42px!important}.shift-overview{display:block!important}.shift-current{min-height:170px!important}.shift-empty{min-height:120px!important;padding:22px!important}.module-page>.module-panel{min-height:0!important}.module-page:has(.shift-overview){align-content:start!important;gap:12px!important}.modal-card{max-height:min(90dvh,760px)!important}.modal-card .branch-access-box{align-self:start!important;gap:8px!important;padding:10px!important}.modal-card .branch-access-box select{height:36px!important}.modal-card .permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:320px!important;overflow:auto!important}.modal-card .permission-chip{min-height:32px!important}.modal-card .branch-access-box{min-height:0!important;max-height:132px!important;overflow:hidden!important}.modal-card .branch-access-box:has(.permission-grid){max-height:360px!important;overflow:auto!important}.modal-card .branch-access-box select{align-self:start!important;width:100%!important}.module-page:has(.shift-overview){grid-template-rows:auto minmax(340px,auto)!important}.module-page:has(.shift-overview) .shift-current{min-height:150px!important}.module-page:has(.shift-overview)>.module-panel{min-height:340px!important}.modal-dialog .branch-access-box{align-self:start!important;gap:8px!important;min-height:0!important;max-height:132px!important;padding:10px!important;overflow:hidden!important}.modal-dialog .branch-access-box:has(.permission-grid){max-height:360px!important;overflow:auto!important}.modal-dialog .branch-access-box select{align-self:start!important;width:100%!important;height:36px!important}.modal-dialog .permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:320px!important;overflow:auto!important}.modal-dialog:has(.detail-modal){border-radius:18px!important;width:min(960px,100vw - 32px)!important;padding:0!important;overflow:hidden!important}.detail-modal{box-shadow:none!important;border:0!important;border-radius:18px!important;gap:0!important;overflow:hidden!important}.detail-modal>span,.detail-modal h2{background:#fff!important;padding-inline:24px!important}.detail-modal>span{color:#64748b!important;letter-spacing:.05em!important;padding-top:22px!important}.detail-modal h2{border-bottom:1px solid #e6edf5!important;padding-top:4px!important;padding-bottom:18px!important;font-size:24px!important}.detail-modal .info-list{background:#e6edf5!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:1px!important;padding:0!important;display:grid!important}.detail-modal .info-list div{background:#fbfdff!important;border:0!important;gap:6px!important;padding:14px 16px!important;display:grid!important}.detail-modal .info-list span{color:#64748b!important;text-transform:uppercase!important;font-size:11px!important;font-weight:700!important}.detail-modal .info-list strong{color:#0f172a!important;text-align:left!important;white-space:normal!important;font-size:13px!important}.detail-modal .data-table-wrap{border-radius:12px!important;max-height:min(360px,38vh)!important;margin:16px 18px 0!important}.detail-modal .data-table{min-width:760px!important}.detail-modal .data-table th,.detail-modal .data-table td{white-space:nowrap!important}.detail-modal .detail-total{border-bottom:1px solid #e6edf5!important;justify-content:flex-end!important;align-items:baseline!important;gap:14px!important;margin:0 18px!important;padding:16px 0 20px!important;display:flex!important}.detail-modal .detail-total span{color:#475569!important;font-size:18px!important}.detail-modal .detail-total strong{color:#2563eb!important;font-size:26px!important;font-weight:800!important}.detail-modal .detail-history-grid{background:#f8fafc!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding:16px 18px 20px!important;display:grid!important}.detail-modal .detail-history-grid section{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;min-width:0!important;padding:14px!important}.customer-workspace{grid-template-columns:390px minmax(0,1fr)!important;gap:14px!important}.customer-editor-panel{gap:12px!important;padding:0!important}.customer-editor-head,.customer-form-grid,.customer-advance-panel{border-color:#e1e9f2!important;border-radius:14px!important;box-shadow:0 10px 26px #0f172a0d!important}.customer-form-grid input[readonly]{color:#0f172a!important;background:#f8fafc!important;border-color:#e2e8f0!important;height:38px!important;font-weight:650!important}.customer-list-panel .module-panel{border-radius:16px!important}.customer-list-panel .data-table td:first-child,.customer-list-panel .data-table th:first-child{padding-left:16px!important}@media (width<=980px){.detail-modal .info-list,.detail-modal .detail-history-grid,.customer-workspace{grid-template-columns:1fr!important}}.customer-workspace{grid-template-columns:390px minmax(0,1fr)!important;align-items:start!important;height:calc(100dvh - 112px)!important;min-height:0!important}.customer-editor-panel{scrollbar-gutter:stable!important;gap:8px!important;height:100%!important;max-height:none!important;overflow:auto!important}.customer-editor-head{padding:9px 12px!important}.customer-editor-head strong{font-size:17px!important}.customer-form-grid{gap:5px!important;padding:9px 10px!important}.customer-form-grid label,.customer-advance-grid label{gap:3px!important;font-size:11px!important}.customer-form-grid input,.customer-advance-grid input{height:29px!important}.customer-editor-actions{background:0 0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;padding:0!important;position:static!important}.customer-editor-actions button,.customer-advance-actions button{white-space:nowrap!important;flex-direction:row!important;align-items:center!important;gap:4px!important;min-width:0!important;height:34px!important;min-height:34px!important;padding:0 6px!important;line-height:1!important;display:inline-flex!important}.customer-editor-actions button{font-size:11px!important}.customer-editor-actions button svg,.customer-advance-actions button svg{flex:none!important;margin:0!important;position:static!important}.customer-advance-panel{gap:6px!important;max-height:none!important;padding:9px 10px!important;overflow:visible!important}.customer-advance-grid,.customer-advance-mode{gap:6px!important}.customer-advance-mode label{min-height:28px!important;padding-inline:8px!important}.customer-advance-list{justify-content:space-between!important;align-items:center!important;gap:10px!important;min-height:38px!important;padding:7px 8px!important;display:flex!important}.customer-advance-list span{margin:0!important}.customer-advance-note{text-align:right!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;display:flex!important}.customer-advance-note small{display:none!important}.customer-list-panel{min-height:0!important}.production-policy-note{color:#64748b;margin-top:4px;font-size:12px;line-height:1.35;display:block}@media (width<=1200px){.customer-workspace{grid-template-columns:1fr!important;height:auto!important}.customer-editor-panel{height:auto!important;overflow:visible!important}}.production-mini-progress{min-width:180px}.production-mini-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.production-mini-head strong{color:#0f172a;white-space:nowrap;font-size:12px;font-weight:800}.production-mini-head span,.production-mini-empty{color:#64748b;white-space:nowrap;font-size:11px}.production-mini-steps{grid-template-columns:repeat(6,minmax(12px,1fr));gap:4px;display:grid}.production-mini-steps i{background:#e2e8f0;border-radius:999px;height:6px}.production-mini-steps i.done{background:#10b981}.production-mini-steps i.current{background:#2563eb;box-shadow:0 0 0 2px #2563eb24}.ops-production-line{grid-template-columns:auto minmax(90px,1fr)}.ops-production-line small,.ops-production-line i{grid-column:1/-1}.order-production-summary{background:#f8fbff;border:1px solid #dbe7f5;border-radius:14px;gap:10px;margin:12px 0;padding:12px;display:grid}.order-production-summary>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.order-production-summary span{color:#64748b;text-transform:uppercase;font-size:12px;font-weight:700}.order-production-summary strong{color:#0f172a}.order-production-summary p{color:#64748b;margin:0;font-size:13px}.order-production-lines{flex-wrap:wrap;gap:6px;display:flex}.order-production-lines small{color:#1e3a8a;background:#eaf2ff;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700}.file-import-table .import-product-combobox .combobox-menu{scrollbar-width:thin!important;width:min(360px,100vw - 48px)!important;min-width:100%!important;max-width:360px!important;right:auto!important;overflow:hidden auto!important}.file-import-table .import-product-combobox .combobox-menu button{box-sizing:border-box!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:block!important;overflow:hidden!important}.file-import-table .import-product-combobox .combobox-menu button strong{width:100%!important;display:block!important}.file-import-table .import-product-combobox .combobox-menu button span,.file-import-table .import-product-combobox .combobox-menu button small{display:none!important}.file-import-table .import-product-combobox .combobox-menu button strong,.file-import-table .import-product-combobox .combobox-menu button span{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}.fp-actions{flex-wrap:wrap;gap:5px;margin-top:4px;display:flex}.fp-action{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #d6e0ea;border-radius:6px;align-items:center;gap:4px;min-height:24px;padding:3px 7px;font-size:11px;font-weight:700;line-height:1;text-decoration:none;display:inline-flex}.fp-action:hover{background:#eef4ff;border-color:#b8ccf6}.file-preview-wrap.compact .fp-actions{gap:4px}.file-preview-wrap.compact .fp-action{min-height:22px;padding:2px 6px;font-size:10.5px}
