Modify inner class in scoped component

I need to modify an inner class in a scoped component. Inside stencil it works as expected, but from an angular application the styles are not being applied.

My componend was a shadow one with part to make it customizable from the app, but since this change I’m not able to replicate the same behaviour as we do with parts