
/* v59 FINAL — Challan Trace uses the exact Accounts Receivable compact master skeleton. */
#erpReportsTab.erp-view-challan-trace{padding-top:0!important;padding-bottom:8px!important;overflow:visible!important;font-family:Inter,Roboto,"Segoe UI",Arial,sans-serif!important;}
#erpReportsTab.erp-view-challan-trace .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;background:#fff!important;}
#erpReportsTab.erp-view-challan-trace .erp-center-title-wrap{gap:10px!important;}
#erpReportsTab.erp-view-challan-trace .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-challan-trace .erp-center-header .title{font-size:21px!important;font-weight:600!important;line-height:1.1!important;}
#erpReportsTab.erp-view-challan-trace .erp-center-header .subtitle,#erpReportsTab.erp-view-challan-trace .erp-center-header .erp-center-title-wrap>div>div{font-size:10.5px!important;margin-top:2px!important;line-height:1.2!important;color:#64748b!important;}
#erpReportsTab.erp-view-challan-trace .erp-header-actions{gap:6px!important;}
#erpReportsTab.erp-view-challan-trace .erp-header-actions .btn{height:32px!important;padding:0 10px!important;border-radius:7px!important;font-size:10.5px!important;font-weight:500!important;}

/* Locked universal row: Report View | Date From | Date To | Party / Client */
#erpReportsTab.erp-view-challan-trace .erp-report-filters{min-height:62px!important;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;background:#fff!important;}
#erpReportsTab.erp-view-challan-trace .erp-report-toolbar{display:contents!important;}
#erpReportsTab.erp-view-challan-trace .erp-report-toolbar>div:first-child{flex:1.15!important;min-width:210px!important;}
#erpReportsTab.erp-view-challan-trace #erpReportSelectionNote,#erpReportsTab.erp-view-challan-trace #erpReportFilterHint{display:none!important;}
#erpReportsTab.erp-view-challan-trace .erp-report-filters>.form-grid{display:flex!important;align-items:flex-end!important;gap:8px!important;flex:2!important;min-width:0!important;}
#erpReportsTab.erp-view-challan-trace .erp-report-filter{margin:0!important;min-width:0!important;flex:1!important;}
#erpReportsTab.erp-view-challan-trace .erp-filter-hidden{display:none!important;}
#erpReportsTab.erp-view-challan-trace .erp-report-filter[style*="display: none"],#erpReportsTab.erp-view-challan-trace .erp-report-filter[style*="display:none"]{display:none!important;}
#erpReportsTab.erp-view-challan-trace .erp-report-toolbar label,#erpReportsTab.erp-view-challan-trace .form-group label{font-size:10.5px!important;font-weight:500!important;margin:0 0 3px!important;line-height:1!important;}
#erpReportsTab.erp-view-challan-trace .erp-report-selector,#erpReportsTab.erp-view-challan-trace .form-control{width:100%!important;min-width:0!important;height:32px!important;font-size:11px!important;border-radius:7px!important;padding:0 8px!important;}

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

#erpReportsTab.erp-view-challan-trace #erpChallanTraceKpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 10px 8px!important;}
#erpReportsTab.erp-view-challan-trace #erpChallanTraceKpis .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-challan-trace #erpChallanTraceKpis .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-challan-trace #erpChallanTraceKpis small{font-size:10.5px!important;font-weight:500!important;margin-bottom:2px!important;}
#erpReportsTab.erp-view-challan-trace #erpChallanTraceKpis strong{font-size:18px!important;font-weight:600!important;line-height:1.05!important;}

#erpReportsTab.erp-view-challan-trace #erpSelectedReportArea{margin:0 10px!important;min-height:0!important;display:block!important;}
#erpReportsTab.erp-view-challan-trace #erpSourceChallanTrace{background:#fff!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 4px 14px rgba(15,23,42,.045)!important;display:block!important;}
#erpReportsTab.erp-view-challan-trace .erp-ar-table-head{min-height:44px!important;height:44px!important;padding:7px 10px!important;gap:10px!important;}
#erpReportsTab.erp-view-challan-trace .erp-ar-table-head h3{font-size:16px!important;font-weight:600!important;line-height:1.1!important;}
#erpReportsTab.erp-view-challan-trace .erp-ar-search{height:30px!important;min-height:30px!important;width:230px!important;border-radius:7px!important;}
#erpReportsTab.erp-view-challan-trace .erp-ar-search input{font-size:10.5px!important;}
#erpReportsTab.erp-view-challan-trace .table-container{overflow-x:auto!important;}
#erpReportsTab.erp-view-challan-trace .erp-challan-trace-table{width:100%!important;font-size:11px!important;}
#erpReportsTab.erp-view-challan-trace .erp-challan-trace-table th{background:#dbe7f3!important;color:#172554!important;border-bottom:0!important;font-size:10px!important;font-weight:600!important;padding:7px 5px!important;white-space:nowrap!important;}
#erpReportsTab.erp-view-challan-trace .erp-challan-trace-table td{font-size:10.5px!important;padding:7px 5px!important;line-height:1.1!important;}
#erpReportsTab.erp-view-challan-trace .erp-ar-table-footer{min-height:38px!important;height:38px!important;padding:7px 10px!important;font-size:9.5px!important;}
#erpReportsTab.erp-view-challan-trace .erp-ar-pagination button{width:28px!important;height:28px!important;border-radius:7px!important;font-size:10px!important;}
