XML 78 R60.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Acquisitions - Unaudited Supplemental Pro Forma Results of Operations (Details) - USD ($) $ in Thousands | 7 Months Ended | 12 Months Ended
--- | --- | ---
Jul. 16, 2024 | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Business Combination, Asset Acquisition, and Joint Venture Formation [Abstract] |  |  |  |
Revenues |  | $ 24,867,769 | $ 23,403,024 | $ 17,702,495
Net income attributable to common stock |  | $ 527,522 | $ 638,973 | $ 486,342
CEI |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Acquisition-related costs | $ 453,800 |  |  |
Acquisition-related costs, net of tax | $ 335,800 |  |  |

X
- Definition Business Acquisitions Pro Forma, Net Income (Loss) Attributable To Common Stock, Net Of Tax + References No definition available. + Details
Name: | pwr_BusinessAcquisitionsProFormaNetIncomeLossAttributableToCommonStockNetOfTax
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Combination, Acquisition Related Costs, Net of Tax + References No definition available. + Details
Name: | pwr_BusinessCombinationAcquisitionRelatedCostsNetOfTax
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 23 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-23 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_BusinessCombinationAndAssetAcquisitionAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=pwr_CupertinoElectricInc.CEIMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |