/* Sign-in pages (login.html, magic.html). A static file so those pages need no inline <style> under the CSP. */
.auth-wrap{max-width:26rem;margin:10vh auto;padding:0 16px}
.auth-card{padding:1.5rem;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:12px}
.auth-card h1{font-size:1.35rem;margin:0 0 .25rem}
.auth-card p{margin:.5rem 0}
.auth-or{margin:1.25rem 0;text-align:center;opacity:.7;font-size:.9rem}
.auth-card label{display:block;font-weight:600;margin-bottom:.35rem}
.auth-card input[type=email]{width:100%;box-sizing:border-box;padding:.55rem .65rem;font:inherit;border-radius:8px;
  border:1px solid color-mix(in srgb,currentColor 30%,transparent);background:transparent;color:inherit}
.auth-btn{display:block;width:100%;box-sizing:border-box;margin-top:.75rem;padding:.6rem .8rem;font:inherit;
  font-weight:600;text-align:center;text-decoration:none;border-radius:8px;cursor:pointer;
  border:1px solid color-mix(in srgb,currentColor 30%,transparent);background:transparent;color:inherit}
.auth-btn.primary{background:#2457c5;border-color:#2457c5;color:#fff}
.auth-btn[disabled]{opacity:.6;cursor:progress}
.auth-note{font-size:.9rem;opacity:.8}
.auth-flash{padding:.6rem .75rem;border-radius:8px;border:1px solid color-mix(in srgb,currentColor 25%,transparent)}
/* auth.py _page (signed out, sign-in errors): plain page without the console stylesheet */
body.auth-plain{font-family:Manrope,system-ui,sans-serif;max-width:40rem;margin:4rem auto;padding:0 1rem;line-height:1.5;color:#1b1f24;background:#fff}
body.auth-plain h1{font-size:1.4rem}
@media (prefers-color-scheme:dark){body.auth-plain{color:#e6e8eb;background:#14171b}body.auth-plain a{color:#8ab4ff}}
