/* Sistema de interfaz FV+: Inter, carbón, blanco y grises neutros. */
:root {
  --ui-ink: #1b1b1b;
  --ui-ink-2: #383838;
  --ui-muted: #707070;
  --ui-page: #f3f3f3;
  --ui-surface: #ffffff;
  --ui-line: #dddddd;
  --ui-line-soft: #e9e9e9;
  --ui-soft: #f5f5f5;
  --ui-wa: #25d366;
  --ui-wa-hover: #1fbd5b;
  --fv-tipo-auxiliar: 12px;
  --fv-tipo-base: 16px;
  --fv-tipo-titulo: 22px;
  --fv-tipografia: "Inter", Arial, sans-serif;
  --fv-tinta: var(--ui-ink);
  --fv-texto-secundario: var(--ui-muted);
  --fv-fondo: var(--ui-page);
  --fv-superficie: var(--ui-surface);
  --fv-borde: var(--ui-line);
  --fv-borde-suave: var(--ui-line-soft);
  --fv-verde: var(--ui-ink);
  --fv-verde-hover: var(--ui-ink-2);
  --fv-verde-pulsado: #111111;
  --nv-oscuro: var(--ui-ink);
  --nv-oscuro-2: var(--ui-ink-2);
  --nv-oscuro-3: #111111;
  --nv-tinta: var(--ui-ink);
  --nv-gris: var(--ui-muted);
  --nv-verde: var(--ui-ink);
  --nv-verde-2: var(--ui-ink-2);
  --nv-verde-suave: var(--ui-soft);
  --nv-lienzo: var(--ui-page);
  --nv-linea: var(--ui-line-soft);
  --nv-linea-2: var(--ui-line);
  --nv-suave: var(--ui-soft);
  --nv-gris-suave: var(--ui-soft);
  --nv-acento: var(--ui-ink);
  --c-primary: var(--ui-ink);
  --c-primary-2: var(--ui-ink);
  --c-secondary: var(--ui-ink-2);
  --c-text: var(--ui-ink);
  --c-accent: var(--ui-ink);
  --c-accent-hover: var(--ui-ink-2);
  --c-teal-soft: var(--ui-soft);
  --c-surface: var(--ui-surface);
  --c-bg: var(--ui-page);
  --c-border: var(--ui-line);
  --c-muted: var(--ui-muted);
  --c-success: #454545;
  --c-danger: #454545;
  --c-warning: #454545;
  --btn-verde: var(--ui-ink);
  --btn-verde-encima: var(--ui-ink-2);
  --btn-verde-pulsado: #111111;
  --btn-oscuro: var(--ui-ink);
  --btn-oscuro-encima: var(--ui-ink-2);
  --btn-oscuro-pulsado: #111111;
  --btn-tinta: var(--ui-ink);
  --btn-borde: var(--ui-line);
  --btn-aro: var(--ui-ink);
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --focus-ring: none;
}

html {
  background: var(--ui-page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.nv-body,
body.fv-admin,
body.fv-pago,
body.fv-verificar,
body.fv-citv {
  background: var(--ui-page);
  color: var(--ui-ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: var(--fv-tipo-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Los hijos heredan el tamaño del componente: un span no agranda su botón. */
:is(body.nv-body, body.fv-admin, body.fv-pago, body.fv-verificar)
  :where(:not(svg):not(svg *)) {
  font-size: inherit !important;
  font-family: inherit !important;
}
.fv-citv :where(:not(svg):not(svg *):not(.page):not(.page *)) {
  font-size: inherit !important;
  font-family: inherit !important;
}
:is(body.nv-body, body.fv-admin, body.fv-pago, body.fv-verificar)
  :is(h1, h2),
body.fv-citv :is(h1, h2):not(.page *) {
  font-size: var(--fv-tipo-titulo) !important;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.025em;
}
:is(body.nv-body, body.fv-admin, body.fv-pago, body.fv-verificar)
  :is(h3, h4, h5, h6),
body.fv-citv :is(h3, h4, h5, h6):not(.page *) {
  font-size: var(--fv-tipo-base) !important;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
}
:is(body.nv-body, body.fv-admin, body.fv-pago, body.fv-verificar)
  :is(small, .nv-lado-titulo, .nv-lado-legal, .nv-explorar-marca, .nv-categoria-etiqueta,
      .nv-sunarp-caption, .nv-compra-kicker, .nv-compra-saldo > span,
      .nv-paq-top > span:first-child, .nv-paq-mejor, .ad-cifra-rot, .admin-version),
body.fv-citv :is(small, .hint, .helper, .form-hint):not(.page *) {
  font-size: var(--fv-tipo-auxiliar) !important;
}
.nv-body :is(strong, b), .fv-admin :is(strong, b) { font-weight: 600 !important; }

/* La paleta se aplica también a controles y superficies antiguas. */
.nv-body *,
.fv-admin *,
.fv-pago *,
.fv-verificar *,
.fv-citv * {
  font-family: inherit;
  text-shadow: none !important;
  box-shadow: none !important;
}
:is(.nv-body, .fv-admin, .fv-citv) :is(input, select, textarea):where(:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="color"])) {
  min-height: 46px;
  border: 1px solid var(--ui-line) !important;
  border-radius: 9px !important;
  background: var(--ui-surface) !important;
  color: var(--ui-ink) !important;
  font: inherit;
  padding-inline: 13px;
}
:is(body.nv-body, body.fv-admin, body.fv-citv) :is(input[type="checkbox"], input[type="radio"]) {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--ui-ink);
}
.nv-body :is(input, textarea, select)::placeholder,
.fv-admin :is(input, textarea, select)::placeholder { color: #858585; opacity: 1; }
.nv-body :is(input, textarea, select):focus,
.nv-body :is(.nv-campo, .input, .textarea, .select):focus,
.fv-admin :is(input, textarea, select):focus {
  border-color: #383838 !important;
  outline: 2px solid rgb(27 27 27 / 13%) !important;
  outline-offset: 1px;
}
.nv-body :is(button, a, input, select, textarea),
.fv-admin :is(button, a, input, select, textarea) { -webkit-tap-highlight-color: transparent; }
.nv-body :focus-visible,
.fv-admin :focus-visible,
.fv-pago :focus-visible,
.fv-verificar :focus-visible,
.fv-citv :focus-visible {
  outline: 2px solid #4a4a4a !important;
  outline-offset: 2px;
}

/* Marco de la aplicación de escritorio. */
/* Un solo borde suave en todos los campos del acceso y de solicitud. */
body.nv-body #nvPuerta #nvAuthShell .nv-campo:is(:focus, :focus-visible),
body.nv-body #nvPuerta #nvPortadaPlaca:is(:focus, :focus-visible),
body.nv-body #nvFvcDialogo #nvFvcPlaca:is(:focus, :focus-visible) {
  border: 1px solid #a6a6a3 !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.nv-body #nvAccesoCredenciales .nv-puerta-clave-encabezado a,
.nv-body #nvAccesoCredenciales .nv-puerta-pie a {
  text-decoration: none !important;
}
.nv-body #nvAccesoCredenciales .nv-auth-campo .nv-campo::placeholder {
  color: #858585;
  font-size: var(--fv-tipo-auxiliar) !important;
  opacity: .75;
}
.nv-body #nvAccesoCredenciales .nv-auth-campo {
  position: relative;
  display: block;
  width: 100%;
}
.nv-body #nvAccesoCredenciales .nv-auth-campo .nv-auth-campo-icono {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--ui-muted);
  fill: currentColor;
  stroke: none;
  pointer-events: none;
}
.nv-body #nvAccesoCredenciales .nv-auth-campo .nv-auth-campo-icono path {
  fill: currentColor;
  stroke: none;
}
.nv-body #nvAccesoCredenciales .nv-auth-campo .nv-campo {
  padding-left: 40px !important;
}

