v3.26.3
STOCK-BASED COMPENSATION PLANS (Narrative) (Details)
$ in Millions
12 Months Ended
Aug. 31, 2026
USD ($)
Interval
shares
Aug. 31, 2025
USD ($)
shares
Aug. 31, 2024
USD ($)
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense | $ $ 43.9 $ 37.1 $ 45.1
Stock-based compensation expense, tax | $ 3.4 7.9 10.6
Total unrecognized compensation cost | $ $ 24.9    
Period of unrecognized compensation to be recognized 1 year 3 days    
Shares available for future grants (in shares) 2,256,311    
Fair value of shares vested | $ $ 37.4 $ 44.2 $ 47.8
Restricted stock units      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Restricted stock awards and performance stock units, granted, (in shares) 527,702 521,295 524,943
Restricted stock units | United States      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Award vesting frequency | Interval 3    
Performance Awards      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Restricted stock awards and performance stock units, granted, (in shares) 215,595 226,405 244,931
Performance Awards | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Payout percentage 50.00%    
Performance Awards | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Payout percentage 200.00%    
Performance Awards | EBITDA      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Percentage that performance targets are weighted 50.00% 75.00%  
Performance Awards | Relative total stockholder return      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Percentage that performance targets are weighted 50.00% 25.00%  
Metric period 3 years 3 years  
Liability awards      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Restricted stock awards and performance stock units, granted, (in shares) 107,771 172,992  
Equivalent number of awards outstanding (in shares) 256,100    
Equivalent number of shares expected to vest (in shares) 248,367    
Employee stock purchase plan      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Shares available for future grants (in shares) 1,033,871    
Maximum number of shares per employee 500    
Purchase discount from market price 15.00% 15.00% 15.00%