Metadata forms generated by view designer don't contain the correct styles.
Styles should be externalize so:
- there is no need to keep view designer and webui in sync
- if webui styles are updated, existing forms in designer don't need to be updated
Step to reproduce:
- Create a new document type
- Configure the missing layouts in designer
Designer generated styles: