Basis of Presentation - Additional Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|---|
May 31, 2024 |
May 31, 2023 |
May 31, 2024 |
May 31, 2023 |
Aug. 31, 2024 |
Aug. 31, 2023 |
|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||||||
| Allowance for credit losses for client receivables and contract assets | $ 25,155 | $ 25,155 | $ 26,343 | |||
| Accumulated depreciation | 2,797,314 | 2,797,314 | 2,574,685 | |||
| Basis of Presentation [Line Items] | ||||||
| Business optimization costs | 77,420 | $ 346,873 | 332,493 | $ 591,263 | $ 1,100,000 | |
| Expected total business optimization costs | $ 1,500,000 | $ 1,500,000 | ||||
| Forecast | ||||||
| Basis of Presentation [Line Items] | ||||||
| Business optimization costs | $ 450,000 | |||||
| X | ||||||||||
- Definition Basis of Presentation [Line Items] No definition available.
|
| X | ||||||||||
- Definition Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| 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 Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|