.public-space{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.public-space>main{flex:1;display:flex;flex-direction:column}
.public-space .auth-shell{flex:1;min-height:0}
.public-space .auth-story{min-height:0;padding:32px 9%}
.public-space .story-body{padding:30px 0}
.public-space .story-body h1{font-size:clamp(1.8rem,2.6vw,2.45rem);line-height:1.3}
.public-space .math-illustration{margin-top:24px;padding-top:20px}
.public-space .auth-form{padding:32px 40px}
.auth-intro{font-size:.9rem;line-height:1.65;max-width:430px}
.auth-form form{margin-top:24px}
.contact-footer{padding:16px 24px;text-align:center;border-top:1px solid var(--line);background:white;color:var(--muted);font-size:.75rem;line-height:1.6}
.contact-footer p{margin:0}
.contact-footer p+p{margin-top:4px}
.contact-footer strong{font-weight:600}
.standalone{width:min(100%,580px)}
.account-field{margin:20px 0}
.field-help{font-size:.8rem;color:var(--muted);line-height:1.55;margin:6px 0 0}
.password-field{position:relative}
.password-field input{padding-right:76px}
.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);min-height:40px;min-width:58px;border:0;border-radius:5px;background:transparent;color:var(--blue);font-size:.8rem;font-weight:600;padding:6px 10px}
.password-toggle:hover{background:#edf3ff}
.password-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:0}
.request-received{margin:20px auto}
.request-steps{padding-left:24px;margin:28px 0}
.request-steps li{padding-left:8px;margin-bottom:22px}
.request-steps p{margin:6px 0;color:var(--muted)}
.error-card{width:calc(100% - 32px);max-width:560px;margin:64px auto;padding:40px 28px}
.notice.warning{background:#fff8e8;border-color:#ecd49e;color:#664918}
.notice.info{background:#edf3ff;border-color:#cbdaf6;color:#244b83}
.student-notification{display:block;font-size:.75rem;color:var(--muted);margin-top:5px}
@media(max-width:850px){.public-space .auth-story{padding:28px 7%}.public-space .auth-form{padding:30px 24px}}
@media(max-width:600px){.public-space .auth-shell{flex:initial}.public-space .auth-story{padding:22px 25px}.public-space .story-body{padding:12px 0 0}.public-space .story-body h1{margin:0;font-size:1.5rem}.public-space .auth-form{padding:28px 25px}.contact-footer{padding:16px 20px}.error-card{margin:28px auto}.standalone{margin:24px auto}}

.auth-form label.remember-device { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.auth-form .remember-device input { width: 1rem; height: 1rem; margin: 0; flex: none; }
