/* ============================================
   氢能学习 · 样式 (hydrogen.css)
   移动端优先 · 深色科技风 · 氢能蓝色系
   2026-09-02
   ============================================ */
:root {
    --bg: #0d1117;
    --bg-card: #161b22;
    --bg-card2: #1c2333;
    --border: #2d333b;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --accent: #4ecdc4;       /* 氢能青 */
    --accent2: #3b82f6;      /* 科技蓝 */
    --accent3: #f0883e;      /* 辅助橙 */
    --danger: #ff6b6b;
    --gold: #f5c518;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    font-size: 16px;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 60px;
    -webkit-font-smoothing: antialiased;
}

/* ====== 顶部导航 ====== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,17,23,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand {
    font-size: 18px;
    font-weight: 700;
}
.brand-icon { margin-right: 4px; }
.nav-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-tab {
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-tab.active {
    background: rgba(78,205,196,0.15);
    color: var(--accent);
    font-weight: 600;
}

.page { padding: 12px; }

/* ====== 卡片 ====== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}
.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-action {
    font-size: 14px;
    color: var(--accent);
    cursor: pointer;
    font-weight: 400;
}

/* ====== 提示文字 ====== */
.wave-hint {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ====== 阶段卡片 ====== */
.stage-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stage-hours {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}
.module-block {
    margin-bottom: 12px;
    padding: 12px;
    background: var(--bg-card2);
    border-radius: 8px;
}
.module-header {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.module-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: auto;
}
.lesson-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.lesson-chip {
    padding: 4px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.lesson-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(78,205,196,0.08);
}

/* ====== 课时列表（知识库） ====== */
.lesson-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45,51,59,0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.lesson-row:last-child { border-bottom: none; }
.lesson-row:hover { background: rgba(78,205,196,0.04); margin: 0 -4px; padding: 10px 4px; border-radius: 6px; }
.lesson-row-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 40px;
}
.lesson-row-middle { flex: 1; }
.lesson-row-title { font-size: 15px; margin-bottom: 4px; }
.lesson-row-summary { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.lesson-row-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.lesson-row-right {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 20px;
}

/* ====== 级别徽章 ====== */
.lv { font-size: 12px; padding: 2px 6px; border-radius: 8px; white-space: nowrap; }
.lv-free  { background: rgba(245,197,24,0.15); color: var(--gold); }
.lv-core  { background: rgba(240,136,62,0.15); color: var(--accent3); }
.lv-normal { background: rgba(139,148,158,0.15); color: var(--text-secondary); }

/* ====== 搜索框 ====== */
.search-box { margin: 4px 0; }
.search-box input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.search-box input:focus {
    border-color: var(--accent);
}
.search-box input::placeholder {
    color: var(--text-muted);
}

/* ====== 筛选标签 ====== */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.filter-tag {
    padding: 4px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.filter-tag.active {
    background: rgba(78,205,196,0.15);
    border-color: var(--accent);
    color: var(--accent);
}

/* ====== 问题行 ====== */
.problem-row {
    padding: 12px 0;
    border-bottom: 1px solid rgba(45,51,59,0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.problem-row:last-child { border-bottom: none; }
.problem-row:hover { background: rgba(78,205,196,0.04); margin: 0 -4px; padding: 12px 4px; border-radius: 6px; }
.problem-row-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.problem-row-symptoms { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.problem-row-meta { font-size: 12px; color: var(--text-muted); margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.cat-tag {
    padding: 2px 8px;
    background: rgba(78,205,196,0.1);
    border: 1px solid rgba(78,205,196,0.2);
    border-radius: 8px;
    font-size: 12px;
    color: var(--accent);
}
.badge {
    font-size: 12px;
    padding: 2px 8px;
    background: rgba(78,205,196,0.15);
    border-radius: 10px;
    color: var(--accent);
}

/* ====== 查询模式 ====== */
.query-mode {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}
.query-mode-btn {
    flex: 1;
    padding: 8px;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}
.query-mode-btn.active {
    background: rgba(78,205,196,0.15);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}
.query-input-area { margin-top: 8px; }
.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}
.hot-tag {
    padding: 4px 10px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 14px;
    font-size: 12px;
    color: var(--accent2);
    cursor: pointer;
    transition: all 0.2s;
}
.hot-tag:hover {
    background: rgba(59,130,246,0.2);
}

/* ====== 按钮 ====== */
.btn-primary {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ====== 查询结果 ====== */
.result-problem-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.result-symptoms { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
.result-section-title { font-size: 14px; font-weight: 600; color: var(--accent); margin: 12px 0 8px; }
.result-mod-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.result-mod-title.sub { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

.match-list { display: flex; flex-direction: column; gap: 6px; }
.match-item {
    padding: 10px 12px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.match-item:hover { border-color: var(--accent); }
.match-desc { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.mod-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}
.mod-item:hover { border-color: var(--accent2); }
.mod-item.mod-main { border-left: 3px solid var(--danger); }
.mod-rank {
    width: 20px;
    height: 20px;
    background: var(--accent2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.mod-tag {
    font-size: 11px;
    padding: 1px 6px;
    background: rgba(255,107,107,0.15);
    color: var(--danger);
    border-radius: 6px;
    margin-left: auto;
}
.mod-tag.sub {
    background: rgba(139,148,158,0.15);
    color: var(--text-muted);
}

.empty-result {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 2;
}

/* ====== 弹窗 ====== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 12px 60px;
    overflow-y: auto;
}
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
}
.modal-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg-card);
    z-index: 10;
}
.modal-close {
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0 8px;
    margin-right: 8px;
}
.modal-title {
    font-size: 16px;
    font-weight: 700;
    flex: 1;
}
.modal-body {
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

/* ====== 课时详情 ====== */
.lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    align-items: center;
}
.meta-item {
    font-size: 13px;
    color: var(--text-muted);
    padding: 2px 8px;
    background: var(--bg);
    border-radius: 6px;
}
.lesson-summary {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 12px;
    background: var(--bg-card2);
    border-radius: 8px;
    margin-bottom: 16px;
    line-height: 1.6;
}
.placeholder-content {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 15px;
}
.placeholder-sub {
    display: block;
    font-size: 13px;
    margin-top: 8px;
    color: var(--text-muted);
}
.sec { margin-bottom: 16px; }
.sec-title { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.sec-content { font-size: 15px; line-height: 1.8; color: var(--text-primary); }
.sec-content ul, .pd-list { padding-left: 20px; margin: 8px 0; }
.sec-content li, .pd-list li { margin-bottom: 4px; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 8px 0;
    overflow-x: auto;
    display: block;
}
.data-table th {
    background: var(--bg-card2);
    color: var(--accent);
    padding: 8px 10px;
    text-align: left;
    border: 1px solid var(--border);
    white-space: nowrap;
}
.data-table td {
    padding: 8px 10px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

/* ====== 关联问题区块 ====== */
.lesson-related {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.related-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--danger);
    margin-bottom: 8px;
}
.related-item {
    padding: 8px 12px;
    background: rgba(255,107,107,0.06);
    border: 1px solid rgba(255,107,107,0.15);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.related-item:hover { background: rgba(255,107,107,0.1); }
.related-arrow {
    font-size: 12px;
    color: var(--accent);
}

/* ====== 问题详情 ====== */
.problem-detail { }
.pd-line {
    margin-bottom: 12px;
}
.pd-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}
.pd-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}
.pd-list {
    padding-left: 20px;
    margin: 8px 0;
}
.pd-list li {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}
.pd-mods { display: flex; flex-direction: column; gap: 4px; }
.pd-rel-problems { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-mini {
    padding: 2px 8px;
    background: rgba(78,205,196,0.1);
    border: 1px solid rgba(78,205,196,0.2);
    border-radius: 8px;
    font-size: 12px;
    color: var(--accent);
}
.chip-mini.clickable { cursor: pointer; }
.chip-mini.clickable:hover { background: rgba(78,205,196,0.2); }
.sev-tag {
    font-size: 12px;
    padding: 2px 8px;
    background: rgba(255,107,107,0.15);
    color: var(--danger);
    border-radius: 8px;
}
/* ====== 案例库 ====== */
.case-block {
    background: rgba(245,197,24,0.06);
    border: 1px solid rgba(245,197,24,0.15);
    border-radius: 10px;
    padding: 12px;
}
.case-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}
.case-item {
    margin-bottom: 10px;
}
.case-item:last-child { margin-bottom: 0; }

/* ====== FAQ ====== */
.faq-item {
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    overflow: hidden;
}
.faq-q {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}
.faq-a {
    padding: 0 12px 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid rgba(59,130,246,0.1);
    padding-top: 10px;
}

/* ====== 教学金句 ====== */
.quote-item {
    background: rgba(245,197,24,0.06);
    border: 1px solid rgba(245,197,24,0.12);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 6px;
}
.quote-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
}
.quote-usage {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ====== 滚动条 ====== */
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(148,163,184,.25); border-radius: 4px; }

/* ====== 知识库视图切换 ====== */
.view-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.view-toggle-btn {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    background: rgba(148,163,184,.08);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all .15s;
}
.view-toggle-btn.active {
    background: var(--accent);
    color: #0b0f14;
    font-weight: 600;
}

/* ====== 部件速查卡 ====== */
.part-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform .15s, border-color .15s;
}
.part-card:active { transform: scale(.99); border-color: var(--accent); }
.part-header { display: flex; align-items: center; gap: 10px; }
.part-icon { font-size: 24px; }
.part-name { font-size: 15px; color: var(--text-primary); font-weight: 500; }
.part-module { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.part-summary { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.5; }
.part-params { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.param-item {
    font-size: 12px;
    color: var(--accent2);
    background: rgba(78,205,196,.08);
    border: 1px solid rgba(78,205,196,.15);
    padding: 3px 8px;
    border-radius: 6px;
}

/* ====== 课后测验 ====== */
.quiz-progress { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; text-align: center; }
.quiz-question { font-size: 16px; color: var(--text-primary); font-weight: 500; margin-bottom: 16px; line-height: 1.6; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-option {
    padding: 12px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all .15s;
}
.quiz-option:active { transform: scale(.98); }
.quiz-option.correct { border-color: #10b981; background: rgba(16,185,129,.1); color: #10b981; }
.quiz-option.wrong { border-color: #ef4444; background: rgba(239,68,68,.1); color: #ef4444; }
.quiz-explain { margin-top: 16px; }
.quiz-explain-inner {
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}
.quiz-explain-inner.ok { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.15); }
.quiz-explain-inner.no { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.15); }
.quiz-explain-detail { margin-top: 8px; color: var(--text-secondary); font-size: 13px; }
.quiz-result { text-align: center; padding: 20px; }
.quiz-result-score { font-size: 48px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.quiz-result-rank { font-size: 18px; color: var(--text-primary); margin-bottom: 6px; }
.quiz-result-tip { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.ch-symptoms { font-size: 14px; color: var(--text-secondary); line-height: 1.6; padding: 10px 12px; background: rgba(148,163,184,.06); border-radius: 8px; margin-top: 8px; }
.ch-step { font-size: 14px; color: var(--text-secondary); padding: 6px 0; border-bottom: 1px solid rgba(148,163,184,.06); }
.ch-step:last-child { border-bottom: none; }

/* ====== 案例库 ====== */
.case-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform .15s, border-color .15s;
}
.case-card:active { transform: scale(.99); border-color: #f97316; }
.case-card-header { font-size: 15px; color: var(--text-primary); margin-bottom: 4px; }
.case-card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.case-card-symptoms { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-card-footer { display: flex; flex-wrap: wrap; gap: 4px; }
.case-detail { padding: 4px 0; }
.case-detail-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.case-block { margin-bottom: 14px; }
.case-block-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.case-block-content { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ====== 进度追踪 ====== */
.progress-bar-wrap { height: 6px; background: rgba(148,163,184,.12); border-radius: 3px; margin: 6px 0 4px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, #4ecdc4, #44b09e); border-radius: 3px; transition: width .3s; }
.progress-text { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.module-progress { height: 4px; background: rgba(148,163,184,.08); border-radius: 2px; margin: 4px 0 8px; overflow: hidden; }
.module-progress .progress-bar-fill { height: 4px; }
.lesson-chip.done { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.08); }
.continue-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.continue-btn {
    font-size: 14px;
    padding: 8px 14px;
    background: rgba(78,205,196,.1);
    border: 1px solid rgba(78,205,196,.2);
    border-radius: 8px;
    color: var(--accent);
    cursor: pointer;
    transition: all .15s;
}
.continue-btn:active { transform: scale(.98); }

/* ====== 进度环 & 首页美化 ====== */
.progress-ring { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring .bg { fill: none; stroke: rgba(148,163,184,.1); stroke-width: 4; }
.progress-ring .fg { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .5s; }
.progress-ring-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--text-primary); }
.stage-card { padding: 18px; }
.stage-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.stage-info { flex: 1; }
.stage-name { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.stage-desc { font-size: 12px; color: var(--text-muted); }
.tip { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.module-block { background: rgba(148,163,184,.03); border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.module-header { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.module-header .module-count { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.module-progress { height: 3px; background: rgba(148,163,184,.08); border-radius: 2px; margin: 0 0 10px; overflow: hidden; }
.module-progress .progress-bar-fill { height: 3px; background: linear-gradient(90deg, #4ecdc4, #44b09e); border-radius: 2px; transition: width .3s; }
.lesson-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lesson-chip { font-size: 13px; padding: 6px 10px; background: rgba(148,163,184,.06); border: 1px solid var(--border); border-radius: 7px; cursor: pointer; transition: all .15s; color: var(--text-secondary); }
.lesson-chip:active { transform: scale(.97); border-color: var(--accent); }
.lesson-chip.done { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.08); color: var(--text-primary); }
.lesson-chip .chip-badge { font-size: 11px; margin-right: 2px; }

/* ====== 金句 & FAQ 卡片 ====== */
.quote-card, .faq-card { margin-bottom: 10px; }
.quote-text { font-size: 14px; color: var(--text-primary); line-height: 1.6; padding: 12px 14px; background: rgba(78,205,196,.06); border-left: 3px solid var(--accent); border-radius: 6px; }
.quote-meta, .faq-meta { font-size: 12px; color: var(--text-muted); margin-top: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.faq-q { font-size: 14px; font-weight: 600; color: var(--text-primary); padding: 10px 12px; background: rgba(250,204,21,.05); border-left: 3px solid #facc15; border-radius: 6px; }
.faq-a { font-size: 14px; color: var(--text-secondary); line-height: 1.6; padding: 10px 12px; margin-top: 6px; background: rgba(148,163,184,.04); border-radius: 6px; }
.chip-mini { font-size: 11px; padding: 2px 8px; background: rgba(78,205,196,.1); border: 1px solid rgba(78,205,196,.2); border-radius: 4px; color: var(--accent); }

/* ====== 行业概况卡片 ====== */
.ind-card { margin-bottom: 12px; padding: 14px; background: rgba(148,163,184,.03); border: 1px solid var(--border); border-radius: 10px; }
.ind-header { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ind-tag { font-size: 11px; font-weight: 400; padding: 2px 8px; background: rgba(78,205,196,.1); border: 1px solid rgba(78,205,196,.2); border-radius: 4px; color: var(--accent); }
.ind-facts { margin-bottom: 8px; }
.ind-fact { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; padding: 3px 0; }
.ind-summary { font-size: 13px; color: var(--text-primary); line-height: 1.6; padding: 10px 12px; background: rgba(250,204,21,.05); border-left: 3px solid #facc15; border-radius: 6px; margin-bottom: 8px; }
.ind-lessons { display: flex; gap: 6px; flex-wrap: wrap; }

/* ====== 运行时序时间轴 ====== */
.timing-block { margin-bottom: 16px; padding: 14px; background: rgba(148,163,184,.03); border: 1px solid var(--border); border-radius: 10px; }
.timing-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.timing-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.timing-axis { display: flex; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.timing-phase { padding: 8px 4px; text-align: center; cursor: pointer; transition: filter .15s; min-width: 0; }
.timing-phase:active { filter: brightness(1.3); }
.timing-axis .timing-phase:nth-child(1) { background: rgba(59,130,246,.45); }
.timing-axis .timing-phase:nth-child(2) { background: rgba(139,92,246,.45); }
.timing-axis .timing-phase:nth-child(3) { background: rgba(16,185,129,.45); }
.timing-axis .timing-phase:nth-child(4) { background: rgba(245,158,11,.45); }
.timing-axis .timing-phase:nth-child(5) { background: rgba(239,68,68,.45); }
.timing-axis .timing-phase:nth-child(6) { background: rgba(78,205,196,.45); }
.tp-name { font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-time { font-size: 10px; color: rgba(255,255,255,.8); margin-top: 2px; }
.timing-legend { display: flex; flex-direction: column; gap: 4px; }
.tl-item { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.tl-item b { color: var(--text-primary); }