/* Spine design tokens — one source of truth for brand.
   Change these and login.html, app shell, components, emails, and error pages all match.
   Pair with theme.json (same values) for JS/email use. */
:root {
  /* Brand */
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-fg: #ffffff;

  /* Surfaces */
  --bg: #f6f7f9;
  --surface: #ffffff;
  --border: #e5e7eb;

  /* Text */
  --fg: #111827;
  --fg-muted: #6b7280;

  /* State */
  --ok: #067647;
  --warn: #b45309;
  --err: #c0392b;

  /* Shape */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 420px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12; --surface: #151823; --border: #262b38;
    --fg: #f3f4f6; --fg-muted: #9ca3af; --shadow: 0 4px 24px rgba(0,0,0,.4);
  }
}

/* Primitives used across all kit pages */
* { box-sizing: border-box; }
body { font-family: var(--font); background: var(--bg); color: var(--fg); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.btn { cursor: pointer; border: 0; border-radius: var(--radius-sm); padding: 10px 16px; background: var(--accent); color: var(--accent-fg); font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; background: var(--surface); color: var(--fg); }
.muted { color: var(--fg-muted); }
.center { display: grid; place-items: center; min-height: 100vh; }
