/**
 * Style 1 — Global theme tokens
 * ---------------------------------------------------------------------------
 * These variables power the visual editor “Global theme colors” and AI builds.
 * Edit only this palette; section CSS must reference tokens (not raw hex).
 * Build injects css/crm-theme-overrides.css to remap --crm-theme-* at runtime.
 */
:root {
  --crm-theme-primary: #4f6f87;
  --crm-theme-secondary: #f4e8dc;
  --crm-theme-primary-dark: #3f5a6e;
  --crm-theme-accent: #4f6f87;

  --color-primary: #84939f;
  --color-primary-dark: #66727a;
  --color-secondary: #6c7882;
  --color-accent: #67737c;

  --color-on-light: #2d2d2d;
  --color-on-dark: #ffffff;
  --color-button: var(--color-button-solid);
  --color-button-hover: var(--color-primary-dark);
  --color-text: var(--color-on-light);
  --color-text-muted: #6b6b6b;
  --color-text-light: #9a9a9a;
  --color-surface: #ffffff;
  --color-surface-soft: #fcf8f4;
  --color-surface-muted: #f0f2f3;
  --color-border: #d7dee5;

  /* Legacy aliases (style.css + marketing.css) */
  --color-plum: #b8c0c7;
  --color-rose-pink: #fbfcfd;
  --color-pink: #f3f7fb;
  --color-pink-light: #f7fafc;
  --color-pink-btn: #f4e8dc;
  --color-button-solid: #67737c;
  --crm-btn-solid-text: #ffffff;
  --color-pink-border: #e1ecf4;
  --color-accent-red: #b8c0c7;
  --color-gray-dark: #2d2d2d;
  --color-gray: #6b6b6b;
  --color-gray-light: #9a9a9a;
  --color-white: #ffffff;
  --white: #ffffff;
  --color-orange: #dde9f2;

  /* Marketing sections (patient portal, healow, tools, faqs) */
  --mkt-primary: var(--color-primary);
  --mkt-primary-dark: #5a646c;
  --mkt-accent: #95a6b3;
  --mkt-accent-dark: #3f5a6e;
  --mkt-text: #333333;
  --mkt-text-muted: #555555;
  --mkt-link: #bfd5e6;
  --mkt-check: #bfd5e6;
  --mkt-bg-tab-inactive: #e9ecef;
  --mkt-border: #dee2e6;
  --mkt-surface: #ffffff;
  /* Iframe host panels must stay translucent-light (black CDN text) */
  --mkt-surface-alt: #16191f12;
  /* Practice unique code — darkened primary for white-panel readability */
  --mkt-practice-code: #6c7782;
  --mkt-tab-text: var(--color-text-muted);
  --hero-card-icon-bg: #95a6b3;
  --footer-heading-color: #ffffff;
  --social-icon-color: #67737c;
}
