:root {
  --bg-primary: #0f172a;
  --bg-tertiary: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.12);
  --radius: 8px;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body.help-page {
  margin: 0;
  min-height: 100%;
  background: var(--bg-primary);
  color: var(--text);
  font-family: var(--font-ui);
}

.help-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  line-height: 1.5;
}

.help-main h1 { margin: 0 0 16px; font-size: 22px; }
.help-main a { color: #93c5fd; }

.help-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.help-lang-switch select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-tertiary);
  color: var(--text);
  padding: 3px 6px;
  font-size: 11px;
}

.help-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-tertiary);
  overflow: hidden;
}

.help-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 36px 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
  position: relative;
  user-select: none;
}

.help-faq-item summary::-webkit-details-marker { display: none; }

.help-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1;
}

.help-faq-item[open] summary::after {
  content: '−';
}

.help-faq-body {
  padding: 0 16px 14px;
  border-top: 1px solid var(--border);
}

.help-faq-body p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--text);
}

.help-faq-body ol {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 14px;
}

.help-faq-body li {
  margin: 8px 0;
  color: var(--text);
}

.help-faq-body p:first-child {
  margin-top: 12px;
}

.help-faq-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
}
