Vaadin not applying CSS styles after upgrading 13->14


I just updgraded my Vaadin app, which is based in the Business App starter, from 13 to 14.

After running the automatic upgrade tool and fixing some bugs, I can’t get the right styling.

The main view annotations are like this (based on the current Vaadin 14 Business App starter):

@CssImport(value = "./styles/components/charts.css", themeFor = "vaadin-chart", include = "vaadin-chart-default-theme")
@CssImport(value = "./styles/components/floating-action-button.css", themeFor = "vaadin-button")
@CssImport(value = "./styles/components/grid.css", themeFor = "vaadin-grid")
@CssImport(value = "./styles/styles.css", include = "lumo-badge")
@Viewport("width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes")

And it catches some styles, but not all, as you can see in the screenshot attached.

I really don’t know how to solve this, any help would be much appreciated.