.auth-page { background: linear-gradient(to right, #ece6d9 50%, #fff 50%); }
.auth-page [hidden] { display: none !important; }
.account-shell { min-height: 100dvh; padding-inline: var(--home-gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.account-story { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; min-height: 0; overflow: hidden; padding: 42px clamp(32px, 3.5vw, 64px) 0 0; isolation: isolate; }
.account-story > .wordmark { position: relative; z-index: 3; }
.account-story-copy { position: relative; z-index: 2; margin-top: clamp(45px, 8vh, 100px); }
.account-story h2 { font-size: clamp(48px, 4.7vw, 82px); font-weight: 800; letter-spacing: -.065em; line-height: 1.02; margin: 0; }
.account-story h2 span { color: var(--home-red); }
.account-story-copy > p { font-size: 20px; line-height: 1.5; color: var(--home-muted); margin: 24px 0 0; }
.account-art { position: relative; flex: 1; min-height: 0; width: 100%; margin: 24px 0 0; pointer-events: none; }
.account-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.account-panel { display: grid; grid-template-rows: auto 1fr auto; row-gap: 24px; min-width: 0; min-height: 100dvh; padding: 36px 0 36px clamp(32px, 3.5vw, 64px); }
.account-topnav.account-topnav-wizard { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.account-topnav { display: flex; align-items: center; justify-content: flex-end; min-height: 39px; }
.account-home { display: inline-flex; white-space: nowrap; gap: 14px; align-items: center; font-size: 15px; font-weight: 600; }
.account-home .icon { width: 19px; height: 19px; }
.account-mobile-brand { display: none; }
.account-content { align-self: center; width: 100%; min-width: 0; margin: 0; padding: 14px 0; }
.account-content h1 { font-size: clamp(38px, 3.3vw, 54px); font-weight: 750; letter-spacing: -.06em; line-height: 1.08; margin: 0 0 18px; }
.account-description { font-size: 18px; color: var(--home-muted); line-height: 1.6; margin: 0 0 34px; }
.account-field { margin-bottom: 24px; }
.account-field > label { font-size: 15px; font-weight: 700; display: block; margin-bottom: 10px; }
.account-input-wrap { position: relative; }
.account-input { display: block; width: 100%; border: 1px solid #d4cfc4; border-radius: 13px; padding: 17px 18px; height: 61px; color: var(--home-ink); background: #fffdf8; font: inherit; font-size: 18px; line-height: 1.4; outline: none; transition: border-color .2s, box-shadow .2s; }
.account-input:focus { border-color: #aa4934; box-shadow: 0 0 0 3px #d4483010; }
.account-input.is-invalid { border-color: #b53421; }
.account-input-wrap:has(.account-reveal, .account-input-state) .account-input { padding-right: 54px; }
.account-reveal { position: absolute; right: 7px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #65635c; background: transparent; cursor: pointer; }
.account-reveal:hover { background: #e9e4d8; }
.account-reveal .icon:last-child { display: none; }
.account-reveal[aria-pressed="true"] .icon:first-child { display: none; }
.account-reveal[aria-pressed="true"] .icon:last-child { display: block; }
.account-error, .account-help, .account-availability, .account-existing { font-size: 14px; line-height: 1.5; margin: 9px 0 0; }
.account-error { color: #b53421; }
.account-help { color: var(--home-muted); }
.account-availability { min-height: 21px; color: var(--home-muted); }
.account-availability[data-state="available"] { color: #45623c; }
.account-availability[data-state="unavailable"], .account-availability[data-state="error"] { color: #b53421; }
.account-input-state { position: absolute; top: 19px; right: 18px; width: 23px; height: 23px; color: #45623c; }
.account-input-state > * { display: none; }
.account-field[data-state="available"] .account-input-state .icon { display: block; }
.account-field[data-state="checking"] .account-spinner { display: block; }
.account-spinner { width: 20px; height: 20px; border: 2px solid #d5c9b9; border-top-color: #a1442b; border-radius: 50%; animation: account-spin .75s linear infinite; }
@keyframes account-spin { to { transform: rotate(360deg); } }
.account-retry { padding: 0; margin-top: 8px; background: none; border: none; text-decoration: underline; color: #943c29; font-size: 14px; }
.account-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 30px; font-size: 14px; }
.account-options label { display: inline-flex; align-items: center; gap: 9px; }
.account-options input { appearance: none; width: 19px; height: 19px; border: 1px solid #b7afa1; border-radius: 5px; background: #fffdf8; display: grid; place-items: center; }
.account-options input:checked { background: var(--home-ink); border-color: var(--home-ink); }
.account-options input:checked::after { content: ''; width: 5px; height: 9px; border: solid #fffdf8; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.account-options a, .account-switch a, .account-existing a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.account-submit { width: 100%; min-height: 60px; }
.account-submit:disabled { background: #dedbd2; color: #76736b !important; cursor: not-allowed; transform: none; }
.account-submit:disabled .icon { transform: none; }
.account-switch { margin: 28px 0 0; font-size: 15px; color: var(--home-muted); }
.account-switch a { color: var(--home-ink); }
.account-footer { font-size: 13px; color: #79766f; text-align: right; }
.account-progress { margin-bottom: 28px; }
.account-progress-bars { display: flex; justify-self: start; gap: 6px; }
.account-progress-bars i { width: 32px; height: 5px; border-radius: 10px; background: #dfdbd1; transition: background .25s; }
.account-progress-bars i.is-current { background: var(--home-red); }
.account-progress-bars i.is-complete { background: var(--home-ink); }
.account-progress > span { font-size: 13px; color: var(--home-muted); }
.account-step + .account-step { margin-top: 40px; }
.is-enhanced .account-step { margin-top: 0; }
.account-actions { display: flex; gap: 12px; margin-top: 30px; }
.account-back { display: grid; place-items: center; flex-shrink: 0; width: 60px; border: 1px solid #d4cfc4; border-radius: 16px; color: var(--home-ink); background: transparent; }
.account-back .icon { transform: rotate(180deg); }
.account-status { display: flex; align-items: start; gap: 12px; font-size: 15px; line-height: 1.6; margin: 0 0 28px; color: #45623c; }
.account-status .icon { margin-top: 3px; }
@media (min-width: 992px) and (max-width: 1100px) { .account-story h2 { font-size: 53px; } .account-story-copy > p { font-size: 18px; } }
@media (max-height: 800px) and (min-width: 992px) {
    .account-panel { padding-block: 24px; }
    .account-content { padding-block: 10px; }
    .account-story-copy { margin-top: 50px; }
    .account-story h2 { font-size: 55px; }
    .account-story-copy > p { font-size: 17px; }
}
@media (max-width: 991px) {
    .auth-page { background: #fff; }
    .account-shell { grid-template-columns: 1fr; }
    .account-story { display: none; }
    .account-panel { padding: 24px 0; }
    .account-topnav { justify-content: space-between; gap: 24px; }
    .account-mobile-brand { display: flex; }
    .account-topnav-wizard .account-mobile-brand { grid-column: 1 / -1; justify-self: start; }
    .account-home { font-size: 16px; gap: 10px; }
    .account-content { padding-block: 18px; }
    .account-content h1 { font-size: 44px; }
    .account-footer { text-align: center; }
}
@media (max-width: 575px) {
    .account-panel { padding: 18px 0; }
    .account-topnav { flex-wrap: wrap; gap: 18px; }
    .auth-page .wordmark { font-size: 20px; }
    .auth-page .brand-mark { width: 32px; height: 32px; border-radius: 9px; margin-right: 7px; }
    .account-home { font-size: 15px; gap: 7px; }
    .account-topnav:not(.account-topnav-wizard) .account-home .icon { display: none; }
    .account-progress-bars i { width: 24px; }
    .account-content { padding-block: 10px; }
    .account-content h1 { font-size: 35px; }
    .account-description { font-size: 18px; margin-bottom: 24px; }
    .account-field { margin-bottom: 18px; }
    .account-options { gap: 10px; font-size: 13px; }
}
@media (max-height: 740px) and (max-width: 575px) {
    .account-panel { padding-block: 14px; }
    .account-content { padding-block: 5px; }
    .account-progress { margin-bottom: 14px; }
    .account-description { margin-bottom: 18px; }
    .account-switch { margin-top: 18px; }
    .account-actions { margin-top: 18px; }
}
@media (max-height: 520px) {
    .account-panel { display: block; }
    .account-topnav { margin-bottom: 20px; }
    .account-footer { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .account-spinner { border-style: dotted; } }

.account-input[data-format-name] { text-transform: capitalize; }
