/* The help pages (tutorial, documentation, FAQ, changelog). Loaded after site.v1.css.
   This file is cached for a year: when you change it, save it under a new name (help.v3.css)
   and change the link in the four pages. */
.doc.help { max-width: 820px; }
.doc .lede { margin-top: 16px; font-size: 1.15rem; max-width: 60ch; }
.doc h3 { margin-top: 28px; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }
.doc ol { margin-top: 12px; padding-left: 1.4em; }
.doc ol li + li { margin-top: 6px; }

/* The row of links between the help pages. */
.helpnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 30px; }
.helpnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); text-decoration: none; font-weight: 500; }
.helpnav a:hover { background: var(--tint); }
.helpnav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* "On this page" list. */
.doc .toc { list-style: none; margin-top: 20px; padding: 16px 20px; border-radius: 16px; background: var(--card); display: grid; gap: 4px; }
.doc .toc li + li { margin-top: 0; }
.doc .toc a { display: inline-flex; align-items: center; min-height: 36px; }

/* Parts of the home page reused inside an article. */
.doc .steps { margin-top: 20px; padding: 0; }
.doc .steps li + li { margin-top: 0; }
.doc .steps p { margin-top: 4px; }
.doc .ticks { margin-top: 16px; padding-left: 0; }
.doc .ticks li + li { margin-top: 0; }
.doc .shot { margin-top: 24px; }
.doc .faq { margin-top: 16px; max-width: none; }
.doc .faq details p { margin-top: 0; }
.doc .faq details ul, .doc .faq details ol { margin: 0; padding: 0 20px 18px 40px; color: var(--muted); max-width: 64ch; }
.doc .faq details p + p { padding-top: 0; }

/* A note, and a table that scrolls sideways on a phone instead of breaking the page. */
.doc .note { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--tint); }
.doc .tablewrap { margin-top: 16px; overflow-x: auto; border-radius: 14px; background: var(--card); }
.doc table { width: 100%; min-width: 520px; border-collapse: collapse; }
.doc th, .doc td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }

/* Changelog entries. */
.doc .release { margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: var(--card); }
.doc .release h2 { margin-top: 0; }
.doc .release .meta { margin-top: 6px; }

/* A plain list inside a numbered step keeps its own look. */
.doc .steps li ol, .doc .steps li ul { margin-top: 8px; padding-left: 1.3em; color: var(--muted); }
.doc .steps li li { display: list-item; padding: 0; border-radius: 0; background: none; counter-increment: none; }
.doc .steps li li::before { content: none; }
.doc .steps li li + li { margin-top: 6px; }

/* A video clip inside an article. */
.doc .clip video { display: block; width: 100%; height: auto; border-radius: 16px; background: #1f1512; box-shadow: 0 1px 0 rgba(59, 42, 36, 0.06), 0 24px 60px -24px rgba(59, 42, 36, 0.45); }
