/* Hallmark · macrostructure: Workbench · genre: technical · tone: terminal
 * theme: Env Vault phosphor · paper oklch(14% 0.010 150) · accent oklch(78% 0.155 150)
 * display: engineering mono · body: neutral grotesque · data: engineering mono
 * studied: yes · DNA-source: original Env Vault console · nav: application rail · footer: inline rule
 */
@font-face {
  font-family: "Geist";
  src: url("/vendor/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/vendor/jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Surfaces — the original green-black terminal paper, lifted without shadow. */
  --color-canvas: oklch(14% 0.010 150);
  --color-surface: oklch(17% 0.011 150);
  --color-surface-raised: oklch(21% 0.012 150);
  --color-surface-hover: oklch(24% 0.018 150);
  --color-overlay: oklch(7% 0.010 150);

  /* Rules and text. */
  --color-rule: oklch(29% 0.010 150);
  --color-rule-strong: oklch(43% 0.015 150);
  --color-text: oklch(94% 0.007 150);
  --color-text-secondary: oklch(75% 0.012 150);
  --color-text-muted: oklch(65% 0.012 150);
  --color-text-disabled: oklch(55% 0.012 150);

  /* Phosphor green is the product signature and the single action hue. */
  --color-accent: oklch(78% 0.155 150);
  --color-accent-hover: oklch(82% 0.145 150);
  --color-accent-ink: oklch(14% 0.025 150);
  --color-accent-dim: oklch(78% 0.155 150 / 0.12);
  --color-focus: oklch(82% 0.150 150);
  --color-success: oklch(78% 0.155 150);
  --color-success-surface: oklch(21% 0.040 155);
  --color-warning: oklch(81% 0.135 85);
  --color-warning-surface: oklch(22% 0.035 85);
  --color-danger: oklch(72% 0.165 25);
  --color-danger-hover: oklch(77% 0.150 25);
  --color-danger-surface: oklch(21% 0.045 25);

  /* Backward-compatible aliases while legacy server paths transition. */
  --color-paper: var(--color-canvas);
  --color-paper-2: var(--color-surface);
  --color-paper-3: var(--color-surface-raised);
  --color-neutral: var(--color-text-secondary);
  --color-muted: var(--color-text-muted);
  --color-ink: var(--color-text);

  /* Mono carries the console voice; Geist stays readable for prose. */
  --font-display: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --font-body: "Geist", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-ui: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.75rem;
  --text-display: 2.25rem;

  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-round: 999px;

  --control-height: 2.75rem;
  --sidebar-width: 13rem;
  --topbar-height: 3.5rem;
  --content-max: 72rem;

  --dur-micro: 80ms;
  --dur-short: 120ms;
  --dur-medium: 200ms;
  --dur-long: 320ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
}
