/* Hourvoy public site: the help centre (/help/, /help/topics/<topic>/, /help/<slug>/), generated by
   deploy/docker/web/build-help.mjs. Loaded on help pages only, after site.css. The same layout as
   donevoy.com's help centre (this file started as its /assets/help.css), in the site's paper design
   (site.css): a stone page, white cards, and a stone hero box with an uppercase eyebrow.

   Every help page: the help bar ("Help Centre"), the topics sidebar (sticky on a desktop; after the
   content below 900px) and the content; on a guide, "On This Page" in a sticky right-hand column from
   1180px (a box above the guide below that). Hourvoy's site has no JavaScript, so there is no search
   palette or sidebar drawer; the few rules for them (.hc-js, .hc-scrim, [hidden] buttons) stay dormant.

   Light only (the pages set data-theme="light"): the colours are the --help-* tokens below and nothing
   below them uses a raw colour. No inline styles anywhere (CSP style-src 'self'). Poppins is
   self-hosted (/assets/brand/fonts/poppins.css). Class names start with hc- so site.css can't clash. */

:root {
  /* Surfaces and lines */
  --help-paper: #fafaf8;
  --help-page: #ffffff;
  --help-bar: #f5f5f2;
  --help-hover-bg: #ebebe7;
  --help-hero: #f2f2ef;
  --help-hero-line: #e2e2dd;
  --help-chip-line: #d6d6cf;
  --help-tint: #fff1e9;
  --help-line: #e2e2dd;
  --help-line-soft: #ebebe6;
  /* Text */
  --help-heading: #141416;
  --help-text: #1e1e1e;
  --help-body: #33333a;
  --help-body-2: #4a4a52;
  --help-muted: #66666e;
  /* Brand and links */
  --help-brand: #ff4401;
  --help-hover-line: #ff8a3d;
  --help-link: #c73600;
  --help-link-hover: #8f2b00;
  --help-tint-text: #a33100;
  /* Callouts: Note and Tip blue, Important amber */
  --help-note-bg: #eff6ff;
  --help-note-line: #dbeafe;
  --help-note-ink: #1e3a8a;
  --help-note-icon: #1d4ed8;
  --help-warn-bg: #fffbeb;
  --help-warn-line: #fde68a;
  --help-warn-ink: #78350f;
  --help-warn-icon: #b45309;
  /* Changelog badges */
  --help-improved-bg: #eff6ff;
  --help-improved-text: #1d4ed8;
  --help-fixed-bg: #f0fdf4;
  --help-fixed-text: #15803d;
  /* Overlays and shadows */
  --help-scrim: rgba(20, 20, 22, 0.45);
  --help-shadow-field: 0 1px 2px rgba(20, 20, 22, 0.04);
  --help-shadow-card: 0 4px 16px rgba(20, 20, 22, 0.06);
  --help-shadow-pop: 0 24px 64px rgba(20, 20, 22, 0.22);
  --help-focus: #ff4401;
  /* Type, radii, sizes */
  --help-font: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --help-r-sm: 10px;
  --help-r-md: 14px;
  --help-r-lg: 16px;
  --help-r-xl: 18px;
  --help-pill: 999px;
  --help-container: 1248px; /* the site's 1200px container plus its 24px gutters */
  --help-gutter: 24px;
  --help-side: 256px;
  --help-gap: 48px;
  --help-toc: 208px;
  --help-bar-h: 56px;
  /* Below the site's sticky header (72px) */
  --help-sticky-top: 96px;
  --help-touch: 44px;
}

/* ── Base: reset the site's element styles inside the help centre (zero specificity, so every
   class rule below wins) ─────────────────────────────────────────────────────────────────────────── */

