Safer DOM clearing that avoids innerHTML for content sanitization. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>