
/* Party Ledger final module polish */
#ledgersTab #ledgerDirectionNote{
  display:flex!important;align-items:center!important;min-height:38px!important;
  background:#f8fbff!important;color:#475569!important;font-size:10.5px!important;
}
#ledgersTab #ledgerTableBody td:nth-child(3),
#ledgersTab #ledgerTableBody td:nth-child(4){
  color:#1e3a5f!important;font-weight:550!important;
}
#ledgersTab #ledgerTableBody td:nth-child(5){color:#b42318!important}
#ledgersTab #ledgerTableBody td:nth-child(6){color:#15803d!important}
#ledgersTab #ledgerTableBody td:nth-child(7){color:#102344!important;font-weight:700!important}

/* Cleaner print/PDF source styling while preserving existing print functions */
@media print{
  body:has(#ledgersTab.active) .sidebar,
  body:has(#ledgersTab.active) .top-company-bar,
  #ledgersTab>.header-bar>div{display:none!important}
  body:has(#ledgersTab.active) .main-content{padding:0!important;overflow:visible!important;background:#fff!important}
  #ledgersTab{background:#fff!important}
  #ledgersTab>.header-bar{min-height:auto!important;margin:0 0 12px!important;padding:0 0 10px!important;border-bottom:2px solid #d9e4ef!important}
  #ledgersTab>.header-bar .title{padding-left:0!important;font-size:20px!important}
  #ledgersTab>.header-bar .title:before{display:none!important}
  #ledgersTab>.form-group{padding:8px 0!important;border:0!important;box-shadow:none!important}
  #ledgersTab #ledgerDirectionNote{padding:7px 0!important;border:0!important;background:#fff!important}
  #ledgersTab>.table-container{border:1px solid #d7e1ec!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
  #ledgersTab>.table-container table{min-width:0!important;font-size:9px!important}
  #ledgersTab>.table-container th{position:static!important;background:#dfe9f4!important;padding:7px 6px!important}
  #ledgersTab>.table-container td{padding:6px!important}
}
