v3.26.1
SHARE-BASED COMPENSATION - Narrative (Details) - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Weighted-average remaining vesting period 1 year 1 month 6 days    
Aggregate number of shares of common stock awarded under the 2023 plan (in shares) 1,600    
Shares available for future grants (in shares) 1,360    
Weighted-average remaining contractual terms for SARs/stock options exercisable 10 years    
Vesting period 4 years    
Stock Compensation Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Employee service share-based compensation, tax benefit from compensation expense $ 6,730 $ 6,270 $ 5,885
SARs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Weighted-average remaining vesting period 1 year 4 months 24 days    
Weighted-average remaining contractual terms for SARs/stock options outstanding 5 years 1 month 6 days    
Weighted-average remaining contractual terms for SARs/stock options exercisable 3 years 9 months 18 days    
Weighted-average remaining contractual terms for SARs/stock options expected to vest 5 years 1 month 6 days    
Aggregate intrinsic values of SARs and stock options outstanding $ 145,921    
Aggregate intrinsic values of SARs/stock options exercisable 118,893    
Aggregate intrinsic values of SARs/stock options expected to vest 145,872    
Aggregate intrinsic values of SARs/stock options exercised during period 20,935 12,982 19,700
Total fair value of shares vested $ 4,477 $ 3,219 $ 2,550
Performance share awards      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Weighted-average remaining vesting period 10 months 24 days    
Shares available for future grants (in shares) 34    
Performance period 3 years    
Each period to achieves goals established by the committee 1 year    
Vesting period 3 years    
RSAs and RSUs      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Weighted-average remaining vesting period 10 months 24 days    
RSAs and RSUs | Minimum | The 2023 Long-Term Performance Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Vesting period 1 year    
Expiration period 3 years    
RSAs and RSUs | Maximum | The 2023 Long-Term Performance Plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Vesting period 4 years    
Expiration period 4 years