.auth-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 40px 24px; }
.auth-shell { display: grid; grid-template-columns: .9fr 1.1fr; width: 100%; max-width: 1020px; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--app-border); border-radius: 24px; background: var(--app-surface); box-shadow: 0 24px 70px -24px #203b633b; }
.auth-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding: 44px 40px 30px; background: radial-gradient(ellipse at bottom right, #155a9b, transparent 75%), #102b4d; color: white; }
.auth-logo { display: flex; align-items: center; gap: .4rem; max-width: 100%; }
.auth-logo img { display: block; height: auto; min-width: 0; object-fit: contain; }
.auth-logo img:first-child { width: 44px; }
.auth-logo img:last-child { width: 180px; max-width: calc(100% - 51px); }
.auth-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.auth-brand .auth-eyebrow { color: #b5d8ff; }
.auth-brand-message h2 { margin: 0 0 20px; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.18; color: white; }
.auth-brand-message > p:not(.auth-eyebrow) { max-width: 300px; margin-bottom: 28px; color: #d0e0f2; font-size: .95rem; line-height: 1.8; }
.auth-brand-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-brand-tags span { padding: 6px 12px; border: 1px solid #ffffff38; border-radius: 20px; color: #dfebfa; font-size: .75rem; }
.auth-brand-footer { margin: 0; color: #b5cde8; font-size: .75rem; }
.auth-panel { min-width: 0; padding: 44px 48px 30px; overflow-wrap: anywhere; }
.auth-panel:focus { outline: none; }
.auth-steps { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 38px; padding: 0; list-style: none; }
.auth-steps li { display: flex; align-items: center; gap: 8px; color: var(--app-muted); font-size: .78rem; font-weight: 600; }
.auth-steps li > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--app-input-border); border-radius: 50%; font-size: .75rem; }
.auth-steps [aria-current="step"] { color: var(--app-blue); }
.auth-steps [aria-current="step"] > span { border-color: var(--app-blue); background: var(--app-blue); color: white; }
.auth-steps .is-complete > span { border-color: #b7d4f3; background: #eaf3ff; color: var(--app-blue); }
.auth-heading .auth-eyebrow { margin: 0 0 10px; color: var(--app-blue); }
.auth-heading h1 { margin: 0 0 10px; font-size: 1.65rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.3; }
.auth-heading > p:last-child { margin: 0 0 28px; color: var(--app-muted); font-size: .9rem; line-height: 1.6; }
.auth-panel label { font-size: .85rem; margin-top: 20px; }
.auth-panel form > label:first-of-type { margin-top: 0; }
.auth-panel input:not([type="checkbox"]):not([type="hidden"]) { min-height: 50px; padding: 12px 14px; font-size: 1rem; }
.auth-panel input::placeholder { color: #758499; opacity: 1; }
.auth-panel form > button { width: 100%; min-height: 50px; margin-top: 22px; }
.auth-panel .auth-show-password { margin: 12px 0 0; font-size: .85rem; font-weight: 400; color: var(--app-muted); }
.auth-panel [hidden] { display: none !important; }
.auth-panel .auth-help, .auth-panel .auth-links { color: var(--app-muted); font-size: .85rem; line-height: 1.6; }
.auth-panel .auth-help { margin: 10px 0 0; }
.auth-panel .auth-links { margin: 18px 0 0; }
.auth-panel .notice, .auth-panel .errors { font-size: .85rem; border: 1px solid var(--app-border); }
.auth-panel .development-notice { font-size: .75rem; }
.auth-panel input[autocomplete="one-time-code"] { text-align: center; font-size: 1.7rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.auth-footer { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--app-border); color: var(--app-muted); font-size: .7rem; text-align: center; }
.auth-navigation { justify-content: center; margin-top: 12px; font-size: .78rem; }
@media (max-width: 760px) {
    .auth-page { padding: 24px 16px; }
    .auth-shell { grid-template-columns: 1fr; max-width: 480px; border-radius: 18px; }
    .auth-brand { gap: 0; padding: 24px 28px; }
    .auth-brand-message, .auth-brand-footer { display: none; }
    .auth-panel { padding: 28px; }
    .auth-steps { margin-bottom: 28px; gap: 20px; }
}
@media (max-width: 360px) {
    .auth-page { padding: 12px; }
    .auth-brand, .auth-panel { padding: 22px; }
    .auth-heading h1 { font-size: 1.4rem; }
}
