/*
 * Iniciar sesión (/ingresar) y registro (/registro) de la nueva web.
 * Diseño: docs/web-usuarios/lienzo4/Login.dc.html y Registro.dc.html
 * (teléfono), LoginEscritorio.dc.html y RegistroEscritorio.dc.html
 * (escritorio).
 *
 * Un solo HTML para los dos. Teléfono primero: una columna del ancho del
 * lienzo. Desde 768 px, dos columnas: en el ingreso, quiénes entran a la
 * izquierda y el formulario a la derecha; en el registro, los perfiles a la
 * izquierda y lo que corresponde al elegido a la derecha.
 *
 * Solo variables: colores, radios y sombras viven en tokens.css.
 */

/* ── Armazón ────────────────────────────────────────────────────────── */
/* Estas dos páginas no llevan la navegación del sitio (lienzo): solo la
   marca y cómo volver. `PageShell` siempre pone la barra inferior, así que
   se oculta desde aquí. */
.nw-ingreso-header ~ .nw-bottom-nav {
  display: none;
}

.nw-ingreso-header {
  border-bottom: 1px solid var(--v5-border);
  background: var(--v5-surface);
}
.nw-ingreso-header__in {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
}
.nw-ingreso-header__back {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nw-touch);
  height: var(--nw-touch);
  border-radius: var(--v5-r2);
  color: var(--v5-ink);
  font-size: 16px;
}
.nw-ingreso-header__back:hover {
  background: var(--v5-surface-muted);
  color: var(--v5-ink);
}
/* El paso a la otra página: en teléfono solo lo lleva el registro, y sin
   la pregunta. */
.nw-ingreso-header__cruce {
  display: flex;
  align-items: center;
  gap: 4px 12px;
  margin-left: auto;
}
.nw-ingreso-header__cruce--desktop,
.nw-ingreso-header__pregunta {
  display: none;
}
.nw-ingreso-header__cruce .nw-btn {
  padding: 0 14px;
  font-size: 13.5px;
}

/* ── Página ─────────────────────────────────────────────────────────── */
.nw-ingreso {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: var(--nw-phone-max);
  margin: 0 auto;
  padding: 22px 16px calc(28px + env(safe-area-inset-bottom));
}
.nw-ingreso--registro {
  gap: 20px;
}
/* Mientras se averigua si hay sesión, y al salir. */
.nw-ingreso[aria-busy='true'] {
  cursor: progress;
}
/* Sin barra inferior, el aviso baja hasta el borde. */
.nw-ingreso ~ .nw-toast {
  --nw-toast-bottom: 16px;
}

.nw-ingreso__acceso,
.nw-ingreso__perfiles,
.nw-ingreso__detalle {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nw-ingreso__acceso,
.nw-ingreso__detalle {
  gap: 16px;
}
.nw-ingreso__perfiles {
  gap: 14px;
}
.nw-ingreso__detalle {
  padding-top: 20px;
  border-top: 1px solid var(--v5-border);
}

.nw-ingreso__titulo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nw-ingreso__bajada {
  color: var(--v5-text-muted);
  font-size: var(--v5-text-body-large);
  font-weight: 400;
  line-height: 1.4;
}
.nw-ingreso__texto {
  color: var(--v5-text-muted);
  font-size: var(--v5-text-body);
  font-weight: 400;
  line-height: 1.45;
}

/* Glifos que todavía no están en el registro de íconos: miden lo mismo que
   en la fuente (512 unidades = 1em). */
.nw-ingreso__glifo {
  display: block;
  flex: none;
  fill: currentColor;
}
.nw-ingreso__glifo--ver,
.nw-ingreso__glifo--ocultar {
  width: 1.125em;
  height: 1.125em;
}
.nw-ingreso__glifo--veterinaria {
  width: 1.0625em;
  height: 1.0625em;
}

/* ── Google y Apple ─────────────────────────────────────────────────── */
.nw-ingreso__proveedores {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nw-ingreso__proveedores--fila {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nw-ingreso__proveedor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--v5-border-strong);
  border-radius: var(--v5-r3);
  background: var(--v5-surface);
  color: var(--v5-ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
}
.nw-ingreso__proveedor:hover {
  background: var(--v5-surface-muted);
}
.nw-ingreso__proveedor .nw-i {
  font-size: 16px;
}
.nw-ingreso__proveedor--apple,
.nw-ingreso__proveedor--apple:hover {
  border-color: var(--v5-ink);
  background: var(--v5-ink);
  color: var(--v5-surface);
}
.nw-ingreso__proveedor--apple .nw-i {
  font-size: 18px;
}
/* Con un pedido en curso (lo marca ingreso.js). */
.nw-ingreso__proveedor[aria-disabled='true'],
.nw-ingreso__olvido[aria-disabled='true'] {
  opacity: 0.55;
  cursor: progress;
}

/* «o con tu email»: el texto entre dos rayas. */
.nw-ingreso__separador {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--v5-text-muted);
  font-size: var(--v5-text-overline);
  font-weight: 500;
  line-height: 1.3;
}
.nw-ingreso__separador::before,
.nw-ingreso__separador::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--v5-border-strong);
}

