core: implement virtual resources
template: inline `<b:style>`