:root{color:#271410;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--brand:#8b1e1e;--brand-dark:#631212;--accent:#e8a529;--paper:#fffdf8;--line:#ead8c5;--muted:#7b6258;--danger:#a51f1f;background:#fff7ed;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 0 0,#e8a5292e,#0000 32rem),linear-gradient(135deg,#fff7ed 0%,#fffdf8 100%);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{color:#271410;cursor:pointer;background:#f3dfc8;border:0;border-radius:12px;padding:.75rem 1rem;font-weight:700;transition:transform 80ms,background .15s}button:hover{background:#ebcfad}button:active{transform:scale(.98)}button.primary{background:var(--brand);color:#fff}button.primary:hover{background:var(--brand-dark)}button.secondary{background:#f6ead9}button.danger{color:var(--danger);background:#f4d4d4}input,select,textarea{border:1px solid var(--line);color:#271410;background:#fff;border-radius:12px;outline:none;width:100%;padding:.75rem .85rem}textarea{resize:vertical;min-height:78px}label{color:#4a2d25;gap:.4rem;font-weight:700;display:grid}.app{max-width:1540px;margin:0 auto;padding:1rem}.topbar{background:var(--brand);color:#fff;border-radius:24px;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 1.2rem;display:flex;box-shadow:0 12px 30px #63121226}.eyebrow{opacity:.8;text-transform:uppercase;letter-spacing:.08em;margin:0 0 .2rem;font-size:.78rem}h1{margin:0;font-size:clamp(2rem,5vw,3.1rem);line-height:.95}.domain{white-space:nowrap;background:#ffffff1f;border-radius:999px;padding:.55rem .85rem}.tabs{gap:.6rem;margin:1rem 0;padding-bottom:.2rem;display:flex;overflow-x:auto}.tabs button{border:1px solid var(--line);background:#fff}.tabs button.active{background:var(--accent);color:#321300;border-color:#0000}.grid-layout{grid-template-columns:minmax(390px,.9fr) minmax(420px,1.3fr);align-items:start;gap:1rem;display:grid}.panel{border:1px solid var(--line);background:#fffdf8eb;border-radius:24px;padding:1rem;box-shadow:0 18px 45px #6b402514}h2{margin:0 0 1rem;font-size:1.35rem}h3{color:var(--brand);margin:.5rem 0 .75rem}.form-grid{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.form-grid .wide{grid-column:1/-1}.cart{margin-top:1.4rem}.cart-header,.panel-title-row,.history-head,.cart-item-main{justify-content:space-between;align-items:center;gap:1rem;display:flex}.cart-header strong{color:var(--brand);font-size:1.6rem}.empty{color:var(--muted);border:1px dashed var(--line);background:#fff6e8;border-radius:14px;padding:1rem}.cart-list{gap:.75rem;display:grid}.cart-item{border:1px solid var(--line);background:#fff;border-radius:18px;padding:.85rem}.cart-item-main strong{font-size:1rem}.cart-item-main span{color:var(--brand);font-weight:800}.cart-controls{grid-template-columns:auto 4rem auto 1fr;gap:.5rem;margin-top:.75rem;display:grid}.cart-controls input{text-align:center;padding-left:.3rem;padding-right:.3rem}.note-input{margin-top:.7rem}.actions-bar{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;margin-top:1rem;display:flex}.actions-bar.left{justify-content:flex-start}.panel-title-row{align-items:flex-start;margin-bottom:1rem}.search{max-width:360px}.category-block+.category-block{margin-top:1.25rem}.products-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.7rem;display:grid}.product-card{text-align:left;border:1px solid var(--line);background:#fff;grid-template-rows:auto 1fr auto;gap:.35rem;min-height:132px;display:grid}.product-card:hover{background:#fff5e6}.product-name{font-weight:900;line-height:1.15}.product-desc{color:var(--muted);font-size:.88rem;line-height:1.25}.product-card strong{color:var(--brand);font-size:1.2rem}.history-panel,.menu-admin-panel{min-height:60vh}.muted{color:var(--muted);margin:.2rem 0 0}.history-list{gap:.85rem;display:grid}.history-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:1rem}.history-head h3{margin:0 0 .2rem}.history-head p{color:var(--muted);margin:0}.history-head strong{color:var(--brand);font-size:1.4rem}.customer-line{font-weight:700}.history-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.8rem;display:flex}.history-actions select{width:auto;min-width:150px}.menu-table{border-collapse:collapse;border-radius:14px;width:100%;overflow:hidden}.menu-table th,.menu-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:.75rem}.menu-table th{background:#f5ddc0}.menu-table tr:nth-child(2n) td{background:#fff9f1}@media (width<=920px){.grid-layout{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.domain{white-space:normal}}@media (width<=600px){.app{padding:.6rem}.panel{border-radius:18px;padding:.8rem}.form-grid{grid-template-columns:1fr}.panel-title-row{flex-direction:column}.search{max-width:none}.cart-controls{grid-template-columns:auto 4rem auto}.cart-controls .danger{grid-column:1/-1}.products-grid{grid-template-columns:1fr 1fr}.product-card{min-height:120px;padding:.65rem}}@media (width<=420px){.products-grid{grid-template-columns:1fr}}.cloud-strip{background:#edf7ed;border:1px solid #b9dfbb;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:1440px;margin:0 auto 16px;padding:12px 16px;display:flex}.cloud-strip.local{background:#fff8e8;border-color:#f1d28a}.login-panel{max-width:520px;margin:0 auto}.login-form{gap:14px;margin-top:18px;display:grid}.error-box{color:#8b1e1e;background:#ffecec;border:1px solid #ffb3b3;border-radius:14px;max-width:1440px;margin:12px auto;padding:12px 14px}.error-box.compact{margin-top:-4px}.product-card.customisable{border-color:#8b1e1e59}.custom-badge{color:var(--brand);background:#fff0d5;border:1px solid #edc179;border-radius:999px;justify-self:start;padding:.22rem .55rem;font-size:.75rem;font-weight:900}.info-box{border:1px dashed var(--line);color:#4a2d25;background:#fff6e8;border-radius:14px;margin:0 0 1rem;padding:.85rem 1rem;line-height:1.45}.modal-backdrop{z-index:50;background:#2714108c;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;width:min(980px,100%);max-height:92vh;padding:1rem;overflow:auto;box-shadow:0 30px 90px #00000047}.modal-head{z-index:6;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffdf8f5;justify-content:space-between;align-items:flex-start;gap:1rem;margin:-1rem -1rem 1rem;padding:1rem;display:flex;position:sticky;top:-1rem}.modal-head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;display:flex}.modal-head-total{text-align:right;color:var(--muted);gap:.1rem;font-size:.78rem;font-weight:800;display:grid}.modal-head-total strong{color:var(--brand);font-size:1.1rem}.eyebrow.dark{color:var(--brand);opacity:1}.custom-section{border-top:1px solid var(--line);margin-top:.9rem;padding-top:.9rem}.small-section{max-width:260px}.choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.choice-card{cursor:pointer;border:1px solid var(--line);background:#fff;border-radius:16px;gap:.35rem;padding:.85rem;display:grid}.choice-card input,.chip input{width:auto;margin:0}.choice-card.selected,.chip.selected{border-color:var(--brand);background:#fff1df}.quantity-row{grid-template-columns:auto 80px auto;align-items:center;gap:.5rem;display:grid}.quantity-row input{text-align:center}.chip-grid{flex-wrap:wrap;gap:.5rem;display:flex}.chip{cursor:pointer;border:1px solid var(--line);color:#4a2d25;background:#fff;border-radius:999px;align-items:center;gap:.35rem;padding:.5rem .7rem;font-weight:800;display:inline-flex}.danger-chip{color:var(--danger);background:#ffecec!important;border-color:#f0aaaa!important}.additions-grid{max-height:220px;padding:.2rem;overflow:auto}.modal-total{border:1px solid var(--line);background:#fff6e8;border-radius:16px;justify-content:space-between;align-items:center;margin-top:1rem;padding:.9rem 1rem;display:flex}.modal-total strong{color:var(--brand);font-size:1.4rem}@media (width<=700px){.choice-grid{grid-template-columns:1fr}.modal-head{flex-direction:column;align-items:stretch;margin:-.85rem -.85rem 1rem;padding:.85rem;top:-.85rem}.modal-head-actions{grid-template-columns:1fr 1fr;align-items:stretch;display:grid}.modal-head-total{text-align:left;grid-column:1/-1}.modal-card{border-radius:18px;padding:.85rem}}.menu-title-row{align-items:center}.menu-switcher{z-index:8;border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffdf8f2;border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:0 0 1rem;padding:.55rem;display:grid;position:sticky;top:.5rem}.menu-switcher button{border:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:.5rem;padding:.72rem .8rem;display:flex}.menu-switcher button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.menu-switcher button strong{min-width:1.9rem;height:1.9rem;color:var(--brand);background:#fff6e8;border-radius:999px;place-items:center;font-size:.82rem;display:inline-grid}.menu-switcher button.active strong{color:#fff;background:#ffffff2e}@media (width<=600px){.menu-switcher{display:flex;overflow-x:auto}.menu-switcher button{flex:none;min-width:132px}}.admin-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;display:flex}.admin-actions.left{justify-content:flex-start;margin-top:.8rem}.admin-card{border:1px solid var(--line);background:#fffaf2;border-radius:20px;margin-top:1rem;padding:1rem}.admin-card h3{margin-top:0}.admin-form-grid{grid-template-columns:repeat(4,minmax(160px,1fr));align-items:end;gap:.85rem;display:grid}.admin-form-grid.compact{grid-template-columns:repeat(3,minmax(150px,1fr))}.admin-form-grid .wide{grid-column:1/-1}.checkbox-label{flex-direction:row;align-items:center;gap:.55rem;font-weight:700;display:flex}.checkbox-label input{width:auto}.checkbox-label.inline{width:max-content}.menu-edit-list{gap:.9rem;display:grid}.menu-edit-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:.9rem}.menu-edit-head{justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.75rem;display:flex}.variant-editor{grid-template-columns:repeat(3,minmax(130px,1fr));align-items:end;gap:.75rem;display:grid}.additions-admin-list{gap:.65rem;margin-top:1rem;display:grid}.addition-admin-row{grid-template-columns:110px 1fr 120px auto auto;align-items:center;gap:.6rem;display:grid}@media (width<=900px){.admin-form-grid,.admin-form-grid.compact,.variant-editor,.addition-admin-row{grid-template-columns:1fr}.admin-actions{justify-content:flex-start}}.section-title-row{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}.section-title-row h3,.section-title-row p{margin-top:0}.addition-search{max-width:280px}@media (width<=700px){.section-title-row{display:grid}.addition-search{max-width:none}}.config-panel{gap:1rem;display:grid}.config-card{border:1px solid var(--line);background:#fffaf2;border-radius:20px;padding:1rem}.config-card h3{margin-top:0}.config-grid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:1rem;display:grid}.config-grid input[type=range]{accent-color:var(--brand);padding:0}.print-preview-box{color:#000;background:#fff;border:1px solid #ddd;border-radius:10px;width:min(100%,420px);padding:.7rem;font-family:Arial,Helvetica,sans-serif;font-weight:900}.preview-order-type{text-align:center;border:solid #000;border-radius:5px;padding:.35rem;font-weight:950}.preview-meta{border-bottom:solid #000;gap:.2rem;padding:.4rem 0;display:grid}.preview-meta div{grid-template-columns:110px 1fr;gap:.4rem;display:grid}.preview-meta span,.preview-meta strong{font-weight:950}.preview-item{border-bottom:solid #000;grid-template-columns:1fr auto;gap:.5rem;padding:.55rem 0;display:grid}.preview-item strong,.preview-item span{font-weight:950}.preview-item p{grid-column:1/-1;margin:.35rem 0 0;font-weight:900}.preview-total{border:solid #000;border-radius:5px;justify-content:space-between;gap:.6rem;margin-top:.55rem;padding:.4rem;font-weight:950;display:flex}@media (width<=720px){.config-grid{grid-template-columns:1fr}}
