v3.26.1
Pension and other postretirement plans - Additional Information (Details) - UNITED STATES - Pension Plans - USD ($)
3 Months Ended 6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Defined Benefit Plan Disclosure [Line Items]        
Defined Benefit Plan, Annuitization $ 104,148,000      
Settlement loss $ (24,049,000) $ 0 $ (24,049,000) $ 0
Defined Benefit Plan, Number of Participants as part of the Annuitization 1,000