XML 77 R59.htm IDEA: XBRL DOCUMENT v3.25.2
Employee Benefit Plans - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Retirement Benefits [Abstract]      
Deferred compensation arrangement with individual, recorded liability $ 19,998 $ 20,029  
Accrued retirement and profit-sharing contributions 4,742 3,656  
Pension and other postretirement benefit expense $ 17,921 $ 16,134 $ 15,089