/* ---------- LAS PASSKEYS (24-oct-2026, js/passkeys.js) ----------
   La misma ventana de cristal de los tutoriales. Las animaciones mueven sólo
   transform y opacity, una por elemento y propiedad, y con «menos movimiento»
   se quedan quietas. */
.pk-velo{position:fixed;inset:0;z-index:2100;display:grid;place-items:center;padding:16px;
  background:color-mix(in srgb,var(--asc-azul-950,#01294D) 42%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  opacity:0;transition:opacity .42s ease}
:root[data-tema="oscuro"] .pk-velo{background:rgba(0,0,0,.78)}
.pk-velo.visible{opacity:1}
.pk-velo.saliendo{opacity:0}
.pk-velo.pk-encima{z-index:2200}
body.pk-abierta{overflow:hidden}
.pk-ventana{width:min(560px,100%);max-height:min(90svh,860px);overflow-y:auto;overscroll-behavior:contain;border-radius:30px;
  background:color-mix(in srgb,var(--surface-card,#fff) 95%,transparent);
  box-shadow:0 30px 80px -20px rgba(1,41,77,.45),inset 0 0 0 1px rgba(255,255,255,.7);
  transform:translateY(18px) scale(.97);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.pk-velo.visible .pk-ventana{transform:none}
.pk-velo.saliendo .pk-ventana{transform:translateY(-10px) scale(.98)}
:root[data-tema="oscuro"] .pk-ventana{background:#121212;box-shadow:0 30px 80px -20px rgba(0,0,0,.85),inset 0 0 0 1px rgba(255,255,255,.14)}
.pk-cuerpo{padding:clamp(22px,4vw,36px) clamp(18px,4vw,36px) clamp(18px,3vw,26px)}
.pk-pantalla{animation:pk-entra .45s cubic-bezier(.2,.8,.2,1) both}

.pk-cabeza{text-align:center;margin-bottom:var(--sp-4,16px)}
.pk-cabeza h2{margin:10px 0 0;font-family:var(--font-display);font-size:clamp(1.35rem,4.2vw,1.8rem);line-height:1.18;color:var(--text-title)}
.pk-sub{margin:8px auto 0;max-width:42ch;font-size:.98rem;line-height:1.6;color:var(--text-body)}
.pk-sello{position:relative;display:inline-grid;place-items:center;width:76px;height:76px;border-radius:50%;color:var(--brand-primary,#01294D);
  background:radial-gradient(circle,color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 34%,transparent),transparent 70%)}
.pk-sello > svg{width:38px;height:38px;animation:pk-flota 4s ease-in-out infinite}
.pk-chispa{position:absolute;width:14px;height:14px;color:var(--asc-oro-500,#F2B544);opacity:0}
.pk-chispa svg{width:100%;height:100%;fill:currentColor}
.pk-chispa.c1{top:4px;right:6px;animation:pk-titila 2.8s ease-in-out infinite}
.pk-chispa.c2{bottom:8px;left:2px;width:10px;height:10px;color:var(--asc-coral-500,#FA889C);animation:pk-titila 2.8s ease-in-out .9s infinite}
.pk-chispa.c3{top:30px;left:-6px;width:9px;height:9px;color:var(--asc-turquesa-500,#3DC9D0);animation:pk-titila 2.8s ease-in-out 1.8s infinite}

.pk-texto{margin:0 0 var(--sp-4,16px);font-size:1rem;line-height:1.65;color:var(--text-body)}
.pk-texto strong{color:var(--text-title)}
.pk-centro{text-align:center}
.pk-pie{margin:14px 0 0;text-align:center;font-size:.86rem;color:var(--text-muted,var(--text-body))}
.pk-aviso{margin:12px 0 0}
.pk-botones{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:var(--sp-5,20px)}
.pk-botones .boton{min-width:150px;justify-content:center}
.pk-clave .campo{display:grid;gap:6px;text-align:left}

/* Los lugares donde guardarla: un azulejo por cada uno, entrando en cascada. */
.pk-lugares,.pk-lista{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.pk-lugar,.pk-item{display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px;border-radius:18px;text-align:left;
  background:color-mix(in srgb,var(--brand-primary,#01294D) 4%,var(--surface-card,#fff));
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary,#01294D) 12%,transparent)}
.pk-lugar{cursor:pointer;font:inherit;color:inherit;animation:pk-entra .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 70ms);
  transition:transform .2s ease,box-shadow .2s ease}
.pk-lugar:hover,.pk-lugar:focus-visible{transform:translateY(-2px);box-shadow:inset 0 0 0 1.5px var(--asc-turquesa-500,#3DC9D0),0 10px 24px -14px rgba(1,41,77,.4)}
:root[data-tema="oscuro"] .pk-lugar,:root[data-tema="oscuro"] .pk-item{background:#181818;box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)}
.pk-lugar-icono{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;color:var(--brand-primary,#01294D);
  background:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 18%,transparent)}
:root[data-tema="oscuro"] .pk-lugar-icono{color:var(--asc-turquesa-300,#A8E8EA)}
.pk-lugar-icono svg{width:24px;height:24px}
.pk-lugar-texto{display:grid;gap:2px;min-width:0}
.pk-lugar-texto b{color:var(--text-title);font-size:1rem}
.pk-lugar-texto small{color:var(--text-body);font-size:.86rem;line-height:1.45}
.pk-quitar{margin-left:auto;flex:none;width:34px;height:34px;border-radius:50%;font-size:20px;line-height:1;color:var(--text-body);cursor:pointer;
  background:color-mix(in srgb,var(--text-title) 7%,transparent)}
.pk-quitar:hover{background:color-mix(in srgb,var(--danger-500,#c0392b) 16%,transparent)}
.pk-vacia{padding:16px;text-align:center;color:var(--text-body)}

/* La escena: el lugar elegido, una huella y dos ondas que salen de ella. */
.pk-escena{position:relative;height:150px;margin:6px 0 16px;border-radius:22px;overflow:hidden;
  background:linear-gradient(160deg,color-mix(in srgb,var(--asc-turquesa-300,#A8E8EA) 20%,transparent),transparent 72%);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary,#01294D) 10%,transparent)}
.pk-escena-icono,.pk-huella{position:absolute;top:50%;display:grid;place-items:center;width:64px;height:64px;margin-top:-32px;border-radius:20px;
  color:var(--brand-primary,#01294D);background:var(--surface-card,#fff);box-shadow:0 12px 28px -14px rgba(1,41,77,.45)}
:root[data-tema="oscuro"] .pk-escena-icono,:root[data-tema="oscuro"] .pk-huella{background:rgba(255,255,255,.08);color:var(--asc-turquesa-300,#A8E8EA)}
.pk-escena-icono{left:calc(50% - 96px);animation:pk-flota 4s ease-in-out infinite}
.pk-huella{left:calc(50% + 32px);color:var(--asc-coral-600,#E0607A);animation:pk-latido 2.4s ease-in-out infinite}
.pk-escena-icono svg,.pk-huella svg{width:32px;height:32px}
.pk-onda{position:absolute;left:calc(50% + 64px);top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;
  border:2px solid color-mix(in srgb,var(--asc-coral-500,#FA889C) 70%,transparent);opacity:0;animation:pk-onda 2.4s ease-out infinite}
.pk-onda.o2{animation-delay:1.2s}

/* El «listo»: el círculo se dibuja y las estrellas salen de él. */
.pk-listo{text-align:center}
.pk-listo h2{margin:12px 0 10px;font-family:var(--font-display);font-size:clamp(1.35rem,4.2vw,1.8rem);color:var(--text-title)}
.pk-listo-circulo{position:relative;display:inline-block;width:92px;height:92px}
.pk-listo-circulo svg{width:100%;height:100%;fill:none;stroke-linecap:round;stroke-linejoin:round}
.pk-listo-circulo circle{stroke:var(--success-500,#3f8f6d);stroke-width:3;stroke-dasharray:151;stroke-dashoffset:151;animation:pk-traza .7s ease forwards}
.pk-listo-circulo path{stroke:var(--success-500,#3f8f6d);stroke-width:3.5;stroke-dasharray:36;stroke-dashoffset:36;animation:pk-traza .45s .55s ease forwards}
.pk-estrella{position:absolute;left:50%;top:50%;width:16px;height:16px;margin:-8px;color:var(--asc-oro-500,#F2B544);opacity:0;animation:pk-sale 1.1s .7s cubic-bezier(.2,.8,.2,1) forwards}
.pk-estrella svg{width:100%;height:100%;fill:currentColor}
.pk-estrella.e1{--x:-62px;--y:-30px}.pk-estrella.e2{--x:60px;--y:-36px;color:var(--asc-coral-500,#FA889C)}
.pk-estrella.e3{--x:-54px;--y:40px;color:var(--asc-turquesa-500,#3DC9D0)}.pk-estrella.e4{--x:58px;--y:38px}
.pk-estrella.e5{--x:0px;--y:-66px;color:var(--asc-turquesa-500,#3DC9D0)}.pk-estrella.e6{--x:4px;--y:64px;color:var(--asc-coral-500,#FA889C)}

@keyframes pk-entra{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes pk-flota{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes pk-latido{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@keyframes pk-titila{0%,100%{opacity:0;transform:scale(.4) rotate(0)}45%{opacity:1;transform:scale(1) rotate(20deg)}}
@keyframes pk-onda{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(2.2)}}
@keyframes pk-traza{to{stroke-dashoffset:0}}
@keyframes pk-sale{0%{opacity:0;transform:translate(0,0) scale(.3)}40%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1) rotate(40deg)}}

@media (prefers-reduced-motion:reduce){
  .pk-velo *,.omg-velo *{animation:none!important;transition:none!important}
  .pk-listo-circulo circle,.pk-listo-circulo path{stroke-dashoffset:0}
  .pk-chispa,.pk-onda,.pk-estrella{opacity:0}
}


/* La llave con estrella de la marca en la cabecera, y los logos de los lugares. */
.pk-sello img{width:58px;height:58px;object-fit:contain;animation:pk-flota 4s ease-in-out infinite;filter:drop-shadow(0 8px 12px rgba(1,41,77,.25))}
.pk-lugar-icono.con-logo,.pk-escena-icono.con-logo{background:#fff;box-shadow:0 6px 14px -8px rgba(1,41,77,.4)}
.pk-lugar-icono.con-logo svg{width:28px;height:28px}
.pk-escena-icono.con-logo svg,.pk-escena-icono.con-logo img{width:40px;height:40px;object-fit:contain}

/* ---------- Omnia, la guía de las passkeys ---------- */
.omg-velo{position:fixed;inset:0;z-index:2150;display:grid;place-items:end center;padding:16px;
  background:color-mix(in srgb,var(--asc-azul-950,#01294D) 30%,transparent);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .35s ease}
:root[data-tema="oscuro"] .omg-velo{background:rgba(0,0,0,.78)}
.omg-velo.omg-encima{z-index:2300}
.omg-velo.visible{opacity:1}
@media (min-width:700px){.omg-velo{place-items:center}}
.omg-ventana{width:min(520px,100%);height:min(640px,86svh);display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius-xl,28px);
  background:var(--cristal,rgba(255,255,255,.9));backdrop-filter:var(--cristal-velo,blur(18px));-webkit-backdrop-filter:var(--cristal-velo,blur(18px));
  border:1px solid var(--cristal-borde,rgba(255,255,255,.8));box-shadow:0 30px 80px -20px rgba(1,41,77,.5);
  transform:translateY(24px);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
:root[data-tema="oscuro"] .omg-ventana{background:rgba(18,18,18,.95);border-color:rgba(255,255,255,.14);box-shadow:0 30px 80px -20px rgba(0,0,0,.85)}
.omg-velo.visible .omg-ventana{transform:none}
.omg-cabeza{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid color-mix(in srgb,var(--brand-primary,#01294D) 10%,transparent)}
.omg-cabeza b{display:block;font-family:var(--font-display);font-size:1.15rem;color:var(--text-title)}
.omg-cabeza small{color:var(--text-body)}
.omg-halo{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;flex:none;
  background:radial-gradient(circle,color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 38%,transparent),transparent 70%)}
.omg-halo img{width:40px;height:40px;border-radius:50%;animation:pk-flota 4s ease-in-out infinite}
.omg-x{margin-left:auto;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;cursor:pointer;color:var(--text-title);
  background:color-mix(in srgb,var(--brand-primary,#01294D) 7%,transparent)}
.omg-x svg{width:17px;height:17px}
.omg-chat{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}
.omg-burbuja{display:flex;gap:8px;align-items:flex-end;max-width:88%;animation:pk-entra .35s cubic-bezier(.2,.8,.2,1) both}
.omg-burbuja p{margin:0;padding:10px 14px;border-radius:18px;line-height:1.55;white-space:pre-wrap;font-size:.96rem}
.omg-burbuja.tu{align-self:flex-end}
.omg-burbuja.tu p{color:var(--text-onbrand,#fff);background:var(--brand-primary,#01294D);border-bottom-right-radius:6px}
.omg-burbuja.omnia img{width:28px;height:28px;border-radius:50%;flex:none}
.omg-burbuja.omnia p{color:var(--text-title);background:color-mix(in srgb,var(--asc-coral-300,#FBC4CE) 30%,var(--surface-card,#fff));border-bottom-left-radius:6px}
:root[data-tema="oscuro"] .omg-burbuja.omnia p{background:rgba(255,255,255,.07)}
.omg-burbuja.aviso p{background:color-mix(in srgb,#d64560 14%,transparent)}
.omg-burbuja.pensando p{display:flex;gap:5px;padding:14px 16px}
.omg-burbuja.pensando i{width:7px;height:7px;border-radius:50%;background:var(--text-body);animation:omg-punto 1.1s ease-in-out infinite}
.omg-burbuja.pensando i:nth-child(2){animation-delay:.15s}.omg-burbuja.pensando i:nth-child(3){animation-delay:.3s}
.omg-sugerencias{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 10px}
.omg-sugerencias button{padding:7px 12px;border-radius:999px;cursor:pointer;font:inherit;font-size:.86rem;font-weight:700;color:var(--text-title);
  background:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 35%,transparent)}
.omg-barra{display:flex;gap:8px;margin:0 12px 12px;padding:6px 6px 6px 16px;border-radius:999px;background:color-mix(in srgb,var(--surface-card,#fff) 85%,transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand-primary,#01294D) 14%,transparent)}
:root[data-tema="oscuro"] .omg-barra{background:#1A1A1A;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.omg-barra input{flex:1;min-width:0;border:0;background:none;font:inherit;color:var(--text-title);outline:none}
.omg-barra button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;cursor:pointer;color:var(--text-onbrand,#fff);background:var(--brand-primary,#01294D)}
.omg-barra button:disabled{opacity:.5}
.omg-barra button svg{width:20px;height:20px}
@keyframes omg-punto{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}

/* ---------- LA CUENTA INHABILITADA (1-nov-2026, js/passkeys.js) ----------
   Opaca a propósito: detrás no se ve nada de la plataforma. Por debajo de
   .pk-velo (2100), para que el recorrido de añadir la passkey salga encima. */
body.cuenta-inhabilitada{overflow:hidden}
body.cuenta-inhabilitada > :not(.pk-inhabilitada):not(.pk-velo):not(.omg-velo):not(script){visibility:hidden}
.pk-inhabilitada{position:fixed;inset:0;z-index:2050;display:grid;place-items:center;padding:16px;overflow-y:auto;visibility:visible;
  background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 14%,var(--surface-page,#F3F9FA)),var(--surface-page,#F3F9FA) 70%)}
.pk-inh-caja{width:min(520px,100%);text-align:center;animation:pk-entra .5s cubic-bezier(.2,.8,.2,1) both}
.pk-inh-logo{display:inline-grid;place-items:center;width:112px;height:112px;border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 30%,transparent),transparent 70%)}
.pk-inh-logo img{width:84px;height:84px;object-fit:contain;animation:pk-flota 4s ease-in-out infinite}
.pk-inh-caja h1{margin:14px 0 0;font-family:var(--font-display);font-size:clamp(1.5rem,5vw,2rem);line-height:1.18;color:var(--text-title)}
.pk-inh-caja > p{margin:12px auto 0;max-width:44ch;font-size:1rem;line-height:1.65;color:var(--text-body)}
.pk-inh-caja .pk-botones{flex-direction:column;align-items:center}
.pk-inh-caja .pk-botones .boton{width:min(300px,100%);gap:8px}
.pk-inh-caja .pk-botones .boton img{width:22px;height:22px;object-fit:contain}

/* Los pasos de un lugar (Google en iPhone, en Chrome de ordenador...). */
.pk-pasos{margin:0 0 var(--sp-4,16px);padding:0 0 0 1.4em;display:grid;gap:8px;text-align:left;font-size:.95rem;line-height:1.55;color:var(--text-body)}
.pk-pasos strong{color:var(--text-title)}
@media (prefers-reduced-motion:reduce){.pk-inh-caja,.pk-inh-logo img{animation:none}}

/* Pasos que se marcan uno a uno antes de guardar en Google (7-nov-2026). */
.pk-pasos-marcar{list-style:none;padding:0}
.pk-paso{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:14px;cursor:pointer;
  background:rgba(1,41,77,.04);transition:background .2s ease}
:root[data-tema="oscuro"] .pk-paso{background:rgba(255,255,255,.05)}
.pk-paso:has(input:checked){background:rgba(52,199,89,.12)}
.pk-paso input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--brand-primary,#01294D)}
.pk-pasos-falta[hidden]{display:none}
.pk-paso-final{background:none;padding-left:42px}

/* ---------- La tarjeta de entrar, rehecha (14-nov-2026) ----------
   Sólo passkey. Lo que se mueve va por transform y opacity (compositor), y
   con menos movimiento todo aparece quieto. Los colores salen de --asc-*,
   así que siguen a las cuatro paletas y al modo oscuro. */
.acceso #caja-entrar{gap:14px;padding:28px 24px 22px;position:relative;overflow:hidden;
  border-color:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 30%,rgba(255,255,255,.8))}
/* Un halo de marca detrás de todo, quieto: no cuesta nada por fotograma. */
.acceso #caja-entrar::before{content:"";position:absolute;inset:-40% -30% auto;height:70%;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 22%,transparent),transparent),
             radial-gradient(closest-side at 80% 40%,color-mix(in srgb,var(--asc-coral-500,#FA889C) 16%,transparent),transparent)}
.acceso-sello{position:relative;width:96px;height:96px;margin:2px auto 0;display:grid;place-items:center}
.acceso-sello img{position:relative;width:72px;height:72px;object-fit:contain;
  filter:drop-shadow(0 8px 18px color-mix(in srgb,var(--asc-azul-800,#023C73) 25%,transparent))}
.acceso-sello-onda{position:absolute;inset:6px;border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 30%,transparent) 40%,transparent 70%);
  border:1px solid color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 40%,transparent)}
.acceso-encabezado{display:grid;gap:6px;text-align:center}
.acceso-encabezado .acceso-titulo{font-size:clamp(1.2rem,1rem + 1vw,1.45rem)}
.acceso-encabezado .acceso-intro-menor{margin:0}
.acceso-ventajas{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.acceso-ventajas li{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:.8rem;font-weight:600;
  color:var(--asc-azul-800,#023C73);background:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 12%,rgba(255,255,255,.55));
  border:1px solid color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 32%,transparent)}
.acceso-ventajas svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.acceso .acceso-passkey{display:inline-flex;align-items:center;gap:10px;margin-top:2px;min-height:50px;font-size:1rem;position:relative;overflow:hidden}
.acceso .acceso-passkey img{width:24px;height:24px;object-fit:contain;flex:none}
/* El brillo que cruza el botón al pasar por encima, una sola vez. */
.acceso .acceso-passkey::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.35) 50%,transparent 65%);transform:translateX(-120%)}
.acceso .acceso-passkey:hover::after,.acceso .acceso-passkey:focus-visible::after{transform:translateX(120%);transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.acceso .acceso-passkey:active{transform:scale(.985)}
.acceso-passkey-nota{margin:-4px 0 0;text-align:center;font-size:.8rem;line-height:1.45;color:var(--text-muted,#5b7383)}
.acceso-enlaces{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px}
.acceso .acceso-galeria{display:inline-flex;align-items:center;gap:6px}
.acceso .acceso-galeria svg{width:15px;height:15px;color:var(--asc-coral-500,#FA889C)}
.acceso #caja-entrar .acceso-pie{display:flex;align-items:flex-start;justify-content:center;gap:6px;text-align:left;
  padding-top:12px;border-top:1px solid color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 22%,transparent)}
.acceso-pie svg{width:15px;height:15px;flex:none;fill:none;stroke:var(--asc-turquesa-700,#1C8C93);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.acceso-solicitud-nota{display:flex;gap:10px;align-items:flex-start;margin:0;padding:10px 12px;border-radius:14px;font-size:.82rem;line-height:1.45;
  color:var(--text-body,#24475c);background:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 10%,transparent);
  border:1px solid color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 28%,transparent)}
.acceso-solicitud-nota img{width:20px;height:20px;flex:none;object-fit:contain}

/* Modo oscuro. */
:root[data-tema="oscuro"] .acceso #caja-entrar{border-color:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 26%,transparent)}
:root[data-tema="oscuro"] .acceso-ventajas li{color:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 70%,white);
  background:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 12%,transparent)}
:root[data-tema="oscuro"] .acceso-pie svg{stroke:color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 75%,white)}
:root[data-tema="oscuro"] .acceso-sello img{filter:drop-shadow(0 8px 22px color-mix(in srgb,var(--asc-turquesa-500,#3DC9D0) 30%,transparent))}

/* La coreografía: al ponerse la tarjeta, cada pieza sube y aparece en su
   turno; el sello respira y sus ondas se abren despacio. */
@media (prefers-reduced-motion:no-preference){
  body.acceso-puesto #caja-entrar > *{animation:acceso-sube .7s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--n,0) * 70ms + 380ms)}
  #caja-entrar > :nth-child(2){--n:0} #caja-entrar > :nth-child(3){--n:1} #caja-entrar > :nth-child(4){--n:2}
  #caja-entrar > :nth-child(5){--n:3} #caja-entrar > :nth-child(6){--n:4} #caja-entrar > :nth-child(7){--n:5}
  #caja-entrar > :nth-child(8){--n:6} #caja-entrar > :nth-child(9){--n:7} #caja-entrar > :nth-child(10){--n:8}
  #caja-entrar > :nth-child(11){--n:9}
  body.acceso-puesto .acceso-sello img{animation:acceso-sube .7s cubic-bezier(.2,.8,.2,1) both .45s,acceso-flota 5s ease-in-out 1.2s infinite}
  body.acceso-puesto .acceso-sello-onda{animation:acceso-onda 3.6s ease-out 1s infinite}
  body.acceso-puesto .acceso-sello-onda-2{animation-delay:2.8s}
}
@keyframes acceso-sube{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes acceso-flota{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes acceso-onda{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.45);opacity:0}}

/* En el teléfono el logo grande ya está encima: el sello se va y la tarjeta
   cabe sin empujar el logo fuera de la pantalla. */
@media (max-width:859px){
  .acceso #caja-entrar{gap:12px;padding:22px 18px 18px}
  #caja-entrar .acceso-sello{display:none}
  #caja-entrar .acceso-passkey-nota{font-size:.76rem}
}

/* El sello de App Check (reCAPTCHA) trabaja sin verse (15-nov-2026). */
.grecaptcha-badge{visibility:hidden !important}
