/* ========================================================================
   Design tokens — single source of truth for the SendPilot wrapper UI.
   Replaces --rv-*, --ops-*, --pt-* variable families with unified --sp-*.
   ======================================================================== */

:root {
  /* Brand gradient */
  --sp-gradient:      linear-gradient(135deg, #067EFE 0%, #64E9EE 100%);

  /* Primary */
  --sp-primary:       #0071e3;
  --sp-primary-hover: #005cbf;
  --sp-primary-soft:  rgba(0, 113, 227, 0.08);
  --sp-primary-ink:   #ffffff;

  /* Surfaces */
  --sp-bg:            #f5f5f7;
  --sp-surface:       #ffffff;

  /* Typography */
  --sp-ink:           #1d1d1f;
  --sp-muted:         #6e6e73;
  --sp-faint:         #86868b;

  /* Borders */
  --sp-line:          rgba(0, 0, 0, 0.08);

  /* Radius */
  --sp-radius:        14px;

  /* Glassmorphism */
  --sp-glass-bg:      rgba(255, 255, 255, 0.72);
  --sp-glass-blur:    20px;

  /* Shadows */
  --sp-shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.06);
  --sp-shadow-md:     0 4px 12px rgba(0, 0, 0, 0.08);
  --sp-shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --sp-ease:          0.2s ease;

  /* Status — semantic colors */
  --sp-green:         #1d7a46;
  --sp-green-bg:      #e8f8ef;
  --sp-amber:         #8a5a00;
  --sp-amber-bg:      #fff6e5;
  --sp-red:           #b42318;
  --sp-red-bg:        #fef1f1;
  --sp-blue-status:   #2856b8;
  --sp-blue-status-bg:#e4ecfa;

  /* Band colors (lead scoring) */
  --sp-hot-bg:        #e8f8ef;
  --sp-hot-ink:       #1d7a46;
  --sp-strong-bg:     #e4ecfa;
  --sp-strong-ink:    #2856b8;
  --sp-look-bg:       #f0f0f2;
  --sp-look-ink:      #6e6e73;

  /* Warning */
  --sp-warn-bg:       #fff6e5;
  --sp-warn-ink:      #8a5a00;

  /* Font stack */
  --sp-font:          -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --sp-font-mono:     ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Additional shared layout tokens */
:root {
  --sp-radius-sm: 10px; --sp-radius-lg: 18px;
  --sp-sunk: #eceef2; --sp-line-strong: #c3c9d3;
  --sp-green-border: rgba(48,164,108,.25);
  --sp-amber-border: rgba(196,140,20,.28);
  --sp-red-border: rgba(196,60,60,.22);
  --sp-cat-multi_site: #3b6d8c; --sp-cat-facility_leaders: #2856b8;
  --sp-cat-office_managers: #7043b5; --sp-cat-owners_gms: #b5620b;
  --sp-cat-referral_partners: #b83a5a; --sp-cat-none: #7a857f;
}
