/* Pizza Style Profiler v119E.3.7.9.49.65 — closed/open workflow heading parity.
   The top-level accordion heading uses the same compact line box in both states.
   Closed details expose only their summary, preventing hidden content or stale state
   measurements from increasing the collapsed card height on iOS Safari. */
@media screen {
  main > details.card.pspWorkflowGroupV55 {
    box-sizing:border-box!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:3px 0!important;
    overflow:hidden!important;
    border-radius:10px!important;
  }

  main > details.card.pspWorkflowGroupV55:not([open]) {
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
  }

  main > details.card.pspWorkflowGroupV55:not([open]) > :not(summary) {
    display:none!important;
  }

  main > details.card.pspWorkflowGroupV55 > summary,
  main > details.card.pspWorkflowGroupV55:not([open]) > summary,
  main > details.card.pspWorkflowGroupV55[open] > summary {
    box-sizing:border-box!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:7px 14px!important;
    margin:0!important;
    line-height:1.16!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }

  main > details.card.pspWorkflowGroupV55 > summary::after {
    flex:0 0 auto!important;
    margin-left:10px!important;
  }
}

@media screen and (max-width:520px) {
  main > details.card.pspWorkflowGroupV55 > summary,
  main > details.card.pspWorkflowGroupV55:not([open]) > summary,
  main > details.card.pspWorkflowGroupV55[open] > summary {
    min-height:0!important;
    padding:7px 13px!important;
    font-size:.96rem!important;
  }
}


/* v119E.3.7.9.49.65 — top-level numbering and special-card compact parity.
   Backup/Restore and Active Batch formerly retained legacy card padding/min-height.
   Force their collapsed shell and summary to the exact same line box as sections 1–9. */
@media screen {
  main > details#pspBackupRestoreCenterV4924,
  main > details#pspActiveBatchSection,
  main > details.card.pspWorkflowGroupV55 {
    box-sizing:border-box!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:3px 0!important;
    overflow:hidden!important;
    border-radius:10px!important;
  }
  main > details#pspBackupRestoreCenterV4924:not([open]),
  main > details#pspActiveBatchSection:not([open]) {
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
  }
  main > details#pspBackupRestoreCenterV4924:not([open]) > :not(summary),
  main > details#pspActiveBatchSection:not([open]) > :not(summary) {
    display:none!important;
  }
  main > details#pspBackupRestoreCenterV4924 > summary,
  main > details#pspActiveBatchSection > summary {
    box-sizing:border-box!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:7px 13px!important;
    margin:0!important;
    line-height:1.16!important;
    white-space:normal!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  main > details#pspBackupRestoreCenterV4924 > summary::after,
  main > details#pspActiveBatchSection > summary::after {
    flex:0 0 auto!important;
    margin-left:10px!important;
  }
}
