/* Native-resolution manuscript zoom. Keep the image and the SVG in one frame. */
#pde-edition #image-wrap { max-width: none; }
#pde-edition #manuscript-scroll { min-width: 0; }
#pde-edition #manuscript-scroll.pde-image-zoomed {
  overflow-x: auto !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}
#pde-edition #zoom-level {
  align-self: center;
  color: #637087;
  font: 12px/1.5 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
#pde-edition .viewer-controls button:disabled { opacity: .5; cursor: default; }
@media (max-width: 850px) {
  #pde-edition #manuscript-scroll.pde-image-zoomed {
    max-height: 75vh !important;
    touch-action: pan-x pan-y;
  }
}
