XML 56 R45.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Inventories - Schedule of Inventories (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Dec. 31, 2023
--- | --- | ---
Inventory Disclosure [Abstract] |  |
Crude oil | $ 829,845 | $ 858,411
Other raw materials and unfinished products | 736,298 | 683,066
Finished products | 1,426,590 | 1,435,817
Lower of cost or market reserve | (109,077) | (331,570)
Process chemicals | 48,713 | 50,917
Repair and maintenance supplies and other | 227,789 | 225,190
Total inventory | $ 3,160,158 | $ 2,921,831

X
- Definition Energy Related Inventory, Finished Products + References No definition available. + Details
Name: | dino_EnergyRelatedInventoryFinishedProducts
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Energy Related Inventory, Other Raw Materials And Unfinished Products + References No definition available. + Details
Name: | dino_EnergyRelatedInventoryOtherRawMaterialsAndUnfinishedProducts
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The aggregate carrying amount as of the balance sheet date of unrefined petroleum and the liquid hydrocarbon components recovered from natural gas. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_CrudeOilAndNaturalGasLiquids
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of solvents or substances produced by or used in a process to change the shape, form or composition of some related matter. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_EnergyRelatedInventoryChemicals
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483467/210-10-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_InventoryNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of valuation reserve for inventory. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.BB) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480581/330-10-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_InventoryValuationReserves
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before valuation and LIFO reserves of other inventory expected to be sold, or consumed within one year or operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_OtherInventory
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant