/* Captured widget snapshots on the tutorial pages
   (docs/_ext/widget_snapshots.py; PNGs from `pixi run capture-widgets`). */

.widget-snapshot img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--color-background-border, #ddd);
  border-radius: 0.25rem;
  background: #fff; /* diagrams are captured on JupyterLab's light theme */
  display: block;
}

.widget-snapshot .widget-snapshot-caption {
  font-size: var(--font-size--small--2, 0.75rem);
  color: var(--color-foreground-muted, #666);
  margin: 0.35rem 0 1rem;
}
