v3.26.1
Equity Award Plans (PSO Activities) (Details) - PSOs - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
9 Months Ended 12 Months Ended
Apr. 30, 2026
Jul. 31, 2025
Number of Shares    
Balance, beginning (in shares) 1  
Exercised (in shares) (1)  
Balance, ending (in shares) 0 1
Options exercisable (in shares) 0  
Weighted-Average Exercise Price Per Share    
Balance, beginning (in usd per share) $ 32.76  
Exercised (in usd per share) 32.76  
Balance, ending (in usd per share) 0 $ 32.76
Options exercisable, weighted-average exercise price (in usd per share) $ 0  
PSOs, Additional Disclosures    
Weighted-average remaining contractual life (in years) 0 years 6 months
Options exercisable, weighted-average remaining contractual term (in years) 0 years  
Aggregate intrinsic value $ 0 $ 197
Options exercisable, aggregate intrinsic value $ 0