﻿/* 浩美云帮助中心 - 全新样式系统 */

/* 整页白色卡片：宽度收进容器，不撑满全屏 */
.hm-help-page {
    width: var(--hm-pc-width, 1240px);
    max-width: calc(100vw - 48px);
    margin: 10px auto 41px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    padding-bottom: 40px;
    box-sizing: border-box;
    overflow: hidden;
}

/* 页面容器：作为卡片内层，只负责两栏排布 */
.hm-help-container {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 24px 28px 0;
    box-sizing: border-box;
}

/* 面包屑导航：卡片顶部通栏色带 */
.hm-help-breadcrumb {
    padding: 14px 28px;
    font-size: 13px;
    color: #666;
    box-sizing: border-box;
    background: linear-gradient(90deg, #eaf3ff 0%, #f5faff 100%);
    border-bottom: 1px solid #dcebfd;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hm-help-breadcrumb::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a73e8'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.hm-help-breadcrumb a {
    color: #1a73e8;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.hm-help-breadcrumb a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.hm-help-breadcrumb .separator {
    color: #90caf9;
    font-weight: bold;
    margin: 0 4px;
}

.hm-help-breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* 左侧边栏：淡蓝灰面板，与白色正文区分 */
.hm-help-sidebar {
    width: 232px;
    flex-shrink: 0;
    background: #f6f9fd;
    border: 1px solid #e6eef8;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.hm-help-sidebar-title {
    background: linear-gradient(135deg, #1a73e8 0%, #4fc3f7 100%);
    color: #fff;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hm-help-menu {
    padding: 12px 0;
}

.hm-help-menu-group {
    margin-bottom: 8px;
}

.hm-help-menu-header {
    display: flex;
    align-items: center;
    padding: 10px 20px 8px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.hm-help-menu-header:hover {
    background: #f8f9fa;
}

.hm-help-menu-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 12px;
    color: #1a73e8;
    transition: transform 0.2s;
}

.hm-help-menu-header.collapsed .hm-help-menu-arrow {
    transform: rotate(-90deg);
}

.hm-help-menu-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.hm-help-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.hm-help-menu-list.collapsed {
    max-height: 0 !important;
}

.hm-help-menu-item a {
    display: block;
    padding: 8px 20px 8px 48px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.hm-help-menu-item a:hover {
    color: #1a73e8;
    background: #fff;
    padding-left: 52px;
}

.hm-help-menu-item.active a {
    color: #1a73e8;
    background: #fff;
    font-weight: 600;
    border-left-color: #1a73e8;
    box-shadow: 0 1px 4px rgba(26,115,232,0.10);
}

/* 右侧内容区：与侧栏之间用竖分隔线区分 */
.hm-help-content {
    flex: 1;
    min-width: 0;
    padding: 4px 0 0 28px;
    border-left: 1px solid #eef2f7;
    box-sizing: border-box;
}

.hm-help-article-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1a73e8;
    line-height: 1.4;
}

.hm-help-article-body {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.hm-help-article-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a73e8;
    margin: 32px 0 14px;
    padding-left: 12px;
    border-left: 4px solid #1a73e8;
    line-height: 1.4;
}

.hm-help-article-body h3:first-child {
    margin-top: 0;
}

.hm-help-article-body p {
    margin: 12px 0;
    line-height: 1.8;
}

.hm-help-article-body ul,
.hm-help-article-body ol {
    margin: 12px 0;
    padding-left: 24px;
}

.hm-help-article-body li {
    margin: 8px 0;
    line-height: 1.7;
}

.hm-help-article-body strong {
    color: #222;
    font-weight: 600;
}

/* 信息提示框 */
.hm-help-info-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border: 1px solid #d0e4ff;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 20px 0;
}

.hm-help-info-box p {
    margin: 8px 0 !important;
    font-size: 13px;
    color: #333;
}

/* 联系卡片 */
.hm-help-contact-card {
    background: linear-gradient(135deg, #1a73e8 0%, #4fc3f7 100%);
    color: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin: 24px 0;
    box-shadow: 0 6px 20px rgba(26,115,232,0.25);
}

.hm-help-contact-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #fff;
}

.hm-help-contact-card p {
    margin: 10px 0 !important;
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

/* 表格 */
.hm-help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hm-help-table th,
.hm-help-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid #e8e8e8;
}

.hm-help-table th {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.hm-help-table td {
    color: #555;
    background: #fff;
}

.hm-help-table tr:nth-child(even) td {
    background: #fafbfc;
}

.hm-help-table tr:hover td {
    background: #f0f7ff;
    transition: background 0.15s;
}

/* 步骤列表 */
.hm-help-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.hm-help-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 36px;
    margin: 14px 0;
    line-height: 1.7;
}

.hm-help-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #1a73e8 0%, #4fc3f7 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* 特性列表 */
.hm-help-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.hm-help-feature-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px 20px;
    border-left: 4px solid #1a73e8;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hm-help-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hm-help-feature-item strong {
    display: block;
    color: #1a73e8;
    font-size: 14px;
    margin-bottom: 6px;
}

.hm-help-feature-item span {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}
