/* ============================================================
 * 悦点进销存 Web 版 · 帮助中心样式（css/pages/help.css）
 * ------------------------------------------------------------
 * 对应文件：js/modules/help-center.js（帮助中心标签页）
 *            js/modules/feedback.js（同一页的「我的反馈」标签）
 * 设计：搜索框 + 分类胶囊 + 手风琴列表；主色沿用 --brand。
 * ============================================================ */

/* ---- 顶部标签（帮助中心 / 我的反馈） ---- */
.hc-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: fit-content;
}

.hc-tab {
  padding: 8px 20px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--t2);
  cursor: pointer;
  user-select: none;
  transition: background .16s, color .16s;
}

.hc-tab:hover { background: var(--line-soft); }

.hc-tab.active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* ---- 首屏引导 ---- */
.hc-hero {
  background: linear-gradient(135deg, #eef4ff 0%, #f2fbfb 100%);
  border: 1px solid #e2ecff;
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  margin-bottom: 14px;
}

.hc-hero-t {
  font-size: 17px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: .2px;
}

.hc-hero-s {
  margin-top: 6px;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.7;
}

.hc-search {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.hc-search .row-input {
  flex: 1;
  max-width: 520px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
  color: var(--t1);
}

.hc-search .row-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .12);
}

/* ---- 分类胶囊 ---- */
.hc-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 13px;
  color: var(--t2);
  cursor: pointer;
  user-select: none;
  transition: all .16s;
}

.hc-chip:hover { border-color: var(--brand); color: var(--brand); }

.hc-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.hc-chip-n {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(22, 119, 255, .1);
  color: var(--brand);
}

.hc-chip.active .hc-chip-n {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* ---- 列表 ---- */
.hc-list { display: flex; flex-direction: column; gap: 10px; }

.hc-group {
  margin: 10px 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 1px;
}

.hc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .16s, border-color .16s;
}

.hc-item:hover { box-shadow: var(--shadow-sm); }

.hc-item.open { border-color: #c9ddff; box-shadow: 0 4px 16px rgba(22, 119, 255, .08); }

.hc-q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}

.hc-qi {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(22, 119, 255, .1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-qt {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
  line-height: 1.5;
}

.hc-arrow {
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--t3);
  border-bottom: 1.6px solid var(--t3);
  transform: rotate(45deg);
  transition: transform .18s;
}

.hc-item.open .hc-arrow { transform: rotate(-135deg); }

.hc-a {
  display: none;
  padding: 0 16px 16px 48px;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.75;
}

.hc-item.open .hc-a { display: block; }

.hc-lead {
  padding: 2px 0 8px;
  color: var(--t1);
}

.hc-steps-t {
  font-size: 12px;
  font-weight: 700;
  color: var(--t3);
  margin: 6px 0 4px;
}

.hc-steps {
  margin: 0 0 6px 18px;
  padding: 0;
}

.hc-steps li {
  margin: 3px 0;
  color: var(--t2);
}

.hc-actions { margin-top: 10px; }

.hc-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--t3);
  font-size: 13px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

/* ---- 底部：没找到答案 ---- */
.hc-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--t2);
}

/* 20261111s：客服口径改成 QQ 71974248 —— 号码做成可点击的蓝字，点一下复制 */
.hc-qq { color: var(--brand); font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(22, 119, 255, .5); }
.hc-qq:hover { color: var(--brand-deep); border-bottom-style: solid; }
