v3.26.1
Stock Incentive Plans - Schedule of SAR Activity (Details) - Stock Appreciation Rights (SARs)
$ / shares in Units, shares in Thousands, $ in Millions
12 Months Ended
Jun. 30, 2026
USD ($)
$ / shares
shares
Number of Shares  
Beginning balance, outstanding (in shares) | shares 3,088
Granted (in shares) | shares 312
Exercised (in shares) | shares (769)
Canceled and forfeited (in shares) | shares (14)
Ending balance, outstanding (in shares) | shares 2,617
Exercisable (in shares) | shares 1,927
Weighted-Average Exercise Price  
Beginning balance, outstanding (in USD per share) | $ / shares $ 288.60
Granted (in USD per share) | $ / shares 742.97
Exercised (in USD per share) | $ / shares 210.35
Canceled and forfeited (in USD per share) | $ / shares 614.25
Ending balance, outstanding (in USD per share) | $ / shares 364.09
Exercisable (in USD per share) | $ / shares $ 275.85
Weighted Average Remaining Contractual Term and Aggregate Intrinsic Value  
Outstanding, weighted average remaining contractual term 5 years 9 months 18 days
Exercisable, weighted average remaining contractual term 4 years 10 months 24 days
Outstanding, aggregate intrinsic value | $ $ 1,607
Exercisable, aggregate intrinsic value | $ $ 1,353