v3.26.1
Retirement Plans (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Supplemental Savings Plan      
Defined Contribution Plan Disclosure [Line Items]      
Contribution expense $ 7,000 $ 7,200 $ 6,900
Employer contribution vesting period 5 years    
Employer contribution percentage 5.00%    
Annual IRC compensation limit $ 360    
Supplemental savings plan obligation 130,700 125,400  
Supplemental savings plan COLI gains (losses) 5,200 5,200 5,200
Defined contribution plans      
Defined Contribution Plan Disclosure [Line Items]      
Contribution expense 94,700 84,400 78,700
Defined contribution plans | CACI $MART Plan      
Defined Contribution Plan Disclosure [Line Items]      
Contribution expense $ 84,700 $ 74,700 $ 65,800
Employer contribution vesting period 3 years