This method is simpler and more consistent.
First style all <ol> and then get the style from the child <ol>:
<ol>
ol{ /* your style */ } /* unset all style in child */ ol ol{ all:unset; }