v3.26.3
Leases - Schedule of Supplemental Cash Flow and Other Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Cash paid for amounts included in measurement of lease liabilities:      
Operating cash flows from operating leases $ 92,116 $ 85,976 $ 78,614
Operating cash flows from finance leases 2,371 2,256 1,964
Financing cash flows from finance leases 12,111 9,772 7,716
Supplemental noncash information:      
Right of use assets obtained in exchange for lease liabilities 76,249 89,158 73,183
Right of use asset modifications $ 179 $ 25,475 $ 12,277