/* Selector «Ari voz en este terminal» (js/ari-voz-modo.js). Lo usan tpv.html y cocina.html.
   ASC-COCINA-ARI-VOZ-PROD-01: movido desde css/plano-v2.css, que cocina.html no carga. */
.avm-overlay { position: fixed; inset: 0; z-index: 1100; /* AVISOS-SALA-V1 · por encima de la fila de avisos de Ari (1000/1001), que tapaba el interruptor */ display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 14, 10, .55); }
.avm-caja { width: 100%; max-width: 420px; background: #FAF7F2; color: #2A1F18; border-radius: 18px; padding: 20px; box-shadow: 0 18px 48px rgba(0, 0, 0, .35); font-family: 'Figtree', 'Inter', system-ui, sans-serif; display: flex; flex-direction: column; gap: 10px; }
.avm-titulo { font-family: 'Syne', 'Figtree', sans-serif; font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.avm-opcion { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 60px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid rgba(120, 80, 40, .22); background: #fff; color: inherit; text-align: left; cursor: pointer; font-family: inherit; }
.avm-opcion.avm-actual { border-color: #F56820; background: rgba(245, 104, 32, .08); }
.avm-nom { font-size: 17px; font-weight: 800; }
.avm-desc { font-size: 13.5px; color: #6B5444; }
.avm-cancelar { min-height: 44px; border: 0; background: transparent; color: #6B5444; font: 700 15px 'Figtree', 'Inter', sans-serif; cursor: pointer; }
body.dark .avm-caja { background: #1A1714; color: #F3EDE6; }
body.dark .avm-opcion { background: #26211C; border-color: rgba(255, 255, 255, .14); }
body.dark .avm-opcion.avm-actual { border-color: #F56820; background: rgba(245, 104, 32, .14); }
body.dark .avm-desc, body.dark .avm-cancelar { color: #B9AA9C; }
/* «Hablar comandas» por zonas de impresión, dentro del selector de Ari voz */
.avm-comandas { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(120, 80, 40, .18); }
.avm-sub { font-weight: 800; font-size: 15px; }
.avm-caja { max-height: calc(100vh - 32px); overflow-y: auto; }
.avm-zona { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid rgba(120, 80, 40, .22); background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.avm-zona input { width: 22px; height: 22px; accent-color: #F56820; margin: 0; }
body.dark .avm-zona { background: #26211C; border-color: rgba(255, 255, 255, .14); }
body.dark .avm-comandas { border-top-color: rgba(255, 255, 255, .12); }
/* ASC-TPV-ARI-AVISOS-SALA-V1 · B · «Avisos de comandas preparadas: Sí/No» (solo TPV de sala).
   Interruptor de fila entera (toque ≥ 64 px), activo = oliva (success), inactivo = humo. Sin azul. */
.avm-avisos { padding-top: 10px; border-top: 1px solid rgba(120, 80, 40, .18); }
.avm-switch { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid rgba(120, 80, 40, .22); background: #fff; color: inherit; text-align: left; cursor: pointer; font-family: inherit; }
.avm-switch-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.avm-switch .avm-desc { font-size: 14px; }
.avm-estado { font-weight: 800; font-size: 16px; min-width: 28px; text-align: right; }
.avm-pista { position: relative; flex: 0 0 auto; width: 52px; height: 30px; border-radius: 15px; background: #8A8278; transition: background 160ms ease-out; }
.avm-bola { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #FAF7F2; transition: transform 160ms ease-out; }
.avm-switch[aria-checked="true"] .avm-pista { background: #5E7A3A; }
.avm-switch[aria-checked="true"] .avm-bola { transform: translateX(22px); }
.avm-switch[aria-checked="true"] { border-color: #5E7A3A; }
body.dark .avm-switch { background: #26211C; border-color: rgba(255, 255, 255, .14); }
body.dark .avm-switch[aria-checked="true"] { border-color: #7E9A58; }
body.dark .avm-switch[aria-checked="true"] .avm-pista { background: #6B8A43; }
body.dark .avm-pista { background: #5A554C; }
body.dark .avm-avisos { border-top-color: rgba(255, 255, 255, .12); }
@media (prefers-reduced-motion: reduce) { .avm-pista, .avm-bola { transition: none; } }
