/* 每篇文档顶部的「本文目录」（MyST ```{contents} 渲染成 nav.contents） */
nav.contents,
div.contents {
    background: #f8f9fb;
    border: 1px solid #e3e6ec;
    border-left: 4px solid #6c8ebf;
    border-radius: 4px;
    padding: 0.5em 1.2em;
    margin: 1em 0 1.8em;
}

nav.contents .topic-title,
div.contents .topic-title {
    margin: 0.3em 0 0.5em;
    font-weight: 700;
}

nav.contents ul,
div.contents ul {
    margin-bottom: 0.4em;
}

nav.contents a,
div.contents a {
    text-decoration: none;
}
