:root{color:#231f20;font-synthesis:none;text-rendering:optimizelegibility;background:#fff9f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button,.button-link{color:#fff;cursor:pointer;background:#6d213c;border:0;border-radius:6px;justify-content:center;align-items:center;min-height:40px;padding:.62rem .9rem;font-weight:700;text-decoration:none;display:inline-flex}button:disabled{cursor:not-allowed;opacity:.55}input,select,textarea{color:#231f20;background:#fff;border:1px solid #dac8be;border-radius:6px;width:100%;padding:.65rem .7rem}label{gap:.35rem;font-weight:700;display:grid}label span,label small{color:#7d2532;font-size:.82rem;font-weight:600}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #eadbd1;padding:.8rem}th{color:#6d213c;text-transform:uppercase;background:#fff1e9;font-size:.78rem}.app-shell{min-height:100vh}.topbar{z-index:5;background:#fff9f5;border-bottom:1px solid #eadbd1;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem clamp(1rem,3vw,2rem);display:flex;position:sticky;top:0}.brand-title{align-items:center;gap:.75rem;display:flex}.brand-title img{object-fit:contain;width:46px;height:46px}.brand-title h1,.brand-title p{margin:0}.brand-title h1{font-size:clamp(1.1rem,2vw,1.45rem)}.eyebrow{color:#8b4a32;text-transform:uppercase;font-size:.78rem;font-weight:800}.tabs{background:#fff;border-bottom:1px solid #eadbd1;gap:.35rem;padding:.5rem clamp(1rem,3vw,2rem);display:flex;overflow-x:auto}.tabs button{color:#5f4438;background:0 0;flex:none;min-height:36px}.tabs button.active{color:#fff;background:#6d213c}main{width:min(1180px,100%);margin:0 auto;padding:clamp(1rem,3vw,2rem)}.login-screen{place-items:center;min-height:100vh;padding:1rem;display:grid}.login-panel{background:#fff;border:1px solid #eadbd1;border-radius:8px;gap:1rem;width:min(440px,100%);padding:1.4rem;display:grid;box-shadow:0 18px 50px #6d213c1f}.login-panel h1,.login-panel p{margin:0}.auth-mark{color:#fff;background:#6d213c;border-radius:50%;place-items:center;width:48px;height:48px;font-weight:900;display:grid}.auth-logo{object-fit:contain;width:56px;height:56px}.totp-qr{background:#fff;border:1px solid #eadbd1;border-radius:8px;justify-self:center;width:min(260px,100%);padding:.5rem}.stack{gap:1rem;display:grid}.toolbar,.filters,.line-row{gap:.85rem;display:grid}.toolbar{grid-template-columns:1fr auto;align-items:center}.toolbar h2,.toolbar p,.stack h2{margin:0}.filters{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.metric-grid,.detail-grid,.menu-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.85rem;display:grid}.metric,.panel,.total-panel,.empty,.form-error{background:#fff;border:1px solid #eadbd1;border-radius:8px;padding:1rem}.metric{gap:.35rem;display:grid}.metric span{color:#6d5a50;font-size:.85rem}.metric strong{color:#6d213c;font-size:1.7rem}.panel{gap:.35rem;display:grid}.table-wrap{background:#fff;border:1px solid #eadbd1;border-radius:8px;overflow-x:auto}.order-row{cursor:pointer}.order-row:focus,.order-row:hover{outline-offset:-2px;outline:2px solid #b85c38}.row-actions{flex-wrap:wrap;gap:.4rem;display:flex}.row-actions button{color:#6d213c;background:#fff1e9;min-height:32px;padding:.35rem .55rem}.status{color:#40362f;background:#f0eee9;border-radius:999px;padding:.25rem .55rem;font-size:.82rem;font-weight:800;display:inline-flex}.status.confirmed,.status.ready,.status.delivered{color:#146b3a;background:#e6f5ec}.status.preparing{color:#805300;background:#fff1d9}.status.cancelled,.form-error{color:#8d1d18;background:#fdeceb}.form-grid{background:#fff;border:1px solid #eadbd1;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1rem;display:grid}.form-grid h2,.form-grid .line-editor,.form-grid .total-panel,.form-grid .form-error,.form-grid button[type=submit]{grid-column:1/-1}.line-editor{border-top:1px solid #eadbd1;gap:.75rem;padding-top:1rem;display:grid}.line-row{border:1px solid #eadbd1;border-radius:8px;grid-template-columns:minmax(220px,2fr) 110px repeat(auto-fit,minmax(170px,1fr)) auto;align-items:end;padding:.75rem}.total-panel{justify-content:space-between;gap:1rem;display:flex}textarea{min-height:180px}@media (width<=760px){.topbar,.toolbar,.form-grid,.line-row{grid-template-columns:1fr}.topbar{align-items:start}}
