/* ============================================================
   HSMN / Healthy Start Florida — shared design tokens
   Brand: magenta/pink + green (MomCare Network logo palette)
   Mirrors the structure of /lib/com/jfl/jfl-hr.css
   ============================================================ */

:root {
  --hsmn-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Brand */
  --hsmn-pink-900: #831843;
  --hsmn-pink-800: #9d174d;
  --hsmn-pink-700: #be185d;
  --hsmn-pink-600: #db2777;
  --hsmn-pink-500: #ec4899;
  --hsmn-pink-400: #f472b6;
  --hsmn-pink-300: #f9a8d4;
  --hsmn-pink-lt:  #fbcfe8;

  /* Secondary — MomCare green */
  --hsmn-green-800: #166534;
  --hsmn-green-700: #15803d;
  --hsmn-green-600: #16a34a;
  --hsmn-green-500: #22c55e;
  --hsmn-green-400: #4ade80;
  --hsmn-green-lt:  #86efac;

  /* Supporting */
  --hsmn-navy-900: #020617;
  --hsmn-navy-800: #0a1628;
  --hsmn-navy-700: #0f2847;
  --hsmn-navy-600: #1e3a5f;
  --hsmn-teal-600: #0d9488;
  --hsmn-teal-500: #14b8a6;
  --hsmn-teal-400: #2dd4bf;
  --hsmn-slate-400: #94a3b8;
  --hsmn-amber-400: #f59e0b;
  --hsmn-amber-lt:  #fde68a;

  /* Neutrals */
  --hsmn-mute:   #64748b;
  --hsmn-border: #e2e8f0;
  --hsmn-shadow: 0 10px 30px rgba(2,6,23,.08);
}

/* ============================================================
   Role-switch aid  (shared)
   A pill-bar showing the three personas so a live-demo reviewer
   can flip viewpoints in one click. Drop into any hero.
   ============================================================ */
