v3.26.1
Description of Business (Details)
$ in Millions
1 Months Ended 3 Months Ended 6 Months Ended
Jul. 01, 2026
USD ($)
shares
Apr. 10, 2026
shares
Apr. 01, 2026
USD ($)
shares
Apr. 29, 2025
USD ($)
shares
Aug. 14, 2026
shares
Jun. 30, 2026
USD ($)
state
province
shares
Jul. 15, 2026
shares
Jun. 30, 2026
USD ($)
state
province
shares
Jun. 17, 2026
Dec. 31, 2025
Capital Unit [Line Items]                    
Annual revenue target within the next ten years           $ 50,000   $ 50,000    
Aggregate acquisition consideration     $ 2,222              
Secured Debt | Senior Secured Notes Due 2031                    
Capital Unit [Line Items]                    
Interest rate                 6.50%  
Secured Debt | Senior Secured Notes Due 2034                    
Capital Unit [Line Items]                    
Interest rate                 6.875% 6.875%
Series C Preferred Stock                    
Capital Unit [Line Items]                    
Shares issued in transaction (in shares) | shares     200,000              
Proceeds from issuance of preferred shares     $ 2,000              
Issuance of Series C Preferred Stock, net of issuance costs (in shares) | shares           200,000   200,000    
Issuance of Series C Preferred Stock, net of issuance costs           $ 1,993   $ 1,993    
Subsequent Event | Line of Credit | Secured Debt | Incremental Term Loan Facility                    
Capital Unit [Line Items]                    
Gross proceeds $ 3,000                  
Subsequent Event | Series C Preferred Stock                    
Capital Unit [Line Items]                    
Shares issued in transaction (in shares) | shares 100,000       100,000   300,000      
Proceeds from issuance of preferred shares $ 1,000                  
UNITED STATES                    
Capital Unit [Line Items]                    
Number of states in which entity operates | state           50   50    
CANADA                    
Capital Unit [Line Items]                    
Number of provinces in which entity operates | province           7   7    
Beacon Roofing Supply, Inc.                    
Capital Unit [Line Items]                    
Aggregate acquisition consideration       $ 10,644            
Business combination, consideration transferred, number of shares issued (in shares) | shares       62,200,000            
Aggregate acquisition consideration       $ 10,788            
Kodiak Building Partners                    
Capital Unit [Line Items]                    
Aggregate acquisition consideration     $ 2,220              
Business combination, consideration transferred, number of shares issued (in shares) | shares   13,300,000 13,300,000              
Aggregate acquisition consideration     $ 2,238              
Kodiak Building Partners | Series C Preferred Stock                    
Capital Unit [Line Items]                    
Shares issued in transaction (in shares) | shares     200,000              
Proceeds from issuance of preferred shares     $ 2,000              
TopBuild Corp. Acquisition | Subsequent Event                    
Capital Unit [Line Items]                    
Business combination, consideration transferred, number of shares issued (in shares) | shares 312,000,000.0                  
Aggregate acquisition consideration $ 15,000                  
TopBuild Corp. Acquisition | Subsequent Event | Secured Debt | Senior Secured Notes Due 2031                    
Capital Unit [Line Items]                    
Interest rate 6.50%                  
TopBuild Corp. Acquisition | Subsequent Event | Secured Debt | Senior Secured Notes Due 2034                    
Capital Unit [Line Items]                    
Interest rate 6.875%                  
TopBuild Corp. Acquisition | Subsequent Event | Line of Credit | Secured Debt                    
Capital Unit [Line Items]                    
Released from escrow $ 3,000                  
TopBuild Corp. Acquisition | Subsequent Event | Series C Preferred Stock                    
Capital Unit [Line Items]                    
Issuance of Series C Preferred Stock, net of issuance costs (in shares) | shares 100,000                  
Issuance of Series C Preferred Stock, net of issuance costs $ 1,000