/* GLUBPR Potencia: shared modal spacing audit, desktop sidebar expanded or collapsed. */
@media(min-width:901px){
 .modal{
  left:var(--sidebar-width,292px)!important;right:0!important;width:auto!important;
  padding:18px 20px!important;box-sizing:border-box!important;z-index:104!important;
 }
 body.sidebar-collapsed .modal{left:var(--sidebar-collapsed-width,74px)!important}
 .modal .modalbox{max-width:100%!important;min-width:0!important;max-height:calc(100dvh - 40px)!important}
}
@media(max-width:900px){.modal{left:0!important;right:0!important;width:100%!important;z-index:140!important;padding:10px!important}.modal .modalbox{max-width:100%!important;max-height:calc(100dvh - 20px)!important}}
.modalbox .modalhead{position:sticky;top:-18px;background:#fff;z-index:3;padding:9px 0}
