.auth-page { min-height: 100vh; background: var(--color-background); }
.auth-page [hidden] { display: none !important; }
#captcha-box { margin: 20px 0; }
#resend-email { border: 0; background: var(--color-transparent); color: var(--color-text); padding: 16px 0 0; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.auth-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; }
.auth-header .logo { font-size: 36px; }
.auth-header > a:last-child { font-size: 12px; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; gap: 65px; align-items: center; padding: 35px 0 70px; }
.auth-story { padding: 35px; background: var(--color-sage); border-radius: 24px; }
.auth-story h1 { font-size: 46px; }
.auth-story p { color: var(--color-muted); }
.auth-story img { display: block; width: 80%; max-height: 240px; margin: 25px auto 0; }
.auth-card { padding: 35px; border: 1px solid var(--color-border); border-radius: 20px; background: var(--color-surface); }
.auth-card h2 { font-size: 25px; line-height: 1.2; margin: 25px 0 10px; }
.auth-card > p { font-size: 13px; color: var(--color-muted); }
.auth-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 10px; background: var(--color-accent-soft); }
.auth-tabs button { flex: 1; padding: 12px 8px; border: 0; border-radius: 7px; background: var(--color-transparent); color: var(--color-text); font-size: 12px; }
.auth-tabs button[aria-pressed="true"] { background: var(--color-accent); font-weight: 700; }
.auth-card form > label { display: grid; gap: 9px; margin: 20px 0; font-size: 12px; font-weight: 600; }
.auth-card input { width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); color: var(--color-text); }
.password-field { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 8px; }
.password-field input { border: 0; }
.password-field button { padding: 10px; border: 0; border-radius: 7px; background: var(--color-transparent); color: var(--color-muted); font-size: 11px; }
.auth-submit { width: 100%; justify-content: center; margin-top: 10px; }
.auth-submit:disabled { opacity: .65; cursor: wait; }
.auth-card .auth-feedback { padding: 12px; border-radius: 8px; background: var(--color-error-background); color: var(--color-error); }
.auth-card .auth-footnote { margin-top: 22px; font-size: 11px; }
#password-help { color: var(--color-muted); font-size: 11px; margin-top: -12px; }
.access-denied { max-width: 570px; width: calc(100% - 32px); margin: 80px auto; }
.access-denied .eyebrow { margin-top: 35px; }
.access-denied h1 { font-size: 34px; }
.required-mark { color: var(--color-error); }
.auth-card form > label { display: block; }
.auth-card form > label > input, .auth-card form > label > .password-field { margin-top: 9px; }
#registration-photo { margin-top: 24px; font-size: 12px; font-weight: 600; }
.optional, .photo-upload small { color: var(--color-muted); font-weight: 400; }
.photo-upload { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.photo-upload img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; background: var(--color-sage); }
.photo-upload > div { min-width: 0; flex: 1; }
.photo-upload input { padding: 8px; font-size: 11px; }
.photo-upload small { display: block; margin-top: 6px; }
#remove-photo { margin-top: 8px; border: 0; background: var(--color-transparent); color: var(--color-text); text-decoration: underline; }
.registration-information { border: 1px solid var(--color-border); border-radius: 10px; margin: 12px 0; font-size: 12px; }
.registration-information summary { padding: 13px; cursor: pointer; font-weight: 600; }
.terms-copy { padding: 0 14px 12px; line-height: 1.65; }
.terms-copy p { margin: 10px 0; }
.terms-consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; font-size: 12px; line-height: 1.6; cursor: pointer; }
.auth-card .terms-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; padding: 0; accent-color: var(--color-text); }
.terms-version { font-size: 11px; color: var(--color-muted); }
@media(max-width:700px) { .auth-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 15px; } .auth-story { padding: 24px; } .auth-story h1 { font-size: 34px; } .auth-story img { display: none; } .auth-header .logo { font-size: 29px; } .auth-card { padding: 25px; } }
