/* Hallmark · macrostructure: Index-First (ticket queue, one real ticket) · nav: N9 edge-aligned minimal
 * theme: custom · vibe: "realistic enterprise ticketing console, light mode, crimson severity accent"
 * paper: oklch(97% 0.006 25) · accent: oklch(52% 0.20 25)
 * display: system-sans (offline exception, no CDN on CTF hardware) · body: system-sans · mono: system-mono
 * axes: light / system-native / warm (crimson ~25deg) · studied: no · context: explicit
 */

:root {
  /* Paper: light, warm-neutral (tinted toward the crimson accent, never pure white) */
  --color-paper:    oklch(96% 0.006 25);  /* page background */
  --color-paper-2:  oklch(99% 0.003 25);  /* card surface, sits lighter than the page */
  --color-paper-3:  oklch(93% 0.008 25);  /* nested / recessed surfaces (attachment box) */

  /* Rules / dividers */
  --color-rule:     oklch(87% 0.010 25);
  --color-rule-2:   oklch(91% 0.008 25);

  /* Ink */
  --color-ink:      oklch(22% 0.012 25);
  --color-ink-2:    oklch(40% 0.012 25);
  --color-muted:    oklch(54% 0.012 25);
  --color-neutral:  oklch(48% 0.012 25);

  /* Accent: crimson, the one signal (status / interactive / severity) */
  --color-accent:        oklch(52% 0.20 25);
  --color-accent-hover:  oklch(46% 0.20 25);
  --color-accent-ink:    oklch(98% 0.006 25);
  --color-focus:         oklch(52% 0.22 25);
  --color-accent-glow:   oklch(52% 0.20 25 / 0.16);

  /* Status chip (Open): pale tinted fill, not a solid block */
  --color-chip-open-bg:     oklch(94% 0.035 25);
  --color-chip-open-border: oklch(70% 0.14 25 / 0.55);

  /* Elevation: soft, neutral shadows (light-mode cards, not dark-mode glow) */
  --shadow-card:       0 1px 2px oklch(30% 0.02 25 / 0.06), 0 1px 1px oklch(30% 0.02 25 / 0.05);
  --shadow-card-hover: 0 2px 6px oklch(30% 0.02 25 / 0.08), 0 1px 2px oklch(30% 0.02 25 / 0.05);

  /* Fonts: system stack, deliberate: this runs on offline CTF hardware with
     no CDN access, same exception this repo's other console machines take */
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Semibold", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Roboto Mono", monospace;

  /* Spacing: 4pt scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;

  /* Type scale: 1.25 (major third) */
  --text-xs:   0.75rem;
  --text-sm:   0.8125rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 160ms;
  --dur-med:   240ms;

  /* Radii: tight, technical, "drawn with a ruler" */
  --radius-sm: 4px;
  --radius-md: 8px;

  --topbar-h: 56px;
}
