/* help.css -- 帮助中心浮窗样式（纯白，遵循 about 风格与平台设计令牌） */

.help-page {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif);
  height: 100%;
  min-height: 0;
}

.hp-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid #ececf0;
}
.hp-head-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #555;
  padding: 3px 10px;
  border: 1px solid #e2e2e8;
  border-radius: 20px;
}
.hp-head-sub {
  margin-top: 8px;
  font-size: 13px;
  color: #8a8a93;
}

.hp-layout {
  display: flex;
  gap: 0;
  flex: 1;
  min-height: 0;
}

/* 左侧目录 */
.hp-nav {
  width: 158px;
  flex-shrink: 0;
  border-right: 1px solid #ececf0;
  padding: 12px 8px;
  overflow-y: auto;
}
.hp-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  margin-bottom: 2px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.hp-nav-item:hover {
  background: #f5f5f8;
}
.hp-nav-item.active {
  background: #eef1ff;
  color: #3b4bd8;
  font-weight: 600;
}
.hp-nav-title {
  white-space: nowrap;
}

/* 右侧内容 */
.hp-panels {
  flex: 1;
  min-width: 0;
  padding: 16px 20px 20px;
  overflow-y: auto;
}
.hp-panel {
  display: none;
}
.hp-panel.active {
  display: block;
}
.hp-panel-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e1e24;
  margin: 0 0 12px;
}

/* 折叠问答 */
.hp-faq-item {
  border-bottom: 1px solid #f0f0f3;
}
.hp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 2px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.hp-faq-q:hover {
  color: #3b4bd8;
}
.hp-faq-qtext {
  flex: 1;
}
.hp-faq-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #9a9aa3;
  border-bottom: 1.5px solid #9a9aa3;
  transform: rotate(45deg);
  margin-left: 10px;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.hp-faq-item.open .hp-faq-caret {
  transform: rotate(-135deg) translate(-1px, -1px);
}
.hp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease;
}
.hp-faq-item.open .hp-faq-a {
  max-height: 300px;
}
.hp-faq-a p {
  margin: 0 0 14px;
  padding: 0 14px 0 2px;
  font-size: 13px;
  line-height: 1.7;
  color: #5b5b63;
}

/* 底部 CTA */
.hp-footer {
  padding: 14px 22px 20px;
  border-top: 1px solid #ececf0;
  font-size: 13px;
}
.hp-foot-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.hp-foot-desc {
  color: #8a8a93;
  margin: 0 0 8px;
  line-height: 1.6;
}
.hp-foot-mail {
  color: #3b4bd8;
  text-decoration: none;
  font-weight: 500;
}
.hp-foot-mail:hover {
  text-decoration: underline;
}
