/* Dynamic registration wrappers must shrink with the modal, not their contents. */
#newRepairModalCnt,
#newInoutModalCnt {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
#newRepairModal .modal-body-scroll,
#newInoutModal .modal-body-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 992px) {
  #newRepairModal,
  #newInoutModal { padding: 12px; }
  #newRepairModal .modal-content,
  #newInoutModal .modal-content {
    min-height: 0;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
}
