/**
 * 云上帮助中心样式 - Minimalism & Swiss Style
 * 设计原则：清洁、简洁、大量留白、高对比度、流畅过渡
 */

/* ==================== 基础变量扩展 ==================== */
:root {
    /* 帮助中心专用色 */
    --help-bg: #F8FAFC;
    --help-card: #FFFFFF;
    --help-border: #E2E8F0;
    --help-text: #1E293B;
    --help-muted: #64748B;
    --help-link: #2563EB;
    --help-primary: #0B9ED9;

    /* 过渡时间 */
    --transition-fast: 150ms;
    --transition-normal: 250ms;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.help-category-page .container-box,
.help-detail-page .container-box,
.help-product-page .container-box,
.help-priority-extension > .container-box {
    box-sizing: border-box;
}

/* ==================== 顶部栏固定白色 ==================== */
/* 帮助中心顶部栏始终显示白色背景，不受滚动影响 */
.page-head-box {
    background-color: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-head-box .pc-dom-box .head-main-box .head-main-wrap .nav-box ul li a {
    color: #000000d9;
}

.page-head-box .pc-dom-box .head-main-box .head-main-wrap .nav-box ul li a:hover,
.page-head-box .pc-dom-box .head-main-box .head-main-wrap .nav-box ul li:hover a {
    color: #0B9ED9;
}

.page-head-box .pc-dom-box .head-main-box .head-main-wrap .nav-box ul li .icon-cecaidanxiala {
    color: #05263373;
}

.page-head-box .pc-dom-box .head-main-box .head-ope-box .btn-group .btn {
    color: #0B9ED9;
    border: 1px solid #0B9ED9;
}

.page-head-box .pc-dom-box .head-main-box .head-ope-box .btn-group .register {
    background-color: #0B9ED9;
    color: #fff;
    border: none;
}

/* 去掉所有下划线 */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* ==================== Hero区域 ==================== */
.help-hero {
    background: var(--help-bg);
    padding: 80px 20px 60px;
    text-align: center;
}

.help-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.help-hero-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--help-text);
    letter-spacing: 0;
    margin-bottom: 12px;
}

.help-hero-desc {
    font-size: 18px;
    color: var(--help-muted);
    margin-bottom: 32px;
}

/* 搜索框 */
.help-search-box {
    max-width: 600px;
    margin: 0 auto 24px;
}

.help-search-wrapper {
    display: flex;
    align-items: center;
    background: var(--help-card);
    border: 2px solid var(--help-border);
    border-radius: 12px;
    padding: 4px 4px 4px 16px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.help-search-wrapper:focus-within {
    border-color: var(--help-primary);
    box-shadow: 0 0 0 4px rgba(11, 158, 217, 0.1);
}

.search-icon {
    color: var(--help-muted);
    flex-shrink: 0;
}

.help-search-input {
    flex: 1;
    height: 52px;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--help-text);
    background: transparent;
    padding: 0 12px;
}

.help-search-input::placeholder {
    color: var(--help-muted);
}

.help-search-btn {
    height: 44px;
    padding: 0 24px;
    background: var(--help-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.help-search-btn:hover {
    background: var(--primary-dark);
}

/* 搜索提示 */
.help-search-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hint-label {
    font-size: 14px;
    color: var(--help-muted);
}

.hint-tag {
    padding: 6px 14px;
    background: var(--help-card);
    color: var(--help-link);
    border-radius: 6px;
    font-size: 14px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.hint-tag:hover {
    background: var(--help-link);
    color: white;
}

/* 统计信息 */
.help-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--help-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--help-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--help-border);
}

/* ==================== 分类导航 ==================== */
.help-categories {
    padding: 64px 20px;
    background: var(--help-card);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--help-text);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--help-bg);
    border: 1px solid var(--help-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.category-card:hover {
    background: var(--help-card);
    border-color: var(--help-primary);
    box-shadow: 0 4px 12px rgba(11, 158, 217, 0.12);
    transform: translateY(-2px);
}

.category-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--help-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.category-icon-wrap--ai {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
}

.category-content {
    flex: 1;
    min-width: 0;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 4px;
}

.category-desc {
    font-size: 13px;
    color: var(--help-muted);
}

/* ==================== 详情页样式 ==================== */
.help-detail-page {
    padding: 32px 20px 80px;
    min-height: calc(100vh - 200px);
    background: var(--help-bg);
}

.help-detail-page .container-box {
    width: min(1200px, calc(100% - 40px));
    max-width: 1200px;
    margin: 0 auto;
}

.help-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.help-detail-breadcrumb a {
    color: var(--help-link);
    transition: color var(--transition-fast);
}

.help-detail-breadcrumb a:hover {
    color: var(--help-primary);
}

.help-detail-breadcrumb .separator {
    color: var(--help-muted);
}

.help-detail-content {
    max-width: 800px;
    background: var(--help-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--help-border);
}

.help-detail-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--help-border);
}

