:root{color:#412b12;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;--coffee:#412b12;--cream:#fff7e9;--paper:#fffdf8;--muted:#6c5843;--line:#e5d5bf;background:#fff7e9;font-family:system-ui,PingFang TC,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{margin:0}.shell{max-width:780px;margin:auto;padding:0 clamp(12px,3vw,24px)}.brand{align-items:center;gap:12px;padding:14px 0 10px;display:flex}.brand img{border:1px solid var(--line);border-radius:50%}.brand strong{letter-spacing:.04em;font-size:1.42rem;display:block}.brand-kicker{letter-spacing:.12em;color:var(--muted);font-size:.78rem}nav{border-bottom:1px solid var(--line);grid-template-columns:repeat(5,1fr);gap:3px;display:grid}nav a{border-radius:8px 8px 0 0;place-items:center;min-height:46px;font-weight:650;text-decoration:none;display:grid}nav a.active{color:var(--paper);background:var(--coffee)}a{color:inherit}main{padding-top:12px}footer{padding:24px 0 calc(20px + env(safe-area-inset-bottom));color:var(--muted);font-size:.82rem}h1{margin:0 0 8px;font-size:1.65rem}h2{margin:0 0 8px;font-size:1.15rem}h3{margin:0 0 8px}p{margin:0 0 9px;line-height:1.55}button,input,select{font:inherit;border-radius:9px;min-height:48px}button{cursor:pointer;background:var(--coffee);border:1px solid var(--coffee);color:var(--paper);padding:8px 14px;font-weight:700}button.secondary{color:var(--coffee);border-color:var(--line);background:#fcf0df}button.danger{background:#8a352a;border-color:#8a352a}button:disabled{cursor:default;opacity:.48}:focus-visible{outline-offset:2px;outline:3px solid #a35526}input,select{width:100%;min-width:0;color:inherit;background:#fff;border:1px solid #bda88e;padding:8px 10px}label{gap:5px;display:grid}.panel{background:var(--paper);border:1px solid var(--line);border-radius:13px;margin-bottom:12px;padding:14px}.form{align-content:start;gap:12px;display:grid}.form p{margin:0}.setup{max-width:460px;margin:12px auto}.actions{flex-wrap:wrap;gap:8px;display:flex}.check{align-items:center;gap:9px;min-height:46px;display:flex}.check input{width:22px;height:22px;min-height:0;accent-color:var(--coffee)}.notice{background:#f3e8d6;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.backup-notice{min-height:44px;margin-bottom:12px;font-size:.9rem;text-decoration:none}.notice.due{color:#653909;background:#ffdfad;font-weight:700}.page-heading{justify-content:space-between;align-items:start;display:flex}.page-heading p,.date-label{color:var(--muted);font-size:.87rem}.tag{color:#604420;background:#f2e6d3;border-radius:20px;padding:3px 8px;font-size:.78rem;font-weight:700;display:inline-block}.tag.limited{color:#742e32;background:#f4dcd6}.cashier-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.product-card{border:1px solid var(--line);background:var(--paper);border-radius:13px;flex-direction:column;display:flex;overflow:hidden}.product-add{text-align:left;background:var(--paper);color:var(--coffee);border:0;border-radius:0;flex-direction:column;flex:1;align-items:stretch;padding:0;display:flex}.product-add:focus-visible{outline-offset:-3px}.product-photo{color:#88613c;aspect-ratio:1.9;background:#f3e5d1;place-items:center;display:grid;overflow:hidden}.product-photo img{object-fit:cover;width:100%;height:100%;display:block}.product-photo svg{width:35%;height:65%}.product-label{align-content:start;justify-items:start;gap:3px;padding:8px;display:grid}.product-label strong{font-size:1.1rem}.quantity{text-align:center;grid-template-columns:1fr 1fr 1fr;align-items:center;padding:4px 7px 7px;display:grid}.quantity button{min-height:44px;padding:4px}.quantity output,.total-row strong,.cash-row output{font-variant-numeric:tabular-nums}.checkout{z-index:1;padding-bottom:max(12px, env(safe-area-inset-bottom));gap:8px;margin-top:12px;display:grid;position:sticky;bottom:0;box-shadow:0 -4px 22px #412b1214}.total-row,.cash-row,.sale-lines li{justify-content:space-between;align-items:center;gap:10px;display:flex}.total-row strong{font-size:1.25rem}.cash-row label{flex:1;max-width:340px}.cash-row output{color:#395d3d;font-weight:700}.success,[role=alert]{border-radius:7px;margin:0;padding:8px;font-weight:650}.success{color:#2c5436;background:#e4efd9}[role=alert]{color:#7d3029;background:#fae2dc}.cards,.sale-lines{padding:0;list-style:none}.sale-lines{margin:10px 0}.sale-lines li{border-bottom:1px solid var(--line);padding:5px 0}.catalog-row{grid-template-columns:52px 1fr auto;align-items:center;gap:10px;display:grid}.catalog-row .product-photo{aspect-ratio:1;border-radius:6px}.photo-preview{max-width:240px}.void-form{border-top:1px solid var(--line);padding-top:10px}.storage-panel{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.storage-panel img{border-radius:7px;align-self:center;width:clamp(76px,24vw,138px);height:auto}.restore-summary{gap:8px;display:grid}.restore-summary table{border-collapse:collapse;width:100%}.restore-summary :is(th,td){text-align:left;border-bottom:1px solid var(--line);padding:5px}.break{overflow-wrap:anywhere}@media (width>=650px){.cashier-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
