:root {
  /* Color Palette - Deep Obsidian & Slate */
  --bg-app: #0B0C0E;
  --bg-surface-1: #111317;
  --bg-surface-2: #16191F;
  --bg-surface-3: #1D2129;
  --bg-input: #14171D;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(56, 189, 248, 0.6);

  /* Typography Colors */
  --text-primary: #EDEDED;
  --text-secondary: #9BA1AD;
  --text-tertiary: #606675;
  --text-inverse: #0B0C0E;

  /* Brand / Accents */
  --accent-blue: #38BDF8;
  --accent-blue-hover: #0EA5E9;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --accent-gold: #F59E0B;
  --accent-ruby: #FF0055;
  --accent-emerald: #10B981;

  /* Typography Stack */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Layout */
  --header-height: 54px;
  --dock-height: 64px;
  --sidebar-width: 440px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 20px var(--accent-glow);
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Monospace Utilities */
.font-mono {
  font-family: var(--font-mono);
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Utility buttons */
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  outline: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px var(--accent-glow);
}