.help-detail-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.help-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.help-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.help-detail-meta .label {
    color: var(--help-muted);
}

.help-detail-meta .value {
    color: var(--help-text);
    font-weight: 500;
}

.help-detail-body {
    font-size: 16px;
    color: var(--help-text);
    line-height: 1.7;
}

.help-detail-body strong {
    font-weight: 700;
    color: var(--help-text);
}

.help-detail-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--help-text);
    margin: 24px 0 12px;
}

.help-detail-body p {
    margin-bottom: 16px;
}

.help-detail-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.help-detail-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.help-detail-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--help-border);
}

.keyword-tag {
    padding: 6px 14px;
    background: rgba(11, 158, 217, 0.08);
    color: var(--help-primary);
    border-radius: 6px;
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.help-seo-extension {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid var(--help-border);
    border-radius: 12px;
    background: #fbfeff;
}

.help-seo-extension h2 {
    margin: 0 0 18px;
    color: var(--help-text);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.help-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.help-seo-grid > div {
    padding: 16px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fdfefe;
}

.help-seo-grid h3 {
    margin: 0 0 8px;
    color: #0B6F95;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.help-seo-grid p {
    margin: 0;
    color: #536f7d;
    font-size: 14px;
    line-height: 1.75;
}

.help-seo-faq {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.help-seo-faq details {
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #f7fbfd;
}

.help-seo-faq summary {
    cursor: pointer;
    padding: 13px 16px;
    color: var(--help-text);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.help-seo-faq p {
    margin: 0;
    padding: 0 16px 14px;
    color: #607987;
    font-size: 14px;
    line-height: 1.75;
}

.help-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.help-seo-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid var(--help-primary);
    color: var(--help-primary);
    background: #fbfeff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.help-seo-links a:hover {
    background: var(--help-primary);
    color: #fbfeff;
}

/* help-priority-extension-style:start */
.help-priority-extension {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid rgba(11, 158, 217, 0.18);
    border-radius: 12px;
    background: #f7fbfd;
}

.help-priority-extension h2 {
    margin: 0 0 12px;
    color: var(--help-text);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.help-priority-intro {
    margin: 0 0 18px;
    color: #536f7d;
    font-size: 14px;
    line-height: 1.8;
}

.help-priority-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.help-priority-grid article {
    padding: 16px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fdfefe;
}

.help-priority-grid h3 {
    margin: 0 0 10px;
    color: #0B6F95;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.help-priority-grid ul {
    margin: 0;
    padding-left: 18px;
    color: #536f7d;
    font-size: 14px;
    line-height: 1.75;
}

.help-priority-next {
    margin-top: 14px;
    padding: 16px;
    border-radius: 8px;
    background: #eef8fc;
}

.help-priority-next strong {
    display: block;
    margin-bottom: 6px;
    color: #0a5f82;
    font-size: 15px;
}

.help-priority-next p {
    margin: 0;
    color: #536f7d;
    font-size: 14px;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .help-priority-extension {
        padding: 20px;
    }

    .help-priority-grid {
        grid-template-columns: 1fr;
    }
}
/* help-priority-extension-style:end */

.help-detail-related {
    max-width: 800px;
    margin-top: 24px;
    padding: 20px;
    background: var(--help-card);
    border-radius: 12px;
    border: 1px solid var(--help-border);
}

.help-detail-related h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 16px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--help-link);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.related-item:hover {
    color: var(--help-primary);
}

/* ==================== 分类页样式 ==================== */
.help-category-page {
    padding: 32px 20px 80px;
    background: var(--help-bg);
}

.help-category-page .container-box {
    width: min(1180px, calc(100vw - 40px));
    max-width: 100%;
    margin: 0 auto;
}

.help-category-header {
    margin-bottom: 24px;
}

.help-category-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 8px;
}

.help-category-header .category-desc {
    font-size: 16px;
    color: var(--help-muted);
}

.help-subcategory-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    padding: 16px;
    background: var(--help-card);
    border-radius: 12px;
    border: 1px solid var(--help-border);
}

.help-subcategory-tag {
    padding: 8px 18px;
    background: var(--help-bg);
    color: var(--help-text);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.help-subcategory-tag:hover,
.help-subcategory-tag.active {
    background: var(--help-primary);
    color: white;
}

.help-subcategory-nav.is-collapsed .help-subcategory-tag.is-extra {
    display: none;
}

.subcategory-toggle {
    padding: 8px 18px;
    border: 1px solid var(--help-primary);
    border-radius: 8px;
    background: var(--help-card);
    color: var(--help-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.filter-count {
    margin: -20px 0 24px;
    color: var(--help-muted);
    font-size: 13px;
}

.help-point-list {
    display: grid;
    gap: 16px;
}

.help-point-item {
    padding: 20px;
    background: var(--help-card);
    border-radius: 12px;
    border: 1px solid var(--help-border);
    transition: all var(--transition-fast);
}

.help-point-item:hover {
    border-color: var(--help-primary);
    box-shadow: 0 4px 12px rgba(11, 158, 217, 0.1);
}

.help-point-item .point-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.help-point-item .point-title a {
    color: var(--help-text);
    transition: color var(--transition-fast);
}

.help-point-item .point-title a:hover {
    color: var(--help-primary);
}

.help-point-item .point-answer {
    font-size: 14px;
    color: var(--help-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.help-point-item .point-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.help-point-item .point-keywords {
    display: flex;
    gap: 6px;
}

.help-point-item .point-link {
    color: var(--help-link);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.help-point-item .point-link:hover {
    color: var(--help-primary);
}

/* ==================== 搜索结果页 ==================== */
.help-search-page {
    padding: 32px 20px 80px;
    min-height: calc(100vh - 200px);
    background: var(--help-bg);
}

.help-search-section {
    max-width: 600px;
    margin: 0 auto 32px;
}

.search-result-header {
    margin-bottom: 20px;
}

.search-result-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--help-text);
    margin-bottom: 8px;
}

.result-count {
    font-size: 14px;
    color: var(--help-muted);
}

.search-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: var(--help-card);
    border-radius: 10px;
    border: 1px solid var(--help-border);
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--help-text);
    background: var(--help-bg);
    cursor: pointer;
    outline: none;
}

.filter-select:focus {
    border-color: var(--help-primary);
}

.search-result-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-best-answer {
    padding: 22px;
    border: 1px solid rgba(11, 158, 217, 0.35);
    border-radius: 12px;
    background: #f4fbfe;
}

.search-best-answer a {
    display: block;
    color: inherit;
}

.best-answer-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--help-primary);
    color: #f8fbfd;
    font-size: 12px;
    font-weight: 700;
}

.search-best-answer h2 {
    margin: 0 0 10px;
    color: var(--help-text);
    font-size: 20px;
    line-height: 1.35;
}

.search-best-answer p {
    margin: 0 0 14px;
    color: #435d6b;
    font-size: 14px;
    line-height: 1.75;
}

.search-match-mark {
    padding: 0 2px;
    border-radius: 3px;
    background: #dff5fc;
    color: #075f86;
    font-weight: 700;
}

.search-result-item {
    padding: 20px;
    background: var(--help-card);
    border-radius: 12px;
    border: 1px solid var(--help-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-result-item:hover {
    border-color: var(--help-primary);
    box-shadow: 0 4px 12px rgba(11, 158, 217, 0.1);
}

.search-result-item a {
    display: block;
    color: var(--help-text);
}

.search-result-item .result-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.search-result-item:hover .result-title {
    color: var(--help-primary);
}

.search-result-item .result-summary {
    font-size: 14px;
    color: var(--help-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.search-result-item .result-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.search-result-item .meta-category {
    font-size: 12px;
    color: var(--help-primary);
    background: rgba(11, 158, 217, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* 无结果 */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    width: 64px;
    height: 64px;
    background: var(--help-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--help-muted);
}

.no-results-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--help-text);
    margin-bottom: 8px;
}

.no-results-tip {
    font-size: 14px;
    color: var(--help-muted);
    margin-bottom: 20px;
}

.no-results-suggest {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.suggest-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--help-primary);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.suggest-btn:hover {
    background: var(--primary-dark);
}

.suggest-btn.secondary {
    background: var(--help-card);
    color: var(--help-primary);
    border: 1px solid var(--help-primary);
}

.suggest-btn.secondary:hover {
    background: rgba(11, 158, 217, 0.08);
}

/* ==================== 响应式适配 ==================== */
@media screen and (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .help-hero {
        padding: 48px 16px 40px;
    }

    .help-hero-title {
        font-size: 28px;
    }

    .help-hero-desc {
        font-size: 16px;
    }

    .help-search-wrapper {
        flex-direction: column;
        padding: 12px;
        gap: 8px;
    }

    .help-search-input {
        width: 100%;
        height: 40px;
        padding: 0 8px;
    }

    .help-search-btn {
        width: 100%;
        height: 40px;
    }

    .help-search-hints {
        flex-wrap: wrap;
    }

    .help-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 16px;
    }

    .category-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .section-title {
        font-size: 22px;
    }

    .help-detail-page {
        padding: 24px 16px 104px;
    }

    .help-detail-page .container-box {
        width: 100%;
        max-width: 100%;
    }

    .page-foot-common .page-foot-box,
    .page-foot-common .page-foot-main-box,
    .page-foot-common .foot-menu-box {
        max-width: 100%;
        overflow-x: hidden;
    }

    .page-foot-common .foot-menu-box .txt {
        width: auto;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .help-search-page,
    .help-category-page,
    .help-product-page {
        padding-bottom: 104px;
    }

    .help-category-page .container-box {
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .help-detail-content {
        padding: 20px;
    }

    .help-detail-header h1 {
        font-size: 22px;
    }

    .help-seo-extension {
        padding: 18px;
    }

    .help-seo-grid {
        grid-template-columns: 1fr;
    }

    .help-seo-links a {
        width: 100%;
    }

    .no-results-suggest {
        flex-direction: column;
    }

    .help-point-item .point-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .suggest-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== 截图显示区域 ==================== */
.help-screenshot-section {
    margin: 24px 0;
    padding: 24px;
    background: var(--help-card);
    border-radius: 12px;
    border: 1px solid var(--help-border);
}

.help-screenshot-section h2 {
    font-size: 18px;
    color: var(--help-text);
    margin: 0 0 16px 0;
    font-weight: 600;
}

.help-screenshot-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
}

.help-screenshot-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-normal);
    cursor: zoom-in;
}

.help-screenshot-img:hover {
    transform: scale(1.02);
}

.help-screenshot-img:focus-visible {
    outline: 3px solid rgba(30, 174, 219, 0.32);
    outline-offset: 4px;
}

.help-screenshot-caption {
    margin: 12px 0 0 0;
    font-size: 14px;
    color: var(--help-muted);
    text-align: center;
}

.help-screenshot-open {
    overflow: hidden;
}

.help-screenshot-viewer {
    position: fixed;
    inset: 0;
    z-index: 120000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.help-screenshot-viewer.is-open {
    display: flex;
}

.help-screenshot-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}

.help-screenshot-viewer-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    padding: 12px;
    border-radius: 8px;
    background: #f8fbfd;
    box-shadow: 0 24px 72px rgba(15, 23, 42, 0.28);
}

.help-screenshot-viewer-img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 132px);
    object-fit: contain;
    border-radius: 6px;
    background: #eef4f8;
}

