@import "tailwindcss";

/* 1win · https://uidesignmd.com/design-md/1win/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: #F1F1F1;
  --foreground: #000000;
  --card: #E7E7E7;
  --card-foreground: #000000;
  --popover: #E7E7E7;
  --popover-foreground: #000000;
  --primary: #00B24B;
  --primary-foreground: #000000;
  --secondary: #E0E0E0;
  --secondary-foreground: #000000;
  --muted: #E0E0E0;
  --muted-foreground: #4E4E4E;
  --background-muted-foreground: #545454;
  --card-muted-foreground: #515151;
  --accent: #CBD9EA;
  --accent-foreground: #000000;
  --destructive: #C52239;
  --destructive-foreground: #FFFFFF;
  --border: #C0C0C0;
  --input: #848484;
  --ring: #009941;
  --brand-primary: #00B24B;
  --brand-accent: #0075FF;
  --chart-1: #009941;
  --chart-2: #0075FF;
  --chart-3: #0091A2;
  --chart-4: #004699;
  --chart-5: #006B2D;
  --sidebar: #E7E7E7;
  --sidebar-foreground: #000000;
  --sidebar-primary: #00B24B;
  --sidebar-primary-foreground: #000000;
  --sidebar-accent: #CBD9EA;
  --sidebar-accent-foreground: #000000;
  --sidebar-border: #C0C0C0;
  --sidebar-ring: #009941;
  --font-body: "Inter", "Inter Variable", system-ui, sans-serif;
  --font-heading: "Inter", "Inter Variable", system-ui, sans-serif;
  --font-code: "JetBrains Mono Variable", ui-monospace, monospace;
  --radius: 10px;
}

.dark, [data-theme="dark"] {
  --background: #141415;
  --foreground: #F0F2F5;
  --card: #2E3035;
  --card-foreground: #F0F2F5;
  --popover: #2E3035;
  --popover-foreground: #F0F2F5;
  --secondary: #2A2A2B;
  --secondary-foreground: #F0F2F5;
  --muted: #2A2A2B;
  --muted-foreground: #9AA1B1;
  --background-muted-foreground: #9AA1B1;
  --card-muted-foreground: #9AA1B1;
  --accent: #253E5D;
  --accent-foreground: #F0F2F5;
  --destructive: #FB7185;
  --destructive-foreground: #000000;
  --border: #2D2F33;
  --input: #77797D;
  --ring: #00B24B;
  --chart-1: #00B24B;
  --chart-3: #0094A5;
  --chart-4: #60A7FB;
  --chart-5: #60CC8F;
  --sidebar: #2E3035;
  --sidebar-foreground: #F0F2F5;
  --sidebar-accent: #253E5D;
  --sidebar-accent-foreground: #F0F2F5;
  --sidebar-border: #2D2F33;
  --sidebar-ring: #00B24B;
}

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