v3.26.3
Income Taxes (Reconciliation Of Effective Income Tax Rate And Effective Rate From Continuing Operation) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Income Tax Disclosure [Abstract]      
At U.S. federal income tax rate 21.00% 21.00% 21.00%
State and local income taxes, net of federal benefit (1) $ 1,294    
State income tax, net of federal benefit 0.60% 4.10% 2.90%
Change in uncertain tax positions   (0.10%) 0.10%
Stock-based compensation   0.30% 0.40%
Noncontrolling interests   (0.90%) (1.00%)
Foreign taxes   2.50% 3.60%
Taxes related to prior year filings   (0.70%) 0.30%
Other 0.00% (0.30%) 0.00%
Effective tax rate 24.80% 25.90% 27.30%
U.S. federal statutory tax rate $ 47,660    
Effective Income Tax Rate Reconciliation [Line Items]      
Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent 0.50%    
Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount $ 1,261    
Effective Income Tax Rate Reconciliation, Tax Contingency, Percent (0.40%)    
Effective Income Tax Rate Reconciliation, Tax Contingency, Amount $ (877)    
Other 0.00% (0.30%) 0.00%
Effective Income Tax Rate Reconciliation, Other Adjustments, Amount $ (25)    
Foreign taxes   2.50% 3.60%
Effective Income Tax Rate Reconciliation, Cross-Border Tax Effect, Percent 1.00%    
Effective Income Tax Rate Reconciliation, Cross-Border Tax Effect, Amount $ 2,285    
Effective Income Tax Rate Reconciliation, Tax Credit, Percent (0.40%)    
Effective Income Tax Rate Reconciliation, Tax Credit, Amount $ (1,008)    
Noncontrolling interests   0.90% 1.00%
Effective tax rate 24.80% 25.90% 27.30%
Tax Jurisdiction of Domicile [Extensible Enumeration] UNITED STATES    
Income Tax Jurisdiction, Foreign, Other      
Income Tax Disclosure [Abstract]      
Foreign taxes 1.00%    
Effective Income Tax Rate Reconciliation [Line Items]      
Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Amount $ 2,329    
Foreign taxes 1.00%    
CANADA      
Income Tax Disclosure [Abstract]      
Noncontrolling interests 2.80%    
Foreign taxes 2.50%    
Other (1.30%)    
Effective Income Tax Rate Reconciliation [Line Items]      
Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Amount $ 5,718    
Effective Income Tax Rate Reconciliation, Noncontrolling Interest Income (Loss), Amount $ (6,410)    
Other (1.30%)    
Effective Income Tax Rate Reconciliation, Other Adjustments, Amount $ (2,969)    
Foreign taxes 2.50%    
Noncontrolling interests (2.80%)    
SWITZERLAND      
Income Tax Disclosure [Abstract]      
Other 0.40%    
Effective Income Tax Rate Reconciliation [Line Items]      
Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount $ 6,100    
Other 0.40%    
Effective Income Tax Rate Reconciliation, Other Adjustments, Amount $ 854    
Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent 2.70%