This is a bug in the LESS editor in Web Essentials. To get around it, always put your @import directives at the top of the document.
The issue was triggered because you had: html{color:red;} before the @import directive.
This issue is going to be fixed in an upcoming release of Web Essentials. No date yet, though.