XML 83 R65.htm IDEA: XBRL DOCUMENT v3.23.3
INVENTORY (Details) - USD ($)
$ in Thousands
Sep. 30, 2023
Dec. 31, 2022
Inventory [Line Items]    
Inventory $ 222,685 $ 135,473
Crude oil    
Inventory [Line Items]    
Inventory 75,303 59,131
Renewable feedstocks    
Inventory [Line Items]    
Inventory 41,316 0
Refined products    
Inventory [Line Items]    
Inventory 104,042 74,311
Re-refined products    
Inventory [Line Items]    
Inventory 2,024 2,031
Total hydrocarbon inventories    
Inventory [Line Items]    
Inventory $ 222,685 $ 135,473