:root {
  --sh-font: "Manrope", system-ui, sans-serif;
  --sh-space: 8px;
  --sh-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sh-transition: 200ms var(--sh-ease);
  --sh-transition-fast: 160ms var(--sh-ease);
  --sh-transition-slow: 280ms var(--sh-ease);

  --sh-bg: #f4f7fb;
  --sh-bg-elevated: #ffffff;
  --sh-surface: #eef2f7;
  --sh-ink: #0f172a;
  --sh-muted: #64748b;
  --sh-border: #e2e8f0;
  --sh-border-strong: #cbd5e1;

  /* Entity accents */
  --sh-primary: #10b981;
  --sh-primary-soft: rgba(16, 185, 129, 0.14);
  --sh-emerald: #10b981;
  --sh-emerald-soft: rgba(16, 185, 129, 0.14);
  --sh-secondary: #3b82f6;
  --sh-secondary-soft: rgba(59, 130, 246, 0.14);
  --sh-blue: #3b82f6;
  --sh-blue-soft: rgba(59, 130, 246, 0.14);
  --sh-accent: #0ea5e9;
  --sh-accent-soft: rgba(14, 165, 233, 0.14);
  --sh-sky: #0ea5e9;
  --sh-sky-soft: rgba(14, 165, 233, 0.14);
  --sh-warning: #f59e0b;
  --sh-warning-soft: rgba(245, 158, 11, 0.14);
  --sh-orange: #f97316;
  --sh-orange-soft: rgba(249, 115, 22, 0.14);
  --sh-yellow: #eab308;
  --sh-yellow-soft: rgba(234, 179, 8, 0.16);
  --sh-danger: #f43f5e;
  --sh-danger-soft: rgba(244, 63, 94, 0.12);
  --sh-rose: #f43f5e;
  --sh-rose-soft: rgba(244, 63, 94, 0.12);
  --sh-success: #10b981;
  --sh-success-soft: rgba(16, 185, 129, 0.14);
  --sh-violet: #8b5cf6;
  --sh-violet-soft: rgba(139, 92, 246, 0.14);
  --sh-purple: #8b5cf6;
  --sh-purple-soft: rgba(139, 92, 246, 0.14);

  --sh-sidebar-bg: #ffffff;
  --sh-sidebar-ink: #0f172a;
  --sh-sidebar-muted: #64748b;
  --sh-sidebar-hover: rgba(16, 185, 129, 0.08);
  --sh-sidebar-active: #059669;
  --sh-sidebar-active-bg: rgba(16, 185, 129, 0.12);

  --sh-radius: 16px;
  --sh-radius-sm: 10px;
  --sh-radius-md: 14px;
  --sh-radius-lg: 20px;
  --sh-radius-pill: 999px;

  --sh-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
  --sh-shadow-hover: 0 4px 12px rgba(15, 23, 42, 0.06), 0 18px 40px rgba(15, 23, 42, 0.08);
  --sh-shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.05);
  --sh-shadow-lift: 0 8px 28px rgba(15, 23, 42, 0.1);

  --sh-topbar-h: 68px;
  --sh-sidebar-w: 280px;
  --sh-sidebar-collapsed: 84px;
  --sh-focus: 0 0 0 3px rgba(16, 185, 129, 0.28);
  --sh-row-h: 52px;
  --sh-glass: rgba(255, 255, 255, 0.78);
}

html[data-bs-theme="dark"] {
  --sh-bg: #0a0f1a;
  --sh-bg-elevated: #111827;
  --sh-surface: #1a2332;
  --sh-ink: #f8fafc;
  --sh-muted: #94a3b8;
  --sh-border: #1e293b;
  --sh-border-strong: #334155;

  --sh-primary: #34d399;
  --sh-primary-soft: rgba(52, 211, 153, 0.16);
  --sh-emerald: #34d399;
  --sh-emerald-soft: rgba(52, 211, 153, 0.16);
  --sh-secondary: #60a5fa;
  --sh-secondary-soft: rgba(96, 165, 250, 0.16);
  --sh-blue: #60a5fa;
  --sh-blue-soft: rgba(96, 165, 250, 0.16);
  --sh-accent: #38bdf8;
  --sh-accent-soft: rgba(56, 189, 248, 0.16);
  --sh-sky: #38bdf8;
  --sh-sky-soft: rgba(56, 189, 248, 0.16);
  --sh-warning: #fbbf24;
  --sh-warning-soft: rgba(251, 191, 36, 0.16);
  --sh-orange: #fb923c;
  --sh-orange-soft: rgba(251, 146, 60, 0.16);
  --sh-yellow: #facc15;
  --sh-yellow-soft: rgba(250, 204, 21, 0.16);
  --sh-danger: #fb7185;
  --sh-danger-soft: rgba(251, 113, 133, 0.16);
  --sh-rose: #fb7185;
  --sh-rose-soft: rgba(251, 113, 133, 0.16);
  --sh-success: #34d399;
  --sh-success-soft: rgba(52, 211, 153, 0.16);
  --sh-violet: #a78bfa;
  --sh-violet-soft: rgba(167, 139, 250, 0.16);
  --sh-purple: #a78bfa;
  --sh-purple-soft: rgba(167, 139, 250, 0.16);

  --sh-sidebar-bg: #0d1524;
  --sh-sidebar-ink: #f8fafc;
  --sh-sidebar-muted: #94a3b8;
  --sh-sidebar-hover: rgba(52, 211, 153, 0.1);
  --sh-sidebar-active: #34d399;
  --sh-sidebar-active-bg: rgba(52, 211, 153, 0.14);

  --sh-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.32);
  --sh-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.48);
  --sh-shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.28);
  --sh-shadow-lift: 0 12px 36px rgba(0, 0, 0, 0.5);
  --sh-focus: 0 0 0 3px rgba(52, 211, 153, 0.35);
  --sh-glass: rgba(13, 21, 36, 0.78);
}
