v3.26.1
Restructuring and Other Charges, Net - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Restructuring and Related Costs and Reserve [Line Items]      
Restructuring and related cost, expected cost $ 20,000    
Restructuring and related cost, incurred cost 11,400 $ 13,300 $ 12,400
Operating costs and expenses 100 200 400
Restructuring charges (1,000)   1,100
Gain (loss) on sale of properties     600
Accrued restructuring (Note 16) 7,524 11,044  
Restructuring reserve, noncurrent 2,000 2,400  
Metal Cutting      
Restructuring and Related Costs and Reserve [Line Items]      
Restructuring and related cost, incurred cost 9,700 10,400 8,500
Restructuring charges 8,909 11,813  
Infrastructure      
Restructuring and Related Costs and Reserve [Line Items]      
Restructuring and related cost, incurred cost 1,700 2,800 $ 3,900
FY25 Restructuring Actions      
Restructuring and Related Costs and Reserve [Line Items]      
Restructuring and related cost, cost incurred to date 23,900    
FY25 Restructuring Actions | Metal Cutting      
Restructuring and Related Costs and Reserve [Line Items]      
Restructuring and related cost, cost incurred to date 19,400    
FY25 Restructuring Actions | Infrastructure      
Restructuring and Related Costs and Reserve [Line Items]      
Restructuring and related cost, cost incurred to date 4,500    
Income Statement Location [Axis]: us-gaap:CostOfGoodsAndServicesSold      
Restructuring and Related Costs and Reserve [Line Items]      
Restructuring related charges $ 2,400 $ 1,300