v3.25.2
Employee Benefit Plans (Narrative) (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Defined Benefit Plan Disclosure      
Deferred compensation arrangement with individual, maximum future deferred receipts allowed (as a percent) 75.00%    
Deferred compensation arrangement with individual, recorded liability $ 0.4 $ 1.2  
Pension Plan      
Defined Benefit Plan Disclosure      
Net overfunded (underfunded) 2.7 9.6  
Unrealized losses recognized 120.5 111.3  
Accumulated benefit obligation 380.5 385.1  
Projected benefit obligation for pension plans with projected benefit obligations in excess of plan assets 82.8 75.3  
Fair value of plan assets for pension plans with projected benefit obligations in excess of plan assets 51.6 49.1  
Projected benefit obligation for pension plans with accumulated benefit obligations in excess of plan assets 82.8 17.7  
Accumulated benefit obligation for plans with projected benefit obligations in excess of plan assets 60.6 16.4  
Fair value of plan assets for plans with projected benefit obligations in excess of plan assets 51.6 7.3  
Cash and credit contributions 2.7    
Company contributions $ 2.7 2.8  
Pension Plan | Minimum | Fixed income securities | Level 3 | Independent Insurance Company      
Defined Benefit Plan Disclosure      
Pension plan target allocation (as a percent) 80.00%    
Pension Plan | Minimum | Global equity securities | Level 3 | Independent Insurance Company      
Defined Benefit Plan Disclosure      
Pension plan target allocation (as a percent) 10.00%    
Pension Plan | Maximum | Fixed income securities | Level 3 | Independent Insurance Company      
Defined Benefit Plan Disclosure      
Pension plan target allocation (as a percent) 90.00%    
Pension Plan | Maximum | Global equity securities | Level 3 | Independent Insurance Company      
Defined Benefit Plan Disclosure      
Pension plan target allocation (as a percent) 20.00%    
Retirement Savings and Employee Stock Ownership Plan | U.S. Plan      
Defined Benefit Plan Disclosure      
Contributory employee saving plan, employee contribution threshold limit from compensation, maximum (as a percent) 50.00%    
Contributory employee saving plan, percentage match of participants, first contributions (as a percent) 100.00%    
Contributory employee saving plan, percentage of participants, first eligible compensation (as a percent) 3.00%    
Contributory employee saving plan, percentage match of participants, second contributions (as a percent) 50.00%    
Contributory employee saving plan, percentage of participants, second eligible compensation (as a percent) 2.00%    
Defined contribution plan, annual retirement contributions (as a percent) 3.00%    
Company contributions $ 33.7 $ 32.7 $ 28.6