/* Tokens for autonomousaiagentsguide.com — "The Shift Board".
   Same token names as the Kortix kit (so every starter class still resolves), retuned to this
   site's own palette: a warm near-white sheet, graphite ink, one deep orchid indicator, squared
   corners and no shadows. This is the ONLY file with colour literals.
   Light is the default; dark follows prefers-color-scheme, or [data-theme="dark"] forces it. */

:root {
  color-scheme: light;
  --background: #fbfaf9;
  --pane: #ffffff;
  --surface: #f3f1f2;
  --foreground: #17141a;
  --foreground-strong: #17141a;
  --foreground-weak: #57515c;
  --card: #eeecee;
  --card-foreground: #17141a;
  --popover: #ffffff;
  --popover-foreground: #17141a;
  --primary: #17141a;
  --primary-foreground: #fbfaf9;
  --secondary: #eae7e9;
  --secondary-foreground: #17141a;
  --muted: #eeecee;
  --muted-foreground: #57515c;
  --accent: #eeecee;
  --accent-foreground: #17141a;
  --destructive: #c02434;
  --destructive-foreground: #fbfaf9;
  --border: #e3dfe2;
  --input: #eae7e9;
  --ring: #85008c;
  --hover: rgb(23 20 26 / 0.045);
  --active: rgb(23 20 26 / 0.08);
  --sidebar: #f3f1f2;
  --sidebar-foreground: #17141a;
  --sidebar-primary: #85008c;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #eae7e9;
  --sidebar-accent-foreground: #17141a;
  --sidebar-row: #f3f1f2;
  --sidebar-row-control: #eae7e9;
  --sidebar-border: #e3dfe2;
  --sidebar-ring: #85008c;
  --kortix-base: #85008c;
  --kortix-green: #16794a;
  --kortix-red: #bb2437;
  --kortix-orange: #9a5b06;
  --kortix-yellow: #8a6a00;
  --kortix-blue: #1d5fa8;
  --kortix-purple: #6b3a8f;
  --chart-1: #ffd230;
  --chart-2: #fe9a00;
  --chart-3: #e17100;
  --chart-4: #bb4d00;
  --chart-5: #973c00;
  --terminal-surface: #161318;
  --terminal-fg: #f4f2f5;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: Karla, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-sans-system: Karla, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono-system: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --tracking-tight: -0.02em;
  --leading-tight: 1.2;
  --leading-snug: 1.4;
  --leading-relaxed: 1.65;
  --radius: 0.125rem;
  --radius-sm: 0.0625rem;
  --radius-md: 0.125rem;
  --radius-lg: 0.125rem;
  --radius-xl: 0.1875rem;
  --radius-2xl: 0.25rem;
  --spacing: 0.23rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: calc(1.25 / 0.8125);
  --text-sm: 0.875rem;
  --text-sm-line-height: calc(1.4 / 0.875);
  --text-md: 0.9375rem;
  --text-md-line-height: calc(1.5 / 0.9375);
  --text-base: 1rem;
  --text-base-line-height: calc(1.6 / 1);
  --text-lg: 1.125rem;
  --text-lg-line-height: calc(1.65 / 1.125);
  --text-xl: 1.25rem;
  --text-xl-line-height: calc(1.5 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl-line-height: calc(1.28 / 1.5);
  --text-3xl: 1.75rem;
  --text-3xl-line-height: calc(1.15 / 1.75);
  --text-4xl: 2.25rem;
  --text-4xl-line-height: 1.06;
  --text-5xl: 2.75rem;
  --text-5xl-line-height: 1.03;
  --text-6xl: 3.15rem;
  --text-6xl-line-height: 1.02;
  --text-7xl: 3.6rem;
  --text-7xl-line-height: 1;
  --text-8xl: 4.5rem;
  --text-8xl-line-height: 1;
  --duration-fast: 120ms;
  --duration-normal: 150ms;
  --duration-moderate: 200ms;
  --duration-slow: 300ms;
  --duration-slower: 500ms;
  --ease-default: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Site additions: the ink board, the accent wash, and flat surfaces. */
  --panel: #161318;
  --panel-foreground: #f4f2f5;
  --panel-muted: #b4aeb9;
  --panel-border: #332e38;
  --on-accent: #ffffff;
  --on-accent-muted: #f2e4f3;
  --wash: rgb(133 0 140 / 0.07);
  --add-wash: rgb(22 121 74 / 0.12);
  --del-wash: rgb(187 36 55 / 0.09);
  --track: rgb(23 20 26 / 0.12);
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0c0b0d;
  --pane: #111014;
  --surface: #171519;
  --foreground: #f4f2f5;
  --foreground-strong: #ffffff;
  --foreground-weak: #a8a2ad;
  --card: #1c1a1f;
  --card-foreground: #f4f2f5;
  --popover: #1c1a1f;
  --popover-foreground: #f4f2f5;
  --primary: #f4f2f5;
  --primary-foreground: #0c0b0d;
  --secondary: #201d24;
  --secondary-foreground: #f4f2f5;
  --muted: #1c1a1f;
  --muted-foreground: #a8a2ad;
  --accent: #1c1a1f;
  --accent-foreground: #f4f2f5;
  --destructive: #ff7b83;
  --destructive-foreground: #0c0b0d;
  --border: #2b2730;
  --input: #201d24;
  --ring: #c77dcb;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #171519;
  --sidebar-foreground: #f4f2f5;
  --sidebar-primary: #c77dcb;
  --sidebar-primary-foreground: #0c0b0d;
  --sidebar-accent: #201d24;
  --sidebar-accent-foreground: #f4f2f5;
  --sidebar-row: #171519;
  --sidebar-row-control: #2b2730;
  --sidebar-border: #2b2730;
  --sidebar-ring: #c77dcb;
  --kortix-green: #4bbd86;
  --kortix-red: #ff7b83;
  --kortix-orange: #dda350;
  --kortix-yellow: #d7b53c;
  --kortix-blue: #7fb2ec;
  --kortix-purple: #b58cd8;
  --chart-1: #ffd230;
  --chart-2: #fe9a00;
  --chart-3: #e17100;
  --chart-4: #bb4d00;
  --chart-5: #973c00;
  --terminal-surface: #08070a;
  --terminal-fg: #f4f2f5;
  --terminal-border: rgb(255 255 255 / 0.12);
  --panel: #08070a;
  --panel-foreground: #f4f2f5;
  --panel-muted: #a8a2ad;
  --panel-border: #2b2730;
  --on-accent: #ffffff;
  --on-accent-muted: #f2e4f3;
  --wash: rgb(199 125 203 / 0.14);
  --add-wash: rgb(75 189 134 / 0.16);
  --del-wash: rgb(255 123 131 / 0.14);
  --track: rgb(255 255 255 / 0.16);
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 45%, #ffffff);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0c0b0d;
    --pane: #111014;
    --surface: #171519;
    --foreground: #f4f2f5;
    --foreground-strong: #ffffff;
    --foreground-weak: #a8a2ad;
    --card: #1c1a1f;
    --card-foreground: #f4f2f5;
    --popover: #1c1a1f;
    --popover-foreground: #f4f2f5;
    --primary: #f4f2f5;
    --primary-foreground: #0c0b0d;
    --secondary: #201d24;
    --secondary-foreground: #f4f2f5;
    --muted: #1c1a1f;
    --muted-foreground: #a8a2ad;
    --accent: #1c1a1f;
    --accent-foreground: #f4f2f5;
    --destructive: #ff7b83;
    --destructive-foreground: #0c0b0d;
    --border: #2b2730;
    --input: #201d24;
    --ring: #c77dcb;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #171519;
    --sidebar-foreground: #f4f2f5;
    --sidebar-primary: #c77dcb;
    --sidebar-primary-foreground: #0c0b0d;
    --sidebar-accent: #201d24;
    --sidebar-accent-foreground: #f4f2f5;
    --sidebar-row: #171519;
    --sidebar-row-control: #2b2730;
    --sidebar-border: #2b2730;
    --sidebar-ring: #c77dcb;
    --kortix-green: #4bbd86;
    --kortix-red: #ff7b83;
    --kortix-orange: #dda350;
    --kortix-yellow: #d7b53c;
    --kortix-blue: #7fb2ec;
    --kortix-purple: #b58cd8;
    --terminal-surface: #08070a;
    --terminal-fg: #f4f2f5;
    --terminal-border: rgb(255 255 255 / 0.12);
    --panel: #08070a;
    --panel-foreground: #f4f2f5;
    --panel-muted: #a8a2ad;
    --panel-border: #2b2730;
    --on-accent: #ffffff;
    --on-accent-muted: #f2e4f3;
    --wash: rgb(199 125 203 / 0.14);
    --track: rgb(255 255 255 / 0.16);
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 45%, #ffffff);
  }
}
