v3.26.1
Stock Incentive Plans - Schedule of Status and Changes of Shares Subject to RSU Awards and Related Average Price Per Share (Details) - Stock Appreciation Rights (SARs) - $ / shares
shares in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Number of Shares      
Beginning balance, nonvested (in shares) 857    
Granted (in shares) 312    
Vested (in shares) (466)    
Canceled and forfeited (in shares) (14)    
Ending balance, nonvested (in shares) 689 857  
Weighted-Average Grant Date Fair Value      
Beginning balance, nonvested (in USD per share) $ 159.29    
Granted (in USD per share) 275.32 $ 205.79 $ 146.72
Vested (in USD per share) 141.19    
Canceled and forfeited (in USD per share) 228.33    
Ending balance, nonvested (in USD per share) $ 222.72 $ 159.29