Fair value measurements - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Additional Information) (Detail) |
6 Months Ended |
|---|---|
Apr. 30, 2026 | |
| Fair Value Disclosures [Abstract] | |
| Executive officers and other highly compensated employees salary and annual cash incentive compensation deferrals percentage, maximum | 100.00% |
| Executive officers share-based long-term incentive compensation deferrals percentage, maximum | 90.00% |