/* ── Formulario ─────────────────────────────────────────────────────── */
.nw-ingreso__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Nombre y apellido, lado a lado. */
.nw-ingreso__dos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.nw-campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.nw-campo__etiqueta {
  align-self: flex-start;
  color: var(--v5-primary-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1.3;
  text-transform: uppercase;
}
.nw-campo__caja {
  position: relative;
  display: flex;
}
/* El campo es la caja: así el borde, el foco, el error y el relleno
   automático del navegador caen sobre el mismo elemento. 16 px: con menos,
   iOS acerca la página al enfocar. */
.nw-campo__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--v5-border);
  border-radius: var(--v5-r3);
  background: var(--v5-surface);
  color: var(--v5-ink);
  font-size: var(--v5-text-body-large);
  font-weight: 500;
  appearance: none;
}
.nw-campo__input::placeholder {
  color: var(--v5-text-light);
  font-weight: 400;
  opacity: 1;
}
/* El anillo y el borde hacen de indicador de foco. El contorno queda
   transparente, no quitado: con colores forzados (alto contraste) el
   sistema lo pinta, y ahí la sombra no existe. */
.nw-campo__input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: var(--v5-primary);
  box-shadow: var(--nw-focus-ring);
}
.nw-campo__input[aria-invalid='true'] {
  border-color: var(--v5-error);
}
.nw-campo__input--icono {
  padding-left: 42px;
}
.nw-campo__input--accion {
  padding-right: 54px;
}
.nw-campo__icono {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 16px;
  color: var(--v5-text-light);
  font-size: 16px;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}
/* En teléfono nombre y apellido van sin ícono (lienzo): no caben. */
.nw-campo--icono-escritorio .nw-campo__icono {
  display: none;
}
.nw-campo--icono-escritorio .nw-campo__input--icono {
  padding-left: 16px;
}
/* «Mostrar contraseña»: 44 px de toque dentro de la caja. */
.nw-campo__ojo {
  position: absolute;
  top: 50%;
  right: 7.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nw-touch);
  height: var(--nw-touch);
  padding: 0;
  border: 0;
  border-radius: var(--v5-r2);
  background: transparent;
  color: var(--v5-text-muted);
  font-size: 16px;
  transform: translateY(-50%);
}
.nw-campo__ojo:hover {
  background: var(--v5-surface-muted);
}
.nw-campo__ojo .nw-ingreso__glifo--ocultar,
.nw-campo__ojo[aria-pressed='true'] .nw-ingreso__glifo--ver {
  display: none;
}
.nw-campo__ojo[aria-pressed='true'] .nw-ingreso__glifo--ocultar {
  display: block;
}
.nw-campo__ayuda {
  color: var(--v5-text-muted);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}
/* Hueco del error de un campo: lo escribe ingreso.js. El rojo de texto es
   la tinta, que sí da contraste; el de estado queda para el borde. */
.nw-campo__error {
  color: var(--v5-tint-law-ink);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}
.nw-campo__error:empty {
  display: none;
}

