:root {
  color-scheme: dark light;
  --accent: #6366f1;
  --radius: 8px;
  --gap: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg: #0f0f17;
  --surface: #1a1a25;
  --surface-2: #22222e;
  --border: #2a2a38;
  --text: #e4e4e7;
  --text-muted: #8a8a9a;
  --sidebar-bg: #14141d;
}

[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f4f4f5;
  --surface-2: #e9e9ec;
  --border: #d4d4d8;
  --text: #18181b;
  --text-muted: #52525b;
  --sidebar-bg: #f4f4f5;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

button, a { font-family: inherit; }
button {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
}
button:hover { border-color: var(--accent); }

input, select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  font: inherit;
}
