:root{color-scheme:light;--auth-ink:#203c34;--auth-green:#21624f;--auth-terracotta:#c98973;--auth-muted:#74827a;--auth-line:#dde5df}
*{box-sizing:border-box}
body.login{margin:0;background:#f6f7f3;color:var(--auth-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}
.auth-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.auth-main{flex:1;display:grid;place-items:center;padding:32px 20px}
.auth-card{width:min(420px,100%);padding:34px 36px;background:#fff;border:1px solid #e0e6df;border-radius:18px;box-shadow:0 8px 32px #283e3009}
.auth-brand{display:flex;flex-direction:column;align-items:center;text-align:center;padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid #edf0eb}
.auth-brand img{display:block;width:72px;height:72px;object-fit:contain;margin-bottom:12px}
.auth-school-caption{font-size:13px;line-height:20px;color:var(--auth-muted)}
.auth-school-name{margin-top:2px;font-size:20px;line-height:28px;font-weight:500;letter-spacing:.1px}
.auth-card h1{margin:0 0 12px;font-size:27px;line-height:1.25;font-weight:650;letter-spacing:-.5px;text-align:center}
.auth-card p{font-size:15px;line-height:1.65;color:var(--auth-muted);margin:0 0 14px}
.auth-card form{display:flex;flex-direction:column;margin-top:26px}
.auth-card label{display:block;font-size:14px;line-height:1.5;font-weight:500;margin-bottom:8px}
.auth-card input{display:block;width:100%;font:inherit;font-size:15px;line-height:22px;height:46px;padding:11px 12px;border:1px solid var(--auth-line);border-radius:7px;background:#fbfcfa;color:var(--auth-ink);margin:0 0 20px;transition:border-color .15s,box-shadow .15s}
.auth-card input[type=hidden]{display:none}
.auth-card input::placeholder{color:#99a39b}
.auth-card input:focus-visible{outline:none;border-color:#608d76;box-shadow:0 0 0 3px #21624f12;background:#fff}
.auth-card input[aria-invalid=true]{border-color:#bd7c65}
.auth-card .primary{display:block;width:100%;height:46px;padding:11px 18px;border:1px solid var(--auth-green);border-radius:7px;background:var(--auth-green);color:#fff;font:inherit;font-size:15px;font-weight:600;text-align:center;text-decoration:none;cursor:pointer;transition:background .15s,box-shadow .15s}
.auth-card .primary:hover{background:#194c3d;box-shadow:0 3px 9px #21624f1a}
.auth-card button:focus-visible,.auth-card a:focus-visible{outline:2px solid var(--auth-terracotta);outline-offset:4px}
.auth-link{display:block;width:fit-content;margin:20px auto 0;color:#6c746b;text-align:center;font-size:14px;line-height:1.5;text-decoration:none;text-underline-offset:4px}
.auth-link:hover{color:var(--auth-green);text-decoration:underline}
.auth-errors{color:#a15b45;font-size:14px;line-height:1.5;margin-bottom:18px}
.auth-errors ul,.auth-help ul{padding-left:18px;margin:0}
.auth-help{color:var(--auth-muted);font-size:13px;line-height:1.5;margin:-8px 0 20px}
.auth-login-button{margin-top:24px}
.auth-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;padding:0 20px 22px;font-size:12px;line-height:1.6;text-align:center;color:#849087}
.auth-preview-note{padding:10px 12px;margin:0 0 22px;border:1px solid #eadbce;border-radius:7px;color:#876a58;background:#fcf8f3;font-size:12px;line-height:1.6}
.auth-card input:disabled,.auth-card button:disabled{cursor:default;opacity:.8}
@media(max-width:480px){.auth-main{padding:22px 16px}.auth-card{padding:28px 24px}.auth-footer{padding:0 16px 18px}.auth-footer>span{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
