/* Customer Fleet dialog follows its content instead of reserving empty space. */
/* fit-content prevents the fixed inset:0 dialog from stretching to viewport height. */
body dialog.fleet-modal.wooten-fleet{
 height:fit-content!important;min-height:0!important;
 max-height:calc(100dvh - 32px)!important;
 padding:0!important;overflow:hidden!important;
}
body dialog.fleet-modal.wooten-fleet>.fleet-modal-inner{
 display:flex!important;flex-direction:column!important;
 height:auto!important;min-height:0!important;
 max-height:calc(100dvh - 34px)!important;
 margin:0!important;padding:0!important;gap:0!important;
}
body dialog.fleet-modal.wooten-fleet .fleet-modal-body{
 flex:0 1 auto!important;min-height:0!important;
 overflow:auto!important;margin-bottom:0!important;padding-bottom:18px!important;
}
body dialog.fleet-modal.wooten-fleet .fleet-modal-footer{
 flex:0 0 auto!important;height:auto!important;min-height:0!important;
 margin:0!important;padding:12px 26px 16px!important;
}
@media(max-width:600px){
 body dialog.fleet-modal.wooten-fleet{max-height:calc(100dvh - 16px)!important}
 body dialog.fleet-modal.wooten-fleet>.fleet-modal-inner{max-height:calc(100dvh - 18px)!important}
 body dialog.fleet-modal.wooten-fleet .fleet-modal-body{padding-bottom:14px!important}
 body dialog.fleet-modal.wooten-fleet .fleet-modal-footer{padding:12px 15px 16px!important}
}

/* Preserve the compact opening size once the customer switches tabs. */
body dialog.fleet-modal.wooten-fleet[data-size-locked]{height:var(--fleet-locked-height)!important}
body dialog.fleet-modal.wooten-fleet[data-size-locked]>.fleet-modal-inner{height:100%!important}
body dialog.fleet-modal.wooten-fleet[data-size-locked] .fleet-modal-body{flex:1 1 auto!important}