.hc {
  background: var(--help-paper);
  color: var(--help-text);
  font-family: var(--help-font);
  font-size: 16px;
  line-height: 1.7;
}
.hc :where(h1, h2, h3, p, ul, ol, figure) {
  margin: 0;
}
.hc :where(h1, h2, h3) {
  color: var(--help-heading);
}
.hc :where(a:not([class])) {
  color: var(--help-link);
  text-underline-offset: 0.18em;
}
.hc :where(a:not([class])):hover {
  color: var(--help-link-hover);
}
.hc :where(a, button, summary, input):focus-visible {
  outline: 2px solid var(--help-focus);
  outline-offset: 2px;
}
.hc [id] {
  scroll-margin-top: var(--help-sticky-top);
}
.hc-wrap {
  width: 100%;
  max-width: var(--help-container);
  margin: 0 auto;
  padding-inline: var(--help-gutter);
}
.hc-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hc-icon {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
}
.hc-kbd {
  margin-left: auto;
  padding: 1px 7px;
  border: 1px solid var(--help-line);
  border-radius: 6px;
  background: var(--help-page);
  color: var(--help-muted);
  font-family: inherit;
  font-size: 12px;
  line-height: 18px;
}
body.hc-locked {
  overflow: hidden;
}

/* ── The help bar ─────────────────────────────────────────────────────────────────────────────── */

