/**
 * Neittor Metal — design tokens. Raw palette and scales; themes.css maps them to semantic roles.
 */
:root {
  /* Palette */
  --nm-deep-graphite: #17191d;
  --nm-metal-graphite: #25282d;
  --nm-graphite-3: #2f3338;
  --nm-titanium: #a8adb4;
  --nm-aluminum: #c8cdd2;
  --nm-soft-silver: #e8eaed;
  --nm-workspace-white: #f5f6f7;
  --nm-white: #ffffff;
  --nm-cyan: #00aeef;
  --nm-magenta: #ec008c;
  --nm-yellow: #ffd500;
  --nm-key: #111111;

  /* Text-safe accents (contrast >= 4.5:1 on their backgrounds) */
  --nm-cyan-ink: #00729e;
  --nm-cyan-ink-dark: #5fcff7;

  /* Typography: system UI stack, no web font download */
  --nm-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --nm-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --nm-font-mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --nm-text-xs: 0.6875rem;
  --nm-text-sm: 0.8125rem;
  --nm-text-md: 0.875rem;
  --nm-text-lg: 1rem;
  --nm-text-xl: 1.25rem;
  --nm-weight-regular: 400;
  --nm-weight-medium: 500;
  --nm-weight-semibold: 600;

  /* Spacing (4px grid) */
  --nm-space-1: 0.25rem;
  --nm-space-2: 0.5rem;
  --nm-space-3: 0.75rem;
  --nm-space-4: 1rem;
  --nm-space-5: 1.25rem;
  --nm-space-6: 1.5rem;
  --nm-space-8: 2rem;

  /* Shape */
  --nm-radius-sm: 6px;
  --nm-radius: 9px;
  --nm-radius-lg: 13px;

  /* Layout */
  --nm-sidebar-w-open: 248px;
  --nm-sidebar-w-collapsed: 68px;
  --nm-topbar-h: 56px;
  --nm-panel-w: 300px;
  --nm-content-max: 1680px;

  /* Motion */
  --nm-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nm-dur: 160ms;
}

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