/* Account access: the shared editorial palette, kept focused on the next action. */
.auth-page {
    --auth-muted: #bcb7ad;
    --auth-line: #34312b;
    color: var(--light-color);
    background: radial-gradient(ellipse at 5% 10%, #242016 0, #10100e 40%, #0a0a0a 80%);
}
.auth-section { padding: 1.6rem 0 4rem; }
.auth-page h1, .auth-page h2 { letter-spacing: -.025em; }
.auth-page a:focus-visible, .auth-page button:focus-visible, .auth-page input:focus-visible, .auth-page select:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 4px; }
.auth-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .45rem .7rem; padding: 0; margin: 0 0 2.5rem; list-style: none; color: var(--auth-muted); font-size: .7rem; }
.auth-breadcrumb li + li::before { content: '/'; margin-right: .7rem; color: #787164; }
.auth-breadcrumb a { color: var(--auth-muted); }
.auth-breadcrumb a:hover { color: var(--primary-color); }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: start; gap: clamp(2rem, 6vw, 6rem); max-width: 1100px; margin-inline: auto; }
.auth-intro { padding-top: 2.2rem; }
.auth-page .auth-eyebrow { margin: 0 0 1rem; color: var(--primary-color); font-size: .68rem; font-weight: 500; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; }
.auth-intro h1 { margin: 0 0 1.5rem; font-size: clamp(2.65rem, 4vw, 3.65rem); line-height: 1.12; }
.auth-intro h1 span { display: block; margin-top: .2em; color: var(--primary-color); }
.auth-intro__lead { max-width: 26rem; margin-bottom: 1.3rem; color: var(--auth-muted); font-size: .88rem; line-height: 1.85; }
.auth-text-link { display: inline-flex; align-items: center; gap: 1.2rem; min-height: 44px; font-size: .78rem; }
.auth-form-column { min-width: 0; }
.auth-card { padding: 2rem; border: 1px solid #484034; border-radius: 12px; background: #141310; }
.auth-card__heading { margin-bottom: 1.6rem; }
.auth-card__heading .auth-eyebrow { margin-bottom: .65rem; font-size: .6rem; }
.auth-card h2 { margin: 0 0 .65rem; font-size: 1.8rem; line-height: 1.25; }
.auth-card__heading > p:not(.auth-eyebrow) { margin: 0; color: var(--auth-muted); font-size: .78rem; line-height: 1.8; }
.auth-field { margin-bottom: 1.3rem; }
.auth-page .form-label { margin-bottom: .5rem; color: #e2dcd0; font-size: .78rem; font-weight: 400; line-height: 1.6; }
.auth-page .form-control, .auth-page .form-select { min-height: 50px; padding: .75rem .85rem; border-color: #484237; border-radius: 6px; background-color: #1b1a16; color: var(--light-color); font-size: 1rem; }
.auth-page .form-select { padding-right: 2rem; }
.auth-page .form-control:focus, .auth-page .form-select:focus { border-color: var(--primary-color); background-color: #211f19; box-shadow: 0 0 0 3px #c9b07220; }
.auth-label-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 .75rem; }
.auth-label-row a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -.5rem; font-size: .72rem; }
.auth-password > .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.auth-page .auth-password-toggle { min-width: 62px; min-height: 50px; padding: .6rem; border-color: #484237; border-radius: 0 6px 6px 0; color: #e0d7c5; font-size: .72rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.auth-password-toggle:hover { background: #2b251a; }
.auth-captcha { min-height: 78px; margin: 1.5rem 0; }
.auth-page .auth-submit { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; width: 100%; min-height: 50px; padding: .85rem 1.2rem; border-radius: 6px; font-size: .72rem; line-height: 1.6; letter-spacing: .07em; white-space: normal; }
.auth-card__footer { padding-top: 1.3rem; margin-top: 1.5rem; border-top: 1px solid var(--auth-line); }
.auth-card__footer p { margin: 0; color: var(--auth-muted); font-size: .76rem; line-height: 1.9; }
.auth-card__footer a { text-decoration: underline; text-underline-offset: .2em; }
.auth-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 .4rem; margin: .8rem 0 0; color: var(--auth-muted); font-size: .72rem; line-height: 1.8; text-align: center; }
.auth-support a { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; }
.auth-page .alert { padding: .9rem 1rem; border-radius: 6px; font-size: .78rem; line-height: 1.8; overflow-wrap: anywhere; }
.auth-page .alert-danger { border-color: #77483f; background: #2a1b17; color: #f2c1b7; }
.auth-page .alert-success { border-color: #45664d; background: #18251b; color: #c4ddc9; }
.auth-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0 0 1.75rem; list-style: none; }
.auth-steps li { display: flex; align-items: center; gap: .5rem; padding-bottom: .8rem; border-bottom: 2px solid var(--auth-line); color: var(--auth-muted); font-size: .69rem; line-height: 1.6; }
.auth-steps li span { font-size: .65rem; }
.auth-steps li[aria-current], .auth-steps li.is-complete { border-color: var(--primary-color); color: var(--primary-color); }
.auth-steps li[aria-current] { color: #f4e8ce; font-weight: 500; }
.auth-phone > .form-select { flex: 0 0 112px; width: 112px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.auth-phone > .form-control { min-width: 0; }
.auth-hint { margin: .6rem 0 0; color: var(--auth-muted); font-size: .72rem; line-height: 1.8; }
.auth-password-message:empty { display: none; }
.auth-page .form-control[aria-invalid="true"] { border-color: #d49284; }
.auth-password-message.is-error { color: #f2c1b7; }
.auth-complete-icon { display: flex; justify-content: center; align-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border: 1px solid #45664d; border-radius: 50%; color: #c4ddc9; font-size: 1.5rem; }
@media (max-width: 991.98px) and (min-width: 768px) {
    .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 390px); gap: 2rem; }
    .auth-card { padding: 1.5rem; }
    .auth-intro h1 { font-size: 2.6rem; }
}
@media (max-width: 767.98px) {
    .auth-section { padding: 1.2rem 0 2.5rem; }
    .auth-breadcrumb ol { margin-bottom: 1.5rem; }
    .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; max-width: 480px; }
    .auth-intro { padding-top: 0; }
    .auth-intro h1 { margin-bottom: 1rem; font-size: clamp(2.2rem, 8vw, 2.8rem); }
    .auth-intro__lead { max-width: none; margin-bottom: .6rem; font-size: .8rem; }
    .auth-intro .auth-eyebrow { margin-bottom: .75rem; font-size: .6rem; }
    .auth-card { padding: 1.5rem; }
    .auth-card h2 { font-size: 1.6rem; }
}
@media (max-width: 399.98px) {
    .auth-card { padding: 1.25rem; }
    .auth-captcha { min-height: 144px; }
    .auth-phone > .form-select { flex-basis: 105px; width: 105px; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-page a, .auth-page button, .auth-page input, .auth-page select { transition: none; }
}