.help-screenshot-viewer-caption {
    margin: 10px 48px 0;
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.help-screenshot-viewer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 6px;
    background: rgba(248, 251, 253, 0.94);
    cursor: pointer;
}

.help-screenshot-viewer-close::before,
.help-screenshot-viewer-close::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 9px;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #334155;
}

.help-screenshot-viewer-close::before {
    transform: rotate(45deg);
}

.help-screenshot-viewer-close::after {
    transform: rotate(-45deg);
}

.help-screenshot-viewer-close:hover,
.help-screenshot-viewer-close:focus-visible {
    border-color: rgba(30, 174, 219, 0.45);
    outline: 3px solid rgba(30, 174, 219, 0.22);
    outline-offset: 2px;
}

/* 截图区域移动端适配 */
@media screen and (max-width: 768px) {
    .help-screenshot-section {
        padding: 16px;
        margin: 16px 0;
    }

    .help-screenshot-section h2 {
        font-size: 16px;
    }

    .help-screenshot-caption {
        font-size: 12px;
    }

    .help-screenshot-viewer {
        padding: 12px;
    }

    .help-screenshot-viewer-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 8px;
    }

    .help-screenshot-viewer-img {
        max-height: calc(100vh - 106px);
    }

    .help-screenshot-viewer-caption {
        margin: 8px 42px 0;
        font-size: 12px;
    }

    .help-screenshot-viewer-close {
        top: 12px;
        right: 12px;
    }
}

