:root{--ink:#241c15;--muted:#6b7280;--line:#e7e9ef;--paper:#f3f5f8;--card:#ffffff;--accent:#111827;--accent-dark:#030712;--brand:#8e1d2c;--brand-bright:#c5162c;--side:#12382f;--gold:#e8b15a;--ok:#0f766e;--ok-bg:#ecfdf5;--danger:#b42318;--danger-bg:#fef3f2;--shadow:0 8px 24px rgba(15,23,42,0.06)}*{box-sizing:border-box}body,html{margin:0;padding:0}body{color:#1f2937;font-family:Segoe UI,system-ui,sans-serif}.app-shell,body{min-height:100vh;background:var(--paper)}.app-shell{display:flex;flex-direction:column}.app-top{height:64px;background:var(--brand);color:#fff;justify-content:space-between;padding:0 18px 0 16px;position:-webkit-sticky;position:sticky;top:0;z-index:40}.app-logo,.app-top{display:flex;align-items:center}.app-logo{gap:10px}.app-logo small,.app-logo strong{display:block;line-height:1.15}.app-logo small{color:#fecdd3;font-size:.78rem;font-weight:650}.logo-badge{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.14);display:grid;place-items:center}.app-top-actions{display:flex;align-items:center;gap:10px}.ghost-light,.user-chip{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#fff;font-weight:650}.account-menu{position:relative}.account-pop{position:absolute;right:0;top:calc(100% + 6px);background:#fff;color:#1f2937;border:1px solid var(--line);border-radius:10px;padding:8px 14px;min-width:120px;box-shadow:var(--shadow)}.avatar{width:28px;height:28px;border-radius:999px;background:#fff;color:var(--brand);display:grid;place-items:center;font-size:.82rem;font-weight:800}.scrim,.top-menu{display:none}.app-body{display:flex;flex:1 1;min-height:0}.side{width:232px;flex:none;background:var(--side);color:#e7f5f0;display:flex;flex-direction:column;height:calc(100vh - 64px);position:-webkit-sticky;position:sticky;top:64px}.side-scroll{flex:1 1;overflow:auto;padding:16px 12px}.side-foot{padding:12px}.nav-btn,.sub-btn{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:10px;padding:10px 12px;text-align:left;color:#d7ebe4;font-weight:650}.nav-btn.active{background:var(--brand-bright);color:#fff}.nav-btn:hover,.sub-btn:hover{background:rgba(255,255,255,.06)}.nav-btn.active:hover{background:var(--brand-bright)}.nav-icon{width:18px;height:18px;flex:none}.chev{margin-left:auto;color:#9fb8b0}.chev.open{transform:rotate(180deg)}.nav-sub{margin:2px 0 8px 28px;display:flex;flex-direction:column}.sub-btn{color:#c5ddd5;font-size:.9rem;font-weight:600}.sub-btn.active{background:rgba(255,255,255,.1);color:#fff}.side-promo{border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:16px 12px 14px;text-align:center;background:linear-gradient(#16493c,#12382f 55%,#0f6b45)}.promo-mark{color:#4ade80;margin-bottom:8px}.promo-mark,.side-promo span,.side-promo strong{display:block}.side-promo span{color:#d1fae5;font-size:.92rem}.main-pane{flex:1 1;min-width:0;padding:22px 24px 48px}.page-title{margin:0 0 6px;font-size:1.6rem}.card,.soon-card{background:#fff}.soon-card{margin-top:18px;border:1px dashed #d5dbe6;border-radius:16px;min-height:180px;display:grid;place-items:center;color:#64748b;font-weight:700}.catalog-page{display:flex;flex-direction:column;gap:14px}.catalog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.catalog-head .lede{margin:4px 0 0;max-width:none}.catalog-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.add-new{white-space:nowrap;border-radius:12px}.add-new,.catalog-page .primary{background:var(--brand-bright)}.catalog-page .primary:hover{background:#a31224}.stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.stat-card{background:#fff;border:1px solid #e7e9ef;border-radius:16px;padding:14px 16px;box-shadow:0 1px 2px rgba(15,23,42,.04);display:flex;align-items:center;gap:12px}.stat-ico{width:42px;height:42px;border-radius:999px;display:grid;place-items:center;flex:none}.stat-ico.green{background:#e8f8ef;color:#16a34a}.stat-ico.red{background:#fde8ea;color:#e11d48}.stat-ico.blue{background:#e8f1ff;color:#2563eb}.stat-card span{display:block;color:#6b7280;font-size:.82rem;font-weight:650}.stat-card strong{display:block;margin-top:2px;font-size:1.45rem;letter-spacing:-.03em}.stat-card em{font-style:normal;color:#9ca3af;font-size:.85rem;font-weight:650;margin-left:4px}.catalog-page .card{box-shadow:0 1px 2px rgba(15,23,42,.04);border-radius:16px}.catalog-page .section h2{font-size:1.02rem;margin:0;display:flex;align-items:center;gap:8px}.catalog-page .list-card{margin-top:0;padding:12px 14px 10px}.catalog-page .list-head{align-items:center;margin-bottom:10px;gap:12px}.catalog-page .catalog-search{flex:1 1;width:auto;min-width:180px;border-radius:12px;background:#f8fafc}.catalog-filters{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-end;gap:8px;margin:0}.catalog-filters label{display:flex;flex-direction:row;align-items:center;gap:6px;width:auto;font-size:.82rem;font-weight:650;color:#6b7280}.catalog-filters label span{margin:0}.catalog-filters input,.catalog-filters select{width:auto;min-width:148px;padding:7px 10px}.catalog-filters .compare select{min-width:72px}.catalog-filters .dup-toggle{align-self:center;gap:8px;margin:0;padding:7px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;cursor:pointer;white-space:nowrap}.catalog-filters .dup-toggle:has(input:checked){border-color:#b91c1c;background:#fef2f2;color:#991b1b}.catalog-filters .dup-toggle input{width:16px;min-width:16px;height:16px;margin:0;padding:0}.dup-note{margin:0 0 10px}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:.75rem;font-weight:700}.pill.on{background:#ecfdf5;color:#047857}.pill.off{background:#fef2f2;color:#b42318}.qty-zero{color:#b42318;font-weight:700}.prod-cell{display:flex;align-items:center;gap:10px}.prod-thumb{width:42px;height:42px;border-radius:10px;object-fit:cover;background:#f3f4f6;flex:none}.prod-name{font-weight:700}.prod-id{color:#9ca3af;font-size:.78rem}.eye{width:28px;height:28px;display:grid;place-items:center;color:#64748b}.table-foot{justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 4px 2px;color:#6b7280;font-size:.88rem}.page-size,.table-foot{display:flex;align-items:center}.page-size{gap:8px;margin:0}.page-size span{margin:0;white-space:nowrap}.page-size select{width:auto;min-width:5.5rem;margin:0}.pager{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pager-gap{padding:0 2px;font-weight:700}.pager button{min-width:32px;height:32px;border:1px solid #e5e7eb;background:#fff;border-radius:8px;font-weight:700}.pager button.on{background:var(--brand-bright);color:#fff;border-color:var(--brand-bright)}.catalog thead th{position:-webkit-sticky;position:sticky;top:0;color:#64748b;font-size:.75rem;letter-spacing:.04em;text-transform:uppercase}.catalog tbody tr:hover,.catalog thead th{background:#f8fafc}.empty-row{text-align:center;color:#6b7280;padding:28px 8px}.linkish{margin-top:6px;border:0;background:transparent;color:#374151;padding:0;font-size:.8rem;font-weight:650;text-decoration:underline}.list-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px}.name-list{list-style:none;margin:14px 0 0;padding:0}.name-list li{justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}.add-row,.name-list li{display:flex;gap:8px}.add-row input{flex:1 1}.text-btn{border:0;background:transparent;color:#b42318;padding:0}@media (max-width:980px){.top-menu{display:inline-flex;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;border-radius:10px;padding:6px 12px;font-weight:650}.side{position:fixed;z-index:30;top:64px;height:calc(100vh - 64px);width:min(280px,86vw);transform:translateX(-105%);transition:transform .18s ease}.app-shell.menu-open .side{transform:none}.scrim{position:fixed;left:0;right:0;bottom:0;top:64px;z-index:20;border:0;padding:0;background:rgba(15,23,42,.35)}.app-shell.menu-open .scrim{display:block}.main-pane{padding:16px 16px 40px}.grid,.list-grid{grid-template-columns:1fr}.stat-row{grid-template-columns:1fr 1fr}.catalog-head{flex-direction:column}}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--accent-dark)}.wrap{width:min(1120px,calc(100% - 32px));margin:0 auto}.topbar{background:var(--ink);color:#f8f1e7}.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}.brand{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:1.15rem;letter-spacing:.01em}.brand span{color:var(--gold);font-size:.85rem}.ghost{border:1px solid rgba(248,241,231,.35);background:transparent;color:#f8f1e7;border-radius:999px;padding:8px 14px}.page{padding:28px 0 56px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.login-card{width:min(440px,100%);margin:48px auto 0;padding:28px}.list-head h2,.login-card h1,.section h2{margin:0 0 8px;font-size:1.35rem}.lede{margin:0 0 18px;color:var(--muted);line-height:1.5}.stack{display:flex;flex-direction:column;gap:12px}.field-label,label span{display:block;margin-bottom:6px;font-size:.85rem;font-weight:650}input,select,textarea{width:100%;border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:10px 12px}textarea{min-height:140px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid rgba(17,24,39,.12);border-color:#111827}.primary,.secondary{border:0;border-radius:12px;padding:11px 16px;font-weight:700}.primary{background:var(--accent);color:white}.primary:hover{background:var(--accent-dark)}.secondary{background:#fff;border:1px solid #e5e7eb}.primary:disabled,.secondary:disabled{opacity:.6;cursor:not-allowed}.banner{border-radius:12px;padding:12px 14px;line-height:1.45}.banner.error{background:var(--danger-bg);color:var(--danger)}.banner.ok{background:var(--ok-bg);color:var(--ok)}.grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px}.section{padding:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.span-2{grid-column:span 2}.checks{gap:16px}.checks,.checks label{display:flex;align-items:center}.checks label{gap:8px;font-weight:650}.checks input{width:auto}.actions,.import-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.preview{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.import-review{display:flex;flex-direction:column;gap:12px}.import-review .lede{margin:0}.review-edit,.review-fix,.review-head,.review-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.review-top{justify-content:space-between}.review-edit,.review-group{border:1px solid var(--line);border-radius:14px;background:#fff}.review-edit{padding:12px}.ready-by,.review-edit label{display:flex;align-items:center;gap:8px}.ready-by span,.review-edit label span{margin:0}.ready-by select,.review-edit select,.review-fix select{width:auto;min-width:160px}.review-group.bad{border-color:#f3c7c2;background:#fffafa}.review-group.ok{background:#fff}.review-toggle{border:0;background:transparent;padding:12px 14px;font-weight:700;text-align:left}.review-head{justify-content:space-between;padding-right:12px}.review-head .review-toggle{padding-right:0}.review-body{padding:0 14px 12px;display:flex;flex-direction:column;gap:8px}.review-fix{padding-bottom:4px}.check-all{display:flex;align-items:center;gap:8px;font-weight:650}.check-all input,.review-line input{width:auto}.review-line{display:flex;gap:8px;align-items:flex-start;padding:6px 0;border-top:1px solid var(--line)}.review-errors{margin:0 14px 12px;padding-left:18px}.import-review .catalog-wrap{max-height:min(70vh,720px)}.import-review .table-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 4px 0}.import-review td select{min-width:8.5rem}.missing-dropdowns{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.missing-dropdowns p{margin:0}.missing-group{display:flex;flex-direction:column;gap:2px}.missing-group strong{font-size:.85rem}.missing-group span{font-size:.85rem;opacity:.9}.catalog tr.review-row.needs td{background:#3a1518}html:not(.dark) .catalog tr.review-row.needs td{background:#fff4f3}.ready-buckets{display:flex;flex-direction:column;gap:8px}.ready-buckets .review-group{background:#f8fafc}.preview ul{margin:8px 0 0;padding-left:18px}.catalog,.mini-table{width:100%;border-collapse:collapse;font-size:.92rem}.catalog td,.catalog th,.mini-table td,.mini-table th{text-align:left;padding:8px 6px;border-bottom:1px solid var(--line);vertical-align:top}.catalog-wrap{overflow:auto}.catalog-page .catalog-wrap{max-height:none}.list-card{margin-top:18px;padding:22px}.list-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:12px}.list-head input{width:min(280px,100%)}.catalog-page .catalog-filters input{width:auto;min-width:120px}.muted{color:var(--muted)}.off{color:var(--danger);font-weight:700}code{font-family:Consolas,monospace;font-size:.86em}.prelive-page{display:flex;flex-direction:column;gap:14px}.prelive-page .stat-row{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-switch{display:inline-flex;padding:4px;border-radius:12px;background:#fff;border:1px solid var(--line);gap:4px}.mode-switch button{border:0;background:transparent;border-radius:9px;padding:8px 12px;font-weight:700;color:#4b5563}.mode-switch button.on{background:var(--brand-bright);color:#fff}.prelive-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 12px}.catalog td.pick,.catalog th.pick{width:36px;text-align:center;vertical-align:middle}.catalog .pick input{width:auto;margin:0}.bulk-actions{gap:8px;align-items:center}.bulk-actions,.row-actions{display:flex;flex-wrap:wrap}.row-actions{gap:6px;justify-content:flex-end}.confirm-bar .primary,.confirm-bar .secondary,.row-actions .secondary{padding:7px 10px;border-radius:10px}.secondary.danger{color:var(--danger)}.confirm-scrim{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.45)}.confirm-dialog{width:min(440px,100%);background:#fff;color:#1f2937;border-radius:16px;padding:22px;box-shadow:0 24px 60px rgba(15,23,42,.28)}.confirm-dialog h2{margin:0 0 8px;font-size:1.2rem}.confirm-dialog p{margin:0 0 18px;line-height:1.45}.confirm-dialog .actions{justify-content:flex-end}.confirm-dialog.wide{width:min(680px,100%);max-height:90vh;overflow-y:auto}.confirm-dialog.edit-dialog{width:min(920px,100%);max-height:90vh;overflow-y:auto}.confirm-dialog.edit-dialog .actions{flex-wrap:wrap}.check-row{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}.check-row input{width:auto}.check-row span{margin:0;font-weight:400}.confirm-dialog.wide .form-grid{margin-bottom:12px}.confirm-dialog .primary{background:var(--brand-bright)}.confirm-dialog .primary:hover{background:#a31224}.pill.warn{background:#fff7ed;color:#c2410c}.linked-cell{display:flex;align-items:center;gap:6px}.linked-cell .pill{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.linked-open{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:#374151;cursor:pointer;line-height:1;font-size:1rem}.linked-open:hover{background:#f8fafc}.linked-open:disabled{opacity:.5;cursor:not-allowed}.field-with-arrow{display:flex;gap:8px;align-items:stretch}.field-with-arrow input{flex:1 1}.field-with-arrow .linked-open{width:40px;height:auto}.confirm-dialog.picker{width:min(860px,100%);z-index:2}.picker-scrim{z-index:90}.compare-card{margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.compare-card h3{margin:0 0 8px;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b7280}.compare-note{margin:0 0 8px;color:var(--muted);font-size:.8rem}.compare-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px 10px;gap:8px 10px;margin:0}.compare-facts div{min-width:0}.compare-facts dt{margin:0;color:#6b7280;font-size:.72rem;font-weight:650}.compare-facts dd{margin:2px 0 0;font-size:.88rem;font-weight:650;word-break:break-word}.compare-facts .match dd{color:#047857}.compare-facts .diff dd{color:#c2410c}.picker-list{max-height:360px;overflow:auto;border:1px solid var(--line);border-radius:12px;margin:12px 0 16px}.picker-row{display:grid;grid-template-columns:1fr auto;grid-gap:8px;gap:8px;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:#fff;padding:10px 12px;cursor:pointer}.picker-row.compare-row{display:block}.picker-row:last-child{border-bottom:0}.picker-row:hover{background:#f8fafc}.picker-row.on{background:#eff6ff}.picker-row:disabled{cursor:not-allowed;opacity:.55}.picker-row strong{display:block;font-size:.92rem}.picker-row span{display:block;color:var(--muted);font-size:.78rem;margin-top:2px}.picker-row em{font-style:normal;font-size:.78rem;color:#1d4ed8;font-weight:650}.compare-row-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:8px}.compare-row .compare-facts{margin-top:4px}@media (max-width:720px){.compare-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}.dd-page{max-width:1100px;margin:0 auto}.dd-head{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:26px}.dd-eyebrow{display:flex;align-items:center;gap:8px;color:#2563eb;font-size:.8rem;font-weight:650;letter-spacing:.06em;text-transform:uppercase}.dd-head h1{margin:6px 0;font-size:1.9rem;font-weight:700;letter-spacing:-.02em}.dd-head p{margin:0;max-width:680px;color:var(--muted);font-size:.92rem;line-height:1.5}.dd-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;grid-gap:4px;gap:4px;padding:6px;margin-bottom:26px;border-radius:14px;background:#eceef2}.dd-tabs button{border:0;border-radius:10px;padding:10px 8px;background:transparent;color:#1f2937;font-size:.9rem;cursor:pointer}.dd-tabs button.on{background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.12);font-weight:650}.dd-tabs button em{font-style:normal;color:var(--muted);font-size:.8rem;margin-left:4px}.dd-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;flex-wrap:wrap}.dd-section-head h2{margin:0;font-size:1.25rem}.dd-section-head p{margin:2px 0 0;color:var(--muted);font-size:.88rem}.dd-section-head .actions{display:flex;gap:8px;flex-wrap:wrap}.dd-add{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:10px;padding:10px 16px;background:#2563eb;color:#fff;font-weight:650;cursor:pointer}.dd-add:hover{background:#1d4ed8}.dd-add:disabled{opacity:.6;cursor:not-allowed}.dd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.dd-card{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:72px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 6px rgba(15,23,42,.06)}.dd-card.picked{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.15)}.dd-card strong{font-size:1.02rem;word-break:break-word}.dd-card label{display:flex;align-items:flex-start;gap:10px;margin:0;cursor:pointer}.dd-card label input{width:auto;margin-top:4px}.dd-card-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.dd-count{padding:3px 9px;border-radius:999px;background:#eef0f4;color:#4b5563;font-size:.75rem;white-space:nowrap}.dd-icon{display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#1f2937;cursor:pointer}.dd-icon:hover{background:#f3f4f6}.dd-icon.danger{color:#dc2626}.dd-icon.danger:hover{background:#fef2f2}.dd-empty{padding:28px;text-align:center;color:var(--muted);border:1px dashed #d1d5db;border-radius:14px;background:#fff}.dd-subhead{margin:28px 0 12px;font-size:.95rem;color:#4b5563}.dd-source{display:inline-flex;gap:4px;padding:4px;border-radius:10px;background:#eceef2}.dd-source button{border:0;border-radius:8px;padding:7px 12px;background:transparent;cursor:pointer}.dd-source button.on{background:#fff;font-weight:650;box-shadow:0 1px 3px rgba(15,23,42,.12)}.dd-dialog label{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-weight:650}@media (max-width:860px){.dd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dd-tabs{grid-auto-flow:row;grid-template-columns:repeat(3,1fr)}}@media (max-width:560px){.dd-grid{grid-template-columns:1fr}}.draft-groups{display:flex;flex-direction:column;gap:10px}.draft-group{border:1px solid var(--line);border-radius:12px;background:#fff}.draft-group summary{display:flex;gap:8px;align-items:center;padding:12px 14px;font-weight:750;cursor:pointer}.draft-group summary em{margin-left:auto;font-style:normal;color:#6b7280;font-weight:650}.draft-group .catalog-wrap{padding:0 10px 10px}.prelive-page select{min-width:110px}.customer-add{display:grid;grid-template-columns:1fr 220px auto;grid-gap:12px;gap:12px;align-items:end;margin-top:12px}.customer-add label,.product-edit label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:.92rem}.product-edit input[readonly]{background:#f3f4f6;color:#4b5563}.pos-page{display:flex;flex-direction:column;gap:12px;min-width:0}.pos-page .primary{background:#2563eb}.pos-page .primary:hover{background:#1d4ed8}.pos-scan-row .primary{background:#1e3a8a}.pos-scan-row .primary:hover{background:#172554}.pos-head,.pos-head-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pos-head h1{margin:0;font-size:1.35rem}.pos-head p{margin:2px 0 0;color:var(--muted)}.pos-head-tools .primary,.pos-head-tools .secondary{border-radius:999px;white-space:nowrap}.pos-head-tools .primary{background:#1e3a8a}.pos-head-tools .primary:hover{background:#172554}.pos-clock,.scanner-live{color:#1d4ed8;font-weight:700;font-size:.92rem}.scanner-live:before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#2563eb}.pos-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-gap:14px;gap:14px;align-items:start}.pos-scan-row{flex-wrap:wrap}.pos-scan-row,.pos-scan-row form{display:flex;gap:8px;align-items:center}.pos-scan-row form{flex:1 1;min-width:220px}.pos-scan-row form input{flex:1 1}.pos-scan-row form .primary{width:auto;min-width:72px}.pos-scan-row input{border-color:#93c5fd;border-radius:12px}.pos-scan-row .primary,.pos-scan-row .secondary{white-space:nowrap}.pos-status{margin:10px 0 0;color:#15803d;font-weight:700}.pos-hint{margin:6px 0 10px;color:var(--muted);font-size:.86rem}.pos-table .pos-discount,.pos-table .pos-qty{width:88px;padding:6px 8px}.pos-rate-old{color:#9ca3af;text-decoration:line-through;font-size:.82rem}.pos-off{color:#dc2626;font-size:.78rem;font-weight:700}.pos-selected{background:#eef2ff}.pos-edit{border:0;background:transparent;color:#6b7280;font-size:1rem;cursor:pointer}.pos-side{display:flex;flex-direction:column;gap:12px}.pos-actions,.pos-customer,.pos-last,.pos-total{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.pos-kicker{margin:0 0 4px;color:#6b7280;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.pos-grand{margin:0;font-size:2.4rem;font-weight:800;letter-spacing:-.03em}.pos-stats{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;margin-top:12px}.pos-stats div{border:1px solid var(--line);border-radius:12px;padding:8px 10px}.pos-stats span{display:block;color:#6b7280;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pos-stats strong{font-size:1.35rem}.pos-bill-off{margin:12px 0 0;color:var(--brand-bright);font-weight:700}.pos-final{margin-top:10px;line-height:1.45}.pos-final p{margin:0}.pos-customer p,.pos-last p{margin:4px 0}.pos-customer .primary,.pos-customer .secondary{margin-top:8px}.pos-last{background:#eef2ff}.pos-last-qty{color:#1d4ed8;font-weight:800;font-size:1.05rem}.pos-actions{display:flex;flex-direction:column;gap:8px}.pos-actions .primary,.pos-actions .secondary{width:100%}.pos-actions .primary{display:flex;justify-content:space-between;align-items:center}.pos-actions .primary span{font-size:.75rem;opacity:.8}.pos-keys{display:flex;flex-wrap:wrap;gap:10px 14px;color:#6b7280;font-size:.82rem;padding:4px 2px 8px}.pos-keys kbd{border:1px solid var(--line);background:#fff;border-radius:6px;padding:1px 5px;font-family:inherit}.pos-field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px;font-weight:650}.pos-found{margin:0 0 12px;color:#1d4ed8;font-weight:650}.pos-video{width:100%;border-radius:12px;background:#111;max-height:280px}.bill-paper{display:none}.bill-paper h1{margin:0 0 4px;font-size:1.6rem}.bill-paper table{width:100%;border-collapse:collapse;margin:12px 0}.bill-paper td,.bill-paper th{border-bottom:1px solid #ddd;text-align:left;padding:6px 4px;vertical-align:top}.bill-paper .credit-hit{display:inline-block;margin:8px 0;padding:6px 10px;background:#fef3c7;font-weight:800;font-size:1.05rem}.bill-paper .discount-total{font-weight:800;font-size:1.15rem}.bill-paper .payable{font-size:1.25rem;font-weight:800}@media print{body>:not(.bill-paper){display:none!important}.bill-paper{display:block!important;padding:16px;color:#111;background:#fff}}@media (max-width:980px){.customer-add,.pos-body{grid-template-columns:1fr}}@media (max-width:860px){.form-grid,.grid{grid-template-columns:1fr}.span-2{grid-column:auto}.list-head{flex-direction:column;align-items:stretch}.catalog-page .list-head{flex-direction:row;align-items:flex-start}}