v3.25.4
DEBT OBLIGATIONS - Senior Credit Facility (Details)
12 Months Ended
Aug. 23, 2022
Dec. 31, 2025
USD ($)
quarter
Dec. 31, 2024
USD ($)
Line of Credit Facility [Line Items]      
Borrowings under senior credit facility (including Term Loan)   $ 675,000,000 $ 735,445,000
Senior Credit Facility      
Line of Credit Facility [Line Items]      
Option to increase revolving commitments under the credit agreement   400,000,000.0  
Reduction in Quanta's funded indebtedness reduced by cash and cash equivalents in excess of this amount   $ 25,000,000.0  
Number of fiscal quarters applicable to interest coverage ratio | quarter   4  
Credit facility available for revolving loans or issuing new letters of credit   $ 2,420,000,000  
Senior Credit Facility | Minimum      
Line of Credit Facility [Line Items]      
Commitment fee 0.10%    
Senior Credit Facility | Maximum      
Line of Credit Facility [Line Items]      
Commitment fee 0.275%    
Senior Credit Facility | Line of Credit      
Line of Credit Facility [Line Items]      
Maximum consolidated leverage ratio   3.5  
Acquisition threshold for leverage ratio   $ 200,000,000.0  
Maximum consolidated leverage ratio permissible under credit agreement   4.0  
Number of fiscal quarters applicable to updated acquisition ratio | quarter   4  
Minimum consolidated interest coverage ratio   3.0  
Amount of availability under the credit agreement and/or cash and cash equivalents on hand that must be present to allow for cash payments of dividends and stock repurchases   $ 100,000,000.0  
Cross default provisions with debt instruments exceeding this amount   $ 400,000,000.0  
Senior Credit Facility | Term Loan      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate   1.125%  
Senior Credit Facility | Term Loan | Payments Due First Business Day Of Quarter In 2026      
Line of Credit Facility [Line Items]      
Quarterly principal payments   $ 18,800,000  
Senior Credit Facility | Term Loan | Line of Credit      
Line of Credit Facility [Line Items]      
Borrowings under senior credit facility (including Term Loan)   675,000,000.0  
Senior Credit Facility | Revolving Credit Facility | Line of Credit      
Line of Credit Facility [Line Items]      
Senior secured revolving credit facility   2,800,000,000  
Borrowings under senior credit facility (including Term Loan)   0  
Senior Credit Facility | Revolving Credit Facility | Line of Credit | Minimum | Secured Overnight Financing Rate (SOFR)      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 1.125%    
Senior Credit Facility | Revolving Credit Facility | Line of Credit | Minimum | Base Rate      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 0.125%    
Senior Credit Facility | Revolving Credit Facility | Line of Credit | Minimum | Alternative Currency Term Rate      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 1.125%    
Senior Credit Facility | Revolving Credit Facility | Line of Credit | Maximum | Secured Overnight Financing Rate (SOFR)      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 1.75%    
Senior Credit Facility | Revolving Credit Facility | Line of Credit | Maximum | Base Rate      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 0.75%    
Senior Credit Facility | Revolving Credit Facility | Line of Credit | Maximum | Alternative Currency Term Rate      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 1.75%    
Senior Credit Facility | Standby Letters of Credit | Minimum      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 1.125%    
Senior Credit Facility | Standby Letters of Credit | Maximum      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 1.75%    
Senior Credit Facility | Performance Letters of Credit | Minimum      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 0.675%    
Senior Credit Facility | Performance Letters of Credit | Maximum      
Line of Credit Facility [Line Items]      
Debt instrument, basis spread on variable rate 1.125%    
Senior Credit Facility | Letters of Credit      
Line of Credit Facility [Line Items]      
Letters of credit and bank guarantees under the credit facility   65,700,000  
Surety-Backed Letters Of Credit | Letters of Credit      
Line of Credit Facility [Line Items]      
Senior secured revolving credit facility   $ 500,000,000.0