/* =====================================================================================
   tiencol v8.0 · Acceso renovado (login, registro, recuperar, códigos, contraseña)
   PC: panel de marca a la izquierda + formulario a la derecha. Celular: pantalla tipo app.
   Todo bajo body.au2 para no tocar el resto de la plataforma.
   ===================================================================================== */
body.au2 {
  --a-ink: #0B0B0B; --a-ink-2: #2E2E2C; --a-mute: #62625F; --a-faint: #8E8E8B;
  --a-line: #ECECEB; --a-line-2: #E2E2E0; --a-soft: #F4F4F2; --a-side: #F7F7F6;
  --a-red: #E5484D; --a-green: #2DB37A;
  --a-ease: cubic-bezier(.2, .8, .2, 1);
  margin: 0; min-height: 100svh; background: #fff; color: var(--a-ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.au2 .au-top, body.au2 .au-hero, body.au2 .au-foot { display: none !important; }

/* ---------- Barra de carga arriba (se mueve mientras un botón está cargando) ---------- */
.au2-bar { position: fixed; z-index: 2000; top: 0; left: 0; height: 2px; width: 0; background: var(--a-ink); opacity: 0; pointer-events: none; }
body.au2:has(.is-loading) .au2-bar { opacity: 1; animation: au2Bar 2.4s var(--a-ease) forwards; }
@keyframes au2Bar { 0% { width: 0; } 30% { width: 45%; } 70% { width: 78%; } 100% { width: 92%; } }

/* ---------- Estructura ---------- */
.au2-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); }
.au2-side { display: none; }
.au2-main-wrap { min-width: 0; display: flex; flex-direction: column; min-height: 100svh; }
.au2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 20px 0; }
.au2-top .brand-logo, .au2-brand-m .brand-logo { height: 24px; width: auto; }
.au2-back { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--a-soft); color: var(--a-ink);
  font-size: 18px; text-decoration: none; transition: transform .15s var(--a-ease), background .2s; }
.au2-back:hover { background: #ECECEA; color: var(--a-ink); }
.au2-back:active { transform: scale(.92); }
.au2-switch { font-size: 13.5px; color: var(--a-mute); white-space: nowrap; }
.au2-switch a { color: var(--a-ink); font-weight: 500; text-decoration: none; margin-left: 4px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--a-line-2); transition: background .2s, border-color .2s; }
.au2-switch a:hover { background: var(--a-soft); border-color: var(--a-line-2); }

/* Pasos (barras de progreso) */
.au2-steps { display: flex; gap: 6px; margin: 0 0 26px; width: 100%; }
.au2-steps i { background: #E4E4E2 !important; }
.au2-col { width: 100%; max-width: 400px; }
.au2-steps i { position: relative; flex: 1; height: 4px; border-radius: 4px; background: var(--a-line); overflow: hidden; }
.au2-steps i::after { content: ""; position: absolute; inset: 0; background: var(--a-ink); transform: scaleX(0); transform-origin: left; }
.au2-steps i.is-done::after { transform: none; }
.au2-steps i.is-on::after { animation: au2Fill .7s .15s var(--a-ease) forwards; }
@keyframes au2Fill { to { transform: none; } }

.au2-main { flex: 1; display: flex; justify-content: center; padding: 14px 20px 28px; outline: 0; }
body.au2 .au2-card { width: 100%; max-width: 400px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; }
.au2-foot { display: flex; justify-content: center; gap: 18px; padding: 0 20px 22px; font-size: 12.5px; }
.au2-foot a { color: var(--a-mute); text-decoration: none; }
.au2-foot a:hover { color: var(--a-ink); }

/* Entrada escalonada de los elementos del formulario */
.au2-card > *, .au2-card .auth-form > * { animation: au2Up .55s var(--a-ease) both; }
.au2-card > :nth-child(2), .au2-card .auth-form > :nth-child(2) { animation-delay: .05s; }
.au2-card > :nth-child(3), .au2-card .auth-form > :nth-child(3) { animation-delay: .1s; }
.au2-card > :nth-child(4), .au2-card .auth-form > :nth-child(4) { animation-delay: .15s; }
.au2-card > :nth-child(5), .au2-card .auth-form > :nth-child(5) { animation-delay: .2s; }
.au2-card > :nth-child(n+6), .au2-card .auth-form > :nth-child(n+6) { animation-delay: .25s; }
@keyframes au2Up { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Textos ---------- */
body.au2 .auth-intro { margin: 0 0 24px; text-align: left; }
body.au2 .auth-title { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -.035em; color: var(--a-ink); }
body.au2 .auth-lead { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--a-mute); }
body.au2 .auth-lead strong { color: var(--a-ink-2); font-weight: 500; }
body.au2 .back-link { display: none; }
body.au2 .auth-badge, body.au2 .verify-state { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--a-soft); font-size: 12.5px; font-weight: 500; color: var(--a-ink-2); }

/* ---------- Campos ---------- */
body.au2 .auth-form { display: flex; flex-direction: column; gap: 16px; }
body.au2 .auth-form .field { margin: 0; }
body.au2 .form-label { margin-bottom: 7px; font-size: 13px; font-weight: 500; color: var(--a-ink-2); }
body.au2 .form-control, body.au2 .form-select {
  height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--a-line-2); background: #fff; color: var(--a-ink);
  font-size: 15px; box-shadow: none; transition: border-color .2s var(--a-ease), box-shadow .25s var(--a-ease), background .2s;
}
body.au2 .form-control::placeholder { color: #9C9C99; }
body.au2 .form-control:hover { border-color: #D4D4D2; }
body.au2 .form-control:focus, body.au2 .form-select:focus { border-color: var(--a-ink); box-shadow: 0 0 0 4px rgba(11, 11, 11, .07); outline: 0; }
body.au2 .form-control.is-invalid { border-color: var(--a-red); box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); background-image: none; animation: au2Shake .4s; }
body.au2 .form-control.is-valid { border-color: var(--a-line-2); background-image: none; }
body.au2 .invalid-feedback { font-size: 12.5px; color: var(--a-red); margin-top: 6px; }
body.au2 .field-hint { font-size: 12.5px; color: var(--a-mute); margin-top: 6px; }
body.au2 .input-wrap.has-toggle .form-control { padding-right: 52px; }
body.au2 .input-toggle { width: 44px; height: 44px; right: 4px; border-radius: 10px; color: var(--a-mute); transition: color .2s, background .2s; }
body.au2 .input-toggle:hover { color: var(--a-ink); background: var(--a-soft); }
body.au2 .link-muted, body.au2 .field a.small { color: var(--a-mute); font-size: 12.5px; text-decoration: none; }
body.au2 .link-muted:hover { color: var(--a-ink); }
@keyframes au2Shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* Casillas */
body.au2 .form-check { display: flex; align-items: flex-start; gap: 10px; padding-left: 0; margin: 0; }
body.au2 .form-check-input { flex: none; float: none; margin: 1px 0 0; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #CFCFCC; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .15s; }
body.au2 .form-check-input:checked { background-color: var(--a-ink); border-color: var(--a-ink); }
body.au2 .form-check-input:active { transform: scale(.9); }
body.au2 .form-check-input:focus { box-shadow: 0 0 0 4px rgba(11, 11, 11, .07); border-color: var(--a-ink); }
body.au2 .form-check-label { font-size: 13.5px; color: var(--a-ink-2); line-height: 1.45; }
body.au2 .form-check-label a { color: var(--a-ink); text-decoration: underline; text-underline-offset: 2px; }

/* Fortaleza de contraseña */
body.au2 .strength-bar { height: 4px; border-radius: 4px; background: var(--a-line); }
body.au2 .strength-bar span { border-radius: 4px; transition: width .35s var(--a-ease), background .3s; }

/* ---------- Botones ---------- */
body.au2 .btn { transition: transform .15s var(--a-ease), background .2s, border-color .2s, box-shadow .25s, opacity .2s; }
body.au2 .btn-ink { position: relative; overflow: hidden; height: 52px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
body.au2 .btn-ink:hover { background: #000; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); transform: translateY(-1px); }
body.au2 .btn-ink:active { transform: scale(.98); box-shadow: none; }
body.au2 .btn-ink:focus-visible { box-shadow: 0 0 0 4px rgba(11, 11, 11, .14); }
body.au2 .btn-ink.is-loading, body.au2 .btn-ink:disabled { opacity: 1; background: #262624; border-color: #262624; color: rgba(255, 255, 255, .85); cursor: progress; }
body.au2 .btn-ink.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%);
  transform: translateX(-100%); animation: au2Shine 1.2s linear infinite; }
body.au2 .btn .spinner-border { width: 16px; height: 16px; border-width: 2px; }
@keyframes au2Shine { to { transform: translateX(100%); } }

body.au2 .au-google, body.au2 .au-email-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: 999px; box-sizing: border-box;
  border: 1px solid var(--a-line-2); background: #fff; color: var(--a-ink); font-size: 15px; font-weight: 500; text-decoration: none;
  transition: transform .15s var(--a-ease), background .2s, border-color .2s, box-shadow .25s;
}
body.au2 .au-google:hover, body.au2 .au-email-btn:hover { background: #FAFAF9; border-color: #D4D4D2; box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .35); color: var(--a-ink); }
body.au2 .au-google:active, body.au2 .au-email-btn:active { transform: scale(.98); }
body.au2 .au-email-btn { margin-top: 10px; background: var(--a-soft); border-color: var(--a-soft); }
body.au2 .au-email-btn:hover { background: #ECECEA; border-color: #ECECEA; }
body.au2 .au-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--a-mute); font-size: 13px; text-transform: none; }
body.au2 .au-or::before, body.au2 .au-or::after { content: ""; flex: 1; height: 1px; background: var(--a-line); }
body.au2 .au-or span { padding: 0; background: none; }
body.au2 .btn-link { text-decoration: none; }

body.au2 .au-alt { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--a-mute); }
body.au2 .au-alt a { color: var(--a-ink); font-weight: 500; text-decoration: none; }
body.au2 .au-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.au2 .au-legal { margin: 18px 0 0; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--a-mute); }
body.au2 .au-legal a { color: var(--a-ink-2); }

