:root{--bg: #f4f5f7;--surface: #ffffff;--ink: #1f2933;--muted: #6b7280;--line: #e4e7eb;--brand: #7b4b2a;--brand-ink: #ffffff;--danger: #b42318;--ok: #027a48;--radius: 14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-tap-highlight-color:transparent}h1,h2,h3{margin:0 0 12px}h2{font-size:22px}.shell{max-width:720px;margin:0 auto;padding-bottom:32px}.tabs{display:flex;gap:4px;padding:8px;background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.tabs a{flex:1;text-align:center;padding:14px 8px;border-radius:10px;text-decoration:none;color:var(--muted);font-weight:600}.tabs a.active{background:var(--brand);color:var(--brand-ink)}.page{padding:16px;display:flex;flex-direction:column;gap:14px}.center{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}.center-text{text-align:center}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:12px}.card.customer{flex-direction:row;align-items:center;justify-content:space-between}.card.success{border-color:var(--ok)}.card.nested{background:var(--bg);margin:8px 0;gap:8px}.card.nested .row{flex-wrap:wrap}h4{margin:16px 0 4px;font-size:16px}.muted{color:var(--muted)}.strike{text-decoration:line-through}.error{color:var(--danger);font-weight:600}.note{background:#fff7ed;padding:8px 10px;border-radius:8px;margin:0}.badge{background:var(--brand);color:var(--brand-ink);padding:6px 12px;border-radius:999px;font-weight:700}.row{display:flex;align-items:center;gap:10px}.row.space{justify-content:space-between}.grow{flex:1}button,.button,label.button{font:inherit;font-weight:600;padding:14px 18px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;min-height:48px}.button,label.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box}button.primary,.button.primary{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}button.secondary,.button.secondary,label.button.secondary{background:var(--surface)}button.link{background:none;border:none;color:var(--muted)}button:disabled{opacity:.45;cursor:not-allowed}.chip{padding:8px 16px;border-radius:999px;min-height:40px}.chip.active{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}input[type=text],input[type=number],input[type=email],input:not([type]){font:inherit;padding:12px;border:1px solid var(--line);border-radius:10px;min-width:0;width:100%}input[type=checkbox]{width:26px;height:26px}select{font:inherit;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);width:100%;min-height:48px}label{font-weight:500}.big-toggle{font-size:18px;font-weight:600}.menu-row{padding:8px 0;border-bottom:1px solid var(--line)}.menu-row:last-child{border-bottom:none}.amount{font-size:46px;font-weight:700;text-align:center;letter-spacing:-1px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.key{font-size:24px;padding:20px 0;min-height:64px}.scanner{position:relative;border-radius:var(--radius);overflow:hidden;background:#000;aspect-ratio:4 / 3}.scanner video{width:100%;height:100%;object-fit:cover}.scanner-frame{position:absolute;top:18%;right:18%;bottom:18%;left:18%;border:3px solid rgba(255,255,255,.85);border-radius:12px}.order.pending{border-left:5px solid var(--brand)}.order.accepted{border-left:5px solid #b54708}.order.ready{border-left:5px solid var(--ok)}.lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.lines li{display:flex;justify-content:space-between;gap:12px}.delivery{background:var(--surface-2, rgba(0, 0, 0, .04));border-left:3px solid var(--brand);padding:10px 12px;border-radius:8px;margin:10px 0;font-size:.95rem}.delivery a{font-weight:700}.order .badge{font-size:.7rem;padding:3px 8px;margin-left:8px;vertical-align:middle}
