v3.26.1
Income Taxes (Effective Tax Rate Differs from the Statutory Tax Rates) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Effective income tax rate reconciliation, Amount      
Income tax at statutory rate $ 72,475 $ 62,688 $ 34,427
State and local income taxes, net of federal income tax effect   10,263 4,767
Effective Income Tax Rate Reconciliation, State and Local Jurisdiction, Contribution Greater than 50 Percent, Tax Effect [Extensible Enumeration] country:CA, country:IL, stpr:FL, stpr:MD, stpr:NJ    
Other   (3,353) 517
Foreign tax effects:      
Statutory tax rate differential   (10,999) (11,419)
Effect of cross-border tax laws:      
Effect of cross-border tax laws $ 1,924    
Tax credits (967)    
Change in valuation allowance 258 0 (621)
Limitations on executive compensation 6,489    
Stock-based compensation (3,775)    
Other 1,244    
Changes in unrecognized tax benefits (4,247)    
Provision for income taxes $ 77,744 $ 65,837 $ 26,224
Tax Jurisdiction of Domicile [Extensible Enumeration] United states United states United states
Effective income tax rate reconciliation, Percent      
Income tax at statutory rate 21.00% 21.00% 21.00%
State and local income taxes, net of federal income tax effect   3.40% 2.90%
Other   (1.10%) 0.30%
Foreign tax effects:      
Statutory tax rate differential   (3.70%) (7.00%)
Effect of cross-border tax laws:      
Foreign tax provisions under GILTI   2.00% 3.00%
Effect of cross-border tax laws 0.60%    
Tax credits (0.30%)    
Change in valuation allowance 0.10% 0.00% (0.40%)
Limitations on executive compensation 1.90%    
Stock-based compensation (1.10%)    
Other 0.40%    
Changes in unrecognized tax benefits (1.20%)    
Effective tax rates from continuing operations 22.50% 22.10% 16.00%
Domestic      
Effective income tax rate reconciliation, Amount      
State and local income taxes, net of federal income tax effect $ 11,745    
Other $ 1,268    
Effective income tax rate reconciliation, Percent      
State and local income taxes, net of federal income tax effect 3.40%    
Other 0.40%    
Barbados      
Effective income tax rate reconciliation, Amount      
State and local income taxes, net of federal income tax effect $ (4,408)    
Qualified domestic minimum top-up tax 7,449    
Foreign tax effects:      
Statutory tax rate differential $ (6,204)    
Effective income tax rate reconciliation, Percent      
State and local income taxes, net of federal income tax effect (1.30%)    
Qualified domestic minimum top-up tax 2.20%    
Foreign tax effects:      
Statutory tax rate differential (1.80%)    
St Kitts      
Effective income tax rate reconciliation, Amount      
State and local income taxes, net of federal income tax effect $ (7,635)    
Foreign tax effects:      
Statutory tax rate differential $ 1,222    
Effective income tax rate reconciliation, Percent      
State and local income taxes, net of federal income tax effect (2.20%)    
Foreign tax effects:      
Statutory tax rate differential 0.40%    
Other foreign jurisdictions      
Effective income tax rate reconciliation, Amount      
Other $ 906    
Effective income tax rate reconciliation, Percent      
Other 0.30%