Earnings Per Share - Schedule of Non Cash Buyback Activity by Program (Details) - Noncash Share Repurchase Transaction - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
3 Months Ended | |
|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
|
| Equity, Class of Treasury Stock [Line Items] | ||
| Shares (in shares) | 244 | 304 |
| Average Price per Share (in dollars per share) | $ 202.67 | $ 222.31 |
| Purchase Price | $ 49,628 | $ 67,581 |
| 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 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 | ||||||||||
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|