/*
 * PE-Class v1.16.18
 * Full compact MacBook modal rules, centered below the fixed site header.
 */
@media (min-width:769px) {
  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal {
    display:block!important;
    top:var(--pe87-mac-modal-header-inset,88px)!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100vw!important;
    height:calc(100dvh - var(--pe87-mac-modal-header-inset,88px))!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal.hidden {
    display:none!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddDialog {
    position:absolute!important;
    top:50%!important;
    left:50%!important;
    width:min(650px,calc(100vw - 36px))!important;
    max-width:650px!important;
    max-height:none!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    transform:
      translate(-50%,-50%)
      scale(var(--pe87-mac-modal-scale,.94))!important;
    transform-origin:center center!important;
    will-change:transform;
    box-sizing:border-box!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddDialog.pe87MacModalMeasuring {
    visibility:hidden!important;
    pointer-events:none!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddDialog.pe87MacModalReady {
    visibility:visible!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddHeader {
    position:relative!important;
    top:auto!important;
    z-index:8!important;
    min-height:42px!important;
    padding:7px 47px 7px 13px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddHeading {
    gap:8px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddHeading small {
    margin-bottom:1px!important;
    font-size:9px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddHeading h3 {
    font-size:15px!important;
    line-height:1.15!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddIcon {
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
    border-radius:9px!important;
    font-size:15px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddClose {
    top:4px!important;
    right:6px!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    font-size:16px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddItem {
    min-height:0!important;
    margin:0!important;
    padding:6px 11px 0!important;
    overflow:visible!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddStepper,
  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSummary {
    display:none!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calEditGrid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px 7px!important;
    min-height:0!important;
    overflow:visible!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSection {
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:5px 7px 6px!important;
    overflow:visible!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionDetail {
    grid-column:1/-1!important;
    padding-bottom:7px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionHead {
    gap:4px!important;
    margin-bottom:3px!important;
    font-size:10px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionHead b {
    width:16px!important;
    height:16px!important;
    font-size:8.5px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionGrid,
  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionDetail .calendarAddSectionGrid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:3px 6px!important;
    min-height:0!important;
    overflow:visible!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionGrid label {
    gap:1px!important;
    min-height:0!important;
    overflow:visible!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionGrid label.wide {
    grid-column:auto!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionGrid label>span {
    font-size:9.5px!important;
    line-height:1.15!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionGrid input,
  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionGrid select {
    min-height:28px!important;
    height:28px!important;
    padding:3px 6px!important;
    font-size:10.5px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddSectionGrid textarea {
    display:block!important;
    min-height:34px!important;
    height:34px!important;
    margin:0!important;
    padding:4px 6px!important;
    overflow:auto!important;
    resize:none!important;
    box-sizing:border-box!important;
    font-size:10.5px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarActivityLinkState {
    gap:4px!important;
    margin-top:2px!important;
    padding:2px 5px!important;
    font-size:9px!important;
    line-height:1.1!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddActions {
    position:static!important;
    margin:5px -11px 0!important;
    padding:6px 11px 7px!important;
  }

  html.pe87MacDesktop:not(.pe87Ipad):not(.pe87IpadRuntime):not(.pe87FoldWide)
  .calendarAddCModal .calendarAddActions .btn {
    width:112px!important;
    min-width:112px!important;
    min-height:30px!important;
    height:30px!important;
    padding:4px 8px!important;
    font-size:11px!important;
  }
}
