XML 106 R91.htm IDEA: XBRL DOCUMENT v3.25.3
INCOME TAXES (Narrative) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2025
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Income Tax Contingency [Line Items]        
Provision for income taxes, percentage 28.40% 31.10% 35.40%  
Cumulative loss position 3 years      
Deferred tax assets $ 30,800 $ 28,400    
Undistributed foreign earnings 544,300 461,500    
Unrecognized tax benefits 2,668 4,294 $ 4,745 $ 5,041
Deferred income taxes that could reduce unrecognized tax benefits 100      
Unrecognized tax benefit, net amount if recognized would favorably affect the effective tax rate 2,600      
Unrecognized tax benefits, income tax penalties and interest accrued 1,800 1,700    
Expected change in unrecognized tax benefits reduction of taxes payable (up to) 2,300      
Income taxes receivable 48,350 43,767    
Foreign Tax Jurisdiction        
Income Tax Contingency [Line Items]        
Liability adjustment from settlement with taxing authority     7,200  
Foreign Tax Jurisdiction | Year Of Dispute        
Income Tax Contingency [Line Items]        
Liability adjustment from settlement with taxing authority     1,000  
Foreign Tax Jurisdiction | Year Following The Dispute Year        
Income Tax Contingency [Line Items]        
Liability adjustment from settlement with taxing authority     $ 6,200  
Two Countries        
Income Tax Contingency [Line Items]        
Income taxes receivable 10,500 10,900    
Deferred tax assets, net $ 3,900 $ 3,400