/* EDUHUNT R496.1 - Principal dashboard mobile summary + OLT units only.
   Other portals and all exam/result data are untouched. */
@media screen and (max-width:1024px){
  body[data-portal-role="PRINCIPAL"] #content .principal-dashboard-head.principal-dashboard-head--compact{
    display:block!important;width:100%!important;max-width:100%!important;
    min-width:0!important;min-height:0!important;margin:0 0 9px!important;
    padding:0!important;border:0!important;box-shadow:none!important;
  }
  body[data-portal-role="PRINCIPAL"] #content .principal-dashboard-head--compact .page-actions{
    display:block!important;position:static!important;float:none!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;flex:1 1 100%!important;
  }
  body[data-portal-role="PRINCIPAL"] #content .principal-dashboard-action-buttons{
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:7px!important;row-gap:0!important;
    justify-content:stretch!important;align-items:stretch!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;overflow:visible!important;
  }
  body[data-portal-role="PRINCIPAL"] #content .principal-dashboard-action-buttons .principal-home-quick-action{
    box-sizing:border-box!important;display:flex!important;gap:5px!important;
    flex:none!important;min-width:0!important;max-width:100%!important;
    width:100%!important;height:auto!important;min-height:43px!important;
    align-items:center!important;justify-content:center!important;
    margin:0!important;padding:7px 5px!important;
    font-size:clamp(9px,2.2vw,12px)!important;line-height:1.18!important;
    font-weight:900!important;text-align:center!important;
    white-space:normal!important;overflow-wrap:normal!important;
    word-break:normal!important;letter-spacing:0!important;
  }
  body[data-portal-role="PRINCIPAL"] #content .principal-home-quick-action span:first-child{
    display:inline-block!important;flex:0 0 15px!important;
    min-width:15px!important;font-size:15px!important;line-height:1!important;
  }
  body[data-portal-role="PRINCIPAL"] #content .principal-home-quick-action span:last-child{
    display:block!important;min-width:0!important;flex:0 1 auto!important;
    overflow-wrap:normal!important;word-break:normal!important;
    white-space:normal!important;text-align:center!important;
    font-size:inherit!important;line-height:inherit!important;
  }
}
/* Count test offerings and nonparticipating students using unmistakably different units. */
body[data-portal-role="PRINCIPAL"] .otr82-kpi-action{
  white-space:normal!important;overflow-wrap:break-word!important;
}
body[data-portal-role="PRINCIPAL"] .otr82-kpi-action span{
  line-height:1.2!important;max-width:100%!important;
}
