Notes Payable and Long-Term Debt - Schedule of Long-Term debt (Details) - USD ($) $ in Thousands |
Feb. 28, 2026 |
Aug. 31, 2025 |
|---|---|---|
| Debt Instrument [Line Items] | ||
| Finance lease liabilities | $ 51,975 | $ 55,198 |
| Deferred financing costs | (3,751) | (3,894) |
| Other | 1,456 | 1,529 |
| Total long-term debt | 2,132,680 | 1,835,833 |
| Less current portion | 149,064 | 90,447 |
| Long-term portion | $ 1,983,616 | $ 1,745,386 |
| Finance Lease, Liability, Statement of Financial Position [Extensible Enumeration] | Long-term portion, Less current portion | Long-term portion, Less current portion |
| Private placement debt | ||
| Debt Instrument [Line Items] | ||
| Long-term debt | $ 1,783,000 | $ 1,783,000 |
| Term loan | ||
| Debt Instrument [Line Items] | ||
| Long-term debt | $ 300,000 | $ 0 |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Indicates line item in statement of financial position that includes finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of long-term debt and lease obligation, classified as noncurrent. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of long-term debt and lease obligation, classified as current. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of long-term debt and lease obligation, including portion classified as current. No definition available.
|
| X | ||||||||||
- Definition Amount of long-term debt classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|