Space in the selectors need to be replaced by an underscore character in Tailwind classes. For example if you want to select all descendants, not just the direct children then you can use this:
<div class="[&_*]:p-4">...</div>
<div class="[&_p]:mt-0 ">...</div>