v3.26.1
STOCK-BASED COMPENSATION - Additional Information (Details) - USD ($)
shares in Millions, $ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 93.9 $ 73.4 $ 70.6
Unrecognized compensation cost related to non-vested stock options $ 19.2    
Amortization period of unrecognized compensation cost 1 year 8 months 12 days    
Unrecognized compensation cost of restricted stock awards $ 70.5    
Amortization period of unrecognized compensation cost for restricted stock awards 1 year 8 months 12 days    
Repurchase of common stock shares (in shares) 3.4 0.6 2.5
Opportunistic Buy-Backs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Repurchase of common stock shares (in shares) 3.4 0.4  
Segment, Continuing Operations      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 93.9 $ 73.4 $ 70.6
Related tax benefits $ 13.5 $ 12.5 $ 13.7
Stock Options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting period of cost recognition 12 months    
Stock Options | Graded Vesting      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 4 years    
Stock options expiration period 10 years    
Stock Options | Cliff Vesting      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 4 years    
Stock option term 10 years    
Stock Options | Cliff Vesting - Year One      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Stock Options | Cliff Vesting - Year Two      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Stock Options | Cliff Vesting - Year Three      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Stock Options | Cliff Vesting - Year Four      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock option award vesting percentage 25.00%    
Time-based Restricted Stock Units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 3 years    
Stock conversion ratio 1    
Performance-based Restricted Stock Units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock options vesting period 3 years    
Stock conversion ratio 1    
Time Based And Performance Based Restricted Stock Units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense $ 7.1    
Two Thousand Eighteen Equity Incentive Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Share-based compensation arrangement by share-based payment award, number of shares available for grant 4.8