@tailwind base; @tailwind components; @tailwind utilities; @layer base { :root { /* oklch-based color system for perceptual uniformity */ --background: 0 0% 100%; --foreground: 240 10% 3.9%; --card: 0 0% 100%; --card-foreground: 240 10% 3.9%; --popover: 0 0% 100%; --popover-foreground: 240 10% 3.9%; --primary: 240 5.9% 10%; --primary-foreground: 0 0% 98%; --secondary: 240 4.8% 95.9%; --secondary-foreground: 240 5.9% 10%; --muted: 240 4.8% 95.9%; --muted-foreground: 240 3.8% 46.1%; --accent: 240 4.8% 95.9%; --accent-foreground: 240 5.9% 10%; --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; --border: 240 5.9% 90%; --input: 240 5.9% 90%; --ring: 240 5.9% 10%; --radius: 0.375rem; /* Semantic status colors */ --success: 142 71% 45%; --success-foreground: 0 0% 98%; --warning: 38 92% 50%; --warning-foreground: 0 0% 9%; --info: 217 91% 60%; --info-foreground: 0 0% 98%; /* Void accent colors (light fallbacks) */ --void-cyan: 187 82% 40%; --void-mint: 160 60% 40%; --void-amber: 38 92% 42%; --void-violet: 263 70% 55%; --void-crimson: 0 72% 45%; /* Surface hierarchy */ --surface-0: 0 0% 100%; --surface-1: 240 5% 96%; --surface-2: 240 6% 93%; --surface-3: 240 5% 88%; } .dark { /* Void palette */ --background: 215 27% 4%; --foreground: 210 20% 92%; --card: 220 30% 8%; --card-foreground: 210 20% 92%; --popover: 220 30% 8%; --popover-foreground: 210 20% 92%; --primary: 187 82% 53%; --primary-foreground: 220 30% 6%; --secondary: 220 25% 11%; --secondary-foreground: 210 20% 92%; --muted: 220 20% 14%; --muted-foreground: 220 15% 50%; --accent: 220 20% 14%; --accent-foreground: 210 20% 92%; --destructive: 0 72% 51%; --destructive-foreground: 0 0% 98%; --border: 220 20% 14%; --input: 220 20% 14%; --ring: 187 82% 53%; /* Void accent colors */ --void-cyan: 187 82% 53%; --void-mint: 160 60% 52%; --void-amber: 38 92% 50%; --void-violet: 263 90% 66%; --void-crimson: 0 72% 51%; /* Void status */ --success: 160 60% 52%; --success-foreground: 0 0% 98%; --warning: 38 92% 50%; --warning-foreground: 0 0% 9%; --info: 187 82% 53%; --info-foreground: 0 0% 98%; /* Void surface hierarchy */ --surface-0: 215 27% 4%; --surface-1: 222 35% 7%; --surface-2: 220 30% 10%; --surface-3: 220 25% 14%; } } @layer base { * { @apply border-border; } body { @apply bg-background text-foreground; font-feature-settings: "rlig" 1, "calt" 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 5px; height: 5px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { @apply bg-border rounded-full; } ::-webkit-scrollbar-thumb:hover { @apply bg-muted-foreground; } /* Modern button defaults — enhances ALL raw