/**
 * 知识库页面响应式样式。
 *
 * 子主题统一输出知识库模板；本文件独立接管知识库桌面和移动端样式。
 */
.akasha-kb-page {
    --td-red: #e50012;
    --td-dark: #0b1221;
    --td-text: #111827;
    --td-muted: #667085;
    --td-soft: #f8f9fa;
    --td-line: #e5e7eb;
    min-height: 100vh;
    padding: 18px 0 64px;
    background: #fbfcfd;
    color: var(--td-text);
}

/* 知识库页使用首页同款 B2 全站导航，避免父主题 post-style-2 深色头部误命中。 */
body.akasha-kb-normal-header .site-header-in {
    background-color: transparent;
}

body.akasha-kb-normal-header .header-banner {
    background: var(--akasha-kb-header-banner-bg, #ffffff) !important;
}

body.akasha-kb-normal-header .header,
body.akasha-kb-normal-header .header .top-style {
    background: var(--akasha-kb-header-main-bg, #ffffff) !important;
    box-shadow: none;
    color: var(--akasha-kb-header-main-text, #121212) !important;
}

body.akasha-kb-normal-header .header-banner,
body.akasha-kb-normal-header .header-banner .ym-menu a,
body.akasha-kb-normal-header .top-search-button button,
body.akasha-kb-normal-header .search-button-action,
body.akasha-kb-normal-header .top-search-select,
body.akasha-kb-normal-header .top-search input,
body.akasha-kb-normal-header .top-search input::placeholder,
body.akasha-kb-normal-header .login-button .b2-account-circle-line {
    color: var(--akasha-kb-header-banner-text, #121212) !important;
    fill: var(--akasha-kb-header-banner-text, #121212) !important;
}

body.akasha-kb-normal-header .header .header-logo,
body.akasha-kb-normal-header .top-menu ul li.depth-0 > a,
body.akasha-kb-normal-header .change-theme button,
body.akasha-kb-normal-header .change-theme a,
body.akasha-kb-normal-header .change-theme a i,
body.akasha-kb-normal-header .header-user,
body.akasha-kb-normal-header .user-tools i,
body.akasha-kb-normal-header .login-button button,
body.akasha-kb-normal-header .login-button .b2-more {
    color: var(--akasha-kb-header-main-text, #121212) !important;
    fill: var(--akasha-kb-header-main-text, #121212) !important;
}

body.akasha-kb-normal-header .header .button,
body.akasha-kb-normal-header .header .login-button button {
    border-color: var(--akasha-kb-header-main-text, #121212) !important;
}

body.akasha-kb-normal-header .top-search form,
body.akasha-kb-normal-header .search-form-normal {
    border: 0;
    background-color: rgb(204 204 204 / 21%);
}

body.akasha-kb-normal-header .top-search input {
    color: var(--akasha-kb-header-banner-text, #121212) !important;
}

body.akasha-kb-normal-header .menu-icon .line-1,
body.akasha-kb-normal-header .menu-icon .line-2,
body.akasha-kb-normal-header .menu-icon .line-3 {
    background-color: var(--akasha-kb-header-main-text, #121212) !important;
    box-shadow: none;
}

body.akasha-kb-normal-header .header-logo .light-logo {
    display: none;
}

body.akasha-kb-normal-header .header-logo .block-logo {
    display: inline-block;
}

.akasha-kb-page,
.akasha-kb-page * {
    box-sizing: border-box;
    border-radius: 0;
}

.akasha-kb-page a {
    color: inherit;
    text-decoration: none;
}

.akasha-kb-page .container,
.akasha-kb-page > .akasha-kb-hero,
.akasha-kb-page > .akasha-kb-section,
.akasha-kb-page > .akasha-kb-content,
.akasha-kb-page > .akasha-kb-topbar {
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.akasha-kb-backdrop,
.akasha-kb-drawer,
.akasha-kb-menu-toggle {
    display: none;
}

.akasha-kb-page .litheme-app-library__section {
    margin-top: 16px;
}

.akasha-kb-page .litheme-app-library__switch-section {
    margin-top: 0;
}

.akasha-kb-page .litheme-app-library__switch {
    display: inline-grid;
    min-width: 280px;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    border: 1px solid var(--td-dark);
    background: #ffffff;
}

.akasha-kb-page .litheme-app-library__switch.is-single {
    grid-template-columns: 1fr;
}

.akasha-kb-page .litheme-app-library__switch-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: var(--td-dark);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.akasha-kb-page .litheme-app-library__switch-link + .litheme-app-library__switch-link {
    border-left: 1px solid var(--td-dark);
}

.akasha-kb-page .litheme-app-library__switch-link.is-active {
    background: var(--td-dark);
    color: #ffffff;
}

.akasha-kb-page .litheme-app-library__stats-section {
    background: transparent;
}

.akasha-kb-page .litheme-app-library__stats-banner {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--td-muted);
    font-size: 14px;
    line-height: 1.45;
}

.akasha-kb-page .litheme-app-library__stats-brand {
    color: var(--td-dark);
    font-weight: 700;
}

.akasha-kb-page .litheme-app-library__stats-count {
    color: var(--td-red);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.akasha-kb-page .litheme-app-library__search-section {
    background: transparent;
}

.akasha-kb-page .litheme-app-library__search {
    display: grid;
    max-width: 720px;
    min-height: 48px;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    align-items: center;
    border: 1px solid var(--td-line);
    background: #ffffff;
}

.akasha-kb-page .litheme-app-library__search:focus-within {
    border-color: var(--td-red);
}

.akasha-kb-page .litheme-app-library__search label {
    padding-left: 14px;
    color: var(--td-dark);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.akasha-kb-page .litheme-app-library__search-prefix {
    display: none;
}

.akasha-kb-page .litheme-app-library__search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--td-dark);
    font-size: 14px;
}

.akasha-kb-page .litheme-app-library__search input[type="search"]::placeholder {
    color: #98a2b3;
}

.akasha-kb-page .litheme-app-library__search button {
    display: inline-flex;
    width: 44px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid var(--td-line);
    background: #ffffff;
    color: var(--td-dark);
    cursor: pointer;
}

.akasha-kb-page .litheme-app-library__search button:focus,
.akasha-kb-page .litheme-app-library__search button:active {
    color: var(--td-red);
    outline: 0;
}

.akasha-kb-page .litheme-app-library__search button i {
    font-size: 18px;
}

.akasha-kb-page .litheme-app-library__search button em {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.akasha-kb-hero {
    padding-top: 24px;
    padding-bottom: 6px;
}

.akasha-kb-hero span {
    display: block;
    margin-bottom: 6px;
    color: var(--td-red);
    font-size: 13px;
    font-weight: 800;
}

.akasha-kb-hero h1 {
    margin: 0;
    color: var(--td-dark);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0;
}

.akasha-kb-hero p {
    max-width: 65ch;
    margin: 8px 0 0;
    color: var(--td-muted);
    font-size: 14px;
    line-height: 1.7;
}

.akasha-kb-section {
    margin-top: 24px;
}

.akasha-kb-section h2 {
    margin: 0 0 12px;
    color: var(--td-dark);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: 0;
}

.akasha-kb-list,
.akasha-kb-article-card,
.akasha-kb-index-panel {
    border: 1px solid var(--td-line);
    background: #ffffff;
    box-shadow: none;
}

.akasha-kb-post-item + .akasha-kb-post-item {
    border-top: 1px solid var(--td-line);
}

.akasha-kb-post-item a {
    display: block;
    padding: 16px 18px;
    color: var(--td-dark);
}

.akasha-kb-post-main h2 {
    margin: 0 0 6px;
    color: var(--td-dark);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.akasha-kb-post-main p {
    margin: 0;
    color: var(--td-muted);
    font-size: 14px;
    line-height: 1.65;
}

.akasha-kb-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    color: #8b95a5;
    font-size: 12px;
}

.akasha-kb-post-meta span,
.akasha-kb-post-meta time {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.akasha-kb-post-time time {
    color: inherit;
    font: inherit;
}

.akasha-kb-empty {
    margin: 0;
    padding: 18px 14px;
    color: var(--td-muted);
    font-size: 14px;
    text-align: center;
}

.akasha-kb-pagenav {
    margin-top: 16px;
}

.akasha-kb-pagenav .b2-pagenav {
    margin: 0;
    background: transparent;
    box-shadow: none;
}

.akasha-kb-topbar {
    padding-top: 16px;
}

.akasha-kb-breadcrumb {
    color: var(--td-muted);
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.akasha-kb-breadcrumb a {
    color: var(--td-red);
}

.akasha-kb-breadcrumb span {
    margin: 0 4px;
    color: #a1abb6;
}

.akasha-kb-content {
    margin-top: 18px;
}

.akasha-kb-article-card {
    padding: 28px;
}

.akasha-kb-article-card h1 {
    margin: 0;
    color: var(--td-dark);
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.akasha-kb-article-card .post-meta {
    margin-top: 8px;
    color: #8b95a5;
    font-size: 12px;
}

.akasha-kb-article-card .entry-content {
    max-width: 75ch;
    margin-top: 20px;
    color: #2f3a46;
    font-size: 16px;
    line-height: 1.82;
}

.akasha-kb-article-card .entry-content img,
.akasha-kb-article-card .entry-content video,
.akasha-kb-article-card .entry-content iframe {
    max-width: 100%;
    height: auto;
}

.akasha-kb-article-card .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.akasha-kb-article-card .single-document-footer {
    margin: 30px -28px -28px;
    padding: 28px;
    border-top: 1px solid var(--td-line);
    background: var(--td-soft);
}

.akasha-kb-index-panel {
    margin-top: 18px;
    overflow: hidden;
}

.akasha-kb-index-list,
.akasha-kb-index-docs,
.akasha-kb-nav-list,
.akasha-kb-doc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.akasha-kb-index-item + .akasha-kb-index-item {
    border-top: 1px solid var(--td-line);
}

.akasha-kb-index-row {
    background: #ffffff;
}

.akasha-kb-index-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    color: var(--td-dark);
    text-align: left;
}

.akasha-kb-index-toggle:disabled {
    opacity: 1;
}

.akasha-kb-index-marker {
    display: inline-flex;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--td-dark);
    background: var(--td-dark);
    color: #ffffff;
}

.akasha-kb-index-marker::before {
    content: "";
    width: 8px;
    height: 2px;
    background: currentColor;
}

.akasha-kb-index-marker::after {
    content: none;
}

.akasha-kb-index-name {
    min-width: 0;
    color: var(--td-dark);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.akasha-kb-index-children {
    display: block;
    border-top: 1px solid var(--td-line);
    background: #ffffff;
}

.akasha-kb-index-depth-1,
.akasha-kb-index-depth-2,
.akasha-kb-index-docs {
    margin-left: 42px;
    border-left: 1px dashed #cbd5e1;
}

.akasha-kb-index-depth-1,
.akasha-kb-index-depth-2 {
    padding: 8px 0 8px 14px;
}

.akasha-kb-index-docs {
    padding: 8px 0 12px 14px;
}

.akasha-kb-index-docs li + li {
    margin-top: 6px;
}

.akasha-kb-index-docs a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--td-line);
    background: #fbfcfd;
    color: #263241;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.akasha-kb-index-docs a::before {
    content: ">";
    color: var(--td-red);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.akasha-kb-index-item.is-current-term > .akasha-kb-index-row .akasha-kb-index-name,
.akasha-kb-index-docs .is-current-doc a {
    color: var(--td-red);
}

.akasha-kb-index-docs .is-current-doc a {
    border-color: #ffd4d8;
    background: #fff1f2;
}

@media (min-width: 769px) {
    .akasha-kb-page {
        min-height: 0;
        padding: 18px 0 64px;
        background: #fbfcfd;
    }

    .akasha-kb-page .litheme-app-library__search-section {
        margin-top: 16px;
    }

    .akasha-kb-backdrop,
    .akasha-kb-drawer,
    .akasha-kb-menu-toggle {
        display: none !important;
    }

    .akasha-kb-index-children {
        display: block !important;
    }
}

@media (max-width: 768px) {
    body.akasha-kb-drawer-open {
        overflow: hidden;
    }

    .akasha-kb-page {
        padding: 0 0 56px;
        background: #fbfcfd;
    }

    .akasha-kb-page .container,
    .akasha-kb-page > .akasha-kb-hero,
    .akasha-kb-page > .akasha-kb-section,
    .akasha-kb-page > .akasha-kb-content,
    .akasha-kb-page > .akasha-kb-topbar {
        max-width: none;
        padding-right: 12px;
        padding-left: 12px;
    }

    .akasha-kb-page .litheme-app-library__section {
        margin-top: 12px;
    }

    .akasha-kb-page .litheme-app-library__switch-section {
        margin-top: 14px;
    }

    .akasha-kb-page .litheme-app-library__switch {
        display: grid;
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border: 1px solid var(--td-dark);
        background: #ffffff;
    }

    .akasha-kb-page .litheme-app-library__switch-link {
        min-height: 48px;
        padding: 0 12px;
        color: var(--td-dark);
        font-size: 16px;
        font-weight: 900;
    }

    .akasha-kb-page .litheme-app-library__switch-link.is-active {
        background: var(--td-dark);
        color: #ffffff;
    }

    .akasha-kb-page .litheme-app-library__stats-section {
        margin-top: 12px;
    }

    .akasha-kb-page .litheme-app-library__stats-banner {
        display: flex;
        min-width: 0;
        align-items: baseline;
        gap: 5px;
        padding: 0 0 10px;
        color: #8b95a5;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: 0;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .akasha-kb-page .litheme-app-library__stats-brand {
        margin-right: 2px;
        color: #8b95a5;
        font-weight: 400;
    }

    .akasha-kb-page .litheme-app-library__stats-action {
        color: #8b95a5;
        font-weight: 400;
    }

    .akasha-kb-page .litheme-app-library__stats-count {
        margin: 0;
        color: var(--td-red);
        font-size: 17px;
        font-weight: 700;
    }

    .akasha-kb-page .litheme-app-library__search-section {
        margin-top: 12px;
    }

    .akasha-kb-home .litheme-app-library__search-section {
        margin-top: 0;
    }

    .akasha-kb-page .litheme-app-library__search {
        max-width: none;
        box-sizing: border-box;
        min-height: 42px;
        grid-template-columns: auto minmax(0, 1fr) 42px;
        border: 1px solid var(--td-line);
        background: var(--td-soft);
    }

    .akasha-kb-page .litheme-app-library__search label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    .akasha-kb-page .litheme-app-library__search-prefix {
        display: block;
        padding-left: 20px;
        padding-right: 0;
        color: var(--td-red);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-size: 13px;
        font-weight: 800;
        line-height: 1;
    }

    .akasha-kb-page .litheme-app-library__search input[type="search"] {
        box-sizing: border-box;
        height: 42px;
        padding: 0 12px;
        color: var(--td-dark);
        font-size: 13px;
        font-weight: 400;
        line-height: 1.2;
    }

    .akasha-kb-page .litheme-app-library__search button {
        position: relative;
        box-sizing: border-box;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
    }

    .akasha-kb-page .litheme-app-library__search button::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 1px;
        height: 24px;
        background: var(--td-line);
        transform: translateY(-50%);
        pointer-events: none;
    }

    .akasha-kb-page .litheme-app-library__search button i,
    .akasha-kb-page .litheme-app-library__search button svg {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

    .akasha-kb-menu-toggle {
        position: fixed;
        right: 14px;
        bottom: calc(18px + env(safe-area-inset-bottom));
        z-index: 80;
        display: inline-flex;
        min-width: 76px;
        height: 42px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 14px;
        border: 1px solid var(--td-dark);
        background: #ffffff;
        color: var(--td-dark);
        box-shadow: none;
        font-size: 14px;
        line-height: 1;
    }

    .akasha-kb-menu-toggle:active,
    .akasha-kb-menu-toggle:focus {
        border-color: var(--td-red);
        color: var(--td-red);
        outline: 0;
    }

    .akasha-kb-menu-toggle i {
        font-size: 18px;
    }

    .akasha-kb-backdrop {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: none;
        background: rgba(18, 26, 35, .38);
    }

    .akasha-kb-drawer {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        display: block;
        width: min(86vw, 360px);
        height: 100vh;
        padding: calc(10px + env(safe-area-inset-top)) 12px 20px;
        background: #ffffff;
        box-shadow: none;
        transform: translateX(-104%);
        transition: transform .22s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .akasha-kb-drawer-open .akasha-kb-backdrop {
        display: block;
    }

    .akasha-kb-drawer-open .akasha-kb-drawer {
        transform: translateX(0);
    }

    .akasha-kb-drawer-head {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: flex-end;
        padding: 0 2px 8px;
        border-bottom: 1px solid var(--td-line);
    }

    .akasha-kb-drawer-head button {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--td-line);
        background: #ffffff;
        color: var(--td-dark);
    }

    .akasha-kb-nav {
        padding: 10px 0 24px;
    }

    .akasha-kb-nav-item {
        margin: 2px 0;
    }

    .akasha-kb-nav-toggle {
        display: flex;
        width: 100%;
        min-height: 42px;
        align-items: center;
        padding: 9px 8px;
        border: 0;
        background: transparent;
        color: var(--td-dark);
        text-align: left;
        font-size: 15px;
        line-height: 1.35;
    }

    .akasha-kb-nav-name {
        flex: 1;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .akasha-kb-nav-count,
    .akasha-kb-nav-arrow {
        margin-left: 8px;
        color: #8b95a5;
        font-size: 12px;
    }

    .akasha-kb-nav-arrow {
        transition: transform .18s ease;
    }

    .akasha-kb-nav-children {
        display: none;
        padding: 1px 0 6px 12px;
    }

    .akasha-kb-nav-item.is-open > .akasha-kb-nav-toggle {
        background: #fff1f2;
        color: var(--td-red);
        font-weight: 700;
    }

    .akasha-kb-nav-item.is-open > .akasha-kb-nav-toggle .akasha-kb-nav-arrow {
        transform: rotate(180deg);
    }

    .akasha-kb-nav-item.is-open > .akasha-kb-nav-children {
        display: block;
    }

    .akasha-kb-doc-list {
        padding: 2px 0 3px 10px;
    }

    .akasha-kb-doc-list a {
        display: block;
        padding: 8px;
        color: #667085;
        font-size: 14px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .akasha-kb-doc-list .is-current-doc a {
        background: var(--td-red);
        color: #ffffff;
        font-weight: 700;
    }

    .akasha-kb-hero {
        padding-top: 10px;
        padding-bottom: 0;
    }

    .akasha-kb-hero h1 {
        font-size: 28px;
    }

    .akasha-kb-section {
        margin-top: 18px;
    }

    .akasha-kb-section h2 {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .akasha-kb-post-item a {
        padding: 12px;
    }

    .akasha-kb-post-main h2 {
        font-size: 15px;
    }

    .akasha-kb-post-main p {
        font-size: 13px;
        line-height: 1.55;
    }

    .akasha-kb-topbar {
        padding-top: 12px;
    }

    .akasha-kb-content {
        margin-top: 14px;
    }

    .akasha-kb-article-card {
        padding: 18px 14px;
    }

    .akasha-kb-article-card h1 {
        font-size: 24px;
    }

    .akasha-kb-article-card .entry-content {
        max-width: none;
        font-size: 16px;
    }

    .akasha-kb-article-card .single-document-footer {
        margin: 28px -14px -18px;
        padding: 28px 12px;
    }

    .akasha-kb-single .litheme-app-library__search-section {
        margin-top: 10px;
    }

    .akasha-kb-index-panel {
        margin-top: 12px;
        overflow: hidden;
        border: 1px solid #dfe3e8;
        background: #ffffff;
    }

    .akasha-kb-index-item + .akasha-kb-index-item {
        border-top: 1px solid #e2e6ec;
    }

    .akasha-kb-index-row {
        min-height: 58px;
        background: #f8fafc;
    }

    .akasha-kb-index-item-depth-0.is-open > .akasha-kb-index-row {
        min-height: 66px;
        background: #fde7e9;
    }

    .akasha-kb-index-item-depth-1 > .akasha-kb-index-row,
    .akasha-kb-index-item-depth-2 > .akasha-kb-index-row {
        min-height: 44px;
        background: #ffffff;
    }

    .akasha-kb-index-toggle {
        min-height: inherit;
        gap: 11px;
        padding: 0 12px 0 14px;
    }

    .akasha-kb-index-marker {
        position: relative;
        width: 26px;
        height: 26px;
    }

    .akasha-kb-index-marker::before,
    .akasha-kb-index-marker::after {
        content: "";
        position: absolute;
        width: 11px;
        height: 2px;
        background: currentColor;
    }

    .akasha-kb-index-marker::after {
        transform: rotate(90deg);
    }

    .akasha-kb-index-item.is-open > .akasha-kb-index-row .akasha-kb-index-marker::after {
        opacity: 0;
    }

    .akasha-kb-index-item-depth-0.is-open > .akasha-kb-index-row .akasha-kb-index-marker {
        border-color: var(--td-red);
        background: var(--td-red);
    }

    .akasha-kb-index-item-depth-1 .akasha-kb-index-marker {
        width: 22px;
        height: 22px;
        border-color: #9aa4b2;
        background: #ffffff;
        color: #9aa4b2;
    }

    .akasha-kb-index-item-depth-2 .akasha-kb-index-marker {
        width: 20px;
        height: 20px;
        border-color: #cfd6df;
        background: #ffffff;
        color: #98a2b3;
    }

    .akasha-kb-index-name {
        font-size: 16px;
        font-weight: 850;
        line-height: 1.25;
    }

    .akasha-kb-index-item-depth-1 .akasha-kb-index-name {
        font-size: 15px;
        font-weight: 700;
    }

    .akasha-kb-index-item-depth-2 .akasha-kb-index-name {
        color: #475467;
        font-size: 14px;
        font-weight: 650;
    }

    .akasha-kb-index-children {
        display: none;
        border-top: 1px solid #e5e8ed;
    }

    .akasha-kb-index-item.is-open > .akasha-kb-index-children {
        display: block;
    }

    .akasha-kb-index-depth-1,
    .akasha-kb-index-depth-2,
    .akasha-kb-index-docs {
        margin-left: 38px;
        border-left: 1px dashed #cbd5e1;
    }

    .akasha-kb-index-depth-1 {
        padding: 14px 0 14px 14px;
    }

    .akasha-kb-index-depth-2 {
        margin-left: 20px;
        padding: 4px 0 8px 12px;
    }

    .akasha-kb-index-docs {
        margin-left: 20px;
        padding: 8px 0 10px 12px;
    }

    .akasha-kb-index-docs a {
        min-height: 38px;
        padding: 8px 10px;
        background: #fafbfc;
        font-size: 13px;
    }
}
