/* One compact account surface for sign-in, registration and verification. */
.alpha-auth-shell fieldset[data-credential-fields] { display:contents; }
#authFormReadiness { color:var(--tx-muted); margin:.5rem 0; font-size:.875rem; }
html[data-theme] body.alpha-auth-shell {
  height:100dvh;
  min-height:0;
  overflow:hidden;
  background:var(--tx-bg);
}
.alpha-auth-shell .alpha-auth-page {
  display:grid; align-items:center; height:100%; min-height:0;
  padding:clamp(.75rem,4vw,3rem); overflow:hidden;
}
.alpha-auth-shell .alpha-auth-layout {
  width:min(70rem,100%); max-height:100%; height:min(43rem,100%); min-height:0;
  margin:auto; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  border:1px solid var(--tx-border); border-radius:1rem; overflow:hidden;
}
.alpha-auth-layout .alpha-auth-story {
  display:flex; flex-direction:column; justify-content:center; gap:1.5rem;
  padding:clamp(1.25rem,3.7vw,3rem); min-height:0; overflow:auto;
  background:#0c1e38; color:#eef5fd;
}
.alpha-auth-story .alpha-auth-story-copy h2 { font-size:clamp(2rem,3.3vw,3.15rem); color:#fff; line-height:1.05; letter-spacing:-.04em; }
.alpha-auth-story .alpha-auth-story-copy p { color:#c6d3e3; }
.cpf-account-steps { display:grid; gap:1.1rem; margin:0; padding:0; list-style:none; }
.cpf-account-steps li { display:grid; gap:.23rem; padding-left:.8rem; border-left:2px solid #5dc7bb; }
.cpf-account-steps strong { color:#fff; font-size:.94rem; }
.cpf-account-steps span { color:#c6d3e3; font-size:.82rem; line-height:1.45; }
.cpf-auth-markets { font-size:.68rem; letter-spacing:.05em; color:#aebfd4; }
.alpha-auth-layout .alpha-auth-card { min-height:0; overflow:auto; display:block; padding:clamp(1rem,3vw,2.5rem); }
.alpha-auth-layout .alpha-auth-card-shell { min-height:0; height:auto; max-height:none; border:0; box-shadow:none; }
.cpf-recovery { margin-block:.8rem; }
.cpf-recovery summary { cursor:pointer; font-weight:650; }
.cpf-recovery[hidden] { display:none; }
@media(max-width:760px) {
  .alpha-auth-shell .alpha-auth-page { padding:.55rem; }
  .alpha-auth-shell .alpha-auth-layout { display:block; height:100%; max-height:100%; border-radius:.7rem; }
  .alpha-auth-layout .alpha-auth-story { display:none; }
  .alpha-auth-layout .alpha-auth-card { height:100%; padding:.75rem; }
  .alpha-auth-layout .alpha-auth-mobile-brand { display:block; }
}

html[data-theme] body.alpha-auth-shell { display:flex; flex-direction:column; font-family:Inter,"Segoe UI",sans-serif; }
body.alpha-auth-shell > main.alpha-auth-page { flex:1; min-height:0; height:auto; }
body.alpha-auth-shell > footer { flex:none; }
html[data-theme] .alpha-auth-layout .alpha-auth-story { background:var(--tx-raised)!important; color:var(--tx-text); }
html[data-theme] .cpf-account-steps strong, html[data-theme] .alpha-auth-story .alpha-auth-story-copy h2 { color:var(--tx-text)!important; }
html[data-theme] .cpf-account-steps span, html[data-theme] .cpf-auth-markets, html[data-theme] .alpha-auth-story .alpha-auth-story-copy p { color:var(--tx-muted)!important; }
html[data-theme] .alpha-auth-layout .alpha-auth-story::after { pointer-events:none; background:none; }
html[data-theme] .alpha-auth-layout .alpha-auth-card-top h1 { font-size:clamp(1.7rem,3vw,2.25rem); letter-spacing:-.035em; }
html[data-auth-mode=signup] .cpf-google-offline { display:none; }
