XML 53 R45.htm IDEA: XBRL DOCUMENT v3.25.2
Restructuring - Summary of Activity in Restructuring Reserves (Detail) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2025
Aug. 31, 2024
Restructuring Cost and Reserve [Line Items]    
Additions charged to expense $ 8,814 $ 7,202
MAP 2025    
Restructuring Cost and Reserve [Line Items]    
Restructuring Reserve, Beginning Balance 13,487 17,369
Additions charged to expense 8,814 7,202
Cash payments charged against reserve (6,939) (8,179)
Non-cash charges and other adjustments 105 244
Restructuring Reserve, Ending Balance 15,467 16,636
MAP 2025 | Severance and benefit costs (credits)    
Restructuring Cost and Reserve [Line Items]    
Restructuring Reserve, Beginning Balance 13,055 17,351
Additions charged to expense 7,076 6,459
Cash payments charged against reserve (5,286) (7,443)
Non-cash charges and other adjustments 188 244
Restructuring Reserve, Ending Balance 15,033 16,611
MAP 2025 | Facility Closure and Other Related Costs    
Restructuring Cost and Reserve [Line Items]    
Restructuring Reserve, Beginning Balance 432 18
Additions charged to expense 1,738 743
Cash payments charged against reserve (1,653) (736)
Non-cash charges and other adjustments (83) 0
Restructuring Reserve, Ending Balance 434 25
MAP 2025 | Other Restructuring Costs    
Restructuring Cost and Reserve [Line Items]    
Additions charged to expense $ 0 $ 0