v3.25.2
Goodwill and Other Intangible Assets - Additional Information (Details)
$ in Millions
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 01, 2024
segment
May 31, 2025
USD ($)
May 31, 2024
USD ($)
May 31, 2025
USD ($)
segment
May 31, 2024
USD ($)
Aug. 31, 2024
segment
Goodwill and Intangible Assets Disclosure [Abstract]            
Number of operating segments | segment 3     3   2
Amortization of intangibles | $   $ 17 $ 12 $ 45 $ 27