v3.26.3
Employee Benefit Plans - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
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.2 $ 0.4  
Pension Plan      
Defined Benefit Plan Disclosure      
Net overfunded (underfunded) 32.0 2.7  
Unrealized losses recognized 99.7 120.5  
Accumulated benefit obligation 357.0 380.5  
Projected benefit obligation for pension plans with projected benefit obligations in excess of plan assets 80.1 82.8  
Fair value of plan assets for pension plans with projected benefit obligations in excess of plan assets 60.1 51.6  
Projected benefit obligation for pension plans with accumulated benefit obligations in excess of plan assets 8.3 82.8  
Accumulated benefit obligation for plans with projected benefit obligations in excess of plan assets 8.2 60.6  
Fair value of plan assets for plans with projected benefit obligations in excess of plan assets 1.3 51.6  
Company contributions $ 10.8 2.7  
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 | UNITED STATES      
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 $ 34.1 $ 33.7 $ 32.7