#est-mesa{box-sizing:border-box;width:min(530px,calc(100vw - 18px));max-height:calc(100dvh - 16px);overflow:auto;overscroll-behavior:contain;margin:auto;padding:0;border:1px solid #887351;border-radius:8px;background:#f5edda;color:#342f26;box-shadow:0 14px 72px #17221ad9;font:15px/1.35 system-ui,sans-serif;text-align:left;color-scheme:light}
#est-mesa::backdrop{background:#18201dcc}
#est-mesa .est-cab{position:static;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:2px 12px;align-items:center;padding:12px 18px;background:#513d2e;color:#fcf3dc;width:auto;height:auto}
#est-mesa .est-ano{font:650 13px/1.05 ui-monospace,monospace;color:#f1ce85}
#est-mesa .est-cab h2{grid-column:1;grid-row:2;font:700 clamp(23px,4.5vw,32px)/1.02 Georgia,serif;letter-spacing:-.035em;margin:0;color:#fff7dd;text-transform:none}
#est-mesa button{min-height:44px;border:1px solid #937e59;color:#3b3023;background:#fbf5e6;border-radius:5px;font:650 14px/1.15 system-ui,sans-serif;cursor:pointer;padding:6px;touch-action:manipulation;letter-spacing:0}
#est-mesa button:focus-visible{outline:3px solid #17666d;outline-offset:1px;z-index:1}
#est-mesa .est-salir{grid-row:1/3;grid-column:2;align-self:center;max-width:100px;background:#ecdcba;min-height:44px}
#est-mesa .est-ilustra{position:static;display:block;width:100%;height:auto;aspect-ratio:20/7;max-height:28dvh;object-fit:contain;background:#d8c498;pointer-events:none}
#est-mesa .est-cuerpo{padding:11px 17px 14px}
#est-mesa .est-instruccion{margin:0 0 8px;color:#3e372c;font-weight:530}
#est-mesa .est-estado{border-top:1px solid #c8b894;margin:0;padding:8px 0;color:#4c432e;font:650 13px/1.3 ui-monospace,monospace}
#est-mesa .est-controles{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:5px}
#est-mesa .est-pieza[data-hecha]{background:#e2c991;border-color:#795f3a}
#est-mesa .est-confirmar{width:100%;margin-top:6px;background:#315750;color:#fff7df}
#est-mesa .est-aviso{margin:6px 0 0;color:#74442f;font-weight:600}
#est-mesa .est-aviso:empty{display:none}#est-mesa [hidden]{display:none!important}
@media(max-width:450px){#est-mesa .est-cab{padding:9px 12px}#est-mesa .est-cuerpo{padding:8px 10px 12px}#est-mesa button{font-size:13px}}
@media(max-height:470px){#est-mesa .est-ilustra{max-height:17dvh}#est-mesa .est-cab{padding:6px 12px}}
