.super-split-toc {
    background: #fffdeb; /* Light creamy yellow */
    border: 1px solid #f0e68c;
    border-radius: 12px;
    margin: 30px 0;
    padding: 0; /* Remove padding to handle header background */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sst-header {
    background: #fdf5b8; /* Slightly darker creamy yellow for header */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #f0e68c;
}

.sst-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #5d4037; /* Warm dark brown for text */
    letter-spacing: -0.02em;
}

.sst-toggle {
    background: #fff;
    border: 1px solid #f0e68c;
    border-radius: 50%;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sst-toggle:hover {
    background: #f0e68c;
    transform: rotate(90deg);
}

.sst-toggle span {
    display: block;
    width: 14px;
    height: 2px;
    background: #5d4037;
    position: relative;
}

.sst-toggle span::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: #5d4037;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.super-split-toc.collapsed .sst-toggle span::before {
    transform: rotate(0deg);
}

.super-split-toc.collapsed .sst-list {
    display: none;
}

.sst-list {
    margin: 0;
    padding: 25px;
    list-style-type: decimal;
    list-style-position: inside;
    column-count: 2;
    column-gap: 50px;
    column-rule: 1px dashed #f0e68c;
}

.sst-item {
    break-inside: avoid-column;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 600;
}

.sst-item a {
    text-decoration: none;
    color: #5d4037;
    transition: color 0.2s ease;
}

.sst-item a:hover {
    color: #ff9800; /* Professional accent color */
    text-decoration: underline;
}

/* Sub-list styling (Bullets) */
.sst-sub-list {
    margin: 8px 0 8px 25px;
    padding: 0;
    list-style-type: disc; /* Bullet points for sub-items */
    font-weight: 400; /* Lighter weight for sub-items */
}

.sst-sub-list .sst-item {
    margin-bottom: 6px;
    font-size: 0.95rem;
    display: list-item; /* Ensure it behaves as a list item for bullets */
    list-style-type: disc;
}

/* Level specifics */
.sst-level-h2 {
    color: #5d4037;
    border-bottom: 1px solid transparent;
}

.sst-level-h3 {
    color: #795548;
}

/* Mobile Responsive */
@media (max-width: 850px) {
    .sst-list {
        column-count: 1;
        column-rule: none;
        padding: 20px;
    }
    
    .sst-item {
        font-size: 1rem;
    }
    
    .sst-sub-list {
        margin-left: 20px;
    }
}

/* Animation for smooth toggle */
.super-split-toc:not(.collapsed) .sst-list {
    animation: sstSlideDown 0.4s ease-out;
}

@keyframes sstSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth scroll handling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}
