/* Revert-layer is needed to support case-sensitivity. See
https://html.spec.whatwg.org/multipage/semantics-other.html#case-sensitivity-of-selectors */
ol,
ol ol,
ol ol ol,
ol ol ol ol {
  list-style-type: revert-layer;
}
/* Declare format for nested ordered lists */
/* The `not` declarations are necessary to allow overriding defaults (#471) */
ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li {
  list-style-type: decimal;
}
ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li {
  list-style-type: upper-alpha;
}
ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li {
  list-style-type: upper-roman;
}
ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li {
  list-style-type: decimal;
}
ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li {
  list-style-type: lower-alpha;
}
ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li > ol:not([type=a], [type=A], [type=i], [type=I], [type="1"]) > li {
  list-style-type: lower-roman;
}