/* Medidor de la contraseña: cuatro tramos y los colores de la app. */
.nw-ingreso__medidor {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.nw-ingreso__medidor span {
  height: 4px;
  border-radius: var(--v5-r-pill);
  background: var(--v5-border);
}
.nw-ingreso__medidor[data-nw-strength='1'] span:nth-child(-n + 1) {
  background: var(--v5-error);
}
.nw-ingreso__medidor[data-nw-strength='2'] span:nth-child(-n + 2) {
  background: var(--v5-amber);
}
.nw-ingreso__medidor[data-nw-strength='3'] span:nth-child(-n + 3),
.nw-ingreso__medidor[data-nw-strength='4'] span {
  background: var(--v5-success);
}

.nw-ingreso__olvido {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  min-height: var(--nw-touch);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--v5-primary-deep);
  font-size: var(--v5-text-label);
  font-weight: 700;
}
.nw-ingreso__olvido:hover {
  color: var(--nw-link-hover);
}

.nw-ingreso__terminos {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: var(--nw-touch);
  color: var(--v5-text-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}
.nw-ingreso__terminos input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--v5-primary);
}
.nw-ingreso__terminos input[aria-invalid='true'] {
  outline: 2px solid var(--v5-error);
  outline-offset: 2px;
}
.nw-ingreso__terminos a,
.nw-ingreso__legal a {
  font-weight: 700;
  text-decoration: underline;
}

/* Región de avisos del formulario: la escribe ingreso.js. */
.nw-ingreso__msg {
  padding: 12px 14px;
  border: 1px solid var(--v5-error);
  border-radius: var(--v5-r2);
  background: var(--v5-surface);
  color: var(--v5-tint-law-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.nw-ingreso__msg:empty {
  display: none;
}
/* El fondo y el borde de la app: el rojo al 10 % y al 30 %. Va aparte: una
   declaración con var() no cae a la anterior si el navegador no conoce
   color-mix. */
@supports (color: color-mix(in srgb, currentColor 10%, transparent)) {
  .nw-ingreso__msg {
    border-color: color-mix(in srgb, var(--v5-error) 30%, transparent);
    background: color-mix(in srgb, var(--v5-error) 10%, transparent);
  }
}
.nw-ingreso__msg[data-nw-tone='ok'] {
  border-color: transparent;
  background: var(--v5-success-soft);
  color: var(--v5-tint-game-ink);
}

/* Acción principal: «Iniciar sesión», «Crear cuenta» y «Continuar». */
.nw-ingreso__cta,
.nw-ingreso__cta:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--v5-r3);
  background: linear-gradient(135deg, var(--v5-primary), var(--v5-primary-deep));
  color: var(--v5-surface);
  font-size: var(--v5-text-body-large);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
  box-shadow: var(--nw-glow-join);
}
.nw-ingreso__cta:disabled {
  opacity: 0.55;
  box-shadow: none;
  cursor: progress;
}
.nw-ingreso__cta-ir {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--nw-r-round);
  background: var(--nw-on-dark-tint);
  font-size: 12px;
}

/* «¿Eres nuevo en PetFi? Crea tu cuenta» y la puerta de organizaciones. */
.nw-ingreso__cruce {
  color: var(--v5-text-muted);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}
