:root {
  --ir-view-top: 119px;
  --ir-view-bottom: 54px;
}
html body .r2r-viewer,
html body .irad-pricing-popover {
  top: var(--ir-view-top);
  bottom: var(--ir-view-bottom);
}
html body .r2r-viewer-scroll,
html body .irad-pricing-scroll {
  overscroll-behavior: contain;
}
html body .install-overlay,
html body .rad2rad-install-overlay {
  position: fixed;
  inset: auto;
  top: var(--ir-view-top);
  bottom: var(--ir-view-bottom);
  left: 12px;
  right: 12px;
  z-index: 85;
  padding: 12px;
  border-radius: 14px;
  overflow: hidden;
}
html body .install-panel,
html body .rad2rad-install-panel {
  max-height: calc(100dvh - var(--ir-view-top) - var(--ir-view-bottom) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
html body .ir-inquiry-dialog[open],
html body .ir-inquiry-popover:popover-open {
  position: fixed;
  top: var(--ir-view-top);
  bottom: auto;
  left: 0;
  right: 0;
  z-index: 85;
  margin: 0 auto;
  max-height: calc(100dvh - var(--ir-view-top) - var(--ir-view-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}
html body .ir-inquiry-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}
html body main [id],
html body .migrated-surface [id] {
  scroll-margin-top: calc(var(--ir-view-top) + 12px);
}
html body .install-overlay [hidden],
html body .rad2rad-install-overlay [hidden] {
  display: none !important;
}
