/*
 * PE-Class v1.20.00
 * iPhone 15 Pro / Fold7 folded PAPS action rail.
 * Wide layouts are intentionally excluded.
 */
@media (max-width: 768px) {
  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView
  #mobilePapsDashboardCard .mobilePapsActionRow {
    display: grid !important;
    grid-template-columns:
      minmax(0, 1.12fr)
      minmax(0, .82fr)
      minmax(0, 1.78fr)
      minmax(0, .85fr)
      minmax(0, .68fr) !important;
    grid-template-rows: 44px !important;
    align-items: center !important;
    gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView
  #mobilePapsDashboardCard .mobilePapsActionRow > :is(
    #mPapsMissing,
    #mPapsBulk,
    #mPapsExport,
    #mPapsDelete,
    #mPapsSave
  ) {
    grid-row: 1 !important;
    grid-column: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
    font-size: clamp(9px, 2.45vw, 10px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView #mobilePapsDashboardCard #mPapsMissing { grid-column: 1 !important; }
  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView #mobilePapsDashboardCard #mPapsBulk { grid-column: 2 !important; }
  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView #mobilePapsDashboardCard #mPapsExport { grid-column: 3 !important; }
  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView #mobilePapsDashboardCard #mPapsDelete { grid-column: 4 !important; }
  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView #mobilePapsDashboardCard #mPapsSave { grid-column: 5 !important; }

  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView .mobilePapsBulkChoiceModal > .modalCard {
    width: 100%;
    max-width: 420px;
    padding: 18px;
    border-radius: 18px;
  }

  html:not(.pe87FoldWide):not([data-pe-fold-wide="true"])
  body.mobilePapsView .mobilePapsBulkChoices > .mobilePapsBulkChoice {
    gap: 8px;
    min-height: 50px;
    white-space: nowrap;
  }
}
