v3.26.1
Derivatives and Hedging Activities - Summary of the Gains (Losses) Related to Cash Flow Hedges (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in AOCI on Derivatives $ (1.8) $ (2.0) $ (9.6)
Amount of Loss Reclassified from AOCI into Income (2.4) (4.2) (11.0)
Commodity contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in AOCI on Derivatives (1.5) (2.3) (9.6)
Commodity contracts | Income Statement Location [Axis]: us-gaap:OtherCostOfOperatingRevenue      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Loss Reclassified from AOCI into Income (2.4) (4.2) (11.0)
Foreign exchange contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount of Gain (Loss) Recognized in AOCI on Derivatives $ (0.3) $ 0.3 $ 0.0