/* 12279: presentation only. Existing iPad/Fold device flags keep PCs and
 * compact phones unchanged; no attendance or PAPS data/calculation changes. */
html:is([data-pe-ipados="true"],[data-pe-fold-wide="true"])
  #studentAttendanceDetail12276 .studentAttendanceDetailReasons dl {
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(0, 1fr) !important;
}

html[data-pe-ipados="true"][data-pe-tab="students"]
  #app.studentScreen #studentPapsSummary table.papsStudentSummary:not(.mobilePapsVertical)
  td:has(> .papsGrade.bmi) {
  padding-inline: 2px !important;
}

html[data-pe-ipados="true"][data-pe-tab="students"]
  #app.studentScreen #studentPapsSummary table.papsStudentSummary:not(.mobilePapsVertical)
  .papsGrade.bmi {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding-inline: 1px !important;
  font-size: 10px !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}
