/* SGS Vector foundations. Semantic tokens are the visual source of truth. */
:root {
  --sgs-color-ink-strong: #330747;
  --sgs-color-ink: #2d1760;
  --sgs-color-text: #3e3e42;
  --sgs-color-text-muted: #5a5a5d;
  --sgs-color-brand: #593196;
  --sgs-color-brand-hover: #2d1760;
  --sgs-color-brand-subtle: #ebebef;
  --sgs-color-surface: #f9f9f9;
  --sgs-color-paper: #ffffff;
  --sgs-color-surface-soft: #ebebef;
  --sgs-color-surface-dark: #17141f;
  --sgs-color-border: #e0e0e0;
  --sgs-color-line: #e0e0e0;
  --sgs-color-focus: #593196;
  --sgs-color-success: #26724f;
  --sgs-color-success-subtle: #eaf5ee;
  --sgs-color-warning: #946400;
  --sgs-color-warning-subtle: #fff4d6;
  --sgs-color-error: #b3261e;
  --sgs-color-error-subtle: #fdecea;
  --sgs-font-display: Manrope, "Segoe UI", Arial, sans-serif;
  --sgs-font-body: Manrope, "Segoe UI", Arial, sans-serif;
  --sgs-font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --sgs-space-1: 4px;
  --sgs-space-2: 8px;
  --sgs-space-3: 12px;
  --sgs-space-4: 16px;
  --sgs-space-5: 24px;
  --sgs-space-6: 32px;
  --sgs-space-7: 40px;
  --sgs-space-8: 48px;
  --sgs-space-10: 64px;
  --sgs-space-12: 80px;
  --sgs-space-16: 96px;
  --sgs-radius-control: 7px;
  --sgs-radius-card: 12px;
  --sgs-radius-panel: 12px;
  --sgs-control-height: 48px;
  --sgs-content-max: 1280px;
  --sgs-shadow-card: 0 2px 0 rgba(23,20,31,.02);
  --sgs-shadow-card-hover: 0 10px 28px rgba(23,20,31,.08);
  --sgs-transition-standard: .24s cubic-bezier(.2,.7,.2,1);

  /* Compatibility aliases. Replace these in legacy patterns only through the migration sequence. */
  --sgs-private-ink: var(--sgs-color-ink-strong);
  --sgs-private-ink-soft: var(--sgs-color-ink);
  --sgs-private-paper: var(--sgs-color-surface);
  --sgs-private-paper-deep: var(--sgs-color-surface-soft);
  --sgs-private-violet: #593196;
  --sgs-private-violet-dim: rgba(89,49,150,.28);
  --sgs-private-muted: var(--sgs-color-text-muted);
  --sgs-ink: var(--sgs-color-ink);
  --sgs-ink-deep: var(--sgs-color-ink-strong);
  --sgs-surface: var(--sgs-color-surface);
  --sgs-paper: var(--sgs-color-paper);
  --sgs-line: var(--sgs-color-line);
  --sgs-violet: var(--sgs-color-brand);
  --sgs-accent: var(--sgs-color-brand);
  --sgs-accent-cta: var(--sgs-color-brand);
  --sgs-dark: var(--sgs-color-surface-dark);
  --sgs-dark-mid: var(--sgs-color-ink);
  --sgs-purple: var(--sgs-color-brand);
  --sgs-purple-lt: #7650a8;
  --sgs-border: var(--sgs-color-border);
  --sgs-card-bg: var(--sgs-color-paper);
  --sgs-muted: var(--sgs-color-text-muted);
  --sgs-radius: var(--sgs-radius-card);
  --sgs-radius-lg: var(--sgs-radius-panel);
  --tr: var(--sgs-transition-standard);
}
