v3.25.2
Restructuring (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Restructuring Cost and Reserve      
Severance costs     $ 15.3
Restructuring reserve $ 7.1 $ 6.4  
Restructuring charges     21.8
Lower Margin Customer Programs      
Restructuring Cost and Reserve      
Business exit cost     6.5
Operating Segments      
Restructuring Cost and Reserve      
Severance costs 16.8 6.4  
Cost of Sales      
Restructuring Cost and Reserve      
Restructuring charges     $ 2.9
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration]     Cost of sales
Cost of Sales | Operating Segments      
Restructuring Cost and Reserve      
Severance costs 6.5 3.8  
Operating Expense | Operating Segments      
Restructuring Cost and Reserve      
Severance costs $ 10.3 $ 2.6  
Selling, General and Administrative Expenses      
Restructuring Cost and Reserve      
Restructuring charges     $ 18.9
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration]     Selling, general and administrative