Fair Value Measurements - Schedule of Carrying Value of Our Long-Term Investments (Details) - Level 3 - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||||
| Upward adjustments | $ 46 | $ 0 | $ 104 | $ 8 |
| Downward adjustments, including impairments | 0 | 0 | 0 | (51) |
| Net adjustments | $ 46 | $ 0 | $ 104 | $ (43) |
| X | ||||||||||
- Definition Equity Securities Without Readily Determinable Fair Value, Downward Price Adjustment And Impairment Loss, Annual Amount No definition available.
|
| X | ||||||||||
- Definition Equity Securities Without Readily Determinable Fair Value, Upward And Downward Price Adjustments And Impairment Loss, Net, Annual Amount No definition available.
|
| X | ||||||||||
- Definition Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|