.help-navigation-tree {
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    padding: 15px;
    max-height: 600px;
    overflow-y: auto;
}

.help-tree-root {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-tree-item {
    margin: 6px 0;
    position: relative;
}

.help-children {
    list-style: none;
    padding-left: 15px;
    display: none;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.help-children.expanded {
    display: block;
}

.toggle-button {
    width: 22px;
    height: 22px;
    display: inline-block;
    position: absolute;
    left: -15px;
    top: 2px;
    cursor: pointer;
    color: #666;
}

.toggle-button:before {
    content: '+';
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 22px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.help-tree-item.expanded > .toggle-button:before {
    content: '−';
}

.help-link {
    text-decoration: none;
    color: #444;
    display: block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 13px;
    line-height: 1.4;
}

.help-link:hover {
    color: #0073aa;
    background-color: rgba(0, 115, 170, 0.05);
}

.active > .help-link,
.parent-active > .help-link {
    font-weight: 600;
}

.active > .help-link {
    color: #0073aa;
    background-color: rgba(0, 115, 170, 0.1);
    padding: 4px 8px;
    margin: 0;
    border-radius: 4px;
    position: relative;
}

.help-tree-controls {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.help-tree-control-btn {
    padding: 2px 0;
    color: #0073aa;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    position: relative;
}

.help-tree-control-btn:hover {
    color: #00a0d2;
}

.help-tree-control-btn:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: currentColor;
    left: 0;
    bottom: -1px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.help-tree-control-btn:hover:after {
    transform: scaleX(1);
}

/* 美化滚动条（针对Webkit浏览器） */
.help-navigation-tree::-webkit-scrollbar {
    width: 8px;
}

.help-navigation-tree::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.help-navigation-tree::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.help-navigation-tree::-webkit-scrollbar-thumb:hover {
    background: #999;
} 