@import "tailwindcss";

/* ClickHouse · https://uidesignmd.com/design-md/clickhouse/DESIGN.md
 * Reference canvas: dark. Alternate surfaces and contrast adjustments are derived.
 * Reference license: https://uidesignmd.com/design-md-license.txt
 * Load licensed brand fonts separately. */
:root {
  --background: #F0F0F0;
  --foreground: #000000;
  --card: #E6E6E6;
  --card-foreground: #000000;
  --popover: #E6E6E6;
  --popover-foreground: #000000;
  --primary: #FAFF69;
  --primary-foreground: #0A0A0A;
  --secondary: #DFDFDF;
  --secondary-foreground: #000000;
  --muted: #DFDFDF;
  --muted-foreground: #4E4E4E;
  --background-muted-foreground: #545454;
  --card-muted-foreground: #515151;
  --accent: #CEE2D6;
  --accent-foreground: #000000;
  --destructive: #EF4444;
  --destructive-foreground: #000000;
  --border: #BFBFBF;
  --input: #828282;
  --ring: #858738;
  --brand-primary: #FAFF69;
  --brand-accent: #22C55E;
  --chart-1: #858738;
  --chart-2: #1A9647;
  --chart-3: #1A9647;
  --chart-4: #B57508;
  --chart-5: #EF4444;
  --sidebar: #E6E6E6;
  --sidebar-foreground: #000000;
  --sidebar-primary: #FAFF69;
  --sidebar-primary-foreground: #0A0A0A;
  --sidebar-accent: #CEE2D6;
  --sidebar-accent-foreground: #000000;
  --sidebar-border: #BFBFBF;
  --sidebar-ring: #858738;
  --font-body: "Inter", "Inter Variable", system-ui, sans-serif;
  --font-heading: "Inter", "Inter Variable", system-ui, sans-serif;
  --font-code: "JetBrains Mono", "JetBrains Mono Variable", ui-monospace, monospace;
  --radius: 8px;
}

.dark, [data-theme="dark"] {
  --background: #0A0A0A;
  --foreground: #FFFFFF;
  --card: #1A1A1A;
  --card-foreground: #FFFFFF;
  --popover: #1A1A1A;
  --popover-foreground: #FFFFFF;
  --secondary: #121212;
  --secondary-foreground: #FFFFFF;
  --muted: #121212;
  --muted-foreground: #888888;
  --background-muted-foreground: #888888;
  --card-muted-foreground: #888888;
  --accent: #1C3C28;
  --accent-foreground: #FFFFFF;
  --border: #2A2A2A;
  --input: #676767;
  --ring: #FAFF69;
  --chart-1: #FAFF69;
  --chart-2: #22C55E;
  --chart-3: #22C55E;
  --chart-4: #F59E0B;
  --sidebar: #1A1A1A;
  --sidebar-foreground: #FFFFFF;
  --sidebar-accent: #1C3C28;
  --sidebar-accent-foreground: #FFFFFF;
  --sidebar-border: #2A2A2A;
  --sidebar-ring: #FAFF69;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-background-muted-foreground: var(--background-muted-foreground);
  --color-card-muted-foreground: var(--card-muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-brand-primary: var(--brand-primary);
  --color-brand-accent: var(--brand-accent);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
  --font-sans: var(--font-body);
  --font-display: var(--font-heading);
  --font-mono: var(--font-code);
  --radius-sm: calc(var(--radius) * .6);
  --radius-md: calc(var(--radius) * .8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
}