/* Cuenta recordada */
body.au2 .account-hint { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--a-line); background: #fff; }
body.au2 .account-hint-info { display: flex; flex-direction: column; min-width: 0; font-size: 13px; color: var(--a-mute); }
body.au2 .account-hint-info strong { font-size: 14.5px; font-weight: 500; color: var(--a-ink); }

/* Códigos (OTP) */
body.au2 .otp { display: flex; gap: 8px; justify-content: space-between; }
body.au2 .otp-box { flex: 1; min-width: 0; max-width: 56px; height: 58px; border-radius: 14px; border: 1px solid var(--a-line-2); background: #fff; text-align: center;
  font-size: 22px; font-weight: 500; color: var(--a-ink); transition: border-color .2s, box-shadow .25s, transform .15s; }
body.au2 .otp-box:focus { outline: 0; border-color: var(--a-ink); box-shadow: 0 0 0 4px rgba(11, 11, 11, .07); }
body.au2 .otp-box.is-filled { border-color: var(--a-ink); animation: au2Pop .25s var(--a-ease); }
@keyframes au2Pop { 50% { transform: scale(1.08); } }
body.au2 .otp-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 16px; }
body.au2 .otp-actions .btn-link { font-size: 13.5px; color: var(--a-mute); }
body.au2 .otp-actions .btn-link:hover { color: var(--a-ink); }
body.au2 .demo-banner { border-radius: 16px; border: 1px dashed #D9C08A; background: #FBF7EE; }
body.au2 .auth-foot { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--a-mute) !important; }
body.au2 .ref-invite { display: flex; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border-radius: 16px; background: var(--a-soft); font-size: 13.5px; }

