.help-center { padding-block: 44px 72px; }
.help-heading { margin-bottom: 28px; text-align: center; }
.help-heading h1 { margin: 0; color: var(--ink-strong); font-size: clamp(28px, 3vw, 38px); line-height: 1.4; }
.help-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 32px; }
.help-topic { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; }
.help-topic.is-active { border-color: var(--accent); background: var(--surface-soft); }
.help-topic:hover { border-color: var(--accent); }
.help-topic h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.5; color: var(--ink-strong); }
.help-topic p { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.help-topic-action { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.help-center svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.help-list-panel { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); scroll-margin-top: 100px; }
.help-list-heading { text-align: center; margin-bottom: 22px; }
.help-list-heading h2 { margin: 0 0 8px; font-size: 26px; color: var(--ink-strong); }
.help-list-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.help-search { display: flex; justify-content: center; gap: 10px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.help-search .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.help-search input[type="search"] { flex: 1; min-width: 0; max-width: 360px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink-strong); font: inherit; font-size: 14px; }
.help-search input::placeholder { color: var(--muted); }
.help-search > a { font-size: 14px; color: var(--accent-dark); }
.help-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.help-article { min-width: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); display: flex; flex-direction: column; }
.help-article h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.help-article h3 a { color: var(--ink-strong); text-decoration: none; }
.help-article h3 a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.help-article > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.help-article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; font-size: 12px; color: var(--muted); }
.help-article-meta a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--accent-dark); text-decoration: none; }
.help-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 24px; font-size: 14px; }
.help-empty { grid-column: 1 / -1; padding: 28px 16px; text-align: center; }
.help-empty h3 { margin: 0 0 12px; font-size: 18px; }
.help-empty p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.help-center a:focus-visible, .help-center input:focus-visible, .help-center button:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
@media (max-width: 980px) {
  .help-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-topic { padding: 18px; }
  .help-topic h2 { font-size: 18px; }
}
@media (max-width: 760px) {
  .help-center { padding-block: 28px 48px; }
  .help-topics { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .help-topic { padding: 16px 18px; }
  .help-topic p { margin-bottom: 12px; }
  .help-list-panel { padding: 20px 14px; }
  .help-articles { grid-template-columns: 1fr; gap: 12px; }
  .help-article { padding: 16px; }
}