/* help-product-knowledge-style:start */
.help-categories .container-box,
.help-search-page .container-box,
.help-priority-extension > .container-box {
    width: min(100%, 1180px);
    max-width: calc(100vw - 40px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.help-product-page {
    padding: 32px 20px 80px;
    background: var(--help-bg);
}

.help-product-page .container-box {
    max-width: 1180px;
}

.help-product-hero,
.help-product-kb-rule,
.help-product-module-list,
.help-product-source {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fdfefe;
}

.help-product-hero h1 {
    margin: 8px 0 12px;
    color: var(--help-text);
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
}

.help-product-hero p,
.help-product-kb-rule p,
.help-product-source p {
    margin: 0;
    max-width: 76ch;
    color: var(--help-muted);
    font-size: 15px;
    line-height: 1.8;
}

.help-product-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.help-product-stats span,
.help-system-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef8fc;
    color: #0a5f82;
    font-size: 12px;
    font-weight: 700;
}

.help-product-kb-rule h2,
.help-product-module-list h2,
.help-product-source h2,
.help-system-section h2,
.help-system-source h2 {
    margin: 0 0 12px;
    color: var(--help-text);
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}

.help-product-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.help-product-module-card {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fbfeff;
    color: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.help-product-module-card:hover {
    border-color: var(--help-primary);
    box-shadow: 0 10px 24px rgba(11, 158, 217, 0.10);
    transform: translateY(-2px);
}

.help-product-module-card span,
.help-product-module-card em {
    color: #0a5f82;
    font-size: 12px;
    line-height: 1.5;
    font-style: normal;
}

.help-product-module-card strong {
    color: var(--help-text);
    font-size: 16px;
    line-height: 1.4;
    margin: 8px 0;
}

.help-product-module-card p {
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.help-system-detail .help-detail-body h2 {
    margin-top: 0;
}

.help-system-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--help-border);
}

.help-system-section ul,
.help-system-section ol {
    margin: 0;
    padding-left: 20px;
    color: var(--help-muted);
    font-size: 15px;
    line-height: 1.8;
}

.help-system-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.help-system-facts div {
    padding: 14px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #f8fafc;
}

.help-system-facts strong {
    display: block;
    margin-bottom: 6px;
    color: var(--help-text);
    font-size: 14px;
}

.help-system-facts span {
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.6;
}

.help-system-qa {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #f8fafc;
}

.help-system-qa h3 {
    margin: 0 0 8px;
    color: var(--help-text);
    font-size: 15px;
    line-height: 1.5;
}

.help-system-qa p {
    margin: 0;
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.75;
}

.help-menu-path-content {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #f8fafc;
}

.terminal-badge {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e7f6fc;
    color: #0a5f82;
    font-size: 12px;
    font-weight: 700;
}

.path-navigation,
.alternative-paths,
.role-tags,
.cause-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.path-item,
.alt-path,
.role-tag,
.cause-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--help-border);
    border-radius: 6px;
    background: #fff;
    color: var(--help-text);
    font-size: 13px;
    line-height: 1.35;
}

