/* who-pays - "Households pay more than 40% of health costs out of
   pocket". Card 1 (OOPS) is shared-components/trend-panel reused
   directly (that file's own CSS covers it entirely - nothing to add
   here). Card 2 ("Who pays for health", a stacked chart with no existing
   shared component) reuses trend-panel's own card/toolbar-top/title-row/
   body/aside/popup classes too (same stylesheet, loaded alongside this
   file - see who-pays.stories.html) - only its stacked chart itself
   (inside .hf-who-pays__mix-mount) is the shared Health Financing chart
   kit (.hf-tools/.hf-seg/.hf-chart/... - ../shared/css/hf-charts.css).

   Everything below is scoped to .hf-who-pays__mix-panel (card 2's own
   root marker class) so it can never affect shared-components/
   trend-panel's other usages (nutrition/stunting, nutrition/wasting,
   srhr/adolescents, adolescent/births) or card 1 above. */

/* Card 1 (OOPS, trend-panel include) and card 2 (.hf-who-pays__mix-panel)
   are plain sibling divs with no gap of their own - trend-panel.css
   doesn't set a margin on .t2030-trend-panel, and neither did this file. */
.hf-who-pays {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hf-who-pays__lead {
  margin: 0 0 4px;
  font-size: var(--fs-15, 15px);
  line-height: 1.55;
  color: var(--clr-gray-dark, #4d4d4d);
  font-weight: 600;
}

/* Chart-kit spacing matched to trend-panel's own .controls/.legend -
   same values used for government-spending (see its own css file's
   identical comment/rule). */
.hf-who-pays__mix-panel .hf-tools {
  justify-content: space-between;
  gap: 12px 32px;
}

.hf-who-pays__mix-panel .hf-legend {
  margin: 0;
  gap: 8px 20px;
}

.hf-who-pays__mix-panel .hf-chart {
  border: 1px solid var(--clr-gray-light, #dbdbdb);
  border-radius: 8px;
  background: var(--clr-white, #fff);
  padding: 16px 8px 8px 8px;
}
