/* Noir Node — generated from tokens.json */
:root, [data-theme="dark"] {
  --canvas-bg: #070707;
  --canvas-glow: #121212;
  --node-top: #282828;
  --node-head: #181818;
  --node-body-top: #151515;
  --node-body-bottom: #0b0b0b;
  --well: #050505;
  --divider: #040404;
  --node-edge: #2f2f2f;
  --node-edge-hi: #4a4a4a;
  --node-select: #9a9a9a;
  --control-top: #1e1e1e;
  --control-bottom: #0d0d0d;
  --control-edge: #2c2c2c;
  --ink: #ececec;
  --ink-muted: #8f8f8f;
  --ink-placeholder: #808080;
  --port-idle: #666666;
  --port-live: #f2f2f2;
  --led-off: #707070;
  --led-on: var(--port-live);
  --wire: #dcdcdc;
  --wire-hot: #ffffff;
  --wire-pending: #8a8a8a;
  --wire-ref: #7a7a7a;
  --longtext-top: #404040;
  --longtext-bottom: #262626;
  --longtext-edge: #4e4e4e;
  --longtext-muted: #b0b0b0;
  --longtext-port: var(--node-select);
  --file-top: #2c2c2c;
  --file-bottom: #191919;
  --file-fold-hi: #4a4a4a;
  --file-fold-lo: #2e2e2e;
  --file-edge: #3c3c3c;
  --file-perf: #424242;
  --file-deboss: #141414;
  --diagram-fill: #8e8e8e;
  --diagram-edge: #d0d0d0;
  --diagram-grid: #3a3a3a;
  --decode-noise: var(--ink-muted);
  --halo: rgba(255,255,255,0.55);
  --halo-dim: rgba(255,255,255,0.16);
  --halo-glow: rgba(255,255,255,0.14);
  --halo-glow-dim: rgba(255,255,255,0.04);
  --focus: #f2f2f2;
  --shadow-node: inset 0 1px 0 rgba(255,255,255,0.06);
  --shadow-node-lift: inset 0 1px 0 rgba(255,255,255,0.1);
  --shadow-control: 0 4px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  --shadow-led: 0 0 8px rgba(255,255,255,0.55);
  --shadow-port-live: 0 0 10px rgba(255,255,255,0.35);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --grid-pitch: 24px;
  --head-height: 44px;
  --control-height: 36px;
  --node-w-square: 300px;
  --node-w-portrait: 240px;
  --node-w-file: 240px;
  --node-w-landscape: 480px;
  --radius-field: 8px;
  --radius-node: 14px;
  --radius-pill: 999px;
  --wire-stroke: 1.5px;
  --wire-glow: 6px;
  --wire-hit: 14px;
  --wire-tension: 0.5;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-light: "Helvetica Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.t-title { font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 400; letter-spacing: 0.2em; }
.t-label { font-family: var(--font-sans); font-size: 12px; line-height: 14px; font-weight: 400; letter-spacing: 0.18em; }
.t-field { font-family: var(--font-sans); font-size: 18px; line-height: 26px; font-weight: 300; }
.t-param { font-family: var(--font-sans); font-size: 13px; line-height: 22px; font-weight: 400; }
.t-well { font-family: var(--font-sans); font-size: 14px; line-height: 21px; font-weight: 400; }
.t-readout { font-family: var(--font-sans); font-size: 34px; line-height: 40px; font-weight: 300; }
.t-quote { font-family: var(--font-light); font-size: 18px; line-height: 26px; font-weight: 300; }
.t-term { font-family: var(--font-light); font-size: 16px; line-height: 20px; font-weight: 300; }
.t-text { font-family: var(--font-light); font-size: 14px; line-height: 21px; font-weight: 300; }
.t-hud { font-family: var(--font-mono); font-size: 10px; line-height: 14px; font-weight: 400; letter-spacing: 0.06em; }
