
/* V39 — ERP Report Center adopts the approved Payment Hub one-screen geometry.
   Sidebar/main menu is intentionally untouched. */
#erpReportsTab.erp-view-receivable{padding-top:0!important;padding-bottom:8px!important;overflow:visible!important;}
#erpReportsTab.erp-view-receivable .erp-center-header{
  min-height:58px!important;height:58px!important;padding:8px 12px!important;margin:0 10px 8px!important;
  border-radius:10px!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important;
}
#erpReportsTab.erp-view-receivable .erp-center-title-wrap{gap:10px!important;}
#erpReportsTab.erp-view-receivable .erp-center-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:8px!important;font-size:14px!important;}
#erpReportsTab.erp-view-receivable .erp-center-header .title{font-size:21px!important;font-weight:600!important;line-height:1.1!important;}
#erpReportsTab.erp-view-receivable .erp-center-header .subtitle,
#erpReportsTab.erp-view-receivable .erp-center-header .erp-center-title-wrap>div>div{font-size:10.5px!important;margin-top:2px!important;line-height:1.2!important;}
#erpReportsTab.erp-view-receivable .erp-header-actions{gap:6px!important;}
#erpReportsTab.erp-view-receivable .erp-header-actions .btn{height:32px!important;padding:0 10px!important;border-radius:7px!important;font-size:10.5px!important;}

/* Report View + active report filters share one compact Payment-Hub-style toolbar. */
#erpReportsTab.erp-view-receivable .erp-report-filters{
  min-height:62px!important;padding:8px 10px!important;margin:0 10px 8px!important;border-radius:10px!important;
  display:flex!important;align-items:flex-end!important;gap:10px!important;box-shadow:0 4px 14px rgba(15,23,42,.04)!important;
}
#erpReportsTab.erp-view-receivable .erp-report-toolbar{display:contents!important;}
#erpReportsTab.erp-view-receivable .erp-report-toolbar>div:first-child{flex:1.15!important;min-width:210px!important;}
#erpReportsTab.erp-view-receivable #erpReportSelectionNote,#erpReportsTab.erp-view-receivable #erpReportFilterHint{display:none!important;}
#erpReportsTab.erp-view-receivable .erp-report-toolbar label,
#erpReportsTab.erp-view-receivable .form-group label{font-size:10.5px!important;font-weight:500!important;margin:0 0 3px!important;line-height:1!important;}
#erpReportsTab.erp-view-receivable .erp-report-selector,
#erpReportsTab.erp-view-receivable .form-control{height:32px!important;font-size:11px!important;border-radius:7px!important;padding:0 8px!important;}
#erpReportsTab.erp-view-receivable .form-grid{display:flex!important;align-items:flex-end!important;gap:8px!important;flex:2!important;}
#erpReportsTab.erp-view-receivable .form-group{margin:0!important;min-width:0!important;flex:1!important;}
#erpReportsTab.erp-view-receivable .erp-report-filter[style*="display: none"],#erpReportsTab.erp-view-receivable .erp-report-filter[style*="display:none"]{display:none!important;}

#erpReportsTab.erp-view-receivable .erp-ar-hero{min-height:40px!important;margin:0 10px 6px!important;padding:0 2px!important;gap:10px!important;align-items:center!important;}
#erpReportsTab.erp-view-receivable .erp-ar-hero h2{font-size:20px!important;font-weight:600!important;margin:0 0 1px!important;line-height:1.05!important;}
#erpReportsTab.erp-view-receivable .erp-ar-hero>div:first-child>div{font-size:10.5px!important;line-height:1.2!important;}
#erpReportsTab.erp-view-receivable .erp-report-date{min-width:165px!important;height:36px!important;padding:4px 8px!important;border-radius:8px!important;gap:7px!important;}
#erpReportsTab.erp-view-receivable .erp-date-icon{width:26px!important;height:26px!important;border-radius:7px!important;font-size:12px!important;}
#erpReportsTab.erp-view-receivable .erp-report-date strong{font-size:10px!important;}
#erpReportsTab.erp-view-receivable .erp-report-date span:last-child{font-size:9.5px!important;margin-top:0!important;}

