:root {
  --help-border: rgba(var(--ink-rgb), .14);
  --help-surface: var(--card);
  --help-text: var(--ink);
  --help-muted: var(--muted);
  --help-accent: var(--accent);
}

body { background: var(--ground); color: var(--help-text); }
.help-site-header { background: var(--card); border-bottom: 1px solid var(--help-border); }
.help-site-nav { display: flex; align-items: center; gap: 22px; width: min(100%, 880px); min-height: 76px; margin: 0 auto; padding: 12px 24px; }
.help-site-nav .nav-brand { color: var(--ink); text-decoration: none; white-space: nowrap; }
.help-site-nav .mark { width: 34px; height: 34px; }
.help-site-nav .wordmark { font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.help-site-label { padding-left: 22px; border-left: 1px solid var(--help-border); color: var(--help-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.help-site-links { display: flex; align-items: center; gap: 24px; margin-left: auto; white-space: nowrap; }
.help-site-links a { color: var(--help-text); font-size: 13px; font-weight: 700; text-decoration: none; }
.help-site-links a:hover { color: var(--accent-text, var(--help-accent)); }
.help-site-links a:last-child { padding: 10px 14px; border: 1px solid var(--help-border); border-radius: 10px; }
.help-page { width: min(100%, 880px); min-height: 68vh; margin: 0 auto; padding: 48px 24px 76px; }
.help-head { max-width: 760px; }
.help-head h1 { margin: 0 0 24px; color: var(--help-text); font-size: clamp(34px, 4vw, 42px); line-height: 1.16; letter-spacing: -.035em; }
.help-search-label, .help-count { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#help-search {
  width: 100%; min-height: 52px; padding: 10px 18px 10px 48px;
  border: 1px solid var(--help-border); border-radius: 12px;
  background: var(--help-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23d6336c' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") no-repeat 16px center;
  color: var(--help-text); font: inherit; font-size: 15px;
}
#help-search::placeholder { color: var(--help-muted); opacity: 1; }
#help-search:focus-visible, .help-filters button:focus-visible, .help-articles summary:focus-visible, .help-contact a:focus-visible, .help-site-nav a:focus-visible { outline: 3px solid var(--help-accent); outline-offset: 3px; }
.help-filters { display: flex; gap: 26px; max-width: 100%; overflow-x: auto; margin: 18px 0 0; border-bottom: 1px solid var(--help-border); }
.help-filters button { flex: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 10px 0 11px; background: transparent; color: var(--help-muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.help-filters button:hover { color: var(--help-text); }
.help-filters button[aria-pressed="true"] { color: var(--accent-text, var(--help-accent)); border-bottom-color: var(--help-accent); }
.help-articles { border-bottom: 1px solid var(--help-border); }
.help-articles details { border-top: 1px solid var(--help-border); }
.help-articles details[hidden] { display: none; }
.help-articles summary { display: flex; align-items: center; gap: 18px; min-height: 57px; padding: 12px 4px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; }
.help-articles summary::-webkit-details-marker { display: none; }
.help-articles summary span { flex: 1; }
.help-articles summary small { display: none; }
.help-articles summary::after { content: ''; flex: none; width: 8px; height: 8px; margin-left: 7px; border-right: 2px solid var(--help-accent); border-bottom: 2px solid var(--help-accent); transform: rotate(45deg); transition: transform .15s ease; }
.help-articles details[open] summary::after { transform: rotate(225deg); }
.help-articles details > div { max-width: 76ch; padding: 0 20px 18px 4px; color: var(--help-muted); font-size: 14px; line-height: 1.65; }
.help-articles details > div p { max-width: none; margin: 0 0 12px; }
.help-empty { padding: 24px 0; color: var(--help-muted); }
.help-contact { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--help-border); }
.help-contact h2 { margin: 0 0 5px; color: var(--help-text); font-size: 18px; }
.help-contact p { max-width: 55ch; margin: 0; color: var(--help-muted); font-size: 13px; line-height: 1.6; }
.help-contact-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.help-contact-actions a { color: var(--accent-text, var(--help-accent)); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.help-contact-actions a:hover { color: var(--accent-text-hover, var(--accent-hover)); }
@media (max-width: 640px) {
  .help-site-nav { min-height: 66px; gap: 12px; padding: 10px 20px; }
  .help-site-nav .mark { width: 30px; height: 30px; }
  .help-site-nav .wordmark { display: none; }
  .help-site-label { padding-left: 12px; font-size: 12px; }
  .help-site-links { display: none; }
  .help-page { padding: 32px 20px 60px; }
  .help-filters { gap: 18px; }
  .help-contact { flex-direction: column; align-items: flex-start; gap: 14px; }
  .help-contact-actions { flex-wrap: wrap; }
}
@media (max-width: 380px) { .help-site-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .help-articles summary::after { transition: none; } }
