2019 through 2028 shall be available for assistance to workers and communities reliant on industries that primarily produce taxable carbon substances or carbon-intensive goods, as determined by the Secretary in consultation with the Secretary of Labor, including for— (A) worker retraining, pension benefits, and health benefits, (B) abandoned mine reclamation, (C) development of carbon capture, utilization, and storage technologies, and (D) other assistance the Secretary determines appropriate. (3) Third, for calendar year 2019 and each calendar year thereafter, 12.5 percent of the amount in the Trust Fund equivalent to the taxes received in the Treasury under section 4691 shall be available for the Energy Refund Program. (4) Fourth, the amount remaining after the application of paragraphs (1), (2), and (3) shall be available for paying the consumer tax rebate. (d) Definitions For purposes of this section— (1) The term highway and transit shortfall amount means the amount determined by the Secretary to be equal to the excess of— (A) the sum of the obligations of the United States specified in section 9503(c)(1) plus the amounts to be expended under section 9503(e)(3), over (B) the amounts available in the Highway Trust Fund to meet those obligations and expenditures (determined without regard to this paragraph or section 9503(f)(5)). (2) The terms taxable carbon substance and carbon-intensive goods have the meanings given such terms by section 4694. (e) Qualifications based selection for architectural and engineering contracts (1) In general Subject to paragraph (2), as a condition on the receipt of funds pursuant to this section of an amount greater than $1,000,000, a non-Federal sponsor that receives the funds shall require that each contract and subcontract for program management, construction management, planning studies, feasibility studies, architectural services, preliminary engineering, design, engineering, surveying, mapping, and related services entered into using any of such funds be awarded in the