/* taskletalternative.com tokens: "The Clean Slate".
   The kit's token names, retuned for this site's palette: a white page, cool neutral panes,
   near-black ink and one electric ultramarine accent. This is the ONLY file with colour
   literals. Light is the default; dark follows prefers-color-scheme, or [data-theme="dark"]. */

:root {
  color-scheme: light;
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #fafbfe;
  --foreground: #101114;
  --foreground-strong: #0b0c0f;
  --foreground-weak: #5b6072;
  --card: #f5f6fb;
  --card-foreground: #101114;
  --popover: #ffffff;
  --popover-foreground: #101114;
  --primary: #101114;
  --primary-foreground: #ffffff;
  --secondary: #eceef6;
  --secondary-foreground: #101114;
  --muted: #eceef6;
  --muted-foreground: #5b6072;
  --accent: #f5f6fb;
  --accent-foreground: #101114;
  --destructive: #e7000b;
  --destructive-foreground: #fafafa;
  --border: #e2e5ef;
  --input: #eceef6;
  --ring: #133eff;
  --hover: rgb(16 17 20 / 0.05);
  --active: rgb(16 17 20 / 0.08);
  --sidebar: #f5f6fb;
  --sidebar-foreground: #101114;
  --sidebar-primary: #133eff;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #eceef6;
  --sidebar-accent-foreground: #101114;
  --sidebar-row: #f5f6fb;
  --sidebar-row-control: #eceef6;
  --sidebar-border: #e2e5ef;
  --sidebar-ring: #133eff;
  --kortix-base: #133eff;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #ffd230;
  --chart-2: #fe9a00;
  --chart-3: #e17100;
  --chart-4: #bb4d00;
  --chart-5: #973c00;
  --terminal-surface: #0d0e13;
  --terminal-fg: #e7e9f2;
  --terminal-border: rgb(255 255 255 / 0.1);
  --font-sans: Switzer, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-sans-system: ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono-system: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-display: Chillax, Switzer, ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;
  --tracking-tight: -0.02em;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.65;
  --radius: 0.875rem;
  --radius-sm: calc(var(--radius) - 5px);
  --radius-md: calc(var(--radius) - 3px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: 1.125rem;
  --radius-3xl: 1.5rem;
  --spacing: 0.23rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: calc(1.15 / 0.8125);
  --text-sm: 0.875rem;
  --text-sm-line-height: calc(1.3 / 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.7 / 1.125);
  --text-xl: 1.25rem;
  --text-xl-line-height: calc(1.6 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl-line-height: calc(1.9 / 1.5);
  --text-3xl: 1.875rem;
  --text-3xl-line-height: calc(2.15 / 1.875);
  --text-4xl: 2.25rem;
  --text-4xl-line-height: calc(2.6 / 2.25);
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.05;
  --text-6xl: 3.75rem;
  --text-6xl-line-height: 1.02;
  --text-7xl: 4.5rem;
  --text-7xl-line-height: 1;
  --text-8xl: 6rem;
  --text-8xl-line-height: 1;
  --shadow-xs: 0 1px 2px 0 rgb(16 17 20 / 0.04);
  --shadow-sm: 0 1px 2px 0 rgb(16 17 20 / 0.05), 0 1px 1px -1px rgb(16 17 20 / 0.05);
  --shadow-md: 0 2px 4px -2px rgb(16 17 20 / 0.06), 0 6px 16px -8px rgb(16 17 20 / 0.1);
  --shadow-lg: 0 8px 24px -12px rgb(16 17 20 / 0.12);
  --shadow-xl: 0 16px 40px -18px rgb(16 17 20 / 0.16);
  --duration-fast: 110ms;
  --duration-normal: 160ms;
  --duration-moderate: 220ms;
  --duration-slow: 320ms;
  --duration-slower: 520ms;
  --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);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0a0a0d;
  --pane: #0c0d11;
  --surface: #101116;
  --foreground: #f7f7fa;
  --foreground-strong: #ffffff;
  --foreground-weak: #a3a6b4;
  --card: #131419;
  --card-foreground: #f7f7fa;
  --popover: #15161c;
  --popover-foreground: #f7f7fa;
  --primary: #f7f7fa;
  --primary-foreground: #0a0a0d;
  --secondary: #1c1d24;
  --secondary-foreground: #f7f7fa;
  --muted: #1c1d24;
  --muted-foreground: #a3a6b4;
  --accent: #131419;
  --accent-foreground: #f7f7fa;
  --destructive: #ff6467;
  --destructive-foreground: #fafafa;
  --border: #272932;
  --input: #1c1d24;
  --hover: rgb(255 255 255 / 0.07);
  --active: rgb(255 255 255 / 0.11);
  --sidebar: #131419;
  --sidebar-foreground: #f7f7fa;
  --sidebar-primary-foreground: #0a0a0d;
  --sidebar-accent: #1c1d24;
  --sidebar-accent-foreground: #f7f7fa;
  --sidebar-row: #1c1d24;
  --sidebar-row-control: #272932;
  --sidebar-border: #20222a;
  --terminal-surface: #0d0e13;
  --terminal-fg: #e7e9f2;
  --terminal-border: rgb(255 255 255 / 0.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0a0a0d;
    --pane: #0c0d11;
    --surface: #101116;
    --foreground: #f7f7fa;
    --foreground-strong: #ffffff;
    --foreground-weak: #a3a6b4;
    --card: #131419;
    --card-foreground: #f7f7fa;
    --popover: #15161c;
    --popover-foreground: #f7f7fa;
    --primary: #f7f7fa;
    --primary-foreground: #0a0a0d;
    --secondary: #1c1d24;
    --secondary-foreground: #f7f7fa;
    --muted: #1c1d24;
    --muted-foreground: #a3a6b4;
    --accent: #131419;
    --accent-foreground: #f7f7fa;
    --destructive: #ff6467;
    --destructive-foreground: #fafafa;
    --border: #272932;
    --input: #1c1d24;
    --hover: rgb(255 255 255 / 0.07);
    --active: rgb(255 255 255 / 0.11);
    --sidebar: #131419;
    --sidebar-foreground: #f7f7fa;
    --sidebar-primary-foreground: #0a0a0d;
    --sidebar-accent: #1c1d24;
    --sidebar-accent-foreground: #f7f7fa;
    --sidebar-row: #1c1d24;
    --sidebar-row-control: #272932;
    --sidebar-border: #20222a;
    --terminal-surface: #0d0e13;
    --terminal-fg: #e7e9f2;
    --terminal-border: rgb(255 255 255 / 0.1);
  }
}

/* Site additions. */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 2px 4px -2px rgb(16 17 20 / 0.06), 0 24px 60px -28px rgb(16 17 20 / 0.24);
  --shadow-card: 0 1px 2px 0 rgb(16 17 20 / 0.04), 0 12px 32px -20px rgb(16 17 20 / 0.16);
  /* the accent as a quiet wash behind the recommended lane and selected controls */
  --accent-wash: color-mix(in oklab, var(--kortix-base) 7%, var(--background));
  --accent-line: color-mix(in oklab, var(--kortix-base) 32%, var(--border));
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 45%, #ffffff);
  --shadow-frame: 0 2px 4px -2px rgb(0 0 0 / 0.5), 0 30px 70px -30px rgb(0 0 0 / 0.7);
  --shadow-card: 0 1px 2px 0 rgb(0 0 0 / 0.4), 0 16px 40px -24px rgb(0 0 0 / 0.6);
  --accent-wash: color-mix(in oklab, var(--kortix-base) 16%, var(--background));
  --accent-line: color-mix(in oklab, var(--kortix-base) 42%, var(--border));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 45%, #ffffff);
    --shadow-frame: 0 2px 4px -2px rgb(0 0 0 / 0.5), 0 30px 70px -30px rgb(0 0 0 / 0.7);
    --shadow-card: 0 1px 2px 0 rgb(0 0 0 / 0.4), 0 16px 40px -24px rgb(0 0 0 / 0.6);
    --accent-wash: color-mix(in oklab, var(--kortix-base) 16%, var(--background));
    --accent-line: color-mix(in oklab, var(--kortix-base) 42%, var(--border));
  }
}
