XML 44 R31.htm IDEA: XBRL DOCUMENT v3.25.3
Basis of Presentation - Additional Information (Details)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2025
USD ($)
Aug. 31, 2025
USD ($)
Nov. 30, 2024
USD ($)
Nov. 30, 2025
USD ($)
segment
Organization, Consolidation and Presentation of Financial Statements [Abstract]        
Allowance for credit losses for client receivables and contract assets $ 24,571 $ 32,247   $ 24,571
Accumulated depreciation 2,988,124 2,926,630   2,988,124
Business optimization costs $ 307,541 $ 615,324 $ 0 923,000
Employee severance       628,000
Asset impairments       $ 295,000
Number of divestitures | segment       2