v3.25.2
Employee Benefit Plans (Details Textual)
12 Months Ended
Jun. 30, 2025
USD ($)
shares
Jun. 30, 2024
USD ($)
shares
Jun. 30, 2023
USD ($)
shares
Employee Benefit Plans (Textual) [Abstract]      
Percentage of limitation on pretax compensation 75.00%    
Company match of first 3% of employee contributions 100.00%    
Percentage of employee contribution for first half 3.00%    
Employee contribution for next 2% 50.00%    
Percentage of employee contribution for next half 2.00%    
Contribution made by company $ 5,000,000 $ 5,100,000 $ 5,300,000
Employee share purchase limit aggregate market value $ 60,000    
Shares available at ESPP | shares 1,000,000    
Shares issued under ESPP | shares 17,148 19,775 50,139
Multiemployer Plans [Line Items]      
Number of unions contributed to 100    
Defined Contribution Plan, Cost $ 5,000,000 $ 5,100,000 $ 5,300,000
Employee stock purchase plan number of shares available for purchase | shares 733,334    
Total contributions made $ 17,184,000 $ 20,833,000 $ 23,556,000
Zone Red [Member]      
Multiemployer Plans [Line Items]      
Description of Funded Portion of Plan less than 65 percent    
Zone Yellow [Member]      
Multiemployer Plans [Line Items]      
Description of Funded Portion of Plan less than 80 percent    
Zone Green [Member]      
Multiemployer Plans [Line Items]      
Description of Funded Portion of Plan at least 80 percent