:root{--bg:#f8f7f4;--panel:#fff;--ink:#242621;--muted:#787b73;--line:#e7e8e1;--accent:#cf4b28;--accent-soft:#fceddf;--input:#fff;--shadow:0 8px 32px #27251d08;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#191c1b;--panel:#222725;--ink:#f3f2ec;--muted:#adb5ae;--line:#3a413c;--accent:#f18b63;--accent-soft:#3c2e25;--input:#2b302e;--shadow:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button,input,select{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent)}h1,h2,h3,p{margin:0}button{transition:background .12s,transform .12s}button:active:not(:disabled){transform:scale(.98)}.app-shell{min-height:100dvh;display:flex}.sidebar{background:var(--panel);border-right:1px solid var(--line);flex-direction:column;flex-shrink:0;align-items:center;width:88px;padding:24px 8px;display:flex;position:fixed;inset:0 auto 0 0}.brand-mark{letter-spacing:-5px;background:var(--accent);color:#fff;text-align:center;border-radius:15px;place-content:center;width:48px;height:48px;padding-top:2px;font-size:36px;font-weight:900;line-height:1;display:block}.brand-mark span{color:#ffd8a7}.sidebar nav{gap:12px;width:100%;margin-top:38px;display:grid}.nav-item{color:var(--muted);background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:7px;padding:14px 4px;font-size:11px;font-weight:700;display:flex}.nav-item.current{background:var(--accent-soft);color:var(--accent)}.sidebar-footer{text-align:center;margin-top:auto;font-size:12px;font-weight:800;line-height:1.8}.sidebar-footer span{letter-spacing:1px;color:var(--muted);font-size:8px}.workspace{width:calc(100% - 88px);margin-left:88px}.topbar{border-bottom:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;height:88px;padding:0 28px;display:flex}.brand-line{letter-spacing:1.6px;font-size:17px;font-weight:900}.brand-line span{letter-spacing:1px;margin-left:4px;font-weight:400}.topbar p{color:var(--muted);margin-top:7px;font-size:12px}.header-actions{align-items:center;gap:14px;display:flex}.icon-button{border:1px solid var(--line);background:var(--panel);border-radius:10px;place-items:center;width:44px;height:44px;display:grid}.avatar{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:50%;place-items:center;font-size:11px;font-weight:800;display:grid}.counter{grid-template-columns:minmax(0,1fr) 320px;gap:22px;min-height:calc(100dvh - 120px);padding:24px 24px 18px;display:grid}.menu-area{min-width:0}.counter-heading{justify-content:space-between;align-items:center;margin:0 0 22px;display:flex}.eyebrow{letter-spacing:1.7px;color:var(--muted);font-size:9px;font-weight:700}h1{letter-spacing:-.8px;margin-top:7px;font-size:25px}.tap-hint{color:var(--muted);font-size:11px}.product-grid{gap:19px;display:grid}.category-heading{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.category-heading h2{letter-spacing:.1px;font-size:13px}.category-heading>span{color:var(--muted);font-size:10px}.product-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;display:grid}.product-button{text-align:left;border:1px solid var(--line);background:var(--panel);min-height:86px;box-shadow:var(--shadow);border-top:3px solid #dcb28b;border-radius:10px;flex-direction:column;justify-content:space-between;gap:10px;padding:14px 10px 12px;display:flex}.product-button strong{font-size:13px;font-weight:700;line-height:1.25}.product-button>span{color:var(--muted);font-size:11px}.product-button:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent)}.category-1 .product-button{border-top-color:#b3c697}.category-2 .product-button{border-top-color:#e6c978}.category-3 .product-button{border-top-color:#cea8ac}.category-4 .product-button{border-top-color:#99bdca}.order-panel{background:var(--panel);border:1px solid var(--line);height:calc(100dvh - 144px);min-height:520px;box-shadow:var(--shadow);border-radius:16px;flex-direction:column;display:flex;position:sticky;top:16px;overflow:hidden}.order-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:20px;display:flex}.order-heading h2{margin-top:7px;font-size:17px}.order-heading .icon-button{color:var(--muted);border:0}.count{background:var(--bg);border-radius:6px;margin-left:5px;padding:4px 7px;font-size:11px}.cart-items{flex:1;min-height:100px;padding:0 20px;overflow:auto}.empty-cart{text-align:center;color:var(--muted);padding:55px 0 20px}.empty-cart h3{color:var(--ink);margin:18px 0 8px;font-size:13px}.empty-cart p{font-size:12px;line-height:1.6}.empty-cart svg{color:#b8bcb3}.cart-item{border-bottom:1px dashed var(--line);padding:13px 0}.item-title,.item-controls{justify-content:space-between;align-items:center;gap:6px;display:flex}.item-title strong{font-size:13px}.remove{color:var(--muted);background:0 0;border:0;width:36px;height:32px}.item-controls{margin-top:5px}.item-controls>strong{font-size:13px}.quantity{border:1px solid var(--line);border-radius:8px;align-items:center;display:flex;overflow:hidden}.quantity button{background:var(--bg);border:0;place-items:center;width:40px;height:40px;display:grid}.quantity b{text-align:center;width:32px;font-size:12px}.checkout{border-top:1px solid var(--line);padding:20px}.subtotal,.total{justify-content:space-between;align-items:center;display:flex}.subtotal{color:var(--muted);font-size:12px}.total{margin:14px 0 21px;font-size:16px;font-weight:700}.total strong{letter-spacing:-.5px;font-size:26px}fieldset{border:0;margin:0;padding:0}legend{color:var(--muted);margin-bottom:9px;padding:0;font-size:11px}.payment-options{grid-template-columns:1fr 1fr;gap:9px;display:grid}.payment-options button{border:1px solid var(--line);background:var(--panel);border-radius:8px;height:43px;font-size:12px;font-weight:700}.payment-options button.selected{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.done{background:var(--accent);color:#fff;letter-spacing:1px;border:0;border-radius:10px;justify-content:center;align-items:center;gap:20px;width:100%;height:56px;margin-top:17px;font-size:17px;font-weight:800;display:flex}.checkout-note{color:var(--muted);text-align:center;margin-top:11px;font-size:9px}.app-footer{color:var(--muted);justify-content:space-between;padding:0 26px 14px;font-size:10px;display:flex}.admin-content{max-width:1500px;min-height:calc(100vh - 155px);margin:auto;padding:30px}.section-title{justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.section-title h2{margin:8px 0;font-size:24px}.muted{color:var(--muted);font-size:12px;line-height:1.6}.button-group{gap:10px;display:flex}.primary,.secondary{border:1px solid var(--line);background:var(--panel);border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 16px;font-size:12px;font-weight:700;display:inline-flex}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.compact{min-height:40px;padding:6px 12px}.menu-section{background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-bottom:20px;padding:20px}.menu-section h3{font-size:16px}.table-wrap{background:var(--panel);border-radius:10px;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}th{color:var(--muted);padding:12px;font-size:11px;font-weight:500}td{border-top:1px solid var(--line);padding:12px}th:last-child,td:last-child{text-align:right}.badge{background:var(--bg);color:var(--muted);border-radius:6px;padding:5px 9px;font-size:10px;font-weight:500;display:inline-block}.badge.active{color:#38805a;background:#e7f3e9}:root[data-theme=dark] .badge.active{color:#9cd2ad;background:#253e31}.stats{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px;display:grid}.stat{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px}.stat span{color:var(--muted);font-size:12px}.stat strong{letter-spacing:-1px;margin-top:14px;font-size:30px;display:block}.top-item{border-bottom:1px solid var(--line);align-items:center;gap:20px;padding:18px 0;display:flex}.top-item strong{flex:1}.top-item>span:not(.rank){color:var(--muted)}.rank{background:var(--bg);border-radius:8px;padding:10px 14px}.empty-state{text-align:center;color:var(--muted);padding:70px 20px}.modal{border:1px solid var(--line);background:var(--panel);width:460px;max-width:calc(100vw - 32px);max-height:90dvh;color:var(--ink);border-radius:16px;padding:24px;box-shadow:0 20px 90px #0003}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#121b1866}.modal-heading{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modal-heading h2{font-size:20px}.field{flex-direction:column;gap:7px;margin:16px 0;display:flex}.field label{font-size:12px;font-weight:700}.field input,.field select{border:1px solid var(--line);background:var(--input);color:var(--ink);border-radius:8px;width:100%;min-height:45px;padding:12px}.field [aria-invalid=true]{border-color:#c44c37}.field-error{color:#c44c37;font-size:12px;line-height:1.5}.form-columns{grid-template-columns:1fr 1fr;gap:16px;display:grid}.checkbox{align-items:center;gap:9px;padding:12px 0;display:flex}.checkbox input{width:20px;height:20px;accent-color:var(--accent)}.form-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.receipt{color:#111;background:#fff;padding:25px 16px;font-family:ui-monospace,monospace;font-size:12px}.receipt h2{text-align:center;font-size:18px}.receipt p{text-align:center;margin:9px 0;font-size:11px}.receipt>strong{text-align:center;display:block}.receipt hr{border:0;border-top:1px dashed #aaa;margin:15px 0}.receipt-line{justify-content:space-between;gap:15px;margin:12px 0;display:flex}.receipt-line small{color:#666;margin-top:4px;font-size:10px;display:block}.receipt-total{font-size:15px}.saved-notice{background:var(--bg);color:var(--muted);align-items:center;gap:8px;margin-bottom:12px;padding:10px;font-size:12px;display:flex}.print-explanation{margin-top:15px}.error-banner{background:var(--accent-soft);color:var(--accent);padding:10px 16px;font-size:12px}.error-banner button{background:0 0;border:0;padding:8px;font-weight:700;text-decoration:underline}.capitalize{text-transform:capitalize}.sr-only{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}#print-receipt{display:none}@media (min-width:1400px){.product-button{min-height:110px;padding:20px}.product-button strong{font-size:16px}.product-button>span{font-size:13px}.counter{grid-template-columns:minmax(0,1fr) 360px;gap:30px}.product-grid{gap:24px}}@media (max-width:1100px){.sidebar{width:72px;padding:20px 5px}.workspace{width:calc(100% - 72px);margin-left:72px}.topbar{height:76px;padding:0 20px}.counter{grid-template-columns:minmax(0,1fr) 290px;gap:16px;padding:18px}.product-row{gap:6px}.product-button{min-height:79px;padding:10px 8px}.product-button strong{font-size:12px}.product-grid{gap:15px}.counter-heading{margin-bottom:18px}h1{font-size:22px}.tap-hint{display:none}.order-heading,.checkout{padding:16px}.cart-items{padding:0 16px}.order-panel{height:calc(100dvh - 120px)}.stats{grid-template-columns:1fr 1fr}.section-title{flex-direction:column;align-items:flex-start}.product-row{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (max-width:800px){.sidebar{width:62px}.workspace{width:calc(100% - 62px);margin-left:62px}.nav-item{font-size:10px}.counter{grid-template-columns:minmax(0,1fr) 260px;gap:12px;padding:12px}.product-row{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-line{font-size:14px}.header-actions{gap:6px}.avatar{display:none}.admin-content{padding:20px}.topbar{padding:0 15px}.order-panel{top:12px}.product-button{min-height:76px}}@media (max-width:600px){.sidebar{border-bottom:1px solid var(--line);flex-direction:row;width:100%;height:64px;padding:6px 12px;position:static}.brand-mark{border-radius:10px;width:40px;height:40px;font-size:30px}.sidebar nav{gap:6px;width:auto;margin:0 0 0 auto;display:flex}.nav-item{gap:2px;padding:5px 10px}.sidebar-footer{display:none}.workspace{width:100%;margin:0}.app-shell{display:block}.topbar{height:72px}.brand-line{font-size:13px}.counter{flex-direction:column;display:flex}.product-row{grid-template-columns:repeat(3,minmax(0,1fr))}.order-panel{height:auto;min-height:430px;position:static}.cart-items{max-height:300px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:23px}.top-item{gap:10px;font-size:12px}.admin-content{padding:16px}.app-footer{padding:12px}.button-group{flex-wrap:wrap}}@media print{@page{size:auto;margin:3mm}body{background:#fff!important}body>*{display:none!important}body>#print-receipt{display:block!important}#print-receipt{width:74mm}.receipt{padding:0;font-size:11px}.receipt h2{font-size:16px}.receipt-line{break-inside:avoid}}@media screen and (min-width:900px) and (max-height:900px){.counter{padding-top:16px;padding-bottom:14px}.counter-heading{margin-bottom:16px}.product-grid{gap:11px}.product-button{gap:8px;min-height:72px;padding:10px 8px}.category-heading{margin-bottom:7px}.order-panel{height:calc(100dvh - 128px)}}@media (max-width:600px){.topbar{flex-wrap:wrap;gap:10px;height:auto;min-height:88px;padding:12px 15px}}.brand-mark{letter-spacing:0;place-items:center;padding:0;font-size:18px;display:grid;overflow:hidden}.brand-logo{object-fit:contain;max-width:100%;height:100%}.receipt>.brand-logo{width:64px;height:52px;margin:0 auto 12px;display:block}.brand-line{overflow-wrap:anywhere}.topbar>div:first-child{min-width:0;max-width:55%}.topbar p{overflow-wrap:anywhere}.header-actions{flex-shrink:0}button[aria-label=Change\ cashier]{text-overflow:ellipsis;white-space:nowrap;max-width:130px;display:block;overflow:hidden}.settings-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:32px;max-width:1050px;display:grid}.settings-layout h3{margin-top:12px}.branding-preview{align-self:start;position:sticky;top:24px}.preview-label{letter-spacing:1.5px;color:var(--muted);margin-bottom:14px;font-size:10px}.identity-preview{overflow-wrap:anywhere;align-items:center;gap:16px;display:flex}.identity-preview .brand-logo{flex-shrink:0;width:60px;height:60px}.identity-preview .brand-initials{background:var(--accent);color:#fff;border-radius:12px;padding:16px}.identity-preview p{color:var(--muted);margin-top:8px;font-size:12px}.settings-receipt{box-shadow:var(--shadow);overflow-wrap:anywhere;margin:24px auto}.receipt{overflow-wrap:anywhere}.receipt-line>span:last-child{white-space:nowrap}@media (max-width:800px){.settings-layout{grid-template-columns:1fr}.branding-preview{position:static}.topbar>div:first-child{max-width:48%}}@media (max-width:600px){.topbar>div:first-child{max-width:100%}.sidebar nav{gap:0}.nav-item{padding:5px 8px}.sidebar{padding:6px 8px}.brand-mark{flex-shrink:0;width:34px}}kbd{border:1px solid var(--line);white-space:nowrap;border-radius:4px;padding:1px 5px;font-family:inherit;font-size:10px;font-weight:500;line-height:1.4}.product-meta{justify-content:space-between;align-items:center;gap:4px;display:flex}.product-meta kbd{color:var(--muted);font-size:9px;line-height:1.2}.payment-options kbd{margin-left:8px}.done kbd{letter-spacing:0;border-color:currentColor}.shortcut-list{margin:20px 0}.shortcut-list>div{border-bottom:1px solid var(--line);grid-template-columns:130px 1fr;align-items:center;gap:12px;padding:10px 0;display:grid}.shortcut-list dd{margin:0;font-size:12px;line-height:1.5}@media (max-width:600px){.shortcut-help{padding:8px;font-size:10px}.shortcut-help kbd{display:none}.shortcut-list>div{grid-template-columns:110px 1fr}}.reset-section{border-color:#c75140;max-width:1050px;margin-top:24px}.reset-section p{max-width:720px;margin:12px 0 18px}.danger-button{color:#fff;background:#a92d22;border:1px solid #a92d22;border-radius:8px;min-height:44px;padding:10px 16px;font-size:12px;font-weight:700}.empty-state h2,.empty-state h3{color:var(--ink);margin-bottom:12px}.empty-state .primary{margin-top:20px}
