/* PE-Class v1.16.35 · iPad class-progress actions and calendar modal alignment */
@media (min-width:769px) {
  html.pe87Ipad .pe87ProgressPanel .progressActions.progressActionsSpaced,
  html.pe87IpadRuntime .pe87ProgressPanel .progressActions.progressActionsSpaced {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
  }

  html.pe87Ipad .pe87ProgressPanel .progressSelectionActions,
  html.pe87IpadRuntime .pe87ProgressPanel .progressSelectionActions {
    display:contents!important;
  }

  html.pe87Ipad .pe87ProgressPanel #deleteProgressRows,
  html.pe87IpadRuntime .pe87ProgressPanel #deleteProgressRows {
    order:1!important;
    margin-right:auto!important;
  }

  html.pe87Ipad .pe87ProgressPanel #restoreSelectedProgressPlans,
  html.pe87IpadRuntime .pe87ProgressPanel #restoreSelectedProgressPlans {
    order:2!important;
  }

  html.pe87Ipad .pe87ProgressPanel #addProgressRow,
  html.pe87IpadRuntime .pe87ProgressPanel #addProgressRow {
    order:3!important;
  }

  html.pe87Ipad .calendarAddModal .calendarAddActions .btn,
  html.pe87Ipad .calendarAddCModal .calendarAddActions .btn,
  html.pe87IpadRuntime .calendarAddModal .calendarAddActions .btn,
  html.pe87IpadRuntime .calendarAddCModal .calendarAddActions .btn {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding-top:0!important;
    padding-bottom:0!important;
    line-height:1!important;
  }

  html.pe87Ipad #calendarModal.calendarDetailModal,
  html.pe87IpadRuntime #calendarModal.calendarDetailModal {
    align-items:center!important;
    justify-content:center!important;
    padding:calc(88px + env(safe-area-inset-top)) 18px 18px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  html.pe87Ipad #calendarModal.calendarDetailModal .calendarDetailDialog,
  html.pe87IpadRuntime #calendarModal.calendarDetailModal .calendarDetailDialog {
    max-height:calc(100dvh - 124px - env(safe-area-inset-top))!important;
    margin:0!important;
    overflow:auto!important;
    box-sizing:border-box!important;
    -webkit-overflow-scrolling:touch;
  }
}
