The import is now inserted after the directive prologue (leading comments + "use client"/'use server' lines) instead of at offset 0, with a guard that throws if the output's directives differ from the input's. Leftover detection scans whole JSX opening tags (brace/string aware) instead of single lines, so multi-line dynamic spans are reported at their <span line and the CLI exits 2; multi-line spans with a static className (including {`...`} without ${}) are normalised and converted.