v3.26.3
Stockholders' Equity - Narrative (Details) - USD ($)
$ / shares in Units, $ in Millions
3 Months Ended 12 Months Ended
Jul. 31, 2026
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Nov. 30, 2023
Stockholders' Equity Note [Abstract]          
Stock repurchase program, additional shares authorized for repurchase (in shares)         12,000,000.0
Stock repurchases (in shares)   1,400,000 4,900,000    
Treasury stock value acquired   $ 108.5 $ 333.6 $ 163.3  
Remaining number of shares authorized to be repurchased (in shares) 4,500,000 4,500,000      
Dividends paid per share (in usd per share)   $ 1.22 $ 1.11    
Cash dividend declared per common share (in usd per share) $ 0.320 $ 1.24 $ 1.14 $ 1.04