[data-auth-flow] [hidden]{display:none!important}
.email-code-form{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border-primary)}
.email-code-form .form-control{width:100%;min-height:48px;font-size:16px}
.email-code-form .form-label{font-size:.875rem;margin-bottom:.4rem}
.email-auth-hint{font-size:.82rem;line-height:1.5;color:var(--text-secondary);margin:.6rem 0 1rem;overflow-wrap:anywhere}
.email-auth-hint strong{color:var(--text-primary);font-weight:500}
.email-auth-heading{font-size:1.15rem;margin:0 0 .5rem;color:var(--text-primary)}
.email-auth-captcha{display:flex;justify-content:center;min-height:78px;margin:1rem 0;overflow:hidden}
.email-auth-code{font-variant-numeric:tabular-nums;letter-spacing:.45em;text-align:center;font-size:1.5rem!important}
.email-auth-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid var(--border-primary);padding-top:1rem;margin-top:1rem}
.email-auth-footer .btn{min-height:44px;white-space:nowrap;font-size:.9rem;padding:.65rem 1rem}
.email-auth-error{color:var(--danger);font-size:.85rem;line-height:1.5;margin:.75rem 0;scroll-margin-bottom:6rem}
.email-auth-status{color:var(--text-secondary);font-size:.82rem;line-height:1.5;margin:.5rem 0}
.email-auth-status:empty{display:none}
.email-auth-text-button{padding:.35rem 0;border:0;background:transparent;color:var(--link-color);font:inherit;font-size:.82rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.email-auth-text-button:hover,.email-auth-text-button:active{color:var(--link-hover)}
.email-auth-text-button:disabled{color:var(--text-secondary);cursor:default;text-decoration:none}
[data-auth-flow] :is(input,button,a):focus-visible{outline:2px solid var(--accent-green);outline-offset:3px}
[data-auth-flow] .btn:hover{transform:none}
.hero-gate{inset:var(--auth-viewport-top,0px) 0 auto;height:var(--auth-viewport-height,100dvh);display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-gate-card[data-auth-flow]{flex:0 1 26rem;min-height:0;max-height:100%;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;animation:none}
.hero-gate-card[data-auth-flow] .hero-gate-quote{max-height:5rem;overflow:auto}
.hero-gate-card[data-auth-flow] .hero-gate-lead{font-size:.95rem}
.email-code-active .auth-head,.hero-gate-card.email-code-active > h2,.hero-gate-card.email-code-active > .hero-gate-lead{display:none}
.hero-gate-card.email-code-active .hero-gate-quote{display:none}
.email-auth-saved{display:none;color:var(--text-secondary);font-size:.82rem;margin:1rem 0 0}
.email-code-active .email-auth-saved{display:block}
.email-auth-saved i{color:var(--accent-green);margin-right:.4rem}
.hero-gate-card .email-auth-footer{position:sticky;bottom:0;z-index:1;background:var(--bg-secondary);padding-bottom:.5rem}
@media(max-width:400px){.hero-gate-card[data-auth-flow]{padding:1.1rem}.email-auth-footer{gap:.75rem}}
@media(prefers-reduced-motion:reduce){[data-auth-flow] *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
