/* Pestaña «Mesas» de «Mi boda» (spec mesas). Sale del boceto que Álvaro probó en su iPhone; los colores salen de los tokens de la marca (claro y oscuro).
   Móvil primero: el salón ocupa casi toda la pantalla, así que mientras la pestaña está abierta se esconden la cabecera y el pie del panel. */
body.pb-mesas-activa .pb-cab, body.pb-mesas-activa .pb-pie { display: none; }
body.pb-mesas-activa .pb-principal { max-width: none; padding: 0; }
body.pb-mesas-activa .pb-paneles > section:not([hidden]) { display: block; outline: 0; }
html:has(body.pb-mesas-activa), body.pb-mesas-activa { overscroll-behavior: none; }

.mz {
  --fondo: var(--color-neutral-bg); --superficie: var(--color-neutral-surface); --linea: var(--color-neutral-line); --texto: var(--color-neutral-fg); --muted: var(--color-neutral-muted);
  --primario: var(--color-primary); --acento: var(--color-accent);
  --suave: #E9ECE6; --sobre-primario: #F3F4EF; --aviso: #F7ECEA; --mantel: #EBD3CE; --velo: rgb(21 23 22 / .45); --punto: #D6DBD4; --tinta: #1E3D33; --gris: #C9CFC9;
  --novio: #D9B45A; --f0: #E3B7B0; --f1: #BFD6C6; --f2: #E8D6A8; --f3: #C4D3E0; --f4: #D9C6DE; --f5: #E5C9A8;
  --titulo: var(--font-display); --letra: var(--font-text);
  color: var(--texto); font: 400 16px/1.4 var(--letra);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mz { --suave: #2A2F2C; --sobre-primario: #1E3D33; --aviso: #33282A; --mantel: #4A3A3C; --punto: #2F3532; --gris: #4A524D; --tinta: #1E3D33; } }
:root[data-theme="dark"] .mz { --suave: #2A2F2C; --sobre-primario: #1E3D33; --aviso: #33282A; --mantel: #4A3A3C; --punto: #2F3532; --gris: #4A524D; --tinta: #1E3D33; }

.mz *, .mz *::before, .mz *::after { box-sizing: border-box; }
.mz button, .mz input { font: inherit; color: inherit; }
.mz button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mz button:focus-visible, .mz input:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
.mz .p { margin: 0; }
.mz .muted { color: var(--muted); font-size: 14px; }
.mz .ancho { width: 100%; max-width: 480px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mz-app { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; background: var(--fondo); }
.mz .barra { position: relative; z-index: 6; flex: none; padding-block: 4px; display: grid; gap: 8px; background: var(--fondo); }
.mz .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--suave); border-radius: 12px; padding: 4px; }
.mz .seg button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 600; }
.mz .seg button[aria-pressed="true"] { background: var(--superficie); color: var(--texto); }
.mz .nav-mesa { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mz .nav-mesa > div { min-width: 0; text-align: center; flex: 1; }
.mz .nav-mesa .t { font: 400 19px/1.2 var(--titulo); margin: 0; overflow-wrap: anywhere; }
.mz .corto { flex: none; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--suave); font-size: 14px; font-weight: 600; }
.mz .corto.icono { display: inline-grid; place-items: center; }
.mz .tope { display: flex; justify-content: space-between; gap: 8px; }
.mz .tope .icono { margin-inline: auto; }
.mz .enlace { flex: none; min-height: 44px; padding: 0 10px; border: 0; background: none; font-weight: 600; font-size: 14px; text-decoration: underline; }
.mz .zona { position: relative; flex: 1; min-height: 0; overflow-y: auto; }
.mz .zona.plano { overflow: hidden; }
.mz .marco { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.mz .pista { margin: 0; padding-block: 2px 8px; color: var(--muted); font-size: 14px; }
.mz .sala { position: absolute; left: 0; top: 0; transform-origin: 0 0; background-color: var(--superficie); background-image: radial-gradient(var(--punto) 2.5px, transparent 2.5px); background-size: 32px 32px; border: 3px solid var(--muted); border-radius: 22px; }
.mz .flotan { position: absolute; z-index: 2; left: 0; right: 0; bottom: 8px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mz .flotan button { pointer-events: auto; min-width: 44px; min-height: 44px; padding: 0 8px; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); font-size: 14px; font-weight: 600; box-shadow: 0 2px 8px rgb(21 23 22 / .14); }
/* Mientras se arrastra, los botones no estorban: debajo puede estar la mesa que buscas */
body.arrastrando .mz .flotan { opacity: .2; }
body.arrastrando .mz .flotan button, body.arrastrando .mz .flotan .zoom { pointer-events: none; }
.mz .flotan .ppal { padding: 0 14px; background: var(--primario); border-color: var(--primario); color: var(--sobre-primario); }
/* Con una mesa tocada: − y + a la izquierda (siempre a mano) y sus acciones a la derecha, del tamaño de su texto, también en el ordenador */
.mz .flotan.herr .acc { min-width: 0; }
.mz .flotan.herr .acc button { flex: 0 1 auto; min-width: 0; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Siempre en una línea; en móviles estrechos (≤ 380 px) la letra y el relleno bajan un poco para que quepa todo */
.mz .flotan button { white-space: nowrap; }
@media (max-width: 380px) { .mz .flotan button:not(.mas) { font-size: 13px; padding: 0 8px; } .mz .flotan .ppal { padding: 0 10px; } .mz .flotan.herr .acc button { padding: 0 8px; } }
@media (max-width: 340px) { .mz .flotan button:not(.mas) { font-size: 12px; padding: 0 6px; } .mz .flotan .zoom button { width: 40px; min-width: 40px; } .mz .flotan .grupo { gap: 4px; } }
.mz .flotan .grupo { display: flex; gap: 6px; }
/* − y + juntos en una sola pieza: ocupan menos y dejan sitio a lo demás, sobre todo en el móvil */
.mz .flotan .zoom { flex: none; display: flex; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); box-shadow: 0 2px 8px rgb(21 23 22 / .14); overflow: hidden; pointer-events: auto; }
.mz .flotan .zoom button { min-width: 44px; width: 44px; padding: 0; border: 0; border-radius: 0; box-shadow: none; font-size: 22px; font-weight: 500; line-height: 1; }
.mz .flotan .zoom button + button { border-left: 1px solid var(--linea); }

/* Avatares: inicial y color de familia; el punto avisa de alergia. El gris es una entrada de la lista que aún no ha contestado */
.mz .av { position: relative; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 14px; font-weight: 700; color: var(--tinta); user-select: none; -webkit-user-select: none; }
.mz .c0 { background: var(--f0); } .mz .c1 { background: var(--f1); } .mz .c2 { background: var(--f2); } .mz .c3 { background: var(--f3); } .mz .c4 { background: var(--f4); } .mz .c5 { background: var(--f5); }
.mz .gris { background: var(--gris); color: var(--texto); }
/* Los novios: dorado con un aro oscuro, para encontrarlos de un vistazo (también de lejos) */
.mz .nov { background: var(--novio); color: var(--tinta); box-shadow: inset 0 0 0 3px var(--tinta); }
.mz .fam.fam-nov { border-color: var(--novio); box-shadow: inset 0 0 0 1px var(--novio); }
.mz .av.vacio { background: var(--superficie); color: var(--muted); border: 1.5px dashed var(--muted); font-size: 22px; font-weight: 400; }
.mz .av .al { position: absolute; right: -1px; top: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--acento); border: 2px solid var(--superficie); }
.mz .av.esp-cat { background: var(--acento); color: var(--superficie); }
.mz .av.num { background: var(--suave); color: var(--texto); font-weight: 600; }

/* Mesas vistas desde arriba, dentro del recuadro del salón */
.mz .ms { position: absolute; padding: 6px; border-radius: 20px; border: 3px solid transparent; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; --r: 0deg; }
.mz .ms.sobre { border-color: var(--acento); background: var(--aviso); }
.mz .ms.marcada { border-color: var(--acento); }
.mz .ms.arrastra { z-index: 4; opacity: .85; }
.mz .ml { display: flex; gap: 4px; align-items: stretch; }
.mz .ml .col { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.mz .ml .centro { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.mz .ml .tabla { position: relative; flex: 1; width: 44px; min-height: 120px; background: var(--mantel); border-radius: 10px; overflow: hidden; }
.mz .ml .tabla b { position: absolute; inset: 8px 0; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 calc(22px * var(--nf, 1))/44px var(--titulo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; color: var(--texto); }
.mz .d { flex: none; display: grid; place-items: center; position: relative; width: 42px; height: 42px; border-radius: 50%; font-size: 17px; font-weight: 700; color: var(--tinta); transform: rotate(calc(var(--r) * -1)); }
.mz .d.gris { color: var(--texto); }
.mz .d.sobre { box-shadow: 0 0 0 5px var(--acento); }
.mz .d.hallado, .mz .as.hallado .av { box-shadow: 0 0 0 5px var(--acento); animation: mz-latido 0.9s ease-in-out 3; }
@keyframes mz-latido { 50% { box-shadow: 0 0 0 9px var(--acento); } }
@media (prefers-reduced-motion: reduce) { .mz .d.hallado, .mz .as.hallado .av { animation: none; } }
/* De lejos: puntos de color sin letras; se sienta por mesas y el nombre de la mesa manda */
.mz .sala.lejos .d { font-size: 0; }
.mz .sala.lejos .d.vacio { border: 0; background: var(--suave); }
.mz .sala.lejos .d .al { width: 26px; height: 26px; right: 8px; top: 8px; border: 0; }
.mz .d.vacio { background: var(--superficie); border: 2px dashed var(--muted); }
.mz .d .al { position: absolute; right: -2px; top: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--acento); border: 2px solid var(--superficie); }
.mz .mr { position: relative; width: 260px; height: 260px; }
.mz .mr .tabla { position: absolute; inset: 50px; border-radius: 50%; background: var(--mantel); display: grid; place-items: center; text-align: center; font: 400 calc(21px * var(--nf, 1))/1.1 var(--titulo); padding: 10px; overflow-wrap: anywhere; color: var(--texto); }
.mz .mr .d { position: absolute; transform: translate(-50%, -50%); }

/* Una mesa de cerca: nombre, silla y mantel */
.mz .cerca { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 6px 4px; padding-bottom: 12px; }
.mz .cerca .tira { grid-column: 2; background: var(--mantel); border-radius: 8px; }
.mz .as { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 2px; border: 0; border-radius: 12px; background: none; min-width: 0; width: 100%; }
.mz .as.izq { justify-content: flex-end; text-align: right; }
.mz .as.dcha { text-align: left; }
.mz .as .txt { min-width: 0; }
.mz .as b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.mz .as em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.2; color: var(--acento); }
.mz .as.sobre { background: var(--aviso); outline: 2px solid var(--acento); }
.mz .as.cogido .av { outline: 3px solid var(--acento); outline-offset: 1px; }
.mz .as .av { touch-action: none; }
.mz .as .av.vacio { touch-action: auto; }
.mz .eligiendo .av.vacio { border: 2px dashed var(--acento); color: var(--acento); }
.mz .cab-m { grid-column: 1 / -1; justify-self: center; width: auto; }
.mz .rd { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin-inline: auto; }
.mz .rd .tabla { position: absolute; left: 25%; top: 25%; width: 50%; height: 50%; border-radius: 50%; background: var(--mantel); display: grid; place-items: center; padding: 10px; text-align: center; font: 400 17px/1.2 var(--titulo); overflow-wrap: anywhere; color: var(--texto); }
.mz .rd .as { position: absolute; flex-direction: column; justify-content: center; gap: 1px; width: 58px; min-height: 62px; padding: 0; text-align: center; transform: translate(-50%, -50%); }
.mz .rd .as .av { width: 40px; height: 40px; font-size: 13px; }
.mz .rd .as .av.vacio { font-size: 20px; }
.mz .rd .as b { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 58px; }
.mz .rd .as em { display: none; }

.mz .bloque-cat { display: grid; gap: 8px; padding: 12px; margin-bottom: 12px; background: var(--superficie); border: 1px solid var(--linea); border-radius: 14px; }
.mz .cat-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mz .cat-cab .t { margin: 0; font: 400 19px/1.2 var(--titulo); }
.mz .cat-linea { display: flex; gap: 8px; font-size: 15px; }
.mz .cat-linea b { flex: none; width: 58px; font-weight: 600; }
.mz .cat-linea span { min-width: 0; }
.mz .aviso-cat { margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: var(--aviso); font-size: 14px; }

/* Bandeja de abajo: quien falta por sentar */
.mz #mz-bandeja { flex: none; background: var(--superficie); border-top: 1px solid var(--linea); padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
.mz #mz-bandeja.sobre { background: var(--aviso); }
.mz .ban-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding-top: 4px; font-size: 14px; }
.mz .ban-cab span { min-width: 0; }
.mz .ban-cab b { font-weight: 600; }
.mz .ban-cab .enlace { min-height: 44px; }
.mz .fila-fams { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); max-width: 480px; margin-inline: auto; }
.mz .fam { flex: none; border: 1px solid var(--linea); border-radius: 12px; padding: 2px 6px 4px; background: var(--fondo); }
.mz .fam.cogido { border-color: var(--acento); box-shadow: inset 0 0 0 1px var(--acento); }
.mz .fam-tit { display: block; width: 100%; min-height: 44px; padding: 0 4px; border: 0; background: none; text-align: left; font-size: 14px; font-weight: 600; touch-action: pan-x; white-space: nowrap; }
.mz span.fam-tit { display: flex; align-items: center; color: var(--muted); }
.mz .fam-av { display: flex; gap: 2px; }
/* La tarjeta de los novios lleva «Cambiar» a la derecha del título (para decir «novios» o «novias») */
.mz .fam-cab { display: flex; align-items: center; gap: 4px; }
.mz .fam-cab .fam-tit { width: auto; flex: 1 1 auto; }
.mz .fam-cab .trato-c { flex: none; min-width: 44px; padding: 0 6px; }
.mz .trato-lin { display: flex; align-items: center; flex-wrap: wrap; gap: 0 2px; }
.mz .per { display: grid; justify-items: center; gap: 1px; width: 56px; padding: 0; border: 0; background: none; touch-action: pan-x; }
.mz .per span:last-child { font-size: 12px; line-height: 1.1; max-width: 54px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz .per.cogido .av { outline: 3px solid var(--acento); outline-offset: 1px; }

.mz .fantasma { position: fixed; z-index: 20; left: 0; top: 0; pointer-events: none; display: flex; align-items: center; gap: 4px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--superficie); box-shadow: 0 6px 18px rgb(21 23 22 / .3); font-size: 14px; font-weight: 600; white-space: nowrap; }

