/* Keep both documents mounted and leave background focus to the native dialog. */
.dpia-swipe-view {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--dpia-paper, Canvas);
}

.dpia-swipe-view::backdrop {
  background: transparent;
}

.dpia-swipe-view iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Keep the original document mounted at its normal size, outside the interactive viewport. */
.dpia-swipe-view.dpia-swipe-live-retained:not([open]) {
  display:block;
  position:fixed;
  inset:0;
  clip-path:inset(100%);
  pointer-events:none;
}
