/* The help centre (/help/). Loaded after site.css, get.css and guide.css: it reuses their wall head,
   steps, answer box, tags, tables and next cards, and adds only the help's own parts. Phone first. */
button.pill { border: 0; cursor: pointer; }
.help .g-head .g-acts { margin-top: 24px; }
.h-free { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }

/* topics: a row of chips to jump to a group */
.h-jump ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.h-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 19, 26, 0.12); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.h-jump a:hover { box-shadow: inset 0 0 0 1.5px rgba(20, 19, 26, 0.3); }
.h-group { scroll-margin-top: 84px; }
.h-group .g-next { margin-top: 16px; }
.h-group h2 { margin-top: 52px; }

/* steps beside a real screenshot on wide screens, the screenshot under them on a phone */
.h-how { display: grid; gap: 8px 40px; }
.h-shot { margin: 4px auto 0; width: min(100%, 300px); }
.h-shot img { display: block; width: 100%; height: auto; border-radius: 28px; background: var(--wall); box-shadow: inset 0 0 0 1px rgba(20, 19, 26, 0.08), 0 30px 60px -34px rgba(30, 20, 30, 0.55), 0 12px 24px -16px rgba(30, 20, 30, 0.3); }
.h-shot figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); text-align: center; }
@media (min-width: 820px) {
  .h-with-shot { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
  .h-with-shot .h-shot { margin-top: 26px; position: sticky; top: 96px; }
}

/* widget table: the status tag, then what it needs */
.h-widgets .tag { height: 28px; font-size: 13px; padding: 0 10px; }
.h-need { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* still stuck: the helper and your own AI */
.h-ask { margin: 44px 0 0; padding: 18px 20px 20px; border-radius: 22px; background: var(--wall); }
.h-ask p { margin: 0; color: var(--ink); }
.h-ask .g-acts { margin-top: 14px; }
.h-ai .h-plab { display: block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.h-prompt { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; border: 0; border-radius: 18px; background: #fff; color: var(--ink-2); font: 400 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace; resize: vertical; box-shadow: inset 0 0 0 1.5px rgba(20, 19, 26, 0.1); }
@media (max-width: 560px) { .help .g-head .pill-lg { width: 100%; } }

/* the design file format page: code blocks scroll inside themselves, long names wrap */
.h-fmt code { font: 500 0.88em/1.4 ui-monospace, "SF Mono", Menlo, monospace; padding: 1px 5px; border-radius: 6px; background: rgba(20, 19, 26, 0.06); color: var(--ink); overflow-wrap: anywhere; }
.h-fmt .h-code { margin: 16px 0 0; padding: 16px 18px; max-width: 100%; overflow-x: auto; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 19, 26, 0.1); }
.h-fmt .h-code code { padding: 0; background: none; font-size: 13.5px; overflow-wrap: normal; white-space: pre; }
.h-fmt .g-table td, .h-fmt .g-table th { overflow-wrap: anywhere; }
.h-fmt .h-ol { margin: 12px 0 0; padding-left: 22px; color: var(--ink-2); line-height: 1.55; }
.h-fmt .h-ol li { padding: 0 0 8px; }
.g-list a { font-weight: 600; color: var(--ink); }

/* "couch-tv" never breaks at its hyphen (help-build.mjs wraps it in .nw) */
.nw { white-space: nowrap; font-style: normal; font-size: inherit; }
.nwt { font-style: normal; font-size: inherit; }

/* words we use: a plain list of terms, each with its own anchor for links from the app */
.h-words { margin: 8px 0 0; padding: 0; }
.h-word { padding: 16px 0; border-bottom: 1px solid rgba(20, 19, 26, 0.1); scroll-margin-top: 84px; }
.h-word dt { font-weight: 700; font-size: 17px; color: var(--ink); }
.h-word dd { margin: 4px 0 0; color: var(--ink-2); line-height: 1.5; }
.h-word .h-wsee { display: inline-block; margin-left: 4px; font-weight: 600; color: var(--ink); }
.h-word:target { background: var(--wall); border-radius: 14px; padding-left: 12px; padding-right: 12px; }

/* header (HEADER-SPEC.md): no Help link here, so Sell designs takes the push to the right on wide screens */
.help .nav > .nav-sell { margin-left: auto; }
