/* El Cristiano 0.13.3 (pedido del 13/11): /ingresar/, entrar y crear la cuenta con Google, Microsoft
   o el correo. Los estilos son los de la maqueta cuenta.html (prefijo ac-); las pestañas son enlaces
   para que la página funcione también sin JavaScript. */
.ac [hidden] { display: none !important; }
.ac-mast { background: radial-gradient(120% 90% at 85% 0%, #2c4680 0%, var(--ec-blue-night) 62%); color: #fff; }
.ac-mast__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-block: var(--s5) var(--s6); }
.ac-mast .sx-crumbs, .ac-mast .sx-crumbs a { color: rgba(255, 255, 255, .75); }
.ac-mast :focus-visible { outline-color: var(--ec-lit-hi); }
.ac-mast__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: var(--fs-micro); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ec-lit-hi); }
.ac-mast__eyebrow svg { width: 18px; height: 18px; }
.ac-mast h1 { font-family: var(--ec-serif); font-weight: 600; font-size: clamp(2.125rem, 1.5rem + 3vw, 3.5rem); line-height: 1.02; letter-spacing: -.02em; margin: 10px 0 0; color: #fff; }
.ac-mast__dek { margin: 12px 0 0; max-width: 38ch; font-family: var(--ec-serif); font-size: var(--fs-dek); line-height: 1.35; color: rgba(255, 255, 255, .88); }

/* Motion: la cuenta junta, por turno, cursos, entradas y la parroquia */
.ac-mock { display: none; }
@media (min-width: 900px) {
  .ac-mast__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 56px; padding-block: var(--s6) var(--s7); }
  .ac-mock { position: relative; display: grid; gap: 10px; width: 100%; max-width: 320px; margin-inline: auto; padding: 16px; border-radius: 14px; background: #fff; color: var(--ec-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: rotate(2deg); }
}
.ac-mock i { display: block; height: 8px; border-radius: 3px; background: #e6eaf1; }
.ac-mock .ln--s { width: 58%; }
.ac-mock__who { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--ec-line); }
.ac-mock__who > b { width: 44px; height: 44px; border-radius: 50%; background: var(--ec-blue-night); box-shadow: 0 0 0 3px var(--ec-lit); }
.ac-mock__who span { display: grid; gap: 6px; }
.ac-mock__who .ln:first-child { background: var(--ec-ink); width: 70%; }
.ac-mock__row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 10px; border: 1.5px solid var(--ec-line); animation: ac-lit 7.5s infinite; animation-delay: var(--d, 0s); }
.ac-mock__row > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ec-blue-night); color: var(--ec-lit-hi); }
.ac-mock__row svg { width: 18px; height: 18px; }
.ac-mock__row > span:last-child { display: grid; gap: 6px; }
.ac-mock .bar { height: 6px; background: #e6eaf1; overflow: hidden; }
.ac-mock .bar b { display: block; height: 100%; width: 60%; border-radius: 3px; background: var(--ec-blue); transform-origin: left; animation: ac-fill 7.5s infinite; }
@keyframes ac-lit { 0%, 30%, 100% { border-color: var(--ec-line); background: #fff; } 5%, 25% { border-color: var(--ec-lit); background: var(--ec-lit-soft); box-shadow: 0 0 0 4px rgba(227, 194, 90, .3); } }
@keyframes ac-fill { 0% { transform: scaleX(.15); } 25%, 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .ac-mock__row, .ac-mock .bar b { animation: none; } .ac-mock { transform: none; } }
html[data-a-motion="reducido"] .ac-mock__row, html[data-a-motion="reducido"] .ac-mock .bar b { animation: none; }

/* Disposición */
.ac-sec { padding-block: var(--s5) var(--s7); }
.ac-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
@media (min-width: 1024px) { .ac-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; } .ac-aside { position: sticky; top: calc(var(--header-h, 64px) + 24px); } }
.ac-card { width: 100%; max-width: 620px; background: #fff; border-radius: 12px; box-shadow: 0 1px 0 var(--ec-line), 0 10px 30px -12px rgba(20, 24, 33, .25); }
.ac-card, .ac-card :is(h2, h3, .ac-note, .ac-sum) { scroll-margin-top: calc(var(--header-h, 64px) + 16px); }

/* Pestañas Ingresar / Crear cuenta (enlaces) */
.ac-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ec-line); }
.ac-tabs a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 12px; border-bottom: 3px solid transparent; font-size: 1rem; font-weight: 800; color: var(--ec-ink-2); text-decoration: none; text-align: center; }
.ac-tabs a:first-child { border-top-left-radius: 12px; }
.ac-tabs a:last-child { border-top-right-radius: 12px; }
.ac-tabs a[aria-selected="true"] { color: var(--ec-ink); border-bottom-color: var(--ec-blue); }
.ac-tabs a:hover { background: var(--ec-wash); }
.ac-pane { padding: var(--s5); }
@media (max-width: 419px) { .ac-pane { padding-inline: 16px; } }
.ac-pane h2 { margin: 0; font-family: var(--ec-serif); font-weight: 600; font-size: var(--fs-h2); line-height: 1.15; }
.ac-pane h2:focus { outline: none; }
.ac-lead { margin: 6px 0 var(--s4); color: var(--ec-ink-2); }

