/* Kole UI AnchorNav 样式 — 对齐 组件7.txt AnchorNav：右侧目录、滚动高亮、层级嵌套 */

.kole-anchor { font-family: var(--font-family, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif); width: 160px; }
.kole-anchor.fixed { position: fixed; right: 24px; top: 80px; }

.kole-anchor-item {
  display: block; padding: 6px 12px; font-size: 13px; color: var(--kole-color-text-secondary); cursor: pointer;
  border-inline-start: 2px solid var(--kole-color-border); line-height: 1.4; transition: color .15s, border-color .15s; background: none; border-top: none; border-inline-end: none; border-bottom: none; text-align: start; width: 100%;
}
.kole-anchor-item:hover { color: var(--kole-color-brand); }
.kole-anchor-item.is-active { color: var(--kole-color-brand); border-left-color: var(--kole-color-brand); font-weight: 500; }

.kole-anchor-sub { padding-inline-start: 8px; }
.kole-anchor-sub .kole-anchor-item { border-inline-start: none; padding-inline-start: 20px; }
.kole-anchor-sub .kole-anchor-item.is-active { border-inline-start: 2px solid var(--kole-color-brand); }
