/* Panel del suscriptor de bë ERP (/app). Estilos comunes tomados de los mockups oficiales
   (MOCKUPS/*.html). Marca y estados: /marca/marca.css. Regla de calidad: CLAUDE.md §0. */
:root {
  --rojo: #D10024; --rojo-hover: #B0001E; --negro: #1A1A1A; --fondo: #F2F2F2; --blanco: #FFFFFF;
  --borde: #E7E7E7; --texto: #111111; --suave: #666666; --tenue: #707070; --ambar: #8A5700; --ambar-fondo: #FFF6E5;
  --rojo-fondo: #FDEBEA; --gris-fondo: #F1F1F3;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: Arial, Helvetica, sans-serif; background: var(--fondo); color: var(--texto); font-size: 15px; line-height: 1.4; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--rojo); }
/* QA-03: foco con anillo de 2 px en el color de la marca (nunca negro grueso). */
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- barra ---------- */
.barra { background: var(--negro); color: #fff; display: flex; align-items: center; gap: 12px; padding: 12px 16px; position: sticky; top: 0; z-index: 20; }
.barra :focus-visible { outline-color: #fff; }
.menu-movil { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; padding: 8px 12px; }
.campana { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 13px; padding: 8px 4px; white-space: nowrap; text-decoration: none; }
.campana b { background: var(--rojo); color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 8px; margin-left: 4px; }
.usuario, .contexto { text-align: right; font-size: 13px; min-width: 0; flex: 0 1 auto; overflow: hidden; }
/* Contexto activo (QA-02): «Empresa · Rol», siempre visible; al tocarlo se cambia. */
.contexto { background: transparent; border: 1px solid #444; border-radius: 8px; color: #fff; padding: 4px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.contexto:hover { border-color: #888; }
.contexto:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.contexto .rol, .contexto .nombre { display: block; max-width: 38vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contexto .rol { color: #FF6B80; font-weight: bold; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.dialogo-contexto .dialogo-cuerpo { padding: 24px; }
.dialogo-contexto h2 { margin: 0 0 4px; font-size: 18px; }
.dialogo-contexto input[type=search] { width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 12px; border: 1px solid #8A8A8A; border-radius: 8px; font: inherit; margin: 12px 0; }
.contextos { display: grid; gap: 8px; max-height: 50vh; overflow: auto; }
/* QA-03: filas de 52 px con iniciales y ✓; foco con el anillo de la marca. */
.opcion-contexto { display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; align-items: center; gap: 12px; width: 100%; min-height: 52px; text-align: left; background: #fff; border: 1px solid var(--borde); border-radius: 8px; padding: 4px 12px; line-height: 1.25; cursor: pointer; font: inherit; color: inherit; }
.opcion-contexto:hover { border-color: #8A8A8A; }
.opcion-contexto:focus-visible { outline: 2px solid var(--rojo); outline-offset: 2px; }
.opcion-contexto[aria-current=true] { border-color: var(--rojo); }
.opcion-contexto .iniciales { width: 36px; height: 36px; border-radius: 50%; background: #1A1A1A; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: bold; letter-spacing: .5px; }
.opcion-contexto .textos { display: grid; gap: 0; min-width: 0; }
.opcion-contexto .empresa { font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opcion-contexto .rol { font-size: 13px; color: var(--suave); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opcion-contexto .marca-actual { color: var(--rojo); font-weight: bold; text-align: center; }
.menu-contexto { position: fixed; margin: 0; inset: auto; width: min(420px, calc(100vw - 32px)); max-height: 70vh; padding: 0; border: 1px solid var(--borde); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.24); }
.menu-contexto::backdrop { background: rgba(0,0,0,.24); }
.menu-contexto .dialogo-cuerpo { padding: 16px; }
.menu-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.menu-cerrar { min-width: 44px; min-height: 44px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; }
.menu-cerrar:hover { border-color: var(--borde); }
@media (max-width: 700px) {
  /* Hoja inferior en el celular. */
  .menu-contexto { inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 80vh; border-radius: 16px 16px 0 0; }
}
.usuario .rol { color: #FF6B80; font-weight: bold; font-size: 11px; letter-spacing: .5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.usuario .nombre { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 38vw; }
.salir { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 12px; }
.franja { background: var(--rojo); height: 6px; }

/* ---------- selector de nivel ---------- */
.nivel { background: var(--blanco); border-bottom: 1px solid var(--borde); padding: 12px 16px; }
.nivel-actual { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nivel-actual .etiqueta { font-size: 11px; font-weight: bold; color: var(--tenue); text-transform: uppercase; letter-spacing: .5px; width: 100%; }
.ruta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-weight: bold; min-width: 0; }
.ruta .sep { color: var(--tenue); font-weight: normal; }
.ruta .tipo { font-size: 11px; font-weight: bold; color: #fff; background: var(--negro); border-radius: 10px; padding: 4px 8px; }
.btn-cambiar { margin-left: auto; }
.selector { display: none; margin-top: 12px; border: 1px solid var(--borde); border-radius: 10px; overflow: hidden; }
.selector.abierto { display: block; }
.opcion-nivel { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--borde); padding: 12px 16px; color: var(--texto); }
.opcion-nivel:last-child { border-bottom: 0; }
.opcion-nivel:hover { background: #FFF8F8; }
.opcion-nivel[aria-selected="true"] { background: var(--rojo-fondo); }
.opcion-nivel .nombre { font-weight: bold; }
.opcion-nivel .tipo { margin-left: auto; font-size: 11px; font-weight: bold; color: var(--suave); border: 1px solid var(--borde); border-radius: 10px; padding: 4px 8px; flex-shrink: 0; }

/* ---------- estructura ---------- */
.contenedor { display: grid; grid-template-columns: minmax(0, 1fr); }
nav.lateral { display: none; background: var(--blanco); border-right: 1px solid var(--borde); padding: 12px 0; }
nav.lateral.abierto { display: block; position: fixed; inset: 0 22% 0 0; z-index: 30; box-shadow: 0 10px 40px rgba(0,0,0,.25); overflow-y: auto; }
nav.lateral a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--texto); text-decoration: none; font-size: 14px; }
nav.lateral a[aria-current="page"] { color: var(--rojo); font-weight: bold; border-left: 4px solid var(--rojo); padding-left: 16px; background: #FFF8F8; }
nav.lateral a .cnt { margin-left: auto; background: var(--rojo); color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 8px; }
nav.lateral .grupo { font-size: 11px; font-weight: bold; color: var(--tenue); text-transform: uppercase; letter-spacing: .5px; padding: 16px 16px 4px; }
.velo-menu { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 25; }
.velo-menu.visible { display: block; }
main { padding: 16px; min-width: 0; }
.titulo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.titulo h1 { font-size: 22px; margin: 0 0 4px; }
.subtitulo { color: var(--suave); margin: 0; font-size: 13px; }
.acciones { display: flex; gap: 8px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--rojo); color: #fff; border: 0; padding: 12px 24px; border-radius: 22px; font-size: 13px; font-weight: bold; text-decoration: none; min-height: 40px; }
.btn:hover { background: var(--rojo-hover); }
.btn.contorno { background: #fff; color: var(--rojo); border: 1.5px solid var(--rojo); }
.btn:disabled, .btn:disabled:hover { background: #E7E7E7; color: #595959; border-color: #E7E7E7; cursor: not-allowed; }
.btn.oscuro { background: var(--negro); } .btn.oscuro:hover { background: #000; }
.btn.chico { padding: 8px 16px; min-height: 34px; font-size: 12px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.panel { background: var(--blanco); border: 1px solid var(--borde); border-radius: 10px; padding: 16px; margin-bottom: 16px; min-width: 0; }
.panel h2 { font-size: 17px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.panel h2 small { font-weight: normal; color: var(--suave); font-size: 12px; }
.vacio { color: var(--suave); padding: 24px 0; text-align: center; }
.cargando { color: var(--suave); padding: 24px 0; }
.error-carga { border: 1px solid var(--rojo); color: #7A0016; background: var(--rojo-fondo); border-radius: 8px; padding: 12px; }

/* ---------- datos ---------- */
.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.dl div { background: #F6F6F7; border-radius: 8px; padding: 8px 12px; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.dl b { display: block; font-size: 12px; color: var(--suave); font-weight: normal; margin-bottom: 4px; }
.chip { font-size: 12px; font-weight: bold; border-radius: 12px; padding: 4px 12px; border: 1px solid var(--borde); white-space: nowrap; background: #fff; color: var(--negro); }
.chip.atencion { color: var(--ambar); border-color: var(--ambar); background: var(--ambar-fondo); }
.chip.urgente { color: var(--rojo); border-color: var(--rojo); }
.chip.gris { color: #595959; }

/* ---------- formularios y diálogos ---------- */
.campo { margin-bottom: 12px; min-width: 0; }
.campo label { display: block; font-weight: bold; font-size: 13px; margin-bottom: 8px; }
.campo input, .campo select, .campo textarea { width: 100%; border: 1px solid #8A8A8A; border-radius: 8px; padding: 12px 12px; min-height: 44px; background: #fff; }
.ayuda { font-size: 12px; color: var(--suave); margin-top: 4px; }
.fila2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 12px; }
dialog { border: 0; border-radius: 12px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); }
dialog::backdrop { background: rgba(0,0,0,.45); }
.d-cabeza { background: var(--negro); color: #fff; padding: 16px 16px; font-weight: bold; }
.d-cuerpo { padding: 16px; }
.d-pie { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; padding: 0 16px 16px; }
.error-form { color: var(--rojo); font-weight: bold; min-height: 1.2em; margin: 8px 0 0; font-size: 13px; }
.toast { position: fixed; bottom: 56px; left: 50%; transform: translateX(-50%); background: var(--negro); color: #fff; border-radius: 8px; padding: 12px 16px; font-size: 13px; z-index: 70; max-width: calc(100vw - 32px); }

@media (min-width: 700px) {
  .fila2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .menu-movil { display: none; }
  .usuario .nombre { max-width: none; }
  .contenedor { grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 120px); }
  nav.lateral { display: block; }
  main { padding: 24px 24px; }
  .nivel { padding: 12px 24px; }
  .nivel-actual .etiqueta { width: auto; }
  .selector { max-width: 640px; }
}

/* Texto secundario dentro de una celda (QA-02: autor y motivo de un ajuste, advertencias). */
td .sub { display: block; color: var(--suave); font-size: 12px; }

/* ---------------------------------------------------------------- formularios (QA-04, CLAUDE.md §5d) */
.etq-fila { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.etq-fila label { margin-bottom: 0 !important; }
.ayuda-fija { font-size: 12px; color: #595959; margin: 4px 0 8px; line-height: 1.4; }
.btn-mas { width: 24px; height: 24px; min-width: 24px; border-radius: 50%; border: 1.5px solid #595959; background: #fff; color: #1A1A1A; font-weight: bold; font-size: 13px; line-height: 1; padding: 0; cursor: pointer; }
.btn-mas[aria-expanded="true"] { background: #1A1A1A; color: #fff; border-color: #1A1A1A; }
.mas-info { margin: 8px 0 4px; padding: 12px 12px; background: var(--gris-fondo); border-left: 3px solid #595959; border-radius: 6px; color: #1A1A1A; }
.mas-info p { margin: 0 0 8px; }
.error-campo { color: #B0001E; font-size: 12px; font-weight: bold; margin-top: 4px; flex-basis: 100%; }
.error-campo:empty { display: none; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B0001E !important; box-shadow: 0 0 0 1px #B0001E; }
.estado-guardado { margin: 8px 0 0; min-height: 1.4em; font-size: 13px; flex-basis: 100%; }
.acciones-seccion { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.acciones-seccion .estado-guardado { margin: 0; flex-basis: auto; }
tr.fila-vacia td { color: var(--suave); text-align: center; padding: 16px 8px; font-style: italic; }

.estado-guardado .estado-fe { white-space: normal; }

.aviso-demo { background: var(--ambar-fondo); color: #1A1A1A; border-bottom: 1px solid #8A5700; padding: 8px 16px; font-size: 13px; }
.aviso-demo a { color: #7A0016; font-weight: bold; }

/* QA-15: recomendación de rotar la llave al revocar a un contador. */
.aviso-rotacion { border-left: 4px solid var(--ambar); background: var(--ambar-fondo); border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; font-size: 13px; line-height: 1.5; }
.espera-contador { border-left: 4px solid var(--ambar); background: var(--ambar-fondo); border-radius: 8px; padding: 8px 12px; font-size: 13px; }

/* ---------- QA-17 · ayuda en panel lateral (hoja inferior en el celular), «Volver» y enlaces externos ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
dialog.panel-ayuda { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0;
  display: none; flex-direction: column; overflow: hidden; box-shadow: -8px 0 24px rgba(0,0,0,.18); }
dialog.panel-ayuda[open] { display: flex; }
.pa-cabeza { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--negro); color: #fff; }
.pa-cabeza h2 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.pa-cabeza .btn { background: transparent; color: #fff; border: 1px solid #fff; min-height: 44px; flex-shrink: 0; }
.pa-cuerpo { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 16px 88px; font-size: 14px; line-height: 1.55; }
.pa-cuerpo:focus { outline: none; }
.pa-cuerpo section { margin: 0; }
.pa-cuerpo .nota { font-size: 13px; color: var(--suave); }
.pa-pie { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(transparent, #fff 35%); }
.pa-pie .btn { width: 100%; min-height: 48px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
@media (max-width: 699px) {
  dialog.panel-ayuda { inset: auto 0 0 0; width: 100vw; height: 85dvh; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
}
.volver-flotante { position: fixed; left: 16px; bottom: 16px; z-index: 20; min-height: 48px; display: inline-flex; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
/* Enlaces externos (Hacienda, TRIBU-CR, bancos, GreenPay…): ↗ visible; el lector de pantalla escucha que abre otra pestaña. */
a[target="_blank"]:not(:has(.sr-only))::after { content: "\00a0↗" / " (se abre en otra pestaña)"; }
:lang(en) a[target="_blank"]:not(:has(.sr-only))::after { content: "\00a0↗" / " (opens in a new tab)"; }
a[target="_blank"]:has(.sr-only)::after { content: "\00a0↗" / ""; }

/* ---------- QA-22 · confirmar la identidad (diálogo compartido) ---------- */
dialog.d-identidad { width: min(520px, calc(100vw - 24px)); }
.di-metodos { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 12px; }
.di-metodo { border: 1px solid var(--borde); border-radius: 12px; padding: 12px 16px; display: grid; gap: 8px; }
.di-metodo .btn { justify-self: start; min-height: 44px; }
.di-cab { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.di-aviso { font-size: 12px; color: var(--ambar); }
.di-codigo { display: grid; gap: 8px; }
.di-codigo input { max-width: 220px; min-height: 44px; font-size: 18px; letter-spacing: 3px; border: 1px solid #BDBDBD; border-radius: 8px; padding: 8px 12px; }
.di-oferta { border-left: 4px solid var(--ambar); background: var(--ambar-fondo); border-radius: 8px; padding: 12px 16px; display: grid; gap: 8px; }
.di-oferta .btn { justify-self: start; }

/* QA-23: valores recomendados (formulario.js recomendar() y plataforma-config) */
.chip.rec { background: var(--gris-fondo); color: var(--texto); border: 1px solid #595959; }
.rec-fila { margin-top: 4px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.rec-fila:empty { display: none; }
.rec-fila .enlace { background: none; border: 0; padding: 4px 0; min-height: 24px; color: var(--rojo); font-weight: bold; text-decoration: underline; cursor: pointer; font-size: 12px; }
.precarga { background: var(--gris-fondo); border-radius: 8px; padding: 8px 12px; font-size: 13px; margin: 0 0 12px; }
.vista-buzon { margin-top: 8px; font-size: 13px; display: grid; gap: 4px; }
.vista-buzon p { margin: 0; overflow-wrap: anywhere; }

/* QA-12: en inglés, la página espera a estar traducida (app-web/idioma-inicial.js). */
[data-traduciendo] body { visibility: hidden; }
/* Selector de idioma (el mismo de be-tcg y de la página pública). */
.lang-toggle { display: inline-flex; align-items: center; background: rgba(255,255,255,0.08); border-radius: 20px; padding: 4px; gap: 4px; }
.lang-toggle button { border: none; background: transparent; color: #FFFFFF; font-size: 12px; font-weight: bold; min-height: 32px; min-width: 40px; padding: 0 12px; border-radius: 16px; cursor: pointer; font-family: inherit; }
.lang-toggle button[aria-pressed="true"] { background: var(--rojo); }

/* QA-12: en el celular el selector de idioma va en el menú lateral (la cabecera no alcanza a 390 px). */
.lateral .idioma-menu { padding: 12px 16px; border-top: 1px solid var(--borde); margin-top: 8px; }
.lateral .idioma-menu .lang-toggle { background: var(--negro); }
@media (max-width: 700px) { .barra > .lang-toggle { display: none; } }
@media (min-width: 701px) { .lateral .idioma-menu { display: none; } }

/* QA-08 · escaneo con la cámara */
.fila-escaner { display: flex; gap: 8px; align-items: stretch; }
.fila-escaner input { flex: 1 1 auto; min-width: 0; }
.btn-camara { flex: 0 0 auto; white-space: nowrap; }
.escaner-camara { width: min(480px, calc(100vw - 32px)); border: 1px solid #D9D9D9; border-radius: 12px; padding: 0; }
.escaner-camara::backdrop { background: rgba(0,0,0,.5); }
.escaner-cuerpo { padding: 16px; display: grid; gap: 12px; }
.escaner-cuerpo h2 { margin: 0; font-size: 18px; }
.escaner-marco { position: relative; border-radius: 8px; overflow: hidden; background: #1A1A1A; aspect-ratio: 4 / 3; }
.escaner-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.escaner-guia { position: absolute; inset: 30% 12%; border: 2px solid #D10024; border-radius: 8px; box-shadow: 0 0 0 999px rgba(0,0,0,.25); }
.escaner-estado { margin: 0; font-size: 14px; line-height: 1.5; }
.escaner-acciones { display: flex; justify-content: flex-end; }
/* QA-11 · compras de todas las sociedades del grupo */
.c-sociedad { color: var(--suave); font-weight: normal; }
.buzones-grupo { margin: 8px 0 0; padding-left: 16px; display: grid; gap: 4px; }
/* WCAG 2.2 · 2.5.8: un enlace por línea con alto táctil de al menos 24 px (borrador del 150 con varias sociedades). */
.enlace-150 a { display: inline-block; min-height: 24px; padding: 4px 0; }
/* QA-10 · buzón inteligente */
.opcion-buzon { border: 1px solid var(--borde); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.opcion-buzon.recomendada { border-color: var(--rojo); }
.opcion-buzon h3 { margin: 0 0 8px; font-size: 15px; }
.opcion-buzon h4 { margin: 12px 0 4px; font-size: 14px; }
.opcion-buzon summary, .historial-buzon summary { cursor: pointer; font-weight: bold; min-height: 24px; }
.guia-reenvio { margin: 0 0 12px; padding-left: 24px; display: grid; gap: 8px; line-height: 1.5; }
.avanzadas { margin: 8px 0 12px; }
.confirmacion-reenvio { margin-top: 8px; }
.historial-buzon ul { margin: 8px 0 0; padding-left: 16px; font-size: 13px; }
/* Responsive (30/09/2026) · indicador de desplazamiento: el borde se difumina del lado donde hay más contenido. */
.mas-der { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
.mas-izq { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 32px), transparent); }
.mas-izq.mas-der { -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
/* Escala móvil: tipografía, chips e íconos más contenidos en pantallas de celular (sin bajar de 11 px ni del alto táctil). */
@media (max-width: 480px) {
  .titulo h1, main > h1 { font-size: 22px; }
  .panel h2 { font-size: 17px; }
  .chip { font-size: 11px; padding: 4px 8px; }
  .estado-fe { font-size: 11px; padding: 2px 8px; }
  .menu-movil { font-size: 20px; }
}
