v3.26.3
Revolving Notes - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Line of Credit Facility [Line Items]    
Repayments of revolving notes in 2025 $ 181.7  
Repayments of revolving notes in 2026 445.4  
Repayments of revolving notes in 2027 41.9  
European    
Line of Credit Facility [Line Items]    
Line of credit, guaranteed amount 59.0  
Mexican    
Line of Credit Facility [Line Items]    
Line of credit facility maximum capacity $ 56.0  
Minimum | European    
Line of Credit Facility [Line Items]    
Line of credit maturity date 2026-10  
Minimum | Mexican    
Line of Credit Facility [Line Items]    
Line of credit maturity date 2027-01  
Maximum | European    
Line of Credit Facility [Line Items]    
Line of credit maturity date 2028-09  
Maximum | Mexican    
Line of Credit Facility [Line Items]    
Line of credit maturity date 2029-07  
WIBOR | Minimum | European    
Line of Credit Facility [Line Items]    
Debt instrument, percentage points added to the reference rate 1.20%  
WIBOR | Maximum | European    
Line of Credit Facility [Line Items]    
Debt instrument, percentage points added to the reference rate 1.25%  
EURIBOR | Minimum | European    
Line of Credit Facility [Line Items]    
Debt instrument, percentage points added to the reference rate 1.00%  
EURIBOR | Maximum | European    
Line of Credit Facility [Line Items]    
Debt instrument, percentage points added to the reference rate 1.90%  
Revolving Line of Credit, 1st Component of Senior Secured Credit Facilities | North American    
Line of Credit Facility [Line Items]    
Line of credit facility maximum capacity $ 600.0  
Aggregate amount available to draw down 428.5  
Letter of credit facility outstanding amount 51.1 $ 5.4
Revolving Line of Credit, 1st Component of Senior Secured Credit Facilities | European    
Line of Credit Facility [Line Items]    
Line of credit facility maximum capacity 130.5  
Aggregate amount available to draw down 37.7  
Revolving Line of Credit, 1st Component of Senior Secured Credit Facilities | Mexican    
Line of Credit Facility [Line Items]    
Line of credit facility maximum capacity 156.0  
Aggregate amount available to draw down $ 136.0  
Joint venture partner each guaranteed percentage 50.00%  
Revolving Line of Credit, 1st Component of Senior Secured Credit Facilities | Maximum | North American    
Line of Credit Facility [Line Items]    
Line of credit maturity date 2030-05  
Revolving Line of Credit, 1st Component of Senior Secured Credit Facilities | Prime Rate | North American    
Line of Credit Facility [Line Items]    
Debt instrument, percentage points added to the reference rate 0.50%  
Mexican Railcar Manufacturing Operations Line of Credit 1, 3rd Component of Senior Secured Credit Facilities | Mexican    
Line of Credit Facility [Line Items]    
Debt instrument, percentage points added to the reference rate 3.80%  
Mexican Railcar Manufacturing Operations Line of Credit 2, 3rd Component of Senior Secured Credit Facilities | Mexican    
Line of Credit Facility [Line Items]    
Debt instrument, percentage points added to the reference rate 2.00%