Revenue Recognition - Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
May 31, 2026 |
|
| Disaggregation of Revenue [Line Items] | |||
| Deferred commissions, current | $ 96.6 | $ 96.0 | |
| Deferred commissions, noncurrent | 319.1 | $ 304.7 | |
| Amortization of capitalized contract costs and other | $ 26.3 | $ 26.2 | |
| Route Servicing Fees | Revenue | Product Concentration Risk | Uniform Rental and Facility Services, First Aid and Safety Services and Fire Protection Services | |||
| Disaggregation of Revenue [Line Items] | |||
| Percentage of revenue (as percent) | 95.00% | ||
| X | ||||||||||
- Definition Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the "benchmark" (or denominator) in the equation, this concept represents the concentration percentage derived from the division. 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/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|