.nw-ingreso__cruce a {
  display: inline-flex;
  align-items: center;
  min-height: var(--nw-touch);
  font-weight: 700;
}
.nw-ingreso__legal {
  color: var(--v5-text-muted);
  font-size: var(--v5-text-label);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

/* ── Una sola entrada para todos (ingreso) ──────────────────────────── */
/* Solo en escritorio. */
.nw-ingreso__lema {
  display: none;
}
.nw-ingreso__entrada-caja {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--v5-border);
  border-radius: var(--v5-r4);
  background: var(--v5-primary-softer);
}
.nw-ingreso__quienes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nw-ingreso__quien {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.nw-ingreso__quien-texto,
.nw-ingreso__opcion-texto {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nw-ingreso__quien-nombre,
.nw-ingreso__opcion-nombre {
  font-size: var(--v5-text-body);
  font-weight: 700;
  line-height: 1.35;
}
.nw-ingreso__quien-desc,
.nw-ingreso__opcion-desc {
  color: var(--v5-text-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
}

/* Ícono sobre su pastel: quién entra y cada perfil del registro. */
.nw-ingreso__icono {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--v5-r2);
  font-size: 16px;
}
.nw-ingreso__quien .nw-ingreso__icono {
  width: 36px;
  height: 36px;
  font-size: 15px;
}
.nw-ingreso__icono--guardian {
  background: var(--v5-primary-soft);
  color: var(--v5-primary-deep);
}
.nw-ingreso__icono--fundacion {
  background: var(--v5-teal-soft);
  color: var(--v5-teal-action);
}
.nw-ingreso__icono--rescatista {
  background: var(--v5-dupla-soft);
  color: var(--v5-dupla-ink);
}

/* ── Perfiles (registro) ────────────────────────────────────────────── */
.nw-ingreso__opciones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nw-ingreso__opcion,
.nw-ingreso__opcion:hover {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1.5px solid var(--v5-border);
  border-radius: var(--v5-r3);
  background: var(--v5-surface);
  color: var(--v5-ink);
  box-shadow: var(--v5-shadow-card);
}
.nw-ingreso__opcion:hover {
  border-color: var(--v5-border-strong);
}
.nw-ingreso__opcion[aria-current='true'] {
  border-color: var(--v5-primary);
  background: var(--v5-primary-softer);
}
/* El punto de la derecha: vacío, o lleno con su visto si es el elegido. */
.nw-ingreso__opcion-marca {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--v5-border-strong);
  border-radius: var(--nw-r-round);
  background: var(--v5-surface);
  color: transparent;
  font-size: 10px;
}
.nw-ingreso__opcion[aria-current='true'] .nw-ingreso__opcion-marca {
  border-color: var(--v5-primary);
  background: var(--v5-primary);
  color: var(--v5-surface);
}

/* Nota de un perfil de organización. */
.nw-ingreso__nota {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--nw-r-md);
  background: var(--v5-teal-soft);
  color: var(--v5-ink);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
}
.nw-ingreso__nota .nw-i {
  padding-top: 2px;
  color: var(--v5-teal-action);
  font-size: 13px;
}

/* Aviso de los perfiles de organización: solo para quien rescata de forma
   sostenida (Gustavo, 25-nov-2026). Ámbar de la marca, para que no se lea
   como la nota verde del CRM. */
.nw-ingreso__requisito {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--nw-r-md);
  background: var(--v5-amber-soft);
  color: var(--v5-ink);
  font-size: var(--v5-text-body);
  font-weight: 400;
  line-height: 1.5;
}
.nw-ingreso__requisito > .nw-i {
  flex: none;
  padding-top: 2px;
  color: var(--v5-amber-ink);
  font-size: 18px;
}
.nw-ingreso__requisito strong {
  font-weight: 700;
}
.nw-ingreso__requisito a {
  color: var(--v5-primary-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Lo que incluye el perfil: para qué sirve la cuenta, punto por punto. */
.nw-ingreso__incluye {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--v5-border);
  border-radius: var(--v5-r3);
  background: var(--v5-surface);
}
.nw-ingreso__incluye-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nw-ingreso__incluye-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--v5-ink);
  font-size: var(--v5-text-body);
  font-weight: 400;
  line-height: 1.45;
}
.nw-ingreso__incluye-item > .nw-i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--v5-r2);
  background: var(--v5-primary-softer);
  color: var(--v5-primary-deep);
  font-size: 16px;
}
.nw-ingreso__incluye--organizacion .nw-ingreso__incluye-item > .nw-i {
  background: var(--v5-teal-soft);
  color: var(--v5-teal-action);
}