.mz .toast { position: fixed; z-index: 5; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: var(--th, 14px); max-width: 456px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 8px 4px 16px; border-radius: 14px; background: #1E3D33; color: #F3F4EF; font-size: 15px; }
/* El aviso nunca se queda con el dedo: debajo puede haber un invitado */
.mz .toast { pointer-events: none; }
.mz .toast button { pointer-events: auto; }
.mz .toast span { min-width: 0; }
.mz .toast button { flex: none; min-height: 44px; padding: 0 12px; border: 0; background: none; color: #E3B7B0; font-weight: 700; }
.mz .velo { position: fixed; inset: 0; z-index: 12; display: flex; flex-direction: column; justify-content: flex-end; background: var(--velo); }
.mz .hoja { width: 100%; max-width: 480px; margin-inline: auto; max-height: 82%; overflow-y: auto; background: var(--superficie); border-radius: 20px 20px 0 0; padding-top: 18px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.mz .hoja h2 { margin: 0; font: 400 22px/1.25 var(--titulo); text-wrap: balance; }
.mz .gente { padding: 6px 0; border-top: 1px solid var(--suave); }
.mz .principal { width: 100%; min-height: 48px; margin-top: 8px; border: 0; border-radius: 999px; background: var(--primario); color: var(--sobre-primario); font-weight: 600; }
.mz .secundario { width: 100%; min-height: 48px; margin-top: 8px; border: 1px solid var(--linea); border-radius: 999px; background: none; font-weight: 600; }
.mz .ahora-no { width: 100%; min-height: 48px; margin-top: 8px; border: 0; background: none; font-weight: 600; text-decoration: underline; }
.mz .campo { width: 100%; min-height: 48px; margin-top: 10px; padding: 0 14px; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); font-size: 16px; user-select: text; -webkit-user-select: text; }
.mz .fila-persona { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 4px 8px; margin-top: 4px; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); text-align: left; }
.mz .bloque { margin-top: 12px; }
.mz .bloque-cab { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mz .bloque-cab .corto { background: var(--primario); color: var(--sobre-primario); }
.mz .bloque-cab .corto:disabled { opacity: .5; cursor: not-allowed; }
.mz .ajuste { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; }
.mz .ajuste span { display: flex; align-items: center; gap: 6px; }
.mz input.num { width: 68px; min-height: 44px; padding: 0 4px; border: 1px solid var(--linea); border-radius: 10px; background: var(--superficie); text-align: center; font-size: 16px; font-weight: 600; user-select: text; -webkit-user-select: text; }
.mz .paso { width: 44px; height: 44px; border: 1px solid var(--linea); border-radius: 10px; background: var(--superficie); font-size: 20px; }
.mz .dos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mz .dos button { min-height: 48px; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); font-weight: 600; }
.mz .dos button[aria-pressed="true"] { background: var(--primario); border-color: var(--primario); color: var(--sobre-primario); }
.mz .tres { display: grid; gap: 8px; margin-top: 12px; }
.mz .tres button { min-height: 48px; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); font-weight: 600; }
.mz .tres button[aria-pressed="true"] { background: var(--primario); border-color: var(--primario); color: var(--sobre-primario); }
.mz .interruptor { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; margin-top: 8px; padding: 0; border: 0; background: none; text-align: left; }
.mz .interruptor i { font-style: normal; font-weight: 700; color: var(--acento); }
.mz .peligro { background: var(--acento); color: var(--superficie); }
.mz .sala-vacia { position: absolute; left: 32px; right: 32px; top: 38%; margin: 0; text-align: center; pointer-events: none; font: 400 22px/1.3 var(--titulo); text-wrap: balance; }
.mz .anadir { flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--primario); color: var(--sobre-primario); font-size: 15px; font-weight: 600; }
.mz .dos-enlaces { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
.mz .dos-enlaces button { min-height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 600; font-size: 14px; text-decoration: underline; }
/* El buscador: una lupa en la línea de arriba; al tocarla, el campo ocupa esa misma línea y los resultados se superponen al salón */
.mz .buscar { display: flex; gap: 8px; align-items: center; }
.mz .buscar .campo { margin-top: 0; min-height: 44px; flex: 1; min-width: 0; }
.mz .buscar-res { position: absolute; left: 0; right: 0; top: 100%; padding-inline: max(16px, env(safe-area-inset-left, 0px)); max-width: 480px; margin-inline: auto; display: grid; gap: 4px; }
.mz .buscar-res:empty { display: none; }
.mz .res { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 4px 10px; border: 1px solid var(--linea); border-radius: 12px; background: var(--superficie); box-shadow: 0 4px 14px rgb(21 23 22 / .16); text-align: left; }
.mz .res b { display: block; font-weight: 600; font-size: 15px; }
.mz .res em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.mz .res-vacio { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--linea); box-shadow: 0 4px 14px rgb(21 23 22 / .16); font-size: 14px; }
/* En el ordenador, quien falta por sentar va al lado y el salón se queda con todo lo demás */
@media (min-width: 900px) {
  .mz-app:not(.solo) { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: auto minmax(0, 1fr); }
  .mz-app:not(.solo) > .barra { grid-column: 1 / -1; max-width: none; }
  .mz-app:not(.solo) > .zona { grid-column: 1; grid-row: 2; }
  .mz-app:not(.solo) > #mz-bandeja { grid-column: 2; grid-row: 2; border-top: 0; border-left: 1px solid var(--linea); overflow-y: auto; }
  .mz-app:not(.solo) .fila-fams { flex-direction: column; overflow: visible; max-width: none; }
  .mz-app:not(.solo) .fam-av { flex-wrap: wrap; }
  .mz-app.solo .ancho { max-width: 640px; }
}
.mz [hidden] { display: none !important; }
/* En el panel de ejemplo hay una franja arriba y una barra de venta abajo: el salón se queda con lo que sobra */
body.con-barra-crear.pb-mesas-activa .mz-app { height: calc(100dvh - 5.2rem - 5.6rem); }
body.con-barra-crear.pb-mesas-activa .mz .toast { bottom: calc(var(--th, 14px) + 5.6rem); }
