/* signin.html — only what the mockup's sign-in block (styles.css .signin/.si-card/…) lacks. Tokens only. */

/* The mockup sign-in has no top bar: Shell.mount still runs (offline banner, density,
   service worker) but its wordmark-only header would duplicate the card's wordmark. */
body[data-page="signin"] .topbar { display: none; }

/* success / info line (the error line is styles.css .gate-err) */
.si-card .si-note { color: var(--accent); font-size: var(--t-xs); text-align: center; }
.si-card .si-note:empty, .si-card .gate-err:empty { display: none; }

/* mode heading for the non-default forms (create password, reset, old password…) */
.si-card .si-mode { font-size: var(--t-sm); color: var(--ink-2); text-align: center; margin: 0; }

.si-card .btn.primary[disabled] { opacity: 0.55; cursor: progress; }
.si-card .linkbtn:hover { color: var(--ink); }


/* register.html (Oct 26 2026): the sign-up card is a form of labelled fields */
.reg-card { max-width: 420px; }
.reg-card .field { display: grid; gap: 4px; }
.reg-card .field label { font-size: var(--t-2xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.reg-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reg-card .hint { font-size: var(--t-xs); color: var(--ink-3); min-height: 1em; }
.reg-card .hint.ok { color: var(--accent); }
.reg-card .hint.bad { color: var(--loss); }
.reg-card .input[disabled] { opacity: 0.6; }
/* the Slate's landing (index.html, signed out) reuses the card; it sits outside .app */
.landing { min-height: 100vh; min-height: 100dvh; }
.landing .si-card .btn { text-decoration: none; }
