Revenue recognition - Schedule of Total Contract Assets and Contract Liabilities (Details) - USD ($) $ in Millions |
Dec. 31, 2025 |
Jun. 30, 2025 |
|---|---|---|
| Revenue from Contract with Customer [Abstract] | ||
| Contract assets, current (included within Other current assets) | $ 177 | $ 149 |
| Contract assets, noncurrent (included within Other long-term assets) | 19 | 16 |
| Total contract assets | 196 | 165 |
| Contract liabilities, current (included within Other current liabilities) | (198) | (211) |
| Contract liabilities, noncurrent (included within Other long-term liabilities) | (106) | (71) |
| Total contract liabilities | (304) | (282) |
| Net contract liabilities | $ (108) | $ (117) |
| X | ||||||||||
- Definition Contract With Customer, Net Asset (Liability) No definition available.
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|