/* login.css: the signed-out sign-in card on the Next Round shell's fonts and tokens (Claude, Nov 5 2026). The shell is imported in a
   cascade layer, as on the app pages; app.py serves the shell's files to the signed-out page. */
@layer shell;
@import url("nr-shell.css?v=879f4d4d") layer(shell);

body.login-page { min-height: 100vh; min-height: 100dvh; background: var(--cream); }
.login-shell { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login-card { width: min(400px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px 28px 20px; }
.login-logo { display: block; width: 132px; height: auto; margin: 0 0 22px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .login-logo { content: url("logo-dark.png"); } }
:root[data-theme="dark"] .login-logo { content: url("logo-dark.png"); }
.login-card h1 { font: 600 24px/1.2 var(--font-head); letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.login-card .nr-titled { margin-left: -2px; }
.intro { margin: 4px 0 20px; color: var(--ink2); font-size: 15px; }
.nr-field { display: block; margin: 0 0 14px; }
.nr-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink2); }
.nr-input { margin-top: 6px; }
.error { display: flex; gap: 8px; align-items: baseline; margin: -6px 0 14px; font-size: 14px; color: var(--ink); }
.error::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); transform: translateY(-1px); }
.error[hidden] { display: none; }
.nr-input[aria-invalid="true"] { border-color: var(--ink); box-shadow: inset 2px 0 0 var(--orange); }
.nr-btn { width: 100%; min-height: 48px; }
.privacy-note { margin: 18px 0 0; font-size: 13px; color: var(--ink2); }
.card-footer { margin: 6px 0 0; font-size: 13px; color: var(--ink2); }
.card-footer a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
@media (max-width: 420px) { .login-card { padding: 22px 18px 16px; } }
/* Nov 12 2026 (phone bottom bar): the Nov 12 shell pads the foot of every phone page for its bottom bar; the sign-in page has no bar */
@media (max-width: 700px) { body.login-page { padding-bottom: 0; } }
/* Nov 10 2026 site audit (Claude): the last rule on purpose: asset-guard.js reads it to know this whole file arrived */
:root { --nr-page-css: 1; }
