/* pandabu RC16.269 – Notvorrat action focus + mobile group readability */

/* Statusbadges in langen Kategorien dürfen den Titel nicht mehr überdecken. */
.rc262-category-list .emergency-requirement-group > summary{
  min-width:0;
}
.rc262-category-list .emergency-group-leading,
.rc262-category-list .emergency-group-copy{
  min-width:0;
}
.rc262-category-list .emergency-group-summary{
  position:static!important;
  min-width:0;
}
.rc262-category-list .emergency-group-summary em{
  max-width:100%;
}

/* Handlungsbedarf ist nach der automatischen Planung der primäre Arbeitsbereich. */
.rc262-list-head > div:first-child > strong{
  text-wrap:balance;
}

@media (max-width:700px){
  .rc262-category-list .emergency-requirement-group > summary{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
    gap:7px!important;
  }
  .rc262-category-list .emergency-group-leading{
    width:100%!important;
    grid-column:1!important;
  }
  .rc262-category-list .emergency-group-copy strong{
    overflow-wrap:anywhere;
    line-height:1.12;
  }
  .rc262-category-list .emergency-group-summary{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
  }
  .rc262-category-list .emergency-group-summary em{
    width:auto!important;
    max-width:calc(100% - 30px)!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
    text-align:right;
    line-height:1.12;
  }
  .rc262-category-list .emergency-group-summary b{
    flex:0 0 auto;
  }
}
