@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');
.auth-screen { min-height: 100dvh; display: flex; flex-direction: column; background: #fff; color: #252526; font-family: 'DM Sans', Arial, sans-serif; }



.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 100px; width: min(1040px, calc(100% - 80px)); margin: auto; padding: 84px 0 100px; }
.auth-overline { margin: 0 0 20px; color: #89898c; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.auth-intro h1 { margin: 0; font: 500 clamp(44px, 5vw, 66px)/1.06 'Source Serif 4', Georgia, serif; letter-spacing: -.045em; }
.auth-intro h1 span { color: #790a21; }
.auth-intro-copy { max-width: 350px; margin: 27px 0 0; color: #77777c; font: 400 18px/1.65 'Source Serif 4', Georgia, serif; }
.auth-reading-line { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.auth-reading-line > span { display: grid; place-items: center; width: 42px; height: 42px; background: #f6e9ec; color: #790a21; font-size: 25px; }
.auth-reading-line p { margin: 0; color: #737378; font-size: 12px; line-height: 1.8; }
.auth-panel { padding: 32px 0; }
.auth-panel .auth-overline { margin-bottom: 12px; }
.auth-panel h2 { margin: 0; font: 500 36px/1.2 'Source Serif 4', Georgia, serif; letter-spacing: -.035em; }
.auth-panel-copy { margin: 12px 0 32px; color: #77777c; font-size: 13px; }
.auth-form { display: grid; gap: 22px; }
.auth-field { display: grid; gap: 9px; }
.auth-field label { font-size: 12px; font-weight: 600; }
.auth-field input { width: 100%; height: 48px; padding: 12px 14px; border: 1px solid #dedee0; border-radius: 4px; background: #fff; color: #252526; font-size: 14px; }
.auth-field input::placeholder { color: #a3a3a8; }
.auth-field input:focus { border-color: #790a21; outline: 2px solid #f2e4e7; outline-offset: 1px; }
.auth-field-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-field-heading a { color: #790a21; font-size: 11px; }
.auth-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; margin-top: 5px; padding: 0 17px; border: 0; border-radius: 4px; background: #790a21; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-submit:hover { background: #59000f; }
.auth-submit span { font-size: 17px; }
.auth-register { margin: 24px 0 0; color: #77777c; font-size: 12px; }
.auth-register a { color: #790a21; font-weight: 600; }
.auth-confirmation { display: inline-block; margin-top: 15px; color: #77777c; font-size: 11px; }
.auth-panel a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-remember { display: flex; align-items: center; gap: 8px; color: #77777c; font-size: 12px; }
.auth-field-error { color: #790a21; font-size: 12px; line-height: 1.5; }
.auth-field-error p { margin: 0; }
.auth-field-hint { margin: 0; color: #77777c; font-size: 11px; line-height: 1.5; }
.auth-consent { display: flex; align-items: flex-start; gap: 10px; color: #737378; font-size: 12px; line-height: 1.7; }
.auth-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 3px 0 0; accent-color: #790a21; }
.auth-consent a { color: #790a21; text-decoration: underline; text-underline-offset: 3px; }
.auth-account-note { margin: 20px 0 0; color: #77777c; font-size: 11px; line-height: 1.7; }
.auth-screen a:focus-visible, .auth-screen button:focus-visible, .auth-consent input:focus-visible { outline: 2px solid #790a21; outline-offset: 4px; }
.auth-policy { width: min(720px, calc(100% - 80px)); margin: 0 auto; padding: 48px 0 80px; flex: 1; }
.auth-back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 48px; color: #77777c; font-size: 12px; }
.auth-policy .auth-overline { margin-bottom: 16px; }
.auth-policy h1 { margin: 0; font: 500 clamp(36px, 5vw, 48px)/1.15 'Source Serif 4', Georgia, serif; letter-spacing: -.035em; }
.auth-policy > p { color: #737378; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.auth-policy > .auth-overline { font-size: 10px; line-height: 1.5; }
.auth-policy > .auth-policy-notice { margin: 20px 0 28px; padding: 12px 16px; border-left: 2px solid #790a21; background: #faf4f6; color: #790a21; font-size: 12px; }
.auth-policy h2 { margin: 32px 0 12px; color: #252526; font: 500 24px/1.3 'Source Serif 4', Georgia, serif; letter-spacing: -.025em; }
.auth-policy strong { color: #252526; font-weight: 500; }
.auth-policy-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #e8e8e8; color: #790a21; font-size: 12px; }
.auth-policy a:hover { text-decoration: underline; text-underline-offset: 3px; }
.auth-messages .flashes { margin: 0 0 22px; padding: 14px 16px; list-style: none; border-left: 2px solid #790a21; background: #faf4f6; color: #790a21; font-size: 12px; line-height: 1.6; }
.auth-messages .flashes:has(> li.success) { border-left-color: #287a45; background: #f1f8f3; color: #246b3d; }
.auth-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 30px; border-top: 1px solid #e8e8e8; color: #89898c; font-size: 10px; }
.auth-footer nav { display: flex; gap: 22px; }
.auth-status { width: min(520px, calc(100% - 40px)); margin: auto; padding: 72px 0 84px; }
.auth-status-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 50%; background: #faf4f6; color: #790a21; }
.auth-status .auth-overline { margin-bottom: 14px; }
.auth-status h1 { margin: 0; font: 500 clamp(36px, 5vw, 48px)/1.15 'Source Serif 4', Georgia, serif; letter-spacing: -.035em; }
.auth-status h1 > span { color: #790a21; }
.auth-status-copy { margin: 20px 0 28px; color: #737378; font-size: 14px; line-height: 1.85; }
.auth-status-details { margin: 0; padding: 8px 0; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; font-size: 13px; line-height: 1.6; }
.auth-status-details > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; }
.auth-status-details dt { flex-shrink: 0; color: #737378; }
.auth-status-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.auth-status-verified { color: #246b3d; }
.auth-status-verified > span { margin-left: 5px; }
.auth-status-hint { margin: 20px 0 0; color: #737378; font-size: 12px; line-height: 1.75; }
.auth-status-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.auth-status-actions .auth-submit { width: 180px; margin: 0; }
.auth-status-logout { padding: 8px 0; border: 0; background: transparent; color: #737378; font-size: 13px; cursor: pointer; }
.auth-status-logout:hover { color: #790a21; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 650px) { .auth-status { padding: 48px 0; } .auth-status-details > div { gap: 12px; } }
@media (max-width: 850px) { .auth-layout { grid-template-columns: 1fr 340px; gap: 48px; } .auth-intro h1 { font-size: 48px; } }
@media (max-width: 650px) {  .auth-layout { grid-template-columns: 1fr; width: min(380px, calc(100% - 40px)); gap: 36px; padding: 48px 0; } .auth-intro h1 { font-size: 38px; } .auth-intro-copy, .auth-reading-line { display: none; } .auth-intro .auth-overline { margin-bottom: 16px; } .auth-panel { padding: 0; } .auth-footer { padding: 20px; align-items: flex-start; } .auth-footer > span { max-width: 200px; line-height: 1.6; } }
@media (max-width: 650px) { .auth-policy { width: calc(100% - 40px); padding: 32px 0 48px; } .auth-back-link { margin-bottom: 32px; } }
