.auth-screen { color:#07165f; background:#f5faff; }
.auth-screen main { max-width:none; width:100%; padding:0; margin:0; }
.login-screen .marketing-header { display:none; }
.auth-split { display:grid; grid-template-columns:minmax(0,44%) minmax(0,56%); min-height:100vh; }
.auth-story { position:relative; display:flex; flex-direction:column; min-height:800px; padding:clamp(30px,5vw,75px); color:#07165f; background:linear-gradient(180deg,#dff0ffdd 0%,#c9e6ff99 42%,#06193633 100%),url('/assets/whangarei-hero.jpg') center / cover; }
.auth-story>a img { width:clamp(180px,20vw,265px); height:auto; }
.auth-story-copy { max-width:580px; margin:clamp(65px,9vw,145px) 0 auto; }
.auth-story h1 { max-width:520px; margin:0 0 30px; font:800 clamp(3.4rem,5vw,5.6rem)/.96 Arial,sans-serif; letter-spacing:-.055em; }
.auth-story h1::after { content:''; display:block; width:65%; height:7px; margin-top:22px; border-radius:10px; background:#ffd627; transform:rotate(-2deg); }
.auth-story-copy p { font-size:clamp(1.2rem,1.8vw,1.6rem); line-height:1.35; }
.auth-story ul { list-style:none; padding:0; margin:45px 0 0; display:grid; gap:14px; font-size:1.1rem; font-weight:750; }
.auth-story li::before { content:'✓'; display:inline-grid; place-items:center; width:27px; height:27px; margin-right:13px; border-radius:50%; background:#fff; color:#0066f5; }
.auth-story-signoff { margin:34px 0 0; font:italic 1.5rem "Caveat Brush","Bradley Hand","Segoe Print",cursive; color:white; text-shadow:0 2px 3px #07165f; }
.auth-form-side { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:32px clamp(25px,5vw,90px); }
.auth-switch { align-self:flex-end; margin:0 0 22px; }
.auth-switch a { display:inline-block; margin-left:12px; padding:12px 25px; border:1px solid #0066f5; border-radius:12px; font-weight:800; text-decoration:none; color:#0066f5; }
.auth-form-card { width:min(610px,100%); padding:clamp(26px,4vw,50px); border-radius:22px; background:#fff; box-shadow:0 10px 35px #07165f0b; }
.auth-form-card [hidden] { display:none !important; }
.auth-form-card h2 { margin:0; color:#07165f; font:800 clamp(2.6rem,4vw,4rem)/1 Arial,sans-serif; letter-spacing:-.05em; }
.auth-form-card h2::after { content:''; display:block; width:42%; height:6px; margin:8px 0 14px; background:#ffd627; border-radius:10px; transform:rotate(-2deg); }
.auth-subtitle { margin:0 0 30px; color:#5468a4; font-size:clamp(1.2rem,1.7vw,1.5rem); line-height:1.35; }
.auth-form-card label { display:block; margin:18px 0 9px; font-weight:750; }
.auth-form-card input { width:100%; min-height:54px; border:1px solid #bcd7f8; border-radius:11px; padding:12px 17px; }
.auth-form-card .route-actions { margin-top:25px; }
.auth-form-card .route-actions .route-button { width:100%; background:#0066f5; border-radius:12px; font-size:1.1rem; }
.auth-forgot { display:block; margin:14px 0 0 auto; border:0; background:none; color:#0066f5; text-decoration:underline; cursor:pointer; }
.auth-divider { display:flex; align-items:center; gap:15px; margin:24px 0; color:#6676ab; text-align:center; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:#cbdcf5; }
.auth-form-card #facebook-sign-in { display:block; width:100%; }
.auth-join-card { display:grid; gap:4px; margin-top:28px; padding:20px; border-radius:14px; background:#eaf5ff; color:#07165f; text-decoration:none; }
.auth-join-card span { color:#0066f5; }
.auth-assurance { max-width:610px; margin:28px auto 0; text-align:center; color:#6478ad; }
.login-screen .route-footer { display:none; }
.signup-screen .auth-split { grid-template-columns:minmax(0,48%) minmax(0,52%); }
.signup-screen .auth-story { background-image:linear-gradient(180deg,#dff1fff0 0%,#dff1ff88 38%,#0619364a 100%),url('/assets/whangarei-hero.jpg'); }
.signup-screen .auth-story-copy { margin-top:clamp(60px,8vw,140px); }
.signup-screen .auth-form-side { padding-top:42px; padding-bottom:50px; }
.signup-screen .auth-form-card h2 { font-size:clamp(2.4rem,3.8vw,3.8rem); }
.signup-screen .auth-submit { display:block; width:100%; margin-top:22px; border-radius:12px; background:#0066f5; }
.signup-stepper { display:grid; grid-template-columns:repeat(4,1fr); padding:0; margin:28px 0; list-style:none; text-align:center; }
.signup-stepper li { color:#5369a9; font-weight:800; font-size:1.2rem; }
.signup-stepper li[aria-current] { color:#0066f5; }
.signup-stepper span { display:block; font-size:.75rem; }
.auth-help-link { display:block; width:min(610px,100%); margin:15px 0 0; padding:16px; border-radius:12px; background:#eaf5ff; text-align:center; color:#0066f5; font-weight:800; text-decoration:none; }
@media(max-width:800px) { .auth-split { grid-template-columns:1fr; } .auth-story { min-height:360px; padding:27px; background-image:linear-gradient(90deg,#e7f5fff2,#e7f5ffb0 68%,#e7f5ff52),url('/assets/whangarei-hero.jpg'); } .auth-story>a img { width:170px; } .auth-story-copy { margin:24px 0 0; } .auth-story h1 { font-size:clamp(2.7rem,7vw,4rem); } .auth-story-copy p { font-size:1.1rem; } .auth-story ul,.auth-story-signoff { display:none; } .auth-form-side { padding:24px 15px 45px; } .auth-switch { margin-bottom:18px; } }
@media(max-width:480px) { .auth-story { min-height:340px; } .auth-story h1 { max-width:300px; } .auth-form-card { padding:25px 19px; } .auth-switch a { padding:10px 16px; } }
@media(max-width:800px) { .signup-screen .auth-split { grid-template-columns:1fr; } .signup-screen .auth-story { min-height:310px; background-image:linear-gradient(90deg,#e7f5fff2,#e7f5ffb0 68%,#e7f5ff52),url('/assets/whangarei-hero.jpg'); } .signup-screen .auth-story-copy { margin-top:25px; } }
.account-screen [hidden] { display:none !important; }
.account-hero { min-height:270px; display:flex; align-items:center; padding:35px max(5vw,calc((100vw - 1200px)/2)); background:linear-gradient(90deg,#e8f6fff5,#e8f6ffd5 46%,#e8f6ff30),url('/assets/whangarei-hero.jpg') center 54%/cover; }
.account-hero>div { max-width:610px; }
.account-hero h1 { margin:6px 0 13px; font:800 clamp(2.8rem,5vw,4.7rem)/1 Arial,sans-serif; letter-spacing:-.05em; }
.account-hero p:last-child { font-size:1.25rem; }
.account-layout { width:min(1200px,calc(100% - 40px)); margin:30px auto 60px; align-items:start; }
.account-primary { padding:clamp(22px,3vw,36px); }
.account-primary h2 { margin:0 0 20px; color:#07165f; font-size:1.8rem; }
.account-primary label { display:block; margin:15px 0 7px; font-weight:800; }
.account-primary input { width:100%; min-height:50px; border:1px solid #bcd7f8; border-radius:10px; padding:10px 15px; }
.account-primary .detail-card { margin-top:20px; }
.account-layout aside .route-actions { display:grid; gap:10px; }
.account-layout aside .route-button-outline { text-align:center; }
@media(max-width:620px) { .account-hero { min-height:250px; padding:28px 22px; } .account-layout { width:calc(100% - 24px); margin-top:16px; } }

/* Account controls use readable type; handwritten headings remain on marketing cards. */
body.account-screen main :is(.account-primary, #member-dashboard, .account-recovery) :is(h2,h3) {
  font-family:var(--cb-font-body) !important; font-weight:700 !important;
  font-style:normal; letter-spacing:normal; line-height:1.3;
}
.account-screen #member-dashboard, .account-recovery {
  width:min(1200px,calc(100% - 40px)); margin:28px auto;
}
.account-recovery { padding:clamp(22px,3vw,36px); }
.account-recovery label { display:block; margin:16px 0 8px; font-weight:700; }
.account-recovery input { width:100%; min-height:52px; border:1px solid #bcd7f8; border-radius:10px; padding:12px 16px; }
.account-recovery form { max-width:560px; }
.account-recovery button[type="submit"] { margin-top:22px; padding:14px 24px; min-height:48px; }
.account-recovery a { display:inline-block; margin-top:12px; }
.account-primary #profile-form button[type="submit"] { margin-top:18px; }
@media(max-width:620px) { .account-screen #member-dashboard, .account-recovery { width:calc(100% - 24px); } }
