/* LogiShell design tokens, taken from the monorepo design kit
 * (docs/design-sync/snapshot-2026-10-02/kit/tokens.css). Keep in step with it.
 * Served to tool pages as lsh://kit/tokens.css; kit.css adds base styles. */
@font-face { font-family: 'Geist'; font-weight: 400; font-display: swap; src: url(fonts/geist-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 500; font-display: swap; src: url(fonts/geist-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url(fonts/geist-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --bg: oklch(0.985 0.004 95);
  --bg-1: oklch(0.965 0.006 95);
  --bg-2: oklch(0.94 0.008 95);
  --surface: oklch(1 0 0 / 0.88);
  --surface-strong: oklch(1 0 0 / 0.98);
  --border: oklch(0.85 0.008 95 / 0.7);
  --border-strong: oklch(0.78 0.012 95);
  --ink: oklch(0.18 0.01 95);
  --ink-1: oklch(0.32 0.01 95);
  --ink-2: oklch(0.5 0.012 95);
  --ink-3: oklch(0.65 0.01 95);
  --accent: oklch(0.78 0.14 80);
  --accent-ink: oklch(0.32 0.08 70);
  --accent-text: oklch(0.5 0.13 65);
  --accent-glow: color-mix(in oklch, var(--accent), transparent 82%);
  --cyber: oklch(0.72 0.15 195);
  --cell: 104px;
  --cell-line: oklch(0.78 0.01 95 / 0.3);
  --pos: oklch(0.7 0.13 145);
  --neg: oklch(0.62 0.18 25);
  --glass: oklch(1 0 0 / 0.55);
  --glass-shadow: 0 1px 0 oklch(1 0 0 / 0.6) inset, 0 0 0 1px oklch(0.85 0.008 95 / 0.5), 0 20px 40px -20px oklch(0.3 0.02 80 / 0.18);
  --font-sans: 'Geist', ui-sans-serif, 'SF Pro Text', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --text-mono: 11px;
  --text-sm: 12.5px;
  --text-base: 13px;
  --text-md: 15px;
  --text-xl: 24px;
  --tracking-mono: 0.06em;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur-1: 0.12s;
  --dur-2: 0.18s;
}

/* The app sets the theme for itself and every tool page (Electron nativeTheme), so one media query serves both. */
@media (prefers-color-scheme: dark) {
:root {
  color-scheme: dark;
  --bg: oklch(0.18 0.01 260);
  --bg-1: oklch(0.21 0.012 260);
  --bg-2: oklch(0.24 0.014 260);
  --surface: oklch(0.26 0.014 260 / 0.88);
  --surface-strong: oklch(0.28 0.016 260 / 0.98);
  --border: oklch(0.4 0.014 260 / 0.5);
  --border-strong: oklch(0.5 0.016 260);
  --ink: oklch(0.97 0.006 95);
  --ink-1: oklch(0.86 0.008 95);
  --ink-2: oklch(0.66 0.01 95);
  --ink-3: oklch(0.5 0.012 95);
  --accent: oklch(0.83 0.16 85);
  --accent-ink: oklch(0.28 0.06 72);
  --accent-text: oklch(0.85 0.15 86);
  --accent-glow: color-mix(in oklch, var(--accent), transparent 78%);
  --cyber: oklch(0.78 0.16 195);
  --cell-line: oklch(0.45 0.014 260 / 0.3);
  --pos: oklch(0.78 0.14 145);
  --neg: oklch(0.7 0.18 25);
  --glass: oklch(0.3 0.02 260 / 0.55);
  --glass-shadow: 0 1px 0 oklch(1 0 0 / 0.06) inset, 0 0 0 1px oklch(0.5 0.02 260 / 0.3), 0 20px 40px -20px oklch(0 0 0 / 0.5);
}
}
