/*
 * sphinx-rtd-theme caps main content at ~800px for readability.
 * Override so clinical screenshots and wide tables use the full viewport.
 */
.wy-nav-content {
  max-width: none;
}

.wy-nav-content-wrap {
  max-width: 100%;
}

/* Full application window (wizard steps, session views). */
.rst-content img.screenshot-full,
.wy-nav-content img.screenshot-full {
  width: 100% !important;
  max-width: 100%;
  height: auto;
}

/*
 * Dialogs, home screen, and other partial captures.
 * Never upscale beyond the PNG's intrinsic width; shrink only on narrow viewports.
 */
.rst-content img.screenshot-native,
.wy-nav-content img.screenshot-native {
  width: auto !important;
  max-width: 100%;
  height: auto;
}

/* Back-compat alias (older docs / branches). */
.rst-content img.screenshot-medium,
.wy-nav-content img.screenshot-medium {
  width: auto !important;
  max-width: 100%;
  height: auto;
}
