v3.26.1
Nature of Business and Summary of Significant Accounting Policies (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Apr. 01, 2026
Jun. 30, 2023
Significant Accounting Policies [Line Items]          
Restricted cash $ 606,000        
Restricted cash, current 35,156 $ 8,897      
Restricted cash, non-current 571,222 714,816      
Estimated AMIC credit 39,000 41,000      
Selling, general and administrative 1,044,566 926,451 $ 854,001    
Goodwill $ 4,375,597 $ 4,471,084 $ 4,464,329    
Redeemable convertible preferred stock shares outstanding (in shares) 0 215,000 215,000   215,000
Convertible preferred stock, shares issued (in shares) 0 215,000      
Supplier financing program obligation $ 27,000 $ 18,000      
Supplier Finance Program, Obligation, Statement of Financial Position [Extensible Enumeration] Accounts payable Accounts payable      
Total supplier invoices paid $ 104,000 $ 76,000      
Amortization period of sales commissions expensed 1 year        
Lasers Reporting Unit          
Significant Accounting Policies [Line Items]          
Goodwill $ 3,100,000        
Reporting Unit, Percentage of Fair Value in Excess of Carrying Amount       8.00%  
Goodwill, Fair Value Adjustment, Measurement Input, Discount Rate       11.00%  
Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense          
Significant Accounting Policies [Line Items]          
Estimated AMIC credit $ 21,000        
Series B-1 Preferred Stock          
Significant Accounting Policies [Line Items]          
Preferred stock, accretion period 10 years        
Minimum          
Significant Accounting Policies [Line Items]          
Estimated useful lives of finite-lived intangible assets 1 year        
Maximum          
Significant Accounting Policies [Line Items]          
Estimated useful lives of finite-lived intangible assets 20 years        
Building, Building Improvements and Land Improvements | Minimum          
Significant Accounting Policies [Line Items]          
Estimated useful lives 10 years        
Building, Building Improvements and Land Improvements | Maximum          
Significant Accounting Policies [Line Items]          
Estimated useful lives 30 years        
Machinery and equipment | Minimum          
Significant Accounting Policies [Line Items]          
Estimated useful lives 3 years        
Machinery and equipment | Maximum          
Significant Accounting Policies [Line Items]          
Estimated useful lives 20 years