/* PE-Class v1.20.05 — iPhone Settings > Lesson single scroll owner
 *
 * iOS Safari latches a gesture to the nested place/subject lists.  When one
 * of those lists reaches an edge, its former contained overscroll cannot hand
 * the gesture back to the Settings lesson body.  On iPhone only, let the
 * lesson body own the vertical scroll and keep both lists in normal flow.
 */
@media (max-width: 768px) {
  html.pe87IPhone[data-pe-tab="admin"]
  #settingsCWorkspace.settingsC[data-settings-view="lesson"]
  .settingsCGridLesson > .adminSubjectCard {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html.pe87IPhone[data-pe-tab="admin"]
  #settingsCWorkspace.settingsC[data-settings-view="lesson"]
  :is(#adminPlaceRows, #adminSubjectRows) {
    flex: 0 0 auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: pan-y !important;
    padding-right: 0 !important;
    scrollbar-gutter: auto !important;
  }
}