.hc-bar {
  border-bottom: 1px solid var(--help-line-soft);
  background: var(--help-bar);
}
.hc-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--help-bar-h);
}
.hc-bar-title {
  color: var(--help-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.hc-bar-title:hover {
  color: var(--help-text);
  text-decoration: underline;
}
.hc-topics-btn,
.hc-side-head,
.hc-side-close,
.hc-scrim,
.hc-search-btn,
.hc-hero-search {
  display: none;
}
.hc-search-btn:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(320px, 60vw);
  height: 38px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-sm);
  background: var(--help-page);
  color: var(--help-muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.hc-search-btn:hover,
.hc-hero-search:hover {
  border-color: var(--help-hover-line);
  color: var(--help-text);
}

/* ── Layout: sidebar | content ────────────────────────────────────────────────────────────────── */

.hc-layout {
  display: grid;
  grid-template-columns: var(--help-side) minmax(0, 1fr);
  align-items: start;
  column-gap: var(--help-gap);
}
.hc-main {
  min-width: 0;
  padding-block: 40px 96px;
}

/* ── The sidebar: Help home, then one <details> per topic ─────────────────────────────────────── */

.hc-side {
  position: sticky;
  top: var(--help-sticky-top);
  max-height: calc(100vh - var(--help-sticky-top) - 24px);
  margin-top: 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 14px;
  line-height: 1.5;
}
.hc-side-title {
  color: var(--help-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hc-lk {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--help-body);
  text-decoration: none;
}
.hc-lk:hover {
  background: var(--help-hover-bg);
  color: var(--help-text);
}
.hc-lk[aria-current='page'],
.hc-lk[aria-current='page']:hover {
  background: var(--help-tint);
  color: var(--help-text);
  font-weight: 600;
}
.hc-lk-home {
  padding: 8px 12px;
  border-radius: var(--help-r-sm);
  color: var(--help-text);
  font-weight: 600;
}
.hc-grp {
  margin-top: 2px;
}
.hc-gh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--help-r-sm);
  color: var(--help-text);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.hc-gh::-webkit-details-marker {
  display: none;
}
.hc-gh:hover {
  background: var(--help-hover-bg);
}
.hc-chev {
  flex: none;
  width: 12px;
  height: 12px;
  color: var(--help-muted);
  stroke-width: 2.5;
  transition: transform 0.15s ease;
}
.hc-grp[open] > .hc-gh .hc-chev {
  transform: rotate(90deg);
}
.hc-gh-n {
  margin-left: auto;
  color: var(--help-muted);
  font-size: 13px;
  font-weight: 400;
}
.hc-gl {
  display: flex;
  flex-direction: column;
  padding: 2px 0 8px 22px;
  list-style: none;
}

/* ── Help home: the hero with search and popular guides, the topic cards, two small cards ─────── */

.hc-hero {
  padding: 44px clamp(24px, 4vw, 56px) 48px;
  border: 1px solid var(--help-hero-line);
  border-radius: var(--help-r-xl);
  background: var(--help-hero);
}
/* The eyebrow over the heading, as on the site's page heads. */
.hc-hero::before {
  content: 'Help Centre';
  display: block;
  margin-bottom: 14px;
  color: var(--help-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hc-hero h1 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
}
.hc-hero-lead {
  max-width: 620px;
  margin-top: 14px;
  color: var(--help-body-2);
  font-size: 18px;
  line-height: 1.6;
}
.hc-hero-search:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  height: 56px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid var(--help-chip-line);
  border-radius: var(--help-r-md);
  background: var(--help-page);
  color: var(--help-muted);
  font: inherit;
  font-size: 16px;
  text-align: left;
  box-shadow: var(--help-shadow-field);
  cursor: pointer;
}
.hc-hero-search .hc-icon {
  width: 20px;
  height: 20px;
  color: var(--help-link);
}
.hc-hero-search .hc-kbd {
  padding-inline: 8px;
}
.hc-pop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.hc-pop-label {
  margin-right: 4px;
  color: var(--help-body-2);
  font-size: 14px;
  font-weight: 600;
}
.hc-pop ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.hc-pop a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--help-chip-line);
  border-radius: var(--help-pill);
  background: var(--help-page);
  color: var(--help-body);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
.hc-pop a:hover {
  border-color: var(--help-hover-line);
  color: var(--help-text);
}
.hc-topics {
  margin-top: 56px;
}
.hc-topics h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.hc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-xl);
  background: var(--help-page);
  color: var(--help-text);
  text-decoration: none;
}
.hc-card:hover {
  border-color: var(--help-hover-line);
  color: var(--help-text);
}
.hc-cards > li:target .hc-card {
  border-color: var(--help-brand);
}
.hc-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--help-r-sm);
  background: var(--help-tint);
  color: var(--help-link);
}
.hc-card-icon .hc-icon {
  width: 20px;
  height: 20px;
}
.hc-card-title {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.hc-card-summary {
  color: var(--help-body-2);
  font-size: 14px;
  line-height: 1.6;
}
.hc-card-more {
  margin-top: auto;
  padding-top: 6px;
  color: var(--help-link);
  font-size: 14px;
  font-weight: 600;
}
.hc-card:hover .hc-card-more {
  color: var(--help-link-hover);
}
.hc-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.hc-box {
  padding: 24px;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-xl);
}
.hc-box-muted {
  background: var(--help-bar);
}
.hc .hc-box-title {
  color: var(--help-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.hc-box p {
  margin-top: 10px;
  color: var(--help-body-2);
  font-size: 15px;
}
.hc-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  list-style: none;
}
.hc-news li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hc-badge {
  flex: none;
  padding: 1px 9px;
  border-radius: var(--help-pill);
  font-size: 12px;
  font-weight: 600;
}
.hc-badge-new {
  background: var(--help-tint);
  color: var(--help-tint-text);
}
.hc-badge-improved {
  background: var(--help-improved-bg);
  color: var(--help-improved-text);
}
.hc-badge-fixed {
  background: var(--help-fixed-bg);
  color: var(--help-fixed-text);
}
.hc-box-more {
  display: inline-block;
  margin-top: 14px;
  color: var(--help-link);
  font-size: 15px;
  font-weight: 600;
}
.hc-box-more:hover {
  color: var(--help-link-hover);
}

/* ── Topic pages and guide cards (topic pages, related guides) ────────────────────────────────── */

.hc-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0;
  color: var(--help-muted);
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
}
.hc-crumbs li + li::before {
  content: '›';
  margin-right: 8px;
  color: var(--help-muted);
}
.hc-crumbs a {
  color: var(--help-body-2);
  text-decoration: none;
}
.hc-crumbs a:hover {
  color: var(--help-text);
  text-decoration: underline;
}
.hc-title {
  margin-top: 14px;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hc-lead {
  margin-top: 14px;
  color: var(--help-body-2);
  font-size: 19px;
  line-height: 1.6;
}
.hc-updated,
.hc-count {
  margin-top: 14px;
  color: var(--help-muted);
  font-size: 14px;
}
.hc-glist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}
.hc-topic .hc-glist {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.hc-gcard {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-md);
  background: var(--help-page);
  color: var(--help-text);
  text-decoration: none;
}
.hc-gcard:hover {
  border-color: var(--help-hover-line);
  color: var(--help-text);
}
.hc-gcard-title {
  font-weight: 600;
  line-height: 1.5;
}
.hc-gcard-summary {
  color: var(--help-body-2);
  font-size: 14px;
  line-height: 1.55;
}
.hc-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 48px;
  padding: 20px 24px;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-lg);
}
.hc-ask-title {
  font-weight: 600;
}
.hc-ask-text {
  margin-left: auto;
  color: var(--help-muted);
  font-size: 14px;
}

