/* NodeForge — design tokens v3 */
:root {
  /* Backgrounds */
  --bg: #080b10;
  --bg-2: #0c1019;
  --surface: #101521;
  --surface-2: #161d2c;
  --surface-3: #1d2640;

  /* Borders */
  --border: #1e2737;
  --border-subtle: #161e2d;
  --border-focus: rgba(91,156,255,.5);

  /* Text */
  --text: #dde4ef;
  --text-muted: #8795ae;
  --text-dim: #5e6f88;

  /* Accent */
  --accent: #5b9cff;
  --accent-hover: #7ab3ff;
  --accent-muted: rgba(91,156,255,.12);
  --accent-border: rgba(91,156,255,.28);

  /* Status */
  --ok: #34d399;
  --ok-muted: rgba(52,211,153,.1);
  --ok-border: rgba(52,211,153,.22);
  --warn: #fbbf24;
  --warn-muted: rgba(251,191,36,.1);
  --warn-border: rgba(251,191,36,.28);
  --err: #f87171;
  --err-muted: rgba(248,113,113,.1);
  --err-border: rgba(248,113,113,.22);
  --step: #a78bfa;

  /* Button */
  --btn-bg: var(--accent);
  --btn-text: #050c1e;

  /* Sidebar */
  --sidebar-w: 240px;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  /* Shadows */
  --shadow-card: 0 1px 0 var(--border-subtle), 0 4px 16px rgba(0,0,0,.18);
  --shadow-float: 0 20px 60px rgba(0,0,0,.5), 0 4px 20px rgba(0,0,0,.3);

  /* Typography */
  --font: "Inter","SF Pro Text","Segoe UI",system-ui,-apple-system,sans-serif;
  --font-mono: "JetBrains Mono","Fira Code",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
}

body.workspace {
  background:
    radial-gradient(ellipse 900px 500px at 70% -100px, rgba(50,90,180,.07), transparent),
    radial-gradient(ellipse 600px 400px at -50px 100%, rgba(40,130,100,.04), transparent),
    var(--bg);
}