.path-separator {
    color: #7b8a9a;
    font-size: 13px;
}

.alt-path {
    background: #f2f7fb;
    color: #486174;
}

.help-media-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.help-media-item {
    margin: 0;
}

.help-media-item figcaption,
.help-media-note {
    margin: 8px 0 0;
    color: var(--help-muted);
    font-size: 13px;
    line-height: 1.6;
}

.help-video-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.help-video-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #0a5f82;
    font-size: 14px;
    font-weight: 700;
}

.help-demo-steps {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fbfeff;
}

.help-demo-steps h3,
.error-item h3,
.related-group h3 {
    margin: 0 0 10px;
    color: var(--help-text);
    font-size: 15px;
    line-height: 1.45;
}

.help-fields-table,
.permission-points {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.help-fields-table table,
.permission-points table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.55;
}

.help-fields-table th,
.help-fields-table td,
.permission-points th,
.permission-points td {
    padding: 10px 12px;
    border: 1px solid var(--help-border);
    vertical-align: top;
    text-align: left;
}

.help-fields-table th,
.permission-points th {
    background: #f2f7fb;
    color: var(--help-text);
    font-weight: 700;
}

.permission-points code {
    color: #0a5f82;
    white-space: nowrap;
}

.required-roles {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.required-roles strong,
.data-range strong,
.help-error-grid strong {
    color: var(--help-text);
    font-size: 14px;
}

.data-range {
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.7;
}

.help-error-list {
    display: grid;
    gap: 14px;
}

.error-item {
    padding: 14px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fbfeff;
}

.help-error-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: 14px;
}

