v3.26.1
BUSINESS COMBINATIONS - Schedule of Business Combination, Pro Forma Information (Details) - Hydradyne, LLC - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Business Combination [Line Items]    
Sales $ 4,692,742 $ 4,748,187
Net income $ 397,254 $ 387,766
Diluted net income per share (in dollars per share) $ 10.23 $ 9.88