.nv-body .nv-app {
  grid-template-columns: 248px minmax(0, 1fr);
  background: var(--ui-page);
}
.nv-body .nv-lado {
  gap: 5px;
  padding: 22px 14px 16px;
  border-right: 1px solid var(--ui-line);
  background: var(--ui-surface) !important;
  color: var(--ui-ink) !important;
}
.nv-body .nv-marca {
  min-height: 48px;
  gap: 10px;
  margin: 0 4px 18px;
  color: var(--ui-ink) !important;
  font-size: var(--fv-tipo-base);
  font-weight: 600;
  line-height: 1.25;
}
/* Product wordmark; the vehicle pictogram is reserved for site icons. */
.nv-body .fv-wordmark {
  --fv-wordmark-size: 20px;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: #202a28;
  font-family: var(--fv-tipografia, "Inter", Arial, sans-serif);
  font-size: var(--fv-wordmark-size) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -.04em;
  text-align: left;
  white-space: nowrap;
}
.nv-body .fv-wordmark-line { display: block; font: inherit !important; color: inherit; letter-spacing: inherit; }
.nv-body .fv-wordmark-plus { font: inherit !important; color: #7ac943 !important; letter-spacing: 0; }
.nv-body .fv-wordmark--inverse { color: #ffffff; }
.nv-body .nv-marca > .fv-wordmark { --fv-wordmark-size: 19px; }
.nv-body .mnt-brand > .fv-wordmark { --fv-wordmark-size: 22px; }
.nv-body .nv-lado-nav { gap: 3px; }
.nv-body .nv-nav {
  min-height: 42px;
  padding: 0 11px;
  gap: 11px;
  border: 0;
  border-radius: 8px;
  color: #555555 !important;
  font-size: var(--fv-tipo-base);
  font-weight: 400;
}
.nv-body .nv-nav svg { width: 18px; height: 18px; }
.nv-body .nv-nav:hover { background: var(--ui-soft) !important; color: var(--ui-ink) !important; }
.nv-body .nv-nav.es-activo {
  background: #ededed !important;
  color: var(--ui-ink) !important;
  font-weight: 600;
}
.nv-body .nv-nav-admin::before { background: var(--ui-line) !important; }
.nv-body .nv-lado-titulo,
.nv-body .nv-lado-legal { color: var(--ui-muted) !important; }
.nv-body .nv-lado-legal a { color: var(--ui-muted) !important; }
.nv-body .nv-principal { min-width: 0; background: var(--ui-page); }
.nv-body .nv-barra {
  z-index: 30;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--ui-line);
  background: var(--ui-surface) !important;
}
.nv-body .nv-barra-titulo { color: var(--ui-ink) !important; font-size: var(--fv-tipo-titulo) !important; font-weight: 600; }
.nv-body .nv-barra-principal { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nv-body .nv-inicio {
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ui-line-soft);
  border-radius: 8px;
  background: var(--ui-surface);
  color: var(--ui-ink);
  text-decoration: none;
}
.nv-body .nv-inicio:hover { background: var(--ui-soft); border-color: var(--ui-line); }
.nv-body .nv-inicio svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nv-body .nv-barra-acciones { gap: 9px; }
.nv-body .nv-comprar {
  min-height: 38px;
  gap: 7px;
  padding: 0 15px;
  border-radius: 4px !important;
  background: #171717 !important;
  color: #ffffff !important;
  font-size: var(--fv-tipo-auxiliar) !important;
  font-weight: 600;
}
.nv-body .nv-comprar:hover { background: #363636 !important; }
.nv-body .nv-comprar-icono { width: 16px; height: 16px; }
.nv-body .nv-avatar {
  width: 38px;
  height: 38px;
  background: #f1f1f1;
  color: var(--ui-ink);
  font-size: var(--fv-tipo-auxiliar);
  font-weight: 600;
}
.nv-body .nv-avatar:hover { background: #e5e5e5; }
.nv-body #nvAvatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ui-ink);
  background: var(--ui-ink);
  color: var(--ui-surface);
  font-size: var(--fv-tipo-auxiliar) !important;
}
.nv-body #nvAvatar:hover { background: var(--ui-ink-2); }
.nv-body #nvAvatar.es-abierto { background: var(--ui-soft); color: var(--ui-ink); }
.nv-body .nv-contenido {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  padding: 24px 28px 40px;
}
.nv-body .nv-pantalla { gap: 18px; }
.nv-body .nv-pantalla[data-pantalla="consultar"] { max-width: 1380px; }
.nv-body .nv-pantalla[data-pantalla="consultar"] > .nv-seleccion {
  width: 100%;
  max-width: none;
}

/* Catálogo: cabecera, búsqueda, categorías y filas de consulta. */
.nv-body .nv-explorar { width: 100%; }
.nv-body .nv-explorar-cab { margin: 0 0 20px; align-items: end; }
.nv-body .nv-explorar-marca,
.nv-body .nv-categoria-etiqueta {
  color: #696969;
  font-size: var(--fv-tipo-auxiliar) !important;
  font-weight: 600;
  letter-spacing: .08em;
}
.nv-body .nv-explorar-cab h2 { margin: 5px 0; color: var(--ui-ink); font-size: var(--fv-tipo-titulo) !important; }
.nv-body .nv-explorar-cab p { max-width: 620px; margin: 0; color: var(--ui-muted); }
.nv-body .nv-explorar-total { color: var(--ui-ink); font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-busqueda {
  min-height: 54px;
  margin-bottom: 18px;
  padding: 0 15px;
  border: 1px solid var(--ui-line) !important;
  border-radius: 11px;
  background: var(--ui-surface);
  color: #777777;
}
.nv-body .nv-busqueda:focus-within { border-color: #555555 !important; }
.nv-body .nv-busqueda svg { width: 19px; height: 19px; }
.nv-body .nv-busqueda input { min-height: 52px; padding: 0; border: 0 !important; outline: 0 !important; }
.nv-body .nv-categoria-mobile { gap: 7px; margin: 0 0 18px; }
.nv-body .nv-categoria-menu { border: 1px solid var(--ui-line) !important; border-radius: 10px; background: #ffffff; }
.nv-body .nv-categoria-menu summary { min-height: 54px; padding: 0 14px; }
.nv-body .nv-categoria-menu summary strong { font-weight: 500; }
.nv-body .nv-categoria-menu summary > span { background: var(--ui-soft); color: var(--ui-muted); }
.nv-body .nv-categoria-menu summary > span { font-size: var(--fv-tipo-auxiliar) !important; padding: 3px 7px; }
.nv-body .nv-categoria-menu[open] { border-color: #777777 !important; }
.nv-body .nv-lista-cab { margin: 0 0 9px; }
.nv-body .nv-lista-cab h3 { margin: 0; font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-lista-cab span { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-catalogo { gap: 8px; }
.nv-body .nv-op {
  min-height: 78px;
  padding: 13px 15px;
  border: 1px solid var(--ui-line-soft) !important;
  border-radius: 10px;
  background: #ffffff;
}
.nv-body .nv-op:hover { border-color: #c3c3c3 !important; background: #ffffff; }
.nv-body .nv-op.es-elegida { border-color: #555555 !important; background: #f2f2f2 !important; }
.nv-body .nv-op-nombre { color: var(--ui-ink); font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-op-dato,
.nv-body .nv-op-entidad { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-op-precio { color: #747474; font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-op.es-elegida .nv-op-precio { color: var(--ui-ink); }
.nv-body .nv-reporte {
  min-height: 76px;
  padding: 14px 18px;
  border: 0 !important;
  border-radius: 10px;
  background: #1b1b1b !important;
  color: #ffffff;
}
.nv-body .nv-reporte:hover { background: #363636 !important; }
.nv-body .nv-reporte strong { color: #ffffff; font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-reporte span { color: #c9c9c9; font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-reporte-ico { width: 20px; height: 20px; }
.nv-body .nv-catalogo-mas { min-height: 44px; border: 1px solid var(--ui-line); border-radius: 9px; background: #fff; color: var(--ui-ink); }
.nv-body .nv-explorar { gap: 16px; }
.nv-body .nv-explorar-cab { margin-bottom: 0; }
.nv-body .nv-busqueda { margin-bottom: 0; }
.nv-body .nv-busqueda:focus-within { padding-inline: 15px; border-width: 1px; }
.nv-body .nv-busqueda input { border-radius: 0 !important; background: transparent !important; font-weight: 400; }
.nv-body .nv-pestana { min-height: 38px; padding: 8px 12px; font-size: var(--fv-tipo-auxiliar) !important; font-weight: 500; line-height: 1.5; }
.nv-body .nv-pestana b { min-width: 20px; padding: 1px 5px; border-radius: 4px; }
.nv-body .nv-op { height: auto; gap: 12px; text-align: left; }
.nv-body .nv-op-principal { flex: 1; min-width: 0; gap: 3px; }
.nv-body .nv-op-nombre { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.nv-body .nv-op-precio { flex-shrink: 0; opacity: 1; }
.nv-body .nv-reporte em { font-size: var(--fv-tipo-auxiliar) !important; opacity: 1; color: #c9c9c9; }

/* Formularios, selección y botones. */
.nv-body .nv-seleccion,
.nv-body .nv-panel,
.nv-body .nv-metrica,
.nv-body .nv-dia-lista,
.nv-body .nv-veh-intro,
.nv-body .nv-veh-form,
.nv-body .nv-veh-mensaje,
.nv-body .nv-veh-card,
.nv-body .nv-paq,
.nv-body .nv-libre,
.nv-body .nv-pagos,
.nv-body .nv-menu,
.nv-body .nv-resultado,
.nv-body .nv-buscador,
.nv-body .nv-gratis,
.nv-body .nv-gratuitas,
.nv-body .nv-saldo-card,
.nv-body .nv-perfil,
.nv-body .nv-compra-intro {
  border: 1px solid var(--ui-line-soft) !important;
  border-radius: 11px !important;
  background: var(--ui-surface) !important;
}
.nv-body .nv-seleccion { padding: 20px; }
.nv-body .nv-seleccion-cab { margin-bottom: 16px; }
.nv-body .nv-seleccion-cab h2 { font-size: var(--fv-tipo-titulo) !important; }
.nv-body .nv-seleccion-cab > div > span,
.nv-body .nv-seleccion-cab p { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-buscador { gap: 10px; padding: 12px; }
.nv-body .nv-buscador .nv-campo,
.nv-body .nv-buscador .nv-combo-boton { min-height: 48px; border-radius: 9px; }
.nv-body .nv-cta,
.nv-body .nv-pagos-boton,
.nv-body .nv-auth-fvc {
  min-height: 46px;
  padding-inline: 17px;
  border: 1px solid #1b1b1b !important;
  border-radius: 8px !important;
  background: #1b1b1b !important;
  color: #ffffff !important;
  font-size: var(--fv-tipo-base) !important;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}
.nv-body .nv-cta,
.nv-body .nv-cta:has(> i),
.nv-body .nv-cta-chica:has(> i) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: auto;
  max-width: 100%;
  padding: 11px 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.nv-body .nv-cta > i { flex: 0 0 20px; width: 20px; height: 20px; padding: 0; border-radius: 0; background: transparent !important; color: inherit; }
.nv-body .nv-cta > i svg { width: 20px; height: 20px; stroke-width: 1.75; }
.nv-body .nv-cta-chica { min-height: 42px; padding: 10px 14px; font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-cta,
.nv-body .nv-app .nv-cta { font-weight: 500 !important; }
.nv-body :is(.nv-boton-claro, .nv-volver, #nvCambiarConsulta, .btn-secondary, .btn-outline, .cr-docitem-ver, .cr-espera-btn, .dl-cancel),
.fv-admin :is(.btn, .btn-primary, .btn-secondary, .btn-outline, .primary-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  height: auto;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 8px !important;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.nv-body :is(.nv-boton-claro, .nv-volver, #nvCambiarConsulta) { font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body :is(.nv-nav, .nv-abajo a, .nv-menu a, .nv-menu button, .nv-cta, .nv-volver, .nv-boton-claro, .nv-atajos a, .nv-yo-menu) svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nv-body .nv-nav { height: auto; padding-block: 10px; line-height: 1.5; }
.nv-body .nv-nav span { min-width: 0; white-space: normal; }
.nv-body .nv-seleccion .nv-buscador { border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 0; }
.nv-body .nv-dato-campo { display: grid; gap: 7px; min-width: 0; }
.nv-body .nv-dato-etiqueta { font-size: var(--fv-tipo-auxiliar) !important; font-weight: 500; color: var(--ui-ink-2); }
.nv-body .nv-dato-campo .nv-dato { width: 100%; min-width: 0; }
.nv-body .nv-seleccion .nv-buscador { align-items: end; }
.nv-body .nv-buscador.es-nm .nv-dato-campo { display: none; }
.nv-body .nv-seleccion .nv-consultar { min-height: 48px; }
.nv-body .nv-resultado .result-header { flex-wrap: wrap; gap: 10px; }
.nv-body .nv-resultado .cr-nueva {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: var(--ui-surface);
  color: var(--ui-ink);
  font-size: var(--fv-tipo-auxiliar) !important;
  line-height: 1.5;
  white-space: normal;
}
.nv-body .nv-pantalla:not(.tiene-resultado) .nv-resultado .cr-nueva { display: none; }
.nv-body .nv-seleccion-cab { flex-wrap: wrap; margin-bottom: 0; }
.nv-body .nv-seleccion-cab p { opacity: 1; }
.nv-body .nv-seleccion-cab > div { min-width: 0; flex: 1 1 auto; }
.nv-body .nv-seleccion-cab h2 { line-height: 1.4; overflow-wrap: anywhere; }
.nv-body :is(.nv-fvc-cerrar, .nv-saldo-bajo-cerrar, .modal-close, .cd-close) { display: grid; place-items: center; width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 6px; line-height: 1; }
.nv-body :is(.nv-fvc-cerrar, .nv-saldo-bajo-cerrar, .modal-close, .cd-close) svg { width: 18px; height: 18px; }
.nv-body .nv-fvc-acciones button { min-height: 44px; height: auto; padding: 7px 9px; line-height: 1.2; font-size: var(--fv-tipo-auxiliar) !important; white-space: nowrap; }
.nv-body .nv-segmentos { max-width: 100%; overflow-x: auto; }
.nv-body .nv-segmentos button { flex-shrink: 0; padding: 8px 12px; font-size: var(--fv-tipo-auxiliar) !important; line-height: 1.5; }
.nv-body .nv-cta:hover:not(:disabled),
.nv-body .nv-auth-fvc:hover,
.nv-body .nv-pagos-boton:hover { background: #383838 !important; border-color: #383838 !important; }
.nv-body .nv-cta:disabled { background: #bdbdbd !important; border-color: #bdbdbd !important; color: #ffffff !important; }
.nv-body .nv-boton-claro,
.nv-body .nv-repetir,
.nv-body #nvCambiarConsulta,
.nv-body .nv-volver {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--ui-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--ui-ink) !important;
  font-size: var(--fv-tipo-base) !important;
  text-decoration: none;
}
.nv-body .nv-boton-claro:hover,
.nv-body #nvCambiarConsulta:hover,
.nv-body .nv-volver:hover { background: var(--ui-soft) !important; border-color: #c1c1c1 !important; }
.nv-body .nv-segmentos { padding: 4px; border: 1px solid var(--ui-line); border-radius: 9px; background: #ffffff; }
.nv-body .nv-segmentos button { min-height: 38px; border-radius: 6px; color: var(--ui-muted); }
.nv-body .nv-segmentos button.es-activo { background: var(--ui-ink); color: #ffffff; }
.nv-body #nvCambiarConsulta { font-size: var(--fv-tipo-auxiliar) !important; }

/* Tarjetas y datos de resumen, vehículos, historial, pagos y cuenta. */
.nv-body .nv-resumen-top,
.nv-body .nv-metricas,
.nv-body .nv-dos,
.nv-body .nv-atajos { gap: 12px; }
.nv-body .nv-saldo-card,
.nv-body .nv-metrica,
.nv-body .nv-panel,
.nv-body .nv-veh-intro,
.nv-body .nv-veh-form,
.nv-body .nv-veh-card,
.nv-body .nv-paq,
.nv-body .nv-libre,
.nv-body .nv-registro,
.nv-body .nv-perfil,
.nv-body .nv-datos {
  padding: 18px;
  color: var(--ui-ink);
}
.nv-body .nv-saldo-card { min-height: 120px; }
.nv-body .nv-saldo-card strong { color: var(--ui-ink); font-size: var(--fv-tipo-titulo) !important; font-weight: 600; }
.nv-body .nv-panel-cab { padding-bottom: 12px; border-bottom: 1px solid var(--ui-line-soft); }
.nv-body .nv-panel-cab h2 { font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-metrica strong,
.nv-body .nv-paq-cred strong { color: var(--ui-ink); font-size: var(--fv-tipo-titulo) !important; font-weight: 600; }
.nv-body .nv-metrica span,
.nv-body .nv-metrica small,
.nv-body .nv-paq-top > span:first-child,
.nv-body .nv-paq-precio small,
.nv-body .nv-paq-cred { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-paq-precio > span { color: var(--ui-ink); font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-paq .nv-cta { width: 100%; }
.nv-body .nv-paq-mejor { padding: 4px 8px; border-radius: 5px; background: #ededed; color: var(--ui-ink); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-pagos summary { min-height: 58px; padding: 14px 16px; }
.nv-body .nv-pagos-titulo,
.nv-body .nv-pagos summary b { font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-pagos-info small { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-pagos-boton { min-height: 38px; padding: 0 12px; }
.nv-body .nv-hist-barra { gap: 10px; }
.nv-body .nv-registro { border: 1px solid var(--ui-line-soft); border-radius: 10px; background: #fff; }
.nv-body .nv-veh-info strong { font-size: var(--fv-tipo-base) !important; letter-spacing: .02em; }
.nv-body .nv-veh-info span,
.nv-body .nv-veh-info small { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-perfil { gap: 14px; }
.nv-body .nv-plan { border: 1px solid var(--ui-line); border-radius: 6px; background: var(--ui-soft); color: var(--ui-ink); }
.nv-body .nv-menu { padding: 6px; }
.nv-body .nv-menu :is(a, button) { min-height: 46px; border-radius: 7px; }
.nv-body :is(.nv-panel, .nv-metrica, .nv-veh-card, .nv-libre, .nv-paq, .nv-perfil) { min-width: 0; }
.nv-body :is(.nv-perfil > div, .nv-veh-info) { min-width: 0; }
.nv-body .nv-perfil > div span { overflow-wrap: anywhere; }
.nv-body .nv-menu :is(a, button) { gap: 12px; padding: 12px; line-height: 1.5; text-align: left; }
.nv-body .nv-menu :is(a, button) > span { min-width: 0; overflow-wrap: anywhere; }
.nv-body :is(.nv-panel-cab > span, .nv-compra-seccion-cab > span, .nv-saldo-card > span, .nv-saldo-card > em, .nv-nota-legal, .nv-libre > label, .nv-veh-form > label, .nv-datos .nv-etiqueta) { font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body :is(.nv-libre input, .nv-veh-form input, .nv-datos input) { font-size: var(--fv-tipo-base) !important; }
.nv-body .nv-veh-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-body .nv-veh-acciones > * { font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body :is(.nv-col-n, .nv-col-dia, .nv-reg-hora, .nv-reg-estado, .nv-reg-cobro, .nv-reg-txt > span, .nv-atajos a) { font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-grafico > .nv-vacio { grid-column: 1 / -1; align-self: center; }
.nv-body .nv-atajos a { min-width: 0; min-height: 82px; padding: 12px 8px; gap: 9px; line-height: 1.5; }
.nv-body .nv-saldo-card { justify-content: flex-start; gap: 5px; padding-bottom: 64px; }
.nv-body .nv-saldo-card strong { line-height: 1.4; letter-spacing: 0; }
.nv-body .nv-menu .nv-menu-ir { width: 16px; height: 16px; margin-left: auto; }
.nv-body .nv-repetir { display: grid; place-items: center; width: 40px; min-height: 40px; padding: 0; }
.nv-body .nv-compra-seccion-cab { flex-wrap: wrap; gap: 8px; }

/* Servicios gratuitos y SUNARP conservan las imágenes recibidas tal cual. */
.nv-body .nv-gratuitas { overflow: hidden; }
.nv-body .nv-gratuitas-cabecera { min-height: 64px; padding: 13px 16px; border-bottom: 1px solid var(--ui-line-soft); }
.nv-body .nv-gratuitas .nv-gratuitas-intro h2 { font-size: var(--fv-tipo-base) !important; font-weight: 600; }
.nv-body .nv-gratuitas .nv-gratuitas-intro small,
.nv-body .nv-gratuitas-cuenta { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-gratis-grupos { gap: 20px; padding: 16px; }
.nv-body .nv-gratis-grupo-cab h3 { color: #666666; font-size: var(--fv-tipo-auxiliar) !important; letter-spacing: .07em; }
.nv-body .nv-gratis-grupo-cab > span { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-gratis-tarjeta,
.nv-body .nv-regiones .nv-servicio {
  min-height: 72px;
  border: 1px solid var(--ui-line-soft) !important;
  border-radius: 9px;
  background: #ffffff !important;
  color: var(--ui-ink);
}
.nv-body .nv-gratis-tarjeta:hover,
.nv-body .nv-regiones .nv-servicio:hover { border-color: #bdbdbd !important; background: #ffffff !important; }
.nv-body .nv-gratis-tarjeta.es-regiones { border: 1px solid #8c8c8c !important; background: #f5f5f5 !important; }
.nv-body .nv-gratis-tarjeta .nv-servicio-logo { background: transparent; }
.nv-body .nv-sunarp { padding: 14px 0; background: transparent; }
.nv-body .nv-sunarp-grid { gap: 14px; }
.nv-body .nv-sunarp-tarjeta {
  overflow: hidden;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ffffff;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  transform: none !important;
}
.nv-body .nv-sunarp-tarjeta img { width: 100%; height: 120px; padding: 12px; background: #ffffff; object-fit: contain; }
.nv-body .nv-sunarp-tarjeta > span { min-height: 42px; padding: 7px 9px; background: #262626 !important; color: #ffffff; font-size: var(--fv-tipo-auxiliar) !important; line-height: 1.35; }
.nv-body .nv-sunarp-tarjeta:hover { transform: none !important; }
.nv-body .nv-regiones-encabezado { margin-bottom: 0; padding: 20px; border: 1px solid var(--ui-line-soft); border-radius: 11px; background: #ffffff; }
.nv-body .nv-regiones-encabezado h1 { margin: 5px 0; font-size: var(--fv-tipo-titulo) !important; }
.nv-body .nv-regiones-encabezado p,
.nv-body .nv-regiones-encabezado > span { color: var(--ui-muted); }
.nv-body .nv-regiones-encabezado > span,
.nv-body .nv-regiones-n { font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-regiones-barra { margin-bottom: 0; }

/* Ventanas y avisos. La composición del acceso vive en puerta-entrada.css. */
.nv-body .nv-yo-menu,
.nv-body .nv-menu,
.nv-body .modal-panel,
.nv-body .nv-fvc-dialogo {
  border: 1px solid var(--ui-line) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}
.nv-body .nv-fvc-dialogo::backdrop { background: rgb(0 0 0 / 45%); }
/* El confirm global queda fuera de .nv-app: fuerza contraste en su acción. */
.nv-body #confirmDialogRoot .cd-confirm:not(.cd-confirm-danger) {
  color: #ffffff !important;
}
.nv-body .nv-navegadores-dialogo:not([open]) { display: none; }
.nv-body .nv-navegadores-dialogo {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ui-ink);
  font: inherit;
  box-shadow: none;
}
.nv-body .nv-navegadores-dialogo::backdrop { background: rgb(0 0 0 / 52%); }
.nv-body .nv-navegadores-panel { padding: 22px 24px 18px; }
.nv-body .nv-navegadores-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ui-line);
}
.nv-body .nv-navegadores-cabecera h2 {
  margin: 0;
  color: var(--ui-ink);
  font-size: var(--fv-tipo-titulo) !important;
  font-weight: 600;
  line-height: 1.35;
}
.nv-body .nv-navegadores-cerrar {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ui-muted);
  cursor: pointer;
}
.nv-body .nv-navegadores-cerrar:hover { background: var(--ui-soft); color: var(--ui-ink); }
.nv-body .nv-navegadores-cerrar svg { width: 18px; height: 18px; }
.nv-body .nv-navegadores-descripcion {
  margin: 14px 0 18px;
  color: var(--ui-muted);
  font-size: var(--fv-tipo-base) !important;
  line-height: 1.5;
}
.nv-body .nv-navegadores-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 10px 4px;
}
.nv-body .nv-navegadores-logos > span { display: grid; place-items: center; min-width: 0; }
.nv-body .nv-navegadores-logos img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.nv-body .nv-navegadores-tabla-contenedor {
  margin-top: 0;
  overflow-x: auto;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
}
.nv-body .nv-navegadores-tabla {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: var(--fv-tipo-auxiliar) !important;
  text-align: center;
}
.nv-body .nv-navegadores-tabla-titulo {
  margin: 12px 0 9px;
  color: var(--ui-ink);
  font-size: var(--fv-tipo-base) !important;
  font-weight: 600;
}
.nv-body .nv-navegadores-tabla thead { background: var(--ui-soft); }
.nv-body .nv-navegadores-tabla th,
.nv-body .nv-navegadores-tabla td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--ui-line);
  font-size: inherit;
  line-height: 1.4;
}
.nv-body .nv-navegadores-tabla thead th {
  color: var(--ui-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.nv-body .nv-navegadores-tabla tbody th { color: var(--ui-ink); font-weight: 500; text-align: center; }
.nv-body .nv-navegadores-tabla tbody td { color: var(--ui-muted); text-align: center; }
.nv-body .nv-navegadores-tabla tbody tr:last-child th,
.nv-body .nv-navegadores-tabla tbody tr:last-child td { border-bottom: 0; }
.nv-body .nv-navegadores-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.nv-body .nv-navegadores-pie span {
  color: var(--ui-muted);
  font-size: var(--fv-tipo-auxiliar) !important;
}
.nv-body .nv-navegadores-pie button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ui-ink);
  border-radius: 6px;
  background: var(--ui-ink);
  color: #ffffff;
  font: inherit;
  font-size: var(--fv-tipo-auxiliar) !important;
  font-weight: 600;
  cursor: pointer;
}
.nv-body .nv-navegadores-pie button:hover { background: var(--ui-ink-2); }
.nv-body .nv-navegadores-cerrar:focus-visible,
.nv-body .nv-navegadores-pie button:focus-visible { outline: 2px solid var(--ui-ink-2); outline-offset: 2px; }
.nv-body .nv-navegadores-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 34px;
  margin-top: 5px;
  padding: 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--fv-tipo-auxiliar) !important;
  font-weight: 600;
  letter-spacing: .045em;
  text-align: center;
  cursor: pointer;
}
.nv-body .nv-navegadores-trigger:hover { text-decoration: underline; text-underline-offset: 3px; }
.nv-body .nv-navegadores-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.nv-body .nv-navegadores-trigger-mobile { display: none; }
.nv-body .nv-navegadores-trigger-desktop { color: #ffffff; }
.nv-body .nv-navegadores-trigger-mobile { color: var(--ui-ink); }
@media (max-width: 860px) {
  .nv-body .nv-navegadores-trigger-desktop { display: none; }
  .nv-body .nv-navegadores-trigger-mobile { display: none; }
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-navegadores-trigger-mobile { display: inline-flex; }
  .nv-body .nv-navegadores-dialogo { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
}
@media (max-width: 420px) {
  .nv-body .nv-navegadores-panel { padding: 18px 16px 14px; }
  .nv-body .nv-navegadores-logos { gap: 4px; padding: 8px 6px 4px; }
  .nv-body .nv-navegadores-logos img { width: 42px; height: 42px; }
  .nv-body .nv-navegadores-tabla th,
  .nv-body .nv-navegadores-tabla td { padding: 9px 8px; }
  .nv-body .nv-navegadores-pie { align-items: flex-start; flex-direction: column; }
  .nv-body .nv-navegadores-pie button { width: 100%; }
}

/* El panel se desplaza y el pie legal queda anclado en su borde inferior. */
@media (max-width: 860px) {
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) {
    position: fixed;
    inset: 0;
    z-index: 400;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
    overflow: hidden;
  }
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-panel {
    box-sizing: border-box;
    flex: 1 1 0%;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: max(14px, env(safe-area-inset-top, 0px)) 16px max(14px, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-legal {
    box-sizing: border-box;
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    width: calc(100% + 32px);
    max-width: none;
    min-height: 82px;
    margin: 0 -16px;
    padding: 6px 72px calc(6px + env(safe-area-inset-bottom, 0px)) 12px;
    gap: 0 8px;
    border-top: 1px solid var(--ui-line);
    background: var(--ui-page);
    white-space: nowrap;
  }
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-legal a {
    flex: 0 0 auto;
    min-height: 32px;
    color: var(--ui-muted) !important;
    font-size: var(--fv-tipo-auxiliar) !important;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
  }
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-legal a:last-child { flex-basis: auto; }
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-legal a:hover {
    color: var(--ui-ink) !important;
  }
}
.nv-body .nv-avisos > * { border: 1px solid var(--ui-line); border-radius: 8px; background: #ffffff; }

/* Cuenta: identidad legible, saldo independiente y accesos del mismo alto. */
.nv-body .nv-yo-menu {
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: min(520px, calc(100dvh - 100px));
  padding: 8px;
  gap: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.nv-body .nv-yo-cab {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 0 0 5px;
  padding: 12px 8px 16px;
  border-bottom: 1px solid var(--ui-line-soft);
}
.nv-body .nv-yo-cab .nv-yo-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ui-ink);
  color: var(--ui-surface);
  font-size: var(--fv-tipo-base) !important;
  font-weight: 600;
}
.nv-body .nv-yo-identidad { display: grid; min-width: 0; gap: 4px; }
.nv-body .nv-yo-cab .nv-yo-identidad > :is(strong, span) {
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.nv-body .nv-yo-identidad > strong { color: var(--ui-ink); font-size: var(--fv-tipo-base) !important; }
.nv-body .nv-yo-identidad .nv-yo-correo { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-yo-identidad .nv-yo-rol {
  justify-self: start;
  padding: 2px 7px;
  border: 1px solid var(--ui-line-soft);
  border-radius: 5px;
  background: var(--ui-soft);
  color: var(--ui-ink-2);
  font-size: var(--fv-tipo-auxiliar) !important;
}
.nv-body .nv-yo-menu .nv-yo-saldo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 3px 0 7px;
  padding: 12px;
  border: 1px solid var(--ui-line-soft);
  border-radius: 8px;
  background: var(--ui-soft) !important;
  color: var(--ui-ink);
}
.nv-body .nv-yo-saldo .nv-yo-saldo-datos { display: grid; gap: 4px; min-width: 0; color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-yo-saldo-cifra { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; }
.nv-body .nv-yo-saldo .nv-yo-saldo-cifra strong { color: var(--ui-ink); font-size: var(--fv-tipo-base) !important; line-height: 1.4; }
.nv-body .nv-yo-saldo .nv-yo-saldo-cifra em { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.nv-body .nv-yo-saldo .nv-yo-saldo-accion { display: inline-flex; flex: none; align-items: center; gap: 5px; color: var(--ui-ink); font-size: var(--fv-tipo-auxiliar) !important; font-weight: 500; }
.nv-body .nv-yo-saldo .nv-yo-saldo-accion svg { width: 16px; height: 16px; }
.nv-body .nv-yo-menu .nv-yo-saldo:hover { border-color: var(--ui-line); }
.nv-body .nv-yo-menu > :is(a:not(.nv-yo-saldo), button) {
  min-height: 44px;
  height: auto;
  gap: 10px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  color: var(--ui-ink-2);
  font-size: var(--fv-tipo-base) !important;
  line-height: 1.5;
}
.nv-body .nv-yo-menu > :is(a, button) > svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--ui-muted); }
.nv-body .nv-yo-menu > button[data-salir] { margin-top: 5px; padding-top: 13px; border-top: 1px solid var(--ui-line-soft); border-radius: 0 0 7px 7px; }

/* Verde real de WhatsApp, reservado a las acciones de ese canal. */
.nv-body .wa-fab {
  width: 56px;
  height: 56px;
  right: 20px;
  bottom: 24px;
  border: 0 !important;
  border-radius: 50%;
  background: var(--ui-wa) !important;
  color: #ffffff !important;
}
.nv-body .wa-fab:hover { background: var(--ui-wa-hover) !important; }
.nv-body .wa-fab-icon { width: 28px; height: 28px; }
.nv-body .wa-menu { border: 1px solid var(--ui-line); border-radius: 11px; background: #ffffff; }
.nv-body .wa-menu-opcion.es-asesor { color: #147d3a; }
.nv-body .nv-tramite[data-wa-msg] svg { color: var(--ui-ink); }
.nv-body .nv-fvc-acciones button[type="submit"],
.nv-body #nvLibreIr:not(.es-inactivo) {
  border-color: var(--ui-wa) !important;
  background: var(--ui-wa) !important;
  color: #ffffff !important;
}
.nv-body .nv-fvc-acciones button[type="submit"]:hover,
.nv-body #nvLibreIr:not(.es-inactivo):hover { border-color: var(--ui-wa-hover) !important; background: var(--ui-wa-hover) !important; }
.nv-body .nv-fvc-acciones .nv-fvc-whatsapp {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

/* Barra inferior: cuatro destinos, con espacio táctil y texto legible. */
.nv-body .nv-abajo { display: none; }

/* Administración y pantallas auxiliares. */
.fv-admin .admin-app { min-height: 100dvh; background: var(--ui-page); }
.fv-admin .ad-cab,
.fv-admin .ad-pestanas,
.fv-admin .admin-main { background: #ffffff !important; }
.fv-admin .ad-cab { min-height: 62px; padding-inline: 22px; border-bottom: 1px solid var(--ui-line) !important; color: var(--ui-ink) !important; }
.fv-admin .ad-cab-titulo { color: var(--ui-ink); font-size: var(--fv-tipo-titulo) !important; font-weight: 600; }
.fv-admin .ad-cifras { gap: 12px; padding: 18px 22px 12px; }
.fv-admin .ad-cifra,
.fv-admin .admin-panel,
.fv-admin .block-card,
.fv-admin .admin-card,
.fv-admin .kpi,
.fv-admin .admin-table-wrap,
.fv-admin .ad-view,
.fv-admin .ad-pestana { border: 1px solid var(--ui-line-soft); border-radius: 10px; background: #ffffff !important; }
.fv-admin .ad-cifra { padding: 15px; }
.fv-admin .ad-cifra strong { color: var(--ui-ink); font-size: var(--fv-tipo-titulo) !important; font-weight: 600; }
.fv-admin .ad-cifra-rot,
.fv-admin .ad-cifra small { color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
.fv-admin .ad-pestanas { display: flex; gap: 6px; padding: 8px 22px; border-bottom: 1px solid var(--ui-line) !important; }
.fv-admin .ad-pestana { min-height: 40px; padding: 0 14px; color: #555555 !important; }
.fv-admin .ad-pestana.es-activa { border-color: #1b1b1b; background: #1b1b1b !important; color: #ffffff !important; }
.fv-admin .ad-fichas { gap: 7px; padding: 10px 22px; }
.fv-admin .ad-ficha { min-height: 38px; padding: 0 12px; border: 1px solid var(--ui-line); border-radius: 7px; background: #ffffff; color: var(--ui-ink); }
.fv-admin .ad-ficha.es-activa { border-color: #1b1b1b; background: #f1f1f1 !important; color: var(--ui-ink); }
.fv-admin .admin-body { padding: 12px 22px 24px; background: var(--ui-page); }
.fv-admin .admin-view { min-width: 0; }
.fv-admin :is(.admin-panel, .block-card, .admin-card, .kpi, .ad-cifra, .admin-table-wrap) { border-color: var(--ui-line-soft) !important; border-radius: 10px !important; }
.fv-admin :is(button, .btn-primary, .btn, .primary-btn) { border-radius: 8px; }
.fv-admin :is(button.btn-primary, .btn-primary, .primary-btn) { background: #1b1b1b; color: #ffffff; }
.fv-admin :is(table, .admin-table) { width: 100%; }
.fv-admin .admin-table-wrap { overflow-x: auto; }
.fv-admin :is(.ad-volver, .ad-salir, .icon-btn) { display: inline-grid; place-items: center; flex: 0 0 36px; width: 36px; min-height: 36px; padding: 0; border-radius: 6px; }
.fv-admin :is(button, a) svg { width: 20px; height: 20px; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.fv-admin :is(.admin-panel-sub, .kpi-label, .kpi-trend, th, td, label, .admin-version) { font-size: var(--fv-tipo-auxiliar) !important; line-height: 1.5; }
.fv-admin :is(input, select, textarea) { font-size: var(--fv-tipo-base) !important; }
.fv-admin .ad-cab-titulo { min-width: 0; white-space: normal; line-height: 1.4; }
.fv-admin :is(.ad-cab-titulo, .ad-pestana, .ad-ficha) { text-transform: none; letter-spacing: 0; }
.fv-admin .ad-pestana { font-size: var(--fv-tipo-auxiliar) !important; }
.fv-pago .btn,
.fv-verificar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; height: auto; max-width: 100%; padding: 11px 16px; border-radius: 8px; font-weight: 500; line-height: 1.5; white-space: normal; text-align: center; }
.fv-pago .hint,
.fv-pago .wa,
.fv-verificar .pie { font-size: var(--fv-tipo-auxiliar) !important; line-height: 1.6; }
.fv-pago .wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 8px; background: var(--ui-wa); color: #ffffff; text-decoration: none; }
.fv-pago .wa svg { flex-shrink: 0; width: 20px; height: 20px; }
.fv-pago .wa:hover { background: var(--ui-wa-hover); text-decoration: none; }
.fv-verificar .pie { overflow-wrap: anywhere; }

@media screen {
  .fv-pago .card,
  .fv-verificar .caja { border: 1px solid var(--ui-line-soft) !important; border-radius: 12px !important; background: #ffffff !important; }
  .fv-citv :is(.main-header, .main-footer, .toolbar, .form-panel, .form-section, .zoom-controls) {
    border-color: var(--ui-line-soft) !important;
    border-radius: 10px;
    background: #ffffff !important;
    color: var(--ui-ink) !important;
  }
  .fv-citv :is(button, .btn-action, .btn-primary) { border-radius: 8px; }
  .fv-citv .btn-action { border-color: #1b1b1b !important; background: #1b1b1b !important; color: #ffffff !important; }
}

@media (max-width: 900px) {
  .nv-body .nv-app { grid-template-columns: minmax(0, 1fr); }
  .nv-body .nv-lado { display: none; }
  .nv-body .nv-barra { position: sticky; top: 0; height: 60px; padding: 0 15px; }
  .nv-body .nv-barra-titulo { font-size: var(--fv-tipo-titulo) !important; }
  .nv-body .nv-barra-acciones { gap: 7px; }
  .nv-body .nv-comprar { min-height: 36px; padding: 0 12px; }
  .nv-body .nv-avatar { width: 36px; height: 36px; }
  .nv-body .nv-yo-menu {
    position: fixed;
    top: 68px;
    right: 14px;
    width: min(320px, calc(100vw - 28px));
    max-height: calc(100dvh - 150px - env(safe-area-inset-bottom, 0px));
  }
  .nv-body .nv-contenido { padding: 20px 18px calc(84px + env(safe-area-inset-bottom, 0px)); }
  .nv-body .nv-pantalla { gap: 15px; }
  .nv-body .nv-resumen-top,
  .nv-body .nv-metricas,
  .nv-body .nv-dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-body .nv-resumen-top { grid-template-columns: minmax(0, 1fr); }
  .nv-body .nv-metricas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-body .nv-abajo {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    min-height: 64px;
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--ui-line) !important;
    background: #ffffff !important;
  }
  .nv-body .nv-abajo a {
    display: flex;
    min-width: 0;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 3px 2px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #656565 !important;
    font-size: var(--fv-tipo-auxiliar) !important;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
  }
  .nv-body .nv-abajo a svg { width: 17px; height: 17px; stroke-width: 1.7; }
  .nv-body .nv-abajo a.es-activo { background: #eeeeee !important; color: #1b1b1b !important; font-weight: 600; }
  .nv-body .wa-fab { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .nv-body .wa-menu { right: 14px; bottom: calc(140px + env(safe-area-inset-bottom, 0px)); width: min(300px, calc(100vw - 28px)); }
  .nv-body .nv-sunarp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nv-body .nv-sunarp-tarjeta img { height: 102px; padding: 10px; }
  .nv-body .nv-sunarp-tarjeta > span { min-height: 44px; }
  .fv-admin .ad-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 13px 14px 9px; }
  .fv-admin .ad-pestanas { overflow-x: auto; padding: 8px 14px; }
  .fv-admin .ad-pestana { flex: 0 0 auto; }
  .fv-admin .ad-fichas { overflow-x: auto; padding: 9px 14px; }
  .fv-admin .admin-body { padding: 10px 14px 20px; }
}

@media (max-width: 600px) {
  /* Tres tamaños también en teléfono: ayuda 12, lectura 14, título 16.
     Cada componente consume los tokens, sin conservar medidas de escritorio. */
  :root {
    --fv-tipo-auxiliar: .75rem;
    --fv-tipo-base: .875rem;
    --fv-tipo-titulo: 1rem;
  }
  /* 16 px en campos evita el zoom automático de iOS al tomar el foco. */
  .nv-body .nv-app :is(input, select, textarea),
  .fv-admin :is(input, select, textarea),
  .fv-pago :is(input, select, textarea),
  .fv-verificar :is(input, select, textarea),
  .fv-citv .form-panel :is(input, select, textarea),
  #nvPuerta #nvAuthShell .nv-campo,
  #nvFvcDialogo input {
    font-size: var(--fv-tipo-titulo) !important;
  }
  .nv-body .nv-barra { height: 58px; padding: 0 13px; }
  .nv-body .nv-barra-titulo { min-width: 0; font-size: var(--fv-tipo-base) !important; line-height: 1.35; white-space: normal; overflow: visible; text-overflow: clip; }
  .nv-body .nv-barra-acciones { flex-shrink: 0; }
  .nv-body .nv-contenido { padding: 16px 16px calc(82px + env(safe-area-inset-bottom, 0px)); }
  .nv-body .nv-pantalla,
  .nv-body .nv-explorar { gap: 12px; }
  .nv-body .nv-explorar-cab { align-items: start; margin-bottom: 0; }
  .nv-body .nv-explorar-cab h2 { margin: 3px 0 4px; }
  .nv-body .nv-explorar-cab p { line-height: 1.45; }
  .nv-body .nv-busqueda { margin-bottom: 0; }
  .nv-body .nv-categoria-mobile { margin-bottom: 0; }
  .nv-body .nv-explorar-total { padding: 0; font-size: var(--fv-tipo-auxiliar) !important; font-weight: 500; }
  .nv-body .nv-lista-cab { align-items: baseline; }
  .nv-body .nv-op { min-height: 64px; padding: 11px 13px; }
  .nv-body .nv-reporte { min-height: 64px; padding: 12px 14px; }
  .nv-body .nv-seleccion { padding: 15px; }
  .nv-body .nv-resumen-top,
  .nv-body .nv-dos,
  .nv-body .nv-paquetes { grid-template-columns: minmax(0, 1fr); }
  .nv-body .nv-metricas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nv-body .nv-atajos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nv-body .nv-saldo-card,
  .nv-body .nv-metrica,
  .nv-body .nv-panel,
  .nv-body .nv-paq,
  .nv-body .nv-libre,
  .nv-body .nv-veh-intro,
  .nv-body .nv-veh-form,
  .nv-body .nv-veh-card,
  .nv-body .nv-perfil,
  .nv-body .nv-datos { padding: 15px; }
  .nv-body .nv-metrica { padding: 13px 10px; }
  .nv-body .nv-saldo-card { min-height: 150px; padding-bottom: 64px; }
  .nv-body .nv-gratis-grupos { gap: 16px; padding: 13px; }
  .nv-body .nv-gratis-tarjeta,
  .nv-body .nv-regiones .nv-servicio { min-height: 68px; padding: 10px 12px; }
  .nv-body .nv-gratuitas-cabecera { align-items: start; padding: 12px; }
  .nv-body .nv-gratuitas-cuenta { white-space: nowrap; }
  .nv-body .nv-regiones-encabezado { padding: 16px; }
  .nv-body .nv-hist-barra { flex-wrap: wrap; }
  .nv-body .nv-hist-barra .nv-campo { flex: 1 1 130px; min-width: 0; width: auto; }
  .nv-body .nv-hist-barra .nv-segmentos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1 1 100%; }
  .nv-body .nv-hist-barra .nv-segmentos button { min-height: 38px; }
  .nv-body .nv-reg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px; }
  .nv-body .nv-reg-txt { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; min-width: 0; gap: 2px; }
  .nv-body .nv-reg-txt b { max-width: 100%; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
  .nv-body .nv-reg-estado { grid-column: 1; grid-row: 2; min-width: 0; white-space: normal; }
  .nv-body .nv-reg-estado > span { display: inline-flex; align-items: center; gap: 6px; }
  .nv-body .nv-reg-hora { grid-column: 1; grid-row: 3; white-space: nowrap; }
  .nv-body .nv-reg-cobro { grid-column: 2; grid-row: 3; }
  .nv-body .nv-reg .nv-repetir { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .nv-body .nv-veh-form { grid-template-columns: minmax(0, 1fr); }
  .nv-body .nv-veh-acciones { width: 100%; }
  .nv-body .nv-veh-acciones > * { flex: 1 1 auto; }
  .nv-body .nv-perfil { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
  .nv-body .nv-perfil > .nv-avatar { grid-row: 1 / 3; }
  .nv-body .nv-perfil > div { grid-column: 2; min-width: 0; }
  .nv-body .nv-perfil > div span { display: block; font-size: var(--fv-tipo-auxiliar) !important; }
  .nv-body .nv-perfil .nv-plan { grid-column: 2; justify-self: start; font-size: var(--fv-tipo-auxiliar) !important; }
  .nv-body .nv-pagos summary { flex-wrap: wrap; gap: 10px; }
  .nv-body .nv-pagos summary .nv-pagos-info { flex: 1 1 140px; }
  .nv-body .nv-regiones-barra { flex-wrap: wrap; }
  .nv-body .nv-yo-menu { top: 66px; right: 12px; width: min(320px, calc(100vw - 24px)); max-width: calc(100vw - 24px); }
  .fv-admin .ad-cab { min-height: 56px; padding-inline: 13px; }
  .fv-admin .ad-cab-titulo { font-size: var(--fv-tipo-base) !important; }
  .fv-admin .ad-cab { flex-wrap: wrap; gap: 8px; padding-block: 10px; }
  .fv-admin .ad-cab-titulo { flex: 1 1 190px; }
  .fv-admin .admin-user > span:not(.avatar) { display: none; }
}

@media (max-width: 360px) {
  .nv-body .nv-contenido { padding-right: 13px; padding-left: 13px; }
  .nv-body .nv-abajo { padding-right: 5px; padding-left: 5px; }
  .nv-body .nv-abajo a { font-size: var(--fv-tipo-auxiliar) !important; }
  .nv-body .nv-abajo a svg { width: 16px; height: 16px; }
  .nv-body .nv-sunarp-grid { grid-template-columns: minmax(0, 1fr); }
  .nv-body .nv-explorar .nv-catalogo { grid-template-columns: minmax(0, 1fr); }
  .nv-body .nv-op { align-items: flex-start; gap: 8px; }
  .nv-body .nv-op-precio { padding-top: 3px; }
}
@media (max-width: 380px) {
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-legal {
    padding-right: 12px;
    gap: 0 8px;
  }
  .nv-body.auth-locked .wa-fab {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-navegadores-trigger-mobile {
    transform: translateX(-28px);
  }
}

/* Acceso móvil: pie compacto y CTA visible solo en el paso de inicio. */
@media (max-width: 860px) {
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-legal {
    min-height: 42px;
    padding: 3px 12px calc(3px + env(safe-area-inset-bottom, 0px));
    gap: 0 10px;
  }
  .nv-body #nvPuerta:not([hidden]):not(.es-encima) .nv-puerta-legal a {
    min-height: 32px;
  }
  .nv-body.auth-locked .wa-fab {
    bottom: calc(54px + env(safe-area-inset-bottom, 0px));
  }
  .nv-body #nvPuerta .nv-auth-fvc-mobile {
    display: none !important;
  }
  .nv-body #nvPuerta[data-paso-activo="acceso"]:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-fvc-mobile {
    display: flex !important;
  }
}

/* Mobile sign-in: one form, a separate report action and a quiet footer. */
.nv-auth-contenido, .nv-acceso-clave-grupo { display: contents; }
.nv-auth-identidad-mobile, .nv-auth-navegacion-mobile,
.nv-body #nvPuerta .nv-auth-fvc-mobile-wrap { display: none; }
.nv-auth-titulo-mobile { display: none; }
.nv-auth-intro h1 > span { font: inherit; color: inherit; }
.nv-body #nvRegistro .nv-registro-clave > label { margin: 0; color: inherit; font: inherit; }
.nv-body #nvRegistro .nv-marcar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nv-body #nvPuerta.es-cuenta-ayuda #nvAuthShell .nv-puerta-caja { gap: 10px; }
.nv-body #nvPuerta.es-cuenta-ayuda #nvAuthShell .nv-puerta-nota { margin: 0; color: var(--ui-muted); font-size: 13px !important; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.nv-body #nvPuerta.es-cuenta-ayuda #nvAuthShell .nv-ayuda { margin: 0; font-size: 12px !important; line-height: 1.4; }
.nv-body #nvPuerta.es-cuenta-ayuda #nvAuthShell .nv-ayuda-correo { text-align: center; }

@media (min-width: 861px) and (pointer: fine), (min-width: 1181px) {
  #nvPuerta.es-cuenta-ayuda .nv-puerta-cuenta { padding-block: 16px; }
}
@media (max-width: 860px) and (min-height: 721px), (min-width: 861px) and (max-width: 1180px) and (min-height: 801px) and (pointer: coarse) {
  body.nv-body #nvPuerta.es-cuenta-ayuda:not([hidden]):not(.es-encima) { --nv-movil-portada: clamp(100px, calc(100svh * .19), 160px); }
}

@media (max-width: 860px), (max-width: 1180px) and (pointer: coarse) {
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden]):not(.es-encima) {
    --nv-movil-portada: clamp(132px, calc(100svh * .265), 220px);
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    width: 100%;
    height: 100vh;
    height: min(100dvh, var(--acceso-alto-visible, 100dvh));
    min-height: 0;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
    background: #ededeb;
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-puerta-presentacion { display: none; }
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden]):not(.es-encima) .nv-puerta-panel {
    display: grid;
    grid-template: minmax(0, 1fr) auto / minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
    background: #ededeb;
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-puerta-formularios {
    display: grid;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    margin: 0;
    padding: 0;
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell {
    display: grid;
    grid-template-rows: min(var(--nv-movil-portada), calc(var(--acceso-alto-visible, 100svh) * .5)) minmax(0, 1fr);
    align-self: stretch;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvPuertaTabs { display: none; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-identidad-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100%;
    margin: 0;
    padding: max(8px, env(safe-area-inset-top)) 20px 36px;
    color: #2c2d2b;
    background: linear-gradient(135deg, #f6f6f4, #ededeb);
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-identidad-mobile > .fv-wordmark { --fv-wordmark-size: 24px; color: #2c2d2b; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-contenido {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 0;
    position: relative;
    z-index: 1;
    margin: -28px 0 0;
    padding: 28px clamp(20px, 6vw, 36px) 0;
    gap: 16px;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
    overflow-y: auto;
    overscroll-behavior: none;
    overflow-anchor: none;
    scroll-padding-block: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-contenido::-webkit-scrollbar { display: none; width: 0; height: 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAcceso:not([hidden]),
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:not([hidden]) { flex: 0 0 auto; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-contenido > * { width: min(100%, 400px); max-width: 400px; margin-inline: auto; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAccesoCredenciales:not([hidden]) { flex: 0 0 auto; gap: 12px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-auth-intro { display: block; margin: 0 0 8px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-auth-intro h1 { margin: 0; color: var(--ui-ink); font-size: 22px !important; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-align: center; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-titulo-desktop { display: none; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-titulo-mobile { display: inline; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-etiqueta,
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-puerta-clave-encabezado > label { gap: 6px; font-size: 12px !important; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-acceso-clave-grupo { display: grid; gap: 6px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAccesoCredenciales .nv-puerta-clave-encabezado { margin: 0; gap: 4px 8px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-puerta-clave-encabezado a { font-size: 12px !important; line-height: 1.5; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAccesoCredenciales .nv-auth-campo-icono { display: block; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-campo { min-height: 48px; height: 48px; border: 1px solid #e6e6e6 !important; border-radius: 14px !important; background: #f5f5f5 !important; font-size: 16px !important; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAcceso .nv-auth-campo .nv-campo { padding-left: 40px !important; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-campo::placeholder { color: #858585; font-size: 14px !important; opacity: 1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) :is(#nvMostrarClave, #nvMostrarClaveRegistro) { width: 44px; height: 44px; right: 2px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-cta { min-height: 48px; height: 48px; padding: 11px 14px; border-radius: 999px !important; font-size: 16px !important; font-weight: 600; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-marcar { min-height: 24px; font-size: 12px !important; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-navegacion-mobile { display: flex; justify-content: center; align-items: center; min-height: 32px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-navegacion-mobile a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ui-ink); font-size: 14px !important; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; align-items: start; gap: 14px 12px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro > .nv-mitad { grid-column: auto; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-etiqueta { min-width: 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-auth-intro { margin: 0; }
  .nv-body #nvPuerta[data-paso-activo="acceso"]:is(.es-acceso-limpio, .es-cuenta-ayuda):not(.es-encima) .nv-auth-fvc-mobile-wrap {
    display: grid;
    flex-shrink: 0;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--ui-line-soft);
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-reporte-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #ffb51b;
    border-radius: 999px;
    background: #ffb51b;
    color: #1b1b1b;
    font: inherit;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
  }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-reporte-mobile:hover { background: #ffc343; border-color: #ffc343; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-reporte-mobile svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-fvc-mobile-wrap > small { color: var(--ui-muted); font-size: 12px !important; line-height: 1.5; text-align: center; }
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden]):not(.es-encima) .nv-puerta-legal {
    position: static;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: none;
    min-height: calc(64px + env(safe-area-inset-bottom));
    margin: 0;
    padding: 0 68px env(safe-area-inset-bottom) 8px;
    gap: 0 10px;
    border: 0;
    background: #ffffff;
  }
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-puerta-legal a { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 24px; color: var(--ui-muted); font-size: 11px !important; line-height: 1.5; white-space: nowrap; }
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden]):not(.es-encima) .nv-navegadores-trigger-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0 100%;
    min-height: 24px;
    margin: 0;
    padding: 0;
    color: var(--ui-muted);
    font-size: 11px !important;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    transform: none;
  }
  .nv-body.auth-locked:has(#nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden])) .wa-fab {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    bottom: calc(12px + env(safe-area-inset-bottom) + max(0px, 100dvh - var(--acceso-alto-visible, 100dvh)));
    width: 44px;
    height: 44px;
  }
  .nv-body.auth-locked:has(#nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden])) .wa-fab-icon { width: 26px; height: 26px; }
}
@media (max-width: 860px) and (max-height: 720px), (min-width: 861px) and (max-width: 1180px) and (max-height: 800px) and (pointer: coarse) {
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden]):not(.es-encima) { --nv-movil-portada: clamp(72px, calc(100svh * .22), 160px); }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell { padding: 0; gap: 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-identidad-mobile { min-height: 0; padding-bottom: 24px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-identidad-mobile > .fv-wordmark { --fv-wordmark-size: 18px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-contenido { margin-top: -24px; padding-top: 16px; gap: 10px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAccesoCredenciales:not([hidden]) { gap: 6px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-auth-intro { margin: 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-auth-intro h1 { font-size: 20px !important; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-etiqueta,
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-puerta-clave-encabezado > label { gap: 4px; font-size: 12px !important; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-acceso-clave-grupo { gap: 4px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-campo,
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell .nv-cta { height: 44px; min-height: 44px; padding-block: 9px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:not([hidden]) { gap: 8px 12px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-navegacion-mobile,
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-navegacion-mobile a { min-height: 28px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-fvc-mobile-wrap { padding-top: 10px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-reporte-mobile { min-height: 44px; padding-block: 9px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-fvc-mobile-wrap > small { font-size: 11px !important; line-height: 1.4; }
}
@media (max-width: 559px) and (max-height: 620px) {
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden]):not(.es-encima) { --nv-movil-portada: clamp(72px, calc(100svh * .19), 112px); }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:not([hidden]) { row-gap: 4px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistroClaveAyuda { line-height: 1.4; }
}
@media (max-width: 380px) {
  #nvPuerta.es-cuenta-ayuda .nv-auth-contenido { padding-inline: 10px; }
}
@media (max-width: 319px) {
  #nvPuerta.es-cuenta-ayuda .nv-captcha { width: 300px; max-width: none; justify-self: center; zoom: .85; }
}
@media (min-width: 560px) and (max-width: 1180px) and (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  .nv-body #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda):not([hidden]):not(.es-encima) { --nv-movil-portada: 52px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAuthShell { padding: 0; gap: 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-identidad-mobile { min-height: 0; padding-bottom: 16px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-identidad-mobile > .fv-wordmark { --fv-wordmark-size: 13px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-contenido { max-width: none; margin-top: -16px; padding-top: 12px; border-radius: 24px 24px 0 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-contenido > * { max-width: none; width: 100%; }
  #nvPuerta[data-paso-activo="acceso"]:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-auth-contenido { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-content: safe center; align-items: start; gap: 16px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAcceso { grid-column: 1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvFvcMovil { grid-column: 2; align-self: center; padding: 0 0 0 16px; border-top: 0; border-left: 1px solid var(--ui-line-soft); }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAccesoCredenciales:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 6px 10px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvAccesoCredenciales > :is(.nv-auth-intro, .nv-error, .nv-auth-navegacion-mobile) { grid-column: 1 / -1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) .nv-puerta-clave-encabezado a { font-size: 11px !important; line-height: 1.35; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:not([hidden]) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 10px; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-auth-intro { grid-row: 1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro > .nv-etiqueta { grid-row: 2; grid-column: auto; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro > .nv-etiqueta:has([name="full_name"]) { grid-column: 1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro > .nv-etiqueta:has([name="phone"]) { grid-column: 2; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro > .nv-etiqueta:has([name="email"]) { grid-column: 3; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-registro-clave { display: contents; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-registro-clave > label { grid-area: 2 / 4; align-self: start; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-registro-clave > .nv-puerta-clave-campo { grid-area: 2 / 4; align-self: end; width: 100%; min-width: 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistroClaveAyuda { grid-area: 3 / 1 / 4 / -1; margin: 0; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-marcar { grid-area: 4 / 1 / 5 / 3; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistroBtn { grid-area: 4 / 3 / 5 / -1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro .nv-auth-navegacion-mobile { grid-area: 5 / 1 / 6 / -1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistroError { grid-area: 4 / 1 / 5 / -1; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:has(#nvRegistroError:not([hidden])) .nv-marcar,
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:has(#nvRegistroError:not([hidden])) #nvRegistroBtn { grid-row: 5; }
  #nvPuerta:is(.es-acceso-limpio, .es-cuenta-ayuda) #nvRegistro:has(#nvRegistroError:not([hidden])) .nv-auth-navegacion-mobile { grid-row: 6; }
}

/* Verificación horizontal: ancho útil estable, también al montar el widget. */
.nv-body #nvPuerta.es-verificacion:not([hidden]):not(.es-encima) {
  padding: 0;
  background: var(--ui-surface);
}
.nv-body #nvPuerta.es-verificacion:not([hidden]) .nv-puerta-panel {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding: 24px max(10px, env(safe-area-inset-left, 0px)) 24px max(10px, env(safe-area-inset-right, 0px));
  justify-content: center;
  background: var(--ui-surface);
}
.nv-body #nvPuerta.es-verificacion .nv-puerta-formularios {
  flex: 0 0 auto;
  width: min(100%, 420px);
  max-width: none;
  min-height: 0;
  margin: auto;
  padding: 0;
}
.nv-body #nvPuerta.es-verificacion #nvAuthShell {
  width: 100%;
  max-width: none;
  gap: 0;
  padding: 20px clamp(0px, calc(50vw - 170px), 20px);
  border: 0;
  border-radius: 0;
}
.nv-body #nvPuerta.es-verificacion .nv-acceso-verificacion {
  gap: 16px;
}
.nv-body #nvPuerta.es-verificacion #nvTsAcceso {
  width: 100%;
  min-width: 300px;
  min-height: 65px;
}

/* Los campos mantienen un solo borde fino al recibir foco. */
:is(body.nv-body, body.fv-admin, body.fv-pago, body.fv-verificar, body.fv-citv)
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="color"]),
    textarea, select, .nv-campo, .input, .textarea, .select, .admin-select, .nm-input
  ):not(.nv-busqueda input):is(:focus, :focus-visible) {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #414141 !important;
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* El control de búsqueda dibuja el marco en el contenedor, no alrededor
   del input interno; ambos focos conservan un marco único de un píxel. */
.nv-body .nv-busqueda:focus-within {
  border-width: 1px !important;
  outline: none !important;
  box-shadow: none !important;
}
.nv-body .nv-busqueda input:is(:focus, :focus-visible) {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* El modal tiene su propia escala; las reglas generales de herencia
   dejaban su lista a 14–16 px pese a declarar 12 px en nueva.css. */
body.nv-body #nvFvcDialogo :is(
  .nv-fvc-kicker, .nv-fvc-alcance h3, .nv-fvc-alcance li,
  .nv-fvc-alcance small, .nv-fvc-campo label, .nv-fvc-campo small,
  .nv-fvc-error, .nv-fvc-acciones button
) { font-size: var(--fv-tipo-auxiliar) !important; }
body.nv-body #nvFvcDialogo :is(.nv-fvc-descripcion, #nvFvcPlaca) { font-size: var(--fv-tipo-base) !important; }
body.nv-body #nvFvcDialogo h2 { font-size: var(--fv-tipo-titulo) !important; }

/* Descarga de resultados de búsqueda por nombres. */
.nv-body .nm-export { padding: 16px; }
.nv-body .nm-export-formats { display: flex; flex-wrap: wrap; gap: 8px; }
.nv-body .nm-export-formats[hidden] { display: none; }
.nv-body .nm-export button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #1b1b1b;
  border-radius: 8px;
  background: #1b1b1b;
  color: #ffffff;
  font: inherit;
  font-size: var(--fv-tipo-auxiliar) !important;
  font-weight: 600;
  cursor: pointer;
}
.nv-body .nm-export .nm-export-format { background: #ffffff; color: #1b1b1b; border-color: #d0d0d0; }
.nv-body .nm-export button:disabled { opacity: .6; cursor: wait; }
.nv-body :is(.nm-export-notice, .nm-export-status) { margin: 0 0 8px; color: var(--ui-muted); font-size: var(--fv-tipo-auxiliar) !important; }
@media (max-width: 480px) { .nv-body .nm-export-formats button { flex: 1 1 130px; } }

/* Búsqueda y categorías son dos controles independientes en el catálogo móvil. */
.nv-body .nv-busqueda-etiqueta { display: none; }
@media (max-width: 900px) {
  .nv-body .nv-busqueda-grupo { display: grid; gap: 7px; min-width: 0; }
  .nv-body .nv-busqueda-etiqueta {
    display: block;
    color: #696969;
    font-size: var(--fv-tipo-auxiliar) !important;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .nv-body .nv-busqueda-grupo .nv-busqueda {
    background: #ffffff;
    border-color: #cfcfcf !important;
  }
  .nv-body .nv-categoria-menu {
    overflow: hidden;
    border-color: #1b1b1b !important;
  }
  .nv-body .nv-categoria-menu summary {
    background: #1b1b1b;
    color: #ffffff;
  }
  .nv-body .nv-categoria-menu summary strong { color: #ffffff; font-weight: 600; }
  .nv-body .nv-categoria-menu summary > span { background: #353535; color: #eeeeee; }
  .nv-body .nv-categoria-menu summary svg { color: #ffffff; }
  .nv-body .nv-categoria-opciones { background: #f3f3f3; }
}
