Handle `@` blocks when importing style sheets (see #5250)