/* Standalone authentication owns its viewport layout; homepage dialogs are separate. */
body.auth-screen{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.auth-screen .auth-main{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:2rem 1rem;background:radial-gradient(ellipse at 50% 35%,color-mix(in srgb,var(--pcb-green) 18%,transparent),transparent 65%)}
.auth-screen .auth-page{width:100%;max-width:28rem;margin:auto;padding:0}
.auth-screen .auth-card{padding:2rem;border:1px solid var(--border-primary);border-radius:22px;background:var(--bg-secondary)}
.auth-screen .auth-card::before{display:none}
.auth-brand-mark{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 auto 1.4rem;border:1px solid var(--border-accent);border-radius:16px;background:var(--bg-tertiary)}
.auth-brand-mark img{object-fit:contain}
.auth-screen .auth-head{margin-bottom:1.75rem}
.auth-eyebrow{font-size:.62rem;font-weight:600;letter-spacing:.16em;color:var(--link-color);margin:0 0 .65rem}
.auth-screen .auth-title{font-size:clamp(1.6rem,5vw,2rem);letter-spacing:-.045em;line-height:1.2;margin-bottom:.75rem}
.auth-screen .auth-subtitle{font-size:.875rem;line-height:1.65;color:var(--text-secondary)}
.auth-screen .auth-journey{margin:-.75rem 0 1.5rem;text-align:center;overflow-wrap:anywhere}
.auth-screen .auth-journey strong{font-weight:500;color:var(--text-primary)}
.auth-screen .email-code-active .auth-journey{margin:0 0 1.5rem;padding-bottom:1.25rem;border-bottom:1px solid var(--border-primary)}
.auth-screen .auth-consent{padding:0;border:0;background:none;gap:.85rem;margin-bottom:1.5rem}
.auth-screen .auth-consent .form-check-label{font-size:.8rem}
.auth-screen .form-check-input:not(:checked){background-color:var(--bg-tertiary);border-color:var(--border-primary)}
.auth-screen .auth-provider-btn{min-height:48px;border-radius:10px;font-weight:500}
.auth-screen .form-control{border-radius:10px}
.auth-screen .auth-form-links{margin-top:1.5rem;padding-top:1.25rem;gap:.4rem;font-size:.8rem;line-height:1.5;color:var(--text-secondary)}
.auth-screen .auth-form-links .link{color:var(--link-color);font-size:inherit;gap:.5rem}
.auth-screen .auth-form-links .link:hover{color:var(--link-hover)}
.auth-screen .email-code-active .email-code-form{border-top:0;padding-top:0;margin-top:0}
.auth-screen .email-auth-heading{font-size:1.65rem;letter-spacing:-.035em;text-align:center;margin-bottom:.75rem}
.auth-screen [data-code-step]>.email-auth-hint:first-of-type{text-align:center;margin-bottom:1.5rem}
.auth-screen .email-auth-footer .btn{border-radius:9px}
.auth-page-footer{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1rem 2rem;padding:1.25rem;font-size:.75rem;color:var(--text-secondary)}
.auth-page-footer nav{display:flex;gap:1.25rem}
.auth-page-footer a{color:var(--text-secondary);text-decoration:none}
.auth-page-footer a:hover{color:var(--link-hover)}
.auth-screen :is(a,button,input):focus-visible{outline:2px solid var(--accent-green);outline-offset:3px}
@media(max-width:480px){.auth-screen .auth-main{padding:1.25rem 1rem}.auth-screen .auth-card{padding:1.5rem 1.25rem;border-radius:18px}.auth-brand-mark{margin-bottom:1.1rem}.auth-page-footer{font-size:.7rem;gap:.75rem;padding:1rem}.auth-screen .auth-head{margin-bottom:1.4rem}}
@media(max-height:650px){.auth-screen .auth-main{padding-top:1rem;padding-bottom:1rem}}
