Income Taxes - Narrative (Details) - USD ($) $ / shares in Units, $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Income Taxes [Line Items] | |||
| Increase to net earnings from tax holidays and tax incentives program | $ 37 | $ 67 | $ 50 |
| Increase to net earnings per diluted share from tax holidays and tax incentives program (in dollars per share) | $ 0.26 | $ 0.46 | $ 0.34 |
| Australian Taxation Office | |||
| Income Taxes [Line Items] | |||
| Percentage of recognized tax benefit for uncertain tax position | 50.00% | ||
| Taxes computed at statutory U.S. rate | |||
| Income Taxes [Line Items] | |||
| Operating loss carryforwards | $ 26 | ||
| Foreign Tax Authority | |||
| Income Taxes [Line Items] | |||
| Operating loss carryforwards | 10 | ||
| Income Tax Jurisdiction, Domestic State and Local | |||
| Income Taxes [Line Items] | |||
| Amount of deferred taxes that would have been recognized if the earnings has not been permanently reinvested | 5 | ||
| Valuation Allowance | Foreign Tax Authority | |||
| Income Taxes [Line Items] | |||
| Operating loss carryforwards | 1 | ||
| Capital loss | $ 40 | ||