/* A reading-first manual, with the three-step setup as its visual anchor. */
.manual-page .brand-copy { display: flex; flex-direction: column; gap: 4px; line-height: 1.25; }
.manual-page .brand-domain { color: var(--muted); font-family: var(--utility-font); font-size: 10px; font-weight: 400; letter-spacing: .015em; }
.manual-page .footer { justify-content: center; text-align: center; }
.doc-layout { display: grid; grid-template-columns: 168px minmax(0, 860px); gap: 48px; width: min(1100px, calc(100% - 96px)); margin-inline: auto; padding: 40px 0 72px; align-items: start; }
.doc-toc { position: sticky; top: 32px; font-size: 13px; padding-top: 4px; }
.doc-toc h3 { margin: 0 0 14px; font-size: 11px; font-weight: 500; color: var(--muted); }
.doc-toc ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.doc-toc a { display: block; margin-left: -1px; border-left: 2px solid transparent; padding: 8px 14px; color: var(--muted); transition: color .18s, background-color .18s; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.active { border-left-color: #258253; color: var(--ink); background: #e9eeec; font-weight: 600; }
.doc-toc a.lvl-3 { padding-left: 24px; font-size: 12px; }
.doc-body { min-width: 0; border-radius: 12px; background: #fff; padding: 36px 40px 32px; box-shadow: 0 6px 30px rgb(23 35 45 / 3%); }
.doc-breadcrumb { margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.manual-intro { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 26px; align-items: center; }
.doc-body .doc-eyebrow { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.doc-body h1 { margin: 0 0 12px; font-family: var(--display-font); font-size: clamp(32px, 4vw, 42px); letter-spacing: -.04em; font-weight: 650; line-height: 1.2; }
.doc-body .doc-lede { margin: 0 0 12px; font-size: 17px; line-height: 1.7; }
.doc-body .intro-description { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.manual-photo { position: relative; border-radius: 8px; overflow: hidden; background: var(--carbon); }
.manual-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.manual-photo figcaption { position: absolute; bottom: 10px; left: 12px; color: #fff; font-size: 10px; text-shadow: 0 1px 4px #101317; }
.doc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 20px; font-size: 13px; }
.doc-button { display: inline-flex; align-items: center; gap: 24px; border-radius: 6px; padding: 9px 15px; background: var(--slate); color: #fff; font-size: 13px; font-weight: 500; }
.doc-button:hover { background: #293c49; }
.doc-body h2 { margin: 36px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 24px; font-weight: 650; letter-spacing: -.025em; scroll-margin-top: 28px; }
.doc-body h3 { margin: 24px 0 10px; font-size: 18px; font-weight: 600; scroll-margin-top: 28px; }
.doc-body p { margin: 12px 0; font-size: 16px; line-height: 1.85; }
.doc-body .section-note, .doc-body .step-note { color: var(--muted); font-size: 13px; line-height: 1.85; }
.doc-body strong { font-weight: 600; }
.doc-body a.inline { color: #245b78; text-decoration: underline; text-decoration-color: #bccbd3; text-underline-offset: 4px; }
.doc-body a.inline:hover { text-decoration-color: currentColor; }
.setup-steps { padding: 0; margin: 22px 0 0; list-style: none; counter-reset: setup; }
.setup-steps > li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 26px; counter-increment: setup; }
.setup-steps > li::before { content: counter(setup); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eaf2ed; color: #258253; font-family: var(--utility-font); font-size: 13px; font-weight: 600; }
.setup-steps > li:not(:last-child)::after { content: ""; position: absolute; top: 38px; bottom: 8px; left: 14px; width: 1px; background: var(--line); }
.setup-steps > li:last-child { padding-bottom: 0; }
.step-content { min-width: 0; }
.step-content h3 { margin: 0 0 8px; line-height: 30px; }
.step-content p { margin: 8px 0; }
.agent-selector:not([hidden]) { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 13px; }
.agent-selector select { max-width: 100%; padding: 7px 10px; border: 1px solid #c5cfd6; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; }
.install-prompt { margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f8fafb; }
.prompt-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.copy-button { font: inherit; color: var(--ink); background: #fff; border: 1px solid #c5cfd6; border-radius: 5px; padding: 6px 10px; cursor: pointer; }
.copy-button:hover { border-color: #258253; }
.doc-body pre { margin: 0; padding: 16px; font-family: var(--utility-font); white-space: pre-wrap; overflow-wrap: anywhere; }
.doc-body pre code { font-size: 14px; line-height: 1.85; }
.copy-feedback { display: block; padding: 0 14px 12px; color: #258253; font-size: 12px; }
.copy-feedback:empty { display: none; }
.light-table { width: 100%; margin: 20px 0; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.8; }
.light-table th, .light-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.light-table thead th { background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 500; }
.light-table th:first-child { width: 24%; }
.light-table th:nth-child(2) { width: 24%; }
.light-table tbody th { font-weight: 500; }
.light-table tbody tr:last-child > * { border-bottom: 0; }
.light-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; vertical-align: 2px; }
.light-dot.working { background: #258253; }
.light-dot.waiting { background: #ab7d12; }
.light-dot.error { background: #bd3939; }
.light-dot.idle { background: var(--muted); }
.callout { margin: 20px 0; padding: 14px 18px; border-left: 3px solid #258253; border-radius: 0 6px 6px 0; background: #f0f6f2; font-size: 14px; line-height: 1.85; }
.doc-details { border-top: 1px solid var(--line); }
.doc-details summary { padding: 16px 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.doc-details summary::marker { color: var(--muted); }
.details-content { padding: 0 0 16px; }
.details-content p:first-child { margin-top: 0; }
.details-content p:last-child { margin-bottom: 0; }
.compatibility { border: 1px solid var(--line); border-radius: 8px; padding-inline: 16px; }
.agent-support { margin: 16px 0 0; font-size: 14px; line-height: 1.8; }
.agent-support > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.agent-support dt { font-weight: 600; }
.agent-support dd { margin: 0; color: var(--muted); }
.video-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 180px; padding: 24px 16px; border: 1px dashed #c5cfd6; border-radius: 8px; background: #f8fafb; color: var(--muted); text-align: center; }
.video-placeholder svg { margin-bottom: 12px; }
.doc-body .video-placeholder p { margin: 0; font-size: 15px; color: var(--ink); }
.doc-body .video-placeholder .section-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.doc-pager { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.guide-layout { display: block; max-width: 900px; }
.guide-source { margin-top: 28px; }
.guide-source pre { background: #f8fafb; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; line-height: 1.8; }
@media (max-width: 1050px) {
  .doc-layout { width: calc(100% - 64px); gap: 28px; grid-template-columns: 140px minmax(0, 1fr); }
  .doc-body { padding-inline: 28px; }
  .manual-intro { grid-template-columns: minmax(0, 1fr) 160px; gap: 20px; }
}
@media (max-width: 850px) {
  .doc-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .doc-toc { position: static; min-width: 0; }
  .doc-toc h3 { display: none; }
  .doc-toc ul { display: flex; overflow-x: auto; border-left: 0; gap: 8px; padding: 4px 0 8px; }
  .doc-toc a { white-space: nowrap; margin-left: 0; padding: 7px 12px; border: 0; border-radius: 6px; }
  .doc-toc .toc-subsection { display: none; }
  .doc-toc a.active { border: 0; }
}
@media (max-width: 560px) {
  .manual-page .nav { gap: 12px; }
  .manual-page .brand { font-size: 14px; gap: 8px; }
  .manual-page .brand img { width: 34px; height: 34px; }
  .manual-page .nav-link { font-size: 12px; white-space: nowrap; padding-left: 0; }
  .doc-layout { width: calc(100% - 24px); padding-bottom: 40px; }
  .doc-body { padding: 24px 16px; }
  .doc-breadcrumb { margin-bottom: 20px; font-size: 11px; }
  .manual-intro { grid-template-columns: 1fr; gap: 20px; }
  .doc-body .doc-lede { font-size: 16px; }
  .manual-photo { display: none; }
  .doc-body h2 { margin-top: 28px; padding-top: 20px; font-size: 22px; }
  .doc-body p { font-size: 15px; }
  .doc-body .section-note, .doc-body .step-note { font-size: 13px; }
  .doc-body .intro-description { font-size: 13px; }
  .setup-steps > li { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding-bottom: 22px; }
  .setup-steps > li::before { width: 26px; height: 26px; }
  .setup-steps > li:not(:last-child)::after { left: 12px; top: 34px; }
  .step-content h3 { font-size: 17px; line-height: 26px; }
  .prompt-toolbar { padding: 8px 10px; }
  .doc-body pre { padding: 12px; }
  .doc-body pre code { font-size: 13px; }
  .light-table { font-size: 13px; }
  .light-table th, .light-table td { padding: 11px 6px; }
  .light-table th:first-child { width: 25%; }
  .light-table th:nth-child(2) { width: 25%; }
  .light-dot { margin-right: 4px; width: 5px; height: 5px; }
  .callout { padding: 12px 14px; font-size: 13px; }
  .agent-support > div { grid-template-columns: 1fr; gap: 4px; }
  .doc-details summary { font-size: 14px; }
  .guide-source pre { font-size: 12px; }
}
