Subsequent Events (Details) - USD ($) $ / shares in Units, $ in Millions |
12 Months Ended | ||||
|---|---|---|---|---|---|
Aug. 12, 2026 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
May 31, 2024 |
|
| Subsequent Event [Line Items] | |||||
| Dividends declared (in USD per share) | $ 2.5875 | $ 2.5375 | $ 2.4875 | ||
| Cross currency swaps | |||||
| Subsequent Event [Line Items] | |||||
| Derivative, notional amount | $ 3,000 | $ 3,000 | $ 500 | ||
| Subsequent Event | |||||
| Subsequent Event [Line Items] | |||||
| Dividends declared (in USD per share) | $ 0.65 | ||||