/* Entrada en dos pasos: login 3A aprobado (vídeo nocturno, degradado, cristal), sin dependencias. Estilos de los estados
   que el original declaraba como style-hover, style-focus y style-active. Requiere fuentes.css. */
html, body { margin: 0; height: 100%; background: #0A0C0F; color: #fff; font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
button { font: inherit; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.e-campo { width: 100%; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.35); color: #fff; font: 400 14px Inter, sans-serif; outline: none; box-shadow: inset 0 1px 1px rgba(0,0,0,.5); transition: all .22s cubic-bezier(.22,.61,.24,1); }
.e-campo:focus { border-color: rgba(255,255,255,.28); box-shadow: inset 0 1px 1px rgba(0,0,0,.5), 0 0 0 3px color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 16%,transparent); }
.e-campo.es-clave { padding-right: 72px; }
.e-boton { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 40px; padding: 0 14px; border: 0; border-radius: 8px; cursor: pointer; color: #fff; font: 600 14px Inter, sans-serif; background: linear-gradient(180deg,color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 85%,#000),color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 72%,#000)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(18,40,90,.6), 0 8px 24px color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 28%,transparent); transition: all .14s cubic-bezier(.22,.61,.24,1); }
.e-boton:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 1px rgba(110,80,36,.7), 0 10px 32px color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 45%,transparent); }
.e-boton:active { background: linear-gradient(180deg,color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 72%,#000),#7A5A2C); }
.e-boton[aria-busy="true"] { cursor: progress; }
.e-secundario { width: 100%; height: 40px; border-radius: 8px; cursor: pointer; color: rgba(255,255,255,.78); font: 500 13px Inter, sans-serif; background: transparent; border: 1px solid rgba(255,255,255,.08); transition: all .14s; }
.e-secundario:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }
.e-mostrar { position: absolute; right: 6px; top: 6px; height: 28px; padding: 0 8px; border-radius: 6px; border: 0; cursor: pointer; background: rgba(255,255,255,.05); color: rgba(255,255,255,.55); font: 500 10px 'IBM Plex Mono', monospace; letter-spacing: .08em; }
.e-mostrar:hover { color: #fff; background: rgba(255,255,255,.09); }
.e-enlace { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: rgba(255,255,255,.45); text-decoration: none; }
.e-enlace:hover { color: #fff; }
.e-rotulo { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.42); }
.e-error { font-size: 12px; color: #E8846C; min-height: 16px; opacity: 0; transition: opacity .22s; }
.e-error.es-visible { opacity: 1; }
/* Pasos: los tres ocupan la misma celda; el actual se ve, los otros se desplazan 14 px y se difuminan. */
.e-paso { grid-area: 1/1; display: flex; flex-direction: column; gap: 24px; transition: opacity .32s cubic-bezier(.22,.61,.24,1), transform .32s cubic-bezier(.22,.61,.24,1), filter .32s; }
.e-paso[data-pos="antes"] { opacity: 0; transform: translateX(-14px); filter: blur(4px); pointer-events: none; }
.e-paso[data-pos="despues"] { opacity: 0; transform: translateX(14px); filter: blur(4px); pointer-events: none; }
.e-paso.es-final { align-items: center; justify-content: center; gap: 16px; text-align: center; transition-duration: .48s; transition-timing-function: cubic-bezier(.16,1,.3,1); }
:focus-visible { outline: 2px solid #9DBEFF; outline-offset: 2px; border-radius: 6px; }
.e-solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Ingreso con contraseña y segundo factor (AUT-001): los pasos nuevos usan el mismo cristal, los mismos campos y el mismo botón ---- */
.e-paso { align-self: start; }
.e-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.e-titulo { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.015em; }
.e-sub { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.62); }
.e-barras { display: flex; gap: 3px; margin-top: 10px; flex: none; }
.e-barras i { width: 10px; height: 2px; background: rgba(255,255,255,.18); display: block; }
.e-barras i.es-on { background: #fff; }
.e-tecla { font-family: 'IBM Plex Mono', monospace; font-size: 11px; opacity: .7; }
.e-centro { text-align: center; display: block; padding: 6px 0; letter-spacing: .06em; }
.e-enlace { font-size: 11px; color: rgba(255,255,255,.62); }
.e-rotulo { color: rgba(255,255,255,.62); font-size: 11px; }
.e-quien { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.e-iniciales { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.e-nombre { flex: 1; min-width: 0; font-size: 13px; color: rgba(255,255,255,.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e-progreso { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.7); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.22,.61,.24,1); }
.e-boton[aria-busy="true"] .e-progreso { transform: scaleX(1); }
.e-boton:disabled { opacity: .45; cursor: not-allowed; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(18,40,90,.4); }
.e-boton:disabled:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(18,40,90,.4); }
.e-codigo { font-family: 'IBM Plex Mono', monospace; font-size: 18px; letter-spacing: .22em; text-align: center; height: 46px; text-transform: uppercase; }
.e-codigo::placeholder { letter-spacing: .12em; color: rgba(255,255,255,.25); }
.e-ayuda { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.4; min-height: 16px; }
#e-medidor { display: flex; gap: 3px; flex: none; }
#e-medidor i { width: 14px; height: 3px; background: rgba(255,255,255,.16); display: block; transition: background .22s; }
#e-medidor[data-nivel="1"] i:nth-child(-n+1) { background: #E8846C; }
#e-medidor[data-nivel="2"] i:nth-child(-n+2) { background: var(--plataforma-acento,#2F7BFF); }
#e-medidor[data-nivel="3"] i:nth-child(-n+3) { background: #D9C24B; }
#e-medidor[data-nivel="4"] i { background: #5CC08A; }
.e-qr { width: 164px; height: 164px; padding: 6px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 24px rgba(0,0,0,.45); }
.e-qr svg { display: block; width: 100%; height: 100%; }
.e-manual { width: 100%; font-size: 12px; color: rgba(255,255,255,.62); }
.e-manual summary { cursor: pointer; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .06em; list-style: none; padding: 4px 0; }
.e-manual summary::-webkit-details-marker { display: none; }
.e-manual summary:hover { color: #fff; }
.e-manual-cuerpo { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 8px 0 2px; text-align: center; }
.e-manual code { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: .1em; color: #fff; word-break: break-all; line-height: 1.6; user-select: all; }
.e-mini { height: 28px; padding: 0 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: rgba(255,255,255,.8); font: 500 12px Inter, sans-serif; cursor: pointer; }
.e-mini:hover { background: rgba(255,255,255,.1); color: #fff; }
.e-codigos { list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: .08em; color: #fff; user-select: all; }
.e-codigos li { text-align: center; padding: 2px 0; }
.e-casilla { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.8); cursor: pointer; }
.e-casilla input { width: 18px; height: 18px; accent-color: #3A7BEF; flex: none; }
.e-error { font-size: 13px; min-height: 18px; line-height: 1.4; }
.e-error.es-bloqueo { color: var(--plataforma-acento,#2F7BFF); }
/* La tarjeta se angosta en el teléfono. */
[data-local] { max-width: calc(100vw - 24px); }
@media (max-width: 420px) { #e-tarjeta { width: calc(100vw - 24px) !important; margin-left: calc((100vw - 24px) / -2) !important; } #e-pasos { padding: 24px 18px !important; } }

/* El vídeo nocturno en la paleta de la plataforma (noche fría). */
[data-art] > video { filter: saturate(.38) hue-rotate(-12deg) brightness(.9) contrast(1.04); }

/* =====================================================================================
   Pliego (dirección C aprobada, 2026-11-09). Sólo apariencia: ids, data-* y
   ganchos de entrada.js intactos. Tokens de design/plataforma/plataforma.css: grafito, cobalto,
   Fraunces (marca) + Hanken Grotesk (interfaz) + IBM Plex Mono (datos).
   ===================================================================================== */
:root { --void:#0A0C0F; --ink:#E8EDF3; --ink-2:#AEB8C5; --ink-3:#7F8B9A; --line:rgba(205,220,240,.08); --line-2:rgba(205,220,240,.15);
  --cobalt:var(--plataforma-acento,#2F7BFF); --cobalt-hi:var(--plataforma-acento-claro,#6AA2FF); --bad:#FF6F6F; --warn:#F0B24A; --ok:#43C98E; --ease:cubic-bezier(.16,1,.3,1);
  --f-brand:'Fraunces', Georgia, serif; --f-ui:'Hanken Grotesk', system-ui, sans-serif; --f-data:'IBM Plex Mono', ui-monospace, monospace; }
html, body { font-family: var(--f-ui); color: var(--ink); }
::selection { background: color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 45%,transparent); color: #fff; }
input { caret-color: var(--cobalt-hi); }
:focus-visible { outline-color: var(--cobalt-hi); }

/* Escena */
[data-art] > video { filter: saturate(.55) brightness(.92) contrast(1.04); }
.e-viñeta { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 50% 50%, rgba(10,12,15,.1), rgba(10,12,15,.78) 100%); }
.e-marca { display: flex; align-items: center; gap: 10px; font-family: var(--f-brand); font-size: 19px; font-weight: 450; letter-spacing: -.01em; color: var(--ink); font-variation-settings: "opsz" 48; }
#e-reloj { color: var(--ink-3); }

/* El pliego: tarjeta grafito sólida, una sola elevación, marcas de corte finas fuera de la tarjeta */
#e-tarjeta.e-pliego { width: 420px; margin-left: -210px; border-radius: 16px; background: linear-gradient(180deg, rgba(22,27,34,.95), rgba(14,17,22,.97));
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -30px rgba(0,0,0,.95), 0 12px 30px -12px rgba(0,0,0,.7); transition: margin-top .42s var(--ease), top .42s var(--ease); }
#e-pasos { position: relative; padding: 34px 34px 32px; display: grid; align-items: start; transition: height .42s var(--ease); }
.e-corte { position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: .5; animation: e-corte .9s var(--ease) .45s both; }
.e-corte::before, .e-corte::after { content: ""; position: absolute; background: rgba(205,220,240,.38); }
.e-corte::before { width: 14px; height: 1px; } .e-corte::after { width: 1px; height: 14px; }
.c1 { top: -26px; left: -26px; } .c1::before { top: 25px; left: 0; } .c1::after { left: 25px; top: 0; }
.c2 { top: -26px; right: -26px; } .c2::before { top: 25px; right: 0; } .c2::after { right: 25px; top: 0; }
.c3 { bottom: -26px; left: -26px; } .c3::before { bottom: 25px; left: 0; } .c3::after { left: 25px; bottom: 0; }
.c4 { bottom: -26px; right: -26px; } .c4::before { bottom: 25px; right: 0; } .c4::after { right: 25px; bottom: 0; }
.e-corte { width: 26px; height: 26px; }
@keyframes e-corte { from { opacity: 0; transform: scale(.6); } }

/* Pasos */
.e-paso { gap: 22px; transition: opacity .4s var(--ease), transform .4s var(--ease), filter .4s; }
.e-cab { flex-direction: column-reverse; justify-content: flex-start; gap: 14px; }
.e-cab > div:first-child { gap: 8px !important; }
.e-titulo { font-family: var(--f-brand); font-weight: 420; font-size: 30px; line-height: 1.08; letter-spacing: -.025em; font-variation-settings: "opsz" 144; text-wrap: balance; color: var(--ink); }
.e-sub { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.e-sub:empty { display: none; }
.e-barras { margin: 0; gap: 6px; }
.e-barras i { width: 18px; height: 3px; border-radius: 2px; background: rgba(205,220,240,.14); transition: all .5s var(--ease); }
.e-barras i.es-on { width: 30px; background: var(--cobalt-hi); }

/* Rótulos y enlaces en frase (el HTML los trae en mayúsculas; se componen en minúscula con inicial) */
.e-rotulo, .e-enlace, .e-mostrar, .e-manual summary { text-transform: lowercase; }
.e-rotulo { display: block; font-family: var(--f-ui); font-size: 12.5px; font-weight: 500; letter-spacing: .005em; color: var(--ink-2); }
.e-rotulo label, .e-rotulo a { display: inline-block; }
label.e-rotulo::first-letter, .e-rotulo label::first-letter, .e-rotulo a::first-letter, .e-enlace::first-letter, .e-manual summary::first-letter, .e-mostrar::first-letter { text-transform: uppercase; }
.e-enlace { font-family: var(--f-ui); font-size: 13.5px; letter-spacing: 0 !important; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(205,220,240,.25); text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.e-enlace:hover { color: var(--ink); text-decoration-color: var(--cobalt-hi); }
.e-centro { display: block; width: max-content; max-width: 100%; margin: 0 auto; padding: 6px 4px; letter-spacing: 0; }
#e-olvido { display: inline-block; color: var(--cobalt-hi) !important; text-decoration: none; font-size: 12.5px; font-weight: 500; }
#e-olvido:hover { color: #9CC1FF !important; }
.e-cambiar { text-decoration: none; color: var(--cobalt-hi); font-size: 12.5px; display: inline-block; }

/* Campos */
.e-campo { height: 48px; padding: 0 16px; border-radius: 10px; border: 0; background: #0B0E12; color: var(--ink); font: 400 15.5px var(--f-ui); letter-spacing: .01em;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .35s var(--ease), background .35s var(--ease); }
.e-campo::placeholder { color: #6F7B8A; }
.e-campo:hover { box-shadow: inset 0 0 0 1px rgba(205,220,240,.26); }
.e-campo:focus { box-shadow: inset 0 0 0 1px var(--cobalt-hi), 0 0 0 4px color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 18%,transparent), 0 8px 24px -10px color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 45%,transparent); }
.e-campo[aria-invalid="true"] { box-shadow: inset 0 0 0 1px rgba(255,111,111,.75), 0 0 0 4px rgba(255,111,111,.12); animation: e-sacude .5s var(--ease); }
@keyframes e-sacude { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.e-campo.es-clave { padding-right: 96px; font-size: 17px; letter-spacing: .14em; }
.e-campo.es-clave[type="text"] { font-size: 15.5px; letter-spacing: .01em; }
.e-codigo { height: 56px; font-family: var(--f-data); font-size: 22px; font-weight: 500; letter-spacing: .3em; text-align: center; }
#e-rec, #e-invitacion { font-size: 16px; letter-spacing: .08em; text-align: left; }
.e-codigo::placeholder { color: #4E5967; letter-spacing: inherit; }
#e-linea { display: none; }
.e-mostrar { top: 8px; right: 8px; height: 32px; padding: 0 10px; border-radius: 8px; background: transparent; font: 500 12px var(--f-ui); letter-spacing: 0; color: var(--ink-2); }
.e-mostrar:hover { background: rgba(205,220,240,.07); color: var(--ink); }

/* Errores en línea, con icono; el bloqueo en ámbar */
.e-error { display: flex; gap: 8px; align-items: flex-start; min-height: 0; font-size: 13px; line-height: 1.45; color: #FFB1B1; margin-top: 2px; }
.e-error.es-visible::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 2px; background: currentColor; color: var(--bad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.3v.2'/%3E%3C/svg%3E") center/contain no-repeat; }
.e-error.es-bloqueo { color: #F6CF8C; }
.e-error.es-bloqueo::before { color: var(--warn); }

/* Botón principal: cobalto, brillo que cruza al pasar, flecha en caja */
.e-boton { height: 50px; padding: 0 8px 0 20px; border-radius: 10px; background: color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 85%,#000); font: 600 15px var(--f-ui); letter-spacing: .005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 30px -12px rgba(33,96,224,.8); transition: transform .2s var(--ease), background .25s, box-shadow .35s var(--ease), opacity .25s; }
.e-boton::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 48%, transparent 66%); transform: translateX(-110%); transition: transform .9s var(--ease); pointer-events: none; }
.e-boton:hover::before { transform: translateX(110%); }
.e-boton:hover { background: #2A6CF0; box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 16px 36px -12px color-mix(in srgb,var(--plataforma-acento,#2F7BFF) 90%,transparent); }
.e-boton:active { transform: scale(.985); background: #1B55C9; }
.e-boton:disabled, .e-boton:disabled:hover { opacity: 1; background: #1C2633; color: #7F8B9A; box-shadow: inset 0 0 0 1px var(--line-2); }
.e-boton[aria-busy="true"]:disabled { background: #1B4DB8; color: #DCE7FF; }
.e-tecla { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12); font-size: 0; opacity: 1; transition: transform .35s var(--ease); }
.e-tecla::after { content: ""; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; }
.e-boton:hover:not(:disabled) .e-tecla { transform: translateX(3px); }
.e-boton:disabled .e-tecla { background: rgba(255,255,255,.05); }
.e-progreso { height: 2px; background: rgba(255,255,255,.85); }
.e-secundario { height: 42px; border-radius: 10px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 500 13.5px var(--f-ui); }
.e-secundario:hover { background: rgba(205,220,240,.06); border: 0; }

/* Persona reconocida */
.e-quien { gap: 11px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(205,220,240,.05); border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.e-iniciales { width: 30px; height: 30px; flex: none; background: linear-gradient(140deg, var(--plataforma-acento,#2F7BFF), #173E8C); box-shadow: none; font-size: 11.5px; color: #fff; }
.e-nombre { font-size: 14px; font-weight: 500; color: var(--ink); }

/* Medidor, QR, códigos, casilla */
.e-ayuda { gap: 12px; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
#e-medidor { gap: 4px; }
#e-medidor i { width: 22px; height: 4px; border-radius: 2px; background: rgba(205,220,240,.12); }
#e-medidor[data-nivel="1"] i:nth-child(-n+1) { background: var(--bad); }
#e-medidor[data-nivel="2"] i:nth-child(-n+2) { background: var(--warn); }
#e-medidor[data-nivel="3"] i:nth-child(-n+3) { background: var(--cobalt-hi); }
#e-medidor[data-nivel="4"] i { background: var(--ok); }
.e-qr { width: 168px; height: 168px; padding: 12px; border-radius: 14px; background: #F2F5F9; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); }
.e-manual summary { font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.e-manual { color: var(--ink-2); font-size: 13px; }
.e-manual code { font-family: var(--f-data); font-size: 13px; letter-spacing: .06em; color: var(--ink); }
.e-mini { height: 30px; border-radius: 8px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; color: var(--cobalt-hi); font: 500 12.5px var(--f-ui); }
.e-mini:hover { background: rgba(205,220,240,.06); color: #9CC1FF; }
.e-codigos { counter-reset: c; gap: 2px 20px; padding: 14px 18px; border-radius: 14px; background: rgba(10,12,15,.6); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--f-data); font-size: 14px; letter-spacing: .04em; color: var(--ink); }
.e-codigos li { counter-increment: c; display: flex; gap: 10px; align-items: baseline; text-align: left; line-height: 2; padding: 0; }
.e-codigos li::before { content: counter(c, decimal-leading-zero); color: var(--ink-3); font-size: 11px; user-select: none; }
.e-casilla { gap: 12px; font-size: 14px; color: var(--ink); }
.e-casilla input { accent-color: var(--cobalt); }

/* Acceso concedido */
.e-paso.es-final { align-items: flex-start; text-align: left; gap: 18px; }
.e-sello { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(67,201,142,.4), 0 0 0 6px rgba(67,201,142,.06); }
.e-sello svg { width: 28px; height: 28px; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.es-final .e-titulo { font-size: 32px; }
#e-nombre-final { color: var(--ink); font-weight: 600; }

/* Teléfono: pliego a todo el ancho útil, sin marcas de corte (no caben y ensucian el borde) */
@media (max-width: 520px) {
  #e-tarjeta.e-pliego { width: calc(100vw - 24px) !important; margin-left: calc((100vw - 24px) / -2) !important; }
  #e-pasos { padding: 28px 22px 24px !important; }
  .e-corte { display: none; }
  .e-titulo { font-size: 28px; }
  [data-art] > div:has(> .e-marca) { top: 18px !important; left: 18px !important; right: 18px !important; }
}
/* toque en móvil: los enlaces sueltos («Cambiar», «¿La olvidaste?») con área de 32 px sin mover el texto */
@media (max-width: 760px) { .e-enlace { display: inline-flex; align-items: center; min-height: 32px; padding: 0 6px; margin: -8px -6px; } .e-casilla { min-height: 32px; align-items: center; } }
