/* HeyShutter help center (heyshutter.com/help). The layout and tokens come from the marketing site's
   /assets/styles.css (page-hero, legal-hero, help-layout, howto, cards); this adds the search box, the topic
   lists, the side list on a doc, and the helpful vote. */
.hh-search { margin-top: 26px; width: 100%; max-width: 640px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); }
.hh-search:focus-within { border-color: var(--ink); }
.hh-search svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--muted); }
.hh-search input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 16px var(--font-body); }
.hh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hh-crumbs a { color: inherit; text-decoration: none; }
.hh-crumbs a:hover { text-decoration: underline; }
.hh-open { color: var(--ink); font-family: var(--font-body); font-weight: 600; text-underline-offset: 3px; }

.hh-group h2 a { color: var(--ink); text-decoration: none; }
.hh-group__lede { margin-top: -8px; font-size: 17px; }
.hh-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hh-topic { padding: 22px 24px; gap: 10px; }
.hh-topic h3 { font-size: 19px; letter-spacing: -0.01em; }
.hh-topic h3 a { color: var(--ink); text-decoration: none; }
.hh-topic ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.hh-topic li a { color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.4; }
.hh-topic li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hh-more { margin-top: auto; padding-top: 4px; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.hh-support { margin-top: clamp(32px, 5vw, 48px); }

.hh-list { padding-block: clamp(32px, 5vw, 56px) clamp(64px, 8vw, 112px); }
.hh-list__head { margin-top: 36px; font-size: clamp(22px, 2.4vw, 28px); }
.hh-list__head a { color: var(--ink); text-decoration: none; }
.hh-docs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; max-width: 860px; }
.hh-docs a { display: grid; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); }
.hh-docs a:hover { border-color: var(--ink); }
.hh-docs span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.hh-empty { color: var(--ink-2); font-size: 17px; }

.legal-toc .hh-side__title { margin-top: 26px; }
.hh-side { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; }
.hh-side a { color: var(--ink-2); text-decoration: none; }
.hh-side a:hover { color: var(--ink); text-decoration: underline; }
.hh-side__all { display: inline-block; margin-top: 18px; font-size: 14.5px; color: var(--ink); }
.hh-article .prose { max-width: 70ch; }
.hh-article .prose h2 { margin-top: 1.4em; scroll-margin-top: 96px; }
.hh-article .prose h2:first-child { margin-top: 0; }
.help-related ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.faq details summary::after { content: "+"; float: right; font-family: var(--font-mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }

.hh-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hh-vote > span { font-weight: 600; margin-right: 4px; }
.hh-vote__thanks { color: var(--ok); font-style: normal; }
.hh-vote__more { flex-basis: 100%; display: grid; gap: 8px; }
.hh-vote__more textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: 15px var(--font-body); }
.hh-vote__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 980px) { .hh-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hh-topics { grid-template-columns: 1fr; }
  .hh-search { padding-left: 12px; }
  .hh-search button { padding-inline: 14px; }
}
