:root {
  --bg: #0b0d10;
  --surface: #12161b;
  --surface-hover: #181d23;
  --surface-alt: #171b21;
  --border: #252b33;
  --text-primary: #f1f3f5;
  --text-secondary: #9299a3;
  --text-tertiary: #656d78;

  --accent: #5b8cff;
  --accent-strong: #4470e0;
  --accent-soft: rgba(91, 140, 255, 0.15);

  --color-force: #ef4444;
  --color-velocity: #3b82f6;
  --color-energy: #f5b942;
  --color-positive: #22c55e;
  --color-danger: #ef4444;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --header-height: 60px;
  --sidebar-width: 250px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 12px; color: var(--text-secondary); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

::selection { background: var(--accent-soft); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.mono { font-family: var(--font-mono); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }
