/* GENERATED FILE - DO NOT EDIT.
 * Copied from recon/app/src/ui/tokens.css by recon/scripts/sync_site_tokens.py.
 * Change the tokens in the app, then run the script again. */

/* MARTENSIA Recon design tokens: a light workspace by default, the same room in the dark on request, cornflower
   as the single accent. Every colour, size and motion in the app comes from here; a screen never writes a literal
   colour. The theme is the root's data-theme ("light" or "dark"; the app resolves "system" to one of them). The
   older names at the end stay as aliases while the screens move over to the new ones. */
:root {
  color-scheme: light;

  /* surfaces: the app ground, panels and cards on it, then hovered and pressed things */
  --bg-0: oklch(96.5% 0.004 262);
  --bg-1: oklch(99.4% 0.002 262);
  --bg-2: oklch(95% 0.005 262);
  --bg-3: oklch(91% 0.007 262);
  --viewport: #eef0f3;
  --line: oklch(0% 0 0 / 0.09);
  --line-strong: oklch(0% 0 0 / 0.18);
  --hover: oklch(0% 0 0 / 0.05);
  /* what floats over the 3D view: translucent, with the theme's own text on it */
  --glass: oklch(100% 0 0 / 0.78);
  --glass-strong: oklch(99% 0.003 262 / 0.92);
  --glass-fade: oklch(100% 0 0 / 0.7);
  --scrim: oklch(0% 0 0 / 0.45);

  /* text */
  --fg-0: oklch(21% 0.015 262);
  --fg-1: oklch(42% 0.015 262);
  --fg-2: oklch(50% 0.015 262);   /* 4.5:1 or more on every light ground */

  /* the accent, and the four status tones: a word and an icon always go with the colour */
  --accent: oklch(56% 0.165 262);
  --accent-ink: oklch(99.5% 0 0);
  --accent-soft: oklch(from var(--accent) l c h / 0.12);
  --ok: oklch(55% 0.16 150);
  --ok-soft: oklch(from var(--ok) l c h / 0.12);
  --bad: oklch(55% 0.2 27);
  --bad-soft: oklch(from var(--bad) l c h / 0.11);
  --warn: oklch(60% 0.15 75);
  --warn-soft: oklch(from var(--warn) l c h / 0.14);
  --info: var(--accent);
  --info-soft: var(--accent-soft);
  --neutral: var(--fg-2);
  --neutral-soft: oklch(0% 0 0 / 0.05);
  --focus: 0 0 0 2px var(--bg-0), 0 0 0 4px var(--accent);

  /* type: one UI face, one mono face for values, file names and callouts */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --t-11: 11px; --t-12: 12px; --t-13: 13px; --t-14: 14px; --t-16: 16px; --t-20: 20px; --t-24: 24px; --t-28: 28px;

  /* spacing, radii, elevation, motion */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-12: 48px;
  --r-1: 6px; --r-2: 10px; --r-3: 14px; --r-4: 20px;
  --shadow: 0 12px 32px -16px oklch(0% 0 0 / 0.3);
  --dur-1: 120ms; --dur-2: 240ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* aliases for the screens not yet moved over */
  --bg: var(--bg-0); --bg2: var(--bg-1); --bg3: var(--bg-2); --bg4: var(--bg-3); --stage: var(--viewport);
  --fg: var(--fg-0); --fg2: var(--fg-1); --fg3: var(--fg-2);
  --border: var(--line); --pass: var(--ok); --fail: var(--bad); --radius: 12px;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg-0: oklch(15% 0.012 262);
  --bg-1: oklch(19% 0.013 262);
  --bg-2: oklch(23% 0.014 262);
  --bg-3: oklch(29% 0.015 262);
  --viewport: #15171a;
  --line: oklch(100% 0 0 / 0.08);
  --line-strong: oklch(100% 0 0 / 0.16);
  --hover: oklch(100% 0 0 / 0.07);
  --glass: oklch(0% 0 0 / 0.55);
  --glass-strong: oklch(14% 0.01 262 / 0.86);
  --glass-fade: oklch(0% 0 0 / 0.55);
  --scrim: oklch(0% 0 0 / 0.55);

  --fg-0: oklch(96% 0.005 80);
  --fg-1: oklch(76% 0.008 250);
  --fg-2: oklch(68% 0.008 250);   /* 4.5:1 or more on every dark ground */

  --accent: #6495ed;
  --accent-ink: oklch(16% 0.02 262);
  --accent-soft: oklch(from var(--accent) l c h / 0.14);
  --ok: oklch(72% 0.17 150);
  --ok-soft: oklch(from var(--ok) l c h / 0.13);
  --bad: oklch(66% 0.2 27);
  --bad-soft: oklch(from var(--bad) l c h / 0.13);
  --warn: oklch(78% 0.15 80);
  --warn-soft: oklch(from var(--warn) l c h / 0.13);
  --neutral-soft: oklch(100% 0 0 / 0.06);

  --shadow: 0 12px 32px -16px oklch(0% 0 0 / 0.6);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 0ms; --dur-2: 0ms; }
}
