html[data-review-date], html[data-review-date] body,
html.review-entry-enabled, html.review-entry-enabled body {
  touch-action: pan-y pinch-zoom;
  overscroll-behavior-x: none;
}
html[data-review-date] body, html.review-entry-enabled body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
html.review-entry-enabled input, html.review-entry-enabled textarea {
  -webkit-user-select: text;
  user-select: text;
}

.profile-review-page .profile-checklist-heading {
  font-size: clamp(1rem, 4vw, 2rem);
}
.profile-checklist-heading > span {
  white-space: nowrap;
}

@media (max-width: 600px) and (orientation: portrait) {
  .profile-review-page .profile-checklist-heading > span:last-child {
    font-size: clamp(0.75rem, 3.4vw, 1.25rem);
    letter-spacing: normal;
  }
}

/* Compact the checklist introduction without changing other workflow pages. */
main#app:has(> .profile-review-page:not(.bondsman-profile-review-page)) {
  padding-top: 12px;
}
.profile-review-page:not(.bondsman-profile-review-page) {
  padding-top: 0;
}
@media (max-width: 650px) and (orientation: portrait) {
  .profile-review-page:not(.bondsman-profile-review-page) > .section-heading .profile-checklist-heading {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 12px;
  }
  .profile-review-page:not(.bondsman-profile-review-page) .profile-checklist-heading > span:last-child {
    font-size: clamp(0.875rem, 3.75vw, 1.375rem);
    letter-spacing: normal;
  }
  .profile-review-page:not(.bondsman-profile-review-page) > .section-heading > p {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 16px;
  }
}
