/* Design tokens adapted from the CiSMA Contour-based Vegter app so that
   the DIC pipeline shares the same engineering-drawing aesthetic. */

:root {
  --paper:       #f5f3ec;
  --paper-2:     #ecebe3;
  --paper-3:     #e3e0d2;
  --paper-edge:  #d7d3c5;
  --ink:         #0e1013;
  --ink-2:       #1a1d22;
  --ink-3:       #24282f;
  --ink-soft:    #3a3d43;
  --muted:       #6b6f76;
  --muted-2:     #9aa0a8;
  --rule:        #cbc7b9;
  --rule-soft:   #e0ddd0;
  --rule-dark:   #1f232a;

  --accent:      oklch(58% 0.18 45);
  --accent-hot:  oklch(52% 0.20 40);
  --accent-soft: oklch(58% 0.18 45 / 0.10);

  --ok:          oklch(55% 0.13 150);
  --warn:        oklch(65% 0.15 80);
  --err:         oklch(52% 0.18 25);
  --ok-soft:     oklch(55% 0.13 150 / 0.12);
  --warn-soft:   oklch(65% 0.15 80 / 0.15);
  --err-soft:    oklch(52% 0.18 25 / 0.14);

  --serif: "IBM Plex Serif", "Source Serif 4", Georgia, serif;
  --sans:  "IBM Plex Sans", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pad-x: 22px;
  --pad-y: 18px;
  --gap-md: 16px;
  --row-h: 40px;
  --font-body: 14px;
  --font-num-lg: 32px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--font-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 1px;
}
.mono, .num, table, .tabular { font-variant-numeric: tabular-nums; font-family: var(--mono); }
