ol {
    counter-reset: item !important;
}

ol>li {
    counter-increment: item !important;
    list-style: none !important;
}

ol>li::before {
    content: counters(item, ".") " " !important;
}

ol>li>ol {
    counter-reset: subitem -1 !important;
}

ol>li>ol>li {
    counter-increment: subitem !important;
    list-style: none !important;
}

ol>li>ol>li::before {
    content: counters(item, ".") "." counters(subitem, ".") " " !important;
}