/* Screenshot presentation default: hide the bottom Windows taskbar without
   changing CAD evidence. New screenshot components use this same frame.
   Set --screenshot-trim: 0 only when the source is already taskbar-free. */
:root { --screenshot-trim: .05; }
.screenshot-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: calc(var(--screenshot-ratio, 1.7795549374) / (1 - var(--screenshot-trim)));
  overflow: hidden;
}
.screenshot-frame > img,
.gallery-dialog.zoomed .screenshot-frame > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  transform-origin: center top;
}
.gallery-dialog.zoomed .screenshot-frame { width: 170%; }
/* Keep the existing close-up composition, with a taskbar guard for future images. */
.model-crop > img,
.explorer-image > img {
  clip-path: inset(0 0 calc(var(--screenshot-trim) * 100%) 0);
}
.noscript .screenshot-frame { margin: 25px 0; }

@media (min-width: 621px) {
  .revision-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.explorer-image.stage-3, .explorer-image.stage-4 {
  background: #ebebeb;
  --screenshot-trim: 0;
}
.explorer-image.stage-3 img, .explorer-image.stage-4 img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
