/* PE-Class v1.20.85 — mobile Student PAPS left labels and right results. */

@media (max-width: 768px) {
  html[data-pe-tab="students"]:not(.pe87FoldWide):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime)
    #app.studentScreen #studentPapsSummary .mobilePapsMetricTitle {
      justify-content: flex-start !important;
      text-align: left !important;
  }

  html[data-pe-tab="students"]:not(.pe87FoldWide):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime)
    #app.studentScreen #studentPapsSummary .mobilePapsValue {
      justify-self: stretch !important;
      justify-content: flex-end !important;
      text-align: right !important;
  }

  html[data-pe-tab="students"]:not(.pe87FoldWide):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime)
    #app.studentScreen #studentPapsSummary .mobilePapsBadgeSlot {
      justify-self: stretch !important;
      justify-content: flex-end !important;
      text-align: right !important;
  }

  /* Height, weight and total score have no badge: place their value at the row edge. */
  html[data-pe-tab="students"]:not(.pe87FoldWide):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime)
    #app.studentScreen #studentPapsSummary
    .mobilePapsBadgeSlot:empty + .mobilePapsValue {
      grid-column: 2 / 4 !important;
  }

  html[data-pe-tab="students"]:not(.pe87FoldWide):not([data-pe-fold-wide="true"]):not(.pe87Ipad):not(.pe87IpadRuntime)
    #app.studentScreen #studentPapsSummary
    .mobilePapsBadgeSlot:empty {
      display: none !important;
  }
}
