v3.26.1
INCOME TAXES - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Income Tax Contingency [Line Items]    
Investment tax credit $ 84,600  
Valuation allowance 620,736 $ 651,779
Deferred tax assets 1,077,003 1,080,575
Decrease in deferred tax assets 31,000  
Unrecognized tax benefits of deferred tax assets offset by valuation allowance 54,700 56,000
Net unrecognized tax benefit excluding portion offset by valuation allowance 66,700 83,800
Provision for deferred income tax liabilities 43,200 $ 20,000
Foreign    
Income Tax Contingency [Line Items]    
Operating loss carryforwards 2,600,000  
Operating loss carryforwards, no expiration 270,000  
Deferred tax assets 617,800  
Domestic    
Income Tax Contingency [Line Items]    
Operating loss carryforwards 332,800  
Deferred tax assets 2,900  
State and local jurisdiction    
Income Tax Contingency [Line Items]    
Operating loss carryforwards 406,600  
Operating loss carryforwards, no expiration $ 62,700