/* Sign-in page, in the same Propel-style look as the dashboard (see DESIGN.md). */
@font-face { font-family: "Inter"; src: url("/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: light dark;
  --bg-canvas: oklch(0.9821 0 0); --bg-surface: #fff; --border-subtle: oklch(0.9396 0.0017 247.84); --border-subtle-1: oklch(0.9123 0.0017 247.84); --border-strong: oklch(0.8782 0.0035 247.86);
  --txt-primary: oklch(0.1689 0.0021 286.18); --txt-secondary: oklch(0.3225 0.0045 219.62); --txt-tertiary: oklch(0.4176 0.0072 239.98); --txt-placeholder: oklch(0.4928 0.0079 233.77);
  --accent: oklch(0.4799 0.1158 242.91); --accent-hover: oklch(0.4347 0.104 242.48); --txt-on-accent: #fff;
  --danger-subtle: oklch(0.9503 0.0186 21.57); --txt-danger: oklch(0.4754 0.1647 28.98);
}
@media (prefers-color-scheme: dark) { :root {
  --bg-canvas: oklch(0.1689 0.0021 286.18); --bg-surface: oklch(0.1917 0.002 286.21); --border-subtle: oklch(0.2593 0.0033 230.84); --border-subtle-1: oklch(0.3011 0.0041 230.85); --border-strong: oklch(0.3415 0.0049 230.86);
  --txt-primary: oklch(0.9235 0.0017 230.69); --txt-secondary: oklch(0.8455 0.0035 230.72); --txt-tertiary: oklch(0.7655 0.0054 230.76); --txt-placeholder: oklch(0.6835 0.0074 230.81);
  --accent: oklch(0.6311 0.1263 238.01); --accent-hover: oklch(0.7008 0.1145 235.29); --txt-on-accent: oklch(0.1689 0.0021 286.18);
  --danger-subtle: oklch(0.2437 0.0729 27.55); --txt-danger: oklch(0.791 0.0874 23.59);
} }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--bg-canvas); color: var(--txt-primary); font: 450 14px/1.54 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.box { width: 100%; max-width: 360px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 24px; }
h1 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.2; }
.sub { margin: 6px 0 20px; color: var(--txt-tertiary); font-size: 13px; }
.foot { margin: 20px 0 0; color: var(--txt-tertiary); font-size: 12px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--txt-secondary); }
input { font: inherit; font-size: 14px; height: 32px; padding: 0 10px; border: 1px solid var(--border-subtle-1); border-radius: 6px; background: var(--bg-surface); color: var(--txt-primary); caret-color: var(--accent); }
input:hover { border-color: var(--border-strong); }
input:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; }
button { font: inherit; font-size: 13px; font-weight: 500; height: 32px; margin-top: 4px; border: 0; border-radius: 6px; background: var(--accent); color: var(--txt-on-accent); cursor: pointer; transition: background-color 200ms ease-out; }
button:hover { background: var(--accent-hover); }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.err { margin: 0 0 16px; padding: 8px 12px; border-radius: 8px; background: var(--danger-subtle); color: var(--txt-danger); font-size: 13px; font-weight: 500; }
