/* The Help centre's own pieces (help/build.mjs). Loaded after style.css, hero-concepts.css, claude-mobile.css and
   pages/pages.css, so the header, footer, type, colours and buttons are the marketing site's own. Written for
   reading: a narrow text column, the module's articles beside it on a wide screen. */

/* style.css styles every <nav> as the header's menu (hidden, then absolutely placed, below 900px). The Help centre's
   own navs (breadcrumb, On this page, previous and next) are ordinary blocks. */
.hc main nav { display: block; position: static; inset: auto; padding: 0; background: none; border: 0; gap: 0; align-items: initial; flex-direction: initial; box-shadow: none; backdrop-filter: none; max-height: none; overflow: visible; }
.hc main nav.hc-pn { display: grid; }

.hc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the bar under the header: Help centre and its search ---------- */
.hc-bar { background: var(--cream); border-bottom: 1px solid var(--line); }
.hc-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.hc-bar-links { display: flex; align-items: center; gap: 24px; }
.hc-home { font-weight: 650; font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.hc-all { font-size: 14.5px; color: #55554d; white-space: nowrap; }
.hc-home:hover, .hc-all:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.hc-bar-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hc-search { position: relative; flex: 0 1 420px; }
.hc-search input { margin: 0; min-height: 42px; background: #fff; border-color: var(--line); font-size: 14px; }
.hc-search input:focus { border-color: var(--ink); }
.hc-results { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px #1b1a1714; max-height: min(70vh, 520px); overflow: auto; padding: 6px; }
.hc-results[hidden] { display: none; }
.hc-results a, .hc-results p { display: block; padding: 10px 12px; border-radius: 6px; }
.hc-results a b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.hc-results a span { display: block; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.hc-results a i { font-style: normal; font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #8b7746; }
.hc-results a:hover, .hc-results a[aria-selected="true"] { background: var(--cream); }
.hc-results p { font-size: 13px; color: var(--muted); }

/* ---------- article layout ---------- */
/* The Help centre is a quarter wider than the marketing pages (Adam, 23 October 2026): 1600px, not 1280px, for its
   bar, body and footer, and the header's own row on these pages only, so the logo lines up with the Help centre on a
   wide screen. Other pages of the site keep theirs. */
.hc .wrap { max-width: 1600px; }
.hc .nav-wrap { max-width: 1600px; }
/* Fixed columns, whatever the article holds, so moving between articles never moves the side list or the text
   (Adam, 23 October 2026): the side list 312px (262px up to 1150px wide), the article up to 950px. Words stop at
   780px, a comfortable line; pictures, tables and the previous and next links take the article's full width. */
html { scrollbar-gutter: stable; }
.hc-layout { display: grid; grid-template-columns: 312px minmax(0, 1fr); gap: 88px; padding: 56px 0 96px; align-items: start; }
.hc-side { width: 312px; min-width: 0; }
.hc-article { min-width: 0; max-width: 950px; }
.hc-article > :not(.hc-body):not(.hc-pn):not(.hc-related), .hc-body > :not(.hc-shot):not(.hc-table), .hc-related { max-width: 780px; }
.hc-side { position: sticky; top: 120px; font-size: 13px; }
.hc-side p { font-size: 11px; font-weight: 650; letter-spacing: .14em; color: var(--ink); margin-bottom: 14px; }
.hc-side ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.hc-side a { display: block; padding: 7px 0 7px 16px; color: var(--muted); line-height: 1.4; margin-left: -1px; border-left: 2px solid transparent; }
.hc-side a:hover { color: var(--ink); }
/* The current article is marked by colour, its border and a wash, never by weight: bold words are wider and could wrap. */
.hc-side a[aria-current="page"] { color: var(--ink); border-left-color: var(--yellow); background: linear-gradient(90deg, #fff6d6, transparent); }
/* The list scrolls on its own when it is taller than the screen, so its foot is always reachable. */
.hc-side { max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
/* The tree: each section a heading with its articles beneath; the fold button (shown by help.js) sits at the
   heading's right, so the words line up as they did before. */
.hc-br-h { display: flex; align-items: center; }
.hc-br-h > a { flex: 1 1 auto; min-width: 0; color: #55554d; font-weight: 500; }
.hc-br-h > a[aria-current="true"] { color: var(--ink); }
.hc-fold { flex: 0 0 auto; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 4px; background: none; color: #8f8d84; cursor: pointer; display: grid; place-items: center; }
.hc-fold[hidden] { display: none; }
.hc-fold:hover { color: var(--ink); background: #f1efe7; }
.hc-fold:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.hc-fold:disabled { cursor: default; opacity: .35; background: none; }
.hc-fold::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.hc-fold[aria-expanded="false"]::before { transform: rotate(-45deg); }
/* A branch folds as the app's side menu does: its grid row goes from 1fr to 0fr. Open in the HTML; help.js adds
   is-shut, and hc-anim only once the first state is drawn, so nothing moves as a page opens. */
.hc-br-b { display: grid; grid-template-rows: 1fr; }
.hc-br-b.is-shut { grid-template-rows: 0fr; }
.hc-br-in { min-height: 0; overflow: hidden; }
.hc-br-b.is-shut > .hc-br-in { visibility: hidden; }
.hc-anim .hc-br-b { transition: grid-template-rows .2s cubic-bezier(.2, .7, .3, 1); }
.hc-anim .hc-br-in { transition: visibility .2s; }
.hc-anim .hc-fold::before { transition: transform .2s cubic-bezier(.2, .7, .3, 1); }
@media (prefers-reduced-motion: reduce) { .hc-anim .hc-br-b, .hc-anim .hc-br-in, .hc-anim .hc-fold::before { transition: none; } }
.hc-side ol ol { margin: 0 0 8px 16px; }
.hc-side ol ol a { font-size: 12.5px; padding-top: 5px; padding-bottom: 5px; padding-left: 12px; }
.hc-side .hc-side-all { margin: 18px 0 0; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.hc-side .hc-side-all a { padding: 0; border: 0; margin: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* A module's, a role's and the search page sit beside the side list, in the article's column. */
.hc-layout .hc-hub { padding: 0; margin: 0; max-width: 950px; }

.hc-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 12px; color: var(--muted); }
.hc-crumb li + li:before { content: '/'; margin-right: 6px; color: #b5b3a9; }
.hc-crumb a { text-decoration: underline; text-underline-offset: 4px; }
.hc-crumb a:hover { color: var(--ink); }
.hc-type { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #8b7746; margin-bottom: 10px; }
.hc-article h1, .hc-hub h1 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
.hc-lede { font-size: 18px; line-height: 1.6; color: #55554d; margin-top: 18px; max-width: 680px; }
.hc-for { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 18px; padding: 12px 16px; background: var(--cream); border-radius: 6px; }
.hc-for b { color: var(--ink); font-weight: 600; }
.hc-toc { margin-top: 28px; font-size: 13px; }
.hc-toc p { font-size: 11px; font-weight: 650; letter-spacing: .14em; color: var(--ink); margin-bottom: 8px; }
.hc-toc ol { margin: 0; padding-left: 18px; color: var(--muted); }
.hc-toc li { margin: 4px 0; }
.hc-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- the words ---------- */
.hc-body { margin-top: 36px; }
.hc-body > * + * { margin-top: 16px; }
.hc-body h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 48px; scroll-margin-top: 120px; }
.hc-body h3 { font-size: 19px; margin-top: 30px; scroll-margin-top: 120px; letter-spacing: -.025em; }
.hc-body h2 + *, .hc-body h3 + * { margin-top: 12px; }
.hc-body p, .hc-body li { font-size: 16px; line-height: 1.7; color: #3f3e38; }
.hc-body strong { color: var(--ink); font-weight: 600; }
.hc-body ol, .hc-body ul { padding-left: 24px; }
.hc-body li + li { margin-top: 8px; }
.hc-body li > ol, .hc-body li > ul { margin-top: 8px; }
.hc-body ol > li::marker { font-weight: 600; color: var(--ink); }
.hc-body a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; color: var(--ink); }
.hc-body a:hover { text-decoration-color: var(--ink); }
.hc-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; background: #f1efe7; border-radius: 4px; padding: 1px 5px; }
.hc-menu { font-weight: 600; color: var(--ink); white-space: normal; }
.hc-menu > span[aria-hidden] { color: #9b998d; margin: 0 2px; font-weight: 400; }
.hc-note { border-left: 3px solid var(--yellow); background: #fffaeb; border-radius: 0 6px 6px 0; padding: 14px 18px; }
.hc-note p { font-size: 15px; }
.hc-note-notbuilt { border-left-color: #b9b6a8; background: #f6f5f0; }
.hc-note-club { border-left-color: #6f8f5f; background: #f2f6ee; }
.hc-perm { border: 1px dashed #cfccbf; border-radius: 8px; padding: 6px 20px 18px; }
.hc-perm > * + * { margin-top: 12px; }
.hc-perm-label { font-size: 11px !important; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #8b7746 !important; margin-top: 12px; }
.hc-table { overflow-x: auto; }
.hc-table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.hc-table th, .hc-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.hc-table th { font-size: 12px; font-weight: 650; color: var(--ink); background: var(--cream); }
.hc-table td { color: #3f3e38; }

/* ---------- screenshots ---------- */
.hc-shot { margin: 28px 0 32px; }
.hc-shot picture, .hc-shot img { display: block; width: 100%; height: auto; }
.hc-shot img { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 36px #1b1a170f; background: #fff; }
.hc-shot-phone { max-width: 340px; }
.hc-shot-phone img { border-radius: 18px; }
.hc-shot figcaption { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.hc-shot figcaption > span { display: block; }
.hc-shot .hc-ver { font-size: 11.5px; color: #8f8d84; margin-top: 2px; }

.hc-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.hc-related h2 { font-size: 22px; margin-bottom: 14px; }
.hc-checked { margin-top: 40px; font-size: 12.5px; color: var(--muted); }
.hc-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.hc-pn a { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; font-size: 14px; font-weight: 600; }
.hc-pn a:hover { border-color: var(--ink); }
.hc-pn a span { display: block; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hc-pn a.next { text-align: right; grid-column: 2; }
.hc-pn > * { min-width: 0; overflow-wrap: anywhere; }

/* ---------- lists of articles ---------- */
.hc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hc-list li { border-bottom: 1px solid var(--line); }
.hc-list a { display: block; padding: 16px 4px; }
.hc-list a b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.hc-list a span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.hc-list a:hover b { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- hubs and the home page ---------- */
.hc-hub { padding: 56px 0 96px; max-width: 860px; margin-left: max(56px, calc((100% - 1280px) / 2)); }
.hc-hub section { margin-top: 48px; }
.hc-hub h2 { font-size: 26px; margin-bottom: 16px; }
.hc-hub h3 { font-size: 18px; margin: 24px 0 8px; }
.hc-perms { margin: 0; padding-left: 20px; }
.hc-perms li { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 6px 0; }
.hc-perms b { color: var(--ink); font-weight: 600; }
.hc-note-plain { margin-top: 22px; font-size: 14px; line-height: 1.65; }
.hc-note-plain a { text-decoration: underline; text-underline-offset: 4px; }
.hc-start { margin-top: 28px; }
.hc-hero { background: #faf9f3; border-bottom: 1px solid #1b1a170b; padding: 72px 0 64px; }
.hc-hero h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.04; letter-spacing: -.06em; max-width: 820px; text-wrap: balance; }
.hc-search-big { display: flex; gap: 12px; margin-top: 32px; max-width: 640px; }
.hc-search.hc-search-big input { flex: 1 1 0; width: auto; min-width: 0; margin: 0; }
.hc-search.hc-search-big .button { flex: 0 0 auto; width: auto; margin: 0; }
.hc-search-big input { min-height: 54px; font-size: 16px; }
.hc-search-big .button { min-height: 54px; flex-shrink: 0; }
.hc-home-body { padding: 24px 0 96px; }
.hc-home-body section { margin-top: 56px; }
.hc-home-body h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 22px; }
.hc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hc-cards .card { height: 100%; }
.hc-cards .card h3 { font-size: 19px; }
.hc-roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; border-top: 1px solid var(--line); }
.hc-roles li { border-bottom: 1px solid var(--line); }
.hc-roles a { display: block; padding: 16px 0; }
.hc-roles a b { display: block; font-size: 16px; font-weight: 600; }
.hc-roles a span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-top: 3px; }
.hc-roles a:hover b { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hc-search-page { margin-top: 28px; }
.hc-search-page .hc-list mark { background: #fff1c2; color: inherit; }
.hc-search-page .hc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.hc-search-page .hc-filter button { border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 6px 14px; font-size: 12.5px; }
.hc-search-page .hc-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.hc-hero-all { margin-top: 20px; font-size: 14.5px; }

/* ---------- Contents: every section and article, numbered ---------- */
.hc-contents { padding: 56px 0 96px; }
.hc-contents h1 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.055em; }
.hc-num { display: inline-block; min-width: 2.4em; flex: 0 0 auto; font-variant-numeric: tabular-nums; font-weight: 650; color: #8b7746; }
.hc-jump { margin-top: 32px; padding: 20px 24px 16px; background: var(--cream); border-radius: 8px; }
.hc-jump p { font-size: 11px; font-weight: 650; letter-spacing: .14em; color: var(--ink); margin-bottom: 8px; }
.hc-jump ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.hc-jump a { display: flex; align-items: baseline; gap: 6px; padding: 6px 0; font-size: 14px; line-height: 1.4; }
.hc-jump a > span:not(.hc-num) { min-width: 0; }
.hc-jump a:hover > span:not(.hc-num) { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hc-jump i { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hc-jump .hc-num { font-size: 12.5px; min-width: 2em; }
.hc-ctools { margin-top: 28px; }
.hc-ctools[hidden] { display: none; }
.hc-toggle { border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 6px 14px; font-size: 12.5px; cursor: pointer; }
.hc-toggle[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
/* Two columns on a wide screen, read down the first and then the second, like a book's contents. A section's
   heading stays with its first article, and an article is never split. */
.hc-sections { margin-top: 28px; columns: 2; column-gap: 90px; }
.hc-sec { margin-bottom: 40px; }
.hc-sec h2 { display: flex; align-items: baseline; gap: 4px; font-size: 22px; letter-spacing: -.03em; padding-bottom: 10px; border-bottom: 1px solid var(--ink); scroll-margin-top: 120px; break-after: avoid; }
.hc-sec h2 .hc-num { font-size: 15px; min-width: 2.2em; }
.hc-sec h2 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hc-arts { list-style: none; margin: 0; padding: 0; }
.hc-arts li { border-bottom: 1px solid var(--line); break-inside: avoid; }
.hc-arts a { display: flex; align-items: baseline; gap: 4px; padding: 12px 0; }
.hc-arts .hc-num { font-size: 12.5px; min-width: 3.2em; }
.hc-ct { flex: 1 1 auto; min-width: 0; }
.hc-ct b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.hc-ct i { font-style: normal; font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: #8b7746; margin-left: 4px; white-space: nowrap; }
.hc-sum { display: block; font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.hc-titles-only .hc-sum { display: none; }
.hc-titles-only .hc-arts a { padding: 8px 0; }
.hc-arts a:hover b { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 1150px) {
  .hc-layout { grid-template-columns: 262px minmax(0, 1fr); gap: 48px; }
  .hc-side { width: 262px; }
  .hc-sections { column-gap: 56px; }
  .hc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; }
  .hc-side { width: auto; }
  .hc-side { position: static; order: 2; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); max-height: none; overflow: visible; }
  .hc-fold { width: 40px; height: 40px; }
  .hc-hub { margin-left: auto; margin-right: auto; padding-top: 32px; }
  .hc-contents { padding-top: 32px; }
  .hc-sections { columns: 1; }
}
@media (max-width: 650px) {
  .hc-bar-in { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .hc-search { flex: 1 1 100%; }
  .hc-cards, .hc-roles { grid-template-columns: minmax(0, 1fr); }
  .hc-bar-links { gap: 18px; }
  .hc-jump { padding: 16px 16px 12px; }
  .hc-jump ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .hc-jump a { font-size: 13.5px; }
  .hc-hero { padding: 44px 0 40px; }
  .hc-search-big { flex-direction: column; }
  .hc-search.hc-search-big input { flex: 0 0 auto; width: 100%; }
  .hc-lede { font-size: 16.5px; }
  .hc-body p, .hc-body li { font-size: 16px; }
  .hc-pn { grid-template-columns: minmax(0, 1fr); }
  .hc-pn a.next { grid-column: 1; text-align: left; }
  .hc-pn > span:empty { display: none; }
}
@media print {
  .hc-bar, .hc-side, .hc-pn, .hc-ctools, header, footer { display: none !important; }
  .hc-layout { display: block; padding: 0; }
}

/* The site's header, with Help centre marked as the section these pages are in (help/build.mjs adds aria-current). */
.hc header nav > a[aria-current] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.hc header .mega-link[aria-current] strong { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
