/* Manuscript page tweaks layered on top of the house theme (theme-house.scss).
   The theme owns palette, type, and the figure-card treatment; this file only
   holds a couple of small, non-conflicting nudges. */

/* Plotly iframes paint the house cream (set as paper_bgcolor/plot_bgcolor in
   the analysis scripts), so the plot ground matches the figure card and the
   page behind it. This rule covers the moment before the iframe document
   paints, so no white flash shows through. */
figure iframe,
.cell iframe {
  background: #F8F4E9;
}

/* A touch more separation under each embedded figure caption. Colour and font
   are left to the theme so this does not override the house caption style. */
:is(#fig-detections, #fig-houston, #fig-sequencing, #supp-wastewater) p:last-of-type {
  margin-top: 0.5rem;
}
