/* SciStudio — radius, shadow, spacing, motion tokens. */

:root {
  /* ---- Radii ---- */
  --radius: 0.5rem;            /* shadcn base (rounded-lg) */
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-node: 8px;          /* canvas block node */
  --radius-tile: 0.75rem;      /* palette tile swatch (rounded-xl) */
  --radius-input: 1rem;        /* palette search (rounded-2xl) */
  --radius-card-recent: 1.5rem;/* recent-project rows */
  --radius-panel: 2rem;        /* inner welcome card */
  --radius-hero: 2.5rem;       /* welcome hero card */
  --radius-pill: 999px;        /* buttons, chips, tabs — the signature shape */

  /* ---- Shadows ---- */
  --shadow-panel: 0 18px 48px rgba(20, 26, 24, 0.12); /* hero/selected cards */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);       /* nodes, tiles */
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);

  /* ---- Canvas node geometry (ADR-050) ---- */
  --node-size: 104px;
  --node-port-size: 14px;
  --node-port-stride: 22px;
  --node-port-top-inset: 26px;
  --tile-swatch-size: 72px;

  /* ---- Motion ---- */
  --ease-default: ease; /* @kind other */
  --duration-fast: 140ms; /* @kind other */ /* toolbar hover */
  --duration-default: 150ms; /* @kind other */
  /* Hover pattern: translateY(-1px) + border tint to ember */
}
