/* 帮助中心 · 左侧目录布局 v2026.09 */
.docs-hub-shell {
    display: flex;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 20px 48px;
    box-sizing: border-box;
}

.docs-hub-sidebar {
    flex: 0 0 240px;
    width: 240px;
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 16px 12px 24px 0;
    border-right: 1px solid var(--of-border, #e2e8f0);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 120px);
}

.docs-hub-sidebar__head {
    padding: 0 8px 12px;
    border-bottom: 1px solid var(--of-border, #e2e8f0);
    margin-bottom: 12px;
}

.docs-hub-sidebar__head a {
    font-weight: 700;
    font-size: 1rem;
    color: var(--of-text, #0f172a);
    text-decoration: none;
}

.docs-hub-sidebar__head a:hover {
    color: var(--of-primary, #2563eb);
}

.docs-hub-sidebar__ver {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--of-muted, #64748b);
}

.docs-hub-nav-group {
    margin-bottom: 14px;
}

.docs-hub-nav-group__title {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--of-muted, #64748b);
    cursor: pointer;
    letter-spacing: 0.02em;
}

.docs-hub-nav-group__title:hover,
.docs-hub-nav-group.is-open .docs-hub-nav-group__title,
.docs-hub-nav-group.is-active .docs-hub-nav-group__title {
    background: #eff6ff;
    color: var(--of-primary, #2563eb);
}

.docs-hub-nav-group__list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0 0 0 8px;
    display: none;
}

.docs-hub-nav-group.is-open .docs-hub-nav-group__list,
.docs-hub-nav-group.is-active .docs-hub-nav-group__list {
    display: block;
}

.docs-hub-nav-group__list a {
    display: block;
    padding: 6px 10px;
    margin: 2px 0;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--of-text, #0f172a);
    text-decoration: none;
    line-height: 1.45;
}

.docs-hub-nav-group__list a:hover {
    background: #f1f5f9;
    text-decoration: none;
}

.docs-hub-nav-group__list a.is-active {
    background: #dbeafe;
    color: var(--of-primary-dark, #1d4ed8);
    font-weight: 600;
}

a.docs-hub-nav-single {
    text-decoration: none;
    box-sizing: border-box;
}

a.docs-hub-nav-single.is-active {
    background: #dbeafe;
    color: var(--of-primary-dark, #1d4ed8);
    font-weight: 700;
}

.docs-hub-main {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 0 0 0 28px;
}

.docs-hub-main .page-hero {
    padding-top: 32px;
    padding-bottom: 24px;
}

.docs-hub-main .page-hero .container,
.docs-hub-main .section .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* 正文与卡片占满主栏，避免右侧大块空白 */
.docs-hub-main .doc-layout {
    max-width: none;
    width: 100%;
    margin: 0;
}

.docs-hub-main .page-hero .sub {
    max-width: 52em;
}

.docs-hub-main .doc-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.docs-hub-main .doc-card p {
    line-height: 1.55;
}

.docs-hub-intro {
    background: var(--of-card, #fff);
    border: 1px solid var(--of-border, #e2e8f0);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.docs-hub-intro h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.docs-hub-intro p,
.docs-hub-intro li {
    color: var(--of-muted, #64748b);
    margin: 0 0 10px;
    line-height: 1.65;
}

.docs-hub-intro ul {
    margin: 12px 0;
    padding-left: 1.25rem;
}

.docs-hub-intro ol {
    margin: 12px 0;
    padding-left: 1.35rem;
}

.docs-hub-intro .doc-table {
    margin: 14px 0 18px;
    font-size: 0.875rem;
}

.docs-hub-arch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.docs-hub-arch__item {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--of-border, #e2e8f0);
    background: #f8fafc;
}

.docs-hub-arch__item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--of-primary, #2563eb);
}

.docs-hub-arch__item span {
    font-size: 0.8125rem;
    color: var(--of-muted, #64748b);
    line-height: 1.55;
}

.docs-hub-section {
    margin-bottom: 36px;
}

.docs-hub-section[hidden] {
    display: none !important;
}

.docs-hub-section__head h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.docs-hub-section__head p {
    margin: 0;
    color: var(--of-muted, #64748b);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.docs-hub-filter-hint {
    font-size: 0.8125rem;
    color: var(--of-muted, #64748b);
    margin-bottom: 16px;
}

.docs-hub-section .lead {
    line-height: 1.65;
}

/* 系统功能列表 · 三列表 */
.feat-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 16px;
}
.feat-export-btn {
    height: 40px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: #ea580c;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}
.feat-export-btn:hover {
    background: #c2410c;
}
.feat-export-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
.feat-toolbar input[type="search"] {
    flex: 1;
    min-width: 220px;
    height: 40px;
    border: 1px solid var(--of-border, #e2e8f0);
    border-radius: 8px;
    padding: 0 12px;
    font-size: 0.9375rem;
}
.feat-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}
.feat-toc a {
    font-size: 0.8125rem;
    color: #c2410c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: 4px 10px;
    text-decoration: none;
}
.feat-toc a:hover {
    background: #ffedd5;
    text-decoration: none;
}
.feat-table-wrap {
    overflow-x: auto;
    margin: 0 0 28px;
    border: 1px solid #f0c9a0;
    border-radius: 8px;
}
.feat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 0;
}
.feat-table th,
.feat-table td {
    border: 1px solid #f0c9a0;
    padding: 10px 12px;
    vertical-align: top;
    text-align: left;
}
.feat-table thead th {
    background: #f97316;
    color: #fff;
    font-weight: 700;
    text-align: center;
}
.feat-table .feat-mod {
    width: 7.5em;
    background: #fde8d0;
    color: #9a3412;
    font-weight: 700;
    text-align: center;
    vertical-align: top;
    padding-top: 14px;
}
.feat-table .feat-name {
    width: 11em;
    background: #fffaf3;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
}
.feat-table .feat-desc {
    color: #334155;
    line-height: 1.65;
}
.feat-table tbody tr:hover .feat-name,
.feat-table tbody tr:hover .feat-desc {
    background: #fff7ed;
}
.feat-hint {
    font-size: 0.8125rem;
    color: var(--of-muted, #64748b);
    margin: 0 0 16px;
}
.feat-count {
    font-size: 0.8125rem;
    color: #c2410c;
}

.feat-brand {
    text-align: center;
    margin: 0 0 20px;
    padding: 16px 12px 8px;
}
.feat-brand__co {
    font-size: 1.35rem;
    font-weight: 800;
    color: #9a3412;
    letter-spacing: 0.04em;
}
.feat-brand__prod {
    margin-top: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #c2410c;
}

.deliver-sheet {
    max-width: 560px;
    margin: 0 auto 32px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #d1fae5 0%, #ecfdf5 28%, #f0fdf4 100%);
    box-shadow: 0 16px 40px rgba(6, 95, 70, 0.12);
    padding: 0 0 22px;
}
.deliver-sheet__head {
    text-align: center;
    padding: 28px 20px 12px;
}
.deliver-sheet__head h2 {
    margin: 0;
    font-size: 1.75rem;
    color: #065f46;
    font-weight: 800;
}
.deliver-sheet__head p {
    margin: 8px 0 0;
    color: #047857;
    font-size: 0.9375rem;
}
.deliver-block {
    margin: 12px 18px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px 12px;
    border: 1px solid #a7f3d0;
}
.deliver-block h3 {
    margin: 0 0 10px;
    display: inline-block;
    background: #059669;
    color: #fff;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
}
.deliver-row {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #334155;
    border-bottom: 1px dashed #d1fae5;
}
.deliver-row:last-child {
    border-bottom: none;
}
.deliver-row b {
    flex: 0 0 5.5em;
    color: #065f46;
}
.deliver-row span {
    flex: 1;
}
.deliver-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: #047857;
}
.deliver-checks i {
    font-style: normal;
    color: #059669;
    font-weight: 700;
    margin-right: 4px;
}
.deliver-note {
    margin: 10px 18px 0;
    text-align: center;
    font-size: 0.8125rem;
    color: #047857;
    background: #d1fae5;
    border-radius: 999px;
    padding: 8px 14px;
}

@media (max-width: 960px) {
    .docs-hub-shell {
        flex-direction: column;
        padding: 0 16px 32px;
    }
    .docs-hub-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        flex: none;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--of-border, #e2e8f0);
        padding-bottom: 16px;
    }
    .docs-hub-main {
        padding-left: 0;
    }
    .docs-hub-main .doc-card-grid {
        grid-template-columns: 1fr;
    }
}

