.tb-docs {
    padding-top: 110px;
}

.tb-docs-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 56px;
    align-items: start;
}

.tb-docs-side {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.tb-docs-group {
    font-size: var(--tb-text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tb-text-faint);
    margin: 20px 0 6px 12px;
}

.tb-docs-group:first-child {
    margin-top: 0;
}

.tb-docs-link {
    display: block;
    font-size: var(--tb-text-sm);
    color: var(--tb-text-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--tb-radius);
    transition: color var(--tb-transition), background var(--tb-transition);
}

.tb-docs-link:hover {
    color: var(--tb-text);
    background: var(--tb-surface);
}

.tb-docs-link.active {
    color: var(--tb-primary);
    background: var(--tb-primary-dim);
}

.tb-docs-content {
    max-width: 720px;
}

.tb-docs-block {
    scroll-margin-top: 90px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--tb-border);
}

.tb-docs-block:last-child {
    border-bottom: none;
}

.tb-docs-lead {
    font-size: var(--tb-text-lg);
    color: var(--tb-text-muted);
    line-height: 1.65;
    margin-top: 12px;
}

.tb-docs-text {
    font-size: var(--tb-text-base);
    color: var(--tb-text-muted);
    line-height: 1.7;
}

.tb-docs-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.tb-docs-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--tb-text);
    margin: 0;
}

.tb-docs-cat {
    font-size: var(--tb-text-xs);
    color: var(--tb-text-faint);
}

.tb-docs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}

.tb-docs-sub {
    font-size: var(--tb-text-sm);
    font-weight: 500;
    color: var(--tb-text);
    margin-bottom: 8px;
}

.tb-docs-steps {
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--tb-text-muted);
    font-size: var(--tb-text-base);
    line-height: 1.7;
}

.tb-docs-steps li::marker {
    color: var(--tb-primary);
    font-family: var(--tb-font-mono);
}

.tb-faq {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius);
    padding: 14px 16px;
    margin-bottom: 8px;
}

.tb-faq summary {
    cursor: pointer;
    font-size: var(--tb-text-base);
    font-weight: 500;
    color: var(--tb-text);
}

.tb-faq[open] {
    border-color: var(--tb-border-hover);
}

.tb-faq p {
    margin: 10px 0 0;
    font-size: var(--tb-text-sm);
    color: var(--tb-text-muted);
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .tb-docs-layout {
        grid-template-columns: 1fr;
    }

    .tb-docs-side {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tb-docs {
        padding-top: 90px;
    }
}