v3.26.3
RETIREMENT AND PROFIT SHARING PLANS - Schedule of Weighted-Average Plan Assets Allocation (Details)
Aug. 31, 2026
Aug. 31, 2025
U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 100.00%  
Actual Plan Asset Allocation 100.00% 100.00%
U.S. Plans | Equity securities    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 0.00%  
Actual Plan Asset Allocation 0.00% 0.00%
U.S. Plans | Debt securities    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 100.00%  
Actual Plan Asset Allocation 94.00% 96.00%
U.S. Plans | Cash and short-term investments    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 0.00%  
Actual Plan Asset Allocation 6.00% 4.00%
U.S. Plans | Insurance contracts    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 0.00%  
Actual Plan Asset Allocation 0.00% 0.00%
U.S. Plans | Other    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 0.00%  
Actual Plan Asset Allocation 0.00% 0.00%
Non-U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 100.00%  
Actual Plan Asset Allocation 100.00% 100.00%
Non-U.S. Plans | Equity securities    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 30.00%  
Actual Plan Asset Allocation 25.00% 23.00%
Non-U.S. Plans | Debt securities    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 37.00%  
Actual Plan Asset Allocation 45.00% 44.00%
Non-U.S. Plans | Cash and short-term investments    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 4.00%  
Actual Plan Asset Allocation 3.00% 4.00%
Non-U.S. Plans | Insurance contracts    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 18.00%  
Actual Plan Asset Allocation 17.00% 19.00%
Non-U.S. Plans | Other    
Defined Benefit Plan Disclosure [Line Items]    
2027 Target Allocation 11.00%  
Actual Plan Asset Allocation 10.00% 10.00%