.toc {
    background-color: #f9fafb;
    border-left: 4px solid #8DCF2F;
    padding: 24px;
    border-radius: 12px;
    margin: 32px 0;
}
.toc h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: left;
    padding-top: 0;
}
.toc__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.toc__item {
    margin-bottom: 12px;
}
.toc__link-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.toc__link {
    color: #374151;
    text-decoration: none !important;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    flex-grow: 1;
}
.toc__link:hover {
    color: #8DCF2F;
}
.toc__dot {
    width: 6px;
    height: 6px;
    background-color: #8DCF2F;
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s;
    display: inline-block;
}
.toc__link:hover .toc__dot {
    opacity: 1;
    transform: translateX(0);
}
.toc__toggle {
    color: #9ca3af;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    padding: 0;
}
.toc__toggle:hover {
    color: #8DCF2F;
    background: #ffffff;
}
.toc__toggle i {
    transition: transform 0.2s;
    font-size: 10px;
}
.toc__toggle.expanded i {
    transform: rotate(90deg);
}
.toc__sublist {
    list-style: none;
    padding-left: 16px;
    margin-left: 24px;
    margin-top: 12px;
    border-left: 2px solid #f3f4f6;
    display: none;
}
.toc__sublist.visible {
    display: block;
}
.toc__subitem {
    margin-bottom: 8px;
}
.toc__sublink {
    color: #6b7280;
    font-size: 14px;
    text-decoration: none !important;
    transition: color 0.2s;
    display: block;
    padding: 4px 0;
}
.toc__sublink:hover {
    color: #8DCF2F;
}
