XML 102 R79.htm IDEA: XBRL DOCUMENT
v3.22.4

Environmental (Details) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Mar. 14, 2022
Loss Contingencies [Line Items] |  |  |  |
Environmental remediation costs | $ 13.4 | $ 7.8 | $ 7.1 |
Environmental Remediation Expense, Statement of Income or Comprehensive Income [Extensible Enumeration] | Operating Costs and Expenses | Operating Costs and Expenses | Operating Costs and Expenses |
Accrued environmental liability | $ 192.3 | $ 117.2 |  |
Sinclair Merger |  |  |  |
Loss Contingencies [Line Items] |  |  |  |
Accrued environmental liabilities assumed in transaction |  |  |  | $ 72.2
Third party receivable associated with environmental liabilities assumed in transaction |  |  |  | $ 21.5
Other Noncurrent Liabilities |  |  |  |
Loss Contingencies [Line Items] |  |  |  |
Accrued environmental liability | $ 170.0 | $ 99.1 |  |

X
- Definition Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Current Assets, Receivable For Environmental Loss Contingencies + References No definition available. + Details
Name: | dino_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivableForEnvironmentalLossContingencies
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired And Liabilities Assumed, Current Liabilities, Accrual For Environmental Loss Contingencies + References No definition available. + Details
Name: | dino_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccrualForEnvironmentalLossContingencies
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Undiscounted amount of the accrual for environmental loss contingencies. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=6393242&loc=d3e13207-110859 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.Y.Q1) -URI https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751 + Details
Name: | us-gaap_AccrualForEnvironmentalLossContingenciesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The charge against earnings in the period for known or estimated future costs arising from requirements to perform environmental remediation activities. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 55 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=6571209&loc=d3e13644-110860 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 45 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=109237650&loc=d3e13064-110858 Reference 3: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 50 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=6393242&loc=d3e13296-110859 + Details
Name: | us-gaap_EnvironmentalRemediationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes environmental remediation expense. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 410 -SubTopic 30 -Section 50 -Paragraph 12 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=6393242&loc=d3e13296-110859 + Details
Name: | us-gaap_EnvironmentalRemediationExpenseStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=dino_SinclairMergerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |