v3.26.1
Stock-Based Compensation - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Millions
1 Months Ended 12 Months Ended
Oct. 31, 2019
May 31, 2026
May 31, 2025
May 31, 2024
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock options outstanding   2,079,000 1,892,000  
Aggregate intrinsic value of options outstanding   $ 44.0    
Weighted-average remaining contractual life of options outstanding   5 years 5 months 12 days    
Aggregate intrinsic value of options exercisable   $ 40.6    
Weighted-average remaining contractual life of options exercisable   4 years 5 months 12 days    
Beginning balance   1,892,000    
Omnibus Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Incentive plan approval date   Oct. 03, 2024    
2014 Omnibus Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares of common stock authorized   6,000,000    
Additional shares of common stock authorized 5,000,000      
Shares available for future issuance   0    
2024 Omnibus Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share based compensation arrangement vesting period   3 years    
Shares of common stock authorized   5,000,000    
Weighted-average grant date fair value   $ 110.59 $ 114.26 $ 93.51
Shares granted   18,261    
Shares outstanding   83,000 373,000  
Shares of restricted stock vested   26,000    
2014 Omnibus Plan and 2024 Omnibus Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unamortized stock-based compensation expense   $ 2.3    
Weighted-average grant date fair value   $ 117.19 $ 127.65 $ 98.61
Shares granted   15,000    
Shares of restricted stock vested   15,000    
Employee Incentive Plan 2007        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unamortized stock-based compensation expense   $ 4.1    
Shares granted   0    
Stock Appreciation Rights (SARs)        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock appreciation rights expected term   6 years 6 years 6 years
Unamortized stock-based compensation expense   $ 10.2    
Unamortized stock-based compensation expense expected recognition period   2 years 6 months    
Shares expected to vest   2,100,000    
Shares expected to vest, weighted-average exercise price   $ 86.11    
Shares vested or expected to vest, weighted-average remaining contractual term   5 years 5 months 8 days    
Stock Appreciation Rights (SARs) | Omnibus Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock appreciation rights expected term   10 years    
Share based compensation arrangement vesting period   4 years    
Full Value Stock Award | 2014 Omnibus Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares of common stock authorized   3,000,000    
Additional shares of common stock authorized 2,250,000      
Full Value Stock Award | 2024 Omnibus Incentive Plan        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Shares of common stock authorized   2,500,000    
Performance Earned Restricted Stock Awards and Performance Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Share based compensation arrangement vesting period   3 years    
Unamortized stock-based compensation expense   $ 14.3    
Weighted-average grant date fair value   $ 110.54 $ 114.14 $ 93.74
Shares granted   259,000    
Shares of restricted stock vested   84,000    
Performance Stock Units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Performance goals attainment period for PSUs awards   3 years    
Performance Stock Units | Earnings Before Interest Taxes Margin        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting percentage   50.00%    
Performance Stock Units | Upon Achievement of Performance Goals | Minimum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting percentage   0.00%    
Performance Stock Units | Upon Achievement of Performance Goals | Maximum        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Vesting percentage   200.00%    
Nonvested Restricted Stock        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Unamortized stock-based compensation expense   $ 44.1    
Weighted-average grant date fair value   $ 110.89    
Shares granted   292,000    
Remaining weighted-average contractual term   2 years 1 month 24 days    
Shares of restricted stock vested   125,000