/* The blog (/blog/) and the help centre (/help/), built by build.mjs from
   content/. Loaded on those pages only, after site.css. Colours come from the
   variables in site.css, so light and dark both work. Class names start with
   "c-" so they never clash with the rest of the site. */

/* ---------- the reading column ---------- */
.c-article { font-size: 1.0625rem; line-height: 1.7; max-width: 700px; padding-top: 26px; padding-bottom: 36px; }
.c-article h1 { margin-bottom: .35em; }
.c-article h2 { font-size: 1.55rem; margin-top: 1.8em; }
.c-article h3 { font-size: 1.22rem; margin-top: 1.5em; }
.c-article h4 { font: 700 1rem/1.35 var(--sans); margin: 1.4em 0 .4em; }
.c-article code { font-family: ui-monospace, Consolas, "Courier New", monospace; font-size: .88em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
.c-article pre { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: .9rem; line-height: 1.5; margin: 0 0 1.2em; }
.c-article pre code { background: none; padding: 0; font-size: inherit; }
.c-article blockquote { margin: 1.4em 0; padding: 2px 0 2px 18px; border-left: 4px solid var(--hl); color: var(--muted); }
.c-article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.c-article .table-wrap { margin: 1.4em 0; }
/* A wide table keeps readable columns on a phone and scrolls sideways. */
@media (max-width: 640px) { .c-article .table-wrap table { min-width: 34rem; } }
.c-al-c { text-align: center; }
.c-al-r { text-align: right; }
.c-kicker { margin: 0; font: 700 .8rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.c-kicker a, .c-kicker span { display: inline-block; padding: 12px 0; color: var(--muted); }
.c-meta { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.c-meta a { color: var(--muted); display: inline-block; padding: 10px 0; }
.c-hero { margin: 22px 0 26px; }
.c-hero img, .c-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.c-figure { margin: 1.6em 0; }
.c-figure figcaption { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--muted); }

/* ---------- boxes ---------- */
.c-tldr, .c-callout, .c-box, .c-cta { border-radius: var(--radius); padding: 18px 20px; margin: 1.6em 0; }
.c-tldr > :last-child, .c-callout > :last-child, .c-box > :last-child, .c-cta > :last-child { margin-bottom: 0; }
.c-article .c-box-title { font: 700 .8rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.c-tldr { background: var(--hl-soft); }
.c-tldr .c-box-title { color: var(--fg); }
.c-callout { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); }
.c-tip { border-left-color: var(--hl); }
.c-warning { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-fg); }
.c-warning .c-box-title { color: var(--warn-fg); }
.c-box { background: var(--surface); border: 1px solid var(--line); }
.c-result { border-left: 5px solid var(--hl); }
.c-fixes ul, .c-fixes ol, .c-before ul { margin-bottom: 0; }
.c-fixes li + li { margin-top: .6em; }
.c-verify { background: var(--warn-bg); color: var(--warn-fg); border: 1px dashed var(--warn-line); border-radius: 4px; padding: 0 4px; }
.c-faq { margin: 1.2em 0; max-width: none; }
.c-faq summary { min-height: 44px; }

/* Numbered steps: one action each, with room for a screenshot. */
.c-steps { list-style: none; padding: 0; margin: 1.4em 0; counter-reset: c-step; }
.c-steps > li { counter-increment: c-step; position: relative; margin: 0; padding: 3px 0 16px 48px; }
.c-steps > li + li { border-top: 1px solid var(--line); padding-top: 16px; }
.c-steps > li::before { content: counter(c-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hl); color: #1b2440; font: 700 .95rem/1 var(--sans); }
.c-steps > li + li::before { top: 13px; }
.c-steps .c-figure { margin: 12px 0 4px; }
.c-steps p:last-child { margin-bottom: 0; }

/* Help: names of buttons and menus, written in bold, look like labels. */
.c-help .c-body strong { font: 600 .94em var(--sans); background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 0 .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.c-help .c-fixes li > strong:first-child, .c-help .c-box-title strong { background: none; border: 0; padding: 0; }

/* ---------- calls to action ---------- */
/* The line under a post's summary box: an icon, the sentence, a pill link. */
.c-cta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.4; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--hl); border-radius: var(--radius); padding: 14px 18px; margin: 1.6em 0; box-shadow: 0 2px 10px rgba(27, 36, 64, .06); }
.c-cta-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hl-soft); color: var(--fg); }
.c-cta-text { flex: 1 1 260px; min-width: 0; }
.c-cta-link { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font: 600 .98rem/1.25 var(--sans); text-decoration: none; transition: background .15s, transform .15s; }
.c-article .c-cta-line .c-cta-link, .c-article .c-cta-line .c-cta-link:hover { color: var(--accent-fg); text-decoration: none; }
.c-cta-link:hover { background: var(--accent-hover); transform: translateX(2px); }
.c-cta-link svg { flex: none; }
@media (max-width: 560px) { .c-cta-line { padding: 14px; } .c-cta-link { width: 100%; justify-content: center; } }
.c-cta { background: var(--accent-soft); }
.c-cta-heading { font: 600 1.35rem/1.2 var(--serif); margin: 0 0 6px; }
.c-cta-store { text-align: center; padding: 24px 20px; }
.c-cta-note { margin: 0 0 16px; color: var(--muted); }
.c-cta-store .store-note { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.c-article .c-cta-store .store-other a { color: inherit; }
.c-article .c-cta .btn { color: var(--accent-fg); text-decoration: none; }
/* The one call to action of a blog post, in the middle: bigger, with the KhuHu mark (owner, 27 Nov 2026). */
.c-cta-store[data-size="big"] { position: relative; overflow: hidden; margin: 2.6em 0; padding: 40px 28px 34px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(160deg, var(--accent-soft) 0%, var(--surface) 100%); box-shadow: 0 10px 34px rgba(27, 36, 64, .10); }
.c-cta-store[data-size="big"]::before { content: ""; position: absolute; top: -70px; right: -60px; width: 210px; height: 210px; border-radius: 50%; background: var(--hl-soft); opacity: .9; }
.c-cta-store[data-size="big"] > * { position: relative; }
.c-cta-mark { display: block; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px; box-shadow: 0 6px 16px rgba(27, 36, 64, .2); }
.c-cta-store[data-size="big"] .c-cta-heading { font-size: clamp(1.6rem, 4.2vw, 2.2rem); line-height: 1.15; margin-bottom: 10px; }
.c-cta-store[data-size="big"] .c-cta-note { max-width: 34em; margin: 0 auto 22px; font-size: 1.1rem; }
.c-cta-store[data-size="big"] .btn.primary.store-btn { padding: 17px 32px; font-size: 1.15rem; }
.c-cta-store[data-size="big"] .store-other, .c-cta-store[data-size="big"] .store-note { font-size: .95rem; }
.c-store h2 { margin: 0; }

/* ---------- table of contents and the side column ---------- */
.c-toc ol { list-style: none; padding: 0; margin: 0; }
.c-toc li { margin: 0; }
.c-toc a { display: block; min-height: 44px; padding: 11px 0; line-height: 1.35; text-decoration: none; }
.c-toc a:hover { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 3px; }
.c-toc-title { font: 700 .8rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.c-toc-inline { margin: 1.4em 0; }
.c-toc-inline summary { font: 600 1rem/1.4 var(--sans); min-height: 44px; }
.c-toc-inline a { font-size: 1rem; }
.c-toc-help { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 12px 18px; margin: 1.4em 0; }
.c-side { display: none; }

@media (min-width: 1100px) {
  .c-layout { display: grid; grid-template-columns: minmax(0, 700px) 270px; justify-content: space-between; gap: 48px; }
  .c-side { display: block; position: sticky; top: 16px; align-self: start; padding-top: 64px; }
  .c-toc-side { max-height: calc(100vh - 260px); overflow-y: auto; margin-bottom: 22px; font-size: .95rem; }
  .c-toc-inline { display: none; }
  /* A post with no table of contents has no side column: the article sits in the middle. */
  .c-layout.c-solo { grid-template-columns: minmax(0, 700px); justify-content: center; }
}

/* ---------- the end of a post ---------- */
.c-sources { margin-top: 2.4em; font-size: .95rem; }
.c-article .c-sources h2 { font-size: 1.2rem; }
.c-author { border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 18px; }
.c-author-name { font: 600 1.15rem/1.3 var(--serif); margin-bottom: 4px; }
.c-author-links a { display: inline-block; padding: 10px 0; }
.c-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 8px; }
.c-share-title { margin: 0; font: 700 .8rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-share ul { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; padding: 0; margin: 0; }
.c-share li { margin: 0; }
.c-share a { display: inline-block; padding: 11px 0; }
.c-related-posts { border-top: 1px solid var(--line); }
.c-related-posts h2 { font-size: 1.6rem; }

/* ---------- cards ---------- */
.c-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.c-card { margin: 0; }
.c-card-link { display: flex; flex-direction: column; height: 100%; color: var(--fg); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.c-card-link:hover { color: var(--fg); border-color: var(--fg); }
.c-card-link:hover .c-card-title { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 3px; }
.c-card-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.c-card-cat { margin: 16px 18px 0; font: 700 .75rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-card-title { font: 600 1.3rem/1.22 var(--serif); letter-spacing: -.01em; margin: 6px 18px 8px; }
.c-card-text { margin: 0 18px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.c-card-meta { margin: auto 18px 16px; padding-top: 12px; font-size: .85rem; color: var(--muted); }

/* ---------- index and category pages ---------- */
.c-list-hero { padding-bottom: 6px; }
.c-list-main { padding-top: 20px; }
.c-page-no { font-size: .45em; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.c-cats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.c-cats li { margin: 0; }
.c-cats .tag, .c-cats [aria-current] { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: .9rem; text-decoration: none; }
.c-cats [aria-current] { border-radius: 999px; background: var(--fg); color: var(--bg); font: 600 .9rem/1.5 var(--sans); }
.c-pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 34px 0 0; }
.c-pager li { margin: 0; }
.c-pager a, .c-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; }
.c-pager [aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- help ---------- */
.c-narrow { max-width: 820px; }
.c-help .c-article { max-width: none; }
.c-answer { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; margin-bottom: .8em; }
.c-applies { font-size: .95rem; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.c-applies-label { font-weight: 700; color: var(--fg); margin-right: 6px; }
.c-related-help { margin-top: 2.4em; }
.c-article .c-related-help h2 { font-size: 1.2rem; }
.c-link-list { list-style: none; padding: 0; margin: 0; }
.c-link-list li { margin: 0; }
.c-link-list a { display: inline-block; padding: 10px 0; }
.c-stuck { margin-top: 2em; }
.c-stuck a { display: inline-block; padding: 10px 0; }
.c-checked { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.c-jump ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.c-jump li { margin: 0; }
.c-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .95rem; text-decoration: none; }
.c-help-index > .wrap { padding-bottom: 48px; }

/* ---------- the help centre (25 Nov 2026): search, a side column of topics, the article, "On this page" ---------- */
.c-hc .wrap.c-hgrid { max-width: 1280px; }
.c-hgrid { display: block; padding-bottom: 48px; }
.c-hside, .c-hcontents { display: none; }
.c-hmain { padding-top: 26px; max-width: 760px; }
.c-hc .c-article { max-width: 760px; }
.c-hbrowse { margin: 0 0 4px; font-size: .95rem; }
.c-hbrowse a { display: inline-block; padding: 10px 0; font-weight: 600; }

/* Search. The results list is filled by assets/js/help.js. */
.c-hsearch { position: relative; margin: 0 0 14px; }
.c-hsearch-input { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--fg); background: var(--surface); border: 1px solid var(--field-line); border-radius: 12px; }
.c-hsearch-input:focus-visible { outline: 3px solid var(--hl); outline-offset: 1px; }
.c-hsearch-big { max-width: 620px; margin-top: 18px; }
.c-hsearch-big .c-hsearch-input { min-height: 58px; padding: 14px 20px; font-size: 1.15rem; border-radius: 999px; box-shadow: var(--shadow); }
.c-hsearch-results { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto; }
.c-hsearch-results[hidden] { display: none; }
.c-hsearch-results ul { list-style: none; margin: 0; padding: 6px; }
.c-hsearch-results li { margin: 0; }
.c-hsearch-results a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--fg); text-decoration: none; }
.c-hsearch-results a:hover, .c-hsearch-results a:focus-visible { background: var(--surface-2); }
.c-hsearch-results b { display: block; font: 600 1rem/1.3 var(--sans); }
.c-hsearch-results span { display: block; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.c-hsearch-none { margin: 0; padding: 14px 16px; color: var(--muted); font-size: .95rem; }

/* The home page. */
.c-hhero { padding: 8px 0 6px; }
.c-hhero h1 { margin-bottom: .2em; }
.c-hhero .lead { max-width: 640px; }
.c-hc .c-hhome { max-width: none; }
.c-hcat-empty { border-style: dashed; background: none; }
.c-hcat-empty .c-hcat-name { color: var(--muted); }
.c-hquick ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.c-hquick li { margin: 0; }
.c-hquick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .92rem; text-decoration: none; color: var(--fg); }
.c-hquick a:hover { border-color: var(--fg); }
.c-hhome { padding-bottom: 56px; }
.c-hhome h2 { font-size: 1.7rem; margin: 1.6em 0 .6em; }
.c-hcats, .c-hitems { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.c-hcats li, .c-hitems li { margin: 0; }
.c-hcat, .c-hitem, .c-hnew-card, .c-hnext a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); text-decoration: none; }
.c-hcat:hover, .c-hitem:hover, .c-hnew-card:hover, .c-hnext a:hover { border-color: var(--fg); color: var(--fg); }
.c-hcat-name { font: 600 1.25rem/1.25 var(--serif); }
.c-hcat:hover .c-hcat-name, .c-hitem:hover .c-hitem-title, .c-hnext a:hover .c-hnext-title { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 3px; }
.c-hcat-text, .c-hitem-text, .c-hnew-text, .c-hnext-text { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.c-hcat-count { margin-top: auto; padding-top: 8px; font-size: .82rem; color: var(--muted); }
.c-hnew-card { max-width: 620px; }
.c-hnew-version, .c-hitem-type, .c-hnext-label { font: 700 .75rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-hnew-more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 2px; }
/* Staging only: the day an article dated later goes live. */
.c-scheduled { margin: 6px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--hl-soft, #e7f1fb); font-size: .9rem; }

/* "Still have questions?": four ways to reach us, each a drawing, a name and a line, with no box (owner, 26 Nov 2026). */
.c-hask { margin-top: 2.6em; }
.c-hc .c-hask h2 { font-size: 1.5rem; margin: 0 0 .7em; }
.c-hask-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px 40px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .c-hask-list { grid-template-columns: 1fr 1fr; } }
.c-hask-list li { margin: 0; }
.c-hask-item { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 0; color: var(--fg); text-decoration: none; }
.c-hask-item:hover { color: var(--fg); }
.c-hask-name { font: 700 1.05rem/1.3 var(--sans); }
.c-hask-item:hover .c-hask-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.c-hask-text { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* The drawings (render-help.js): one set per page, used wherever a topic is named. Spacing is set with
   inline-start and inline-end, so it stays right in a right-to-left language. */
.c-hsprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.c-hicon { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-inline-end: .45em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.c-hc .c-hask-icon { width: 28px; height: 28px; margin: 0 0 6px; stroke-width: 1.6; }
.c-htitle { display: flex; align-items: center; }
.c-hc .c-htitle-icon { width: .85em; height: .85em; margin-inline-end: .3em; stroke-width: 1.5; }
.crumbs .c-hicon { width: 1em; height: 1em; vertical-align: -.15em; margin-inline-end: .3em; }
.c-hside-cat .c-hicon, .c-hrel .c-hicon, .c-hsearch-results .c-hicon { color: var(--muted); }
.c-hside-list [aria-current] .c-hicon { color: var(--fg); }

/* A category page and its list of articles. */
.c-hcount { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.c-hitems { grid-template-columns: 1fr; gap: 12px; }
.c-hitem-title { font: 600 1.2rem/1.3 var(--serif); }

/* The article: what comes after the body. */
.c-hc .c-kicker { margin: 8px 0 10px; }
.c-hc .c-kicker span { padding: 0; }
.c-hhelpful { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 2.2em; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.c-hhelpful[hidden], .c-hhelpful [hidden] { display: none; }
.c-hhelpful p { margin: 0; }
.c-hhelpful-q { font-weight: 600; }
.c-hhelpful .btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.c-hhelpful-why { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; }
.c-hhelpful-why[hidden] { display: none; }
.c-hhelpful-why label { font-weight: 600; }
.c-hhelpful-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.c-hhelpful-row input { flex: 1 1 220px; min-height: 44px; box-sizing: border-box; padding: 8px 12px; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--field-line); border-radius: 8px; }
.c-hhelpful-hint { font-size: .85rem; color: var(--muted); }
.c-hnext { margin-top: 2em; }
.c-hnext-title { font: 600 1.25rem/1.3 var(--serif); }

/* A screenshot or a clip sits in a window frame, so it reads as a picture of a screen. */
.c-help .c-figure { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.c-help .c-figure::before { content: ""; display: block; height: 30px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 18px 15px, var(--line) 5px, transparent 6px), radial-gradient(circle at 36px 15px, var(--line) 5px, transparent 6px), radial-gradient(circle at 54px 15px, var(--line) 5px, transparent 6px), var(--surface-2); }
.c-help .c-figure img, .c-video { display: block; width: 100%; height: auto; border: 0; border-radius: 0; background: var(--surface-2); }
.c-help .c-figure figcaption { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); }

/* The side column of topics, from a laptop's width up. */
@media (min-width: 1000px) {
  .c-hgrid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
  .c-hbrowse { display: none; }
  .c-hside { display: block; position: sticky; top: 14px; align-self: start; max-height: calc(100vh - 28px); overflow-y: auto; padding: 26px 4px 20px 0; font-size: .95rem; }
  .c-hside-title { margin: 6px 0 4px; font: 700 .78rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
  .c-hside-title a { color: var(--muted); text-decoration: none; display: inline-block; padding: 8px 0; }
  .c-hside-list, .c-hside-articles { list-style: none; padding: 0; margin: 0; }
  .c-hside-list li { margin: 0; }
  .c-hside-list a { display: block; padding: 9px 10px; border-radius: 8px; line-height: 1.35; color: var(--fg); text-decoration: none; }
  .c-hside-list a:hover { background: var(--surface-2); }
  .c-hside-cat { font-weight: 600; }
  .c-hside-articles { margin: 0 0 8px 10px; padding-left: 10px; border-left: 2px solid var(--line); }
  .c-hside-articles a { font-size: .92rem; color: var(--muted); }
  .c-hside-list [aria-current] { background: var(--accent-soft); color: var(--fg); font-weight: 600; }
}
/* "On this page" beside the article, where there is room for a third column. */
@media (min-width: 1240px) {
  .c-help .c-hgrid { grid-template-columns: 250px minmax(0, 760px) 210px; justify-content: space-between; }
  .c-hcontents { display: block; position: sticky; top: 14px; align-self: start; max-height: calc(100vh - 28px); overflow-y: auto; padding-top: 86px; font-size: .92rem; }
  .c-hcontents .c-toc a { min-height: 0; padding: 7px 0 7px 12px; border-left: 2px solid var(--line); color: var(--muted); }
  .c-hcontents .c-toc a[aria-current] { border-left-color: var(--fg); color: var(--fg); font-weight: 600; }
  .c-help .c-toc-help { display: none; }
}

/* ---------- the help centre's own look (owner, 25 Nov 2026) ----------
   White and quiet, like the help centres the owner likes: a white page, plain
   bold headings, soft grey cards, a centred greeting and search, plain
   numbered steps and one blue for where you are. The rest of the site keeps
   its cream page and serif headings; a help page changes the same colour
   variables for itself, so its header and footer follow. */
body:has(main.c-hc) {
  --bg: #ffffff; --bg-2: #f6f5f4; --surface: #ffffff; --surface-2: #f6f5f4; --fg: #191918; --muted: #615d59; --line: #e6e4e1;
  --accent: #191918; --accent-hover: #000000; --accent-fg: #ffffff; --accent-soft: #f1f0ee; --hl: #0075de; --hl-soft: #e7f1fb;
  --field-line: #8a8782; --shadow: none; --radius: 12px; --help-blue: #0075de;
}
@media (prefers-color-scheme: dark) {
  body:has(main.c-hc) {
    --bg: #191919; --bg-2: #202020; --surface: #191919; --surface-2: #252525; --fg: #f0efed; --muted: #a8a49e; --line: #333231;
    --accent: #f0efed; --accent-hover: #ffffff; --accent-fg: #191919; --accent-soft: #2a2a2a; --hl: #5aa9ef; --hl-soft: #1d2f42;
    --field-line: #86827c; --help-blue: #5aa9ef;
  }
}
body:has(main.c-hc) .foot-h { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
body:has(main.c-hc) .site-header a:not(.btn) { font-family: var(--sans); font-size: .95rem; }
.c-hc h1, .c-hc h2, .c-hc h3, .c-hc .lead, .c-hc .c-answer, .c-hc .c-cta-heading, .c-hc .c-hcat-name, .c-hc .c-hitem-title, .c-hc .c-hnext-title { font-family: var(--sans); }
.c-hc h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.c-hc h2, .c-hc.c-help .c-article h2 { font-weight: 700; letter-spacing: -.02em; }
.c-hc h3 { font-weight: 700; letter-spacing: -.01em; }
.c-hc .lead { font-size: 1.1rem; line-height: 1.55; color: var(--muted); }
.c-hc .c-answer { font-size: 1.2rem; line-height: 1.5; }
.c-hc .crumbs li + li::before { content: "\203A"; }

/* The home page: the greeting and the search in the middle. */
.c-help-index .crumbs { display: none; }
.c-help-index .c-hhero { text-align: center; padding: 44px 0 14px; }
.c-help-index .c-hhero .lead { margin: 0 auto; max-width: 600px; }
.c-help-index .c-hsearch-big { margin: 26px auto 0; max-width: 660px; text-align: left; }
.c-hc .c-hsearch-input { border-color: var(--line); border-radius: 10px; }
.c-hc .c-hsearch-big .c-hsearch-input { border-radius: 999px; padding-left: 24px; }
.c-hc .c-hsearch-input:focus-visible { outline: 2px solid var(--help-blue); outline-offset: 0; border-color: var(--help-blue); }
.c-help-index .c-hquick ul { justify-content: center; margin-top: 18px; }
.c-hc .c-hquick a { min-height: 36px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--surface-2); font-size: .88rem; }
.c-hc .c-hquick a:hover { background: var(--line); }
@media (pointer: coarse) { .c-hc .c-hquick a { min-height: 44px; } }
.c-hc .c-hhome h2 { font-size: 1.55rem; margin: 2em 0 .7em; }

/* Cards: soft grey for a topic, a thin edge for the rest. */
.c-hc .c-hcat { min-height: 172px; padding: 22px; border: 0; background: var(--surface-2); }
.c-hc a.c-hcat:hover { background: var(--line); }
.c-hc .c-hcat-name { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.c-hc .c-hcat-text { font-size: .9rem; line-height: 1.45; }
.c-hcat-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.c-hc .c-hcat-count { margin: 0; padding: 0; }
.c-hc .c-hcat-icon { width: 34px; height: 34px; margin: 0; stroke-width: 1.4; }
.c-hc .c-hcat-empty { background: none; border: 1px dashed var(--line); }
.c-hc .c-hcat:hover .c-hcat-name, .c-hc .c-hitem:hover .c-hitem-title, .c-hc .c-hnext a:hover .c-hnext-title { text-decoration: none; }
.c-hc .c-hitem, .c-hc .c-hnew-card, .c-hc .c-hnext a { background: var(--bg); }
.c-hc .c-hitem:hover, .c-hc .c-hnew-card:hover, .c-hc .c-hnext a:hover { border-color: var(--line); background: var(--surface-2); }
.c-hc .c-hitem-title, .c-hc .c-hnext-title { font-size: 1.05rem; font-weight: 700; }
.c-hc .c-hnew-more { text-decoration: none; color: var(--help-blue); }

/* The article: plain numbers for the steps, grey boxes, button names as small labels. */
.c-hc .c-steps > li { padding: 2px 0 10px 30px; }
.c-hc .c-steps > li + li { border-top: 0; padding-top: 2px; }
.c-hc .c-steps > li::before, .c-hc .c-steps > li + li::before { content: counter(c-step) "."; top: 2px; display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--fg); font: 400 1.0625rem/1.7 var(--sans); }
.c-hc .c-box, .c-hc .c-callout { background: var(--surface-2); border: 0; }
.c-hc .c-result, .c-hc .c-callout { border-left: 0; }
.c-hc .c-warning { background: var(--warn-bg); }
.c-hc.c-help .c-body strong { border-radius: 4px; background: var(--bg); }
.c-hc .c-box strong, .c-hc .c-callout strong { background: var(--bg); }
.c-hc .c-kicker span { letter-spacing: .06em; }
.c-hc .c-hhelpful { background: var(--bg); }
.c-hc .c-hhelpful .btn { background: var(--surface-2); color: var(--fg); border-color: var(--line); }
.c-hc .c-article a { text-decoration-color: var(--line); text-decoration-thickness: 1px; }
.c-hc .c-article a:hover { text-decoration-color: currentColor; }

/* The side columns: a mark on the right of each topic, one blue for where you are. */
@media (min-width: 1000px) {
  .c-hc .c-hside-list a { padding: 7px 10px; border-radius: 6px; }
  .c-hc .c-hside-cat { display: flex; align-items: center; gap: 0; font-weight: 500; }
  .c-hc .c-hside-name { margin-inline-end: auto; padding-inline-end: 8px; }
  .c-hc .c-hside-cat::after { content: "\203A"; color: var(--muted); }
  .c-hc .c-hside-articles { margin-left: 10px; padding-left: 8px; border-left: 1px solid var(--line); }
  .c-hc .c-hside-list [aria-current] { background: var(--surface-2); font-weight: 600; }
  .c-hc .c-hside-title a { letter-spacing: .04em; }
}
@media (min-width: 1240px) {
  .c-hc .c-hcontents .c-toc a { border-left-width: 1px; }
  .c-hc .c-hcontents .c-toc a[aria-current] { border-left-color: var(--help-blue); color: var(--help-blue); font-weight: 500; }
}
