Restructuring and Other (Income) Expense, Net - Additional Information (Detail) - USD ($) |
3 Months Ended | 12 Months Ended | |
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
May 31, 2026 |
|
| Restructuring Cost and Reserve [Line Items] | |||
| Property, machinery and equipment, net | $ 1,100,300,000 | $ 649,300,000 | |
| Net proceeds from sale of assets | $ 1,300,000 | ||
| Finance lease assets and buildings and improvements, net | 21,800,000 | 7,500,000 | |
| Manufacturing Facility | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Severance expenses | 0 | 400,000 | $ 0 |
| Machinery And Equipment [Member] | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Property, machinery and equipment, net | 300,000 | ||
| Pre-tax gain on sale of assets | 1,000,000 | ||
| Kloeckner | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Acquisition-related expenses | 1,300,000 | ||
| Additional material restructuring costs | 0 | ||
| Voluntary Retirement Program | |||
| Restructuring Cost and Reserve [Line Items] | |||
| Severance expenses | $ 100,000 | $ 400,000 | |
| X | ||||||||||
- Definition Amount of expense for acquisition-related cost incurred to effect business combination. Includes, but is not limited to, finder's fee; advisory, legal, accounting, valuation, and other professional and consulting fees; and general administrative cost, including cost of maintaining internal acquisition department. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization, of right-of-use asset from finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The difference between the carrying value and the sale price of real estate or properties that were intended to be sold or held for capital appreciation or rental income. This element refers to the gain (loss) included in earnings and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The cash inflow from sale of machinery and equipment. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after accumulated depreciation, depletion, and amortization, of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount expected to be recognized in earnings for the specified restructuring cost. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 of expenses for special or contractual termination benefits provided to current employees involuntarily terminated under a benefit arrangement associated exit or disposal activities pursuant to an authorized plan. Excludes expenses related to one-time termination benefits, a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|