/* The help center (app.hyperdesk.com/help, written by tools/help-pages.mjs). It wears hyperdesk.com's look: the
   tokens, type, header, footer and prose below are copied from home/conduit.css (keep them in step), followed by
   the help center's own parts: the search hero, the topic cards, the search results and the topic page. */
:root {
  --ink: #29251e;
  --ink-muted: #69655f;
  --ink-faint: #29251e29;
  --coal: #28241e;
  --canvas: #fff;
  --surface: #f7f6f6;
  --line: #d9d7d1;
  --line-soft: #ecebe7;
  --success: #17833a;
  --sky: #85e3fc;
  --sky-2: #b7edfd;
  --sky-tint: #e6f7fc;
  --radius-md: 8px;
  --radius-xl: 14px;
  --radius-2xl: 18px;
  --heading: 'Season Mix', 'Instrument Sans', Inter, ui-sans-serif, system-ui, sans-serif;
  --body: 'PP Neue Montreal', Geist, ui-sans-serif, system-ui, sans-serif;
  --mono-font: 'Geist Mono', 'SFMono-Regular', Consolas, monospace;
  --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 500 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-family: var(--heading); font-weight: 400; }
img { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--sky-2); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-md); background: var(--coal); color: #fff; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-md); font: 500 14px/16px var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease); }
.btn.coal { background: var(--coal); color: #fff; }
.btn.coal:hover { background: #404040; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--surface); }
.btn.ghost { border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #fff; }
.btn.ghost:hover { border-color: #fff; }
.btn.sm { height: 36px; padding: 0 14px; }

/* Header: hyperdesk.com's, with "Help center" beside the logo */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.hdr.scrolled { border-color: var(--line); }
.hdr-in { height: 64px; display: flex; align-items: center; gap: 40px; }
.hc-brand { flex: none; display: flex; align-items: center; gap: 14px; }
.brand img { width: auto; height: 22px; }
.hc-name { padding-left: 14px; border-left: 1px solid var(--line); font: 400 18px/22px var(--heading); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { color: var(--ink); font-size: 14px; line-height: 16px; font-weight: 500; text-decoration: none; opacity: 0.8; transition: opacity 0.15s; }
.nav a:hover { opacity: 1; }

/* Type */
.tag { margin: 0; color: var(--ink-muted); font: 500 12px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.tag span { margin-right: 8px; color: var(--ink); }
.h1 { margin-top: 20px; font-size: 56px; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.lede { max-width: 560px; margin: 18px 0 0; color: var(--ink-muted); font-size: 18px; line-height: 1.32; }
.hc-h2 { margin: 0 0 24px; font-size: 32px; line-height: 1.08; letter-spacing: -0.03em; }
.post-meta { margin: 20px 0 0; color: var(--ink-muted); font: 500 12px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
mark { padding: 0 2px; border-radius: 3px; background: var(--sky-2); color: inherit; }

/* Search field, in the shape of hyperdesk.com's website field */
.hc-search { width: 100%; max-width: 560px; }
.hc-field { position: relative; display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px #0000000d; transition: border-color 0.15s, box-shadow 0.15s; }
.hc-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-faint); }
.hc-field svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ink-muted); pointer-events: none; }
.hc-field input { flex: 1; min-width: 0; height: 48px; padding: 0 12px 0 40px; border: 0; outline: 0; background: transparent; font-size: 16px; -webkit-appearance: none; appearance: none; }
.hc-field input::placeholder { color: #a3a09a; }
.hc-field input:focus-visible { outline: 0; }
.hc-field input::-webkit-search-cancel-button { cursor: pointer; }

/* Index: the search on the sky, mint and peach of hyperdesk.com's closing banner */
.hc-hero { padding: 32px 0 0; }
.hc-hero-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 88px 32px 72px; border-radius: var(--radius-2xl); overflow: hidden; isolation: isolate; text-align: center; }
.hc-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 85% at 12% 18%, var(--sky) 0, rgba(133, 227, 252, 0) 100%), radial-gradient(45% 70% at 72% 12%, #c9f1dc 0, rgba(201, 241, 220, 0) 100%), radial-gradient(50% 80% at 90% 88%, #ffcfa8 0, rgba(255, 207, 168, 0) 100%), radial-gradient(45% 60% at 35% 95%, var(--sky-2) 0, rgba(183, 237, 253, 0) 100%), #eaf6fa; }
.hc-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(40, 36, 30, 0.13) 1px, transparent 1.6px) 0 0 / 7px 7px; -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 55%, #000 100%); mask-image: linear-gradient(160deg, #000 0%, transparent 55%, #000 100%); }
.hc-hero-card .tag { color: rgba(41, 37, 30, 0.72); }
.hc-hero-card .h1 { max-width: 14ch; }
.hc-hero-card .lede { color: rgba(41, 37, 30, 0.76); }
.hc-hero-card .hc-search { margin-top: 32px; }
.hc-hero-card .hc-field { border-color: transparent; box-shadow: 0 10px 30px -10px rgba(40, 36, 30, 0.25); }
.hc-hero-card .hc-field:focus-within { border-color: var(--ink); }
.hc-popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 640px; margin: 20px 0 0; padding: 0; list-style: none; }
.hc-popular a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); color: var(--ink); font-size: 13px; line-height: 16px; text-decoration: none; transition: background 0.15s; }
.hc-popular a:hover { background: #fff; }

/* Search results */
.hc-results { padding-top: 40px; padding-bottom: 96px; }
.hc-results > * { max-width: 820px; margin-inline: auto; }
.hc-count { margin-bottom: 16px; color: var(--ink-muted); font: 500 12px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.hc-hits { display: grid; gap: 8px; padding: 0; list-style: none; }
.hc-hits a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; text-decoration: none; transition: border-color 0.15s var(--ease); }
.hc-hits a:hover, .hc-hits a:focus-visible { border-color: var(--ink); }
.hc-hit-where { display: block; color: var(--ink-muted); font: 500 11px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.hc-hit-t { display: block; margin-top: 8px; font: 400 21px/1.2 var(--heading); letter-spacing: -0.02em; }
.hc-hit-x { display: block; margin-top: 6px; color: var(--ink-muted); font-size: 15px; line-height: 1.4; }
.hc-none { padding: 24px; border-radius: var(--radius-xl); background: var(--surface); color: var(--ink-muted); font-size: 16px; line-height: 1.45; }
.hc-none p { margin: 0; }
.hc-none a { color: var(--ink); text-underline-offset: 3px; }

/* Topics */
.hc-browse { padding: 72px 0 120px; }
.hc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hc-cat { display: flex; flex-direction: column; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.hc-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--sky-tint); color: var(--ink); }
.hc-cat h3 { margin: 20px 0 6px; font-size: 26px; line-height: 1.08; letter-spacing: -0.03em; }
.hc-cat > p { margin: 0 0 18px; color: var(--ink-muted); font-size: 15px; line-height: 1.4; }
.hc-cat > p a { color: inherit; }
.hc-links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.hc-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; line-height: 1.3; text-decoration: none; }
.hc-links li:last-child a { border-bottom: 0; padding-bottom: 2px; }
.hc-links a::after { content: "\2192"; flex: none; color: var(--ink-muted); transition: translate 0.15s var(--ease), color 0.15s; }
.hc-links a:hover::after { translate: 3px 0; color: var(--ink); }
.hc-talk { border-color: var(--coal); background: var(--coal); color: #fff; }
.hc-talk .hc-ic { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hc-talk > p { color: rgba(255, 255, 255, 0.7); }
.hc-talk > p a { color: #fff; }
.hc-talk .hc-help-btns { margin-top: auto; }
.hc-help-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* A topic: the answer, with every topic beside it */
.hc-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 56px; padding-bottom: 112px; }
.hc-article { grid-column: 2; grid-row: 1; min-width: 0; max-width: 740px; }
.hc-side { grid-column: 1; grid-row: 1; position: sticky; top: 88px; max-height: calc(100vh - 104px); overflow: auto; padding-bottom: 8px; scrollbar-width: thin; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-muted); font: 500 12px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b9b6af; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.hc-article .h1 { font-size: 48px; line-height: 1.04; }
.hc-answer { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius-xl); background: var(--sky-tint); }
.hc-answer p { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.55; }
.hc-answer p.hc-answer-tag { margin-bottom: 8px; color: #2d6f80; font: 500 11px/14px var(--mono-font); letter-spacing: 0.06em; text-transform: uppercase; }
.hc-answer a { color: var(--ink); text-underline-offset: 3px; }
.hc-answer b { font-weight: 600; }
.hc-toc { margin-top: 32px; padding: 18px 0 4px; border-top: 1px solid var(--line); }
.hc-toc-h { margin: 0 0 8px; color: var(--ink-muted); font: 500 11px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.hc-toc ul { margin: 0; padding: 0; list-style: none; }
.hc-toc a { display: inline-block; padding: 5px 0; color: var(--ink); font-size: 15px; line-height: 1.35; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.hc-toc a:hover { text-decoration-color: var(--ink); }

.prose { font-size: 17px; font-weight: 400; line-height: 1.6; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--ink-muted); }
.prose b, .prose strong { font-weight: 600; }
.prose a { color: var(--ink); text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.hc-prose { margin-top: 16px; }
.hc-q { padding-top: 36px; }
.hc-q h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; }
.hc-q h2:target { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hc-q > :last-child { margin-bottom: 0; }
.plan-table { width: 100%; margin: 4px 0 16px; border-collapse: collapse; font-size: 15px; line-height: 1.35; }
.plan-table th, .plan-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.plan-table tr:last-child > * { border-bottom: 0; }
.plan-table th { width: 40%; padding-right: 16px; font-weight: 500; }
.plan-table td { color: var(--ink-muted); }

.hc-related { margin-top: 64px; }
.hc-related ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.hc-related a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-xl); text-decoration: none; transition: border-color 0.15s var(--ease); }
.hc-related a:hover { border-color: var(--ink); }
.hc-related b { font: 400 19px/1.15 var(--heading); letter-spacing: -0.02em; }
.hc-related span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--ink-muted); font-size: 14px; line-height: 1.4; }

.hc-help { margin-top: 48px; padding: 32px; border-radius: var(--radius-2xl); background: var(--coal); color: #fff; }
.hc-help h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.08; letter-spacing: -0.03em; }
.hc-help p { max-width: 56ch; margin: 0 0 22px; color: rgba(255, 255, 255, 0.7); font-size: 16px; line-height: 1.45; }
.hc-help p a { color: #fff; text-underline-offset: 3px; }

.hc-search.sm { margin-bottom: 8px; }
.hc-search-h { display: block; margin: 0 0 8px; color: var(--ink-muted); font: 500 11px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.hc-search.sm .hc-field { padding: 2px; border-radius: 10px; box-shadow: none; }
.hc-search.sm .hc-field input { height: 38px; padding-left: 36px; font-size: 15px; }
.hc-search.sm .hc-field svg { left: 12px; }
.hc-side-h { margin: 24px 0 6px; color: var(--ink-muted); font: 500 11px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.hc-side ul { margin: 0; padding: 0; list-style: none; }
.hc-side li a { display: block; margin-left: -10px; padding: 6px 10px; border-radius: var(--radius-md); color: var(--ink-muted); font-size: 14px; line-height: 1.3; text-decoration: none; transition: background 0.15s, color 0.15s; }
.hc-side li a:hover { background: var(--surface); color: var(--ink); }
.hc-side li a[aria-current="page"] { background: var(--sky-tint); color: var(--ink); }

/* Footer: hyperdesk.com's */
.ftr { padding: 80px 0 40px; background: var(--coal); color: rgba(255, 255, 255, 0.64); font-size: 14px; line-height: 1.32; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 64px; }
.ftr-brand p { max-width: 30ch; margin: 0 0 24px; }
/* The logo across the full width, cut into lines (footer-logo.svg, drawn by tools/footer-logo.py). */
.ftr-logo { display: block; margin-top: 88px; }
.ftr-logo img { display: block; width: 100%; height: auto; }
.ftr-logo + .ftr-bottom { margin-top: 56px; }
.ftr-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr-h { margin: 0 0 14px; color: #fff; font: 500 12px/14px var(--mono-font); letter-spacing: 0.04em; text-transform: uppercase; }
.ftr-cols a { display: block; padding: 5px 0; color: inherit; text-decoration: none; transition: color 0.15s; }
.ftr-cols a:hover { color: #fff; }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; }
.yc { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: #fff; }
.yc-mark { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 3px; background: #f26522; color: #fff; font-size: 12px; font-weight: 600; }

@media (max-width: 1080px) {
  .ftr-top { grid-template-columns: 1fr; gap: 48px; }
  .nav { gap: 20px; }
  .hc-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
  .hc-related ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .hdr .btn { margin-left: auto; }
  .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* A topic on one column: the answer first, every topic after it */
  .hc-layout { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 80px; }
  .hc-article, .hc-side { grid-column: 1; }
  .hc-article { max-width: none; }
  .hc-side { grid-row: 2; position: static; max-height: none; overflow: visible; padding-top: 32px; border-top: 1px solid var(--line); }
  .hc-side nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h1 { font-size: 48px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hdr-in { gap: 12px; }
  .hc-brand { gap: 10px; }
  .brand img { height: 20px; }
  .hc-name { padding-left: 10px; font-size: 16px; }
  .hdr .btn.sm { padding: 0 12px; font-size: 13px; }
  .hc-hero { padding-top: 12px; }
  .hc-hero-card { margin-inline: -4px; padding: 56px 18px 40px; }
  .h1 { font-size: 40px; line-height: 1.04; }
  .lede { font-size: 16px; }
  .hc-popular { gap: 6px; }
  .hc-browse { padding: 56px 0 80px; }
  .hc-grid { grid-template-columns: minmax(0, 1fr); }
  .hc-cat { padding: 22px 18px 18px; }
  .hc-h2 { font-size: 28px; }
  .hc-article .h1 { font-size: 36px; }
  .hc-answer { margin-top: 22px; padding: 18px; }
  .hc-answer p { font-size: 17px; }
  .hc-q { padding-top: 32px; }
  .hc-q h2 { font-size: 23px; }
  .plan-table { font-size: 14px; }
  .plan-table th { width: 42%; }
  .hc-side nav { display: block; }
  .hc-help { padding: 26px 20px; }
  .hc-help h2 { font-size: 26px; }
  .hc-help-btns .btn { flex: 1 1 auto; }
  .ftr { padding-top: 64px; }
  .ftr-cols { gap: 28px 16px; }
  .ftr-logo { margin-top: 56px; }
  .ftr-logo + .ftr-bottom { margin-top: 32px; }
}
