:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#19261e;background:#f6f7f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e48c3c;outline-offset:2px}main{min-height:100dvh;max-width:720px;margin:auto;padding:24px 18px calc(96px + env(safe-area-inset-bottom))}h1,h2,p{margin:0}h1{font-size:clamp(2rem,9vw,3.4rem);line-height:1;letter-spacing:-.055em}h2{font-size:1.5rem;letter-spacing:-.035em}.eyebrow{color:#67726a;font-size:.72rem;font-weight:750;letter-spacing:.11em;text-transform:uppercase}.muted{color:#556259;line-height:1.5}.hero{display:flex;justify-content:space-between;gap:16px;padding:16px 4px 34px}.section-heading,.order-heading,.sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.refresh,.text-button,.back{border:0;background:transparent;color:#315b43;font-weight:750}.refresh{font-size:1.5rem}.hero .text-button{margin-left:auto}.view-toggle{margin:16px 0;width:100%;min-height:44px;border:1px solid #bfcabf;border-radius:13px;background:#fff;color:#315b43;font-weight:800}.mesas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mesa-card{display:flex;min-width:0;aspect-ratio:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px;border:1px solid #d7ded7;border-radius:16px;background:#fff;color:#24342a;text-align:center}.mesa-card strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:clamp(.85rem,3.5vw,1.15rem)}.mesa-card span,.mesa-card small{font-size:.7rem}.mesa-card.libre{border-color:#a7d5b6;background:#f1faf2}.mesa-card.ocupada{border-color:#abc5de;background:#f1f7fc}.mesa-card.preparando{border-color:#efcf9c;background:#fff8ec}.mesa-card.lista{border-color:#c8bae9;background:#f7f3ff}.mapa-toolbar{display:flex;justify-content:flex-end;margin:0 0 10px}.mapa-controls{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #d9dfd9;border-radius:999px;background:#fff}.mapa-controls button{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:999px;background:transparent;color:#315b43;font-size:1.05rem;font-weight:750}.mapa-controls button:disabled{opacity:.3}.mapa-zoom{width:38px;text-align:center;font-size:.72rem;font-weight:750;color:#556259}.mapa-mesas{height:min(64dvh,600px);overflow:auto;border:1px solid #dae1da;border-radius:18px;background:#fff;touch-action:pan-x pan-y}.mapa-contenedor{display:flex;align-items:center;justify-content:center;min-height:100%;min-width:100%}.mapa-plano{position:relative;flex-shrink:0;overflow:hidden;background-image:radial-gradient(circle,#d9dfd9 1px,transparent 1px);background-size:28px 28px}.mapa-mesa{position:absolute;display:flex;flex-direction:column;justify-content:space-between;padding:10px 12px;border:1px solid;border-radius:14px;text-align:left;color:#24342a;box-shadow:0 3px 12px #1731230d}.mapa-mesa strong{font-size:.95rem}.mapa-estado{display:flex;align-items:center;gap:6px;font-size:.72rem;font-weight:750;white-space:nowrap}.mapa-dot{width:7px;height:7px;border-radius:999px;background:currentColor}.mapa-meta{font-size:.7rem;color:#637067}.mapa-mesa.libre{border-color:#a7d5b6;background:#f1faf2}.mapa-mesa.ocupada{border-color:#abc5de;background:#f1f7fc}.mapa-mesa.preparando{border-color:#efcf9c;background:#fff8ec}.mapa-mesa.lista{border-color:#c8bae9;background:#f7f3ff}.network{margin:0 0 16px;padding:12px;border-radius:12px;font-size:.9rem}.warning{color:#765116;background:#fff2d9}.error{color:#a53a35;background:#fce9e7}.loading{padding:24px 0}.pedido{padding-top:16px}.mesa-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;min-height:112px}.mesa-header .back{justify-self:start;padding:8px 0}.mesa-header h1{align-self:end;font-size:clamp(2.6rem,12vw,4.2rem);text-align:center;white-space:nowrap}.mesa-vacia{margin:8px 0 34px;text-align:center;color:#647068;font-size:.9rem;font-weight:850;letter-spacing:.13em}.order-card{margin:20px 0;overflow:hidden;border:1px solid #dae1da;border-radius:18px;background:#fff}.order-heading{padding:14px 16px;background:#fbfcfa}.readonly{margin:16px;padding:18px 16px;border-radius:14px;background:#edf2ec;color:#69746c}.items{margin:0;padding:0;list-style:none}.items li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 16px;border-top:1px solid #eef0ed}.items li.item-editable{cursor:pointer}.items li.item-editable:active{background:#f3f6f2}.items small,.product small{display:block;margin-top:3px;color:#67726a;line-height:1.35}.remove-x,.sheet-close{display:grid;flex:0 0 auto;width:38px;height:38px;place-items:center;border:0;border-radius:11px;background:#f6e9e7;color:#a53a35;font-size:1.55rem;line-height:1}.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.tabs button{aspect-ratio:1;border:1px solid #d9dfd9;border-radius:16px;color:#526158;background:#fff;font-size:.9rem;font-weight:750;padding:12px}.tabs .active{color:#fff;border-color:#163b2b;background:#163b2b}.menu-search{width:100%;min-height:48px;margin-top:16px;border:1px solid #d6ded6;border-radius:12px;padding:0 12px;background:#fff;color:#19261e}.product-list{display:grid;gap:9px}.product{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px;border:1px solid #dce2dc;border-radius:15px;text-align:left;color:#223027;background:#fff}.product b{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;color:#fff;background:#163b2b;font-size:1.4rem}.product.selected{border-color:#163b2b;box-shadow:0 0 0 3px #163b2b26}.categoria-title{margin:14px 0 6px;font-size:.78rem;text-transform:uppercase;color:#67726a}.checkout{position:fixed;z-index:2;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:720px;margin:auto;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #dbe2db;background:#fffffff0;backdrop-filter:blur(12px)}.checkout span{display:grid;color:#5e695f;font-size:.75rem}.primary{min-height:48px;padding:0 16px;border:0;border-radius:13px;color:#fff;background:#163b2b;font-weight:750}.primary:disabled{color:#78837b;background:#e1e5e0}.wide{width:100%}.login-page{display:grid;place-items:center}.login-card{display:grid;width:min(100%,420px);gap:16px;padding:26px;border:1px solid #dce4dc;border-radius:22px;background:#fff}.login-card label{display:grid;gap:6px;font-weight:700}.login-card input{width:100%;min-height:48px;border:1px solid #d6ded6;border-radius:12px;padding:0 12px}.login-card h1{font-size:2.2rem}.login-help{color:#67726a;line-height:1.45}.otp-input{text-align:center;font-size:1.45rem;font-weight:800;letter-spacing:.32em}.sheet-backdrop{position:fixed;z-index:10;inset:0;display:flex;align-items:flex-end;background:#10211666}.sheet{width:min(720px,100%);max-height:90dvh;overflow:auto;padding:22px 18px calc(22px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#fff}.sheet fieldset{margin:20px 0;padding:0;border:0}.sheet legend{margin-bottom:10px;font-weight:800}.sheet-close{background:#eef1ed;color:#32463a}.variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.variant-card{display:flex;min-height:76px;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:14px;border:1px solid #d6ded6;border-radius:13px;background:#fff;color:#24342a;text-align:left}.variant-card.active{border-color:#163b2b;background:#eaf2ec;box-shadow:inset 0 0 0 1px #163b2b}.variant-card span{font-size:.78rem;color:#647068}.customization-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.customization-actions button{min-height:54px;border:1px solid #b9c6bc;border-radius:13px;background:#fff;color:#315b43;font-weight:800}.customization-actions button.active{border-color:#163b2b;background:#eaf2ec}.choice{display:flex;align-items:center;gap:9px;padding:12px 0;border-bottom:1px solid #edf0ed}.choice span{margin-left:auto;color:#5c695f}.choice input{width:20px;height:20px;accent-color:#163b2b}.product-note{display:grid;gap:8px;margin:20px 0}.product-note textarea{min-height:96px;resize:vertical;border:1px solid #d6ded6;border-radius:13px;padding:12px;color:#19261e}.sheet>.primary{margin-top:8px}@media(min-width:560px){main{padding:38px 28px calc(100px + env(safe-area-inset-bottom))}.mapa-mesas{height:min(66dvh,680px)}.checkout{padding-right:28px;padding-left:28px}.sheet{margin:auto;border-radius:24px}}
