v3.25.2
INCOME TAXES - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Income Tax Contingency [Line Items]        
Effective tax rate   25.70% 28.90% 30.20%
Net deferred tax asset $ 762,859 $ 762,859 $ 773,002  
Valuation allowance released against deferred tax asset 3,800      
Unrecognized tax benefits that would impact the income tax provision and effect tax rate 15,700 15,700 16,800 $ 16,300
Accrued interest and penalties 5,800 5,800 $ 6,100  
Research Tax Credit Carryforward        
Income Tax Contingency [Line Items]        
Tax credit carryforward 15,100 15,100    
UNITED STATES        
Income Tax Contingency [Line Items]        
Net deferred tax asset 37,300 37,300    
Operating loss carryforwards 177,400 177,400    
State and Local Jurisdiction        
Income Tax Contingency [Line Items]        
Net deferred tax asset 9,600 9,600    
Operating loss carryforwards $ 177,100 $ 177,100