@import "tailwindcss";

/* Linear · https://uidesignmd.com/design-md/linear.app/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: #FFFFFF;
  --foreground: #000000;
  --card: #F5F6F6;
  --card-foreground: #000000;
  --popover: #F5F6F6;
  --popover-foreground: #000000;
  --primary: #5E6AD2;
  --primary-foreground: #FFFFFF;
  --secondary: #EDEDED;
  --secondary-foreground: #000000;
  --muted: #EDEDED;
  --muted-foreground: #535353;
  --background-muted-foreground: #595959;
  --card-muted-foreground: #565656;
  --accent: #E6E8ED;
  --accent-foreground: #000000;
  --destructive: #C52239;
  --destructive-foreground: #FFFFFF;
  --border: #CBCCCC;
  --input: #8C8D8D;
  --ring: #5E6AD2;
  --brand-primary: #5E6AD2;
  --brand-accent: #7A7FAD;
  --chart-1: #5E6AD2;
  --chart-2: #7A7FAD;
  --chart-3: #26A343;
  --chart-4: #494C68;
  --chart-5: #38407E;
  --sidebar: #F5F6F6;
  --sidebar-foreground: #000000;
  --sidebar-primary: #5E6AD2;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #E6E8ED;
  --sidebar-accent-foreground: #000000;
  --sidebar-border: #CBCCCC;
  --sidebar-ring: #5E6AD2;
  --font-body: "Linear Display", "Linear Text", "SF Pro Display", "Inter Variable", system-ui, sans-serif;
  --font-heading: "Linear Display", "Linear Text", "SF Pro Display", "Inter Variable", system-ui, sans-serif;
  --font-code: "Linear Mono", ui-monospace, "JetBrains Mono Variable", ui-monospace, monospace;
  --radius: 8px;
}

.dark, [data-theme="dark"] {
  --background: #010102;
  --foreground: #F7F8F8;
  --card: #0F1011;
  --card-foreground: #F7F8F8;
  --popover: #0F1011;
  --popover-foreground: #F7F8F8;
  --secondary: #141516;
  --secondary-foreground: #F7F8F8;
  --muted: #141516;
  --muted-foreground: #D0D6E0;
  --background-muted-foreground: #D0D6E0;
  --card-muted-foreground: #D0D6E0;
  --accent: #242630;
  --accent-foreground: #F7F8F8;
  --destructive: #FB7185;
  --destructive-foreground: #000000;
  --border: #23252A;
  --input: #616166;
  --chart-3: #27A644;
  --chart-4: #ACAFCB;
  --chart-5: #9BA3E1;
  --sidebar: #0F1011;
  --sidebar-foreground: #F7F8F8;
  --sidebar-accent: #242630;
  --sidebar-accent-foreground: #F7F8F8;
  --sidebar-border: #23252A;
}

@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);
}
