v3.26.1
Leases - Schedule of Components of Lease Expense (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Leases [Abstract]        
Operating lease cost $ 36 $ 28 $ 101 $ 82
Variable lease cost 6 5 18 15
Sublease income (2) (2) (6) (8)
Total net lease cost $ 40 $ 31 $ 113 $ 89