/* Only direct items receive this list's marker; nested lists keep their own settings. */
.be-list-markers>li,li.be-list-markers{list-style-type:none!important;list-style-image:none!important;position:relative;}
.be-list-markers>li::marker,li.be-list-markers::marker{content:""!important;}
.be-list-markers>li::before,li.be-list-markers::before{content:var(--be-list-marker);color:var(--be-list-marker-color,currentColor);font-family:var(--be-list-marker-font,inherit);font-weight:var(--be-list-marker-weight,inherit);position:absolute;inset-inline-end:calc(100% + .45em);top:0;white-space:nowrap;line-height:inherit;pointer-events:none;}

/* Color affects the marker only, including native markers when no custom icon is set. */
[data-be-list-marker-color]>li::marker,li[data-be-list-marker-color]::marker{color:var(--be-list-marker-color,currentColor);}

/* Use the native list-item counter to preserve start, reversed and item values. */
ol[data-be-list-number-style]>li:not(.be-list-markers){list-style-type:none!important;list-style-image:none!important;position:relative;}
ol[data-be-list-number-style]>li:not(.be-list-markers)::marker{content:""!important;}
ol[data-be-list-number-style]>li:not(.be-list-markers)::before{content:counter(list-item);color:var(--be-list-marker-color,currentColor);font-family:inherit;font-weight:600;font-size:1em;position:absolute;inset-inline-end:calc(100% + .45em);top:0;white-space:nowrap;line-height:inherit;pointer-events:none;box-sizing:border-box;}
ol[data-be-list-number-style=circle],ol[data-be-list-number-style=rounded]{padding-inline-start:2.5em;}
ol:is([data-be-list-number-style=circle],[data-be-list-number-style=rounded])>li:not(.be-list-markers)::before{background-color:var(--be-list-number-bg,#eeeeee);min-width:1.65em;height:1.65em;line-height:1.65em;text-align:center;padding:0 .2em;top:calc((1lh - 1.65em)/2);}
ol[data-be-list-number-style=circle]>li:not(.be-list-markers)::before{border-radius:50%;}
ol[data-be-list-number-style=rounded]>li:not(.be-list-markers)::before{border-radius:.3em;}
ol[data-be-list-number-style=zero]>li:not(.be-list-markers)::before{content:counter(list-item,decimal-leading-zero) ".";}
