v3.26.1
Stock-Based Compensation (Narrative) (Details) - USD ($)
$ / shares in Units, $ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Share-based Compensation Arrangement by Share-based Payment Award        
Options granted, grant date fair value (in usd per share)     $ 25.86 $ 21.67
Employee Stock Option        
Share-based Compensation Arrangement by Share-based Payment Award        
Pre-tax compensation expense associated with stock options $ 2.5 $ 2.2 $ 15.8 $ 14.2
2019 Master Stock Incentive Plan | Employee Stock Option        
Share-based Compensation Arrangement by Share-based Payment Award        
Stock options exercisable term (in years)     10 years  
Stock option, award vesting period (in years)     3 years  
2019 Master Stock Incentive Plan | Performance Shares        
Share-based Compensation Arrangement by Share-based Payment Award        
Pre-tax compensation expense associated with stock options $ 1.3 $ 1.0 $ 3.3 $ 4.2
Performance award measurement period (in years)     3 years  
Expiration period (in years)     3 years  
2019 Master Stock Incentive Plan | Performance Shares | Minimum        
Share-based Compensation Arrangement by Share-based Payment Award        
Payout percentage based on target award (as a percentage)     0.00%  
2019 Master Stock Incentive Plan | Performance Shares | Maximum        
Share-based Compensation Arrangement by Share-based Payment Award        
Payout percentage based on target award (as a percentage)     200.00%