/* Ensure account selector survives generic compact report styles. Scope to ledger only. */
@media screen {
 body.wb-live .hub-body:has(>#hubSummary)>.hub-filters:has(#hubAccount)>.hub-lookup:has(#hubAccount),
 .hub-body>.hub-filters:has(#hubAccount)>.hub-lookup:has(#hubAccount) {
   display:flex!important;visibility:visible!important;opacity:1!important;
   position:relative!important;flex-direction:column!important;
   flex:2 1 235px!important;min-width:205px!important;max-width:none!important;
   height:auto!important;max-height:none!important;overflow:visible!important;
   grid-column:auto;order:0;z-index:40;
 }
 .hub-body>.hub-filters:has(#hubAccount) #hubAccount {
   display:block!important;visibility:visible!important;opacity:1!important;
   width:100%!important;min-width:0!important;pointer-events:auto!important;
 }
 .hub-body>.hub-filters:has(#hubAccount) .hub-results:not([hidden]) {
   display:block!important;visibility:visible!important;z-index:900!important;
   max-height:260px;overflow:auto;min-width:min(300px,90vw);
 }
 .hub-body>.hub-filters:has(#hubAccount) {overflow:visible!important}
}
@media screen and (max-width:999px) {
 body.wb-live .hub-body:has(>#hubSummary)>.hub-filters:has(#hubAccount)>.hub-lookup:has(#hubAccount){
  grid-column:1/-1!important;min-width:0!important;max-width:100%!important;
 }
}
@media screen{
.nm-compact-report .nm-compact-primary .hub-field:has(#hubAccount),.nm-compact-report .nm-compact-primary .hub-field:has(#hubItem){display:flex!important;visibility:visible!important;opacity:1!important;flex:2 1 230px!important;min-width:190px!important;max-width:none!important;position:relative!important;overflow:visible!important;z-index:90!important}
.nm-compact-report .nm-compact-primary .hub-field:has(#hubAccount) .hub-results:not([hidden]),.nm-compact-report .nm-compact-primary .hub-field:has(#hubItem) .hub-results:not([hidden]){display:block!important;position:absolute!important;z-index:950!important;top:100%!important;right:0!important;left:0!important;max-height:260px!important;min-width:min(300px,85vw)!important;overflow:auto!important}
.nm-compact-report .nm-compact-primary #hubAccount[aria-invalid="true"]{border-color:#b24949!important}
.nm-compact-report .nm-report-options,.nm-compact-report .nm-compact-primary{overflow:visible!important}
}