/* partforge design tokens — the light/dark palette. Imported by app.css (so every
   part-app gets it via mount) and exported as "partforge/tokens.css" for other
   consumers (e.g. partforge-cloud's app chrome) to share one source of truth. */
:root {
  color-scheme: dark;
  --pf-bg: oklch(0.19 0.01 262); --pf-surface: oklch(0.23 0.011 262); --pf-surface-2: oklch(0.274 0.006 286.033); --pf-border: oklch(1 0 0 / 12%);
  --pf-text: oklch(0.985 0 0); --pf-text-strong: oklch(1 0 0); --pf-text-2: oklch(0.92 0.004 286.32);
  --pf-muted: oklch(0.705 0.015 286.067); --pf-muted-2: oklch(0.80 0.01 286); --pf-status: oklch(0.705 0.015 286.067); --pf-hint: oklch(0.552 0.016 285.938);
  --pf-accent: #3f7bf0; --pf-accent-soft: #26314a; --pf-on-accent: #fff; --pf-input-bg: oklch(0.165 0.009 262); --pf-err: oklch(0.704 0.191 22.216);
  --pf-sans: "Geist Variable", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pf-mono: "Geist Mono Variable", ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  /* Layout + shape, matching partforge-cloud's control scale (--r-control /
     --r-pill) so a rail nested in the cloud editor reads as one product. */
  --pf-rail-w: 288px; --pf-rail-pad: 14px;
  --pf-radius-control: 7px; --pf-radius-pill: 12px;
  /* Floating pills: cloud's --shadow-editor. Larger and near-even, so a pill
     doesn't pool weight at its bottom edge the way a downward shadow does. */
  --pf-shadow-float: 0 0 6px rgb(0 0 0 / .04), 0 2px 14px rgb(0 0 0 / .072);
  /* The rail is SET BACK: the viewer casts onto it, so this is inset on the
     rail's left edge. An outer shadow would read as the rail floating above the
     viewer — the opposite. Deeper in dark, where black reads weaker. */
  --pf-shadow-rail: inset 9px 0 16px -10px rgb(0 0 0 / .38);
}
:root[data-theme="light"] {
  color-scheme: light;
  --pf-bg: oklch(1 0 0); --pf-surface: oklch(1 0 0); --pf-surface-2: oklch(0.967 0.001 286.375); --pf-border: oklch(0.92 0.004 286.32);
  --pf-text: oklch(0.141 0.005 285.823); --pf-text-strong: oklch(0.10 0.005 285.823); --pf-text-2: oklch(0.21 0.006 285.885);
  --pf-muted: oklch(0.552 0.016 285.938); --pf-muted-2: oklch(0.44 0.015 285.9); --pf-status: oklch(0.552 0.016 285.938); --pf-hint: oklch(0.705 0.015 286.067);
  --pf-accent: #1f5bd6; --pf-accent-soft: #e6edfc; --pf-on-accent: #fff; --pf-input-bg: #ffffff; --pf-err: oklch(0.577 0.245 27.325);
  --pf-shadow-rail: inset 9px 0 14px -10px rgb(0 0 0 / .12);
}
