Welcome to the forum from Oregon.
Was there any previous paperwork provided for repairs and maintenance or just a CarFax?
"I spent $1000 on detailing it, refinishing the wheels, matching front window tint, and fixing the tear in the seat and wear on console. It looks like a $30,000 to $40,000 truck".
IMO, Any money spent for looks should take a back seat till the mechanicals are all addressed. You have to expect that a used truck with 200K+ miles will need some work.
MY 2005 Tahoe Z71 is "dated" but mechanically is a work horse.
@Doubeleive and
@RoadTrip are giving you good advice about expectations and known needs.