/* ---------- PC: panel de marca a la izquierda ---------- */
@media (min-width: 992px) {
  .au2-shell { grid-template-columns: minmax(440px, 48%) minmax(0, 1fr); }
  /* Propuesta minimalista editorial: panel a todo el alto, sin tarjeta ni adornos; solo tipografía grande
     abajo a la izquierda y una línea fina que lo separa del formulario. */
  .au2-side { display: block; position: sticky; top: 0; height: 100svh; box-sizing: border-box; padding: 14px; background: #fff; }
  .au2-side-in { position: relative; height: 100%; display: flex; flex-direction: column; padding: 36px 48px 30px; box-sizing: border-box; overflow: hidden;
    border-radius: 28px; border: 1px solid #EDEDEB; background: #F7F7F6; }
  .au2-side .brand-logo { height: 26px; width: auto; }
  .au2-side-copy { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; max-width: 520px; padding-bottom: 8px; }
  .au2-side-h { margin: 0; font-size: 54px; line-height: 1.03; font-weight: 600; letter-spacing: -.035em; color: var(--a-ink); }
  /* Palabra que cambia: máscara + letras que suben escalonadas */
  .au2-rot { position: relative; display: block; height: 1.24em; overflow: hidden; color: #A3A3A0; }
  .au2-w { position: absolute; left: 0; top: 0; display: flex; white-space: nowrap; perspective: 700px; padding-bottom: .1em; }
  /* línea fina negra que se dibuja bajo cada palabra y se recoge antes de cambiar */
  .au2-w::after { content: ""; position: absolute; left: 0; right: .25em; bottom: .02em; height: 2px; border-radius: 2px; background: #0B0B0B;
    clip-path: inset(0 100% 0 0); animation: au2Line 9s infinite both; animation-delay: calc(var(--w) * 3s); }
  .au2-l { display: inline-block; transform-origin: 50% 100%; opacity: 0;
    animation: au2Letter 9s infinite both; animation-delay: calc(var(--w) * 3s + var(--i) * 32ms); }
  .au2-w.w0 { --w: 0; } .au2-w.w1 { --w: 1; } .au2-w.w2 { --w: 2; }
  .au2-l:nth-child(1) { --i: 0; } .au2-l:nth-child(2) { --i: 1; } .au2-l:nth-child(3) { --i: 2; } .au2-l:nth-child(4) { --i: 3; } .au2-l:nth-child(5) { --i: 4; } .au2-l:nth-child(6) { --i: 5; } .au2-l:nth-child(7) { --i: 6; } .au2-l:nth-child(8) { --i: 7; } .au2-l:nth-child(9) { --i: 8; } .au2-l:nth-child(10) { --i: 9; } .au2-l:nth-child(11) { --i: 10; } .au2-l:nth-child(12) { --i: 11; } .au2-l:nth-child(13) { --i: 12; } .au2-l:nth-child(14) { --i: 13; } .au2-l:nth-child(15) { --i: 14; } .au2-l:nth-child(16) { --i: 15; }
  /* cada letra sube girando desde abajo y se enfoca; al salir sube y se desenfoca */
  @keyframes au2Letter {
    0%   { opacity: 0; transform: translateY(70%) rotateX(-75deg); filter: blur(6px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
    10%  { opacity: 1; transform: none; filter: blur(0); }
    28%  { opacity: 1; transform: none; filter: blur(0); animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
    33%  { opacity: 0; transform: translateY(-45%) rotateX(40deg); filter: blur(6px); }
    100% { opacity: 0; transform: translateY(-45%) rotateX(40deg); filter: blur(6px); }
  }
  @keyframes au2Line {
    0%, 6%    { clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
    14%, 25%  { clip-path: inset(0 0 0 0); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
    30%, 100% { clip-path: inset(0 0 0 100%); }
  }
  .au2-side-p { margin: 22px 0 0; max-width: 380px; font-size: 16px; line-height: 1.55; color: #62625F; }
  .au2-side-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid #E8E8E6; font-size: 13px; color: #8A8A87; }
  .au2-side-links a { color: #3F3F3D; text-decoration: none; pointer-events: auto; }
  .au2-side-links a:hover { color: var(--a-ink); }
  .au2-side-links span { margin-left: auto; }

  .au2-top { padding: 22px 36px 0; }
  .au2-brand-m { visibility: hidden; }
  .au2-main { align-items: center; padding: 24px 36px 40px; }
  body.au2 .auth-title { font-size: 34px; }
  body.au2:has(.au2-switch) .au-alt { display: none; }
  body.au2 .au2-mlogo { display: none; }
  .au2-foot { display: none; }
}


/* ---------- Mismo diseño de campos y botones en PC y celular (tipo app) ---------- */
body.au2 .au2-card { display: flex; flex-direction: column; }
  /* Estructura como las grandes plataformas (ElevenLabs, Pinterest, Instagram):
     logo y título centrados → Google → «o» → correo y contraseña → botón negro → enlace para cambiar de opción. */
  body.au2 .au2-card > .auth-intro { order: 0; margin-bottom: 28px; text-align: center; }
  body.au2 .au2-card > .account-hint, body.au2 .au2-card > .ref-invite, body.au2 .au2-card > .demo-banner { order: 1; }
  body.au2 .au2-card > .au-google { order: 2; background: #fff; border-color: var(--a-line-2); }
  body.au2 .au2-card > .au-or { order: 3; }
  body.au2 .au2-card > .au-email-btn { order: 4; margin-top: 0; }
  body.au2 .au2-card > form, body.au2 .au2-card > .auth-form { order: 5; }
  body.au2 .au2-card > .otp-actions, body.au2 .au2-card > form:not(.auth-form) { order: 6; }
  body.au2 .au2-card > .au-legal { order: 7; margin-top: 16px; }
  body.au2 .au2-card > .au-alt { order: 8; margin-top: 22px; }
  body.au2 .au2-card > .auth-foot { order: 9; }
  body.au2 .auth-form > .btn-ink { margin-top: 4px; }
  .au2-mlogo { display: flex; justify-content: center; margin: 0 0 22px; }
  .au2-mlogo .brand-logo { height: 26px; width: auto; }
  /* Campos y botones estilo ElevenLabs: blancos, borde fino, alturas contenidas, muy limpios */
  body.au2 .form-control, body.au2 .form-select { height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid #E4E4E2; font-size: 15px;
    box-shadow: 0 1px 2px rgba(11, 11, 11, .04); }
  body.au2 .form-control:hover { border-color: #D2D2CF; }
  body.au2 .form-control:focus, body.au2 .form-select:focus { background: #fff; border-color: #0B0B0B; box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
  body.au2 .otp-box { height: 54px; background: #fff; border-color: #E4E4E2; border-radius: 12px; }
  body.au2 .btn-ink, body.au2 .auth-form .btn:not(.btn-link) { height: 46px !important; font-size: 15px; }
  body.au2 .au-google, body.au2 .au-email-btn { height: 46px; font-size: 15px; box-shadow: 0 1px 2px rgba(11, 11, 11, .04); }
  body.au2 .au2-card > .au-email-btn { background: #fff; border-color: #E4E4E2; color: #0B0B0B; }
  body.au2 .au2-card > .au-email-btn:hover { background: #FAFAF9; border-color: #D2D2CF; }
  body.au2 .form-label { font-size: 13px; margin-bottom: 6px; }
  body.au2 .auth-form { gap: 14px; }
  body.au2 .auth-title { font-size: 28px; letter-spacing: -.03em; }
  body.au2 .auth-lead { font-size: 14.5px; margin-top: 6px; }
  body.au2 .au2-card > .auth-intro { margin-bottom: 26px; }
  body.au2 .au-or { margin: 18px 0; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
  body.au2 .form-check-input { width: 18px; height: 18px; border-radius: 5px; }
  body.au2 .form-check-label { font-size: 13.5px; }

/* ---------- Celular (estilo ElevenLabs): barra arriba con logo a la izquierda y el botón para cambiar de opción
   a la derecha; debajo una sola columna limpia, centrada, sin barras fijas. ---------- */
@media (max-width: 991.98px) {
  body.au2 { background: #fff; }
  .au2-main-wrap { min-height: 100svh; }
  .au2-top { position: sticky; top: 0; z-index: 10; min-height: 60px; padding: 10px 20px; background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
  .au2-brand-m { display: inline-flex; }
  .au2-brand-m .brand-logo { height: 22px; }
  .au2-switch { display: inline-flex; align-items: center; font-size: 0; }
  .au2-switch a { font-size: 13.5px; margin: 0; padding: 8px 14px; }
  .au2-back { width: 38px; height: 38px; font-size: 16px; }
  .au2-main { padding: 36px 20px 32px; align-items: flex-start; }
  .au2-col { max-width: 420px; margin: 0 auto; }
  body.au2 .au2-card { max-width: none; }
  body.au2:has(.au2-switch) .au-alt { display: none; }
  .au2-foot { display: flex !important; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  body.au2 .auth-title { font-size: 26px; }
  body.au2 .form-control, body.au2 .form-select { height: 48px; font-size: 16px; }
  body.au2 .btn-ink, body.au2 .auth-form .btn:not(.btn-link), body.au2 .au-google, body.au2 .au-email-btn { height: 48px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .au2-card > *, .au2-card .auth-form > *, .au2-steps i.is-on::after { animation: none !important; }
  .au2-l, .au2-w::after { animation: none !important; } .au2-w:not(:first-child) { display: none; } .au2-w:first-child .au2-l { transform: none; opacity: 1; filter: none; }
  .au2-steps i.is-on::after { transform: none; }
}

/* Ajustes sobre estilos anteriores del acceso */
body.au2 .btn-ink, body.au2 .auth-form .btn:not(.btn-link) { border-radius: 999px !important; height: 52px !important; }
body.au2 .au-alt { border-top: 0 !important; padding-top: 0 !important; }

/* =====================================================================================
   v8.0 · Páginas legales (privacidad, términos, cookies) con la misma línea del acceso
   ===================================================================================== */
body.lg2 { --a-ink: #0B0B0B; --a-soft: #F4F4F2; --a-ease: cubic-bezier(.2, .8, .2, 1); background: #fff; color: #0B0B0B; font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
body.lg2 .lg-top { background: rgba(255, 255, 255, .92); border-bottom: 1px solid #ECECEB; }
body.lg2 .lg-top-in { max-width: 1180px; min-height: 64px; }
body.lg2 .lg2-back { display: none; }
body.lg2 .lg-tabs { background: #F4F4F2; border-radius: 999px; padding: 4px; }
body.lg2 .lg-tabs a { border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: #4A4A47; transition: background .2s, color .2s; }
body.lg2 .lg-tabs a[aria-current="page"] { background: #fff; color: #0B0B0B; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px -6px rgba(0, 0, 0, .14); }
body.lg2 .lg-enter { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; background: #0B0B0B; color: #fff; font-size: 13.5px; font-weight: 500;
  text-decoration: none; transition: transform .15s, background .2s; }
body.lg2 .lg-enter:hover { background: #000; color: #fff; }
body.lg2 .lg-enter:active { transform: scale(.97); }

.lg2-hero { max-width: 1180px; margin: 20px auto 0; padding: 56px 48px 52px; border-radius: 28px; box-sizing: border-box;
  border: 1px solid #EDEDEB; background: linear-gradient(to right, rgba(247,247,246,0) 40%, #F7F7F6 95%), linear-gradient(rgba(11,11,11,.035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(11,11,11,.035) 1px, transparent 1px) 0 0 / 56px 56px, #F7F7F6;
  animation: au2Up .6s cubic-bezier(.2, .8, .2, 1) both; }
.lg2-kicker { display: inline-flex; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #EDEDEB; font-size: 12.5px; font-weight: 500; color: #3F3F3D; }
.lg2-hero h1 { margin: 0; max-width: 760px; font-size: 48px; line-height: 1.05; font-weight: 600; letter-spacing: -.04em; color: #0B0B0B; }
.lg2-meta { margin: 14px 0 0; font-size: 15px; color: #4A4A47; }

body.lg2 .lg-shell { max-width: 1180px; padding-top: 36px; }
body.lg2 .lg-side-t { font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: #62625F; }
body.lg2 .lg-toc a { border-radius: 10px; color: #4A4A47; font-size: 13.5px; transition: background .2s, color .2s; }
body.lg2 .lg-toc a:hover { background: #F4F4F2; color: #0B0B0B; }
body.lg2 .lg-toc a.is-active, body.lg2 .lg-toc a[aria-current] { background: #F4F4F2; color: #0B0B0B; border-color: #0B0B0B; font-weight: 500; }
body.lg2 .legal-doc { color: #2E2E2C; font-size: 15.5px; line-height: 1.7; }
body.lg2 .legal-doc h2 { color: #0B0B0B; font-weight: 600; letter-spacing: -.02em; }
body.lg2 .legal-doc a { color: #0B0B0B; }
body.lg2 .lg-foot { background: #fff; border-top: 1px solid #ECECEB; color: #62625F; }
body.lg2 .lg-foot a { color: #2E2E2C; }

@media (max-width: 991.98px) {
  body.lg2 .lg-top-in { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  body.lg2 .lg2-back { display: grid; }
  body.lg2 .lg-top .brand { margin-right: auto; }
  body.lg2 .lg-enter { height: 38px; padding: 0 14px; }
  body.lg2 .lg-tabs { order: 5; width: 100%; display: flex; }
  body.lg2 .lg-tabs a { flex: 1; text-align: center; padding: 9px 8px; }
  .lg2-hero { margin: 14px 16px 0; padding: 30px 22px 28px; border-radius: 24px; }
  .lg2-hero h1 { font-size: 32px; }
  .lg2-meta { font-size: 14px; }
  body.lg2 .lg-shell { padding: 20px 16px 0; }
  body.lg2 .lg-toc-m { border-radius: 16px; background: #F4F4F2; border: 0; }
  body.lg2 .legal-doc { font-size: 15px; }
}

/* =====================================================================================
   v8.0 · Pulido final del acceso: detalles y animaciones livianas (solo CSS, nada que cargue más)
   ===================================================================================== */
/* Transición suave entre páginas del acceso (navegadores que la soportan; los demás la ignoran) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: au2PageOut .18s ease-in both; }
::view-transition-new(root) { animation: au2PageIn .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes au2PageOut { to { opacity: 0; } }
@keyframes au2PageIn { from { opacity: 0; transform: translateY(6px); } }
.au2-side { view-transition-name: au2-side; } /* el panel izquierdo queda quieto al cambiar de página */

body.au2, body.lg2 { -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; }
body.au2 ::selection, body.lg2 ::selection { background: #0B0B0B; color: #fff; }
body.au2 .form-control { caret-color: var(--a-ink); }

/* Etiqueta que se oscurece cuando su campo está activo */
body.au2 .field:focus-within .form-label { color: var(--a-ink); }
body.au2 .form-label { transition: color .2s; }

/* Autocompletar del navegador sin el fondo amarillo/azul */
body.au2 .form-control:-webkit-autofill,
body.au2 .form-control:-webkit-autofill:hover { -webkit-text-fill-color: var(--a-ink); -webkit-box-shadow: 0 0 0 40px #F4F4F2 inset; transition: background-color 9999s; }
body.au2 .form-control:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 40px #fff inset, 0 0 0 4px rgba(11, 11, 11, .07); }

/* Mensajes de error que entran deslizándose */
body.au2 .invalid-feedback { animation: au2Err .25s var(--a-ease); }
@keyframes au2Err { from { opacity: 0; transform: translateY(-4px); } }

/* Ojo de la contraseña con giro corto al cambiar */
body.au2 .input-toggle i { display: inline-block; transition: transform .25s var(--a-ease); }
body.au2 .input-toggle[aria-pressed="true"] i { transform: rotateY(180deg); }

/* Casilla con el chulo que «aparece» */
body.au2 .form-check-input:checked { animation: au2Pop .22s var(--a-ease); }

/* Enlaces de texto con subrayado que crece */
body.au2 .au-alt a, body.au2 .link-muted, body.au2 .au2-side-links a, body.lg2 .lg-foot a {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--a-ease), color .2s; }
body.au2 .au-alt a:hover, body.au2 .link-muted:hover, body.au2 .au2-side-links a:hover, body.lg2 .lg-foot a:hover { background-size: 100% 1px; text-decoration: none; }

/* Foco visible solo con teclado */
body.au2 :is(a, button, .btn):focus-visible { outline: 2px solid var(--a-ink); outline-offset: 3px; box-shadow: none; }
body.au2 .form-control:focus-visible { outline: 0; }

/* Panel izquierdo: el título entra suave al cargar */
@media (min-width: 992px) {
  .au2-side-copy { animation: au2Up .7s .05s var(--a-ease) both; }
  .au2-side .brand { animation: au2Up .6s var(--a-ease) both; }
}

/* Entradas un poco más rápidas para que se sienta ágil */
.au2-card > *, .au2-card .auth-form > * { animation-duration: .45s; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  body.au2 .invalid-feedback, .au2-side-copy, .au2-side .brand { animation: none !important; }
}


/* =====================================================================================
   v8.0 · Versión final del acceso (au3)
   PC: una sola columna centrada; arriba la frase animada y debajo el formulario.
   Celular: como una app (título a la izquierda, tarjeta gris con la frase en registro, botón negro abajo
   y «O continúa con Google» con el ícono redondo a la derecha).
   ===================================================================================== */
body.au3 .au2-shell { display: block; }
body.au3 .au2-side { display: none !important; }
/* frase animada (válida en PC y celular) */
body.au3 .au2-side-h { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--a-ink); }
body.au3 .au2-rot { position: relative; display: block; height: 1.24em; overflow: hidden; color: #A3A3A0; }
body.au3 .au2-w { position: absolute; left: 0; top: 0; display: flex; white-space: nowrap; perspective: 700px; padding-bottom: .1em; }
  /* línea fina negra que se dibuja bajo cada palabra y se recoge antes de cambiar */
body.au3 .au2-w::after { content: ""; position: absolute; left: 0; right: .25em; bottom: .02em; height: 2px; border-radius: 2px; background: #0B0B0B;
    clip-path: inset(0 100% 0 0); animation: au2Line 9s infinite both; animation-delay: calc(var(--w) * 3s); }
body.au3 .au2-l { display: inline-block; transform-origin: 50% 100%; opacity: 0;
    animation: au2Letter 9s infinite both; animation-delay: calc(var(--w) * 3s + var(--i) * 32ms); }
body.au3 .au2-w.w0 { --w: 0; } .au2-w.w1 { --w: 1; } .au2-w.w2 { --w: 2; }
body.au3 .au2-l:nth-child(1) { --i: 0; } .au2-l:nth-child(2) { --i: 1; } .au2-l:nth-child(3) { --i: 2; } .au2-l:nth-child(4) { --i: 3; } .au2-l:nth-child(5) { --i: 4; } .au2-l:nth-child(6) { --i: 5; } .au2-l:nth-child(7) { --i: 6; } .au2-l:nth-child(8) { --i: 7; } .au2-l:nth-child(9) { --i: 8; } .au2-l:nth-child(10) { --i: 9; } .au2-l:nth-child(11) { --i: 10; } .au2-l:nth-child(12) { --i: 11; } .au2-l:nth-child(13) { --i: 12; } .au2-l:nth-child(14) { --i: 13; } .au2-l:nth-child(15) { --i: 14; } .au2-l:nth-child(16) { --i: 15; }
  /* cada letra sube girando desde abajo y se enfoca; al salir sube y se desenfoca */
  @keyframes au2Letter {
    0%   { opacity: 0; transform: translateY(70%) rotateX(-75deg); filter: blur(6px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
    10%  { opacity: 1; transform: none; filter: blur(0); }
    28%  { opacity: 1; transform: none; filter: blur(0); animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
    33%  { opacity: 0; transform: translateY(-45%) rotateX(40deg); filter: blur(6px); }
    100% { opacity: 0; transform: translateY(-45%) rotateX(40deg); filter: blur(6px); }
  }
  @keyframes au2Line {
    0%, 6%    { clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
    14%, 25%  { clip-path: inset(0 0 0 0); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
    30%, 100% { clip-path: inset(0 0 0 100%); }
  }

body.au3 .au3-hero { order: -1; }
body.au3 .au-g-alt { display: none; }
body.au3 .au-g-ic { display: inline-flex; }

@media (min-width: 992px) {
  body.au3 .au2-top { padding: 22px 36px 0; }
  body.au3 .au2-brand-m { visibility: visible; display: inline-flex; }
  body.au3 .au2-brand-m .brand-logo { height: 24px; }
  body.au3 .au2-main { min-height: calc(100svh - 150px); align-items: center; padding: 20px 24px 40px; }
  body.au3 .au3-hero { margin: 0 0 36px; text-align: center; }
  body.au3 .au3-hero .au2-side-h { font-size: 46px; }
  body.au3 .au3-hero .au2-rot { margin: 0 auto; }
  body.au3 .au3-hero .au2-w { left: 50%; transform: translateX(-50%); }
  body.au3 .au2-foot { display: flex; }
  body.au3:has(.au2-switch) .au-alt { display: none; }
}

@media (max-width: 991.98px) {
  body.au3 .au2-brand-m { display: none; }
  body.au3 .au2-top { min-height: 64px; padding: 12px 20px; }
  body.au3 .au2-top:not(:has(.au2-back:not([hidden]))) { min-height: 40px; padding: 0; }
  body.au3 .au2-main { padding: 12px 22px 0; align-items: stretch; }
  body.au3 .au2-col { max-width: 520px; display: flex; flex-direction: column; flex: 1; }
  body.au3 .au2-main { display: flex; }
  body.au3 .au2-card { flex: 1; display: flex; flex-direction: column; min-height: calc(100svh - 76px); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  body.au3 .au2-foot, body.au3 .au2-card > .au-or, body.au3 .au2-switch { display: none !important; }
  /* «¿Ya tienes cuenta? Inicia sesión» (o al revés) abajo, debajo de los botones */
  body.au3 .au2-card > .au-alt { display: block !important; order: 5; margin: 18px 0 0; padding: 0 !important; border: 0 !important; text-align: center; font-size: 14.5px; }

  /* Título a la izquierda, como la referencia */
  body.au3 .au2-card > .auth-intro { order: 0; text-align: left; margin-bottom: 22px; }
  body.au3 .auth-title { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
  body.au3 .auth-lead { font-size: 15px; line-height: 1.5; color: #62625F; max-width: 320px; }

  /* Tarjeta gris con la frase animada (solo registro, mientras no se abre el formulario) */
  body.au3 .au3-hero { display: none; }
  body.au3.is-register .au2-card:has(> .auth-form[hidden]) > .au3-hero {
    order: 1; display: flex; flex: 1; align-items: center; justify-content: center; min-height: 220px; margin: 6px 0 22px; padding: 24px;
    border-radius: 28px; background: #F6F6F5; text-align: center; }
  body.au3 .au3-hero .au2-side-h { font-size: 34px; }
  body.au3 .au3-hero .au2-rot { margin: 0 auto; }
  body.au3 .au3-hero .au2-w { left: 50%; transform: translateX(-50%); }

  /* Formulario y botón principal abajo */
  body.au3 .au2-card > .account-hint, body.au3 .au2-card > .ref-invite, body.au3 .au2-card > .demo-banner { order: 1; }
  body.au3 .au2-card > .auth-form { order: 2; flex: 1; }
  body.au3 .auth-form > .btn-ink:last-of-type, body.au3 .auth-form > button[type="submit"] { margin-top: auto; }
  body.au3 .auth-form > .form-check { margin-bottom: 20px; }
  body.au3 .au2-card > .au-email-btn { order: 3; margin-top: auto; background: #1A1A19; border-color: #1A1A19; color: #fff; }
  body.au3 .au2-card:has(> .auth-form:not([hidden])) > .au-email-btn { display: none; }
  body.au3 .au2-card > .au-email-btn i { color: #fff !important; }
  body.au3 .au2-card > .otp-actions, body.au3 .au2-card > form:not(.auth-form) { order: 5; }
  body.au3 .au2-card > .au-legal { order: 7 !important; }
  body.au3 .au2-card > .au-legal { order: 6; margin: 14px 0 0; text-align: left; font-size: 11.5px; }

  /* Botones grandes tipo app */
  body.au3 .btn-ink, body.au3 .auth-form .btn:not(.btn-link), body.au3 .au-email-btn { height: 56px !important; border-radius: 999px !important; font-size: 15.5px; background: #1A1A19; }
  body.au3 .form-control, body.au3 .form-select { height: 50px; border-radius: 12px; background: #fff; border: 1px solid #E4E4E2; box-shadow: 0 1px 2px rgba(11, 11, 11, .04); font-size: 16px; }
  body.au3 .form-control:hover { border-color: #D2D2CF; }
  body.au3 .form-control:focus { background: #fff; border-color: #0B0B0B; }

  /* Google como botón completo debajo del botón negro */
  body.au3 .au2-card > .au-google { order: 4; margin-top: 12px; height: 56px !important; border-radius: 999px; background: #fff; border: 1px solid #E4E4E2; box-shadow: none; }
  body.au3 .au-g-ic svg { width: 20px; height: 20px; }
}

.au2-back[hidden] { display: none !important; }
@media (max-width: 991.98px) { body.au3 .au2-top:has(.au2-back:not([hidden])) .au2-brand-m { display: none; } }
@media (min-width: 992px) { body.au3 .au2-top:has(.au2-back:not([hidden])) .au2-brand-m { margin-left: 12px; margin-right: auto; } }

/* =====================================================================================
   v8.0 · Animaciones profesionales (botones, carga, aparecer y salir) + pie legal en el celular
   ===================================================================================== */
/* Botones: respuesta inmediata al tocar, sombra que acompaña y brillo muy suave al pasar */
body.au2 :is(.btn-ink, .au-google, .au-email-btn) { will-change: transform; transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .2s, border-color .2s, box-shadow .25s, color .2s; }
body.au2 :is(.btn-ink, .au-google, .au-email-btn):active { transform: scale(.975); transition-duration: .08s; }
@media (hover: hover) {
  body.au2 .btn-ink:not(:disabled):hover { box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); transform: translateY(-1px); }
  body.au2 :is(.au-google, .au-email-btn):hover { transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .22); }
  body.au2 .au-google:hover .au-g-ic svg { transform: rotate(-8deg) scale(1.06); }
}
body.au2 .au-g-ic svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
body.au2 .au-email-btn .ic { font-size: 18px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
body.au2 .au-email-btn:hover .ic { transform: translateY(-1px); }

/* Carga: anillo fino propio (en lugar del de Bootstrap), texto que se atenúa y el botón no cambia de tamaño */
body.au2 .btn .spinner-border { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .28); border-top-color: #fff; border-radius: 50%;
  animation: au2Spin .7s linear infinite; vertical-align: -3px; }
body.au2 .au-google .spinner-border, body.au2 .au-email-btn:not(.au2-card > *) .spinner-border { border-color: rgba(11, 11, 11, .15); border-top-color: #0B0B0B; }
@keyframes au2Spin { to { transform: rotate(360deg); } }
body.au2 .btn-ink.is-loading { animation: au2Breath 1.6s ease-in-out infinite; }
@keyframes au2Breath { 50% { opacity: .86; } }
/* Google mientras abre la página de Google */
body.au2 .au-google[aria-busy="true"], body.au2 .au-google.is-loading { pointer-events: none; opacity: .7; }

/* Aparecer: el formulario con correo entra escalonado; los botones de opción salen suaves */
body.au2 .auth-form:not([hidden]) > * { animation: au2Up .42s cubic-bezier(.2, .8, .2, 1) both; }
body.au2 .auth-form.is-leaving > * { animation: au2Out .18s ease-in both !important; }
@keyframes au2Out { to { opacity: 0; transform: translateY(6px); } }
body.au2 .au2-back:not([hidden]) { animation: au2BackIn .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes au2BackIn { from { opacity: 0; transform: translateX(-8px) scale(.9); } }

/* Mensaje de error del formulario completo (si aparece) y campos con error: entrada clara pero corta */
body.au2 .form-control.is-invalid + .input-toggle, body.au2 .input-wrap:has(.is-invalid) .input-toggle { color: var(--a-red); }

/* Celular: Términos, Privacidad y Cookies al pie de cada pantalla */
@media (max-width: 991.98px) {
  body.au3 .au2-card { min-height: calc(100svh - 120px); padding-bottom: 8px; }
  body.au3 .au2-foot { display: flex !important; justify-content: center; gap: 20px; padding: 10px 20px calc(14px + env(safe-area-inset-bottom, 0px)); font-size: 12.5px; }
  body.au3 .au2-foot a { color: #62625F; }
  body.au3 .au2-card > .au-legal { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.au2 .btn-ink.is-loading, body.au2 .auth-form > *, body.au2 .au2-back { animation: none !important; }
}
body.au2 .au2-copy { color: #8A8A87; font-size: 12.5px; }

/* v8.0 · «¿Te invitó alguien? Agregar código»: fila discreta tipo Instagram/Pinterest; al tocarla aparece el campo */
body.au2 .au-ref-toggle { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px 10px 10px; border: 1px dashed #DCDCD9; border-radius: 14px;
  background: #fff; color: #62625F; font-size: 14px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
body.au2 .au-ref-toggle:hover { border-color: #BDBDBA; background: #FAFAF9; }
body.au2 .au-ref-toggle:active { transform: scale(.985); }
body.au2 .au-ref-toggle[hidden] { display: none; }
body.au2 .au-ref-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #F4F4F2; color: #0B0B0B; font-size: 15px; }
body.au2 .au-ref-tx { flex: 1; min-width: 0; }
body.au2 .au-ref-tx b { font-weight: 500; color: #0B0B0B; }
body.au2 .au-ref-plus { color: #8A8A87; font-size: 14px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
body.au2 .au-ref-toggle:hover .au-ref-plus { transform: rotate(90deg); color: #0B0B0B; }
body.au2 #ref-box:not([hidden]) { animation: au2Up .35s cubic-bezier(.2, .8, .2, 1) both; }
body.au2 .ref-input { text-transform: uppercase; letter-spacing: .08em; }

/* =====================================================================================
   v8.0 · Logo en el celular, «Continuar con correo» blanco, errores bien ubicados y estados de validación
   ===================================================================================== */
@media (max-width: 991.98px) {
  /* logo centrado arriba (con o sin botón de atrás) */
  body.au3 .au2-top, body.au3 .au2-top:not(:has(.au2-back:not([hidden]))) { position: sticky; min-height: 60px; padding: 10px 20px; justify-content: flex-start; }
  body.au3 .au2-brand-m, body.au3 .au2-top:has(.au2-back:not([hidden])) .au2-brand-m { display: inline-flex !important; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  body.au3 .au2-brand-m .brand-logo { height: 22px; }
  /* «Continuar con correo» igual que en PC: blanco con borde */
  body.au3 .au2-card > .au-email-btn { background: #fff !important; border: 1px solid #E4E4E2 !important; color: #0B0B0B !important; }
  body.au3 .au2-card > .au-email-btn i, body.au3 .au2-card > .au-email-btn .ic { color: #0B0B0B !important; }
  body.au3 .au2-card > .au-email-btn:hover { background: #FAFAF9 !important; }
}
@media (min-width: 992px) {
  body.au3 .au2-top { justify-content: space-between; }
  body.au3 .au2-top .au2-brand-m { margin-right: auto; }
  body.au3 .au2-top .au2-back + .au2-brand-m { margin-left: 12px; }
}

/* Errores siempre debajo de su campo (también en la casilla de términos y en el teléfono) */
body.au2 .form-check { flex-wrap: wrap; }
body.au2 .form-check > .invalid-feedback { flex: 0 0 100%; order: 3; margin: 6px 0 0 30px; }
body.au2 .invalid-feedback { display: none; }
body.au2 .invalid-feedback:not(:empty) { display: block; }
body.au2 .invalid-feedback:not(:empty)::before { content: ""; display: inline-block; width: 14px; height: 14px; margin: 0 6px -2px 0; border-radius: 50%; background: var(--a-red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8l-.25 5h-1.3L7.1 4zm.9 6.6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%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 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8l-.25 5h-1.3L7.1 4zm.9 6.6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
body.au2 .phone-group { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
body.au2 .phone-group .form-select { padding-right: 28px; }

/* Campo correcto: borde normal y un check verde a la derecha */
body.au2 .form-control.is-ok:not(:focus) { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232DB37A'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 5.8-4.3 4.4a.75.75 0 0 1-1.06 0L4.3 8.2a.75.75 0 1 1 1.06-1.06l1.5 1.5 3.78-3.9a.75.75 0 0 1 1.06 1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
body.au2 .input-wrap.has-toggle .form-control.is-ok:not(:focus) { background-position: right 50px center; padding-right: 76px; }

/* v8.0 · En Crear cuenta, cuando la persona eligió registrarse con correo ya no se vuelve a mostrar Google */
body.au3.is-register .au2-card:has(> .auth-form:not([hidden])) > :is(.au-google, .au-or, .au-legal) { display: none !important; }
body.au2 .form-check > .form-check-label { flex: 1 1 calc(100% - 40px); min-width: 0; }

/* v8.0 · Celular: logo pequeño y atenuado arriba a la derecha */
@media (max-width: 991.98px) {
  body.au3 .au2-brand-m, body.au3 .au2-top:has(.au2-back:not([hidden])) .au2-brand-m { left: auto !important; right: 20px; transform: translateY(-50%) !important; opacity: .35; filter: grayscale(1); }
  body.au3 .au2-brand-m .brand-logo { height: 16px; }
}
/* v8.0 · Celular: abajo menos texto. El aviso de Google y el pie se unen en una sola línea pequeña:
   «Al continuar aceptas nuestros Términos · Privacidad · Cookies». */
@media (max-width: 991.98px) {
  body.au3 .au2-card > .au-legal, body.au3 .au2-copy { display: none !important; }
  body.au3 .au2-foot { flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 5px; padding: 6px 16px calc(14px + env(safe-area-inset-bottom, 0px)); font-size: 11.5px; white-space: nowrap; color: #8A8A87; text-align: center; }
  body.au3 .au2-foot::before { content: "Al continuar aceptas"; }
  body.au3 .au2-foot a { color: #3F3F3D; }
  body.au3 .au2-foot a + a::before { content: "·"; margin-right: 5px; color: #B5B5B2; }
  body.au3 .au2-card > .au-alt { margin-top: 20px; }
}

/* =====================================================================================
   v8.0 · Documentos legales minimalistas (lg3): blanco, tipografía clara, líneas finas, sin cajas de color
   ===================================================================================== */
body.lg3 { --l-ink: #0B0B0B; --l-ink-2: #3F3F3D; --l-mute: #6E6E6B; --l-line: #ECECEB;
  margin: 0; background: #fff; color: var(--l-ink); font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.lg3 ::selection { background: #0B0B0B; color: #fff; }
.lg3-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--l-line); }
.lg3-top-in { max-width: 1120px; margin: 0 auto; min-height: 64px; padding: 0 24px; display: flex; align-items: center; gap: 24px; box-sizing: border-box; }
.lg3-top .brand-logo { height: 22px; width: auto; }
.lg3-tabs { display: flex; gap: 4px; margin: 0 auto; }
.lg3-tabs a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--l-mute); text-decoration: none; transition: color .2s, background .2s; }
.lg3-tabs a:hover { color: var(--l-ink); background: #F5F5F4; }
.lg3-tabs a[aria-current="page"] { color: var(--l-ink); font-weight: 500; background: #F2F2F0; }
.lg3-enter { flex: none; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--l-ink); color: #fff; font-size: 13.5px; font-weight: 500;
  text-decoration: none; transition: transform .15s, background .2s; }
.lg3-enter:hover { background: #000; color: #fff; }
.lg3-enter:active { transform: scale(.97); }

.lg3-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.lg3-head { max-width: 760px; margin: 0 auto; padding: 64px 0 40px; text-align: center; animation: au2Up .5s cubic-bezier(.2, .8, .2, 1) both; }
.lg3-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--l-mute); }
.lg3-head h1 { margin: 0; font-size: 44px; line-height: 1.08; font-weight: 600; letter-spacing: -.035em; }
.lg3-meta { margin: 14px 0 0; font-size: 15px; color: var(--l-mute); }

.lg3-grid { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 64px; justify-content: center; padding: 32px 0 80px; border-top: 1px solid var(--l-line); }
.lg3-grid.no-toc { grid-template-columns: minmax(0, 680px); }
.lg3-side { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.lg3-side-t { margin: 0 0 12px; font-size: 12.5px; font-weight: 500; color: var(--l-ink); }
.lg3-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--l-line); }
.lg3-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 1px solid transparent; font-size: 13.5px; line-height: 1.35; color: var(--l-mute);
  text-decoration: none; transition: color .2s, border-color .2s; }
.lg3-toc a:hover { color: var(--l-ink); }
.lg3-toc a.is-active { color: var(--l-ink); border-left-color: var(--l-ink); font-weight: 500; }
.lg3-toc-m { display: none; }

/* Texto del documento */
body.lg3 .legal-doc { max-width: 680px; font-size: 15.5px; line-height: 1.75; color: var(--l-ink-2); }
body.lg3 .legal-doc h2 { margin: 48px 0 12px; scroll-margin-top: 96px; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--l-ink); }
body.lg3 .legal-doc > h2:first-child, body.lg3 .lg3-body > .legal-doc h2:first-of-type { margin-top: 0; }
body.lg3 .legal-doc h3 { margin: 28px 0 8px; font-size: 16.5px; font-weight: 600; color: var(--l-ink); }
body.lg3 .legal-doc p { margin: 0 0 14px; }
body.lg3 .legal-doc ul, body.lg3 .legal-doc ol { margin: 0 0 16px; padding-left: 20px; }
body.lg3 .legal-doc li { margin: 6px 0; padding-left: 4px; }
body.lg3 .legal-doc li::marker { color: #B5B5B2; }
body.lg3 .legal-doc a { color: var(--l-ink); text-decoration: underline; text-decoration-color: #CFCFCC; text-underline-offset: 3px; transition: text-decoration-color .2s; }
body.lg3 .legal-doc a:hover { text-decoration-color: var(--l-ink); }
body.lg3 .legal-doc strong { color: var(--l-ink); font-weight: 600; }
/* Datos de la empresa: lista limpia con líneas finas */
body.lg3 .legal-company { margin: 16px 0 20px; padding: 0; border: 0; border-top: 1px solid var(--l-line); background: none; border-radius: 0; }
body.lg3 .legal-company > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--l-line); }
body.lg3 .legal-company dt { margin: 0; font-size: 13.5px; font-weight: 400; color: var(--l-mute); }
body.lg3 .legal-company dd { margin: 0; font-size: 14.5px; color: var(--l-ink); }
/* Tablas (cookies) */
body.lg3 .legal-table-wrap { margin: 16px 0 24px; overflow-x: auto; border: 1px solid var(--l-line); border-radius: 14px; }
body.lg3 .legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
body.lg3 .legal-table th { padding: 12px 14px; text-align: left; font-weight: 500; color: var(--l-mute); background: #FAFAF9; border-bottom: 1px solid var(--l-line); }
body.lg3 .legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--l-line); vertical-align: top; color: var(--l-ink-2); }
body.lg3 .legal-table tr:last-child td { border-bottom: 0; }
body.lg3 .legal-doc .btn { border-radius: 999px; padding: 8px 16px; }
.lg3-up { display: inline-flex; align-items: center; gap: 6px; margin-top: 40px; font-size: 13.5px; color: var(--l-mute); text-decoration: none; transition: color .2s; }
.lg3-up:hover { color: var(--l-ink); }

.lg3-foot { border-top: 1px solid var(--l-line); }
.lg3-foot-in { max-width: 1120px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--l-mute); box-sizing: border-box; }
.lg3-foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.lg3-foot a, .lg3-linkbtn { color: var(--l-ink-2); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.lg3-foot a:hover, .lg3-linkbtn:hover { color: var(--l-ink); }

@media (max-width: 991.98px) {
  .lg3-top-in { flex-wrap: wrap; gap: 10px; min-height: 0; padding: 12px 16px 10px; }
  .lg3-top .brand { margin-right: auto; }
  .lg3-enter { height: 36px; padding: 0 14px; }
  .lg3-tabs { order: 5; width: 100%; margin: 0; padding: 4px; border-radius: 999px; background: #F5F5F4; box-sizing: border-box; }
  .lg3-tabs a { flex: 1; text-align: center; padding: 8px 6px; }
  .lg3-tabs a[aria-current="page"] { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 10px -6px rgba(0, 0, 0, .14); }
  .lg3-wrap { padding: 0 20px; }
  .lg3-head { padding: 36px 0 28px; text-align: left; }
  .lg3-head h1 { font-size: 30px; }
  .lg3-meta { font-size: 14px; }
  .lg3-grid, .lg3-grid.no-toc { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 20px 0 56px; }
  .lg3-side { display: none; }
  .lg3-toc-m { display: block; margin: 0 0 28px; border: 1px solid var(--l-line); border-radius: 14px; overflow: hidden; }
  .lg3-toc-m summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
  .lg3-toc-m summary::-webkit-details-marker { display: none; }
  .lg3-toc-m summary .bi { color: var(--l-mute); transition: transform .25s; }
  .lg3-toc-m[open] summary .bi { transform: rotate(180deg); }
  .lg3-toc-m .lg3-toc { padding: 0 16px 12px; }
  body.lg3 .legal-doc { font-size: 15px; }
  body.lg3 .legal-doc h2 { margin-top: 40px; font-size: 19px; scroll-margin-top: 120px; }
  body.lg3 .legal-company > div { grid-template-columns: 1fr; gap: 2px; }
  .lg3-foot-in { flex-direction: column; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .lg3-head { animation: none; } }

/* =====================================================================================
   v8.0 · Cuenta recordada (como Instagram): foto y nombre al centro, contraseña, iniciar sesión,
   Google y «Iniciar sesión con otra cuenta». Nada más.
   ===================================================================================== */
body.is-who .au2-card > .au-who { order: 0; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 8px 0 28px; }
body.is-who .au2-card > .au-who-form { order: 1; flex: 0 0 auto; }
body.is-who .au2-card > .au-google { order: 2; margin-top: 12px; }
body.is-who .au2-card > .au-who-switch { order: 3; }
body.is-who .au2-card > :is(.au-or, .au-legal, .au-alt), body.is-who .au2-switch, body.is-who .au2-back { display: none !important; }
body.is-who .au-who .avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #F2F2F0;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px #E4E4E2, 0 12px 28px -14px rgba(0, 0, 0, .35); animation: au2Pop .5s cubic-bezier(.2, .8, .2, 1) both; }
body.is-who .au-who .avatar img { width: 100%; height: 100%; object-fit: cover; }
body.is-who .au-who .avatar-initials { font-size: 32px; font-weight: 500; color: #0B0B0B; }
body.is-who .au-who-name { margin: 18px 0 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: #0B0B0B; }
body.is-who .au-who-mail { margin: 4px 0 0; font-size: 14px; color: #6E6E6B; }
body.is-who .au-who-switch { margin: 22px 0 0; text-align: center; }
body.is-who .au-who-switch button { border: 0; background: none; padding: 6px 10px; font-size: 14px; font-weight: 500; color: #0B0B0B; cursor: pointer; border-radius: 999px; transition: background .2s; }
body.is-who .au-who-switch button:hover { background: #F4F4F2; }
@media (max-width: 991.98px) {
  body.is-who .au2-card > .au-who { margin-top: 28px; }
  body.is-who .au2-card > .au-who-form { flex: 1; }
  body.is-who .au2-card > .au-who-switch { margin-top: 16px; }
}

/* v8.0 · Legales más sencillos: una sola columna, título a la izquierda, índice desplegable y
   «Iniciar sesión» igual al botón del acceso (blanco con borde fino). */
.lg3-head { max-width: 720px; text-align: left; padding: 48px 0 28px; }
.lg3-head h1 { font-size: 36px; }
.lg3-grid, .lg3-grid.no-toc { display: block; max-width: 720px; margin: 0 auto; padding: 24px 0 72px; }
.lg3-side { display: none !important; }
.lg3-toc-m { display: block; margin: 0 0 32px; border: 1px solid var(--l-line); border-radius: 14px; overflow: hidden; }
.lg3-toc-m summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.lg3-toc-m summary::-webkit-details-marker { display: none; }
.lg3-toc-m summary .bi { color: var(--l-mute); transition: transform .25s; }
.lg3-toc-m[open] summary .bi { transform: rotate(180deg); }
.lg3-toc-m .lg3-toc { padding: 0 16px 12px; }
.lg3-enter { height: auto; padding: 8px 14px; background: #fff; color: #0B0B0B; border: 1px solid #E2E2E0; font-size: 13.5px; font-weight: 500; }
.lg3-enter:hover { background: #F4F4F2; color: #0B0B0B; border-color: #E2E2E0; }
@media (max-width: 991.98px) { .lg3-head { padding: 32px 0 20px; } .lg3-head h1 { font-size: 28px; } .lg3-grid, .lg3-grid.no-toc { padding-top: 20px; } }
.lg3-toc-m summary::after, .lg3-toc-m summary::before { display: none !important; content: none !important; } .lg3-toc-m { background: #fff !important; }

/* =====================================================================================
   v8.0 · Legales como Claude (lg4): barra sin borde, menú a la izquierda con documentos y secciones
   ===================================================================================== */
body.lg4 .lg3-top { border-bottom: 0; background: rgba(255, 255, 255, .92); }
body.lg4 .lg3-top-in { justify-content: space-between; max-width: 1200px; }
.lg4-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 250px minmax(0, 720px); gap: 72px; box-sizing: border-box; }
.lg4-side { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; padding: 32px 0 40px; }
.lg4-side-t { margin: 0 0 10px; padding: 0 12px; font-size: 12.5px; font-weight: 500; color: var(--l-mute); }
.lg4-docs { display: flex; flex-direction: column; gap: 2px; }
.lg4-doc { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--l-ink-2); text-decoration: none; transition: background .2s, color .2s; }
.lg4-doc:hover { background: #F5F5F4; color: var(--l-ink); }
.lg4-doc.is-on { background: #F2F2F0; color: var(--l-ink); font-weight: 500; }
.lg4-toc { margin: 6px 0 10px 12px; }
.lg4-toc ol { border-left: 1px solid var(--l-line); }
.lg4-toc a { font-size: 13px; padding: 5px 0 5px 14px; }
.lg4-main { min-width: 0; padding: 40px 0 80px; }
.lg4-head { margin: 0 0 32px; padding-bottom: 28px; border-bottom: 1px solid var(--l-line); }
.lg4-head h1 { margin: 0; font-size: 38px; line-height: 1.1; font-weight: 600; letter-spacing: -.035em; color: var(--l-ink); }
.lg4-tabs { display: none; }
body.lg4 .lg3-toc-m { display: none; }
body.lg4 .legal-doc { max-width: none; }
@media (max-width: 991.98px) {
  .lg4-shell { display: block; padding: 0 20px; }
  .lg4-side { display: none; }
  .lg4-main { padding: 12px 0 56px; }
  .lg4-tabs { display: flex; padding: 4px; margin: 0 0 24px; border-radius: 999px; background: #F5F5F4; }
  .lg4-tabs a { flex: 1; text-align: center; padding: 8px 6px; border-radius: 999px; font-size: 14px; color: var(--l-mute); text-decoration: none; }
  .lg4-tabs a[aria-current="page"] { background: #fff; color: var(--l-ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 10px -6px rgba(0, 0, 0, .14); }
  .lg4-head { margin-bottom: 20px; padding-bottom: 20px; }
  .lg4-head h1 { font-size: 28px; }
  body.lg4 .lg3-toc-m { display: block; }
  body.lg4 .lg3-top-in { flex-wrap: nowrap; }
}

/* v8.0 · Ojo de la contraseña más moderno (trazo fino, redondeado) */
body.au2 .input-toggle i.bi-eye::before, body.au2 .input-toggle i.bi-eye-slash::before { content: ""; }
body.au2 .input-toggle i.bi-eye, body.au2 .input-toggle i.bi-eye-slash { display: inline-block; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: var(--eye) center / contain no-repeat; mask: var(--eye) center / contain no-repeat; }
body.au2 .input-toggle i.bi-eye { --eye: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7C3.42 8.23 7.36 5 12 5s8.58 3.23 9.94 6.65a1 1 0 0 1 0 .7C20.58 15.77 16.64 19 12 19s-8.58-3.23-9.94-6.65'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
body.au2 .input-toggle i.bi-eye-slash { --eye: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.73 5.08A10.4 10.4 0 0 1 12 5c4.64 0 8.58 3.23 9.94 6.65a1 1 0 0 1 0 .7 10.8 10.8 0 0 1-1.44 2.49'/%3E%3Cpath d='M14.08 14.16a3 3 0 0 1-4.24-4.24'/%3E%3Cpath d='M17.48 17.5A10.7 10.7 0 0 1 12 19c-4.64 0-8.58-3.23-9.94-6.65a1 1 0 0 1 0-.7 10.8 10.8 0 0 1 4.45-5.14'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E"); }
body.au2 .input-toggle[aria-pressed="true"] i { transform: none; }

/* =====================================================================================
   v9.6 · Acceso con el mismo fondo del proceso de registro (gris crema) y todo el contenido
   (login, crear cuenta, códigos, recuperar, inicio con botones) dentro de un cuadro blanco.
   ===================================================================================== */
html body.au2 { --a-cream: #F5F5F3; background: var(--a-cream) !important; }
html body.au2 .au2-top { background: var(--a-cream) !important; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent !important; }
html body.au2 .au2-col { max-width: 480px; }
html body.au2 .au2-card { max-width: none !important; padding: 40px 40px 34px !important; background: #fff !important; border-radius: 28px !important;
  box-shadow: 0 1px 2px rgba(30, 30, 20, .04), 0 30px 80px -50px rgba(30, 30, 20, .25) !important; box-sizing: border-box; }
html body.au2 .au2-card > .au-google, html body.au2 .au2-card > .au-email-btn { background: #fff; }
@media (max-width: 991.98px) {
  html body.au2 .au2-main { padding: 12px 14px 24px; }
  html body.au2 .au2-col { max-width: 480px; }
  html body.au2 .au2-card { padding: 28px 20px 24px !important; border-radius: 24px !important; }
}

/* v9.7 · «¿Te invitó alguien? Agregar código» como enlace pequeño (sin recuadro ni ícono) */
html body.au2 .au-ref-toggle { display: inline-flex; width: auto; gap: 4px; padding: 2px 0; border: 0; border-radius: 0; background: none; font-size: 13.5px; transform: none; }
html body.au2 .au-ref-toggle:hover { background: none; }
html body.au2 .au-ref-toggle[hidden] { display: none; }
html body.au2 .au-ref-ic, html body.au2 .au-ref-plus { display: none; }
html body.au2 .au-ref-tx b { text-decoration: underline; text-underline-offset: 3px; }

/* v9.8 · Botón «Volver» dentro del cuadro blanco, arriba a la izquierda (antes en la barra superior) */
html body.au2 .au2-card > .au2-back { order: -1; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  margin: -12px 0 18px -10px; border-radius: 50%; background: #F2F2F0; color: #0B0B0B; font-size: 17px; text-decoration: none; }
html body.au2 .au2-card > .au2-back:hover { background: #E8E8E5; }
html body.au2 .au2-card > .au2-back[hidden] { display: none !important; }
@media (max-width: 991.98px) { html body.au2 .au2-card > .au2-back { margin: -6px 0 14px -4px; } }

/* v9.20 · Línea gris de progreso arriba (estilo ElevenLabs) */
.tc-line { position: fixed; z-index: 1500; top: 0; left: 0; right: 0; height: 3px; background: #E8E8E5; pointer-events: none; }
.tc-line i { display: block; height: 100%; background: #0B0B0B; border-radius: 0 3px 3px 0; transition: width .6s cubic-bezier(.2, .8, .2, 1); }

/* v9.22 · «Volver» minimalista: texto pequeño con flecha, sin círculo */
html body.au2 .au2-card > .au2-back { width: auto !important; height: auto !important; margin: -8px 0 18px !important; padding: 4px 0 !important; border-radius: 0 !important;
  background: none !important; display: inline-flex !important; align-items: center; gap: 6px; font-size: 13.5px !important; font-weight: 400; color: #6E6E6B !important; }
html body.au2 .au2-card > .au2-back i { font-size: 14px; transition: transform .2s; }
html body.au2 .au2-card > .au2-back:hover { background: none !important; color: #0B0B0B !important; }
html body.au2 .au2-card > .au2-back:hover i { transform: translateX(-2px); }
html body.au2 .au2-card > .au2-back[hidden] { display: none !important; }

/* v9.23 · «Volver» redondo, afuera del cuadro a la izquierda y centrado en altura (PC). En celular, redondo arriba dentro del cuadro. */
html body.au2 .au2-card { position: relative; overflow: visible !important; }
html body.au2 .au2-card > .au2-back { width: 44px !important; height: 44px !important; padding: 0 !important; margin: 0 !important; border-radius: 50% !important; gap: 0;
  display: inline-flex !important; align-items: center; justify-content: center; background: #fff !important; color: #0B0B0B !important; font-size: 17px !important;
  box-shadow: 0 1px 2px rgba(30, 30, 20, .06), 0 8px 24px -12px rgba(30, 30, 20, .3); }
html body.au2 .au2-card > .au2-back:hover { background: #fff !important; transform: translateX(-2px); }
html body.au2 .au2-card > .au2-back:hover i { transform: none; }
@media (min-width: 992px) {
  html body.au2 .au2-card > .au2-back { position: absolute !important; left: -64px; top: 50%; margin-top: -22px !important; }
}
@media (max-width: 991.98px) {
  html body.au2 .au2-card > .au2-back { width: 38px !important; height: 38px !important; margin: -6px 0 14px -4px !important; background: #F2F2F0 !important; box-shadow: none; }
}
html body.au2 .au2-card > .au2-back[hidden] { display: none !important; }

/* ============ v10.76 · Pantallas bajas de computador (portátiles): iniciar sesión, crear cuenta, recuperar y códigos
   se acomodan a la altura sin scroll. Menos aire arriba, en la tarjeta y entre campos; lo que aún no quepa lo
   ajusta js/fit.js. En pantallas de más de 860 px de alto no cambia nada. ============ */
@media (min-width: 992px) and (max-height: 860px) {
  html body.au2 .au2-top { min-height: 52px !important; padding-top: 14px !important; }
  html body.au2 .au2-main { min-height: 0 !important; padding-top: 8px !important; padding-bottom: 12px !important; }
  html body.au2 .au2-card { padding: 28px 34px 24px !important; }
  html body.au2 .au2-card h1 { margin-bottom: 4px !important; }
  html body.au2 .auth-form { gap: 10px !important; }
  html body.au2 .auth-form .form-control { min-height: 44px !important; height: 44px; }
  html body.au2 .au2-card .btn-ink, html body.au2 .au2-card .btn-primary { min-height: 46px !important; height: 46px; padding-top: 0 !important; padding-bottom: 0 !important; }
  html body.au2 .au2-foot { padding-bottom: 10px !important; }
  html body.au2 .au2-shell, html body.au2 .au2-main-wrap { min-height: 100vh !important; min-height: 100dvh !important; }
}
@media (min-width: 992px) and (max-height: 700px) {
  html body.au2 .au2-top { min-height: 44px !important; padding-top: 10px !important; }
  html body.au2 .au2-card { padding: 22px 30px 18px !important; }
  html body.au2 .au2-foot { display: none !important; }
}

/* ============ v10.76 · Celular como app: pantalla completa blanca (sin tarjeta flotante ni márgenes grises),
   logo arriba a la izquierda, campos y botones del ancho de la pantalla y menos espacio entre campos para que
   el inicio de sesión quepa sin bajar. Solo celular (en PC no cambia nada). ============ */
@media (max-width: 991.98px) {
  html body.au2, html body.au2 .au2-shell, html body.au2 .au2-main-wrap { background: #fff !important; }
  html body.au2 .au2-top { min-height: 56px !important; height: auto !important; padding: calc(10px + env(safe-area-inset-top, 0px)) 20px 6px !important; background: #fff !important; }
  html body.au2 .au2-main { padding: 0 !important; }
  html body.au2 .au2-col { width: 100% !important; max-width: none !important; }
  html body.au2 .au2-card { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 8px 20px 20px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
  html body.au2 .au2-card > .au2-back { margin: 0 0 14px -6px !important; }
  html body.au2 .auth-intro { margin-bottom: 18px !important; }
  html body.au2 .auth-form { gap: 12px !important; }
  html body.au2 .auth-form .form-control { min-height: 48px !important; font-size: 16px !important; }
  html body.au2 .au2-foot { padding: 4px 20px calc(14px + env(safe-area-inset-bottom, 0px)) !important; background: #fff !important; }
}
@media (max-width: 991.98px) and (max-height: 700px) {
  html body.au2 .au2-top { min-height: 48px !important; padding-top: calc(6px + env(safe-area-inset-top, 0px)) !important; }
  html body.au2 .au2-card > .au2-back { width: 34px !important; height: 34px !important; margin-bottom: 8px !important; }
  html body.au2 .auth-intro { margin-bottom: 12px !important; }
  html body.au2 .auth-intro h1 { font-size: 26px !important; }
  html body.au2 .auth-form { gap: 8px !important; }
}

/* =====================================================================================
   v10.132 · Cuenta recordada con Google: solo las formas de entrar que le sirven (Google, contraseña o un código
   al correo), en el orden del HTML. «Entrar con un código en mi correo» como enlace discreto.
   ===================================================================================== */
body.is-who .au2-card > * { order: 0 !important; }
body.is-who .au2-card > .au-or.is-on { display: flex !important; margin: 18px 0; }
body.is-who .au2-card > .au-google { margin-top: 0; }
body.au2 .au-who-note { margin: 12px 0 0; text-align: center; font-size: 13.5px; line-height: 1.45; color: #6E6E6B; }
body.au2 .au-code-form { margin: 0; }
body.au2 .au-code-form .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; font-weight: 500; }
body.au2 .au-code-link { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin: 14px 0 0; padding: 8px 10px; border: 0; background: none;
  font: inherit; font-size: 14px; font-weight: 500; color: #3A3A38; text-decoration: none; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
body.au2 .au-code-link:hover { background: #F4F4F2; color: #0B0B0B; }
body.au2 .au-code-link .bi { font-size: 15px; color: #6E6E6B; }
body.au2 .au2-card > .au-code-link { order: 6; }
body.au2 .au-code-who { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 6px; font-size: 15px; color: #0B0B0B; }
body.au2 .au-code-who .avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
