/* Presentation only. Keep all existing authentication nodes and handlers. */
#authGate{align-items:start!important;overflow-y:auto;padding:24px 16px!important}
#authGate .auth-flyer-card{display:flex!important;flex-direction:column!important;gap:0!important;width:min(660px,100%)!important;max-width:660px!important;padding:0!important;margin:0 auto!important;overflow:hidden!important;background:linear-gradient(130deg,#f7fafc,#deedf4)!important;border:1px solid #344955!important;border-radius:22px!important;color:#243641!important}
#authGate .auth-flyer-art{order:0;position:relative;width:100%;aspect-ratio:1080/1000;overflow:hidden;flex:none}
#authGate .auth-flyer-art img{display:block;width:100%;height:auto;max-width:none;max-height:none}
#authGate .auth-mascot{display:none!important}
#authGate .auth-content{order:1;width:100%;padding:4px 42px 0!important;border-left:12px solid #2ca7d7;box-sizing:border-box;text-align:center}
#authGate .auth-brand-header{order:2;display:flex!important;justify-content:center!important;width:100%;padding:0 24px 24px!important;margin:0!important;border:0!important;border-left:12px solid #2ca7d7!important}
#authGate .auth-brand-identity{display:none!important}
#authGate .auth-affiliation{margin:0!important;color:#314954!important;background:transparent!important;border:1px solid #bdcdd5!important;border-radius:9px!important;padding:8px 12px!important}
#authGate .auth-affiliation *{color:inherit}
#authGate .auth-affiliation-network{font-size:12px!important}
#authGate .auth-affiliation-label{font-size:10px!important}
#authGate .auth-benefits{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
#authGate .auth-provider{width:100%!important;background:#087db5!important;color:#fff!important;border:0!important;border-radius:10px!important;min-height:50px;padding:14px 20px!important;font-size:16px!important;box-shadow:0 5px 15px #0073a41c!important}
#authGate .auth-provider:hover{background:#086b99!important}
#authGate .auth-provider:disabled{opacity:.6}
#authGate .auth-privacy-note,#authGate .auth-existing-note,#authGate .auth-divider{color:#566a77!important}
#authGate .auth-privacy-note{font-size:12px!important;line-height:1.5!important;max-width:360px;margin:12px auto!important}
#authGate .auth-existing-note{font-size:14px!important;margin:15px 0 20px!important}
#authGate .auth-inline-link{color:#006b9e!important;text-underline-offset:3px}
#authGate .auth-message{color:#9c2432!important;overflow-wrap:anywhere}
#authGate #authExistingView h1,#authGate #authInviteView h1{color:#243641!important;font-size:28px!important}
#authGate #authExistingView p,#authGate #authInviteView p,#authGate #authForm label{color:#435b69!important}
#authGate #authForm input{background:white!important;color:#243641!important;border:1px solid #a8bcc8!important}
#authGate a:focus-visible,#authGate button:focus-visible,#authGate input:focus-visible{outline:3px solid #25a5d4!important;outline-offset:4px}
@media(max-width:480px){#authGate{padding:0!important}#authGate .auth-flyer-card{border:0!important;border-radius:0!important}#authGate .auth-content{padding:8px 22px 0!important;border-left-width:7px}#authGate .auth-brand-header{border-left-width:7px!important}#authGate .auth-provider{font-size:15px!important}}

#authGate .auth-card #authWelcomeTitle{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;white-space:normal!important;color:#243641!important;font:750 clamp(1.25rem,4vw,1.65rem)/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.025em!important;margin:6px 0 18px!important;padding:0!important}
@media(max-width:480px){#authGate .auth-flyer-art{aspect-ratio:1080/800}#authGate .auth-flyer-art img{transform:scale(.8);transform-origin:top center}#authGate .auth-card #authWelcomeTitle{margin:4px 0 14px!important}#authGate .auth-existing-note{margin:12px 0 16px!important}}

/* iPhone: preserve the flyer's full width instead of scaling it into gutters. */
#authGate .auth-message:empty{display:none!important}
@media(max-width:480px){
 #authGate .auth-flyer-card{min-height:0!important}
 #authGate .auth-flyer-art{aspect-ratio:1080/1000}
 #authGate .auth-flyer-art img{transform:none}
 #authGate .auth-content{padding:12px 20px 0!important;min-height:0!important}
 #authGate .auth-card #authWelcomeTitle{max-width:24ch;margin:0 auto 14px!important;font-size:22px!important;line-height:1.15!important;text-wrap:balance}
 #authGate .auth-privacy-note{margin:10px auto!important}
 #authGate .auth-existing-note{margin:12px 0 16px!important}
 #authGate .auth-brand-header{padding:0 20px 18px!important;min-height:0!important}
}

#authGate #authWelcomeView .auth-existing-note,#authGate #authWelcomeView .auth-existing-note a{font-size:7px!important}

@font-face{font-family:"Lato Login";src:url("/fonts/lato/Lato-Italic.ttf") format("truetype");font-style:italic;font-weight:400;font-display:swap}
#authGate #authWelcomeView .auth-privacy-note{font-family:"Lato Login",Arial,sans-serif!important;font-style:italic!important;font-weight:400!important;color:#708390!important;max-width:none!important;white-space:nowrap;font-size:12px!important;letter-spacing:0!important}
@media(max-width:480px){#authGate #authWelcomeView .auth-privacy-note{font-size:clamp(7px,2.15vw,10px)!important}}

#authGate .auth-signup-detail{color:#526c7a!important;font:400 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;margin:4px 0!important}
#authGate #authWelcomeView .auth-signup-detail:last-of-type{margin-bottom:12px!important}
.subscription-promo-offer{background:var(--panel,#163846);padding:16px;border-radius:12px;margin:16px 0}
.subscription-promo-offer p{margin:6px 0}
.subscription-gate-card .signup-progress{font-size:12px;color:var(--cg-text-muted,#9fb8c5);margin-bottom:12px}
.subscription-plan-choices{border:0;padding:0;margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.subscription-plan-choices legend{margin-bottom:8px}
.subscription-plan-choices label{display:flex;align-items:center;gap:12px;border:1px solid var(--cg-border,#456271);border-radius:12px;padding:16px;cursor:pointer}
.subscription-plan-choices label:has(input:checked){border:2px solid var(--cg-accent,#38a8d4);padding:15px;background:var(--cg-info-soft,#163846)}
.subscription-plan-choices strong,.subscription-plan-choices small{display:block}
.subscription-gate-card .subscription-promo-offer{background:var(--cg-info-soft,#163846);color:var(--cg-text,#e2eaee)}
#legalGate .signup-next-step,.onboarding-connection-help{font-size:14px;line-height:1.5;margin:16px 0}
@media(max-width:360px){.subscription-plan-choices{grid-template-columns:1fr}}
