/* TA319: scroll the reading panel, not the entire test page. */
#typing-app .typing-passage {
  max-height: clamp(220px, 34vh, 390px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}
#typing-app .typing-console:fullscreen .typing-passage {
  max-height: 38vh;
  min-height: 105px;
}
@media (max-width: 650px) {
  #typing-app .typing-passage { max-height: 32vh; }
  #typing-app .typing-console:fullscreen .typing-passage { max-height: 30vh; }
}
