/* Measured from fin.ai/help on 2026-11-11; shared editorial theme. */
:root {
  color-scheme: light;
  /* Reading column: body size, leading, and a line of about 42 full-width characters. */
  --measure: 680px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 0;
}
body {
  margin: 0;
  padding-top: 60px;
  background: var(--surface-raised);
  color: var(--ink-primary);
  font: var(--text-body) / 1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}
h1 {
  font-size:var(--text-display);
  line-height: 1.35;
  text-wrap: balance;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
summary {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
input {
  touch-action: manipulation;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}
img {
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
.muted,
.article-count {
  color: var(--ink-secondary);
}
.sr-only,
.preview-bar {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: var(--surface-raised);
  z-index: 110;
}
.skip-link:focus {
  top: 8px;
}
.help-header {
  position: fixed;
  inset: 0 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px 0 24px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line-subtle);
  z-index: 50;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size:var(--text-heading);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.logo svg {
  width: 32px;
  height: 32px;
}
.help-header nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--ink-secondary);
  font-size:var(--text-body);
  line-height: 1;
}
.help-header nav a {
  padding: 8px 12px;
  margin: -8px -12px;
  border-radius:var(--radius-control);
}
.help-header nav a:hover {
  background: var(--surface-muted);
}
.search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 12px;
  height: 30px;
  min-width: 140px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius:var(--radius-control);
  background: var(--surface-muted);
  color: var(--ink-secondary);
  font-size:var(--text-body);
  text-align: left;
}
.search-trigger:hover {
  background: var(--surface-muted);
  border-color: transparent;
}
kbd {
  font-family: var(--font-code-ui);
  font-size:var(--text-small);
  font-weight: 500;
}
.mobile-search,
.mobile-menu {
  display: none;
}
.help-hero {
  height: 400px;
  padding: 64px 32px;
  background: var(--surface-page) url("/help/hero.webp") calc(50% + 105px) center/auto 400px
    no-repeat;
}
.help-hero h1 {
  font-size:var(--text-hero);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink-primary);
  max-width: 698px;
}
.hero-search {
  display: flex;
  margin-top: 48px;
  width: min(400px, 100%);
  min-height: 49.25px;
  padding: 12px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
  font-size: var(--text-body);
  box-shadow:var(--shadow-sm);
}
.hero-search span {
  flex: 1;
}
.hero-search svg {
  width: 18px;
  height: 18px;
}
.hero-search kbd {
  height: 20px;
  padding: 0 6px;
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-sm);
}
.help-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 240px;
  padding: 0 16px;
  gap: 48px;
  align-items: start;
  min-height: calc(100vh - 60px);
}
.help-main {
  grid-column: 2;
  padding: 32px 0 64px;
  width: 100%;
  max-width: var(--measure);
  min-width: 0;
  margin-inline: auto;
  overflow-wrap: anywhere;
}
.help-layout-home {
  grid-template-columns: 260px minmax(0, 1fr) clamp(
      0px,
      calc(100% - 260px - 830px - 96px),
      240px
    );
}
/* The home page holds a three-card grid, not running text. */
.help-layout-home .help-main {
  max-width: 830px;
}
.help-sidebar {
  grid-column: 1;
  position: fixed;
  top: 60px;
  left: 0;
  width: 276px;
  height: calc(100dvh - 60px);
  border-right: 1px solid var(--line-subtle);
  background: var(--surface-raised);
  overflow-y: auto;
  padding: 24px 16px 32px;
  scrollbar-width: thin;
}
.help-layout-home .help-sidebar {
  position: sticky;
  margin-left: -16px;
}
.sidebar-row {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  border-radius:var(--radius-control);
}
.sidebar-row:hover {
  background: var(--surface-page);
}
.sidebar-row > a {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 8px;
  padding: 8px;
  font-size:var(--text-body);
  line-height: 20px;
  font-weight: 600;
}
.collection-icon {
  flex: none;
  width: 20px;
  height: 20px;
}
.sidebar-row > a[aria-current="page"] {
  color: var(--brand-primary);
}
.collection-toggle {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 4px 4px 0 0;
  border: 0;
  border-radius:var(--radius-control);
  background: transparent;
  color: var(--ink-muted);
}
.collection-toggle:hover {
  background: var(--surface-page);
}
.collection-toggle svg {
  transition: transform 0.2s ease-out;
}
.collection-toggle[aria-expanded="true"] svg {
  transform: rotate(90deg);
}
.sidebar-sub {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
}
.sidebar-sub::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-subtle);
}
.sidebar-sub li {
  position: relative;
  margin-bottom: 1px;
}
.sidebar-sub a {
  display: block;
  padding: 8px;
  border-radius:var(--radius-control);
  color: var(--ink-secondary);
  font-size:var(--text-body);
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: break-word;
}
.sidebar-sub a:hover {
  background: var(--surface-page);
}
.sidebar-sub a[aria-current="page"] {
  color: var(--brand-primary);
}
.sidebar-sub li:has([aria-current="page"])::before {
  content: "";
  position: absolute;
  left: -10.5px;
  top: 50%;
  height: 16px;
  width: 2px;
  transform: translateY(-50%);
  background: var(--brand-primary);
  border-radius:var(--radius-sm);
}
.home-articles {
  margin-bottom: 48px;
}
.index-title {
  font-size:var(--text-title);
  line-height: 1.3;
  margin-bottom: 16px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.collection-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 190px;
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-control);
  background: var(--surface-raised);
  transition: background 0.15s;
}
.collection-card:hover {
  background: var(--surface-page);
}
.card-symbol {
  padding: 24px;
}
.card-symbol svg {
  width: 24px;
  height: 24px;
}
.card-body {
  border-top: 1px solid var(--line-subtle);
  padding: 16px 24px 24px;
}
.collection-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.3;
  font-weight: 600;
  min-height: 2lh;
}
.card-description {
  display: block;
  color: var(--ink-secondary);
  font-size:var(--text-control);
  line-height: 1.5;
  margin-top: 4px;
}
.collection-card .article-count {
  display: block;
  font-size:var(--text-control);
  line-height: 1.5;
  margin-top: 4px;
}
.breadcrumb {
  font-size:var(--text-control);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.breadcrumb li + li::before {
  content: "›";
  color: var(--ink-muted);
}
.breadcrumb [aria-current="page"] {
  color: var(--ink-primary);
}
.breadcrumb a:hover {
  color: var(--brand-primary);
}
.collection-heading {
  margin-bottom: 48px;
}
.collection-heading h1 {
  font-size:var(--text-display);
  margin-bottom: 12px;
}
.collection-heading p {
  font-size:var(--text-lead);
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  max-width: 56ch;
}
.collection-heading .article-count {
  font-size:var(--text-control);
}
.article-group {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}
.article-group h2 {
  font-size:var(--text-title);
  line-height: 1.3;
  margin-bottom: 16px;
}
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-list li {
  border-bottom: 1px solid var(--line-subtle);
}
.article-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  margin-inline: -12px;
  border-radius:var(--radius-control);
  transition: background 0.15s;
}
.article-list a:hover {
  background: var(--surface-page);
}
.article-list strong {
  display: block;
  font-size:var(--text-body);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-summary {
  display: block;
  font-size:var(--text-control);
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-top: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.article-group .article-summary {
  display: none;
}
.article-layout article {
  min-width: 0;
}
.article-heading {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-subtle);
}
.article-heading h1 {
  margin-bottom: 12px;
}
.article-heading > p {
  font-size:var(--text-lead);
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size:var(--text-control);
  line-height: 1.4;
  color: var(--ink-secondary);
}
.article-actions {
  display: inline-flex;
  align-items: stretch;
  position: relative;
  flex: none;
}
.article-actions > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-subtle);
  background: var(--surface-raised);
  font-size:var(--text-small);
  font-weight: 700;
  line-height: 1;
  color: var(--ink-primary);
  white-space: nowrap;
}
.article-actions > button:first-child {
  border-radius:var(--radius-control) 0 0 var(--radius-control);
}
.article-actions > .copy-caret {
  width: 32px;
  padding: 0 8px;
  margin-left: -1px;
  border-radius:0 var(--radius-control) var(--radius-control) 0;
}
.copy-caret svg {
  transform: rotate(90deg);
  color: var(--ink-secondary);
}
.article-actions button:hover {
  background: var(--surface-page);
}
.copy-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 4px;
  background: var(--surface-raised);
  color: var(--ink-primary);
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-compact);
  box-shadow:var(--shadow-lg);
  min-width: 180px;
}
.copy-menu button,
.copy-menu a {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  border-radius:var(--radius-sm);
  padding: 8px 10px;
  font-size:var(--text-control);
  line-height: 1;
  text-align: left;
}
.copy-menu a:hover {
  background: var(--surface-page);
}
.help-prose {
  line-height: var(--leading-body);
  line-break: strict;
  overflow-wrap: anywhere;
}
.help-prose p {
  margin: 0 0 24px;
}
.help-prose h2,
.help-prose h3 {
  scroll-margin-top: 80px;
}
.help-prose h2,
.help-prose h3.step-heading {
  font-family: var(--font-sans);
  font-size:var(--text-heading);
  line-height: 1.4;
  margin: 48px 0 16px;
}
.help-prose h3 {
  font-family: var(--font-sans);
  font-size:var(--text-lead);
  line-height: 1.5;
  font-weight: 600;
  margin: 32px 0 12px;
}
.help-prose ul,
.help-prose ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.help-prose li {
  margin-bottom: 8px;
}
.help-prose img {
  display: block;
  border-radius:var(--radius-compact);
  margin: 24px auto;
  box-shadow:var(--shadow-sm);
}
.help-prose a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.help-prose strong {
  font-weight: 600;
}
.help-prose blockquote {
  margin: 24px 0;
  padding: 8px 16px;
  border-left: 2px solid var(--brand-primary);
  color: var(--ink-secondary);
}
.help-callout {
  margin: 24px 0;
  padding: 16px 20px 20px;
  border: 1px solid;
  border-radius:var(--radius-control);
  color: var(--ink-primary);
}
/* Fin's yellow/blue callout palette and geometry. Labels/icons follow freee. */
.help-callout-warning {
  background: var(--status-warn-bg);
  border-color: var(--status-warn-bg);
}
.help-callout-info {
  background: var(--status-info-bg);
  border-color: var(--line-strong);
}
.callout-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.callout-label svg {
  flex: none;
  color: var(--ink-secondary);
}
.help-callout-warning .callout-label svg {
  color: var(--status-warn-fg);
}
.help-callout > :last-child {
  margin-bottom: 0;
}
.help-callout a,
.in-article-toc a {
  color: var(--ink-muted);
}
.in-article-toc {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--surface-page);
  border-radius:var(--radius-control);
  font-size:var(--text-body);
  font-weight: 500;
}
.help-prose .in-article-toc-title {
  margin-bottom: 12px;
  font-size:var(--text-lead);
  font-weight: 600;
}
.in-article-toc > ul {
  margin-bottom: 0;
}
.in-article-toc li {
  margin-bottom: 6px;
}
.in-article-toc li:last-child {
  margin-bottom: 0;
}
.in-article-toc ul ul {
  list-style: "-  ";
  margin: 6px 0 0;
  padding-left: 20px;
}
.help-prose code {
  font-family: var(--font-code-ui);
  font-size:var(--text-small);
  padding: 1px 5px;
  background: var(--surface-page);
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-sm);
}
.help-prose pre {
  overflow: auto;
  padding: 16px;
  background: var(--surface-page);
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-compact);
  margin: 16px 0;
}
.help-prose pre code {
  padding: 0;
  border: 0;
  background: none;
}
.help-prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  max-width: 100%;
  margin-bottom: 24px;
  font-size:var(--text-body);
}
.help-prose th,
.help-prose td {
  padding: 8px 12px;
  border: 1px solid var(--line-subtle);
  text-align: left;
}
.help-prose th {
  font-weight: 600;
  background: var(--surface-page);
}
/* Short row labels stay on one line; longer ones wrap without a stray last character. */
.help-prose th:first-child,
.help-prose td:first-child {
  min-width: min(8em, 25vw);
  text-wrap: balance;
}
.article-toc {
  position: fixed;
  top: 60px;
  right: 16px;
  width: 240px;
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
  border-left: 1px solid var(--line-subtle);
  padding: 32px 0 16px 16px;
  font-size:var(--text-control);
}
.article-toc p {
  font-size:var(--text-control);
  font-weight: 600;
  margin-bottom: 12px;
}
.article-toc a {
  display: block;
  position: relative;
  color: var(--ink-secondary);
  font-size:var(--text-control);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 8px;
}
.article-toc a:hover,
.article-toc a[aria-current="true"] {
  color: var(--brand-primary);
}
.article-toc .toc-sub {
  padding-left: 12px;
}
.article-toc a[aria-current="true"]::before {
  content: "";
  position: absolute;
  left: -17.5px;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  width: 2px;
  border-radius:var(--radius-sm);
  background: var(--brand-primary);
}
.help-feedback {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-subtle);
}
.help-feedback h2 {
  font-family: var(--font-sans);
  font-size:var(--text-body);
  font-weight: 400;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}