/* Botones de Google y Microsoft: blancos, con su logo oficial y el nombre sin cambios */
.ac-sso { display: grid; gap: 10px; margin: 0; }
.ac-sso__btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 12px; border-radius: 4px; background: #fff; cursor: pointer; text-align: left; }
.ac-sso__btn:hover { background: #f8f9fa; }
.ac-sso__btn svg { flex: none; }
.ac-sso__btn--g { gap: 10px; border: 1px solid #747775; color: #1f1f1f; font-family: "Google Sans", Roboto, Arial, sans-serif; font-size: 14px; line-height: 20px; font-weight: 500; }
.ac-sso__btn--g svg { width: 20px; height: 20px; }
.ac-sso__btn--ms { gap: 12px; border: 1px solid #8c8c8c; color: #5e5e5e; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 15px; line-height: 20px; font-weight: 600; }
.ac-sso__btn--ms svg { width: 21px; height: 21px; }
.ac-sso__btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.ac-sso__ms { margin: 0; font-size: var(--fs-meta); color: var(--ec-muted); }
.ac-disc { display: flex; gap: 10px; margin: var(--s4) 0 0; padding: 12px 14px; border-radius: 8px; background: var(--ec-wash); font-size: var(--fs-meta); color: var(--ec-ink-2); line-height: 1.45; }
.ac-disc svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ec-ok); }
.ac-or { display: flex; align-items: center; gap: 12px; margin: var(--s5) 0 var(--s4); font-size: var(--fs-meta); font-weight: 700; color: var(--ec-muted); }
.ac-or::before, .ac-or::after { content: ""; flex: 1; height: 1px; background: var(--ec-line); }

/* Formularios */
.ac .ec-input[aria-invalid="true"] { border-color: #b3261e; }
.ac .fdf-check { min-height: 44px; margin: 0; padding: 8px 0; }
.ac .fdf-check input { accent-color: var(--ec-blue); }
.ac .fdf-check[data-bad] { color: #8c1d18; }
.ac .fdf-check + .fdf-err { display: block; margin: -2px 0 8px 30px; }
.ac .fdf-f small { display: block; margin-top: 4px; font-size: var(--fs-meta); color: var(--ec-muted); }
.ac-pw { position: relative; }
.ac-pw .ec-input { padding-right: 52px; }
.ac-pw__eye { position: absolute; right: 2px; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; transform: translateY(-50%); border: 0; border-radius: 4px; background: none; color: var(--ec-ink-2); cursor: pointer; }
.ac-pw__eye:hover { background: var(--ec-wash); }
.ac-pw__eye svg { width: 20px; height: 20px; }
.ac-forgot { display: inline-flex; align-items: center; min-height: 44px; margin: -6px 0 6px; font-size: var(--fs-meta); }
.ac-sum { display: flex; gap: 10px; padding: 12px 14px; margin: 0 0 16px; border-radius: 8px; background: #fdecea; color: #8c1d18; font-weight: 700; }
.ac-sum svg { width: 20px; height: 20px; flex: none; }
.ac-sum:focus { outline: 2px solid #8c1d18; outline-offset: 2px; }
.ac-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ac-send { margin-top: 8px; }
.ac-fine { margin: 10px 0 0; font-size: var(--fs-meta); color: var(--ec-muted); }
.ac-swap { margin: var(--s5) 0 0; padding-top: var(--s3); border-top: 1px solid var(--ec-line); text-align: center; font-size: var(--fs-ui); color: var(--ec-ink-2); }
.ac-linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ec-blue); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.ac-note { display: flex; gap: 8px; margin: 0 0 var(--s4); padding: 10px 12px; border-radius: 8px; background: #e3f3ea; color: #0d4f2c; font-size: var(--fs-meta); font-weight: 700; }
.ac-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ac-note--sample { max-width: 620px; background: #fbf0dc; color: #6b4500; }
.ac button:disabled { opacity: .55; cursor: not-allowed; }
.ac-from { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 var(--s4); padding: 12px 14px; border: 1px solid var(--ec-line); border-radius: 8px; }
.ac-from > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--ec-line); }
.ac-from svg { width: 20px; height: 20px; }
.ac-from strong { display: block; overflow-wrap: anywhere; }
.ac-from small { display: block; font-size: var(--fs-meta); color: var(--ec-muted); }

/* Para qué sirve */
.ac-aside__t { margin: 0 0 12px; font-size: var(--fs-micro); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ec-muted); }
.ac-uses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ac-uses li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--ec-line); font-size: var(--fs-ui); }
.ac-uses__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ec-blue-night); color: var(--ec-lit-hi); }
.ac-uses__ico svg { width: 20px; height: 20px; }
.ac-uses strong { display: block; font-size: var(--fs-h4); color: var(--ec-ink); }
.ac-uses span + span { color: var(--ec-ink-2); }
.ac-uses a { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: -10px; }
.ac-parish { display: flex; gap: 10px; margin: var(--s4) 0 0; padding: 14px; border-radius: 12px; border: 2px dashed #c2c9d4; font-size: var(--fs-meta); color: var(--ec-ink-2); line-height: 1.45; }
.ac-parish svg { width: 20px; height: 20px; flex: none; color: var(--ec-blue); margin-top: 1px; }
.ac-parish strong { color: var(--ec-ink); }
