:root {
  /* Minimalist Monochromatic Tone & Refined Accent (shadcn / Linear aesthetic) */
  --accent: #ffffff;
  --accent-hover: #f4f4f5;
  --accent-muted: #27272a;
  --accent-subtle: rgba(255, 255, 255, 0.08);

  /* Deep slate neutral surfaces */
  --bg-app: #09090b;
  --bg-sidebar: #0d0d10;
  --bg-panel: #111115;
  --bg-card: #18181b;
  --bg-card-hover: #202024;
  --bg-input: #141418;
  --bg-input-focus: #1c1c22;
  --bg-hover: rgba(255, 255, 255, 0.04);
  --glass-bg: rgba(18, 18, 22, 0.82);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Crisp thin borders */
  --border: #222226;
  --border-strong: #2e2e34;
  --border-focus: #52525b;

  /* Restrained Typography */
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  /* Semantic status colors (restrained) */
  --success: #22c55e;
  --warning: #eab308;
  --error: #ef4444;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Border Radii (clean modern geometric) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Crisp Subtle Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 32px 0 rgba(0, 0, 0, 0.6);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.12s ease;
  --transition-normal: 0.2s var(--ease-smooth);

  /* Typography stacks */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout dimensions */
  --sidebar-width: 270px;
  --header-height: 56px;
  --code-panel-height: 230px;
}

/* Light Theme Variable Overrides */
body.theme-light {
  --accent: #18181b;
  --accent-hover: #27272a;
  --accent-muted: #e4e4e7;
  --accent-subtle: rgba(0, 0, 0, 0.05);

  --bg-app: #fafafa;
  --bg-sidebar: #f4f4f5;
  --bg-panel: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f9f9fb;
  --bg-input: #f4f4f5;
  --bg-input-focus: #e4e4e7;
  --bg-hover: rgba(0, 0, 0, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);

  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --border-focus: #a1a1aa;

  --text-main: #09090b;
  --text-muted: #71717a;
  --text-dim: #a1a1aa;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px 0 rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 32px 0 rgba(0, 0, 0, 0.1);
}
