/* PE-Class v1.20.06 — collapsed Settings subcards for iPhone + Fold7 folded. */
.peMobileSettingsSubcardToggle {
  display: none;
}

@media (max-width: 768px) {
  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard {
    display: block !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 14px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard.is-open {
    padding-bottom: 14px !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcardToggle {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 34px !important;
    align-items: center !important;
    gap: 10px !important;
    width: calc(100% + 28px) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 -14px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #fff 0%, #f8fbfe 100%) !important;
    color: #243a50 !important;
    box-shadow: none !important;
    font: inherit !important;
    text-align: left !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard.is-open > .peMobileSettingsSubcardToggle {
    border-bottom: 1px solid #dfe7ee !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcardLabel {
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcardArrow {
    display: grid !important;
    place-items: center !important;
    justify-self: end !important;
    align-self: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 1px solid #d7e2eb;
    border-radius: 10px;
    background: #fff;
    color: #557087;
    font-size: 0;
    font-style: normal;
    line-height: 0;
    box-sizing: border-box;
    transition: transform .18s ease;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcardArrow::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transform-origin: center;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard.is-open > .peMobileSettingsSubcardToggle .peMobileSettingsSubcardArrow {
    transform: rotate(180deg);
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard:not(.is-open) > .peMobileSettingsSubcardContent {
    display: none !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard.is-open > .peMobileSettingsSubcardFirstContent {
    margin-top: 14px !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC :is(.peMobileSettingsSubcardOriginalTitle, .peMobileSettingsSubcardOriginalHeader) {
    display: none !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard .adminClassCardHead > .adminClassSave {
    grid-column: 2 !important;
    justify-self: end !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard .adminSubjectCardHead > span {
    grid-column: 2 !important;
    justify-self: end !important;
  }

  html[data-pe-device="compact"][data-pe-tab="admin"]:is(.pe87IPhone, .pe87FoldDevice:not(.pe87FoldWide)):not(.pe87Ipad):not(.pe87IpadRuntime):not([data-pe-ipados="true"])
  #settingsCWorkspace.settingsC .peMobileSettingsSubcard.adminFactoryResetCard > p {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }
}
