/*
 * The desktop record workspace owns the available height. The older student
 * split rule measures down to the sidebar/viewport bottom, past #app's bottom
 * border and padding. Its fixed min-height must not prevent the flex item from
 * shrinking inside the workspace, or the last roster row is clipped.
 * Leave compact, iPad and Fold-wide layout contracts unchanged.
 */
@media (min-width: 921px) {
  html.peRecordWorkspace[data-pe-device="desktop"][data-pe-ipados="false"][data-pe-fold-wide="false"][data-pe-tab="students"]
    #app.studentScreen > .studentSplit[data-pe-record-student-layout] {
    flex: 1 1 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }
}
