v3.26.3
COMMITMENTS AND CONTINGENCIES (Narrative) (Details)
$ in Thousands
12 Months Ended
Aug. 31, 2026
USD ($)
agreement
Aug. 31, 2025
USD ($)
Aug. 31, 2024
USD ($)
Sep. 30, 2026
USD ($)
Loss Contingencies [Line Items]        
Accrual for taxes other than income taxes, current $ 900 $ 1,100    
Income taxes receivable 59,995 48,350    
Contractual obligation 29,300 11,500    
Construction contractual obligation 14,500      
Operating lease, right-of-use asset 128,613 113,479    
Operating lease, liability 146,667      
Operating right-of-use assets obtained in exchange for lease liabilities $ 20,417 26,090 $ 1,104  
Land purchase option, number of agreements | agreement 4      
Purchase options, land $ 27,500      
Subsequent Event        
Loss Contingencies [Line Items]        
Operating lease, liability       $ 13,700
Two Countries        
Loss Contingencies [Line Items]        
Income taxes receivable 10,200 10,500    
Deferred tax assets, net $ 4,400 $ 3,900    
Guatemala        
Loss Contingencies [Line Items]        
Lease not yet commenced, term 20 years      
Lease note yet commenced, renewal term 5 years      
Guatemala | Building        
Loss Contingencies [Line Items]        
Lease not yet commenced, liability $ 12,100      
CHILE | Subsequent Event        
Loss Contingencies [Line Items]        
Lease not yet commenced, term       30 years
Operating lease, right-of-use asset       $ 13,700
Operating lease, liability       13,700
CHILE | Building | Subsequent Event        
Loss Contingencies [Line Items]        
Lease not yet commenced, liability       $ 16,300