Earnings Per Share - Narrative (Details) - 2023 Repurchase Program - USD ($) $ / shares in Units, shares in Millions, $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2026 |
|
| Equity, Class of Treasury Stock [Line Items] | |||
| Stock repurchase program, authorized amount | $ 750.0 | ||
| Repurchases of common stock (in shares) | 0.4 | 0.5 | |
| Shares repurchased, average price per share (in dollars per share) | $ 344.35 | $ 318.99 | |
| Share repurchase program, remaining authorized amount | $ 187.3 | ||
| X | ||||||||||
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. No definition available.
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|