.help-error-grid > div {
    min-width: 0;
}

.cause-tags {
    margin-top: 8px;
}

.cause-tag {
    background: #fff7ed;
    color: #8a4b11;
    border-color: #fed7aa;
}

.help-related-features {
    display: grid;
    gap: 14px;
}

.related-group {
    display: grid;
    gap: 8px;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.related-feature-link {
    display: grid;
    gap: 4px;
    min-height: 94px;
    padding: 12px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.related-feature-link:hover {
    border-color: var(--help-primary);
    box-shadow: 0 8px 18px rgba(11, 158, 217, 0.10);
}

.related-feature-link span {
    color: var(--help-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.related-feature-link em {
    color: var(--help-muted);
    font-size: 12px;
    line-height: 1.55;
    font-style: normal;
}

.help-system-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.help-product-knowledge {
    padding: 64px 20px;
    background: #f8fafc;
}

.help-product-knowledge .container-box {
    max-width: 1180px;
}

.help-product-knowledge-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.help-product-knowledge-header h2 {
    margin: 0 0 8px;
    color: var(--help-text);
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
}

.help-product-knowledge-header p {
    margin: 0;
    max-width: 68ch;
    color: var(--help-muted);
    font-size: 15px;
    line-height: 1.75;
}

.help-product-knowledge-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    background: var(--help-primary);
    color: #f8fbfd;
    font-size: 14px;
    font-weight: 700;
}

.help-product-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.help-product-knowledge-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid var(--help-border);
    border-radius: 8px;
    background: #fdfefe;
    color: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.help-product-knowledge-card:hover {
    border-color: var(--help-primary);
    box-shadow: 0 10px 24px rgba(11, 158, 217, 0.10);
    transform: translateY(-2px);
}

.help-product-knowledge-card.is-priority {
    border-color: rgba(11, 158, 217, 0.35);
    background: #f7fbfd;
}

.help-product-knowledge-card span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef8fc;
    color: #0a5f82;
    font-size: 12px;
    font-weight: 700;
}

.help-product-knowledge-card strong {
    display: block;
    color: var(--help-text);
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.help-product-knowledge-card p {
    color: var(--help-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 14px;
}

.help-product-knowledge-card em {
    color: #0a5f82;
    font-size: 13px;
    line-height: 1.5;
    font-style: normal;
}

@media (max-width: 1024px) {
    .help-product-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-product-knowledge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .help-categories .container-box,
    .help-search-page .container-box {
        max-width: calc(100vw - 32px);
    }

    .help-product-page {
        padding: 24px 16px 64px;
    }

    .help-product-hero,
    .help-product-kb-rule,
    .help-product-module-list,
    .help-product-source {
        padding: 20px;
    }

    .help-product-hero h1 {
        font-size: 28px;
    }

    .help-product-module-grid,
    .help-system-facts {
        grid-template-columns: 1fr;
    }

    .help-media-gallery,
    .help-error-grid,
    .related-links {
        grid-template-columns: 1fr;
    }

    .help-fields-table table,
    .permission-points table {
        min-width: 680px;
    }

    .path-navigation,
    .alternative-paths,
    .role-tags,
    .cause-tags {
        gap: 6px;
    }

    .help-product-knowledge {
        padding: 48px 16px;
    }

    .help-product-knowledge-header {
        display: block;
    }

    .help-product-knowledge-action {
        margin-top: 14px;
    }

    .help-product-knowledge-grid {
        grid-template-columns: 1fr;
    }
}
/* help-product-knowledge-style:end */
