XML 112 R89.htm IDEA: XBRL DOCUMENT
v3.22.4

Income Taxes - Deferred Tax Assets And Liabilities (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets | $ 226,434 | $ 251,996
Liabilities | (1,488,599) | (1,089,397)
Valuation allowance | (3,691) | (3,165)
Total | (1,262,165) | (837,401)
Properties, plants, equipment and intangibles (due primarily to tax in excess of book depreciation) |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Liabilities | (1,032,048) | (741,970)
Lease obligation |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets | 129,727 | 131,567
Accrued employee benefits |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets | 17,665 | 17,322
Accrued post-retirement benefits |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets | 9,951 | 10,897
Accrued environmental costs |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets | 37,868 | 26,999
Hedging instruments |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets | 3,260 |
Liabilities |  | (652)
Inventory differences |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Liabilities | (230,112) | (148,539)
Deferred turnaround costs |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Liabilities | (88,574) | (100,585)
Net operating loss and tax credit carryforwards |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets | 27,963 | 63,967
HEP |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Liabilities | (134,160) | (94,486)
Other |  |
Deferred Income Taxes Assets Liabilities [Line Items] |  |
Assets |  | $ 1,244
Liabilities | $ (14) |

X
- Definition Deferred Income Taxes Assets Liabilities [Line Items] + References No definition available. + Details
Name: | dino_DeferredIncomeTaxesAssetsLiabilitiesLineItems
Namespace Prefix: | dino_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred tax liability attributable to taxable temporary differences. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(26)(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(15)(b)(2)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(15)(2)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(26)(a)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DeferredIncomeTaxLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=us-gaap_PropertyPlantAndEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=dino_LeaseObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=dino_AccruedEmployeeBenefitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=us-gaap_PostretirementBenefitCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=us-gaap_ReserveForEnvironmentalCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=dino_DeferredTaxLiabilityDerivativesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=us-gaap_InventoryValuationReserveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=dino_DeferredTurnaroundCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=us-gaap_ValuationAllowanceOperatingLossCarryforwardsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowanceByDeferredTaxAssetAxis=dino_OtherDeferredTaxMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |