:root{--primary:#0a6cf1;--primary-soft:#e8f1ff;--bg:#f2f5fa;--card:#fff;--text:#16191d;--muted:#6b7280;--line:#e7e9ee;--danger:#e5383b;--warn:#d97706;--success:#12a150;--radius:18px;--primary-dark:#0052cc;--grad:linear-gradient(135deg, #0052cc 0%, #0a6cf1 45%, #38a3ff 100%);--shadow-sm:0 1px 2px #1018280d;--shadow:0 1px 2px #1018280a, 0 6px 20px #1018280f;--shadow-lg:0 12px 32px #0a6cf147;--tabbar-h:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;font-family:Be Vietnam Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;line-height:1.4}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;text-align:inherit;background:0 0;border:0;padding:0}input,select,textarea{font:inherit;border:1px solid var(--line);width:100%;color:var(--text);background:#fff;border-radius:10px;outline:none;padding:11px 12px;font-size:16px}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}input:disabled{background:var(--bg);color:var(--muted)}h1,h2,h3{margin:0}h3{margin-bottom:8px;font-size:17px}p{margin:8px 0}.icon{flex-shrink:0}.muted{color:var(--muted)}.strong{font-weight:600}.small{font-size:13px}.strike{text-decoration:line-through}.center{text-align:center}.grow{flex:1;min-width:0}.pad{padding:12px 0}.pre{white-space:pre-wrap}.caps{text-transform:uppercase;color:var(--muted);font-size:14px;font-weight:500}.text-primary{color:var(--primary)}.text-danger{color:var(--danger)}.text-warn{color:var(--warn)}.text-success{color:var(--success)}.link{color:var(--primary);font-weight:500}.up{color:var(--success);font-size:13px}.down{color:var(--danger);font-size:13px}.app{min-height:100vh}.main{padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px)}.sidebar{display:none}.tabbar{z-index:20;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);background:#fff;display:flex;position:fixed;bottom:0;left:0;right:0}.tab{height:var(--tabbar-h);color:#4b5563;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:12px;display:flex}.tab.active{color:var(--primary);font-weight:600}.tab .icon{box-sizing:content-box;border-radius:999px;padding:3px 14px;transition:background .2s}.tab.active .icon{background:var(--primary-soft)}.topbar{z-index:10;min-height:56px;padding:8px 12px;padding-top:max(8px, env(safe-area-inset-top));-webkit-backdrop-filter:blur(12px);background:#f2f5fae0;align-items:center;gap:8px;display:flex;position:sticky;top:0}.topbar h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:18px;font-weight:600;overflow:hidden}.topbar-large h1{padding-left:4px;font-size:30px;font-weight:700}.topbar-actions{align-items:center;gap:4px;display:flex}.topbar-actions:has(.search-box){flex:1}.icon-btn{color:#374151;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.icon-btn:active{background:#0000000f}.page{flex-direction:column;gap:12px;max-width:900px;padding:4px 16px 16px;display:flex}.page-flush{gap:10px;padding:0 16px 16px}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}.card-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.card-list{border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;overflow:hidden}.list{flex-direction:column;display:flex}.row{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:12px;width:100%;padding:14px 16px;display:flex}.card .row{padding-left:0;padding-right:0}.list .row:last-child{border-bottom:0}.row:active{background:#f5f8ff}@media (hover:hover){a.row:hover,button.row:hover{background:#f8faff}}.row-main{text-align:left;flex:1;min-width:0}.row-title{font-size:16px;font-weight:500}.row-sub{color:var(--muted);margin-top:2px;font-size:14px}.row-end{text-align:right;white-space:nowrap;flex-direction:column;align-items:flex-end;gap:2px;display:flex}.thumb{background:var(--primary-soft);color:var(--primary);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex;overflow:hidden}.thumb-letter{color:#fff;text-shadow:0 1px 2px #00000026}.thumb img{object-fit:cover;width:100%;height:100%}.avatar{background:var(--primary-soft);width:42px;height:42px;color:var(--primary);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:600;display:flex}.badge{background:var(--bg);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:500;display:inline-block}.badge-danger{color:var(--danger);background:#fdecec}.badge-success{color:var(--success);background:#e7f7ee}.empty{text-align:center;color:var(--muted);padding:32px 16px;line-height:1.8}.error-box{color:#b42318;background:#fdecec;border-radius:10px;padding:10px 14px}.chips{scrollbar-width:none;gap:8px;padding:0 16px 10px;display:flex;overflow-x:auto}.chip{white-space:nowrap;color:#1f2937;height:40px;box-shadow:var(--shadow-sm);background:#fff;border:1px solid #e3e8f0;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:0 16px;font-weight:500;display:inline-flex}.chip-icon{justify-content:center;width:44px;padding:0;position:relative}.chip-active{background:var(--primary);color:#fff;box-shadow:0 3px 10px #0a6cf140}.chip-count{background:var(--primary);color:#fff;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;font-size:11px;display:flex;position:absolute;top:-2px;right:-2px}.search-box{height:42px;color:var(--muted);box-shadow:var(--shadow-sm);background:#fff;border:1px solid #e3e8f0;border-radius:999px;flex:1;align-items:center;gap:6px;padding:0 4px 0 12px;display:flex}.search-box input{box-shadow:none;background:0 0;border:0;height:100%;padding:0}.search-box-block{background:var(--bg);margin-bottom:8px}.summary{border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.summary-title{font-size:18px;font-weight:500}.summary-value{font-size:20px;font-weight:600}.fab{right:20px;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 20px);z-index:15;background:var(--grad);color:#fff;width:60px;height:60px;box-shadow:var(--shadow-lg);border-radius:50%;justify-content:center;align-items:center;display:flex;position:fixed}.sheet-backdrop{z-index:50;background:#0f172a73;justify-content:center;align-items:flex-end;animation:.15s fade;display:flex;position:fixed;inset:0}.sheet{background:#fff;border-radius:20px 20px 0 0;flex-direction:column;width:100%;max-width:560px;max-height:88vh;animation:.2s ease-out slide-up;display:flex}.sheet-full{background:var(--bg);height:92vh}.sheet-head{justify-content:space-between;align-items:center;padding:14px 12px 6px 20px;display:flex}.sheet-head h2{font-size:20px;font-weight:600}.sheet-body{flex-direction:column;flex:1;gap:10px;padding:4px 20px 20px;display:flex;overflow-y:auto}.sheet-foot{padding:12px 16px;padding-bottom:max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;grid-template-columns:1fr 1fr;gap:12px;display:grid}@keyframes fade{0%{opacity:0}}@keyframes slide-up{0%{opacity:.5;transform:translateY(40px)}}.option-list{flex-direction:column;display:flex}.option{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:15px 0;font-size:16px;display:flex}.option:last-child{border-bottom:0}.option-add{color:var(--primary);justify-content:flex-start;font-weight:500}.filter-group{padding:4px 16px}.filter-head{align-items:center;gap:8px;width:100%;padding:14px 0;font-size:18px;font-weight:500;display:flex}.filter-head>span:first-child{flex:1}.filter-summary{font-size:14px;font-weight:400}.checkbox{color:#fff;border:2px solid #cbd2dc;border-radius:7px;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.checkbox.checked{background:var(--primary);border-color:var(--primary)}.btn{border-radius:12px;justify-content:center;align-items:center;gap:6px;height:46px;padding:0 18px;font-size:16px;font-weight:600;display:inline-flex}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--grad);color:#fff;box-shadow:0 4px 14px #0a6cf14d}.btn-primary:active{transform:translateY(1px);box-shadow:0 2px 8px #0a6cf14d}.btn-outline{color:var(--primary);background:#fff;border:1px solid #b9cdf0}.btn-outline.text-danger{color:var(--danger);border-color:#f3c0c1}.btn-danger{background:var(--danger);color:#fff}.btn-block{width:100%}.btn-lg{height:52px;font-size:17px}.form,.form .card{flex-direction:column;gap:12px;display:flex}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field-label{color:var(--muted);font-size:14px}.field-hint{color:var(--muted);font-size:12px}.grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-actions{gap:12px;display:flex}.form-actions .btn{flex:1}.segmented{background:var(--bg);border-radius:10px;gap:3px;padding:3px;display:flex}.segmented button{height:38px;color:var(--muted);text-align:center;border-radius:8px;flex:1;font-weight:500}.segmented button.active{color:var(--primary);background:#fff;box-shadow:0 1px 3px #0000001a}.segmented-sm{flex:none}.segmented-sm button{white-space:nowrap;height:34px;padding:0 10px}.switch-row{justify-content:space-between;align-items:center;gap:12px;padding:4px 0;display:flex}.switch{appearance:none;cursor:pointer;background:#d1d5db;border:0;border-radius:15px;flex-shrink:0;width:50px;height:30px;padding:0;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch:checked{background:var(--primary)}.switch:checked:after{transform:translate(20px)}.switch:focus{box-shadow:none}.image-pick{align-items:center;gap:16px;display:flex}.image-btn{align-items:center;gap:12px;display:flex}.product-name{margin:14px 0 4px;font-size:22px;font-weight:600}.info{border-bottom:1px solid var(--line);text-align:left;min-width:0;padding:10px 0}.info-label{color:var(--muted);font-size:14px}.info-value{overflow-wrap:anywhere;align-items:center;gap:4px;margin-top:4px;font-size:17px;display:flex}.info-grid{grid-template-columns:1fr 1fr;column-gap:20px;display:grid}.info-link{width:100%}.info-link .info-value{justify-content:space-between}.hero-value{margin:4px 0;font-size:32px;font-weight:700}.hero-stats{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin-top:14px;display:grid}.hero-stats>div{background:var(--bg);border-radius:12px;flex-direction:column;padding:10px;display:flex}.hero-stats strong{font-size:17px}.hero-stats span{color:var(--muted);font-size:13px}.bars{align-items:flex-end;gap:8px;height:160px;padding-top:8px;display:flex}.bar-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;height:100%;display:flex}.bar{background:linear-gradient(#38a3ff,#0a6cf1);border-radius:8px 8px 3px 3px;width:100%;max-width:36px;min-height:2px}.bar-value{color:var(--muted);white-space:nowrap;font-size:11px}.bar-label{color:var(--muted);font-size:12px}.alert-row{flex-direction:column;padding:4px 16px;display:flex}.alert-item{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:12px 0;display:flex}.alert-item:last-child{border-bottom:0}.alert-item>.icon{color:var(--muted);margin-left:auto}.rank{margin:0;padding-left:20px}.rank li{border-bottom:1px solid var(--line);padding:8px 0}.rank li:last-child{border-bottom:0}.rank li{display:list-item}.rank a{font-weight:500;display:block}.rank span{margin-right:12px;font-size:13px}.rank strong{font-size:14px}.profile{align-items:center;gap:12px;display:flex}.menu-grid{grid-template-columns:1fr 1fr;gap:4px 12px;display:grid}.menu-item{align-items:center;gap:10px;padding:12px 0;font-size:16px;line-height:1.25;display:flex}.menu-icon{flex-shrink:0}.menu-item .badge{font-size:11px}.menu-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.menu-item.text-danger .menu-icon{color:var(--danger);background:#fdecec}.brand-logo{color:#3b2a05;background:linear-gradient(135deg,#e9c46a,#b8860b);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-family:Georgia,serif;font-size:18px;font-style:italic;font-weight:700;display:flex}.brand-logo-lg{width:72px;height:72px;margin:0 auto 12px;font-size:26px}.login{justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.login-card{text-align:center;flex-direction:column;gap:14px;width:100%;max-width:380px;padding:28px 24px;display:flex}.login-card .field{text-align:left}.login-card p{margin:-8px 0 4px}.pos{flex-direction:column;min-height:100vh;display:flex}.pos-top{border-bottom:1px solid var(--line);background:#fff}.pos-top .search-box{background:var(--bg)}.pos-body{padding-bottom:calc(84px + env(safe-area-inset-bottom));flex-direction:column;flex:1;display:flex}.pos-products{border-bottom:1px solid var(--line);max-height:40vh;padding:12px;overflow-y:auto}.pos-products.searching{max-height:60vh}.product-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;display:grid}.product-tile{min-width:0;box-shadow:var(--shadow);background:#fff;border:1px solid #0000;border-radius:14px;flex-direction:column;gap:6px;padding:10px;transition:transform .1s;display:flex}.product-tile:active{border-color:var(--primary);transform:scale(.97)}.tile-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.8em;font-size:14px;font-weight:500;display:-webkit-box;overflow:hidden}.tile-foot{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px;font-size:13px;display:flex}.tile-foot strong{font-size:14px}.pos-side{background:#fff;flex:1}.pos-cart .list .row{padding:12px 16px}.pos-customer{border-bottom:8px solid var(--bg);width:100%;color:var(--primary);align-items:center;gap:10px;padding:12px 16px;display:flex}.pos-customer strong{color:var(--text)}.cart-line{flex-wrap:wrap;row-gap:6px}.cart-line .row-main{flex-basis:100%}.stepper{border:1px solid var(--line);border-radius:10px;align-items:center;display:flex;overflow:hidden}.stepper button{width:38px;height:36px;color:var(--primary);justify-content:center;align-items:center;display:flex}.stepper span{text-align:center;min-width:36px;font-weight:600}.line-total{margin-left:auto}.pos-payment-desktop{display:none}.pos-bar{z-index:20;padding:12px 16px;padding-bottom:max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:12px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #0000000d}.pos-bar-total{font-size:22px}.pos-bar .btn{min-width:150px}.pay-row{justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}.pay-total{border-top:1px solid var(--line);padding-top:12px;font-size:18px}.pay-total strong{color:var(--primary);font-size:22px}.pay-input{text-align:right;max-width:180px;font-weight:600}.discount-input{align-items:center;gap:6px;display:flex}.discount-input input{text-align:right;max-width:130px}.quick-cash{flex-wrap:wrap;gap:8px;display:flex}.quick-cash .chip{background:var(--primary-soft);height:36px;color:var(--primary)}.success{text-align:center;padding:12px 0}.success-icon{width:72px;height:72px;color:var(--success);background:#e7f7ee;border-radius:50%;justify-content:center;align-items:center;margin:0 auto 12px;display:flex}.mt{margin-top:12px}.pos-customer.flush{border-bottom:0;padding:0}.product-search{margin-bottom:4px;position:relative}.product-search .search-box{background:var(--bg)}.dropdown{z-index:30;border:1px solid var(--line);background:#fff;border-radius:12px;max-height:50vh;position:absolute;top:46px;left:0;right:0;overflow-y:auto;box-shadow:0 10px 30px #00000026}.dropdown .row{padding:10px 12px}.line-edit{flex-wrap:wrap;row-gap:8px}.line-inputs{flex-basis:100%;grid-template-columns:.7fr 1fr 1fr;align-items:end;gap:8px;display:grid}.line-inputs input{padding:8px 10px}.line-amount{flex-direction:column;align-items:flex-end;gap:6px;padding-bottom:9px;display:flex}.qty-input{text-align:center;width:80px;padding:8px;font-weight:600}.input-like{border:1px solid var(--line);background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:11px 12px;display:flex}.quick-fill{background:var(--primary-soft);height:34px;color:var(--primary);align-self:flex-start}.cash-summary{grid-template-columns:1fr 1fr;gap:8px;display:grid}.cash-summary>div{background:var(--bg);border-radius:12px;flex-direction:column;padding:10px 12px;display:flex}.cash-summary span{color:var(--muted);font-size:13px}.cash-summary strong{font-size:17px}.cash-closing{background:var(--primary-soft)!important}.cash-closing strong{color:var(--primary)}.list.card{padding-top:0;padding-bottom:0}.badge-primary{background:var(--primary-soft);color:var(--primary)}.badge-warn{color:var(--warn);background:#fef3c7}.row-link{color:var(--primary);align-items:center;gap:12px;display:flex}.row-link .grow{color:var(--text)}.form-actions.wrap{flex-wrap:wrap}.form-actions.wrap .btn{flex:140px}.delivery-box{background:var(--bg);border-radius:12px;flex-direction:column;gap:12px;padding:12px;display:flex}.row-selected{background:var(--primary-soft)}.chips.flush{padding:0}.select-sm{width:auto;padding:6px 10px;font-size:14px}.link-plain:hover{color:var(--primary)}.bars-dense{gap:3px}.bars-dense .bar-value{display:none}.bars-dense .bar-label{font-size:10px}.date-nav{align-items:center;gap:8px;display:flex}.date-nav input{text-align:center;flex:1;font-weight:600}.date-nav .icon-btn:disabled{opacity:.3}.table{border-collapse:collapse;width:100%;font-size:14px}.table th{text-align:right;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:8px 4px;font-weight:500}.table td{text-align:right;border-bottom:1px solid var(--line);white-space:nowrap;padding:9px 4px}.table th:first-child,.table td:first-child{text-align:left;white-space:normal;padding-left:0}.table tbody tr:last-child td{border-bottom:0}.table tfoot td{border-top:2px solid var(--line);border-bottom:0;font-weight:600}.report .card{overflow-x:auto}@media print{.report .card{break-inside:avoid;border:1px solid #ddd}.report h2.print-only{margin-bottom:8px}}.c-blue{--c:#0a6cf1;--cb:#e6f0ff}.c-green{--c:#12a150;--cb:#e3f7ec}.c-orange{--c:#f07c1b;--cb:#fff0e3}.c-purple{--c:#7c4dff;--cb:#f0ebff}.c-pink{--c:#e8418c;--cb:#fde8f2}.c-teal{--c:#0aa5a5;--cb:#e0f6f6}.c-red{--c:#e5383b;--cb:#fdecec}.c-amber{--c:#d99100;--cb:#fff6db}.c-indigo{--c:#3f51d8;--cb:#e9ecff}.menu-icon[class*=c-],.quick-icon[class*=c-]{background:var(--cb);color:var(--c)}.hero{color:#fff;background:var(--grad);box-shadow:var(--shadow-lg);padding:20px;position:relative;overflow:hidden}.hero:before,.hero:after{content:"";pointer-events:none;background:#ffffff1f;border-radius:50%;position:absolute}.hero:before{width:220px;height:220px;top:-90px;right:-70px}.hero:after{background:#ffffff14;width:140px;height:140px;bottom:-80px;right:60px}.hero .muted{color:#ffffffd1}.hero .hero-value{letter-spacing:-.5px;font-size:36px}.hero .up,.hero .down{color:#fff;background:#fff3;border-radius:999px;padding:2px 10px;font-size:12px;display:inline-block}.hero .hero-stats>div{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff29}.hero .hero-stats span{color:#ffffffd9}.hero-stats>div{border-radius:14px}.greeting{padding:12px 16px 4px;padding-top:max(12px, env(safe-area-inset-top));align-items:center;gap:12px;display:flex}.greeting h1{font-size:22px;font-weight:700}.greeting .muted{font-size:13px}.quick-actions{grid-template-columns:repeat(3,1fr);gap:14px 8px;display:grid}.quick-action{text-align:center;flex-direction:column;align-items:center;gap:6px;font-size:13px;font-weight:500;display:flex}.quick-icon{border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;transition:transform .1s;display:flex}.quick-action:active .quick-icon{transform:scale(.92)}.card h3{align-items:center;gap:8px;display:flex}.alert-item .alert-dot{border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.alert-item.c-red .alert-dot,.alert-item.c-amber .alert-dot{background:var(--cb);color:var(--c)}.rank{counter-reset:rank;padding:0;list-style:none}.rank li{counter-increment:rank;flex-wrap:wrap;align-items:center;gap:10px;display:flex!important}.rank li:before{content:counter(rank);background:var(--primary-soft);width:26px;height:26px;color:var(--primary);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex}.rank li:first-child:before{color:#b7791f;background:#fff3c4}.rank li:nth-child(2):before{color:#64748b;background:#eef1f6}.rank li:nth-child(3):before{color:#c2410c;background:#fde8dc}.rank a{flex:1;min-width:0}.rank strong{margin-left:auto}.menu-icon{border-radius:12px;width:38px;height:38px}.menu-item{border-radius:12px;margin:0 -8px;padding:10px 8px}.menu-item:active{background:#f5f8ff}@media (hover:hover){.menu-item:hover{background:#f8faff}}.profile{background:var(--grad);color:#fff;box-shadow:var(--shadow-lg)}.profile .muted{color:#ffffffd9}.login{background:var(--grad);position:relative;overflow:hidden}.login:before,.login:after{content:"";background:#ffffff1a;border-radius:50%;position:absolute}.login:before{width:420px;height:420px;top:-160px;left:-160px}.login:after{width:300px;height:300px;bottom:-100px;right:-100px}.login-card{z-index:1;border-radius:24px;position:relative;box-shadow:0 20px 60px #001e5059}.login-card h1{font-size:24px}.brand strong{font-size:16px}.pos-bar-total{color:var(--primary)}.sheet{box-shadow:0 -10px 40px #10182826}.success-icon{background:linear-gradient(135deg,#d9f7e6,#b6efcf);box-shadow:0 8px 24px #12a15040}.badge{padding:3px 10px;font-weight:600}.toast{left:50%;bottom:calc(var(--tabbar-h) + 28px);z-index:100;color:#fff;background:#1f2937;border-radius:12px;max-width:calc(100vw - 32px);padding:12px 18px;animation:.2s fade;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #0003}.toast-error{background:var(--danger)}.toast-warn{background:var(--warn)}.print-only{display:none}.receipt{color:#000;width:72mm;margin:0 auto;font-family:Arial,sans-serif;font-size:12px}.receipt-store{font-size:16px}.receipt-title{margin:8px 0 2px;font-size:15px;font-weight:700}.receipt table{border-collapse:collapse;width:100%;margin:8px 0}.receipt th,.receipt td{text-align:right;vertical-align:top;border-bottom:1px dashed #999;padding:3px 0}.receipt th:first-child,.receipt td:first-child{text-align:left}.receipt-row{justify-content:space-between;padding:2px 0;display:flex}.receipt-total{font-size:14px;font-weight:700}.receipt-foot{margin-top:10px;font-style:italic}@media print{@page{size:80mm auto;margin:4mm}body{background:#fff}.topbar,.tabbar,.sidebar,.no-print,.toast,.sheet-backdrop{display:none!important}.print-only{display:block}.main{margin:0!important;padding:0!important}}@media (width>=900px){:root{--tabbar-h:0px}.tabbar{display:none}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;gap:4px;width:230px;padding:16px 12px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{align-items:center;gap:10px;padding:4px 8px 20px;display:flex}.brand small{color:var(--muted);display:block}.side-link{color:#374151;border-radius:12px;align-items:center;gap:12px;padding:12px;font-weight:500;display:flex}.side-link:hover{background:var(--bg)}.side-link.active{background:var(--grad);color:#fff;box-shadow:0 6px 16px #0a6cf147}.quick-actions{grid-template-columns:repeat(6,1fr)}.page,.greeting,.topbar:not(.pos-top),.chips{width:100%;max-width:960px;margin-left:auto;margin-right:auto}.greeting{padding:20px 24px 4px}.main{margin-left:230px;padding-bottom:24px}.page{padding:4px 24px 24px}.page-flush{padding:0 24px 24px}.chips{padding:0 24px 10px}.topbar{padding:12px 20px}.fab{bottom:28px;right:28px}.toast{bottom:28px}.sheet-backdrop{align-items:center}.sheet{border-radius:20px}.sheet-full{height:80vh}.pos{height:100vh}.pos-body{flex-direction:row;padding:0;overflow:hidden}.pos-products,.pos-products.searching{border-bottom:0;flex:1;max-height:none;padding:16px}.pos-side{border-left:1px solid var(--line);flex:0 0 420px;width:420px;overflow-y:auto}.pos-payment-desktop{border-top:8px solid var(--bg);padding:16px;display:block}.pos-bar{display:none}}
