Save and restore styles for the tech element