Sold my rental property in 2021, how do I handle the capital improvements over the years shown on Form 4562?

When I inputted the sale of my rental property in Premiere, the depreciation recapture and capital gains made sense to me. 

1-Where do I enter the property survey and title insurance costs and on which form when I bought the property in 2003 to offset the cost basis?  

2-What happens to Form 4562 which is a list of depreciated items for the house and property during my ownership?   Do I have to go through those items one by one (for example: bathtub, kitchen stove, heat pump) and dispose of them on the rental property sale date?   Or, does Form 4562 and those items go away on their own with the reported sale of the rental property on the 2021 tax filing since it applies directly to the property?   Thank you!!!