/* 端、功能模块与接口使用递进缩进，默认仅展开当前阅读分支。 */
.nav-search { margin-bottom: 18px; }
.nav-section { margin: 3px 0; }
.nav-root { margin-bottom: 9px; }
.nav-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px;
  border-radius: 6px;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.6;
}
.nav-section-title::-webkit-details-marker { display: none; }
.nav-section-title > span { min-width: 0; overflow-wrap: anywhere; }
.nav-root > .nav-section-title { font-size: 13px; font-weight: 650; color: var(--ink); }
.nav-section-title:hover { background: var(--accent-soft); color: var(--ink); }
.nav-section-title:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nav-section.has-active > .nav-section-title { color: var(--accent); }
.nav-chevron { width: 13px; height: 13px; opacity: .8; }
.nav-section[open] > .nav-section-title .nav-chevron { transform: rotate(90deg); }
.nav-children { margin: 2px 0 8px 14px; padding-left: 7px; border-left: 1px solid var(--line); }
.nav-link { align-items: flex-start; gap: 7px; padding: 8px; margin: 2px 0; min-height: 38px; font-size: 12px; }
.nav-link-title { min-width: 0; overflow-wrap: anywhere; }
.nav-method { flex-shrink: 0; min-width: 29px; padding-top: 2px; }
.nav-icon { margin-top: 2px; }
.sidebar-note { margin-top: 24px; }
@media (max-width: 760px) {
  .nav-section-title, .nav-link { min-height: 44px; }
}
