/* Kai OS login: the dashboard's data-terminal tokens, one column, nothing else. System fonts so the page loads with no outside call. */
:root { --ground: #171719; --surface: #131217; --border: #222224; --control: #3a3a3e; --text: #fff; --muted: #8a8c92; --accent: #4a8ad6; --negative: #e5566f; --primary: #fff; --primary-ink: #000; }
@media (prefers-color-scheme: light) {
  :root { --ground: #f9fafb; --surface: #fff; --border: #e8e8e8; --control: #d1d5db; --text: #111; --muted: #5f6368; --accent: #2f6fbf; --negative: #c4242a; --primary: #1d1f20; --primary-ink: #fff; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; background: var(--ground); color: var(--text); font: 14px/20px system-ui, -apple-system, "Segoe UI", sans-serif; padding: 16px; }
.login { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 32px 28px; }
h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.sub { margin: 6px 0 24px; color: var(--muted); }
form { display: grid; gap: 10px; }
label { font-weight: 500; }
input[type=password] { height: 44px; padding: 0 12px; border: 1px solid var(--control); border-radius: 6px; background: var(--ground); color: var(--text); font: inherit; }
input[type=password]:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.remember { display: flex; gap: 8px; align-items: center; font-weight: 400; color: var(--muted); }
.msg { margin: 4px 0 0; color: var(--negative); }
button { margin-top: 8px; height: 44px; border: 0; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font: inherit; font-weight: 500; cursor: pointer; }
button:active { transform: translateY(1px); }
