The Supreme Court struck down some of President Trump’s sweeping tariffs, but duties remain on raw building materials.