.auth-page { background:#f4f7fb; color:#142a40; }
.auth-shell { box-sizing:border-box; width:min(100%,820px); margin:0 auto; padding:64px 24px 88px; }
.auth-card { box-sizing:border-box; width:100%; padding:48px 56px; border:1px solid #dbe5ef; border-radius:20px; background:#fff; box-shadow:0 18px 50px rgba(25,59,91,.08); }
.auth-card__heading { margin-bottom:32px; text-align:center; }
.auth-card__heading h1 { margin:4px 0 12px; color:#102b43; font-size:30px; line-height:1.4; }
.auth-card__heading p { margin:0; color:#60758a; font-size:14px; line-height:1.8; }
.auth-card__heading .auth-card__eyebrow { color:#0d68cf; font-size:12px; font-weight:700; letter-spacing:.12em; }
.auth-progress { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:0 0 36px; padding:0; list-style:none; }
.auth-progress li { display:flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:8px 12px; border-top:1px solid #d8e1ea; border-bottom:1px solid #d8e1ea; background:#f3f6f9; color:#718296; font-size:13px; font-weight:700; }
.auth-progress li:first-child { border-left:1px solid #d8e1ea; border-radius:9px 0 0 9px; }
.auth-progress li:last-child { border-right:1px solid #d8e1ea; border-radius:0 9px 9px 0; }
.auth-progress li.is-current { border-color:#1268c4; background:#1268c4; color:#fff; }
.auth-progress li.is-complete { border-color:#cfe1f4; background:#eaf4ff; color:#0c63be; }
.auth-progress__number { display:inline-grid; place-items:center; width:22px; height:22px; border:1px solid currentColor; border-radius:50%; font-size:11px; }
.auth-social { padding:24px; border:1px solid #dce5ee; border-radius:14px; background:#fbfdff; text-align:center; }
.auth-social h2,.auth-step h2 { margin:0 0 8px; color:#173149; font-size:19px; }
.auth-social>p,.auth-step--centered>p { margin:0 0 18px; color:#61758a; font-size:14px; line-height:1.7; }
.auth-google-button { display:flex; justify-content:center; min-height:44px; }
.auth-divider { display:flex; align-items:center; gap:16px; margin:26px 0; color:#8492a1; font-size:12px; white-space:nowrap; }
.auth-divider::before,.auth-divider::after { width:100%; height:1px; background:#dfe6ed; content:''; }
.auth-field { margin-bottom:22px; }
.auth-field label { display:flex; align-items:center; gap:7px; margin-bottom:8px; color:#243c54; font-size:14px; font-weight:700; }
.auth-field label span { padding:2px 6px; border-radius:4px; background:#fff0f1; color:#c93442; font-size:10px; }
.auth-input { box-sizing:border-box; width:100%; height:52px; padding:0 15px; border:1px solid #bdcad7; border-radius:8px; background:#fff; color:#152d44; font:inherit; font-size:16px; outline:none; transition:border-color .18s ease,box-shadow .18s ease; }
.auth-input:focus { border-color:#1268c4; box-shadow:0 0 0 3px rgba(18,104,196,.13); }
.auth-input.is-error { border-color:#d94d59; background:#fffafb; }
.auth-field__help { margin:8px 0 0; color:#738496; font-size:12px; line-height:1.7; }
.auth-primary { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100%; min-height:54px; padding:14px 20px; border:0; border-radius:9px; background:#1268c4; box-shadow:0 8px 18px rgba(18,104,196,.2); color:#fff; font:inherit; font-size:16px; font-weight:700; line-height:1.5; text-decoration:none; cursor:pointer; transition:background .18s ease,transform .18s ease; }
.auth-primary:hover { background:#0958aa; color:#fff; transform:translateY(-1px); }
.auth-primary:disabled { background:#99adc1; box-shadow:none; cursor:wait; transform:none; }
.auth-legal,.auth-security-note { margin:18px 0 0; color:#798a9b; font-size:11px; line-height:1.75; text-align:center; }
.auth-switch { margin:26px 0 0; color:#526a80; font-size:14px; text-align:center; }
.auth-switch a,.auth-legal a,.auth-text-button,.auth-secondary-link { color:#0c64bd; text-decoration:underline; text-underline-offset:3px; }
.auth-notice,.auth-alert { margin:0 0 24px; padding:14px 16px; border-radius:9px; font-size:13px; line-height:1.7; }
.auth-notice { border:1px solid #bfe2d1; background:#effaf5; color:#176343; }
.auth-alert { border:1px solid #f1c7cb; background:#fff5f6; color:#9e2631; }
.auth-alert p { margin:0; font-weight:700; }
.auth-alert ul { margin:5px 0 0; padding-left:20px; }
.auth-step--centered { max-width:480px; margin:0 auto; text-align:center; }
.auth-mail-icon { display:grid; place-items:center; width:58px; height:58px; margin:0 auto 18px; border-radius:50%; background:#e9f4ff; color:#1268c4; font-size:25px; }
.auth-code-form .auth-field { text-align:left; }
.auth-code-input { height:62px; font-size:27px; font-weight:700; letter-spacing:.32em; text-align:center; }
.auth-resend-form { margin-top:18px; }
.auth-text-button { padding:6px; border:0; background:transparent; font:inherit; font-size:13px; cursor:pointer; }
.auth-text-button:disabled { color:#8a99a8; cursor:not-allowed; text-decoration:none; }
.auth-verified-account { display:flex; align-items:center; gap:12px; margin-bottom:28px; padding:15px 17px; border:1px solid #cce6d9; border-radius:10px; background:#f3fbf7; }
.auth-verified-account__check { display:grid; flex:0 0 30px; place-items:center; height:30px; border-radius:50%; background:#1f9b64; color:#fff; font-weight:700; }
.auth-verified-account small,.auth-verified-account strong { display:block; }
.auth-verified-account small { color:#5d796c; font-size:11px; }
.auth-verified-account strong { margin-top:2px; overflow-wrap:anywhere; color:#1a4935; font-size:14px; }
.auth-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.auth-consent { display:flex; gap:10px; margin:28px 0 20px; padding:15px 16px; border:1px solid #dce5ed; border-radius:9px; background:#f8fafc; color:#344d64; font-size:13px; line-height:1.6; }
.auth-consent.is-error { border-color:#d94d59; background:#fff5f6; }
.auth-consent input { width:18px; height:18px; margin:1px 0 0; }
.auth-inline-error { margin-top:10px!important; color:#b52d3a!important; }
.auth-secondary-link { display:block; margin-top:16px; font-size:13px; text-align:center; }
.auth-login-links { display:flex; justify-content:space-between; gap:16px; margin-top:-8px; margin-bottom:24px; font-size:13px; }
.auth-login-benefits { display:grid; gap:9px; margin:28px 0 0; padding:19px 22px; border-radius:11px; background:#f4f8fc; color:#476177; font-size:12px; list-style:none; }
.auth-login-benefits li::before { margin-right:8px; color:#16865b; content:'✓'; font-weight:700; }
.auth-step { animation:auth-step-enter .34s cubic-bezier(.22,.8,.3,1) both; transition:opacity .18s ease,transform .18s ease; }
.auth-step.is-leaving { opacity:0; transform:translateX(-30px); pointer-events:none; }
.auth-step__intro { margin:0 0 20px; text-align:center; }
.auth-step__intro h2 { margin:0 0 8px; color:#173149; font-size:20px; }
.auth-step__intro p { margin:0; color:#63798d; font-size:13px; line-height:1.7; }
.auth-email-primary { padding:26px 28px 28px; border:2px solid #cfe0f1; border-radius:14px; background:linear-gradient(180deg,#fbfdff 0%,#f5f9fd 100%); box-shadow:0 10px 24px rgba(23,73,119,.06); }
.auth-email-primary .auth-field { margin-bottom:18px; }
.auth-primary__arrow { margin-left:10px; font-size:20px; line-height:1; }
.auth-divider--strong { margin-top:32px; color:#334b62; font-size:14px; font-weight:700; }
.auth-social--secondary { padding:18px 20px; background:#fff; }
.auth-choice-note { margin:0 0 13px!important; color:#687c8f!important; font-size:12px!important; }
.auth-progress { gap:12px; }
.auth-progress li { --auth-progress-bg:#eef1f4; position:relative; z-index:1; box-sizing:border-box; height:48px; min-height:48px; margin:0; padding:8px 10px 8px 18px; border:0; border-radius:0; background:var(--auth-progress-bg); color:#586b7e; }
.auth-progress li:first-child { border:0; border-radius:7px 0 0 7px; }
.auth-progress li:last-child { border:0; border-radius:0 7px 7px 0; }
.auth-progress li.is-current { --auth-progress-bg:#173f73; background:var(--auth-progress-bg); color:#fff; }
.auth-progress li.is-complete { --auth-progress-bg:#e4f0fb; background:var(--auth-progress-bg); color:#1764ad; }
.auth-progress li:not(:last-child)::before,.auth-progress li:not(:last-child)::after { position:absolute; top:0; width:0; height:0; border-top:24px solid transparent; border-bottom:24px solid transparent; content:''; }
.auth-progress li:not(:last-child)::before { right:-14px; z-index:1; border-left:14px solid #fff; }
.auth-progress li:not(:last-child)::after { right:-11px; z-index:2; border-left:12px solid var(--auth-progress-bg); }
.auth-progress__number { display:none; }
@keyframes auth-step-enter { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
@media (prefers-reduced-motion:reduce) { .auth-step { animation:none; transition:none; } }
@media (max-width:700px) {
  .auth-shell { padding:28px 12px 56px; }
  .auth-card { padding:30px 18px; border-radius:14px; }
  .auth-card__heading h1 { font-size:24px; }
  .auth-progress { gap:8px; }
  .auth-progress li { flex-direction:column; gap:3px; height:56px; min-height:56px; padding:6px 7px 6px 12px; font-size:10px; line-height:1.35; text-align:center; }
  .auth-progress li:not(:last-child)::before,.auth-progress li:not(:last-child)::after { border-top-width:28px; border-bottom-width:28px; }
  .auth-progress li:not(:last-child)::before { right:-11px; border-left-width:11px; }
  .auth-progress li:not(:last-child)::after { right:-8px; border-left-width:9px; }
  .auth-social { padding:20px 12px; }
  .auth-email-primary { padding:20px 16px; }
  .auth-divider { gap:8px; white-space:normal; text-align:center; }
  .auth-field-grid { grid-template-columns:1fr; gap:0; }
  .auth-login-links { flex-direction:column; align-items:center; }
}
