Chemical Resistant Yarn with Hierarchical Core–Shell Structure for Safety Monitoring and Tunable Thermal Management in High-Risk Environments