/* The figures are drawn by matplotlib on a white canvas, because
   `probability_flow.viz` fills several things "white" unconditionally and
   draws dark ink, so a transparent background disappears into the dark theme.
   This makes the white deliberate: a card with a border that reads as part of
   the page in both themes, rather than a bright rectangle that looks like a
   mistake. */
.md-typeset img[src*="figures/"] {
  background: #ffffff;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.2rem;
  padding: 0.6rem;
  display: block;
  margin: 1.2em auto;
  max-width: 100%;
}