/* Same compact KPI geometry as Payment Hub. */
#erpReportsTab.erp-view-receivable .erp-ar-kpis{gap:10px!important;margin:0 10px 8px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-card{min-height:74px!important;height:74px!important;padding:9px 12px!important;gap:10px!important;border-radius:10px!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important;}
#erpReportsTab.erp-view-receivable .erp-ar-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:8px!important;font-size:13px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-card small{font-size:10.5px!important;margin-bottom:2px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-card strong{font-size:18px!important;font-weight:600!important;line-height:1.05!important;}
#erpReportsTab.erp-view-receivable .erp-ar-card em{font-size:9.5px!important;margin-top:2px!important;line-height:1.1!important;}

/* Table occupies the remaining screen area; extra records use pagination, not scrolling. */
#erpReportsTab.erp-view-receivable .erp-selected-report{margin:0 10px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-report{border-radius:10px!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important;overflow:hidden!important;}
#erpReportsTab.erp-view-receivable .erp-ar-table-head{min-height:44px!important;padding:7px 10px!important;gap:10px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-table-head h3{font-size:16px!important;font-weight:600!important;line-height:1.1!important;}
#erpReportsTab.erp-view-receivable .erp-ar-search{height:30px!important;width:230px!important;border-radius:7px!important;padding:0 8px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-search input{font-size:10.5px!important;}
#erpReportsTab.erp-view-receivable .table-container{overflow:visible!important;max-height:none!important;}
#erpReportsTab.erp-view-receivable .erp-ar-table{font-size:11px!important;table-layout:fixed!important;width:100%!important;}
#erpReportsTab.erp-view-receivable .erp-ar-table th{font-size:10px!important;font-weight:600!important;padding:7px 5px!important;white-space:nowrap!important;}
#erpReportsTab.erp-view-receivable .erp-ar-table td{font-size:10.5px!important;padding:7px 5px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#erpReportsTab.erp-view-receivable .erp-ar-table tfoot td{padding-top:7px!important;padding-bottom:7px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-status{padding:4px 7px!important;font-size:9.5px!important;}
#erpReportsTab.erp-view-receivable .erp-ar-view{padding:5px 7px!important;font-size:9.5px!important;white-space:nowrap!important;}
#erpReportsTab.erp-view-receivable .erp-ar-table-footer{min-height:34px!important;padding:6px 10px!important;font-size:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;}
#erpReportsTab.erp-view-receivable .erp-ar-pagination{display:flex;align-items:center;gap:4px;}
#erpReportsTab.erp-view-receivable .erp-ar-page-btn{min-width:26px;height:26px;padding:0 7px;border:1px solid #dbe5f0;background:#fff;color:#34506f;border-radius:6px;font-size:10px;cursor:pointer;}
#erpReportsTab.erp-view-receivable .erp-ar-page-btn.active{background:#2563eb;color:#fff;border-color:#2563eb;}
#erpReportsTab.erp-view-receivable .erp-ar-page-btn:disabled{opacity:.4;cursor:default;}
@media(max-height:700px){
 #erpReportsTab.erp-view-receivable .erp-center-header{height:54px!important;min-height:54px!important;margin-bottom:6px!important;}
 #erpReportsTab.erp-view-receivable .erp-report-filters{min-height:58px!important;margin-bottom:6px!important;padding-top:6px!important;padding-bottom:6px!important;}
 #erpReportsTab.erp-view-receivable .erp-ar-kpis{margin-bottom:6px!important;}
 #erpReportsTab.erp-view-receivable .erp-ar-card{height:68px!important;min-height:68px!important;}
 #erpReportsTab.erp-view-receivable .erp-ar-table th,#erpReportsTab.erp-view-receivable .erp-ar-table td{padding-top:6px!important;padding-bottom:6px!important;}
}
