/* Identity keeps its built-in forms and handlers; this shell shares the workspace palette. */
.auth-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.auth-header { width: 100%; max-width: 1280px; margin: 0 auto; padding: 30px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.auth-header .brand { padding: 0; }
.auth-main { flex: 1; display: grid; place-items: center; padding: 24px 40px 48px; }
.auth-card { width: 100%; max-width: 1040px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: 0 16px 60px rgba(30,55,43,.06); }
.auth-story { min-width: 0; background: var(--hero); padding: 46px 40px 28px; display: flex; flex-direction: column; justify-content: center; }
.auth-story .eyebrow { color: #b5ceaa; font-size: 9px; }
.auth-story h2 { color: #f0f5e9; font-size: clamp(36px,4vw,49px); letter-spacing: -.05em; line-height: 1.12; margin: 12px 0 22px; }
.auth-story h2 span { color: var(--lime); }
.auth-story > p:not(.eyebrow) { max-width: 345px; font-size: 13px; line-height: 1.85; color: #c0d1c3; }
.auth-bike { display: block; width: 100%; height: auto; margin: 18px 0 8px; }
.auth-story-caption { color: #b5ceaa; text-align: center; font-size: 10px; letter-spacing: .4px; }
.auth-form { min-width: 0; padding: 48px 44px 36px; align-self: center; }
.auth-form > .eyebrow { margin-bottom: 10px; }
.auth-form h1 { font-size: 32px; margin: 0 0 28px; }
.auth-form > .row { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.auth-form > .row > div { flex: 0 0 auto; width: 100%; max-width: none; padding: 0; }
/* The default UI includes setup advice when no external providers are configured. */
.auth-form > .row > div:not(:has(form)) { display: none; }
.auth-form #account > h2, .auth-form #account > h3, .auth-form #account > hr { display: none; }
.auth-form #account .form-floating { margin-bottom: 18px !important; }
.auth-form .form-floating > .form-control { height: 58px; min-height: 58px; background: var(--surface); color: var(--ink); border-color: var(--line); border-radius: 8px; font-size: 14px; }
.auth-form .form-floating > label { color: var(--muted); font-size: 13px; padding-left: 13px; }
.auth-form .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent); }
.auth-form .checkbox { margin: 3px 0 22px; font-size: 12px; color: var(--muted); }
.auth-form .checkbox label { display: inline-flex; align-items: center; gap: 8px; }
.auth-form input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.auth-form #login-submit { min-height: 46px; margin-bottom: 22px; background: var(--accent); border-color: var(--accent); color: var(--surface); font-size: 13px; }
.auth-form #login-submit:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.auth-form #account > div:last-child { border-top: 1px solid var(--line); padding-top: 20px; }
.auth-form #account > div:last-child p { margin-bottom: 10px; font-size: 12px; }
.auth-form a { text-decoration-thickness: 1px; }
.auth-form .text-danger { font-size: 12px; }
.auth-form .validation-summary-valid { display: none; }
.auth-form .validation-summary-errors { margin-bottom: 20px; }
.auth-form #external-account { border-top: 1px solid var(--line); padding-top: 16px; }
.auth-form section > h3 { font-size: 16px; }
.auth-footer { padding: 8px 24px 26px; text-align: center; color: var(--muted); font-size: 11px; }
.auth-footer span { padding: 0 8px; }
@media(max-width:767.98px) {
    .auth-header { padding: 24px; }
    .auth-main { padding: 8px 20px 28px; align-items: start; }
    .auth-card { max-width: 480px; grid-template-columns: minmax(0,1fr); border-radius: 15px; }
    .auth-story { padding: 25px 28px; }
    .auth-story h2 { font-size: 32px; margin: 4px 0 0; }
    .auth-story .eyebrow { margin-bottom: 8px; font-size: 8px; }
    .auth-story > p:not(.eyebrow), .auth-bike, .auth-story-caption { display: none; }
    .auth-form { padding: 28px; }
    .auth-form h1 { font-size: 28px; margin-bottom: 24px; }
    .auth-footer { padding-bottom: 22px; }
}
@media(max-width:359.98px) {
    .auth-main { padding-left: 12px; padding-right: 12px; }
    .auth-story, .auth-form { padding: 22px; }
}
