/* SolerWorks tokens. Institutional Light is the default. data-theme="dark" is legacy, for old social and deck assets only. */
:root, [data-theme="light"] {
  --canvas: #ffffff;
  --surface-raised: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-control: #64748b;
  --ink: #0f172a;
  --ink-body: #334155;
  --ink-muted: #64748b;
  --ink-tag: #475569;
  --ink-subtle: #94a3b8;
  --azure-600: #2563eb;
  --azure-700: #1d4ed8;
  --azure-50: #eff6ff;
  --azure-200: #bfdbfe;
  --on-accent: #ffffff;
  --link: var(--azure-600);
  --badge-bg: #f1f5f9;
  --badge-ink: #1e293b;
  --badge-border: #cbd5e1;
  --pending: #7c3aed;
  --pending-tint: #f5f3ff;
  --pending-border: #ddd6fe;
  --attention: #92400e;
  --attention-tint: #fffbeb;
  --attention-border: #fde68a;
  --status-active: var(--azure-600);
  --status-pending: var(--pending);
  --status-attention: var(--attention);
  --focus-ring: var(--azure-600);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-overlay: 0 8px 24px rgba(15, 23, 42, 0.12);
}
[data-theme="dark"] {
  --canvas: #020617;
  --surface-raised: #1e293b;
  --surface: #0f172a;
  --border: #1e293b;
  --border-hover: #334155;
  --border-control: #64748b;
  --ink: #f8fafc;
  --ink-body: #e2e8f0;
  --ink-muted: #94a3b8;
  --ink-tag: #94a3b8;
  --ink-subtle: #64748b;
  --azure-600: #2563eb;
  --azure-700: #1d4ed8;
  --azure-50: #172554;
  --azure-200: #1e3a8a;
  --on-accent: #ffffff;
  --link: #60a5fa;
  --badge-bg: #1e293b;
  --badge-ink: #f8fafc;
  --badge-border: #334155;
  --pending: #a78bfa;
  --pending-tint: #2e1065;
  --pending-border: #4c1d95;
  --attention: #fbbf24;
  --attention-tint: #451a03;
  --attention-border: #78350f;
  --status-active: #60a5fa;
  --status-pending: var(--pending);
  --status-attention: var(--attention);
  --focus-ring: #60a5fa;
  --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.4);
  --shadow-overlay: 0 8px 24px rgba(2, 6, 23, 0.6);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;
  --font-sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.display { font-family: var(--font-sans); font-size: 48px; line-height: 52px; font-weight: 600; letter-spacing: -0.025em; }
.h1 { font-family: var(--font-sans); font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.h2 { font-family: var(--font-sans); font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }
.h3 { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.02em; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.mono { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
.mono-sm { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; }
.tag { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
