:root {
  color-scheme: light;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-arabic: "Noto Naskh Arabic", Tahoma, sans-serif;
  
  /* ElevenLabs Color System - Light Mode */
  --bg: #F8F8F6;
  --surface: #FFFFFF;
  --surface-subtle: #FAF9F6;
  --surface-muted: #F4F4F4;
  --surface-strong: #EFEFEF;
  
  --text: #111111;
  --text-soft: #6B6B6B;
  --text-muted: #8A8A8A;
  --text-faint: #B0B0B0;
  
  --line: #EFEFEF;       /* Divider */
  --line-strong: #E5E5E5; /* Border */
  --line-focus: #111111;  /* Focused input border */
  
  --primary: #2563EB;        /* Premium Brand Blue */
  --primary-hover: #1D4ED8;  /* Slightly darker blue for hover */
  --primary-strong: #1E40AF; /* Deep rich navy blue for focus/borders */
  --primary-soft: #EFF6FF;   /* Soft blue surface background */
  --primary-line: #DBEAFE;   /* Soft blue border line */
  
  /* Semantic Colors (Muted for premium feel) */
  --success: #198754;
  --success-soft: #F0F9F4;
  --success-line: #E1F3E9;
  
  --warning: #B25E00;
  --warning-soft: #FFFDF5;
  --warning-line: #FFF0D4;
  
  --danger: #DC3545;
  --danger-hover: #BD2130;
  --danger-soft: #FFF5F6;
  --danger-line: #FCD8DC;
  
  /* Shadows (Extremely subtle, mostly flat/minimal as requested) */
  --shadow-xs: none;
  --shadow-sm: 0 1px 3px rgba(17, 17, 17, 0.02), 0 4px 12px rgba(17, 17, 17, 0.01);
  --shadow-md: 0 8px 24px rgba(17, 17, 17, 0.03);
  --shadow-lg: 0 16px 40px rgba(17, 17, 17, 0.04);
  
  /* Border Radius */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --pill: 999px;
  
  /* Spacing & Layout */
  --sidebar-width: 270px;
  --header-height: 56px;
  --content-width: 1440px;
  --content-pad: clamp(24px, 4vw, 48px);
  
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-theme="dark"] {
  color-scheme: dark;
  
  /* ElevenLabs Color System - Premium Dark Mode */
  --bg: #0B0B0A;
  --surface: #131311;
  --surface-subtle: #181815;
  --surface-muted: #1F1F1C;
  --surface-strong: #2A2A25;
  
  --text: #F5F5F3;
  --text-soft: #A3A39E;
  --text-muted: #7F7F7A;
  --text-faint: #5C5C57;
  
  --line: #1F1F1C;       /* Divider */
  --line-strong: #2D2D2A; /* Border */
  --line-focus: #F5F5F3;  /* Focused input border */
  
  --primary: #3B82F6;        /* Bright premium blue for dark mode visibility */
  --primary-hover: #60A5FA;  /* Lighter blue for hover */
  --primary-strong: #2563EB; /* Strong blue for focus/borders */
  --primary-soft: #1E293B;   /* Soft dark blue surface background */
  --primary-line: #2563EB;   /* Soft blue border line */
  
  /* Semantic Colors - Dark */
  --success: #34D399;
  --success-soft: rgba(52, 211, 153, 0.06);
  --success-line: rgba(52, 211, 153, 0.15);
  
  --warning: #F59E0B;
  --warning-soft: rgba(245, 158, 11, 0.06);
  --warning-line: rgba(245, 158, 11, 0.15);
  
  --danger: #F87171;
  --danger-hover: #EF4444;
  --danger-soft: rgba(248, 113, 113, 0.06);
  --danger-line: rgba(248, 113, 113, 0.15);
  
  /* Shadows - Dark */
  --shadow-xs: none;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}