/* Specificity is kept low so that migrated styling (per-block rules) can override it. */
.ne-toc{box-sizing:border-box;overflow:hidden;border:1px solid #9da5ae;border-radius:3px;background:transparent}
.ne-toc__header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid #9da5ae;list-style:none;cursor:default}
summary.ne-toc__header{cursor:pointer}
summary.ne-toc__header::-webkit-details-marker{display:none}
.ne-toc__title{flex:1 1 auto;margin:0;padding:0;font-size:18px;font-weight:600;line-height:1.2;color:#54595f}
.ne-toc__chevron{flex:none;width:16px;height:16px;position:relative}
.ne-toc__chevron::before{content:"";position:absolute;left:3px;top:4px;width:7px;height:7px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(-45deg)}
.ne-toc__details:not([open]) .ne-toc__chevron::before{transform:rotate(135deg);top:1px}
summary.ne-toc__header:focus-visible{outline:2px solid var(--ne-accent,#2563eb);outline-offset:-2px}
.ne-toc__body{padding:20px;overflow:auto}
.ne-toc__list{margin:0;padding:0;list-style:none}
.ne-toc__list .ne-toc__list{margin:.5em 0 0 1em}
.ne-toc__item{margin:0 0 .5em}
.ne-toc__link{color:#7a7a7a;text-decoration:none}
.ne-toc__link:hover{text-decoration:underline}
.ne-toc__link:focus-visible{outline:2px solid var(--ne-accent,#2563eb);outline-offset:2px;border-radius:2px}
:where(.ne-toc) .ne-toc__link.is-active{color:#333}
.ne-toc__item>.ne-toc__link::before{display:inline-block;margin-right:8px;color:currentColor}
.ne-toc--bullets .ne-toc__item>.ne-toc__link::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;vertical-align:baseline}
.ne-toc--numbers .ne-toc__list{counter-reset:ne-toc-n}
.ne-toc--numbers .ne-toc__item{counter-increment:ne-toc-n}
.ne-toc--numbers .ne-toc__body>.ne-toc__list>.ne-toc__item>.ne-toc__link::before{content:counter(ne-toc-n) "."}
.ne-toc--numbers .ne-toc__body>.ne-toc__list>.ne-toc__item .ne-toc__list>.ne-toc__item>.ne-toc__link::before{content:counters(ne-toc-n,".") "."}
@media (prefers-reduced-motion:no-preference){html:has(.ne-toc){scroll-behavior:smooth}}
.ne-toc__details:not([open])>.ne-toc__body{display:none}
