Stock Incentive Plans - Schedule of Status and Changes of Shares Subject to RSU Awards and Related Average Price Per Share (Details) - Stock Appreciation Rights (SARs) - $ / shares shares in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Number of Shares | |||
| Beginning balance, nonvested (in shares) | 857 | ||
| Granted (in shares) | 312 | ||
| Vested (in shares) | (466) | ||
| Canceled and forfeited (in shares) | (14) | ||
| Ending balance, nonvested (in shares) | 689 | 857 | |
| Weighted-Average Grant Date Fair Value | |||
| Beginning balance, nonvested (in USD per share) | $ 159.29 | ||
| Granted (in USD per share) | 275.32 | $ 205.79 | $ 146.72 |
| Vested (in USD per share) | 141.19 | ||
| Canceled and forfeited (in USD per share) | 228.33 | ||
| Ending balance, nonvested (in USD per share) | $ 222.72 | $ 159.29 | |
| X | ||||||||||
- Definition The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Gross number of share options (or share units) granted during the period. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of non-vested options outstanding. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Weighted average grant-date fair value of non-vested options forfeited. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Weighted average grant-date fair value of non-vested options outstanding. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Number of options vested. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Weighted average grant-date fair value of options vested. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|