Leases (Details) - USD ($) $ in Millions |
Apr. 30, 2026 |
Apr. 30, 2025 |
|---|---|---|
| Leases [Abstract] | ||
| Operating lease right-of-use assets | $ 148.8 | $ 115.4 |
| Current operating lease liabilities | $ 30.4 | $ 37.5 |
| Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Other Liabilities, Current | Other Liabilities, Current |
| Noncurrent operating lease liabilities | $ 125.3 | $ 84.1 |
| Total operating lease liabilities | 155.7 | 121.6 |
| Machinery and equipment | 25.9 | 25.4 |
| Accumulated depreciation | $ (16.2) | $ (13.5) |
| Finance Lease, Right-of-Use Asset, Statement of Financial Position [Extensible Enumeration] | Property, Plant, and Equipment, Accumulated Depreciation, Depletion, and Amortization, Machinery and Equipment, Gross, Property, Plant, and Equipment, after Accumulated Depreciation, Depletion, and Amortization | Property, Plant, and Equipment, Accumulated Depreciation, Depletion, and Amortization, Machinery and Equipment, Gross, Property, Plant, and Equipment, after Accumulated Depreciation, Depletion, and Amortization |
| Total property, plant, and equipment | $ 9.7 | $ 11.9 |
| Other current liabilities | $ 3.5 | $ 3.3 |
| Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Other Liabilities, Current | Other Liabilities, Current |
| Other noncurrent liabilities | $ 6.9 | $ 9.2 |
| Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Other Liabilities, Noncurrent | Other Liabilities, Noncurrent |
| Total finance lease liabilities | $ 10.4 | $ 12.5 |
| Total finance lease liabilities | Liabilities | Liabilities |