v3.26.3
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Difference Between Basic EPS and Diluted EPS (Details) - shares
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Accounting Policies [Abstract]      
Weighted-average shares outstanding for basic earnings per share (in shares) 52,365,109 53,085,577 53,248,488
Unvested restricted stock units and performance stock units (in shares) 197,563 314,729 438,889
Weighted-average shares outstanding assuming dilution (in shares) 52,562,672 53,400,306 53,687,377