/* Lists authored in the page editor; navigation and catalog lists are outside this scope. */
.km-page-content ul,
.km-page-content ol {
    margin-block: 1em;
    padding-inline-start: 1.75em;
    list-style-position: outside;
}
.km-page-content ul { list-style-type: disc; }
.km-page-content ol { list-style-type: decimal; }
.km-page-content :where(ul, ol) ul { list-style-type: circle; }
.km-page-content :where(ul, ol) :where(ul, ol) ul { list-style-type: square; }
.km-page-content :where(ul, ol) :where(ul, ol) { margin-block: .35em; }
.km-page-content li {
    display: list-item;
    margin-block: .25em;
    padding: 0;
}
/* Preserve explicit list types chosen by the author, including legacy editor HTML. */
.km-page-content ol[type="1"] { list-style-type: decimal; }
.km-page-content ol[type="a"] { list-style-type: lower-alpha; }
.km-page-content ol[type="A"] { list-style-type: upper-alpha; }
.km-page-content ol[type="i"] { list-style-type: lower-roman; }
.km-page-content ol[type="I"] { list-style-type: upper-roman; }
.km-page-content ul[type="disc"] { list-style-type: disc; }
.km-page-content ul[type="circle"] { list-style-type: circle; }
.km-page-content ul[type="square"] { list-style-type: square; }
