XML 57 R46.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Inventories - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2024
Jun. 30, 2023
Dec. 31, 2023
Inventory [Line Items]          
Inventory valuation reserves $ 109,077   $ 109,077   $ 331,570
Refining          
Inventory [Line Items]          
Inventory valuation reserves         220,600
Increase (decrease) to cost of sales   $ 26,800 (220,600) $ 26,800  
Renewables          
Inventory [Line Items]          
Inventory valuation reserves 109,100   109,100   $ 111,000
Increase (decrease) to cost of sales $ (3,100) $ (34,700) $ (1,900) $ 12,900