/* ── A guide: head, "On This Page", the guide, support, previous / next, related guides ───────── */

.hc-doc > * {
  max-width: 72ch;
}
.hc-toc {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-lg);
  font-size: 14px;
  line-height: 1.5;
}
.hc-toc-title {
  color: var(--help-text);
  font-weight: 600;
}
.hc-toc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}
.hc-toc a {
  display: block;
  padding: 4px 0;
  color: var(--help-body-2);
  text-decoration: none;
}
.hc-toc a:hover {
  color: var(--help-text);
}
.hc-toc-sub {
  display: none;
}
.hc-body {
  margin-top: 8px;
  color: var(--help-body);
  font-size: 16px;
  line-height: 1.75;
}
.hc-body h2 {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--help-line-soft);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.hc-body h3 {
  margin-top: 28px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.hc-body p {
  margin-top: 14px;
}
.hc-body ul,
.hc-body ol {
  margin-top: 14px;
  padding-left: 22px;
}
.hc-body li {
  margin-top: 8px;
}
.hc-body li > ul,
.hc-body li > ol {
  margin-top: 0;
}
.hc-body ol > li::marker {
  color: var(--help-link);
  font-weight: 600;
}
.hc-body ul > li::marker {
  color: var(--help-muted);
}
.hc-body strong {
  color: var(--help-heading);
  font-weight: 600;
}
.hc-body code {
  padding: 1px 6px;
  border: 1px solid var(--help-line);
  border-radius: 6px;
  background: var(--help-hover-bg);
  color: var(--help-text);
  font-size: 14px;
}
.hc-callout {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--help-note-line);
  border-radius: var(--help-r-md);
  background: var(--help-note-bg);
  color: var(--help-note-ink);
}
.hc-callout-icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--help-note-icon);
}
.hc-callout-important {
  border-color: var(--help-warn-line);
  background: var(--help-warn-bg);
  color: var(--help-warn-ink);
}
.hc-callout-important .hc-callout-icon {
  color: var(--help-warn-icon);
}
.hc-body .hc-callout p {
  margin-top: 8px;
}
.hc-body .hc-callout .hc-callout-title {
  margin-top: 0;
  font-weight: 600;
}
.hc-body .hc-callout .hc-callout-title + p {
  margin-top: 2px;
}
.hc-callout strong,
.hc-callout a {
  color: inherit;
}
.hc-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-md);
}
.hc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}
.hc-table th {
  padding: 10px 16px;
  border-bottom: 1px solid var(--help-line);
  background: var(--help-bar);
  color: var(--help-heading);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  vertical-align: bottom;
}
.hc-table td {
  padding: 10px 16px;
  border-top: 1px solid var(--help-line-soft);
  vertical-align: top;
}
.hc-table tr:first-child td {
  border-top: 0;
}
.hc-figure {
  margin-top: 28px;
}
.hc-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-lg);
}
.hc-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.hc-pager a {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border: 1px solid var(--help-line);
  border-radius: var(--help-r-lg);
  color: var(--help-text);
  text-decoration: none;
}
.hc-pager a:hover {
  border-color: var(--help-hover-line);
  color: var(--help-text);
}
.hc-pager-next {
  grid-column: 2;
  text-align: right;
}
.hc-pager-label {
  color: var(--help-muted);
  font-size: 13px;
}
.hc-pager-title {
  font-weight: 600;
  line-height: 1.5;
}
.hc-related {
  margin-top: 48px;
}
.hc-related h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

/* ── Wide: "On This Page" in its own sticky column on the right ───────────────────────────────── */

