/* Issue #328: the sign-in pages. Builds on /static/styles.css (the app's tokens, topbar, inputs, buttons). */
.auth-stage { display: grid; place-items: start center; padding: 44px 22px 40px; min-height: calc(100vh - 76px); }
.auth-card { width: 100%; max-width: 400px; display: grid; gap: 14px; }
.auth-card h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.auth-card .sub { margin: -6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.auth-card .sub strong { color: var(--ink); }
.auth-field { display: grid; gap: 5px; }
.auth-field label { margin: 0; }
.auth-field .lbl-row { display: flex; justify-content: space-between; align-items: baseline; }
.auth-field .lbl-row a { font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: none; }
.auth-field input { font: inherit; font-size: 14px; }
.auth-field input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.auth-field input.err { border-color: var(--bad); }
.auth-field .hint { font-size: 12px; color: var(--muted); }
.auth-field .hint.ok { color: var(--good); font-weight: 700; }
.auth-field .hint.no { color: var(--bad); font-weight: 700; }
.auth-check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink); font-weight: 500; }
.auth-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--brand); }
.auth-card button { width: 100%; padding: 10px 12px; font: inherit; font-weight: 800; font-size: 14px; }
.auth-alert { padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; border: 1px solid; }
.auth-alert.bad { background: #ffe0e0; border-color: #f3b4b4; color: var(--bad); }
.auth-alert.good { background: #dff5ea; border-color: #b6e3cb; color: var(--good); }
.auth-alert.warn { background: #fff8e8; border-color: #ffe1a1; color: #6f4500; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.auth-links a { color: var(--brand); font-weight: 700; text-decoration: none; }
.auth-links .muted { color: var(--muted); }
.auth-sent-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; }
.auth-card a.button { text-align: center; }
@media (max-width: 560px) {
  .topbar h1 { font-size: 17px; }
  .auth-stage { padding: 24px 12px; }
}
