Rewrite with element-based DOM extraction (replacing TreeWalker text node approach), proper CSS-to-PPTX attribute mapping, robust CLI flag parsing (-o/-p), auto port selection, 30s timeout guard, and graceful cleanup. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>