v3.26.3
EMPLOYEES' RETIREMENT PLANS (Narrative) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Compensation expense under defined contribution profit sharing and savings plan and BRP Plan $ 55,000 $ 46,600 $ 46,900
Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServicesSold      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Compensation expense under defined contribution profit sharing and savings plan and BRP Plan 31,900 28,300 27,700
BRP plan      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Deferred compensation liability, total 44,200 43,400  
Current value of segregated assets 64,700 67,500  
Net holding gain on segregated assets 11,300 10,100 $ 8,500
Location, Statement of Financial Position, Balance [Axis]: us-gaap:OtherLiabilitiesNoncurrent | BRP plan      
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]      
Deferred compensation liability, noncurrent $ 39,100 $ 38,000