/* HTML indentation must not become visible whitespace in FAQ questions. */
.case-modal__faq .dropdown-faq__title-root { white-space: normal; }

[data-report-gate-active] [data-article-gate] {
  position: sticky;
  bottom: 0;
  z-index: 5;
  width: 100%;
  flex: none;
  max-height: min(80dvh, 100%);
  margin-left: 0;
  margin-right: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  [data-report-gate-active] [data-article-gate] { animation: report-gate-enter .45s ease-out both; }
  @keyframes report-gate-enter {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* The report gate shares legacy class names with the redesigned project modal. */
.case-modal__form .project-modal__content-inner {
  gap: 2rem;
  flex: 0 1 auto;
  justify-content: space-between;
  height: auto;
  padding: 0;
  overflow: visible;
}
.case-modal__form .project-modal__next { gap: 0; align-items: flex-start; }
.case-modal__form .project-modal__title { margin-bottom: .5rem; }
.case-modal__form .project-modal__form { display: block; flex: initial; height: auto; }
.case-modal__form .project-modal-form__inner {
  gap: .625rem;
  height: auto;
  justify-content: space-between;
}
@media (max-width: 991px) {
  .case-modal__form .project-modal__content-inner,
  .case-modal__form .project-modal__next { flex: none; }
  .case-modal__form .project-modal-form__inner { gap: .5rem; }
}
