/*
 * v12100 — PC/Mac home: one scroll owner for the right content pane.
 *
 * The desktop home previously locked .pe87Main and made Today, Upcoming and
 * Subject progress three independent scroll regions.  With four or more
 * lessons this made the fourth row easy to miss and wheel input over Subject
 * progress moved only that nested list.  Let the cards grow to their content
 * and keep scrolling on .pe87Main instead.  iPad, Fold and compact layouts
 * intentionally retain their existing device-specific scroll contracts.
 */
@media (min-width: 921px) {
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .pe87Main {
    height: 100% !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp #app {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
  }

  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeDashboard {
    height: auto !important;
    min-height: 100% !important;
    grid-template-rows: clamp(280px, 38vh, 340px) 104px auto !important;
  }

  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeDashboardGrid,
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeScheduleCard,
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeScheduleColumns,
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeSchedulePane,
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeSportsCard {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeScheduleColumns {
    align-items: stretch;
  }

  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeSchedulePane,
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeSportsCard {
    grid-template-rows: auto auto !important;
  }

  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeTodayList,
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeUpcomingList,
  html[data-pe-device="desktop"]:not([data-pe-ipados="true"]):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
    body.homeDashboardApp .homeSportsList {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }
}
