/* Sign up and sign in: one centred card in the Whozit system (tokens and fonts come from app.css). */
body.auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.auth main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: clamp(24px, 8vh, 80px) 16px 48px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: clamp(2.25rem, 8vw, 3.25rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.auth-card h1 .q { color: var(--blue); }
.auth-card .lede { color: var(--muted); font-size: 1.0625rem; margin: 12px 0 24px; max-width: 40ch; }
.auth-card form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .875rem; }
.field input { width: 100%; font-size: 1rem; min-height: 46px; }
.field .hint { color: var(--muted); font-size: .8125rem; }
.auth-card .btn { width: 100%; min-height: 48px; font-size: 1rem; margin-top: 4px; }
.auth-card .btn:disabled { cursor: progress; }
.auth-note { background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0 0 18px; font-size: .9375rem; }
.auth-done h2 { margin: 0; font-size: 1.5rem; }
.auth-done .hint { color: var(--muted); font-size: .8125rem; }
.auth-err { color: var(--bad); min-height: 1.5em; font-size: .9375rem; }
.auth-err:empty { display: none; }
.auth-alt { margin-top: 22px; color: var(--muted); }
.auth-alt a { color: var(--fg); font-weight: 600; }
.auth-alt a:hover { color: var(--blue); }
.auth-home { margin-top: 10px; font-size: .875rem; }
.field label.check { font-weight: 400; }
.field input[type=checkbox] { width: 18px; min-height: 0; }
.consent-line { margin-top: 16px; color: var(--muted); font-size: .8125rem; max-width: 52ch; }
.consent-line a { color: var(--fg); }
.auth-forgot { margin: -4px 0 0; font-size: .875rem; }
.auth-forgot a { color: var(--fg); }
.auth-forgot a:hover { color: var(--blue); }
.auth-gap { margin-top: 24px; }
.auth-fine { margin-top: 16px; color: var(--muted); font-size: .8125rem; max-width: 52ch; }
.auth-fine a { color: var(--fg); }
