/* Keep the video and its close control reachable in short mobile viewports. */
.system-video-modal {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.system-video-dialog {
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}

.system-video-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #061d2a;
}

.system-video-frame {
  width: min(100%, calc((100vh - 160px) * 16 / 9));
  width: min(100%, calc((100dvh - 160px) * 16 / 9));
  margin-inline: auto;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }
}
