v3.26.3
Other Benefit Plans (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Deferred Compensation Arrangement with Individual, Postretirement Benefits [Line Items]      
Defined contribution plan, employer matching contribution, percent of match 50.00%    
Defined contribution plan, employer matching contribution, percent of employees' gross pay 6.60%    
Defined contribution plan, maximum annual contributions per employee percent 10.00%    
Discretionary non-elective contribution, percentage 5.00%    
Pension Plan      
Deferred Compensation Arrangement with Individual, Postretirement Benefits [Line Items]      
Defined contribution plan, cost recognized $ 6.0 $ 5.5 $ 5.2
International Pension Plans      
Deferred Compensation Arrangement with Individual, Postretirement Benefits [Line Items]      
Defined contribution plan, cost recognized $ 3.0 $ 2.7 $ 2.4