/* Shared evidence canvas. Static, native SVG: keyboard navigation stays with the deck.
   Image alternatives, visible captions and Book prose retain the argument without JavaScript. */
.evidence-figure { margin:0; min-width:0; }
.evidence-figure img { display:block; width:100%; height:auto; }
.evidence-figure .evidence-dark { display:none; }
[data-theme="dark"] .evidence-figure .evidence-light { display:none; }
[data-theme="dark"] .evidence-figure .evidence-dark { display:block; }
.slide[data-type="evidence"] .evidence-figure { display:flex; flex-direction:column; gap:24px; }
.slide[data-type="evidence"] .evidence-canvas { width:100%; }
.slide[data-type="evidence"] figcaption { font-size:var(--fs-small); line-height:1.35; }
.evidence-figure .evidence-status { font-weight:700; }
@media print {
  .evidence-figure .evidence-light { display:block !important; }
  .evidence-figure .evidence-dark { display:none !important; }
}
/* Reusable scientific state controls; figures keep the original evidence canvas. */
.evidence-controls { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:12px 0; }
.slide[data-type="evidence"] .evidence-controls { font-size:var(--fs-small); line-height:1.2; }
/* A proportional full-width SVG does not get shorter when the global fitter
   widens its body. Reserve room for state controls, caption and footer in this
   shared component, rather than shrinking text or adding a per-lecture rule. */
.slide[data-type="evidence"] [data-evidence-explorer] .evidence-canvas img {
  max-height:480px;
  object-fit:contain;
}
.evidence-controls button { font:inherit; color:inherit; background:transparent; border:1px solid currentColor; border-radius:4px; padding:4px 12px; cursor:pointer; }
.evidence-controls button:disabled { opacity:.45; cursor:default; }
.evidence-controls button:focus-visible { outline:3px solid currentColor; outline-offset:3px; }
.evidence-state-label { font-size:inherit; }
.evidence-figure .evidence-print { display:none; }
@media print {
  .evidence-controls { display:none; }
  .evidence-figure[data-evidence-explorer] .evidence-light { display:none !important; }
  .evidence-figure .evidence-print { display:block !important; }
}