.help-feedback > div {
  display: flex;
  gap: 8px;
}
.help-feedback button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-compact);
  background: transparent;
  color: var(--ink-secondary);
}
.help-feedback button:hover {
  background: var(--surface-page);
  border-color: transparent;
  color: var(--ink-primary);
}
.help-feedback button[aria-pressed="true"] {
  border-color: var(--ink-primary);
  background: var(--status-ok-bg);
  color: var(--ink-primary);
}
.help-feedback button:disabled {
  cursor: default;
}
.feedback-status {
  font-size:var(--text-small);
  color: var(--ink-secondary);
  margin-top: 8px;
}
.feedback-status:empty {
  display: none;
}
.related-articles {
  margin-top: 48px;
}
.related-articles h2 {
  font-size:var(--text-title);
  line-height: 1.3;
  margin-bottom: 16px;
}
.help-footer {
  position: relative;
  z-index: 1;
  background: var(--surface-raised);
  padding: 48px 32px;
  border-top: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
  font-size:var(--text-control);
}
.help-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.help-footer hr {
  border: 0;
  border-top: 1px solid var(--line-subtle);
  margin: 0 0 24px;
}
.help-footer > a {
  font-family: var(--font-sans);
  color: var(--ink-primary);
  font-size:var(--text-title);
}
.help-footer small {
  float: right;
}
.empty-state {
  padding: 24px 12px;
  color: var(--ink-secondary);
  font-size:var(--text-control);
}
.search-dialog {
  position: fixed;
  inset: 12vh auto auto 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  width: min(calc(100vw - 32px), 640px);
  min-height: min(520px, 70vh);
  max-height: 70vh;
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-control);
  box-shadow:var(--shadow-lg);
  color: var(--ink-primary);
}
.search-dialog[open] {
  display: flex;
  flex-direction: column;
}
.search-dialog::backdrop {
  background: var(--surface-overlay);
}
body:has(.search-dialog[open]),
body.drawer-open {
  overflow: hidden;
}
.help-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
  flex: none;
}
.help-search > svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.help-search input {
  flex: 1;
  min-width: 0;
  color: var(--ink-primary);
  font-size: var(--text-body);
  background: none;
  border: 0;
  outline: none;
}
.help-search input::placeholder {
  color: var(--ink-secondary);
}
.help-search input:focus-visible {
  outline: none;
}
.help-search input::-webkit-search-cancel-button {
  display: none;
}
.help-search [data-close-search] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink-primary);
  font-size:var(--text-heading);
  font-weight: 400;
}
.search-filters {
  position: relative;
  display: flex;
  flex: none;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-subtle);
  white-space: nowrap;
}
.search-filters button,
.search-more summary {
  flex: none;
  padding: 2px 12px;
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-pill);
  background: none;
  color: var(--ink-secondary);
  font-size:var(--text-small);
  font-weight: 500;
  line-height: 1.5;
}
.search-filters button[aria-pressed="true"] {
  background: var(--surface-page);
  color: var(--ink-primary);
}
.search-more {
  flex: none;
}
.search-more summary {
  list-style: none;
  cursor: pointer;
}
.search-more > div {
  position: fixed;
  right: 12px;
  z-index: 2;
  min-width: 180px;
  max-height: 320px;
  overflow: auto;
  padding: 4px;
  background: var(--surface-raised);
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-compact);
  box-shadow:var(--shadow-lg);
}
.search-more > div button {
  display: block;
  border: 0;
  border-radius:var(--radius-sm);
  padding: 8px 10px;
  width: 100%;
  text-align: left;
}
.search-more > div button:hover {
  background: var(--surface-page);
}
.search-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
}
#search-status {
  margin: 0;
  font-size:var(--text-control);
  color: var(--ink-secondary);
}
#search-status:not(:empty) {
  padding: 16px 12px;
}
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-results a {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 14px;
  align-items: start;
  gap: 12px;
  padding: 8px 12px;
  border-radius:var(--radius-control);
  font-size:var(--text-body);
}
.search-results svg {
  width: 16px;
  height: 16px;
  color: var(--ink-secondary);
  margin-top: 3px;
}
.search-results a[aria-selected="true"],
.search-results a:hover {
  background: var(--surface-page);
}
.search-results strong {
  display: block;
  font-size:var(--text-body);
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.search-results small {
  display: block;
  margin-top: 1px;
  font-size:var(--text-control);
  line-height: 1.4;
  color: var(--ink-secondary);
}
.search-results mark {
  color: inherit;
  background: none;
  font-weight: 700;
}
.search-results .result-arrow {
  color: var(--ink-muted);
}
.search-keys {
  display: flex;
  gap: 16px;
  flex: none;
  padding: 8px 12px;
  border-top: 1px solid var(--line-subtle);
  background: var(--surface-page);
  color: var(--ink-secondary);
  font-size:var(--text-caption);
}
.search-keys kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 1px solid var(--line-strong);
  border-radius:var(--radius-sm);
  background: var(--surface-raised);
  font-size:var(--text-caption);
}
.search-page-trigger {
  display: block;
  margin-top: 32px;
  padding: 12px 16px;
  border: 1px solid var(--line-subtle);
  border-radius:var(--radius-control);
  background: var(--surface-raised);
}
.drawer-backdrop {
  display: none;
}
@media (max-width: 1099px) {
  .help-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .article-toc {
    display: none;
  }
  .help-layout-home {
    display: block;
  }
  .help-layout-home .help-sidebar {
    display: none;
  }
}
@media (max-width: 819px) {
  .help-header {
    padding: 0 16px;
    gap: 2px;
  }
  .logo {
    margin-right: auto;
    font-size:var(--text-display);
  }
  .logo svg {
    width: 40px;
    height: 40px;
  }
  .help-header nav,
  .help-header > .search-trigger {
    display: none;
  }
  .mobile-search,
  .mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 38px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-primary);
  }
  .help-layout {
    display: block;
    padding: 0 16px;
  }
  .help-main {
    padding: 32px 0 64px;
  }
  .help-layout-home .help-main {
    padding-bottom: 48px;
  }
  .help-sidebar,
  .help-layout-home .help-sidebar {
    display: none;
  }
  .drawer-open .help-sidebar,
  .drawer-open .help-layout-home .help-sidebar {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    margin: 0;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 60px);
    z-index: 49;
    padding: 20px 16px 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line-subtle);
    box-shadow:var(--shadow-lg);
  }
  .drawer-open .sidebar-row {
    border-bottom: 1px solid var(--line-subtle);
    border-radius:0;
  }
  .drawer-open .sidebar-row > a {
    padding-block: 12px;
  }
  .drawer-open .collection-toggle {
    margin-top: 8px;
  }
  .drawer-open .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 60px 0 0;
    z-index: 48;
    background: var(--surface-overlay);
    border: 0;
  }
  .help-hero {
    padding: 48px 16px;
    background-size: auto 260px;
    background-position: calc(50% + 65px) center;
  }
  .hero-search kbd {
    display: none;
  }
  .help-hero h1 {
    font-size:var(--text-display);
  }
  .hero-search {
    margin-top: 48px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .collection-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    height: auto;
    min-height: 0;
    padding: 8px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-subtle);
    border-radius:0;
  }
  .card-symbol {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    display: flex;
    width: 20px;
    height: 20px;
  }
  .card-symbol svg {
    width: 20px;
    height: 20px;
  }
  .card-body {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    min-width: 0;
    border: 0;
  }
  .collection-card h3 {
    font-family: var(--font-sans);
    font-size:var(--text-body);
    font-weight: 600;
    min-height: 0;
    line-height: 1.3;
  }
  .card-description {
    line-height: 1.35;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .collection-card .article-count {
    display: none;
  }
  .breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, var(--ink-primary) calc(100% - 24px), transparent);
  }
  .breadcrumb ol {
    flex-wrap: nowrap;
    width: max-content;
    padding-right: 24px;
  }
  .breadcrumb li {
    flex: none;
  }
  .article-layout {
    position: relative;
  }
  .help-main:has(.article-layout) > .breadcrumb li:last-child {
    display: none;
  }
  .collection-heading h1,
  .article-heading h1 {
    font-size:var(--text-display);
  }
  .search-dialog {
    inset: 0;
    transform: none;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    min-height: 0;
    border: 0;
    border-radius:0;
  }
  .search-keys {
    display: none;
  }
  .help-footer {
    padding: 32px 16px;
  }
  .help-footer small {
    display: block;
    float: none;
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.help-layout-home {
  position: relative;
  isolation: isolate;
}
.help-layout-home::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(var(--status-ok-bg) 1.3px, transparent 1.8px);
  background-size: 18px 18px;
  mask-image:
    radial-gradient(82% 48% at 100% 0%, var(--ink-primary) 0%, var(--ink-primary) 10%, transparent 80%),
    radial-gradient(82% 48% at 0% 100%, var(--ink-primary) 0%, var(--ink-primary) 10%, transparent 80%);
}
