@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/public-sans-vietnamese-400-normal-TxZB8OSn.woff2) format("woff2"),url(/assets/public-sans-vietnamese-400-normal-BO1meqcx.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/public-sans-latin-ext-400-normal-mk90oQqJ.woff2) format("woff2"),url(/assets/public-sans-latin-ext-400-normal-B02wwOdZ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/public-sans-latin-400-normal-8Rpg0ruU.woff2) format("woff2"),url(/assets/public-sans-latin-400-normal-SBbinRkI.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/public-sans-vietnamese-600-normal-P4BtCUdw.woff2) format("woff2"),url(/assets/public-sans-vietnamese-600-normal-CcnAzmUX.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/public-sans-latin-ext-600-normal-DchWdWJ_.woff2) format("woff2"),url(/assets/public-sans-latin-ext-600-normal-DfkbVac2.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/public-sans-latin-600-normal-Fru-LXNs.woff2) format("woff2"),url(/assets/public-sans-latin-600-normal-BR59oU-I.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/public-sans-vietnamese-800-normal-BUvYaYg7.woff2) format("woff2"),url(/assets/public-sans-vietnamese-800-normal-BFk1Z7Fw.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/public-sans-latin-ext-800-normal-BFRSyk9K.woff2) format("woff2"),url(/assets/public-sans-latin-ext-800-normal-COj-CKlZ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Public Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/public-sans-latin-800-normal-Cymo4W0O.woff2) format("woff2"),url(/assets/public-sans-latin-800-normal-qgH1Oyzx.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink: #17212B;--ink-2: #2A3744;--paper: #EDF0F3;--surface: #FFFFFF;--line: #D5DAE0;--muted: #5B6773;--indigo: #2D3F8F;--gold: #E3A62B;--green: #1E7B50;--red: #B3261E;--amber-bg: #FFF4D6;--topbar-h: 60px;--side-w: 248px;--gold-tint: #FDF4E3;--gold-ink: #9A6A0E;--shadow-sm: 0 1px 2px rgba(23,33,43,.05), 0 1px 3px rgba(23,33,43,.06);font-family:Public Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);font-size:16px;line-height:1.45}*{box-sizing:border-box}body{margin:0;background:#f4f6f8;font-variant-numeric:tabular-nums}h1{font-size:1.6rem;font-weight:800;margin:0 0 1rem;letter-spacing:-.01em}h2{font-size:1.1rem;font-weight:600;margin:1.5rem 0 .5rem}small{color:var(--muted)}button,input,select{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--gold);outline-offset:2px}input,select{width:100%;padding:.55rem .7rem;border:1px solid var(--line);border-radius:6px;background:var(--surface);min-height:2.5rem}input[type=checkbox]{width:auto;min-height:0}button{cursor:pointer;padding:.5rem .9rem;border:1px solid var(--line);background:var(--surface);border-radius:6px;min-height:2.5rem;font-weight:600}button:hover:not(:disabled){background:#f6f8fa}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--indigo);border-color:var(--indigo);color:#fff}button.primary:hover:not(:disabled){background:#243379}button.danger{color:var(--red);border-color:#e6b8b4}button.ghost{border-color:transparent;background:transparent;color:var(--muted);padding:.25rem .5rem;min-height:0;font-weight:400}button.big{min-height:3.2rem;font-size:1.1rem;width:100%}.field{display:block;margin-bottom:.9rem}.field>span{display:block;font-weight:600;margin-bottom:.25rem;font-size:.92rem}.field small{display:block;margin-top:.2rem}.check{display:flex;gap:.4rem;align-items:center;white-space:nowrap}.error{background:#fbe9e7;color:var(--red);padding:.6rem .8rem;border-radius:6px;margin:.6rem 0}.hint{color:var(--muted);font-size:.92rem}.notice{background:var(--amber-bg);border:1px solid #EBCB7A;padding:.7rem .9rem;border-radius:8px;margin-bottom:1rem}.empty{color:var(--muted);padding:1.2rem;text-align:center}.boot{display:grid;place-items:center;min-height:100vh;color:var(--muted)}.shell{display:grid;grid-template-columns:var(--side-w) 1fr;min-height:100vh}.side{background:var(--surface);color:var(--ink);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;border-right:1px solid #E4E8EC;overflow:hidden}.side-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding-bottom:.6rem}.side-brand{display:flex;align-items:center;gap:.65rem;height:var(--topbar-h);padding:0 1.1rem;border-bottom:1px solid #E4E8EC;flex-shrink:0}.side-logo{width:32px;height:32px;flex-shrink:0}.side-brand span{font-weight:800;font-size:1.05rem;color:var(--ink);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-group{display:flex;flex-direction:column;gap:2px;padding:.9rem .75rem 0}.nav-group+.nav-group{border-top:1px solid #EEF1F4;margin-top:.6rem}.nav-label{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a96a3;padding:0 .6rem .35rem;white-space:nowrap}.side a{display:flex;align-items:center;gap:.7rem;color:#3a4754;text-decoration:none;padding:.58rem .7rem;border-radius:8px;font-weight:600;font-size:.92rem;transition:background .13s,color .13s;white-space:nowrap}.side a svg{flex-shrink:0;color:#7a8794}.side a:hover{background:#f3f5f7;color:var(--ink)}.side a.active{background:var(--gold-tint);color:var(--gold-ink)}.side a.active svg{color:var(--gold)}.side-footer{display:flex;align-items:center;gap:.65rem;padding:.8rem 1rem;border-top:1px solid #E4E8EC;flex-shrink:0}.side-avatar{width:34px;height:34px;border-radius:50%;background:var(--indigo);color:#fff;font-weight:800;font-size:.9rem;display:grid;place-items:center;flex-shrink:0}.side-user-info{display:flex;flex-direction:column;min-width:0}.side-user-name{font-weight:700;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-user-role{font-size:.75rem;color:var(--muted)}.shell.collapsed{grid-template-columns:72px 1fr}.shell.collapsed .side-brand{justify-content:center;padding:0}.shell.collapsed .side-brand span,.shell.collapsed .side a span,.shell.collapsed .side-user-info{display:none}.shell.collapsed .nav-label{visibility:hidden;height:.4rem;padding:0;overflow:hidden}.shell.collapsed .side a{justify-content:center;padding:.65rem 0}.shell.collapsed .side-footer{justify-content:center;padding:.8rem 0}.shell-body{display:grid;grid-template-rows:var(--topbar-h) 1fr;min-height:100vh;min-width:0}.topbar{display:flex;align-items:center;gap:.75rem;padding:0 1.25rem;background:var(--surface);border-bottom:1px solid #E4E8EC;position:sticky;top:0;z-index:10;height:var(--topbar-h)}.topbar-titles{display:flex;flex-direction:column;justify-content:center;min-width:0;flex:0 1 auto;margin-right:.5rem}.topbar-title{font-weight:800;font-size:1.05rem;letter-spacing:-.01em;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-sub{font-size:.76rem;color:var(--muted);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar .gsearch{margin-left:auto}.topbar .topbar-right{margin-left:0}.topbar-right{display:flex;align-items:center;gap:.55rem;flex-shrink:0;margin-left:auto}.icon-btn{position:relative;display:grid;place-items:center;width:38px;height:38px;min-height:0;padding:0;border:1px solid #E4E8EC;border-radius:9px;background:var(--surface);color:#3a4754}.icon-btn:hover:not(:disabled){background:#f3f5f7}.icon-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;font-size:.68rem;font-weight:800;display:grid;place-items:center;border:2px solid var(--surface)}.btn-sell{display:inline-flex;align-items:center;gap:.4rem;height:38px;padding:0 .9rem;border-radius:9px;background:var(--ink);color:#fff;font-weight:700;font-size:.88rem;text-decoration:none;white-space:nowrap}.btn-sell:hover{background:var(--ink-2)}.topbar-status{display:flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:700;color:var(--muted);padding:.3rem .6rem;border-radius:999px;background:#f3f5f7}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--muted);flex-shrink:0}.topbar-status.online{color:var(--green);background:#e8f5ee}.topbar-status.online .status-dot{background:var(--green)}.topbar-status.offline{color:var(--red);background:#fbe9e7}.topbar-status.offline .status-dot{background:var(--red)}.topbar-user{display:flex;align-items:center;gap:.5rem;background:none;border:1px solid transparent;border-radius:10px;padding:.25rem .45rem;min-height:0}.topbar-user:hover:not(:disabled){background:#f3f5f7;border-color:#e4e8ec}.topbar-user-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}.topbar-user-text strong{font-size:.85rem;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-user-text small{font-size:.72rem;font-weight:500}.topbar-avatar{width:32px;height:32px;border-radius:50%;background:var(--indigo);color:#fff;font-weight:800;font-size:.82rem;display:grid;place-items:center;flex-shrink:0}.topbar-avatar.lg{width:38px;height:38px;font-size:.95rem}.topbar-chevron{color:var(--muted);flex-shrink:0}.topbar-user-wrap{position:relative}.topbar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:19}.topbar-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:220px;background:var(--surface);border:1px solid #E4E8EC;border-radius:12px;box-shadow:0 12px 32px #17212b24;z-index:20;overflow:hidden}.topbar-dropdown-user{display:flex;align-items:center;gap:.65rem;padding:.85rem 1rem}.topbar-dropdown-name{font-weight:700;font-size:.9rem;color:var(--ink)}.topbar-dropdown-role{font-size:.75rem;color:var(--muted);margin-top:.1rem}.topbar-dropdown-divider{margin:0;border:none;border-top:1px solid #EEF1F4}.topbar-dropdown-signout{display:flex;align-items:center;gap:.5rem;width:100%;text-align:left;padding:.7rem 1rem;font-size:.88rem;color:var(--red);background:none;border:none;border-top:1px solid #EEF1F4;border-radius:0;min-height:0}.topbar-dropdown-signout:hover:not(:disabled){background:#fbe9e7}.bell-pop{width:300px}.bell-head{display:flex;justify-content:space-between;align-items:baseline;padding:.8rem 1rem .5rem}.bell-head span{font-size:.78rem;color:var(--muted)}.bell-row{display:flex;justify-content:space-between;gap:.75rem;padding:.45rem 1rem;font-size:.86rem;border-top:1px solid #F1F3F5}.bell-row span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bell-row .out{color:var(--red);font-weight:700;white-space:nowrap}.bell-row .low{color:var(--gold-ink);font-weight:700;white-space:nowrap}.bell-empty{margin:0;padding:.2rem 1rem 1rem;font-size:.86rem;color:var(--muted)}.bell-more{display:block;padding:.7rem 1rem;border-top:1px solid #EEF1F4;font-weight:700;font-size:.86rem;color:var(--indigo);text-decoration:none}.gsearch{position:relative;display:flex;align-items:center;gap:.5rem;flex:0 1 420px;height:40px;padding:0 .7rem;border:1px solid #E4E8EC;border-radius:10px;background:#f7f8fa;color:var(--muted)}.gsearch:focus-within{border-color:var(--gold);background:var(--surface);box-shadow:0 0 0 3px #e3a62b26}.gsearch input{border:0;background:transparent;padding:0;min-height:0;height:100%;flex:1;min-width:0}.gsearch input:focus{outline:none}.gsearch kbd{font:inherit;font-size:.7rem;font-weight:700;color:#8a96a3;background:var(--surface);border:1px solid #E4E8EC;border-radius:5px;padding:.05rem .35rem;white-space:nowrap}.gsearch-pop{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid #E4E8EC;border-radius:12px;box-shadow:0 12px 32px #17212b24;z-index:25;padding:.35rem;max-height:420px;overflow-y:auto}.gsearch-pop button{display:flex;align-items:center;gap:.7rem;width:100%;text-align:left;border:0;background:none;border-radius:8px;padding:.5rem .6rem;min-height:0;font-weight:400}.gsearch-pop button.on{background:var(--gold-tint)}.gs-kind{flex-shrink:0;width:66px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#8a96a3}.gs-main{display:flex;flex-direction:column;min-width:0}.gs-main strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gs-main small{font-size:.76rem}.gsearch-empty{padding:.8rem;font-size:.88rem;color:var(--muted)}main{padding:1.5rem;min-width:0}.page{max-width:1240px}.head{display:flex;justify-content:space-between;align-items:start;gap:1rem}.filters{display:flex;gap:1rem;align-items:end;flex-wrap:wrap;margin-bottom:1rem}.filters .field{margin:0}.filters .search{max-width:320px}.card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:1.1rem;margin-top:1rem}.grid2{display:grid;grid-template-columns:1fr 1fr;column-gap:1rem}.span2{grid-column:1 / -1}.actions{display:flex;gap:.6rem;justify-content:flex-end;margin-top:1rem;flex-wrap:wrap}.seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.seg button{border:0;border-radius:0;background:transparent}.seg button.on{background:var(--ink);color:#fff}.tablewrap{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow-x:auto;margin-top:1rem}.tablewrap.narrow{max-width:420px}table{width:100%;border-collapse:collapse}th,td{padding:.65rem .8rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}th{font-weight:600;color:var(--muted);font-size:.9rem;background:#f7f8fa}tr:last-child td{border-bottom:0}.num{text-align:right}.owes{color:var(--red);font-weight:600}.acts{text-align:right;white-space:nowrap}.acts button{margin-left:.35rem;min-height:2.1rem;padding:.25rem .65rem}tr.voided td{color:var(--muted);text-decoration:line-through}tr.voided td.acts,tr.voided td:last-child{text-decoration:none}tr.sum td{font-weight:800;background:#f7f8fa}.thumb{width:36px;height:36px;border-radius:6px;object-fit:cover;display:block}.thumb.none{background:var(--paper)}.preview{width:96px;height:96px;object-fit:cover;border-radius:8px;display:block;margin-bottom:.4rem}.sales-topbar{display:flex;align-items:flex-end;gap:1.25rem;flex-wrap:wrap;margin-bottom:1rem}.sales-topbar .filters{margin-bottom:0;flex-shrink:0}.sales-summary{display:flex;gap:.6rem;flex-wrap:wrap;flex:1}.sales-stat{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.55rem .9rem;min-width:100px}.sales-stat span{display:block;font-size:.78rem;color:var(--muted);margin-bottom:.1rem}.sales-stat strong{font-size:1.15rem;font-weight:800}.sales-stat.key{background:var(--ink);border-color:var(--ink)}.sales-stat.key span{color:#8a9bad}.sales-stat.key strong{color:var(--gold)}.sales-stat.warn strong{color:var(--red)}.sales-table tbody tr:hover td{background:#f7f8fa}.receipt-no{font-family:ui-monospace,monospace;font-size:.82rem;font-weight:700;color:var(--indigo)}.muted-cell{color:var(--muted);font-size:.88rem}.badge{display:inline-block;padding:.18rem .55rem;border-radius:999px;font-size:.75rem;font-weight:700;white-space:nowrap}.badge-green{background:#d1fae5;color:#065f46}.badge-red{background:#fee2e2;color:#991b1b}.badge-amber{background:#fef3c7;color:#92400e}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem}.stats div{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.9rem 1rem}.stats span{color:var(--muted);font-size:.9rem;display:block}.stats strong{font-size:1.35rem;font-weight:800}.stats .key{background:var(--ink);color:#fff;border-color:var(--ink)}.stats .key span{color:#b9c3cd}.stats .key strong{color:var(--gold)}.shell-body:has(.sell) main{padding:0}.sell{display:grid;grid-template-columns:minmax(0,1fr) 400px;grid-template-rows:auto 1fr;height:calc(100vh - var(--topbar-h));overflow:hidden;align-items:stretch}.sell-banners{grid-column:1 / -1;grid-row:1;display:flex;flex-direction:column}.sell-banner{padding:.4rem 1rem;font-size:.84rem;display:flex;align-items:center;gap:.5rem;border-bottom:1px solid transparent;flex-shrink:0}.sell-banner.warn{background:#fff6e0;border-color:#f1d9a0;color:#6b4a08}.sell-banner.info{background:#f3f5f7;border-color:#e4e8ec;color:#3a4754}.sell-banner button{margin-left:auto;padding:.2rem .65rem;min-height:0;font-size:.8rem;border-radius:7px;background:var(--surface);border:1px solid #E4E8EC;font-weight:600;white-space:nowrap}.catalog{grid-row:2;display:flex;flex-direction:column;height:100%;min-height:0;background:transparent;overflow:hidden}.catalog-top{display:flex;flex-direction:column;gap:.7rem;padding:.9rem 1rem .7rem;flex-shrink:0}.sell-searchbox{display:flex;align-items:center;gap:.55rem;height:48px;padding:0 .9rem;background:var(--surface);border:1px solid #E4E8EC;border-radius:12px;color:var(--muted);box-shadow:var(--shadow-sm)}.sell-searchbox:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px #17212b12}.sell-search{flex:1;min-width:0;border:0;background:transparent;padding:0;min-height:0;height:100%;font-size:1rem}.sell-search:focus{outline:none}.sell-searchbox kbd,.pay-btn kbd{font:inherit;font-size:.7rem;font-weight:700;padding:.05rem .4rem;border-radius:5px;border:1px solid #E4E8EC;color:#8a96a3;background:#f7f8fa}.sell-search-clear{border:0;background:none;min-height:0;padding:.2rem;display:grid;place-items:center;color:var(--muted)}.cat-tabs{display:flex;gap:.4rem;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.cat-tabs::-webkit-scrollbar{display:none}.cat-tabs button{flex-shrink:0;min-height:2.2rem;padding:.25rem .85rem;border-radius:999px;border:1px solid #E4E8EC;background:var(--surface);font-size:.86rem;font-weight:600;color:#3a4754;white-space:nowrap}.cat-tabs button small{color:#8a96a3;font-weight:600;margin-left:.15rem}.cat-tabs button.on{background:var(--ink);border-color:var(--ink);color:#fff}.cat-tabs button.on small{color:#b9c3cd}.plist{list-style:none;margin:0;padding:.1rem 1rem 1rem;overflow-y:auto;flex:1;align-content:start}.cat-row{display:flex;align-items:center;gap:.6rem;min-width:0}.cat-row .cat-tabs{flex:1;min-width:0}.sell-view{flex-shrink:0;margin-left:auto}.pcard-thumb{flex-shrink:0;width:44px;height:44px;border-radius:10px;object-fit:cover;display:grid;place-items:center;font-weight:800;font-size:.88rem;letter-spacing:.02em;background:#eef1f4}.pcard-thumb.small{width:38px;height:38px;border-radius:9px;font-size:.78rem}.pcard-thumb.large{width:100%;height:100%;border-radius:0}.pcard-stock{font-size:.7rem;font-weight:700;color:#157347;background:#e4f4ea;padding:.12rem .45rem;border-radius:999px;white-space:nowrap}.pcard-stock.low{color:var(--gold-ink);background:var(--gold-tint)}.pcard-stock.out{color:var(--red);background:#fdecea}.pcard-stock.incart{color:var(--ink);background:var(--gold)}.plist.as-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));grid-auto-rows:max-content;gap:.75rem}.pcard-main>*,.plist.as-list>li{flex-shrink:0}.pcard{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid #E4E8EC;border-radius:12px;overflow:hidden;transition:border-color .15s,box-shadow .15s}.pcard:hover:not(.out){border-color:#c9d1d9;box-shadow:0 4px 14px #17212b12}.pcard.in-cart{border-color:var(--gold);box-shadow:0 0 0 2px #e3a62b38}.pcard.out .pcard-main{opacity:.5}.pcard-main{display:flex;flex-direction:column;width:100%;text-align:left;border:0;border-radius:0;background:none;padding:0 0 .7rem;min-height:0;font-weight:400}.pcard-main:hover:not(:disabled){background:none}.pcard-main:disabled{cursor:not-allowed}.pcard-photo{position:relative;display:block;height:120px;background:#f3f5f7;margin-bottom:.55rem}.pcard-photo .pcard-stock{position:absolute;top:7px;right:7px;box-shadow:0 1px 2px #00000014}.pcard-name{padding:0 .7rem;font-weight:700;font-size:.9rem;line-height:1.25;color:var(--ink);height:2.5em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pcard-sub{padding:0 .7rem;margin-top:.15rem;font-size:.76rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcard-price{padding:0 .7rem;margin-top:.4rem;font-weight:800;font-size:1rem;color:var(--ink);white-space:nowrap}.pcard-price small,.prow-price small{font-size:.72rem;font-weight:600;color:var(--muted)}.pcard-qty{position:absolute;left:8px;right:8px;top:76px;display:flex;align-items:center;justify-content:space-between;gap:.3rem;padding:3px;border-radius:10px;background:#fffffff5;box-shadow:0 2px 8px #17212b26}.pcard-qty span{font-weight:800;font-size:.9rem}.pcard-qty{pointer-events:none}.pcard-qty button{pointer-events:auto}.pcard-qty button,.prow-qty button{width:32px;height:32px;min-height:0;padding:0;border-radius:8px;display:grid;place-items:center;background:var(--surface)}.pcard-qty button{border-color:#e9d6a8}.plist.as-list{display:flex;flex-direction:column;padding-top:0}.plist.as-list>li:not(.plist-empty){background:var(--surface);border:1px solid #E4E8EC;border-bottom-width:0}.plist.as-list>li:first-child{border-radius:12px 12px 0 0}.plist.as-list>li:nth-last-child(1 of:not(.plist-empty)){border-bottom-width:1px;border-radius:0 0 12px 12px}.plist.as-list>li:only-child{border-radius:12px}.prow{display:flex;align-items:center;gap:.4rem;padding-right:.6rem}.prow.in-cart{background:#fffbf1!important;box-shadow:inset 3px 0 0 var(--gold)}.prow.out .prow-main{opacity:.5}.prow-main{flex:1;min-width:0;display:flex;align-items:center;gap:.7rem;padding:.55rem .4rem .55rem .7rem;border:0;border-radius:0;background:none;text-align:left;font-weight:400;min-height:56px}.prow-main:hover:not(:disabled){background:none}.prow-text{flex:1;min-width:0;display:flex;flex-direction:column}.prow-name{font-weight:700;font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prow-sub{font-size:.76rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prow-price{font-weight:800;font-size:.98rem;white-space:nowrap;min-width:6.5rem;text-align:right}.prow-add{width:36px;height:36px;min-height:0;padding:0;border-radius:9px;display:grid;place-items:center;flex-shrink:0}.prow-qty{display:flex;align-items:center;gap:.3rem;flex-shrink:0}.prow-qty span{min-width:3.2rem;text-align:center;font-weight:800;font-size:.88rem}.prow-qty button{border-color:#e9d6a8}@media (max-width: 640px){.prow-main{gap:.55rem;padding-left:.55rem}.prow .pcard-stock{display:none}.prow-price{min-width:0;font-size:.92rem}.prow-qty span{min-width:2.2rem}.prow-name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;font-size:.9rem}.prow-qty{gap:.15rem}.prow-qty button{width:30px;height:30px}.plist.as-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.pcard-photo{height:104px}.pcard-qty{top:60px}}.plist-empty{grid-column:1/-1;color:var(--muted);padding:2rem;text-align:center;font-size:.92rem}.cart{grid-row:2;background:var(--surface);display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;border-left:1px solid #E4E8EC}.cart-header{display:flex;align-items:center;gap:.5rem;padding:.85rem 1rem .7rem;flex-shrink:0}.cart-title{flex:1;font-weight:800;font-size:1.05rem;display:flex;align-items:center;gap:.45rem}.cart-count{background:var(--ink);color:#fff;font-size:.72rem;font-weight:700;padding:.05rem .45rem;border-radius:999px;line-height:1.5}.cart-clear{width:36px;height:36px;min-height:0;padding:0;display:grid;place-items:center;border-radius:9px;color:var(--muted)}.cart-clear:hover:not(:disabled){color:var(--red);background:#fdecea;border-color:#f5c6c2}.cart-customer{display:flex;align-items:center;gap:.7rem;margin:0 1rem .6rem;padding:.6rem .7rem;border:1px dashed #C9D1D9;border-radius:12px;background:#f7f8fa;text-align:left;font-weight:400;min-height:0}.cart-customer:hover:not(:disabled){background:#f1f3f5}.cart-customer-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--surface);border:1px solid #E4E8EC;color:#5b6773;flex-shrink:0}.cart-customer-text{flex:1;display:flex;flex-direction:column;min-width:0}.cart-customer-text strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-customer-text small{font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart-customer-go{color:#8a96a3;flex-shrink:0}.lines{flex:1;min-height:0;overflow-y:auto;padding:0 1rem;border-top:1px solid #EEF1F4}.cart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;color:var(--muted);text-align:center;gap:.3rem}.cart-empty-icon{color:#c3cbd3}.cart-empty p{margin:.3rem 0 0;font-weight:700;font-size:.95rem;color:#3a4754}.cart-empty small{font-size:.82rem}.line{padding:.7rem 0;border-bottom:1px solid #EEF1F4}.line:last-child{border-bottom:0}.line-top{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;margin-bottom:.45rem}.line-name{font-weight:700;font-size:.9rem;line-height:1.3;flex:1;min-width:0;overflow-wrap:anywhere}.line-total{font-size:.95rem;font-weight:800;white-space:nowrap}.line-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .5rem}.line-unit button{padding:.2rem .55rem;min-height:30px;font-size:.78rem}.stepper{display:inline-flex;align-items:center;border:1px solid #E4E8EC;border-radius:9px;overflow:hidden}.stepper button{width:30px;height:30px;min-height:0;padding:0;border:0;border-radius:0;display:grid;place-items:center;background:#f7f8fa}.stepper input{width:3.2rem;min-height:0;height:30px;border:0;border-radius:0;padding:0 .2rem;text-align:center;font-weight:700;font-size:.88rem}.line-meta{flex:1;font-size:.76rem;color:var(--muted);overflow-wrap:anywhere}.line-remove{width:28px;height:28px;min-height:0;padding:0;border:0;background:none;color:#8a96a3;display:grid;place-items:center;border-radius:7px}.line-remove:hover:not(:disabled){color:var(--red);background:#fdecea}.totals{padding:.85rem 1rem 1rem;flex-shrink:0;border-top:1px solid #E4E8EC;background:#fafbfc}.totals-row{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.88rem;color:var(--muted);margin-bottom:.35rem}.totals-row span:last-child{color:var(--ink);font-weight:600}.totals-row input{width:6.5rem;min-height:0;height:32px;padding:0 .5rem;text-align:right;border-radius:8px;font-size:.88rem}.totals-grand{display:flex;justify-content:space-between;align-items:baseline;padding:.55rem 0 .75rem;margin-top:.25rem;border-top:1px dashed #D5DAE0}.totals-grand span{font-size:.95rem;font-weight:700}.totals-grand strong{font-size:1.9rem;font-weight:800;letter-spacing:-.02em;line-height:1}.cart-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.55rem}.cart-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:2.6rem;border-radius:10px;position:relative}.pay-btn{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;min-height:3.3rem;background:var(--ink);border:none;border-radius:12px;color:#fff;font-size:1.1rem;font-weight:800}.pay-btn:hover:not(:disabled){background:var(--ink-2)}.pay-btn:disabled{opacity:.35;cursor:not-allowed}.pay-btn kbd{background:#ffffff1f;border-color:#fff3;color:#d5dae0}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#17212b8c;display:grid;place-items:center;padding:1rem;z-index:45;overflow-y:auto}.modal{background:var(--surface);border-radius:12px;padding:1.2rem;width:min(480px,100%);max-height:94vh;overflow-y:auto}.modal.wide{width:min(720px,100%)}.modal header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.modal h2{margin:0}.due{display:flex;justify-content:space-between;align-items:baseline;background:var(--ink);color:#fff;padding:.8rem 1rem;border-radius:8px}.due strong{font-size:1.8rem;color:var(--gold)}.methods{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin:.5rem 0 .8rem}.methods button{min-height:3rem}.payrow{display:grid;grid-template-columns:5.5rem 1fr auto;gap:.5rem;align-items:center;margin-bottom:.45rem;font-weight:600}.summary{border-top:1px solid var(--line);margin-top:.8rem;padding-top:.6rem}.summary .row{display:flex;justify-content:space-between;padding:.2rem 0}.summary .ok strong{color:var(--green);font-size:1.2rem}.summary .warn strong{color:var(--red)}.credit{background:var(--amber-bg);border-radius:8px;padding:.8rem;margin-top:.6rem}.inline{display:flex;gap:.5rem}.login{min-height:100vh;min-height:100dvh;display:grid;background:#f4f6f8}.login-panel{display:flex;align-items:center;justify-content:center;padding:2rem 1.25rem}.login-card{width:min(400px,100%);background:var(--surface);border:1px solid #E4E8EC;border-radius:16px;padding:2.2rem 2rem;box-shadow:0 10px 30px #17212b0f}.login-card-header{margin-bottom:1.5rem}.login-card-header h2{margin:0 0 .3rem;font-size:1.35rem;font-weight:800;color:var(--ink);letter-spacing:-.015em}.login-card-header p{margin:0;color:var(--muted);font-size:.92rem}.login-field{display:block;margin-bottom:1rem}.login-field>span{display:block;font-size:.86rem;font-weight:600;color:#3a4754;margin-bottom:.35rem}.login-field input{width:100%;background:var(--surface);border:1px solid #D5DAE0;border-radius:10px;padding:.7rem .9rem;color:var(--ink);font-size:1rem;min-height:2.9rem;transition:border-color .15s,box-shadow .15s}.login-field input::placeholder{color:#9aa5b1}.login-field input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px #17212b14}.login-field .pw-wrap .pw-eye{color:#7a8794}.login-field .pw-wrap .pw-eye:hover{color:var(--ink);background:none}.login-error{background:#fdecea;border:1px solid #F5C6C2;color:#8c1d18;padding:.6rem .85rem;border-radius:8px;font-size:.9rem;margin-bottom:1rem}.login-btn{width:100%;min-height:3rem;background:var(--ink);border:none;border-radius:10px;color:#fff;font-size:1rem;font-weight:700;cursor:pointer;margin-top:.35rem;transition:background .15s}.login-btn:hover:not(:disabled){background:var(--ink-2)}.login-btn:disabled{opacity:.55;cursor:not-allowed}.toasts{position:fixed;bottom:1rem;right:1rem;display:grid;gap:.5rem;z-index:40}.toast{background:var(--ink);color:#fff;padding:.7rem 1rem;border-radius:8px;max-width:360px;box-shadow:0 4px 16px #00000040}.toast.err{background:var(--red)}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-block;border:2.5px solid var(--line);border-top-color:var(--indigo);border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}.refresh-indicator{position:fixed;top:.75rem;right:1rem;z-index:30;display:flex;align-items:center;gap:.35rem;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:.25rem .55rem;font-size:.75rem;color:var(--muted);box-shadow:0 1px 6px #00000014;pointer-events:none}@keyframes shimmer{0%{background-position:-400px 0}to{background-position:400px 0}}.skel{display:block;height:.85rem;border-radius:6px;background:linear-gradient(90deg,var(--line) 25%,#e8eaed 50%,var(--line) 75%);background-size:800px 100%;animation:shimmer 1.4s infinite linear}.skel-img{height:110px;border-radius:8px;width:100%!important;margin-top:0!important}.skel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem;margin-top:.5rem}.skel-card{background:var(--surface);border:1.5px solid var(--line);border-radius:12px;padding:.75rem .85rem .8rem}.receipt{font-family:Courier New,ui-monospace,monospace;font-size:.9rem;max-width:320px;margin:0 auto}.receipt h3{text-align:center;margin:0 0 .3rem;font-size:1.15rem}.receipt .center{text-align:center;margin:.1rem 0}.receipt .void{color:var(--red);font-weight:800}.receipt table td{border:0;padding:.15rem 0}.receipt .rule{border-top:1px dashed #888;margin:.5rem 0}.receipt .row{display:flex;justify-content:space-between}.receipt .total{font-weight:800;font-size:1.05rem}.receipt .thanks{margin-top:.8rem}@media print{body *{visibility:hidden}.print-area,.print-area *{visibility:visible}.print-area{position:absolute;left:0;top:0;width:80mm;max-width:80mm}.scrim{position:static;background:none}}@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}.page-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.page-toolbar-left{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;flex:1}.page-toolbar-left .search{max-width:280px}.chip{display:inline-flex;align-items:center;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:700;background:var(--paper);border:1px solid var(--line);color:var(--muted);white-space:nowrap}.chip-red{background:#fee2e2;border-color:#fecaca;color:#991b1b}.chip-muted{background:var(--paper);color:var(--muted);font-weight:400;font-size:.72rem;margin-left:.35rem}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem;margin-top:.5rem}.product-card{background:var(--surface);border:1.5px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .1s;display:flex;flex-direction:column}.product-card:hover{border-color:var(--indigo);box-shadow:0 3px 14px #2d3f8f1a;transform:translateY(-1px)}.product-card.inactive{opacity:.55}.product-card-img{width:100%;height:110px;object-fit:cover;background:var(--paper);flex-shrink:0}.product-card-img.placeholder{background:var(--paper);display:flex;align-items:center;justify-content:center;color:var(--line);font-size:2rem}.product-card-body{padding:.75rem .85rem .8rem;display:flex;flex-direction:column;gap:.2rem;flex:1}.product-card-name{font-weight:700;font-size:.9rem;line-height:1.3;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.product-card-sku{font-size:.75rem;color:var(--muted)}.product-card-prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:.05rem .5rem;margin-top:.15rem}.product-card-price small{display:block;font-size:.72rem;font-weight:600;color:var(--muted)}.product-card-prices{flex-direction:column;align-items:flex-start}.product-card-price{font-weight:800;font-size:1rem;color:var(--indigo)}.product-card-ws{font-size:.75rem;color:var(--muted)}.product-card-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.4rem;gap:.25rem .5rem}.product-card-cost{font-size:.74rem;color:var(--muted);margin-left:auto;text-align:right}.stock-badge{font-size:.72rem;font-weight:700;padding:.1rem .4rem;border-radius:999px;background:#d1fae5;color:#065f46}.stock-badge.low{background:#fef3c7;color:#92400e}.stock-badge.out{background:#fee2e2;color:#991b1b}.product-grid-empty{grid-column:1/-1;color:var(--muted);padding:3rem;text-align:center}.tab-bar{display:flex;border-bottom:2px solid var(--line);gap:0;margin-bottom:0}.tab-btn{border:none;background:none;border-bottom:2px solid transparent;margin-bottom:-2px;padding:.6rem 1.1rem;font-size:.9rem;font-weight:600;color:var(--muted);cursor:pointer;border-radius:0;min-height:0;transition:color .13s,border-color .13s}.tab-btn:hover{color:var(--ink);background:none}.tab-btn.active{color:var(--indigo);border-bottom-color:var(--indigo)}.report-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin-top:1rem}.report-kpi{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.75rem 1rem}.report-kpi span{display:block;font-size:.78rem;color:var(--muted);margin-bottom:.15rem}.report-kpi strong{font-size:1.2rem;font-weight:800}.report-kpi.key{background:var(--ink);border-color:var(--ink)}.report-kpi.key span{color:#8a9bad}.report-kpi.key strong{color:var(--gold)}.report-kpi.warn strong{color:var(--red)}.report-kpi.ok strong{color:var(--green)}.report-section-title{font-weight:700;font-size:.85rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:1.25rem 0 .5rem}.stock-alerts{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}.stock-alert{padding:.5rem .9rem;border-radius:8px;font-size:.86rem;border:1px solid transparent}.stock-alert.out{background:#fee2e2;border-color:#fecaca;color:#991b1b}.stock-alert.low{background:#fef3c7;border-color:#fde68a;color:#92400e}.supplier-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem;margin-top:.5rem}.supplier-card{background:var(--surface);border:1.5px solid var(--line);border-radius:12px;padding:1rem;display:flex;align-items:flex-start;gap:.85rem;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .1s}.supplier-card:hover{border-color:var(--indigo);box-shadow:0 2px 12px #2d3f8f1a;transform:translateY(-1px)}.supplier-avatar{width:40px;height:40px;border-radius:50%;background:var(--indigo);color:#fff;font-weight:800;font-size:1.1rem;display:grid;place-items:center;flex-shrink:0}.supplier-info{display:flex;flex-direction:column;gap:.18rem;min-width:0}.supplier-name{font-weight:700;font-size:.95rem}.supplier-detail{font-size:.8rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ok{color:var(--green)}tr.warn td{background:#fffbeb}.user-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin-top:.5rem}.user-card{background:var(--surface);border:1.5px solid var(--line);border-radius:12px;padding:1rem;display:flex;flex-direction:column;gap:.3rem;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .1s}.user-card:hover{border-color:var(--indigo);box-shadow:0 2px 12px #2d3f8f1a;transform:translateY(-1px)}.user-card.inactive{opacity:.55}.user-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.25rem}.user-avatar{width:40px;height:40px;border-radius:50%;background:var(--indigo);color:#fff;font-weight:800;font-size:1.1rem;display:grid;place-items:center;flex-shrink:0}.user-card-badges{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.user-card-name{font-weight:700;font-size:.95rem}.user-card-username{font-size:.8rem;color:var(--muted)}.user-card-actions{margin-top:.5rem;display:flex;gap:.4rem;align-items:center}.chip-green{background:#d1fae5;border-color:#a7f3d0;color:#065f46}.user-avatar-sm{width:30px;height:30px;border-radius:50%;background:var(--indigo);color:#fff;font-weight:800;font-size:.82rem;display:grid;place-items:center;flex-shrink:0}.audit-detail{background:var(--paper);border-top:1px solid var(--line);margin:0;padding:.75rem 1rem;font-size:.78rem;font-family:ui-monospace,monospace;color:var(--muted);white-space:pre-wrap;word-break:break-all;max-height:200px;overflow-y:auto}.hold-row{display:flex;gap:.5rem;margin-bottom:.6rem}.hold-row button{flex:1;font-size:.85rem;min-height:2.4rem}.held-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--line)}.held-row:last-child{border-bottom:0}.held-row>div:first-child{display:flex;flex-direction:column;gap:.2rem}.held-row strong{font-size:.92rem}.held-row small{color:var(--muted);font-size:.8rem}.held-badge{position:absolute;top:-5px;right:-5px;background:var(--red);color:#fff;font-size:.62rem;font-weight:800;min-width:16px;height:16px;border-radius:999px;display:grid;place-items:center;padding:0 3px;line-height:1;pointer-events:none}.pw-wrap{position:relative;display:flex;align-items:center}.pw-wrap input{padding-right:2.4rem}.pw-eye{position:absolute;right:.5rem;border:none;background:none;padding:.2rem;min-height:0;color:var(--muted);cursor:pointer;display:grid;place-items:center;border-radius:4px}.pw-eye:hover{color:var(--ink);background:none}.pw-eye svg{display:block}.queue-badge{position:relative;display:inline-flex}.queue-badge-count{position:absolute;top:-5px;right:-5px;background:var(--red);color:#fff;font-size:.65rem;font-weight:800;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;line-height:1}.topbar-menu,.side-close,.side-scrim,.cart-bar,.cart-close{display:none}html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}img,video{max-width:100%}@media (max-width: 900px){.shell{grid-template-columns:1fr}.shell-body{min-height:100vh;min-height:100dvh;grid-template-rows:var(--topbar-h) 1fr}.side{position:fixed;top:0;bottom:0;left:0;z-index:50;width:min(280px,84vw);height:100%;transform:translate(-102%);transition:transform .22s ease;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);box-shadow:none}.side.open{transform:none;box-shadow:0 0 40px #00000073}.side a{padding:.75rem .8rem;font-size:1rem;min-height:44px}.side-close{display:grid;place-items:center;position:absolute;top:.55rem;right:.6rem;width:40px;height:40px;padding:0;background:transparent;border:none;color:var(--muted);z-index:1}.shell.collapsed{grid-template-columns:1fr}.shell.collapsed .side-brand span,.shell.collapsed .side a span,.shell.collapsed .side-user-info{display:initial}.shell.collapsed .nav-label{visibility:visible;height:auto;padding:0 .6rem .35rem}.shell.collapsed .side a{justify-content:flex-start;padding:.75rem .8rem}.shell.collapsed .side-brand{justify-content:flex-start;padding:0 1.1rem}.collapse-btn,.gsearch,.topbar-user-text{display:none}.topbar-titles{flex:1;margin-right:0}.topbar-sub{display:none}.side-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:49;background:#17212b8c}.topbar{padding:0 .75rem;padding-left:max(.75rem,env(safe-area-inset-left));padding-right:max(.75rem,env(safe-area-inset-right));gap:.5rem}.topbar-menu{display:grid;place-items:center;width:44px;height:44px;padding:0;margin-left:-.4rem;border:none;background:transparent;flex-shrink:0}.topbar-right{gap:.4rem}main{padding:1rem;padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right));padding-bottom:calc(1rem + env(safe-area-inset-bottom))}.grid2{grid-template-columns:1fr}.methods{grid-template-columns:repeat(2,1fr)}.shell-body:has(.sell) main{padding:0}.sell{display:block;height:calc(100dvh - var(--topbar-h));position:relative;overflow:hidden}.sell-banners{position:relative}.catalog{height:100%;border-right:0;padding-bottom:64px}.plist{max-height:none;padding:.1rem .75rem 1rem}.catalog-top{padding:.7rem .75rem .5rem;gap:.55rem}.sell-searchbox{height:46px}.sell-searchbox kbd,.pay-btn kbd{display:none}.cart{border-left:0}.cart{position:fixed;inset:var(--topbar-h) 0 0 0;z-index:30;height:auto;transform:translateY(105%);visibility:hidden;transition:transform .22s ease,visibility 0s .22s}.sell.cart-open .cart{transform:none;visibility:visible;transition:transform .22s ease}.cart-close{display:inline-flex;align-items:center;gap:.15rem;min-height:2.4rem;padding:.2rem .6rem .2rem .35rem;border-radius:9px}.cart-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;position:fixed;left:0;right:0;bottom:0;z-index:25;width:100%;min-height:56px;padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom));border:none;border-radius:0;background:var(--ink);color:#fff;font-size:1rem;font-weight:700}.cart-bar:hover:not(:disabled){background:var(--ink-2)}.cart-bar strong{color:#fff;font-size:1.15rem}.sell.cart-open .cart-bar{display:none}.totals{padding-bottom:calc(.8rem + env(safe-area-inset-bottom))}.totals-row input{height:2.4rem;font-size:1rem}.stepper button{width:38px;height:38px}.stepper input{height:38px;font-size:1rem}.line-remove{width:38px;height:38px}.line-unit button{min-height:38px}.page-toolbar-left .search,.filters .search{max-width:none;flex:1 1 100%}.refresh-indicator{top:.6rem;right:4.5rem}}@media (max-width: 640px){:root{font-size:15px}input,select,textarea{font-size:16px;min-height:2.75rem}button{min-height:2.75rem}h1{font-size:1.35rem}.status-text,.btn-sell span{display:none}.topbar-status{padding:.4rem}.btn-sell{padding:0 .7rem}.head{flex-direction:column;align-items:stretch}.filters{gap:.6rem}.filters>.field{flex:1 1 140px}.actions{flex-direction:column}.actions>button{width:100%}.sales-topbar{flex-direction:column;align-items:stretch;gap:.75rem}.sales-summary{display:grid;grid-template-columns:1fr 1fr}.sales-stat{min-width:0}.stats,.report-kpis{grid-template-columns:1fr 1fr}.stats strong{font-size:1.15rem}.tab-bar{overflow-x:auto;-webkit-overflow-scrolling:touch}.tab-btn{white-space:nowrap;padding:.7rem .9rem}.product-grid,.supplier-grid,.user-grid,.skel-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.tablewrap.narrow{max-width:none}.scrim{place-items:end center;padding:0}.modal,.modal.wide{width:100%;max-height:92dvh;border-radius:16px 16px 0 0;padding:1rem;padding-bottom:calc(1rem + env(safe-area-inset-bottom))}.modal header button{min-height:2.5rem;padding:.25rem .75rem}.payrow{grid-template-columns:4.5rem 1fr auto}.due strong{font-size:1.5rem}.held-row{flex-wrap:wrap}.toasts{left:.75rem;right:.75rem;bottom:calc(.75rem + env(safe-area-inset-bottom))}.toast{max-width:none}.toasts{z-index:60}.qty-input{width:100%;max-width:6rem}.tablewrap{background:transparent;border:0;overflow:visible}table.stackable,table.stackable tbody,table.stackable tr,table.stackable td{display:block;width:100%}table.stackable thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}table.stackable tr{background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:.6rem;padding:.25rem .8rem}table.stackable tr:last-child td{border-bottom:1px solid var(--line)}table.stackable td{display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:right;padding:.5rem 0;border-bottom:1px solid var(--line)}table.stackable td:last-child,table.stackable td:last-child:not([data-label]){border-bottom:0}table.stackable td[data-label]:before{content:attr(data-label);flex-shrink:0;text-align:left;font-size:.8rem;font-weight:600;color:var(--muted)}table.stackable td:not([data-label]){justify-content:center;text-align:center}table.stackable td.acts{justify-content:flex-end;flex-wrap:wrap;gap:.4rem}table.stackable td.acts button{margin-left:0;min-height:2.5rem;flex:1 1 auto}table.stackable td.empty{display:block;border:0}table.stackable tr.sum td{background:transparent}table.stackable td input{text-align:right}.modal .tablewrap[style]{max-height:none!important}.receipt table{display:table}.login-panel{padding:1.25rem .9rem}.login-card{padding:1.6rem 1.2rem}}@media (max-width: 380px){.sales-summary,.stats,.report-kpis{grid-template-columns:1fr}.plist{padding:.1rem .5rem 1rem}.methods{grid-template-columns:1fr 1fr}.topbar-title{font-size:.98rem}}@media (max-height: 480px) and (max-width: 900px){.cart-empty{padding:1rem}.totals-grand strong{font-size:1.5rem}}@media (hover: none){.pcard:hover:not(.out),.product-card:hover,.supplier-card:hover,.user-card:hover{transform:none}}.shift-now{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 1rem}.shift-now>div{display:flex;flex-direction:column;min-width:0}.shift-now small{color:var(--muted)}.cart-shift{display:none}@media (max-width: 900px){.sell-banner{padding:.5rem .85rem;font-size:.9rem;flex-wrap:wrap;row-gap:.35rem}.sell-banner button{min-height:2.4rem;padding:.3rem .9rem;font-size:.88rem;font-weight:700;border-radius:8px}.cart-shift{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin:0 1rem .6rem;padding:.45rem .7rem;border-radius:10px;background:#f3f5f7;font-size:.86rem;flex-shrink:0}.cart-shift button{min-height:2.4rem;font-size:.88rem}.shift-now{flex-direction:column;align-items:stretch}.shift-now button{width:100%}}@media (max-width: 640px){input[type=checkbox]{width:22px;height:22px}.check{min-height:2.75rem}}.customer-pick{border:1px solid var(--line);border-radius:10px;padding:.8rem;margin-top:.8rem;background:var(--surface)}.customer-pick.required{background:var(--amber-bg);border-color:#ebcb7a}.customer-pick-head{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;flex-wrap:wrap;margin-bottom:.5rem}.customer-pick-head .hint{font-size:.82rem}.customer-results{list-style:none;margin:.4rem 0 0;padding:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}.customer-results li+li{border-top:1px solid var(--line)}.customer-results button{display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:100%;border:0;border-radius:0;text-align:left;min-height:2.75rem;background:transparent;font-weight:600}.customer-results button small{font-weight:400;text-align:right}.customer-none{padding:.7rem;color:var(--muted);font-size:.88rem;text-align:center}.customer-add{width:100%;margin-top:.5rem;border-style:dashed;color:var(--indigo)}.customer-chosen{display:flex;justify-content:space-between;align-items:center;gap:.75rem;background:var(--paper);border-radius:8px;padding:.6rem .75rem}.customer-chosen>div{display:flex;flex-direction:column;min-width:0}.customer-chosen strong{overflow-wrap:anywhere}.customer-new{display:grid;gap:.5rem}.customer-new-actions{display:flex;gap:.5rem;justify-content:flex-end}@media (max-width: 640px){.customer-new-actions>button{flex:1}.modal .sticky-actions{position:sticky;bottom:calc(-1rem - env(safe-area-inset-bottom));margin:1rem -1rem calc(-1rem - env(safe-area-inset-bottom));padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}.customer-results button{min-height:3rem}}.bulk-mode{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:var(--paper);border-radius:8px;padding:.6rem .8rem;margin-bottom:.9rem}.bulk-mode>span{font-weight:600;font-size:.92rem}.bulk-mode small{flex-basis:100%}@media (max-width: 640px){.bulk-mode .seg{width:100%}.bulk-mode .seg button{flex:1}}.login-stack{width:min(380px,100%)}.login-head{display:flex;flex-direction:column;align-items:center;gap:.7rem;margin-bottom:1.6rem;text-align:center}.login-mark{width:44px;height:44px}.login-head h1{margin:0;font-size:1.35rem;font-weight:800;color:var(--ink);letter-spacing:-.02em;overflow-wrap:anywhere}.login-forgot-link{display:block;margin:1rem auto 0;font-size:.88rem}.login-stack .login-card{width:100%}.login-link{background:none;border:none;padding:.35rem;min-height:0;color:#3a4754;font-weight:700;font-size:.92rem;cursor:pointer}.login-link:hover:not(:disabled){background:none;text-decoration:underline}.login-back{display:block;margin:.8rem auto 0;color:var(--muted);font-weight:600}.login-show{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.88rem;margin:-.3rem 0 1rem}.login-show input{width:18px;height:18px;min-height:0}.login-note{background:#fff6e0;border:1px solid #F1D9A0;color:#6b4a08;padding:.65rem .9rem;border-radius:8px;font-size:.9rem;margin-bottom:1rem}.topbar-dropdown-item{display:flex;align-items:center;gap:.5rem;width:100%;text-align:left;padding:.7rem 1rem;font-size:.88rem;background:none;border:none;border-radius:0;min-height:0;font-weight:600}.topbar-dropdown-item:hover{background:var(--paper)}.force-pw{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1rem;background:#f4f6f8}.force-pw-card{width:min(440px,100%);background:var(--surface);border:1px solid #E4E8EC;border-radius:16px;padding:1.6rem;box-shadow:0 10px 30px #17212b0f}.force-pw-card h1{color:var(--ink);margin:0 0 .2rem;font-size:1.3rem}.force-pw-card h2{margin:0 0 .6rem;font-size:1.05rem}.force-pw-card>.ghost{display:block;margin:.8rem auto 0}.recovery-status{background:var(--paper);border-radius:8px;padding:.6rem .8rem;margin:.6rem 0 1rem}.recovery-status.low{background:var(--amber-bg)}.recovery-sheet{border:1px dashed var(--line);border-radius:10px;padding:.9rem 1rem;margin-top:.8rem;display:grid;gap:.2rem}.recovery-sheet ol{list-style:decimal;margin:.5rem 0 0;padding-left:1.4rem;display:grid;grid-template-columns:1fr 1fr;gap:.35rem 1.5rem}.recovery-sheet code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:1.05rem;font-weight:700;letter-spacing:.04em;-webkit-user-select:all;user-select:all}.dot-alert{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red);margin-left:.45rem;vertical-align:middle}@media (max-width: 400px){.recovery-sheet ol{grid-template-columns:1fr}}@media print{.recovery-sheet ol{grid-template-columns:1fr}.recovery-sheet{border:0}}.bulk-explain{background:var(--paper);border-radius:8px;padding:.6rem .8rem;margin:0 0 .9rem}.stock-unit{margin-top:.4rem}.toolbar-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.import-actions{margin:.2rem 0 .8rem}.import-mode{border:1px solid var(--line);border-radius:8px;padding:.5rem .8rem .3rem;margin:.4rem 0 .8rem}.import-mode legend{font-weight:600;font-size:.9rem;padding:0 .3rem}.import-mode .check{white-space:normal;min-height:2.2rem}.import-mode input[type=radio]{width:18px;height:18px;min-height:0}.chips-row{display:flex;gap:.4rem;flex-wrap:wrap;margin:.6rem 0}.import-msg{font-size:.8rem;color:#92400e;margin-top:.15rem}.import-msg.err{color:var(--red);font-weight:600}.import-problems{padding-left:1.1rem;font-size:.88rem;max-height:220px;overflow-y:auto}@media (max-width: 640px){.toolbar-buttons{width:100%}.toolbar-buttons>button{flex:1}.import-actions button{width:100%}}.viz-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem 1rem;margin:1rem 0 .4rem}.viz-filters .filters{margin:0}.viz-presets{flex-wrap:wrap}.viz-presets button{font-size:.85rem;padding:.4rem .75rem}.viz-compare{margin:.2rem 0 0}.kpi-delta{display:block;margin-top:.2rem;font-size:.74rem;color:var(--muted)}.kpi-delta.up{color:var(--green)}.kpi-delta.down{color:var(--red)}.report-kpi.key .kpi-delta{color:#b9c3cd}.report-kpi.key .kpi-delta.up{color:#7bd3a6}.report-kpi.key .kpi-delta.down{color:#ff9c95}.viz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-top:1rem}.viz-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem 1rem;min-width:0}.viz-panel.wide{grid-column:1 / -1}.viz-panel header{margin-bottom:.4rem}.viz-panel h3{margin:0;font-size:.98rem;font-weight:700}.viz-panel header p{margin:.15rem 0 0;font-size:.8rem;color:var(--muted)}.viz-panel .tablewrap{margin-top:.6rem}.seg-bar{display:flex;gap:2px;height:44px;border-radius:6px;overflow:hidden;margin:.6rem 0 .5rem}.seg-bar>div{display:flex;align-items:center;padding:0 .6rem;min-width:4px}.seg-bar span{color:#fff;font-weight:700;font-size:.85rem}.seg-legend{list-style:none;margin:0;padding:0;display:grid;gap:.3rem;font-size:.88rem}.seg-legend li{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.seg-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.seg-legend small{color:var(--muted)}@media (max-width: 900px){.viz-grid{grid-template-columns:1fr}}@media (max-width: 640px){.viz-panel{padding:.75rem .6rem .8rem}.viz-presets{width:100%}.viz-presets button{flex:1 1 auto}}.viz-filters+.viz-compare,.viz-compare{margin:.2rem 0 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.viz-filters~.report-kpis{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}.viz-filters~.report-kpis .report-kpi strong{font-size:clamp(1rem,1.6vw,1.2rem);overflow-wrap:anywhere;display:block}.report-kpi .kpi-delta span{display:inline;margin:0;font-size:inherit;color:inherit}.report-kpi .kpi-delta span.sr-only{position:absolute}.adm-auth{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1.25rem;background:#f4f6f8}.adm-auth-card{width:min(420px,100%)}.adm-auth-card .login-field{display:block}.adm-auth-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1.4rem}.adm-auth-brand strong{display:block;color:var(--ink);font-size:1.25rem;font-weight:800;letter-spacing:-.01em}.adm-auth-brand span{color:var(--muted);font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.adm-logo{flex-shrink:0}.adm-auth-foot{display:flex;align-items:center;justify-content:center;gap:.35rem;margin:1rem 0 0;color:#7a8fa3;font-size:.8rem}.adm{min-height:100vh;background:linear-gradient(180deg,#E6EAF2 0,var(--paper) 320px)}.adm-head{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem clamp(1rem,4vw,2.5rem);background:#17212bf7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#e9edf1}.adm-brand{display:flex;align-items:center;gap:.55rem}.adm-brand strong{font-size:1.08rem;font-weight:800;color:#fff}.adm-tag{font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);background:var(--gold);padding:.12rem .45rem;border-radius:999px}.adm-menu{position:relative}.adm-me{display:flex;align-items:center;gap:.5rem;background:#ffffff0f;border:1px solid rgba(255,255,255,.1);color:#e9edf1;border-radius:999px;padding:.25rem .65rem .25rem .25rem;min-height:0;font-weight:600}.adm-me:hover:not(:disabled){background:#ffffff1f}.adm-me-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--ink);font-weight:800;font-size:.8rem;flex-shrink:0}.adm-me-avatar.lg{width:38px;height:38px;font-size:.9rem}.adm-menu .topbar-dropdown{color:var(--ink);min-width:230px}.adm-menu .topbar-dropdown-item,.adm-menu .topbar-dropdown-signout{display:flex;align-items:center;gap:.5rem}.adm-main{max-width:1180px;margin:0 auto;padding:clamp(1rem,3vw,2rem) clamp(1rem,4vw,2.5rem) 3rem}.adm-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}.adm-hero h1{margin:0;font-size:clamp(1.4rem,3vw,1.9rem);letter-spacing:-.02em}.adm-hero p{margin:.25rem 0 0;color:var(--muted)}.adm-new{display:inline-flex;align-items:center;gap:.4rem;min-height:2.75rem;padding:.5rem 1.1rem;border-radius:10px;box-shadow:0 6px 18px #2d3f8f40}.adm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.adm-stat{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.7rem;align-items:center;text-align:left;background:var(--surface);border:1.5px solid transparent;border-radius:14px;padding:.85rem 1rem;min-height:0;box-shadow:0 1px 2px #17212b0f;font-weight:400}.adm-stat:hover:not(:disabled){background:#fff;border-color:var(--line)}.adm-stat.on{border-color:var(--indigo);box-shadow:0 0 0 3px #2d3f8f1f}.adm-stat-icon{grid-row:span 2;width:38px;height:38px;border-radius:10px;display:grid;place-items:center}.adm-stat-label{font-size:.8rem;color:var(--muted);font-weight:600}.adm-stat strong{font-size:1.45rem;font-weight:800;line-height:1.1}.s-all .adm-stat-icon{background:#e8ecf8;color:var(--indigo)}.s-active .adm-stat-icon{background:#ddf3e8;color:var(--green)}.s-suspended .adm-stat-icon{background:#fbe6e4;color:var(--red)}.s-waiting .adm-stat-icon{background:var(--amber-bg);color:#92400e}.adm-search{display:flex;align-items:center;gap:.5rem;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 .85rem;margin-bottom:1rem;color:var(--muted)}.adm-search input{border:0;background:transparent;padding-left:0}.adm-search input:focus{outline:none}.adm-search:focus-within{border-color:var(--indigo);box-shadow:0 0 0 3px #2d3f8f1f}.adm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1rem}.adm-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.1rem;display:flex;flex-direction:column;gap:.9rem;box-shadow:0 1px 2px #17212b0d,0 8px 24px #17212b0a;transition:box-shadow .15s,transform .15s}.adm-card:hover{box-shadow:0 2px 4px #17212b0f,0 14px 32px #17212b14}.adm-card.off{background:#fbfbfc}.adm-card.off .adm-avatar{filter:grayscale(1);opacity:.6}.adm-card>header{display:flex;align-items:center;gap:.75rem}.adm-avatar{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:.02em;flex-shrink:0}.adm-card-title{min-width:0;flex:1}.adm-card-title h3{margin:0;font-size:1.02rem;font-weight:800;overflow-wrap:anywhere}.adm-card-title p{margin:.1rem 0 0;color:var(--muted);font-size:.85rem}.adm-pill{font-size:.72rem;font-weight:800;padding:.22rem .6rem;border-radius:999px;white-space:nowrap}.adm-pill.on{background:#ddf3e8;color:#065f46}.adm-pill.off{background:#fbe6e4;color:#991b1b}.adm-cred{background:var(--paper);border-radius:12px;padding:.7rem .8rem;display:grid;gap:.45rem}.adm-cred-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.2rem .5rem}.adm-cred-row span{grid-column:1 / -1}.adm-cred-row span{font-size:.78rem;color:var(--muted);font-weight:600}.adm-cred-row code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-weight:700;font-size:.95rem;background:var(--surface);border:1px solid var(--line);padding:.2rem .5rem;border-radius:8px;-webkit-user-select:all;user-select:all;overflow-wrap:anywhere}.adm-cred-foot{display:flex;align-items:flex-start;gap:.4rem;flex-wrap:wrap;font-size:.8rem;font-weight:600}.adm-cred-foot>svg{flex-shrink:0;margin-top:.1rem}.adm-cred-foot>span{flex:1 1 12rem}.adm-cred-foot.pending{color:#92400e}.adm-cred-foot.done{color:#065f46}.adm-cred-foot .adm-copy{margin-left:auto}.adm-copy{display:inline-flex;align-items:center;gap:.3rem;min-height:0;padding:.3rem .6rem;font-size:.78rem;border-radius:8px;background:var(--surface)}.adm-copy.icon-only{padding:.35rem;color:var(--muted)}.adm-notes{margin:0;font-size:.85rem;color:var(--muted);border-left:3px solid var(--line);padding-left:.6rem}.adm-card>footer{display:grid;gap:.55rem;margin-top:auto;padding-top:.2rem}.adm-actions{display:flex;flex-wrap:wrap;gap:.4rem}.adm-actions button{flex:1 1 auto}.adm-actions button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:2.4rem;padding:.3rem .7rem;font-size:.84rem;border-radius:9px;white-space:nowrap}.adm-muted{color:var(--muted);font-size:.8rem;margin:0}.adm-empty{text-align:center;background:var(--surface);border:1.5px dashed var(--line);border-radius:16px;padding:3rem 1rem;color:var(--muted)}.adm-empty h3{color:var(--ink);margin:.6rem 0 .2rem}.adm-empty p{margin:0 0 1rem}.adm-empty .primary{display:inline-flex;align-items:center;gap:.4rem}.adm-created{display:flex;gap:.75rem;align-items:flex-start;color:var(--green);margin-bottom:.9rem}.adm-created p{margin:0;color:var(--ink)}@media (max-width: 900px){.adm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.adm-grid{grid-template-columns:1fr}.adm-me-name{display:none}.adm-me{padding-right:.45rem}.adm-new{width:100%;justify-content:center}.adm-actions button{min-height:2.6rem;padding:.3rem .55rem}.adm-stat{padding:.7rem .75rem;column-gap:.55rem}.adm-stat-icon{width:32px;height:32px}.adm-stat strong{font-size:1.25rem}}.size-chip{display:inline-block;margin-left:.35rem;padding:.05rem .45rem;border-radius:999px;background:#e8ecf8;color:var(--indigo);font-size:.72rem;font-weight:700;vertical-align:middle;white-space:nowrap}.daily-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.75rem 1rem;margin:1rem 0 .4rem}.daily-date{display:flex;align-items:flex-end;gap:.4rem}.daily-date .field{margin:0}.daily-date>button:not(.ghost){min-width:2.5rem;font-size:1.2rem;line-height:1;padding:.4rem .6rem}.daily-actions{display:flex;flex-wrap:wrap;gap:.5rem}.daily-head h2{margin:.4rem 0 .1rem;font-size:1.15rem}.daily-head p{margin:0;color:var(--muted);font-size:.86rem}.daily-report tr.clickable{cursor:pointer}.daily-report .report-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.daily-sales td:first-child,.daily-sales td:nth-child(2){white-space:nowrap}.daily-report tr.clickable:hover td{background:var(--paper)}.cash-check{margin-top:.8rem;border-top:1px dashed var(--line);padding-top:.6rem;font-size:.9rem}.cash-check>div{display:flex;justify-content:space-between;gap:1rem;padding:.15rem 0}.cash-check>div span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}.cash-check .total{font-weight:800;font-size:1rem;border-top:1px solid var(--line);margin-top:.3rem;padding-top:.4rem}.cash-check .hint{margin:.3rem 0 0}.daily-foot{display:none}@media (max-width: 640px){.daily-toolbar{flex-direction:column;align-items:stretch}.daily-date .field{flex:1}.daily-date .field input{width:100%}.daily-actions button{flex:1}}@media print{body.print-report .daily-report,body.print-report .daily-report *{visibility:visible}body.print-report .daily-report{position:absolute;left:0;top:0;width:100%}body.print-report .side,body.print-report .topbar,body.print-report .tab-bar{display:none}.daily-report .no-print{display:none!important}.daily-report .daily-foot{display:block}.daily-report .viz-grid{grid-template-columns:1fr 1fr}.daily-report .viz-panel,.daily-report tr{break-inside:avoid}.daily-report .tablewrap{overflow:visible}.daily-report .report-kpis{grid-template-columns:repeat(4,1fr)}}.adm-clear-lists{display:grid;grid-template-columns:1.4fr 1fr;gap:.5rem 1rem;margin:.6rem 0 .8rem;font-size:.9rem}.adm-clear-lists h4{margin:0 0 .25rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.adm-clear-lists ul{margin:0;padding-left:1.1rem}.adm-clear-lists li{margin:.15rem 0}.adm-clear-stock{white-space:normal;align-items:flex-start;font-weight:600}.adm-clear-stock input{margin-top:.2rem}.adm-clear .hint{margin:.25rem 0 .8rem}@media (max-width: 520px){.adm-clear-lists{grid-template-columns:1fr}}.adm-clear-scope{display:flex;width:100%;margin:.2rem 0 .8rem}.adm-clear-scope button{flex:1;border:0;border-radius:0;font-size:.88rem}.adm-clear-scope button.on{background:var(--ink);color:#fff}.adm-clear-none{padding:.6rem 0;color:var(--muted)}.vpick{display:grid;gap:1rem}.vpick-group h3{margin:0 0 .45rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.vpick-group h3 span{text-transform:none;letter-spacing:0;color:var(--ink)}.vpick-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:.45rem}.vchip{display:flex;flex-direction:column;align-items:center;gap:.1rem;min-height:3.4rem;padding:.45rem .5rem;border:1.5px solid var(--line);border-radius:10px;background:var(--surface);font-weight:700}.vchip span{font-size:.95rem}.vchip small{font-size:.72rem;font-weight:500;color:var(--muted)}.vchip.size span{font-size:1.05rem}.vpick .vchip.on,.vpick .vchip.on:hover{border-color:var(--ink);background:var(--ink);color:#fff}.vpick .vchip.on small{color:#b9c3cd}.vchip:hover:not(:disabled):not(.on){border-color:var(--indigo)}.vchip:disabled{opacity:.4;text-decoration:line-through;cursor:not-allowed}.multi-toggle{font-weight:700;white-space:normal;padding:.55rem .7rem;border:1px dashed var(--line);border-radius:8px;background:var(--paper)}.multi-toggle small{font-weight:400;color:var(--muted)}.variant-box{display:grid;gap:.2rem;padding:.8rem;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.chips-input{display:grid;gap:.4rem}.chips{display:flex;flex-wrap:wrap;gap:.35rem}.chips:empty{display:none}.chip-tag{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem .25rem .2rem .6rem;border-radius:999px;background:var(--ink);color:#fff;font-size:.85rem;font-weight:700}.chip-tag button{border:0;background:transparent;color:#b9c3cd;min-height:0;padding:0 .35rem;font-size:1rem;line-height:1}.chips-entry{display:flex;gap:.4rem}.chips-entry input{flex:1;min-width:0}.chips-quick{display:flex;flex-wrap:wrap;gap:.3rem}.chips-quick button{min-height:2rem;padding:.15rem .6rem;font-size:.82rem;border-radius:999px}.combo-list{margin-top:.4rem;border:1px solid var(--line);border-radius:8px;background:var(--surface);max-height:300px;overflow-y:auto}.combo-head{display:flex;justify-content:space-between;gap:.5rem;padding:.45rem .7rem;font-size:.76rem;color:var(--muted);border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface)}.combo-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.3rem .7rem;border-bottom:1px solid var(--line)}.combo-row:last-child{border-bottom:0}.combo-row span{font-weight:600}.combo-row input{width:6.5rem;min-height:2.2rem;text-align:right}.combo-row.exists{color:var(--muted)}.combo-row.exists small{font-size:.78rem}.product-card-variants{display:grid;gap:.05rem;font-size:.76rem;color:var(--indigo);font-weight:600}.product-card-variants span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-card-price small{font-size:.72rem;font-weight:600;color:var(--muted)}.style-sum{margin:0 0 .2rem}.style-setall{display:grid;grid-template-columns:1fr 1fr auto;gap:.6rem;align-items:end;margin-top:1rem}.style-setall .field{margin:0}.style-setall button{min-height:2.6rem}tr.muted-row td{opacity:.55}@media (max-width: 640px){.style-setall{grid-template-columns:1fr 1fr}.style-setall button{grid-column:1 / -1}}.dash{max-width:1320px}.dash-hero{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.8rem 1rem;margin-bottom:1rem}.dash-hero h2{margin:0;font-size:1.15rem;font-weight:800}.dash-hero p{margin:.15rem 0 0;color:var(--muted);font-size:.9rem}.dash-hero p strong{color:var(--gold-ink)}.dash-periods{background:var(--surface);border-color:#e4e8ec;border-radius:10px}.dash-periods button{font-size:.85rem;padding:.45rem .85rem;min-height:2.4rem}.dash-periods button.on{background:var(--gold);color:var(--ink)}.dash-alert{display:flex;align-items:center;gap:.6rem;padding:.65rem .9rem;margin-bottom:1rem;border-radius:10px;background:#fdecea;color:#8c1d18;font-size:.9rem}.dash-alert span{flex:1}.dash-alert a{color:inherit;font-weight:700}.dash-alert button{color:inherit;min-height:0;padding:.2rem}.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.dash-kpi{display:flex;align-items:center;gap:.8rem;padding:1.05rem 1.1rem;border-radius:14px;color:#fff;box-shadow:var(--shadow-sm);min-width:0}.dash-kpi.gold{background:var(--gold);color:var(--ink)}.dash-kpi.ink{background:var(--ink)}.dash-kpi.green{background:#157347}.dash-kpi.indigo{background:var(--indigo)}.dash-kpi-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#ffffff2e;flex-shrink:0}.dash-kpi.gold .dash-kpi-icon{background:#17212b1a}.dash-kpi-body{display:flex;flex-direction:column;min-width:0}.dash-kpi-label{font-size:.82rem;font-weight:600;opacity:.9}.dash-kpi-body strong{font-size:clamp(1.1rem,1.55vw,1.45rem);font-weight:800;letter-spacing:-.01em;white-space:nowrap}.dash-change{margin-top:.15rem;font-size:.76rem;font-weight:700;display:inline-flex;gap:.25rem;align-items:baseline;flex-wrap:wrap}.dash-change small{color:inherit;opacity:.8;font-weight:500}.dash-change.none,.dash-change.plain{font-weight:500;opacity:.85}.dash-kpi:not(.gold) .dash-change.up{color:#9ee6bf}.dash-kpi:not(.gold) .dash-change.down{color:#ffb4ab}.dash-kpi.gold .dash-change.up{color:#0f5132}.dash-kpi.gold .dash-change.down{color:#8c1d18}.dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1rem}.dash-stat{background:var(--surface);border:1px solid #E4E8EC;border-radius:14px;padding:1rem 1.1rem .8rem;box-shadow:var(--shadow-sm);min-width:0}.dash-stat-top{display:flex;justify-content:space-between;gap:.6rem}.dash-stat-top>div{display:flex;flex-direction:column;min-width:0}.dash-stat-top strong{font-size:1.25rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash-stat-top span{font-size:.84rem;color:var(--muted)}.dash-stat-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;flex-shrink:0}.dash-stat-icon.blue{background:#e7f0fc;color:#1f5fae}.dash-stat-icon.green{background:#e4f4ea;color:#157347}.dash-stat-icon.gold{background:var(--gold-tint);color:var(--gold-ink)}.dash-stat-icon.red{background:#fdecea;color:var(--red)}.dash-stat-foot{display:flex;justify-content:space-between;gap:.5rem;margin-top:.75rem;padding-top:.6rem;border-top:1px solid #EEF1F4;font-size:.78rem;color:var(--muted)}.dash-stat-foot a{color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}.dash-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}.dash-card{background:var(--surface);border:1px solid #E4E8EC;border-radius:14px;box-shadow:var(--shadow-sm);padding:1rem 1.1rem;min-width:0}.dash-card.span-2{grid-column:span 2}.dash-card.span-3{grid-column:1 / -1}.dash-card>header{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin:-.1rem 0 .7rem}.dash-card h2{display:flex;align-items:center;gap:.55rem;margin:0;font-size:1rem;font-weight:700}.dash-card-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--gold-tint);color:var(--gold-ink)}.dash-card-note{font-size:.82rem;color:var(--muted);font-weight:600}.dash-link{display:inline-flex;align-items:center;gap:.25rem;font-size:.82rem;font-weight:700;color:var(--indigo);text-decoration:none;white-space:nowrap}.dash-empty{color:var(--muted);font-size:.9rem;padding:1.2rem 0;text-align:center;margin:0}.dash-foot-note{margin:.6rem 0 0;font-size:.76rem;color:var(--muted)}.dash-methods{list-style:none;margin:0;padding:0;display:grid;gap:.8rem}.dash-methods li>div{display:flex;justify-content:space-between;font-size:.9rem;margin-bottom:.3rem}.dash-bar{display:block;height:8px;border-radius:999px;background:#eef1f4;overflow:hidden}.dash-bar i{display:block;height:100%;border-radius:999px;background:#2a78d6}.dash-list{list-style:none;margin:0;padding:0}.dash-list li{display:flex;align-items:center;gap:.7rem;padding:.55rem 0;border-top:1px solid #F1F3F5;font-size:.9rem}.dash-list li:first-child{border-top:0}.dash-name{flex:1;min-width:0;display:flex;flex-direction:column;font-weight:600;overflow:hidden}.dash-name,.dash-name small{white-space:nowrap;text-overflow:ellipsis}.dash-name small{font-weight:400;font-size:.76rem;overflow:hidden}.dash-rank{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#f3f5f7;font-weight:800;font-size:.8rem;flex-shrink:0}.dash-list li:first-child .dash-rank{background:var(--gold)}.dash-thumb{width:34px;height:34px;border-radius:8px;object-fit:cover;flex-shrink:0}.dash-thumb.blank{background:#f3f5f7}.dash-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e7f0fc;color:#1f5fae;font-weight:800;font-size:.82rem;flex-shrink:0}.dash-pill{font-size:.76rem;font-weight:700;padding:.15rem .55rem;border-radius:999px;white-space:nowrap}.dash-pill.out{background:#fdecea;color:var(--red)}.dash-pill.low{background:var(--gold-tint);color:var(--gold-ink)}.tablewrap.flat{border:0;margin-top:0;border-radius:0}@media (max-width: 1150px){.dash-kpis,.dash-stats,.dash-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-card.span-2{grid-column:1 / -1}}@media (max-width: 640px){.dash-kpis,.dash-stats,.dash-grid{grid-template-columns:1fr;gap:.75rem}.dash-kpi{padding:.9rem 1rem}.dash-kpi-body strong{font-size:1.3rem}.dash-periods{width:100%}.dash-periods button{flex:1;padding:.45rem .3rem}}:root{--wm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg transform='rotate(-18 100 100)' fill='none' stroke='%2317212B' stroke-opacity='.055' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='68' y='68' width='64' height='64' rx='16'/%3E%3Cpath d='M84 88h32M84 100h32M84 112h20'/%3E%3C/g%3E%3C/svg%3E");--wm-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg transform='rotate(-18 100 100)' fill='none' stroke='%2317212B' stroke-opacity='.032' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='68' y='68' width='64' height='64' rx='16'/%3E%3Cpath d='M84 88h32M84 100h32M84 112h20'/%3E%3C/g%3E%3C/svg%3E")}body{background-color:#f4f6f8;background-image:var(--wm-soft);background-size:200px 200px;background-attachment:fixed}.login,.adm-auth,.force-pw{background-color:#f4f6f8;background-image:var(--wm);background-size:180px 180px}@media print{body,.login{background:#fff!important}}.audit-error{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem .9rem;margin:0 0 1rem;border-radius:10px;background:#fdecea;color:#8c1d18;font-size:.9rem}.badge-plain{background:#eef1f4;color:#3a4754}.nowrap{white-space:nowrap}.audit-sum{font-size:.82rem;max-width:380px}.audit-more{color:var(--muted)}.audit-ip{margin:0;padding:0 1rem .7rem}tr.clickable{cursor:pointer}.dash-welcome{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 1rem;padding:1rem 1.1rem;margin-bottom:1rem;border:1px dashed #C9D1D9;border-radius:14px;background:var(--surface)}.dash-welcome>div:first-child{display:flex;flex-direction:column;gap:.15rem}.dash-welcome span{color:var(--muted);font-size:.9rem}.dash-welcome-actions{display:flex;gap:.5rem;flex-wrap:wrap}.btn-light{display:inline-flex;align-items:center;min-height:2.5rem;padding:0 .9rem;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-weight:600;text-decoration:none}.dt{background:var(--surface);border:1px solid #E4E8EC;border-radius:14px;box-shadow:var(--shadow-sm);overflow:hidden}.dt-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;padding:.85rem 1rem;border-bottom:1px solid #EEF1F4}.dt-search{display:flex;align-items:center;gap:.45rem;flex:0 1 300px;min-width:200px;height:38px;padding:0 .65rem;border:1px solid #E4E8EC;border-radius:9px;background:#f7f8fa;color:var(--muted)}.dt-search:focus-within{border-color:var(--ink);background:var(--surface)}.dt-search input{border:0;background:transparent;padding:0;min-height:0;height:100%;flex:1;min-width:0}.dt-search input:focus{outline:none}.dt-clear{border:0;background:none;min-height:0;padding:.15rem;color:var(--muted);display:grid;place-items:center}.dt-filter{width:auto;min-height:38px;height:38px;padding:0 2rem 0 .7rem;border-radius:9px;border-color:#e4e8ec;font-size:.88rem;background-color:var(--surface)}.dt-reset{min-height:38px;border:0;background:none;color:var(--indigo);font-weight:700;font-size:.85rem;padding:0 .4rem}.dt-bar-end{display:flex;align-items:center;gap:.45rem;margin-left:auto;flex-wrap:wrap}.dt-export{display:inline-flex;align-items:center;gap:.35rem;min-height:38px;padding:0 .75rem;border-radius:9px;border-color:#e4e8ec;font-size:.85rem}.dt-export svg{color:#157347}.dt-export+.dt-export svg{color:var(--red)}.dt-bar-end .primary,.dt-bar-end>button:not(.dt-export){min-height:38px;border-radius:9px}.dt-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.55rem 1rem;background:var(--gold-tint);border-bottom:1px solid #F1E2BF;font-size:.88rem}.dt-bulk button{min-height:2.1rem;padding:.2rem .7rem;font-size:.85rem}.dt-wrap{border:0;border-radius:0;margin:0;box-shadow:none}.dt-table th{background:#f7f8fa;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;color:#5b6773;font-weight:700;white-space:nowrap}.dt-table th.dt-sortable button{display:inline-flex;align-items:center;gap:.3rem;border:0;background:none;padding:0;min-height:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit}.dt-table th.dt-sortable button svg{opacity:.45}.dt-table th.on{color:var(--ink)}.dt-table th.on button svg{opacity:1;color:var(--gold-ink)}.dt-table th.num button{flex-direction:row-reverse}.dt-table td{vertical-align:middle}.dt-table tr.picked td{background:#fffbf1}.dt-table tbody tr.clickable:hover td{background:#f9fafb}.dt-check{width:40px;text-align:center}.dt-check input{width:16px;height:16px;cursor:pointer}.dt-foot{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;padding:.7rem 1rem;border-top:1px solid #EEF1F4;font-size:.85rem;color:var(--muted)}.dt-size{display:flex;align-items:center;gap:.45rem}.dt-size select{width:auto;min-height:32px;height:32px;padding:0 1.8rem 0 .5rem;font-size:.85rem}.dt-pages{display:flex;align-items:center;gap:.25rem;margin-left:auto}.dt-pages button{min-width:32px;min-height:32px;height:32px;padding:0 .45rem;border-radius:8px;font-size:.85rem;display:grid;place-items:center}.dt-pages button.on{background:var(--gold);border-color:var(--gold);color:var(--ink)}.dt-gap{padding:0 .2rem}.cell-thumb{display:flex;align-items:center;gap:.65rem;min-width:0}.cell-thumb img,.cell-thumb .ph{width:38px;height:38px;border-radius:8px;object-fit:cover;flex-shrink:0;background:#eef1f4}.cell-thumb .ph{display:grid;place-items:center;color:#9aa5b1;font-weight:800;font-size:.8rem}.cell-thumb strong{display:block;font-weight:700}.cell-thumb small{display:block;font-size:.76rem}.cell-actions{display:flex;gap:.35rem;justify-content:flex-end}.cell-actions button{min-height:32px;height:32px;padding:0 .6rem;font-size:.82rem;border-radius:8px}.icon-act{width:32px;padding:0!important;display:grid;place-items:center}.view-toggle{display:inline-flex;border:1px solid #E4E8EC;border-radius:9px;overflow:hidden}.view-toggle button{border:0;border-radius:0;min-height:38px;height:38px;width:40px;padding:0;display:grid;place-items:center;background:var(--surface);color:var(--muted)}.view-toggle button.on{background:var(--ink);color:#fff}.stat-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1rem}.stat-chip{display:flex;flex-direction:column;padding:.55rem .9rem;border:1px solid #E4E8EC;border-radius:12px;background:var(--surface);min-width:120px;box-shadow:var(--shadow-sm)}.stat-chip span{font-size:.76rem;color:var(--muted)}.stat-chip strong{font-size:1.1rem;font-weight:800}.stat-chip.key{background:var(--ink);border-color:var(--ink)}.stat-chip.key span{color:#b9c3cd}.stat-chip.key strong{color:var(--gold)}.stat-chip.warn strong{color:var(--red)}@media (max-width: 640px){.dt{border-radius:12px}.dt-bar{padding:.7rem}.dt-search{flex:1 1 100%;min-width:0}.dt-filter{flex:1 1 calc(50% - .3rem)}.dt-bar-end{margin-left:0;width:100%}.dt-bar-end>*{flex:1;justify-content:center}.dt-export span{display:inline}.dt-pages{margin-left:0;width:100%;justify-content:center}.dt-table th.dt-check,.dt-table td.dt-check{width:auto;text-align:left}}@media (max-width: 640px){.dt-wrap{padding:.6rem;background:#f7f8fa}}.dt-dates{display:flex;align-items:center;gap:.4rem;color:var(--muted);font-size:.85rem}.dt-dates input{width:auto;min-height:38px;height:38px;padding:0 .55rem;border-radius:9px;border-color:#e4e8ec;font-size:.88rem}@media (max-width: 640px){.dt-dates{width:100%}.dt-dates input{flex:1}}.page-wide{max-width:1320px}.cell-sub{display:block;font-size:.74rem;color:var(--muted);font-weight:500}.stock-badge.out{background:#fdecea;color:var(--red)}.dt-sort-mobile{display:none}@media (max-width: 640px){.dt-sort-mobile{display:block}}@media (max-width: 640px){.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.stat-chip{min-width:0}.stat-chip strong{font-size:1rem}}@media (max-width: 1200px){.gsearch kbd,.topbar-user-text{display:none}.gsearch{flex-basis:300px}}@media (min-width: 901px){.topbar-titles{flex-shrink:0;max-width:38%}.gsearch{min-width:170px}}.cart-bar-left{display:inline-flex;align-items:center;gap:.45rem}.lp{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.2rem}.lp-add{position:relative;display:flex;align-items:center;gap:.5rem;height:42px;padding:0 .7rem;border:1px solid #E4E8EC;border-radius:10px;color:var(--muted);margin-bottom:.6rem}.lp-add:focus-within{border-color:var(--ink)}.lp-add input{border:0;padding:0;min-height:0;height:100%;flex:1}.lp-add input:focus{outline:none}.lp-matches{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:5;list-style:none;margin:0;padding:.3rem;background:var(--surface);border:1px solid #E4E8EC;border-radius:10px;box-shadow:0 10px 28px #17212b24}.lp-matches button{display:flex;flex-direction:column;align-items:flex-start;width:100%;border:0;background:none;padding:.45rem .6rem;min-height:0;text-align:left;font-weight:400;border-radius:8px}.lp-matches button:hover:not(:disabled){background:var(--gold-tint)}.lp-matches small{font-size:.76rem}.lp-rows{list-style:none;margin:0 0 .6rem;padding:0;max-height:260px;overflow-y:auto;border:1px solid #EEF1F4;border-radius:10px}.lp-rows li{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem;border-bottom:1px solid #EEF1F4}.lp-rows li:last-child{border-bottom:0}.lp-name{flex:1;min-width:0;display:flex;flex-direction:column}.lp-name strong{font-size:.88rem;line-height:1.25;overflow-wrap:anywhere}.lp-name small{font-size:.74rem;font-family:ui-monospace,Menlo,monospace}.lp-remove{padding:.2rem!important;min-height:0!important}.lp-bulk{display:flex;gap:.4rem;margin-bottom:.8rem;flex-wrap:wrap}.lp-bulk button{min-height:2.1rem;font-size:.82rem;padding:.2rem .7rem}.lp-checks{display:flex;gap:1.2rem;margin:.2rem 0 .6rem}.lp-price{margin-bottom:.4rem}.lp-price button{font-size:.84rem}.lp-empty{color:var(--muted);font-size:.9rem;padding:1rem 0;text-align:center}.lp-preview-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.4rem;font-size:.88rem}.lp-preview-head span{color:var(--muted)}.lp-preview{height:340px;border:1px solid #E4E8EC;border-radius:10px;background:#e9ecef;overflow:auto}.lp-preview iframe{border:0;display:block}.lp-sheet-frame{width:344px;height:480px;margin:0 auto;overflow:hidden}.lp-sheet-frame iframe{width:860px;height:1200px;transform:scale(.4);transform-origin:0 0}.lp-preview iframe.roll{width:100%;height:100%}.lp-warn{margin:.6rem 0 0;padding:.55rem .75rem;border-radius:8px;background:#fff6e0;color:#6b4a08;font-size:.84rem}@media (max-width: 720px){.lp{grid-template-columns:1fr}.lp-preview{height:260px}}.exp-till{margin-left:.4rem;font-size:.68rem}.exp-till-check{white-space:normal;font-weight:600}.exp-till-check small{font-weight:400}.pl-actions{display:flex;gap:.5rem;margin-left:auto}.pl-table{width:100%;border-collapse:collapse;font-size:.95rem}.pl-table td{padding:.5rem .2rem;border-bottom:1px solid #EEF1F4}.pl-table td small{color:var(--muted);font-size:.78rem;margin-left:.3rem}.pl-table td.neg{color:#5b6773}.pl-table tr.indent td:first-child{padding-left:1.2rem;color:#3a4754}.pl-table tr.head td{font-weight:700;color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:0;padding-top:.9rem}.pl-table tr.sub td{font-weight:700;background:#f7f8fa}.pl-table tr.total td{font-weight:800;font-size:1.1rem;border-top:2px solid var(--ink);border-bottom:3px double var(--ink);color:#157347}.pl-table tr.total.loss td{color:var(--red)}.pl-note{margin:.6rem 0 0}.pl-print-head{display:none}.report-kpi.key.loss strong{color:#ff9c95}@media print{body.print-pl *{visibility:hidden}body.print-pl .pl,body.print-pl .pl *{visibility:visible}body.print-pl .pl{position:absolute;left:0;top:0;width:100%}body.print-pl .side,body.print-pl .topbar,body.print-pl .tab-bar{display:none}body.print-pl .pl-print-head{display:block;margin-bottom:.6rem}body.print-pl .viz-grid{grid-template-columns:1fr 1fr}body.print-pl .viz-panel{break-inside:avoid}}.lp-row-price{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .55rem;border:1px solid #E4E8EC;border-radius:999px;font-size:.78rem;font-weight:600;color:var(--muted);cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none}.lp-row-price input{width:14px;height:14px;min-height:0;margin:0}.lp-row-price.on{border-color:#b7dfc8;background:#e4f4ea;color:#157347}@media (max-width: 520px){.lp-rows li{flex-wrap:wrap}.lp-name{flex-basis:100%}}.barcode-missing{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.6rem .9rem;margin:0 0 1rem;border-radius:10px;background:#fff6e5;color:#7a4b00;font-size:.9rem;border:1px solid #F5DDAE}
