/* STASHEVSKI CRM · v2.0 · 2026-11-18
   Extracted brand: ink, bronze, paper, sand, white and font families.
   Other values are CRM design decisions. No application styles are overridden. */
:root {
  /* 1. Primitives */
  --ss2-ink-950: #181712;
  --ss2-ink-800: #302D26;
  --ss2-ink-700: #4C473E;
  --ss2-gray-600: #68645D;
  --ss2-gray-500: #908A7F;
  --ss2-gray-300: #D7D2C9;
  --ss2-paper-100: #F7F7F5;
  --ss2-paper-50: #FAF9F7;
  --ss2-white: #FFFFFF;
  --ss2-bronze-700: #755E40;
  --ss2-bronze-500: #987E5D;
  --ss2-bronze-400: #AB906D;
  --ss2-bronze-300: #B89D7A;
  --ss2-sand-200: #E8E1D9;
  --ss2-sand-100: #F0EBE4;
  --ss2-green-700: #23714F;
  --ss2-green-50: #EDF5EF;
  --ss2-amber-700: #8A5618;
  --ss2-amber-50: #FBF1DF;
  --ss2-red-700: #B13D36;
  --ss2-red-800: #91302A;
  --ss2-red-50: #FBEFEC;
  --ss2-blue-700: #315F7D;
  --ss2-blue-50: #EEF3F7;
  --ss2-space-1: 4px;
  --ss2-space-2: 8px;
  --ss2-space-3: 12px;
  --ss2-space-4: 16px;
  --ss2-space-5: 20px;
  --ss2-space-6: 24px;
  --ss2-space-8: 32px;
  --ss2-space-10: 40px;
  --ss2-space-12: 48px;
  --ss2-font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ss2-font-display: 'Involve', 'Inter', sans-serif;
  --ss2-font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ss2-text-xs: .75rem;
  --ss2-text-sm: .8125rem;
  --ss2-text-base: .875rem;
  --ss2-text-md: 1rem;
  --ss2-text-lg: 1.125rem;
  --ss2-text-xl: 1.5rem;
  --ss2-text-2xl: 2rem;
  --ss2-text-3xl: 2.25rem;
  --ss2-leading-body: 1.5;
  --ss2-leading-heading: 1.15;
  --ss2-weight-regular: 400;
  --ss2-weight-medium: 500;
  --ss2-weight-semibold: 600;
  --ss2-weight-bold: 700;
  --ss2-radius-none: 0;
  --ss2-radius-sm: 4px;
  --ss2-radius-md: 8px;
  --ss2-radius-round: 999px;
  --ss2-shadow-popover: 0 8px 24px rgb(24 23 18 / 12%);
  --ss2-shadow-dialog: 0 24px 64px rgb(24 23 18 / 22%);
  --ss2-duration-fast: 120ms;
  --ss2-duration-normal: 180ms;
  --ss2-ease: cubic-bezier(.2, 0, 0, 1);
  /* 2. Semantic */
  --ss2-bg-canvas: var(--ss2-paper-100);
  --ss2-bg-surface: var(--ss2-white);
  --ss2-bg-subtle: var(--ss2-paper-50);
  --ss2-bg-selected: var(--ss2-sand-100);
  --ss2-bg-inverse: var(--ss2-ink-950);
  --ss2-text-primary: var(--ss2-ink-950);
  --ss2-text-secondary: var(--ss2-gray-600);
  --ss2-text-inverse: var(--ss2-white);
  --ss2-text-inverse-muted: var(--ss2-sand-200);
  --ss2-text-link: var(--ss2-bronze-700);
  --ss2-border-subtle: var(--ss2-gray-300);
  --ss2-border-control: var(--ss2-gray-500);
  --ss2-action-primary: var(--ss2-bronze-500);
  --ss2-action-primary-hover: var(--ss2-bronze-400);
  --ss2-action-primary-active: var(--ss2-bronze-300);
  --ss2-action-on-primary: var(--ss2-ink-950);
  --ss2-focus: var(--ss2-bronze-700);
  --ss2-focus-inverse: var(--ss2-bronze-300);
  --ss2-success-fg: var(--ss2-green-700);
  --ss2-success-bg: var(--ss2-green-50);
  --ss2-warning-fg: var(--ss2-amber-700);
  --ss2-warning-bg: var(--ss2-amber-50);
  --ss2-danger-fg: var(--ss2-red-700);
  --ss2-danger-bg: var(--ss2-red-50);
  --ss2-info-fg: var(--ss2-blue-700);
  --ss2-info-bg: var(--ss2-blue-50);
  --ss2-disabled-bg: var(--ss2-paper-100);
  --ss2-disabled-fg: var(--ss2-gray-600);
  --ss2-overlay: rgb(24 23 18 / 50%);
  --ss2-chart-1: var(--ss2-bronze-700);
  --ss2-chart-2: var(--ss2-blue-700);
  --ss2-chart-3: var(--ss2-green-700);
  --ss2-chart-4: var(--ss2-ink-700);
  /* 3. Component */
  --ss2-button-bg: var(--ss2-action-primary);
  --ss2-button-fg: var(--ss2-action-on-primary);
  --ss2-button-height: 40px;
  --ss2-button-height-sm: 32px;
  --ss2-button-radius: var(--ss2-radius-sm);
  --ss2-input-height: 40px;
  --ss2-input-bg: var(--ss2-bg-surface);
  --ss2-input-border: var(--ss2-border-control);
  --ss2-input-radius: var(--ss2-radius-sm);
  --ss2-card-bg: var(--ss2-bg-surface);
  --ss2-card-border: var(--ss2-border-subtle);
  --ss2-card-radius: var(--ss2-radius-sm);
  --ss2-card-padding: var(--ss2-space-6);
  --ss2-row-height: 64px;
  --ss2-row-hover: var(--ss2-bg-subtle);
  --ss2-row-selected: var(--ss2-bg-selected);
  --ss2-sidebar-bg: var(--ss2-paper-100);
  --ss2-sidebar-width: 208px;
  --ss2-sidebar-active-bg: var(--ss2-sand-200);
  --ss2-sidebar-active-mark: var(--ss2-bronze-400);
  --ss2-page-padding: var(--ss2-space-8);
  --ss2-topbar-height: 64px;
  --ss2-dialog-width: 600px;
  --ss2-z-sticky: 10;
  --ss2-z-menu: 20;
  --ss2-z-dialog: 50;
  --ss2-z-toast: 60;
}
[data-density='compact'] { --ss2-row-height: 48px; }
@media (max-width: 767px) {
  :root { --ss2-page-padding: var(--ss2-space-4); --ss2-button-height: 44px; --ss2-input-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --ss2-duration-fast: 0ms; --ss2-duration-normal: 0ms; }
}

:root{
  --ss2-font-data: var(--ss2-font-mono);
  --ss2-report-bg: var(--ss2-bg-inverse);
  --ss2-report-fg: var(--ss2-text-inverse);
  --ss2-report-muted: var(--ss2-text-inverse-muted);
  --ss2-table-radius: var(--ss2-radius-none);
  --ss2-metric-divider: var(--ss2-border-subtle);
  --ss2-section-rule: var(--ss2-bronze-500);
}
