/* PE-Class v1.20.77 — linked PAPS surfaces only. */

/* Mapping status: category and selected event must remain visually distinct. */
.papsManualStatus12076 > b {
  color: #36556d;
}

.papsManualStatus12076.complete > em {
  color: #08785b;
}

.papsManualStatus12076.pending > em {
  color: #9a6500;
}

.papsManualMappingCard12076:focus {
  outline: none;
}

/* Student Management keeps its established table, but permits official names. */
html[data-pe-tab="students"] #app.studentScreen #studentPapsSummary .papsStudentDynamic12077 th {
  padding-inline: 4px !important;
  font-size: clamp(9px,.78vw,12px) !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  text-overflow: clip !important;
}

/* Galaxy Fold7 unfolded only: every one-measurement metric fills the modal row. */
html.pe87FoldWide[data-pe87-fold-device^="galaxy-fold"]:not(.pe87Ipad):not(.pe87IpadRuntime)
  .foldPapsDetailModal .foldPapsMetricCard.papsSingleMeasurement12077 {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html.pe87FoldWide[data-pe87-fold-device^="galaxy-fold"]:not(.pe87Ipad):not(.pe87IpadRuntime)
  .foldPapsDetailModal .foldPapsMetricCard.papsSingleMeasurement12077 > :is(h4,.foldPapsDerived) {
    text-align: center !important;
  }

  html.pe87FoldWide[data-pe87-fold-device^="galaxy-fold"]:not(.pe87Ipad):not(.pe87IpadRuntime)
  .foldPapsDetailModal .foldPapsMetricCard.papsSingleMeasurement12077 .foldPapsInputGrid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0,1fr) !important;
    justify-items: stretch !important;
  }

  html.pe87FoldWide[data-pe87-fold-device^="galaxy-fold"]:not(.pe87Ipad):not(.pe87IpadRuntime)
  .foldPapsDetailModal .foldPapsMetricCard.papsSingleMeasurement12077 .foldPapsInputGrid > label {
    width: 100% !important;
    max-width: none !important;
    align-items: center !important;
    justify-items: stretch !important;
    text-align: center !important;
  }

  html.pe87FoldWide[data-pe87-fold-device^="galaxy-fold"]:not(.pe87Ipad):not(.pe87IpadRuntime)
  .foldPapsDetailModal .foldPapsMetricCard.papsSingleMeasurement12077 .foldPapsInputGrid :is(label > span,input) {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
@media (prefers-color-scheme:dark) {
  html:not([data-theme="light"]) .papsManualStatus12076 > b {
    color: #b8d5e8;
  }

  html:not([data-theme="light"]) .papsManualStatus12076.complete > em {
    color: #8ee3c7;
  }

  html:not([data-theme="light"]) .papsManualStatus12076.pending > em {
    color: #ffd787;
  }
}
