Fair Value Measurements - Financial Assets and Liabilities Accounted for at Fair Value on Recurring Basis (Detail) - USD ($) $ in Thousands |
Jul. 31, 2026 |
Jul. 31, 2025 |
|---|---|---|
| Fair Value, Inputs, Level 1 [Member] | Balance Sheet Location [Axis]: us-gaap:OtherAssetsNoncurrent | ||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Deferred Compensation Plan Assets | $ 22,019 | $ 19,998 |
| Fair Value, Inputs, Level 2 [Member] | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent | ||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
| Foreign Currency Contracts, Liability, Fair Value Disclosure | $ 84 | $ 198 |
| X | ||||||||||
- Definition Carrying amount as of the balance sheet date of assets held under deferred compensation agreements. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value portion of liability contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward (delivery or nondelivery) contracts, and swaps entered into. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|