/* 帮助中心（独立页，无主导航） */
html:has(.mo-help-body) {
  scrollbar-gutter: stable;
}

.mo-help-body {
  --mo-help-site-topbar: 44px;
  --mo-help-sub-topbar: 56px;
  margin: 0;
  min-height: 100vh;
  background: #f3f4f6;
  color: #374151;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

.mo-help-body .mo-topbar {
  position: relative;
  z-index: 20;
}

.mo-help-topbar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.mo-help-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mo-help-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.mo-help-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mo-help-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mo-help-brand-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}
.mo-help-topbar .mo-help-brand-text strong {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.mo-help-topbar .mo-help-brand-dot {
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.mo-help-topbar .mo-help-brand-sub {
  font-size: 20px;
  font-weight: 700;
  color: #2563eb;
}
.mo-help-brand-text strong {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.mo-help-brand-dot {
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.mo-help-brand-sub {
  font-size: 20px;
  font-weight: 700;
  color: #2563eb;
}
.mo-help-back {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  flex-shrink: 0;
}
.mo-help-back:hover { text-decoration: underline; }

.mo-help-layout {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.mo-help-sidebar {
  box-sizing: border-box;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px 0;
  position: sticky;
  top: 24px;
  align-self: start;
  max-height: calc(100vh - var(--mo-help-site-topbar) - var(--mo-help-sub-topbar) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mo-help-nav-group + .mo-help-nav-group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}
.mo-help-nav-title {
  margin: 0;
  padding: 8px 16px 6px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.mo-help-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mo-help-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  padding: 8px 16px 8px 17px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  border-left: 3px solid transparent;
  line-height: 1.4;
}
.mo-help-nav-link:hover {
  color: #2563eb;
  background: #f8fafc;
}
.mo-help-nav-link.is-active {
  color: #2563eb;
  background: #eff6ff;
  border-left-color: #2563eb;
  font-weight: 600;
}

.mo-help-main {
  min-width: 0;
  width: 100%;
}
.mo-help-article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px 36px 28px;
  min-height: 360px;
}
.mo-help-article-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}
.mo-help-article-body {
  font-size: 14px;
  line-height: 1.75;
  color: #374151;
}
.mo-help-article-body h2 {
  margin: 24px 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.mo-help-article-body h2:first-child { margin-top: 0; }
.mo-help-article-body p { margin: 0 0 12px; }
.mo-help-article-body ul,
.mo-help-article-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.mo-help-article-body li { margin-bottom: 6px; }
.mo-help-article-body a {
  color: #2563eb;
  text-decoration: none;
}
.mo-help-article-body a:hover { text-decoration: underline; }
.mo-help-lead {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 16px !important;
}
.mo-help-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 13px;
}
.mo-help-table th,
.mo-help-table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
}
.mo-help-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #111827;
}

.mo-help-article-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed #e5e7eb;
  font-size: 13px;
  color: #6b7280;
}
.mo-help-article-foot p { margin: 0; }

.mo-help-page-foot {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  text-align: center;
}
.mo-help-page-foot p {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 900px) {
  .mo-help-layout {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .mo-help-sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow-y: visible;
  }
  .mo-help-article {
    padding: 24px 20px 20px;
    min-height: 0;
  }
}

.mo-help-article--form {
  padding: 28px 32px 32px;
}
.mo-help-article--form .mo-uc-feedback-box {
  margin: 20px 0 0;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
}
.mo-help-form-alert {
  margin: 0 0 16px;
}
.mo-help-form-login-tip {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 13px;
  color: #92400e;
}
.mo-help-form-login-tip a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.mo-help-form-login-tip a:hover { text-decoration: underline; }
.mo-help-article--form .mo-uc-feedback-form {
  padding: 18px 20px 24px;
}
.mo-help-article--form .mo-uc-feedback-banner {
  padding: 12px 16px;
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

.mo-help-article--messages {
  padding: 28px 32px 32px;
}
.mo-help-messages-desc {
  margin: 8px 0 20px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}
.mo-help-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.mo-help-article--messages .mo-uc-messages-panel {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none;
}
.mo-help-article--messages .mo-uc-msg-tabs {
  padding-top: 8px;
}

.mo-help-feedback-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 16px 0 0;
  padding-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
}
.mo-help-feedback-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.mo-help-feedback-tab.is-active {
  color: #2563eb;
  font-weight: 700;
  border-bottom-color: #2563eb;
}
.mo-help-feedback-tab:hover { color: #2563eb; }

.mo-help-feedback-list { margin-top: 20px; }
.mo-help-feedback-empty {
  padding: 48px 20px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}
.mo-help-feedback-empty a {
  display: inline-block;
  margin-top: 12px;
  color: #2563eb;
  text-decoration: none;
}
.mo-help-feedback-records {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mo-help-feedback-record {
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.mo-help-feedback-record + .mo-help-feedback-record { margin-top: 12px; }
.mo-help-feedback-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.mo-help-feedback-record-title {
  font-size: 15px;
  color: #111827;
  min-width: 0;
}
.mo-help-feedback-record-status {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}
.mo-help-feedback-record.is-pending .mo-help-feedback-record-status {
  background: #fef3c7;
  color: #b45309;
}
.mo-help-feedback-record.is-return .mo-help-feedback-record-status {
  background: #fee2e2;
  color: #b91c1c;
}
.mo-help-feedback-record.is-done .mo-help-feedback-record-status {
  background: #dcfce7;
  color: #047857;
}
.mo-help-feedback-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}
.mo-help-feedback-record-content {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
}
.mo-help-feedback-record-reply {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
}
.mo-help-feedback-record.is-return .mo-help-feedback-record-reply {
  border-left-color: #dc2626;
  background: #fef2f2;
}
.mo-help-feedback-record-reply-label {
  font-weight: 600;
  color: #111827;
}
.mo-help-feedback-record-tip {
  margin: 10px 0 0;
  font-size: 12px;
  color: #b45309;
}