/* ── Escritorio ─────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .nw-ingreso-header {
    border-bottom: 0;
    background: transparent;
  }
  .nw-ingreso-header__in {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    max-width: var(--nw-page-max);
    margin: 0 auto;
    padding: 14px 24px;
  }
  .nw-ingreso-header__back {
    display: none;
  }
  .nw-ingreso-header__cruce,
  .nw-ingreso-header__cruce--desktop {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
  }
  .nw-ingreso-header__pregunta {
    display: inline;
    color: var(--v5-text-muted);
    font-size: 13px;
    font-weight: 400;
  }
  .nw-ingreso-header__cruce .nw-btn {
    padding: 0 16px;
    font-size: var(--v5-text-body);
  }

  /* Dos columnas que se reparten el ancho hasta su tope, centradas. */
  .nw-ingreso {
    display: grid;
    justify-content: center;
    gap: 0 clamp(32px, 6vw, 72px);
    max-width: var(--nw-page-max);
    padding: 24px 24px 56px;
  }
  .nw-ingreso ~ .nw-toast {
    --nw-toast-bottom: 24px;
  }
  .nw-campo__input {
    font-size: 15px;
  }

  /* Ingreso: quiénes entran a la izquierda; a la derecha el ingreso y,
     debajo, la puerta de organizaciones y los términos. El HTML va en el
     orden de teléfono, con el formulario primero. */
  .nw-ingreso--ingresar {
    grid-template-columns: minmax(0, 540px) minmax(0, 440px);
    grid-template-areas:
      'entrada acceso'
      'entrada panel'
      'entrada legal';
    align-items: center;
    /* Centrado en el alto que deja el encabezado, como el lienzo. */
    margin: auto;
  }
  .nw-ingreso__acceso {
    grid-area: acceso;
    gap: 18px;
  }
  .nw-ingreso__panel {
    grid-area: panel;
  }
  .nw-ingreso__legal {
    grid-area: legal;
  }
  .nw-ingreso--ingresar .nw-ingreso__legal {
    margin-top: 8px;
  }
  /* Arriba, a la altura del título del ingreso: centrada en las tres filas
     de la derecha quedaba muy abajo. */
  .nw-ingreso__entrada {
    grid-area: entrada;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding-top: 6px;
  }
  .nw-ingreso__lema {
    display: block;
    font-size: var(--v5-text-display);
    font-weight: 900;
    letter-spacing: -0.8px;
    line-height: 1.15;
  }
  /* Aquí cada quien va en su tarjeta, sin la caja común. */
  .nw-ingreso__entrada-caja {
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .nw-ingreso__quienes {
    gap: 10px;
  }
  .nw-ingreso__quien {
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--v5-border);
    border-radius: var(--v5-r3);
    background: var(--v5-surface);
    box-shadow: var(--v5-shadow-card);
  }
  .nw-ingreso__quien .nw-ingreso__icono {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Registro: los perfiles a la izquierda y, debajo, para qué sirve el
     elegido; a la derecha su panel (el registro o «Continuar»). El HTML va
     en el orden del teléfono, con el panel antes que la lista. */
  .nw-ingreso--registro {
    grid-template-columns: minmax(0, 480px) minmax(0, 480px);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      'perfiles detalle'
      'incluye detalle';
    align-items: start;
  }
  .nw-ingreso--registro > .nw-ingreso__perfiles {
    grid-area: perfiles;
  }
  .nw-ingreso--registro > .nw-ingreso__detalle {
    grid-area: detalle;
  }
  .nw-ingreso--registro > .nw-ingreso__incluye {
    grid-area: incluye;
    margin-top: 18px;
  }
  .nw-ingreso__perfiles {
    gap: 18px;
  }
  .nw-ingreso__opciones {
    gap: 10px;
  }
  .nw-ingreso__opcion,
  .nw-ingreso__opcion:hover {
    gap: 14px;
    min-height: 72px;
    padding: 12px 16px;
  }
  .nw-ingreso__detalle {
    padding-top: 0;
    border-top: 0;
  }
  .nw-campo--icono-escritorio .nw-campo__icono {
    display: block;
  }
  .nw-campo--icono-escritorio .nw-campo__input--icono {
    padding-left: 42px;
  }
  .nw-ingreso__medidor {
    gap: 6px;
    padding-top: 2px;
  }
  .nw-ingreso__terminos {
    padding-top: 4px;
    color: var(--v5-ink);
  }
}

/* Fondo de escritorio del lienzo: dos luces suaves, el morado al 10 % y el
   ámbar al 12 %, sobre todo el alto de la página. Es un adorno: sin `:has`
   o sin color-mix queda el fondo liso. */
@supports (color: color-mix(in srgb, currentColor 10%, transparent)) {
  @media (min-width: 768px) {
    .nw-shell:has(> .nw-ingreso-header) {
      background-image:
        radial-gradient(
          620px circle at 8% 0%,
          color-mix(in srgb, var(--v5-primary) 10%, transparent),
          transparent 62%
        ),
        radial-gradient(
          560px circle at 96% 100%,
          color-mix(in srgb, var(--v5-amber) 12%, transparent),
          transparent 62%
        );
    }
  }
}
