/* Documentation shares the website brand and keeps its reading layout isolated. */
.docs-page { --docs-header: 64px; --docs-sidebar: 256px; --docs-accent: #16977b; padding: 0; color: #3c3c43; font-size: 15px; }
.docs-page.docs-menu-open { overflow: hidden; }
.docs-page::before { display: none; }
.docs-page .skip-link { z-index: 1400; }
.docs-header { z-index:1200; color:var(--ink); }
.docs-header-actions { gap:16px; }
.docs-search-trigger { display: flex; align-items: center; gap: 9px; height: 38px; border: 0; border-radius: 8px; background: #f6f6f7; padding: 0 11px; color: #6a6a71; font-size: 13px; }
.docs-search-trigger:hover { background: #ededf0; }
.docs-search-trigger svg { width: 17px; height: 17px; }
.docs-search-trigger kbd { margin-left: 14px; padding: 1px 5px; border: 1px solid #dedee3; border-radius: 4px; font-family: inherit; font-size: 11px; background: #fff; }
.docs-download { display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 22px; background: #191919; color: #fff; padding: 9px 18px; font-size: 13px; }
.docs-download:hover { background: #333; }
.docs-download svg { height: 16px; width: 16px; }
.docs-sidebar { position: fixed; top: var(--docs-header); bottom: 0; width: var(--docs-sidebar); z-index: 1000; background: #f7f7f8; padding: 35px 24px 24px; display: flex; flex-direction: column; overflow-y: auto; }
.docs-sidebar-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 30px; font-size: 12px; color: #87878e; }
.docs-sidebar summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.docs-sidebar summary::-webkit-details-marker { display: none; }
.docs-sidebar summary svg { height: 14px; width: 14px; color: #85858c; transform: rotate(-90deg); }
.docs-sidebar details[open] summary svg { transform: rotate(0); }
.docs-sidebar-link { margin-top: 10px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; font-size: 14px; border-radius: 6px; color: #12856c; background: #e7f2ee; font-weight: 500; }
.docs-sidebar-link svg { width: 16px; height: 16px; }
.docs-back-home { margin-top: auto; padding: 28px 10px 0; color: #85858c; font-size: 12px; }
.docs-back-home span { margin-right: 6px; }
.docs-back-home:hover { color: var(--docs-accent); }
.docs-layout { margin-left: var(--docs-sidebar); padding: calc(var(--docs-header) + 46px) 48px 70px; display: grid; grid-template-columns: minmax(0, 720px) 176px; justify-content: center; align-items: start; gap: 64px; }
.docs-article { min-width: 0; outline: none; }
.docs-breadcrumb { color: #94949a; font-size: 12px; margin-bottom: 26px; }
.docs-breadcrumb > span:first-child { padding: 0 10px; color: #c1c1c7; }
.docs-breadcrumb > span:last-child { color: #66666e; }
.docs-article h1 { font-size: 34px; line-height: 1.4; font-weight: 650; letter-spacing: -.025em; color: #27272c; margin: 0 0 18px; }
.docs-lead { color: #707078; font-size: 17px; line-height: 1.95; margin-bottom: 26px; }
.docs-intro-note { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: #f6f8f7; border-radius: 8px; margin-bottom: 42px; }
.docs-note-icon { font-family: Georgia, serif; display: grid; place-items: center; border: 1.5px solid #7f948c; color: #7f948c; width: 16px; height: 16px; font-size: 11px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.docs-intro-note p { margin: 0; font-size: 14px; line-height: 1.9; color: #60746b; }
.docs-article section { margin: 0 0 34px; }
.docs-article h2 { border-top: 1px solid #e9e9ed; padding-top: 27px; font-size: 23px; font-weight: 600; margin: 0 0 18px; color: #303036; letter-spacing: -.025em; scroll-margin-top: 92px; }
.docs-article h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: #393940; letter-spacing: 0; }
.docs-article p { line-height: 1.95; }
.docs-article section > p { margin-bottom: 18px; }
.docs-heading-anchor { margin-left: 9px; opacity: 0; color: var(--docs-accent); font-size: 20px; font-weight: 400; }
.docs-article h2:hover .docs-heading-anchor, .docs-heading-anchor:focus-visible { opacity: 1; }
.docs-feature { display: flex; gap: 15px; margin: 23px 0; }
.docs-feature-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e4ece8; border-radius: 8px; background: #f6f9f7; color: #438a74; flex-shrink: 0; }
.docs-feature-icon svg { width: 19px; height: 19px; }
.docs-feature p { margin: 0; color: #696970; font-size: 14px; }
.docs-use-cases { list-style: none; padding: 0; display: grid; gap: 14px; }
.docs-use-cases li { display: flex; align-items: baseline; gap: 16px; }
.docs-use-cases strong { font-size: 14px; white-space: nowrap; font-weight: 600; }
.docs-use-cases span { font-size: 14px; color: #696970; }
.docs-steps { list-style: none; counter-reset: steps; padding: 2px 0 0; }
.docs-steps li { display: flex; gap: 14px; margin: 0 0 22px; counter-increment: steps; }
.docs-steps li::before { content: counter(steps); display: grid; place-items: center; width: 24px; height: 24px; font-size: 12px; border: 1px solid #dedee3; border-radius: 50%; flex-shrink: 0; margin-top: 2px; color: #74747b; }
.docs-steps strong { font-size: 14px; font-weight: 600; }
.docs-steps p { margin: 4px 0 0; font-size: 14px; color: #696970; }
.docs-steps a { color: #168a70; text-decoration: underline; text-underline-offset: 3px; }
.docs-tip { background: #f4f7fa; border-left: 3px solid #b0c3d2; border-radius: 0 6px 6px 0; padding: 16px 18px; }
.docs-tip strong { font-size: 13px; color: #4a5c69; }
.docs-tip p { margin: 5px 0 0; color: #687982; font-size: 13px; }
.docs-article-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e9e9ed; padding-top: 20px; color: #909098; font-size: 11px; margin-top: 42px; }
.docs-article-footer a:hover { color: var(--docs-accent); }
.docs-outline { position: sticky; top: 110px; border-left: 1px solid #e5e5e9; padding: 1px 0 0 18px; font-size: 12px; margin-top: 2px; }
.docs-outline > strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.docs-outline nav { display: grid; gap: 12px; }
.docs-outline a { position: relative; color: #8a8a92; line-height: 1.6; }
.docs-outline a:hover, .docs-outline a[aria-current] { color: #168a70; }
.docs-outline a[aria-current]::before { content: ''; position: absolute; left: -20px; top: 1px; bottom: 1px; width: 3px; border-radius: 2px; background: #20bc9a; }
.docs-mobile-bar, .docs-inline-outline, .docs-scrim { display: none; }
.docs-search-dialog { margin: min(18vh, 150px) auto auto; padding: 0; width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 100px); border: 1px solid #e1e4e3; border-radius: 12px; color: #3c3c43; box-shadow: 0 20px 80px #0003; overflow: auto; }
.docs-search-dialog::backdrop { background: #121b2166; backdrop-filter: blur(3px); }
.docs-search-box { margin: 14px; padding: 0 12px; height: 50px; display: flex; align-items: center; gap: 12px; border: 2px solid #39a58c; border-radius: 7px; }
.docs-search-box > svg { width: 20px; height: 20px; color: #288e73; flex-shrink: 0; }
.docs-search-box input { min-width: 0; width: 100%; border: 0; background: transparent; outline: none; color: inherit; font-size: 16px; }
.docs-search-box input:focus-visible { outline: none; }
.docs-search-box button { border: 1px solid #dedee3; border-radius: 4px; color: #86868e; font-size: 11px; padding: 2px 5px; background: #f8f8fa; }
.docs-search-results { display: grid; gap: 5px; padding: 0 14px; }
.docs-search-result { display: grid; text-align: left; width: 100%; border: 1px solid #e6e8e7; border-radius: 6px; background: #fff; padding: 12px 15px; color: inherit; cursor: pointer; }
.docs-search-result[aria-selected=true] { background: #eef7f3; border-color: #8ac0ac; }
.docs-search-result small { font-size: 11px; color: #98989f; margin-bottom: 4px; }
.docs-search-result strong { font-size: 14px; font-weight: 500; }
.docs-search-result p { color: #86868e; font-size: 12px; margin: 4px 0 0; line-height: 1.6; }
.docs-search-status { color: #91919a; padding: 12px 18px; margin: 0; font-size: 12px; }
.docs-search-footer { display: flex; gap: 20px; padding: 11px 18px; background: #f7f7f8; color: #98989e; font-size: 11px; border-top: 1px solid #ededf0; }
.docs-search-footer kbd { padding: 1px 4px; background: #fff; border: 1px solid #e4e4e8; border-radius: 3px; margin-right: 4px; font-family: inherit; }
.docs-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; }
@media (min-width: 1600px) { .docs-page { --docs-sidebar: 280px; } .docs-layout { gap: 86px; padding-inline: 80px; } }
@media (max-width: 1199px) { .docs-layout { grid-template-columns: minmax(0, 720px); padding-inline: 44px; } .docs-outline { display: none; } .docs-inline-outline { display: grid; gap: 8px; margin-bottom: 34px; border-left: 1px solid #e5e5e9; padding-left: 16px; font-size: 13px; scroll-margin-top: 95px; } .docs-inline-outline strong { font-size: 12px; margin-bottom: 3px; } .docs-inline-outline a { color: #76767e; } }
@media (max-width: 959px) {
  .docs-page { --docs-header:64px; }
  .docs-header-actions { gap: 14px; }
  .docs-search-trigger { width: 36px; padding: 0; justify-content: center; background: transparent; }
  .docs-search-trigger > span, .docs-search-trigger kbd { display: none; }
  .docs-sidebar { top: calc(var(--docs-header) + 44px); width: min(300px, 85vw); transform: translateX(-100%); transition: transform .2s; z-index: 1150; }
  .docs-sidebar[data-open] { transform: translateX(0); }
  .docs-mobile-bar { display: flex; position: fixed; inset: var(--docs-header) 0 auto; height: 44px; z-index: 1100; background: #fff; border-bottom: 1px solid #e9e9ed; padding: 0 24px; justify-content: space-between; align-items: center; color: #777780; font-size: 12px; }
  .docs-mobile-bar button { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; padding: 5px 0; font-size: 12px; }
  .docs-mobile-bar svg { height: 16px; width: 16px; }
  .docs-scrim:not([hidden]) { display: block; position: fixed; inset: calc(var(--docs-header) + 44px) 0 0; z-index: 1140; background: #121b2144; border: 0; border-radius: 0; }
  .docs-layout { margin-left: 0; padding: 140px 36px 48px; }
  .docs-article h2 { scroll-margin-top: 124px; }
  .docs-inline-outline { scroll-margin-top: 122px; }
}
@media (max-width:600px) { .docs-page { --docs-header:56px; } }
@media (max-width: 599px) {
  .docs-header-actions { gap: 10px; }
  .docs-download { padding: 7px 11px; font-size: 11px; gap: 6px; }
  .docs-download svg { display: none; }
  .docs-mobile-bar { padding: 0 20px; }
  .docs-layout { padding: 130px 24px 40px; }
  .docs-breadcrumb { margin-bottom: 22px; }
  .docs-article h1 { font-size: 29px; }
  .docs-lead { font-size: 16px; }
  .docs-desktop-break { display: none; }
  .docs-intro-note { padding: 16px; margin-bottom: 30px; }
  .docs-article h2 { font-size: 21px; }
  .docs-use-cases li { display: grid; gap: 4px; }
  .docs-article-footer { flex-direction: column; gap: 8px; }

  .docs-search-dialog { margin-top: 20px; }
}
@media (max-width: 359px) { .docs-download { padding-inline: 9px; } .docs-header-actions { gap: 3px; } .docs-layout { padding-inline: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .docs-sidebar { transition: none; } }

.contact-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.contact-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; justify-items: start; padding: 18px; border: 1px solid #e8ebef; border-radius: 12px; }
.contact-card p { margin: 0 0 14px; color: #696970; font-size: 14px; }
.contact-button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; padding: 0 14px; border-radius: 8px; background: #191919; color: #fff; font-size: 14px; }
.contact-button:hover { background: #333; }
.contact-image { display: block; width: min(100%, 220px); aspect-ratio: 1280 / 1805; border: 1px solid #e8ebef; border-radius: 10px; overflow: hidden; background: #fff; }
.contact-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

/* Standalone public guides keep their full text readable without JavaScript. */
.public-guide { max-width: 880px; margin: 0 auto; padding: 108px 28px 64px; }
.public-guide .docs-article-footer { display: block; line-height: 2; }
@media (max-width: 640px) {
  .public-guide { padding: 92px 20px 48px; }
  .public-guide h1 { font-size: 28px; }
}

.docs-sidebar-link:not([aria-current="page"]) { color: #66666e; background: transparent; }
.docs-sidebar-link:not([aria-current="page"]):hover { color: var(--docs-accent); background: #eef3f1; }

.docs-billing-table { overflow-x: auto; margin: 20px 0; }
.docs-billing-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs-billing-table th, .docs-billing-table td { text-align: left; vertical-align: top; padding: 12px; border: 1px solid #e9ebec; min-width: 110px; }
.docs-billing-table th { background: #f6f8f7; }
