v3.26.1
Income Taxes - Schedule of Reconciliation of Provision for Income Taxes from Continuing Operations (2025 and 2024) (Details)
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Income Tax Disclosure [Abstract]      
Statutory federal income tax rate 21.00% 21.00% 21.00%
State and local income taxes 1.10% 0.60% 0.90%
Tax related to international activities 1.00% (2.80%) 2.30%
Cash surrender value of life insurance   (0.10%) (0.10%)
Foreign derived intangible income deduction (1.10%) (1.30%) (1.50%)
Research tax credit   (0.40%) (0.60%)
Share-based compensation   (1.20%) (1.20%)
Other   (1.80%) 0.10%
Effective income tax rate 20.00% 14.00% 20.90%