/* Moved from apps/help/templates/help/help_toc.html (inline <style>). */
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    background: var(--accent-band-bg);
    margin: -24px -24px 24px -24px;
    padding: 24px;
    border-radius: 8px 8px 0 0;
}
.toc-header h1 { margin: 0 0 0.25rem 0; }
.toc-header .toc-meta {
    color: var(--body-quiet-color);
    font-size: 0.85rem;
}
.toc-category {
    margin-bottom: 1.5rem;
}
.toc-category-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--body-quiet-color);
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 20%, var(--body-bg));
    padding-bottom: 0.4rem;
    margin: 0 0 0.25rem 0;
}
.toc-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.toc-list li {
    list-style: none !important;
}
.toc-list li::before {
    display: none !important;
}
.toc-item {
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 8%, var(--body-bg));
}
.toc-item:last-child {
    border-bottom: none;
}
.toc-link {
    display: block;
    padding: 0.45rem 0.5rem;
    text-decoration: none !important;
    color: var(--body-fg);
    transition: background 0.15s;
    border-radius: 4px;
}
.toc-link:hover {
    text-decoration: none !important;
    background: color-mix(in srgb, var(--primary) 10%, var(--body-bg));
}
.toc-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
}
.toc-desc {
    display: block;
    color: var(--body-quiet-color);
    font-size: 0.78rem;
    line-height: 1.3;
    margin-top: 0.1rem;
}
.toc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 2.5rem;
}
@media (min-width: 768px) {
    .toc-grid {
        grid-template-columns: 1fr 1fr;
    }
}
