:root {
  --bg-primary: #17171c;
  --bg-surface: #1e1e24;
  --bg-elevated: #27272f;
  --bg-input: #222229;
  --bg-hover: #2e2e38;
  --border-subtle: rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.1);
  --border-focus: rgba(122,173,207,0.45);
  --text-primary: #e4e0d8;
  --text-secondary: #9e9a90;
  --text-muted: #6b675f;
  --accent-blue: #7aadcf;
  --accent-green: #7bb88a;
  --accent-red: #c97070;
  --accent-orange: #c9a05a;
  --accent-button: #4a6a82;
  --accent-button-hover: #5a7d98;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --font-xs: 12px;
  --font-sm: 14px;
  --font-base: 16px;
  --font-md: 17px;
  --font-lg: 22px;
  --font-xl: 28px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--font-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(122,173,207,0.3);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.14);
}