@media (min-width: 1180px) {
  .hc-doc.has-toc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--help-toc);
    align-items: start;
    column-gap: var(--help-gap);
  }
  .hc-doc.has-toc > * {
    grid-column: 1;
  }
  .hc-doc.has-toc > .hc-toc {
    position: sticky;
    top: var(--help-sticky-top);
    grid-column: 2;
    grid-row: 1 / span 6;
    max-height: calc(100vh - var(--help-sticky-top) - 24px);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
  }
  .hc-toc ol {
    margin-top: 12px;
    border-left: 2px solid var(--help-line-soft);
  }
  .hc-toc a {
    margin-left: -2px;
    padding: 5px 14px;
    border-left: 2px solid transparent;
  }
  .hc-toc a[aria-current='location'] {
    border-left-color: var(--help-brand);
    color: var(--help-text);
    font-weight: 500;
  }
  .hc-toc-sub {
    display: block;
  }
  .hc-toc-sub a {
    padding-left: 26px;
  }
}

/* ── Narrower desktops ────────────────────────────────────────────────────────────────────────── */

@media (min-width: 900px) and (max-width: 1099px) {
  .hc-layout {
    grid-template-columns: 224px minmax(0, 1fr);
    column-gap: 32px;
  }
}

/* ── Below 900px: Topics button, icon-only search; the sidebar stacks after the content (no
   JavaScript) or is a drawer (with JavaScript) ────────────────────────────────────────────────── */

@media (max-width: 899px) {
  .hc-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hc-main {
    padding-block: 24px 64px;
  }
  .hc-bar-inner {
    gap: 8px;
  }
  .hc-topics-btn:not([hidden]) {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--help-line);
    border-radius: var(--help-r-sm);
    background: var(--help-page);
    color: var(--help-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
  .hc-search-btn:not([hidden]) {
    justify-content: center;
    width: var(--help-touch);
    height: 40px;
    padding: 0;
  }
  .hc-search-text,
  .hc-search-btn .hc-kbd,
  .hc-hero-search .hc-kbd {
    display: none;
  }
  .hc-lk,
  .hc-gh {
    display: flex;
    align-items: center;
    min-height: var(--help-touch);
  }

  /* Without JavaScript the sidebar is a list after the content (the page's heading comes first), under a
     "Help topics" title, only the current topic open. */
  .hc-side {
    order: 2;
    position: static;
    max-height: none;
    margin: 0;
    padding: 24px 0 56px;
    overflow: visible;
    border-top: 1px solid var(--help-line-soft);
  }
  .hc-side-head {
    display: block;
    margin-bottom: 8px;
    padding-left: 12px;
  }
  .hc-main {
    padding-bottom: 40px;
  }
  /* With JavaScript: a drawer from the left, over a scrim. */
  .hc-js .hc-side {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    width: min(320px, 86vw);
    padding: 12px 12px 32px;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid var(--help-line);
    background: var(--help-page);
    box-shadow: var(--help-shadow-pop);
    transform: translateX(-100%);
    visibility: hidden;
    /* Closing: hidden only once it has slid out. Opening: visible at once, so focus can move in. */
    transition:
      transform 0.2s ease,
      visibility 0s linear 0.2s;
  }
  .hc-js .hc-side.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.2s ease;
  }
  .hc-js .hc-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    padding-left: 12px;
  }
  .hc-js .hc-side-close:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: var(--help-touch);
    padding: 0 14px;
    border: 1px solid var(--help-line);
    border-radius: var(--help-r-sm);
    background: var(--help-page);
    color: var(--help-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
  .hc-scrim:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 59;
    background: var(--help-scrim);
  }

  .hc-hero {
    padding: 32px 24px;
  }
  .hc-hero-lead {
    font-size: 17px;
  }
  .hc-topics,
  .hc-more {
    margin-top: 40px;
  }
  .hc-pal {
    padding-top: 12px;
  }
}

@media (max-width: 639px) {
  :root {
    --help-gutter: 16px;
  }
  .hc-body h2 {
    margin-top: 40px;
    padding-top: 28px;
    font-size: 23px;
  }
  .hc-lead {
    font-size: 17px;
  }
  .hc-more {
    grid-template-columns: minmax(0, 1fr);
  }
  .hc-pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .hc-pager-next {
    grid-column: auto;
  }
  .hc-ask-text {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-chev,
  .hc-js .hc-side {
    transition: none;
  }
}

@media print {
  .hc-bar,
  .hc-side,
  .hc-toc,
  .hc-pager,
  .hc-pal {
    display: none;
  }
  .hc-layout {
    display: block;
  }
}
