*,*:before,*:after{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden;background:#1c1410;color:#fff8f0;font-family:Nunito,system-ui,sans-serif}#renderCanvas{width:100%;height:100%;display:block;touch-action:none;outline:none}#hud{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;display:grid;grid-template-columns:minmax(280px,360px) 1fr;grid-template-rows:auto 1fr auto;gap:.75rem;padding:1rem 1.1rem 1.1rem}#hud .panel{pointer-events:auto;background:#1c120ed1;border:1px solid rgba(255,200,140,.22);border-radius:.9rem;padding:.9rem 1rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 12px 40px #00000059}#hud h1,#hud h2{margin:0;font-family:Fraunces,Georgia,serif;font-weight:700}#hud h1{font-size:1.55rem;color:#ffd27a}#hud h2{font-size:1.1rem;color:#ffe8c8}#hud .muted{margin:.25rem 0 0;color:#e0c4a8;font-size:.88rem}#hud .ticket{margin-top:.65rem;padding:.7rem .8rem;border-radius:.6rem;background:#fff4dc14;border-left:3px solid #f15a3a;line-height:1.4;font-size:.95rem}#hud .customer{display:block;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#ff9a78;margin-bottom:.3rem}#hud .stats{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin-top:.65rem;font-size:.88rem;font-weight:700;color:#ffe08a}#hud .controls{grid-column:1;grid-row:3;align-self:end}#hud .readout{grid-column:2;grid-row:3;justify-self:end;align-self:end;min-width:200px}#hud label{display:flex;flex-direction:column;gap:.3rem;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#e0c4a8;margin-bottom:.65rem}#hud input[type=range]{width:100%;accent-color:#f15a3a}#hud .row{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.35rem}#hud button{border:none;border-radius:.65rem;padding:.5rem .85rem;font:inherit;font-weight:800;cursor:pointer;background:#f15a3a;color:#fff8f5}#hud button:hover{background:#ff7a52}#hud button.ghost{background:#ffc88c1f;border:1px solid rgba(255,200,140,.3);color:#ffe8c8}#hud button.ghost:hover{background:#ffc88c38}#hud .toast{grid-column:1 / -1;grid-row:2;justify-self:center;align-self:start;pointer-events:none;margin-top:.5rem;padding:.7rem 1rem;border-radius:.75rem;font-weight:800;animation:pop .35s ease}#hud .toast.ok{background:#287846eb;color:#eafff0}#hud .toast.bad{background:#8c281eeb;color:#ffe8e0}#hud .hint{margin:.4rem 0 0;font-size:.8rem;color:#c4a890}#hud .title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}#hud .row.tight{gap:.35rem;margin-top:0}#hud .tool-belt{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-top:.55rem}@media(min-width:900px){#hud .tool-belt{grid-template-columns:1fr 1fr 1fr}}#hud button.tool{background:#ffc88c1a;border:1px solid rgba(255,200,140,.28);color:#ffe8c8;font-size:.85rem}#hud button.tool:hover{background:#ffc88c33}#hud button.tool.active{background:#f15a3a;border-color:#ff9a78;color:#fff8f5}#hud .tape-card{margin-top:.65rem;padding:.55rem .7rem;border-radius:.55rem;background:#358ca02e;border:1px solid rgba(95,212,222,.35)}#hud .tape-card strong{display:block;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#7ee8de;margin-bottom:.25rem}#hud .tape-card.prot{background:#783c8c33;border-color:#dc96e666}#hud .tape-card.prot strong{color:#e8b0f0}#hud .tape-card .warn{color:#ffb090}#hud .topping-pick{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.55rem}#hud button.topping{background:#ffc88c1a;border:1px solid rgba(255,200,140,.28);color:#ffe8c8;font-size:.8rem;padding:.4rem .65rem}#hud button.topping.active{background:#2a8a4a;border-color:#6fd68f}#hud .calc{margin-top:.65rem;padding:.65rem;border-radius:.65rem;background:#1418288c;border:1px solid rgba(180,200,255,.25)}#hud .calc-display{font-family:Fraunces,Georgia,serif;font-size:1.45rem;color:#e8f0ff;padding:.35rem .2rem .5rem}#hud .calc-ops{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;margin-top:.5rem}#hud .calc-ops button{padding:.45rem .25rem;font-size:.85rem}#hud em{font-style:normal;color:#ffd27a}@keyframes pop{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:720px){#hud{grid-template-columns:1fr;grid-template-rows:auto auto 1fr auto}#hud .controls,#hud .readout{grid-column:1}#hud .readout{grid-row:4;justify-self:stretch}#hud .controls{grid-row:3}}
