.sftoc {
    font-size: 14px;
    color: #1f2937;
}

.sftoc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #e5e5e5;
    border-bottom: 1px solid #0b74c8;
    color: #1f2937;
    font-weight: 700;
}

.sftoc-list {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    background: #e5e5e5;
    text-align: left;
}

.sftoc-list li {
    margin-bottom: 6px;
}

.sftoc-list li.level-3 { margin-left: 12px; }
.sftoc-list li.level-4 { margin-left: 24px; }

.sftoc-list li.level-2 a {
    font-weight: 700;
}

.sftoc-list li.level-3 a,
.sftoc-list li.level-4 a {
    font-weight: 400;
}

.sftoc-list a {
    color: #1f2937;
    text-decoration: none;
}

.sftoc-list a:hover,
.sftoc-list a.active {
    color: #0b74c8;
}

#sftoc-inline {
    margin: 24px 0;
    color: #1f2937;
}

#sftoc-inline .sftoc-inline-box {
    background: #e5e5e5;
    border: 1px solid #0b74c8;
    border-radius: 8px;
    overflow: hidden;
}

#sftoc-inline .sftoc-list {
    max-height: none;
}

#sftoc-sidebar {
    position: fixed;
    left: 0;
    top: 225px;
    z-index: 9999;
    align-items: flex-start;
}

#sftoc-sidebar.is-hidden {
    display: none;
}

.sftoc-icon {
    width: 100px;
    height: 50px;
    background: #e5e5e5;
    color: #1f2937;
    border: 1px solid #0b74c8;
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    font-size: 18px;
    font-weight: 700;
}

#sftoc-sidebar .sftoc-panel {
    width: 260px;
    background: #e5e5e5;
    border: 1px solid #0b74c8;
    border-left: none;
    border-radius: 0 8px 8px 0;
    display: none;
}

#sftoc-sidebar .sftoc-list {
    max-height: 420px;
    overflow-y: auto;
}

#sftoc-toggle {
    background: none;
    border: none;
    color: #0b74c8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
       #sftoc-inline {
        margin: 20px 0;
    }
}
