/* Layout safeguards supplement the original page styles; scroll remains local to wide evidence tables. */
img,video,iframe { max-width:100%; }
.grid > *, .pair > *, .hero2-grid > *, .ent-hero-grid > *, .wd-layout > *, .d3-grid > * { min-width:0; }
.table-scroll { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
pre { max-width:100%; overflow-x:auto; }
.d3-evidence .d3-steps li[data-ev] { box-shadow:0 0 0 2px var(--accent); }
@media(max-width:600px) {
  .vt { max-width:100%; flex-wrap:wrap; }
  .vt button { white-space:normal; }
  .op-meta,.btn-row { flex-wrap:wrap; }
  .field input,.field select,.field textarea { min-width:0; max-width:100%; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; } }
