/* Catch-up page only: match the app's v79 count and record-card layout.
   All buttons, scan/filter handlers, record data and site typography remain
   owned by the existing classroom flow. */
body #app .classroomFlow[data-classroom-view="catchup"]
> .classroomSessionSummary {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body #app .classroomFlow[data-classroom-view="catchup"]
> .classroomSessionSummary > span {
  grid-column: auto !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: center !important;
}

body #app .classroomFlow[data-classroom-view="catchup"]
> .classroomCatchupList > button[data-catchup-index] {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 8px !important;
  min-width: 0 !important;
  text-align: left !important;
}
body #app .classroomFlow[data-classroom-view="catchup"]
> .classroomCatchupList > button[data-catchup-index] > .type {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}
body #app .classroomFlow[data-classroom-view="catchup"]
> .classroomCatchupList > button[data-catchup-index] > .student {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  justify-items: start !important;
  justify-content: stretch !important;
  text-align: left !important;
}
body #app .classroomFlow[data-classroom-view="catchup"]
> .classroomCatchupList > button[data-catchup-index] > .student > :is(b, small) {
  min-width: 0 !important;
  max-width: 100% !important;
  text-align: left !important;
  justify-content: flex-start !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}
body #app .classroomFlow[data-classroom-view="catchup"]
> .classroomCatchupList > button[data-catchup-index] > .go {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body #app .classroomFlow[data-classroom-view="catchup"] #classroomScanCatchup {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  flex-shrink: 0;
}
