v3.25.4
Comprehensive Income - Schedule of Changes in Each Component of Accumulated Other Comprehensive Loss (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2026
Jan. 31, 2025
Jan. 31, 2026
Jan. 31, 2025
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]        
Beginning balance $ 1,949,785 $ 1,782,865 $ 1,872,139 $ 1,737,325
Ending balance 2,007,965 1,797,277 2,007,965 1,797,277
Accumulated Other Comprehensive Loss, Net        
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]        
Beginning balance (86,960) (100,501) (86,243) (107,671)
Unrealized gains (loss) arising during the period 21,634 (21,334) 20,942 (14,017)
Reclassification of realized net (gains) losses to net income (11) 54 (36) (93)
Ending balance (65,337) (121,781) (65,337) (121,781)
Foreign Currency Translation        
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]        
Beginning balance (94,584) (108,781) (93,904) (116,004)
Unrealized gains (loss) arising during the period 21,630 (21,313) 20,950 (14,090)
Reclassification of realized net (gains) losses to net income 0 0 0 0
Ending balance (72,954) (130,094) (72,954) (130,094)
Deferred Compensation and Pension Plan        
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]        
Beginning balance 7,579 8,223 7,604 8,370
Unrealized gains (loss) arising during the period 0 0 0 0
Reclassification of realized net (gains) losses to net income (11) 56 (36) (91)
Ending balance 7,568 8,279 7,568 8,279
Tax effect on reclassification of realized net gains, tax benefit       (100)
Unrealized Gains on Marketable Securities        
AOCI Including Portion Attributable to Noncontrolling Interest, Net of Tax [Roll Forward]        
Beginning balance 45 57 57 (37)
Unrealized gains (loss) arising during the period 4 (21) (8) 73
Reclassification of realized net (gains) losses to net income 0 (2) 0 (2)
Ending balance $ 49 $ 34 $ 49 $ 34