.hsmn-top-bar {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
  margin-bottom: 14px;
}
.hsmn-back-pill {
  color: #fff; text-decoration: none; font-weight: 700;
  font-size: 11.5px; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: background .15s;
}
.hsmn-back-pill:hover { background: rgba(255,255,255,.24); color: #fff; text-decoration: none; }

.hsmn-role-switch {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 6px 4px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.hsmn-role-switch .lbl {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-right: 4px;
  white-space: nowrap;
}
.hsmn-role-switch .role {
  padding: 5px 12px; border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 11.5px; font-weight: 700;
  text-decoration: none; transition: all .15s;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.hsmn-role-switch .role:hover {
  background: rgba(255,255,255,.15);
  color: #fff; text-decoration: none;
}
.hsmn-role-switch .role.active {
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.hsmn-role-switch .role i { font-size: 10px; opacity: .9; }
.hsmn-role-switch .role.active i { color: #be185d; }
.hsmn-role-switch .role.active.green-active i { color: #16a34a; }
.hsmn-role-switch .role.active.violet-active i { color: #8b5cf6; }

@media (max-width: 760px) {
  .hsmn-role-switch .lbl { display: none; }
  .hsmn-role-switch .role { padding: 5px 10px; font-size: 11px; }
}

/* Modern theme: flat colors */
[data-hsmn-theme="modern"] .hsmn-back-pill {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-hsmn-theme="modern"] .hsmn-back-pill:hover { background: #e2e8f0 !important; color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-role-switch {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15,23,42,.05);
}
[data-hsmn-theme="modern"] .hsmn-role-switch .lbl { color: #64748b !important; }
[data-hsmn-theme="modern"] .hsmn-role-switch .role { color: #475569 !important; }
[data-hsmn-theme="modern"] .hsmn-role-switch .role:hover { background: #f1f5f9 !important; color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-role-switch .role.active { background: #ec4899 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .hsmn-role-switch .role.active.green-active { background: #22c55e !important; }
[data-hsmn-theme="modern"] .hsmn-role-switch .role.active.violet-active { background: #8b5cf6 !important; }
[data-hsmn-theme="modern"] .hsmn-role-switch .role.active i { color: #fff !important; }

/* ============================================================
   Flex AI insight card  (shared)
   Drop the .hsmn-ai-insight block on any page to render a
   violet-gradient AI briefing with a privacy disclosure footer.
   ============================================================ */
.hsmn-ai-insight {
  background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 100%);
  border: 1px solid #e9d5ff;
  border-radius: 14px;
  padding: 16px 18px;
}
.hsmn-ai-insight-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.hsmn-ai-insight-ic {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #be185d); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  flex-shrink: 0;
}
.hsmn-ai-insight-title {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #6d28d9;
}
.hsmn-ai-insight-body {
  font-size: 12.5px; color: #334155; line-height: 1.6;
}
.hsmn-ai-insight-body strong { color: #0f172a; }
.hsmn-ai-insight-body ul { margin: 8px 0 0; padding-left: 20px; }
.hsmn-ai-insight-body ul li { margin: 4px 0; }
.hsmn-ai-insight-body em { color: #6d28d9; font-style: italic; }
.hsmn-ai-insight-privacy {
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed #e9d5ff;
  font-size: 10.5px; color: #6d28d9;
  display: flex; align-items: flex-start; gap: 6px;
  font-weight: 600; line-height: 1.4;
}
.hsmn-ai-insight-privacy i { color: #8b5cf6; margin-top: 2px; flex-shrink: 0; }

/* Modern theme: keep the bright violet vibe for AI */
[data-hsmn-theme="modern"] .hsmn-ai-insight {
  background: #faf5ff !important;
  border: 1px solid #c4b5fd !important;
  border-radius: 12px !important;
}
[data-hsmn-theme="modern"] .hsmn-ai-insight-ic {
  background: #8b5cf6 !important;
}

/* Universal keyframes */
@keyframes hsmn-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hsmn-pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes hsmn-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   MODERN THEME OVERRIDES  (data-hsmn-theme="modern")
   Bright · colorful · flat · no gradients.
   Engaged by _theme_switcher.cfm.
   ============================================================ */

[data-hsmn-theme="modern"] {
  --hsmn-font: 'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hsmn-shadow: 0 2px 8px rgba(15,23,42,.06);
}

/* Drop ALL decorative radial-gradient overlays */
[data-hsmn-theme="modern"] .hsmn-hero::before,
[data-hsmn-theme="modern"] .cm-hero::before,
[data-hsmn-theme="modern"] .ad-hero::before,
[data-hsmn-theme="modern"] .st-hero::before,
[data-hsmn-theme="modern"] .p3-head::before,
[data-hsmn-theme="modern"] .hx-top::before,
[data-hsmn-theme="modern"] .iw-top::before,
[data-hsmn-theme="modern"] .od-head::before,
[data-hsmn-theme="modern"] .pd-head::before,
[data-hsmn-theme="modern"] .ax-head::before,
[data-hsmn-theme="modern"] .dq-head::before,
[data-hsmn-theme="modern"] .mb-head::before,
[data-hsmn-theme="modern"] .ns-hero::before {
  display: none !important;
}

/* ===== Bright white snap-scroll intro ===== */
[data-hsmn-theme="modern"] .hsmn-intro {
  background: #ffffff !important;
  color: #0f172a !important;
}
[data-hsmn-theme="modern"] .hsmn-slide { background: transparent !important; }
[data-hsmn-theme="modern"] .hsmn-intro::-webkit-scrollbar-thumb {
  background: #ec4899 !important;
}

/* ===== All heroes → flat white with colored accent border ===== */
[data-hsmn-theme="modern"] .hsmn-hero,
[data-hsmn-theme="modern"] .cm-hero,
[data-hsmn-theme="modern"] .ad-hero,
[data-hsmn-theme="modern"] .st-hero,
[data-hsmn-theme="modern"] .p3-head,
[data-hsmn-theme="modern"] .hx-top,
[data-hsmn-theme="modern"] .iw-top,
[data-hsmn-theme="modern"] .od-head,
[data-hsmn-theme="modern"] .pd-head,
[data-hsmn-theme="modern"] .ax-head,
[data-hsmn-theme="modern"] .dq-head,
[data-hsmn-theme="modern"] .mb-head,
[data-hsmn-theme="modern"] .ns-hero {
  background: #ffffff !important;
  color: #0f172a !important;
  border-bottom: 4px solid #ec4899 !important;
  border-radius: 0 !important;
}
[data-hsmn-theme="modern"] .cm-hero  { border-bottom-color: #ec4899 !important; }
[data-hsmn-theme="modern"] .ad-hero  { border-bottom-color: #22c55e !important; }
[data-hsmn-theme="modern"] .st-hero  { border-bottom-color: #8b5cf6 !important; }
[data-hsmn-theme="modern"] .p3-head  { border-bottom-color: #8b5cf6 !important; }
[data-hsmn-theme="modern"] .hx-top   { border-bottom-color: #2563eb !important; }
[data-hsmn-theme="modern"] .iw-top   { border-bottom-color: #ec4899 !important; }
[data-hsmn-theme="modern"] .od-head  { border-bottom-color: #ec4899 !important; }
[data-hsmn-theme="modern"] .pd-head  { border-bottom-color: #22c55e !important; }
[data-hsmn-theme="modern"] .ax-head  { border-bottom-color: #8b5cf6 !important; }
[data-hsmn-theme="modern"] .dq-head  { border-bottom-color: #14b8a6 !important; }
[data-hsmn-theme="modern"] .mb-head  { border-bottom-color: #22c55e !important; }
[data-hsmn-theme="modern"] .ns-hero  { border-bottom-color: #2563eb !important; }

/* ===== Typography: dark text, solid-color accent words ===== */
[data-hsmn-theme="modern"] .hsmn-h1,
[data-hsmn-theme="modern"] .hsmn-sec-h,
[data-hsmn-theme="modern"] .ns-section h2,
[data-hsmn-theme="modern"] .ns-hero h1 { color: #0f172a !important; }

[data-hsmn-theme="modern"] .hsmn-h1 .grad {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #ec4899 !important;
  color: #ec4899 !important;
}
[data-hsmn-theme="modern"] .ns-hero h1 .grad {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #2563eb !important;
  color: #2563eb !important;
}

[data-hsmn-theme="modern"] .hsmn-sub,
[data-hsmn-theme="modern"] .hsmn-sec-p,
[data-hsmn-theme="modern"] .ns-section p.intro,
[data-hsmn-theme="modern"] .ns-hero p.lead { color: #475569 !important; }

/* ===== Eyebrow / tag pills ===== */
[data-hsmn-theme="modern"] .hsmn-eyebrow,
[data-hsmn-theme="modern"] .ns-eyebrow {
  background: #fce7f3 !important;
  border-color: #fbcfe8 !important;
  color: #831843 !important;
}
[data-hsmn-theme="modern"] .hsmn-eyebrow .dot,
[data-hsmn-theme="modern"] .ns-eyebrow .dot {
  background: #ec4899 !important;
  color: #fff !important;
}
[data-hsmn-theme="modern"] .hsmn-sec-tag,
[data-hsmn-theme="modern"] .ns-section-tag {
  background: #fce7f3 !important;
  border-color: #fbcfe8 !important;
  color: #be185d !important;
}

/* ===== CTAs (solid brand, no gradient) ===== */
[data-hsmn-theme="modern"] .hsmn-cta.primary {
  background: #ec4899 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(236,72,153,.3) !important;
  border-radius: 10px !important;
}
[data-hsmn-theme="modern"] .hsmn-cta.primary:hover {
  background: #be185d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(236,72,153,.4) !important;
}
[data-hsmn-theme="modern"] .hsmn-cta.ghost {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 10px !important;
}
[data-hsmn-theme="modern"] .hsmn-cta.ghost:hover { background: #f8fafc !important; color: #0f172a !important; }

/* ===== RFI section pills on intro hero ===== */
[data-hsmn-theme="modern"] .hsmn-rfi-pill {
  background: #fff !important;
  border: 2px solid #fbcfe8 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(236,72,153,.06) !important;
}
[data-hsmn-theme="modern"] .hsmn-rfi-pill:hover {
  background: #fdf2f8 !important;
  border-color: #ec4899 !important;
}
[data-hsmn-theme="modern"] .hsmn-rfi-pill .tag { color: #be185d !important; }
[data-hsmn-theme="modern"] .hsmn-rfi-pill .lbl { color: #0f172a !important; }

/* ===== Scroll hint + stats ===== */
[data-hsmn-theme="modern"] .hsmn-scroll-hint {
  background: #fff !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}
[data-hsmn-theme="modern"] .hsmn-stat-v,
[data-hsmn-theme="modern"] .ns-stat .v {
  color: #ec4899 !important;
}
[data-hsmn-theme="modern"] .hsmn-stat-l,
[data-hsmn-theme="modern"] .ns-stat .l { color: #64748b !important; }
[data-hsmn-theme="modern"] .ns-stat {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.04) !important;
}
[data-hsmn-theme="modern"] .ns-stat .v small {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

/* ===== Feature / auto / problem / price cards with solid colored top-accent ===== */
[data-hsmn-theme="modern"] .hsmn-feature,
[data-hsmn-theme="modern"] .hsmn-auto-card,
[data-hsmn-theme="modern"] .hsmn-price-card,
[data-hsmn-theme="modern"] .hsmn-problem-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 3px solid #ec4899 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.05) !important;
}
[data-hsmn-theme="modern"] .hsmn-auto-card    { border-top-color: #22c55e !important; }
[data-hsmn-theme="modern"] .hsmn-price-card   { border-top-color: #8b5cf6 !important; }
[data-hsmn-theme="modern"] .hsmn-problem-card { border-top-color: #f59e0b !important; }

[data-hsmn-theme="modern"] .hsmn-feature h4,
[data-hsmn-theme="modern"] .hsmn-auto-card h4,
[data-hsmn-theme="modern"] .hsmn-price-card h4,
[data-hsmn-theme="modern"] .hsmn-problem-card h4 { color: #0f172a !important; }

[data-hsmn-theme="modern"] .hsmn-feature p,
[data-hsmn-theme="modern"] .hsmn-auto-card p,
[data-hsmn-theme="modern"] .hsmn-price-card p,
[data-hsmn-theme="modern"] .hsmn-price-card ul,
[data-hsmn-theme="modern"] .hsmn-price-card li,
[data-hsmn-theme="modern"] .hsmn-problem-card p { color: #475569 !important; }

[data-hsmn-theme="modern"] .hsmn-feature .rfi-ref {
  color: #be185d !important;
  background: #fce7f3 !important;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #fbcfe8 !important;
}
[data-hsmn-theme="modern"] .hsmn-auto-card .metric {
  color: #166534 !important;
  background: #dcfce7 !important;
  border: 1px solid #bbf7d0 !important;
}
[data-hsmn-theme="modern"] .hsmn-problem-card-ic {
  background: #f59e0b !important;
  color: #fff !important;
  border-radius: 10px !important;
}

/* Decorative ::before radials off on white cards */
[data-hsmn-theme="modern"] .hsmn-feature::before,
[data-hsmn-theme="modern"] .hsmn-auto-card::before,
[data-hsmn-theme="modern"] .od-kpi::before,
[data-hsmn-theme="modern"] .st-kpi-card::before,
[data-hsmn-theme="modern"] .ns-cure::before,
[data-hsmn-theme="modern"] .ns-feat::before { display: none !important; }

/* ===== Icons: flat solid colors, no gradients ===== */
[data-hsmn-theme="modern"] .hsmn-feature-ic    { background: #ec4899 !important; color: #fff !important; border-radius: 10px !important; }
[data-hsmn-theme="modern"] .hsmn-auto-card-ic  { background: #22c55e !important; color: #fff !important; border-radius: 10px !important; }
[data-hsmn-theme="modern"] .hsmn-unified-f-ic  { background: #ec4899 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .ns-cure-ic         { background: #14b8a6 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .ns-node-ic         { background: #14b8a6 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .ns-node.mid .ns-node-ic { background: #2563eb !important; }
[data-hsmn-theme="modern"] .ns-node.out .ns-node-ic { background: #f59e0b !important; }
[data-hsmn-theme="modern"] .ns-op .ic          { background: #f59e0b !important; color: #fff !important; }

/* Case manager daily tiles: solid colors */
[data-hsmn-theme="modern"] .cm-today-ic.pink  { background: #ec4899 !important; }
[data-hsmn-theme="modern"] .cm-today-ic.green { background: #22c55e !important; }
[data-hsmn-theme="modern"] .cm-today-ic.amber { background: #f59e0b !important; }
[data-hsmn-theme="modern"] .cm-today-ic.red   { background: #ef4444 !important; }
[data-hsmn-theme="modern"] .cm-today-ic.navy  { background: #1e3a5f !important; }

/* Avatars / seals — flat solid brand color ===== */
[data-hsmn-theme="modern"] .cm-avatar {
  background: #ec4899 !important;
  color: #fff !important;
  border-color: #fbcfe8 !important;
}
[data-hsmn-theme="modern"] .cm-avatar .badge { background: #22c55e !important; border-color: #fff !important; }
[data-hsmn-theme="modern"] .ad-avatar {
  background: #22c55e !important;
  color: #fff !important;
  border-color: #bbf7d0 !important;
}
[data-hsmn-theme="modern"] .st-seal {
  background: #8b5cf6 !important;
  color: #fff !important;
  border-color: #ddd6fe !important;
}
[data-hsmn-theme="modern"] .p3-avatar {
  background: #8b5cf6 !important;
  color: #fff !important;
  border-color: #ddd6fe !important;
}
[data-hsmn-theme="modern"] .p3-avatar .baby { background: #f59e0b !important; border-color: #fff !important; color: #fff !important; }
[data-hsmn-theme="modern"] .hx-p-av { background: #f59e0b !important; color: #fff !important; }
[data-hsmn-theme="modern"] .cm-case-avatar { background: #ec4899 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .p3-person .av   { background: #8b5cf6 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .cm-fu-action    { background: #ec4899 !important; color: #fff !important; border-radius: 8px !important; }

/* ===== Hero text colors on per-page heroes ===== */
[data-hsmn-theme="modern"] .cm-idbox h1,
[data-hsmn-theme="modern"] .ad-idbox h1,
[data-hsmn-theme="modern"] .st-idbox h1,
[data-hsmn-theme="modern"] .p3-id h1,
[data-hsmn-theme="modern"] .hx-top h1,
[data-hsmn-theme="modern"] .od-head h1,
[data-hsmn-theme="modern"] .pd-head h1,
[data-hsmn-theme="modern"] .ax-head h1,
[data-hsmn-theme="modern"] .dq-head h1,
[data-hsmn-theme="modern"] .mb-head h1,
[data-hsmn-theme="modern"] .iw-top-title h1 { color: #0f172a !important; }

[data-hsmn-theme="modern"] .cm-idbox .role { color: #be185d !important; }
[data-hsmn-theme="modern"] .ad-idbox .role { color: #166534 !important; }
[data-hsmn-theme="modern"] .st-idbox .role { color: #6d28d9 !important; }
[data-hsmn-theme="modern"] .cm-idbox .org,
[data-hsmn-theme="modern"] .ad-idbox .org,
[data-hsmn-theme="modern"] .st-idbox .org,
[data-hsmn-theme="modern"] .hx-top p,
[data-hsmn-theme="modern"] .od-head .sub,
[data-hsmn-theme="modern"] .pd-head .sub,
[data-hsmn-theme="modern"] .ax-head .sub,
[data-hsmn-theme="modern"] .dq-head .sub,
[data-hsmn-theme="modern"] .mb-head .sub,
[data-hsmn-theme="modern"] .iw-top-title .sub,
[data-hsmn-theme="modern"] .p3-id .sub,
[data-hsmn-theme="modern"] .p3-id-meta { color: #64748b !important; }

[data-hsmn-theme="modern"] .cm-idbox .org i,
[data-hsmn-theme="modern"] .ad-idbox .org i,
[data-hsmn-theme="modern"] .st-idbox .org i,
[data-hsmn-theme="modern"] .p3-id-meta i { opacity: 1; color: #94a3b8 !important; }

/* Per-page hero h1 ico boxes (flat solid color) */
[data-hsmn-theme="modern"] .od-head h1 .ico { background: #ec4899 !important; color: #fff !important; border-color: transparent !important; }
[data-hsmn-theme="modern"] .pd-head h1 .ico { background: #22c55e !important; color: #fff !important; border-color: transparent !important; }
[data-hsmn-theme="modern"] .ax-head h1 .ico { background: #8b5cf6 !important; color: #fff !important; border-color: transparent !important; }
[data-hsmn-theme="modern"] .dq-head h1 .ico { background: #14b8a6 !important; color: #fff !important; border-color: transparent !important; }
[data-hsmn-theme="modern"] .mb-head h1 .ico { background: #22c55e !important; color: #fff !important; border-color: transparent !important; }
[data-hsmn-theme="modern"] .iw-top-title .ic { background: #ec4899 !important; color: #fff !important; border-color: transparent !important; }
[data-hsmn-theme="modern"] .hx-top h1 .ico  { background: #2563eb !important; color: #fff !important; border-color: transparent !important; }

/* Hero quick-add / hero action buttons — solid brand bg */
[data-hsmn-theme="modern"] .cm-quickadd { background: #ec4899 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .cm-quickadd:hover { background: #be185d !important; color: #fff !important; }
[data-hsmn-theme="modern"] .ad-hero-btn {
  background: #f0fdf4 !important; color: #166534 !important; border-color: #bbf7d0 !important;
}
[data-hsmn-theme="modern"] .ad-hero-btn:hover { background: #dcfce7 !important; }
[data-hsmn-theme="modern"] .ad-hero-btn.primary { background: #22c55e !important; color: #fff !important; border-color: #22c55e !important; }
[data-hsmn-theme="modern"] .st-hero-btn {
  background: #faf5ff !important; color: #6d28d9 !important; border-color: #ddd6fe !important;
}
[data-hsmn-theme="modern"] .st-hero-btn.primary { background: #8b5cf6 !important; color: #fff !important; border-color: #8b5cf6 !important; }
[data-hsmn-theme="modern"] .p3-a-btn {
  background: #fff !important; color: #0f172a !important; border-color: #e2e8f0 !important;
}
[data-hsmn-theme="modern"] .p3-a-btn.primary { background: #8b5cf6 !important; color: #fff !important; border-color: #8b5cf6 !important; }

/* Weather mini-tile on case manager hero */
[data-hsmn-theme="modern"] .cm-weather {
  background: #f1f5f9 !important; border-color: #e2e8f0 !important;
}
[data-hsmn-theme="modern"] .cm-weather .ic { color: #f59e0b !important; }
[data-hsmn-theme="modern"] .cm-weather .temp { color: #0f172a !important; }
[data-hsmn-theme="modern"] .cm-weather .sub { color: #64748b !important; }

/* Crumbs on colored heroes */
[data-hsmn-theme="modern"] .p3-crumb,
[data-hsmn-theme="modern"] .hx-crumb,
[data-hsmn-theme="modern"] .od-crumb,
[data-hsmn-theme="modern"] .pd-crumb,
[data-hsmn-theme="modern"] .ax-crumb,
[data-hsmn-theme="modern"] .dq-crumb,
[data-hsmn-theme="modern"] .mb-crumb,
[data-hsmn-theme="modern"] .ns-crumb,
[data-hsmn-theme="modern"] .iw-top-crumb { color: #64748b !important; }
[data-hsmn-theme="modern"] .p3-crumb a,
[data-hsmn-theme="modern"] .hx-crumb a,
[data-hsmn-theme="modern"] .od-crumb a,
[data-hsmn-theme="modern"] .pd-crumb a,
[data-hsmn-theme="modern"] .ax-crumb a,
[data-hsmn-theme="modern"] .dq-crumb a,
[data-hsmn-theme="modern"] .mb-crumb a,
[data-hsmn-theme="modern"] .ns-crumb a,
[data-hsmn-theme="modern"] .iw-top-crumb a { color: #be185d !important; }

/* Participant 360 pills */
[data-hsmn-theme="modern"] .p3-pill {
  background: #f1f5f9 !important; color: #0f172a !important; border-color: #e2e8f0 !important;
}
[data-hsmn-theme="modern"] .p3-pill.warn   { background: #fef3c7 !important; color: #92400e !important; border-color: #fde68a !important; }
[data-hsmn-theme="modern"] .p3-pill.danger { background: #fee2e2 !important; color: #991b1b !important; border-color: #fecaca !important; }
[data-hsmn-theme="modern"] .p3-pill.ok     { background: #dcfce7 !important; color: #166534 !important; border-color: #bbf7d0 !important; }

/* ===== Panels / cards: softer corners, soft shadow ===== */
[data-hsmn-theme="modern"] [class$="-panel"],
[data-hsmn-theme="modern"] [class$="-card"],
[data-hsmn-theme="modern"] [class$="-tile"] {
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.05) !important;
}
[data-hsmn-theme="modern"] .cm-today-card,
[data-hsmn-theme="modern"] .ad-kpi-card,
[data-hsmn-theme="modern"] .st-kpi-card,
[data-hsmn-theme="modern"] .od-kpi,
[data-hsmn-theme="modern"] .pd-kpi,
[data-hsmn-theme="modern"] .mb-kpi,
[data-hsmn-theme="modern"] .dq-kpi {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.05) !important;
}

/* State KPI big value (was gradient text) → solid pink */
[data-hsmn-theme="modern"] .st-kpi-card .v {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #ec4899 !important;
  color: #ec4899 !important;
}
[data-hsmn-theme="modern"] .st-kpi-card .v small {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

/* Company-overview stats */
[data-hsmn-theme="modern"] .hsmn-co-stat {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15,23,42,.04) !important;
}
[data-hsmn-theme="modern"] .hsmn-co-stat .v {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #ec4899 !important;
  color: #ec4899 !important;
}
[data-hsmn-theme="modern"] .hsmn-co-stat .l { color: #64748b !important; }
[data-hsmn-theme="modern"] .hsmn-co-stat p { color: #475569 !important; }
[data-hsmn-theme="modern"] .hsmn-co-lead p { color: #334155 !important; }

/* ===== Persona cards ===== */
[data-hsmn-theme="modern"] .hsmn-persona-card {
  background: #fff !important;
  border: 2px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 12px rgba(15,23,42,.06) !important;
}
[data-hsmn-theme="modern"] .hsmn-persona-card.pink   { border-color: #ec4899 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.green  { border-color: #22c55e !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.violet { border-color: #8b5cf6 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card-bg { opacity: 0 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-name { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card p { color: #475569 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-role { opacity: 1 !important; color: #be185d !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.green .hsmn-persona-role  { color: #166534 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.violet .hsmn-persona-role { color: #6d28d9 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-features li { color: #334155 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-features li i {
  background: #f1f5f9 !important; color: #be185d !important;
}
[data-hsmn-theme="modern"] .hsmn-persona-card.green .hsmn-persona-features li i  { color: #166534 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.violet .hsmn-persona-features li i { color: #6d28d9 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-cta {
  background: #f8fafc !important; color: #0f172a !important; border-color: #e2e8f0 !important;
}
[data-hsmn-theme="modern"] .hsmn-persona-icon { color: #fff !important; box-shadow: none !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.pink .hsmn-persona-icon   { background: #ec4899 !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.green .hsmn-persona-icon  { background: #22c55e !important; }
[data-hsmn-theme="modern"] .hsmn-persona-card.violet .hsmn-persona-icon { background: #8b5cf6 !important; }

/* ===== Scenario cards (intro Section 5) ===== */
[data-hsmn-theme="modern"] .hsmn-scenario {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 3px solid #ec4899 !important;
  color: #0f172a !important;
  border-radius: 10px !important;
}
[data-hsmn-theme="modern"] .hsmn-scenario h5 { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-scenario ul { color: #475569 !important; }
[data-hsmn-theme="modern"] .hsmn-scenario .sn { color: #be185d !important; }

/* ===== Launch pad ===== */
[data-hsmn-theme="modern"] .hsmn-launch { border-top-color: #fbcfe8 !important; }
[data-hsmn-theme="modern"] .hsmn-launch-col {
  background: #fff !important; border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(15,23,42,.04);
}
[data-hsmn-theme="modern"] .hsmn-launch-col h5 { color: #be185d !important; }
[data-hsmn-theme="modern"] .hsmn-launch-col a  { color: #334155 !important; border-bottom-color: #f1f5f9 !important; }
[data-hsmn-theme="modern"] .hsmn-launch-col a:hover { color: #be185d !important; }
[data-hsmn-theme="modern"] .hsmn-launch-col a i { color: #94a3b8 !important; }
[data-hsmn-theme="modern"] .hsmn-launch-col a:hover i { color: #be185d !important; }
[data-hsmn-theme="modern"] .hsmn-launch-col a .tag {
  background: #f1f5f9 !important; color: #64748b !important; border: 1px solid #e2e8f0 !important;
}
[data-hsmn-theme="modern"] .hsmn-launch-col a .tag.planned {
  background: #fef3c7 !important; color: #b45309 !important; border-color: #fde68a !important;
}
[data-hsmn-theme="modern"] .hsmn-launch-head h4 { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-launch-head p  { color: #64748b !important; }
[data-hsmn-theme="modern"] .hsmn-brand-line     { color: #94a3b8 !important; }

/* ===== Intro nav dots ===== */
[data-hsmn-theme="modern"] .hsmn-nav-dot {
  background: rgba(15,23,42,.25) !important;
  border-color: rgba(15,23,42,.1) !important;
}
[data-hsmn-theme="modern"] .hsmn-nav-dot.active {
  background: #ec4899 !important;
  box-shadow: 0 0 14px rgba(236,72,153,.4) !important;
}
[data-hsmn-theme="modern"] .hsmn-nav-dot::after {
  background: #fff !important; color: #0f172a !important; border-color: #e2e8f0 !important;
}

/* ===== Scatter items (defensive) ===== */
[data-hsmn-theme="modern"] .hsmn-scatter-item {
  background: #fff !important; border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  animation-play-state: paused !important;
}
[data-hsmn-theme="modern"] .hsmn-scatter-item i { color: #64748b !important; }

/* ===== Netsmart page specifics ===== */
[data-hsmn-theme="modern"] .ns-feat,
[data-hsmn-theme="modern"] .ns-op,
[data-hsmn-theme="modern"] .ns-cure,
[data-hsmn-theme="modern"] .ns-step,
[data-hsmn-theme="modern"] .ns-gov-item,
[data-hsmn-theme="modern"] .ns-node {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.05) !important;
}
[data-hsmn-theme="modern"] .ns-node.in  { border-left: 3px solid #14b8a6 !important; }
[data-hsmn-theme="modern"] .ns-node.mid { border-left: 3px solid #2563eb !important; }
[data-hsmn-theme="modern"] .ns-node.out { border-left: 3px solid #f59e0b !important; }
[data-hsmn-theme="modern"] .ns-node .tag { background: #ecfeff !important; color: #0e7490 !important; }

[data-hsmn-theme="modern"] .ns-arch {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-hsmn-theme="modern"] .ns-arrow-bar      { background: #2563eb !important; }
[data-hsmn-theme="modern"] .ns-arrow-bar::after { border-left-color: #2563eb !important; }
[data-hsmn-theme="modern"] .ns-arrow-bar.back { background: #f59e0b !important; }
[data-hsmn-theme="modern"] .ns-arrow-bar.back::after { border-left-color: #f59e0b !important; }

[data-hsmn-theme="modern"] .ns-step .n { background: #2563eb !important; color: #fff !important; }
[data-hsmn-theme="modern"] .ns-timeline-row::before { background: #be185d !important; }
[data-hsmn-theme="modern"] .ns-tl-dot {
  background: #fff !important; border-color: #14b8a6 !important; color: #14b8a6 !important;
  box-shadow: 0 2px 8px rgba(20,184,166,.2) !important;
}
[data-hsmn-theme="modern"] .ns-tl-step.mid .ns-tl-dot { border-color: #f59e0b !important; color: #b45309 !important; }
[data-hsmn-theme="modern"] .ns-tl-step.end .ns-tl-dot { border-color: #ec4899 !important; color: #ec4899 !important; box-shadow: 0 0 0 4px #fce7f3 !important; }

[data-hsmn-theme="modern"] .ns-peer.ours {
  background: #fef3c7 !important; border-color: #fde68a !important; color: #7c2d12 !important;
}
[data-hsmn-theme="modern"] .ns-translate { background: #fdf2f8 !important; border-color: #fbcfe8 !important; }
[data-hsmn-theme="modern"] .ns-seal {
  background: #fff !important;
  border: 4px solid #fbbf24 !important;
  box-shadow: 0 8px 24px rgba(245,158,11,.25) !important;
}
[data-hsmn-theme="modern"] .ns-approval   { background: #0f172a !important; }
[data-hsmn-theme="modern"] .ns-compliance { background: #0f172a !important; }
[data-hsmn-theme="modern"] .ns-tr-arrow   { animation: none !important; color: #8b5cf6 !important; }

/* ===== Section D implementation timeline (hsmn-tl-step) ===== */
[data-hsmn-theme="modern"] .hsmn-tl-step {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.05) !important;
}
[data-hsmn-theme="modern"] .hsmn-tl-step:hover {
  background: #fdf2f8 !important;
  border-color: #ec4899 !important;
  transform: translateY(-2px) !important;
}
[data-hsmn-theme="modern"] .hsmn-tl-step .n {
  background: #ec4899 !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(236,72,153,.25) !important;
}
[data-hsmn-theme="modern"] .hsmn-tl-step h5 { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-tl-step p  { color: #475569 !important; }
[data-hsmn-theme="modern"] .hsmn-tl-step .wk {
  background: #dcfce7 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
}

/* ===== Transformation pipeline (old demo intro content, defensive) ===== */
[data-hsmn-theme="modern"] .hsmn-pipeline      { background: #fff !important; border-color: #e2e8f0 !important; }
[data-hsmn-theme="modern"] .hsmn-pipeline-node { background: #f8fafc !important; border-color: #e2e8f0 !important; }
[data-hsmn-theme="modern"] .hsmn-pipeline-node-ic { background: #ec4899 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .hsmn-pipeline h5 { color: #be185d !important; }
[data-hsmn-theme="modern"] .hsmn-pipeline-node-t { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-pipeline-node-s { color: #64748b !important; }
[data-hsmn-theme="modern"] .hsmn-pipeline-node-count { color: #be185d !important; }

/* Transformation unified features (old intro slide, defensive) */
[data-hsmn-theme="modern"] .hsmn-unified-f {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
}
[data-hsmn-theme="modern"] .hsmn-unified-f h5 { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-unified-f p  { color: #475569 !important; }

/* ===== Participant 360 timeline bar (gradient → solid) ===== */
[data-hsmn-theme="modern"] .p3-tl::before { background: #ec4899 !important; }

/* ===== Coordination handoff arrow ===== */
[data-hsmn-theme="modern"] .hx-arrow-ic { animation: none !important; background: #ec4899 !important; color: #fff !important; }

/* ===== Medicaid billing note ===== */
[data-hsmn-theme="modern"] .mb-note {
  background: #fff !important; border-color: #e2e8f0 !important; color: #475569 !important;
}
[data-hsmn-theme="modern"] .mb-note i { color: #b45309 !important; }

/* ===== Section 6 pricing note (amber-light text invisible on white) ===== */
[data-hsmn-theme="modern"] .hsmn-price-note {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #92400e !important;
}
[data-hsmn-theme="modern"] .hsmn-price-note strong { color: #7c2d12 !important; }
[data-hsmn-theme="modern"] .hsmn-price-note i { color: #b45309 !important; }

/* ===== Outcome filters (inside hero) ===== */
[data-hsmn-theme="modern"] .od-filters {
  background: #fff !important; border-color: #e2e8f0 !important;
}
[data-hsmn-theme="modern"] .od-filter { color: #64748b !important; }
[data-hsmn-theme="modern"] .od-filter select,
[data-hsmn-theme="modern"] .od-filter input {
  background: #f8fafc !important; border-color: #e2e8f0 !important; color: #0f172a !important;
}

/* ===== Theme switcher widget on modern ===== */
[data-hsmn-theme="modern"] .hsmn-theme-toggle {
  background: rgba(255,255,255,.95) !important;
  border-color: #fbcfe8 !important;
  box-shadow: 0 4px 16px rgba(236,72,153,.15) !important;
}
[data-hsmn-theme="modern"] .hsmn-theme-btn        { color: #64748b !important; }
[data-hsmn-theme="modern"] .hsmn-theme-btn:hover  { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-theme-btn.active {
  background: #ec4899 !important; color: #fff !important;
  box-shadow: 0 2px 6px rgba(236,72,153,.3) !important;
}

/* ===== Entry animations: off ===== */
[data-hsmn-theme="modern"] .hsmn-eyebrow,
[data-hsmn-theme="modern"] .hsmn-h1,
[data-hsmn-theme="modern"] .hsmn-sub,
[data-hsmn-theme="modern"] .hsmn-cta-row,
[data-hsmn-theme="modern"] .hsmn-rfi-map,
[data-hsmn-theme="modern"] .hsmn-stats-row,
[data-hsmn-theme="modern"] .ns-hero h1 { animation: none !important; }

/* ===== Hover states: subtle lift ===== */
[data-hsmn-theme="modern"] .hsmn-feature:hover,
[data-hsmn-theme="modern"] .hsmn-auto-card:hover,
[data-hsmn-theme="modern"] .hsmn-price-card:hover,
[data-hsmn-theme="modern"] .hsmn-problem-card:hover,
[data-hsmn-theme="modern"] .hsmn-rfi-pill:hover,
[data-hsmn-theme="modern"] .hsmn-persona-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,23,42,.08) !important;
}

/* ===== Same-data, 3-lenses module (demo intro Section 5) ===== */
[data-hsmn-theme="modern"] .hsmn-lenses { border-top-color: #fbcfe8 !important; border-bottom-color: #fbcfe8 !important; }
[data-hsmn-theme="modern"] .hsmn-lenses-head h3 { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-lenses-head p { color: #475569 !important; }
[data-hsmn-theme="modern"] .hsmn-lenses-eyebrow {
  background: #ede9fe !important;
  border-color: #c4b5fd !important;
  color: #6d28d9 !important;
}
[data-hsmn-theme="modern"] .hsmn-lens {
  background: #fff !important;
  border-color: #e2e8f0 !important;
  backdrop-filter: none !important;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
[data-hsmn-theme="modern"] .hsmn-lens.pink   { border-top-color: #ec4899 !important; }
[data-hsmn-theme="modern"] .hsmn-lens.green  { border-top-color: #22c55e !important; }
[data-hsmn-theme="modern"] .hsmn-lens.violet { border-top-color: #8b5cf6 !important; }

[data-hsmn-theme="modern"] .hsmn-lens-role  { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-lens-scope { color: #64748b !important; }

[data-hsmn-theme="modern"] .hsmn-lens-q {
  background: #f8fafc !important;
  color: #334155 !important;
}
[data-hsmn-theme="modern"] .hsmn-lens.pink   .hsmn-lens-q { border-left-color: #ec4899 !important; }
[data-hsmn-theme="modern"] .hsmn-lens.green  .hsmn-lens-q { border-left-color: #22c55e !important; }
[data-hsmn-theme="modern"] .hsmn-lens.violet .hsmn-lens-q { border-left-color: #8b5cf6 !important; }

[data-hsmn-theme="modern"] .hsmn-lens-big .v { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-lens-big .v small { color: #94a3b8 !important; }
[data-hsmn-theme="modern"] .hsmn-lens-big .u { color: #64748b !important; }

[data-hsmn-theme="modern"] .hsmn-lens-bar { background: #f1f5f9 !important; }
[data-hsmn-theme="modern"] .hsmn-lens-bar-target { background: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-lens-bar-lbl { color: #64748b !important; }
[data-hsmn-theme="modern"] .hsmn-lens-bar-lbl .over,
[data-hsmn-theme="modern"] .hsmn-lens-bar-lbl .warn { color: #b45309 !important; }
[data-hsmn-theme="modern"] .hsmn-lens-bar-lbl .miss { color: #991b1b !important; }

[data-hsmn-theme="modern"] .hsmn-lens-actions li { color: #334155 !important; }
[data-hsmn-theme="modern"] .hsmn-lens.pink   .hsmn-lens-actions li i { color: #ec4899 !important; }
[data-hsmn-theme="modern"] .hsmn-lens.green  .hsmn-lens-actions li i { color: #22c55e !important; }
[data-hsmn-theme="modern"] .hsmn-lens.violet .hsmn-lens-actions li i { color: #8b5cf6 !important; }

[data-hsmn-theme="modern"] .hsmn-lens-link {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}
[data-hsmn-theme="modern"] .hsmn-lens.pink   .hsmn-lens-link:hover { background: #ec4899 !important; border-color: #ec4899 !important; color: #fff !important; }
[data-hsmn-theme="modern"] .hsmn-lens.green  .hsmn-lens-link:hover { background: #22c55e !important; border-color: #22c55e !important; color: #fff !important; }
[data-hsmn-theme="modern"] .hsmn-lens.violet .hsmn-lens-link:hover { background: #8b5cf6 !important; border-color: #8b5cf6 !important; color: #fff !important; }

[data-hsmn-theme="modern"] .hsmn-lenses-foot {
  background: #faf5ff !important;
  border-color: #e9d5ff !important;
  color: #475569 !important;
}
[data-hsmn-theme="modern"] .hsmn-lenses-foot strong { color: #0f172a !important; }
[data-hsmn-theme="modern"] .hsmn-lenses-foot code {
  background: #fdf2f8 !important;
  color: #be185d !important;
}
