.doc-tools { position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 20px;font:500 .84rem/1.35 var(--lp-sans,system-ui);letter-spacing:normal;color:#234a3a }
.doc-tools .doc-copy,.doc-tools summary { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid #cbd6cf;border-radius:7px;background:white;color:#234a3a;font:inherit;cursor:pointer }
.doc-tools .doc-copy[hidden] {display:none}
.doc-tools summary::-webkit-details-marker {display:none}
.doc-tools summary::after {content:'';width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:0 2px 3px 4px}
.doc-open[open] summary::after {transform:rotate(225deg);margin-top:5px}
.doc-copy-icon {width:12px;height:13px;border:1.5px solid currentColor;border-radius:2px;box-shadow:-3px -3px 0 -1px white,-3px -3px 0 0 currentColor;margin-left:2px}
.doc-tools :is(button,summary,a):focus-visible {outline:2px solid #28604a;outline-offset:3px}
.doc-open {position:relative}
.doc-menu {position:absolute;z-index:10;top:calc(100% + 5px);left:0;min-width:170px;padding:5px;background:white;border:1px solid #d5ded8;border-radius:9px;box-shadow:0 7px 20px #163c2615;text-align:left}
.doc-tools .doc-menu a {display:block;padding:9px 10px;border-radius:4px;color:#20392e;text-decoration:none}
.doc-tools :is(button,summary,a):hover {background:#f1f5f2}
.doc-menu .doc-markdown {border-top:1px solid #e0e6e2}
.doc-copy-status {color:#355f49}
.doc-tools textarea {flex-basis:100%;height:8rem}
.api-sidebar .sidebar-section-label {font-size:.77rem;font-weight:650;color:#375747}
.api-sidebar .sidebar-link.active {background:#e8f2eb;color:#17452e;box-shadow:inset 2px 0 #34704d}
.api-header .api-title {letter-spacing:-.04em}
.doc-section .section-head:has(.doc-tools) {flex-wrap:wrap}
.doc-section .section-head .doc-tools {flex-basis:100%;margin:2px 0 8px}
.doc-section .section-title {color:#182a22}
@media (min-width:901px) { .api-sidebar {border-right:1px solid #e1e8e3} }
@media (max-width:640px) { .doc-tools .doc-copy,.doc-tools summary {min-height:44px} .doc-tools .doc-menu {left:auto;right:0} }
.doc-mobile-sections {display:none}
@media (max-width:900px) {
  .doc-mobile-sections {display:block;border-block:1px solid #d6e0d9;margin-bottom:16px;padding:8px 0}
  .doc-mobile-sections summary {cursor:pointer;padding:9px 0;font-weight:600}
  .doc-mobile-sections nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px 0}
  .doc-mobile-sections a {color:#26563d;padding:8px 4px}
}

.api-handbook .star-badge {display:none}
.api-header .doc-tools {margin-block:14px}
.doc-section .doc-tools {max-width:100%}
.doc-open[open] summary {background:#edf4ef;border-color:#789d85}

.api-handbook .page-wrap {
    max-width: 1330px;
    padding: 0 32px 80px 0;
    gap: clamp(32px, 4vw, 64px);
}
.api-handbook .api-sidebar {
    top: 78px;
    width: 228px;
    max-height: calc(100dvh - 78px);
    margin: 0;
    padding: 28px 14px 28px 20px;
    background: #f7f9f7;
    border: 0;
    border-right: 1px solid #dfe5df;
}
.doc-home-link {
    display: block;
    margin: 0 10px 24px;
    color: #233d30;
    font: 650 1.05rem/1.35 var(--lp-sans, system-ui);
    text-decoration: none;
}
.api-sidebar .sidebar-section { margin-bottom: 20px; }
.api-sidebar .sidebar-section-label { margin-bottom: 6px; color: #59685d; }
.api-sidebar .sidebar-link { padding: 6px 10px; }
.api-sidebar .sidebar-link[aria-current] { color: #17442e; background: #e2eee5; font-weight: 650; }
.api-handbook .api-main { padding-top: 24px; }
.docs-finder { position: relative; margin-bottom: 30px; }
.docs-finder .doc-search { max-width: 490px; margin: 0; }
.docs-finder .doc-search-count:empty { display: none; }
.docs-finder .doc-search-results:not([hidden]) { margin-top: 8px; }
.api-handbook .api-header { position: relative; margin-bottom: 26px; }
.api-handbook .api-header .api-title {
    max-width: none;
    margin: 0;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -.055em;
}
.api-header .api-sub { max-width: 58ch; font-size: 1rem; line-height: 1.55; }
.docs-start {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(16px, 3vw, 36px);
    align-items: start;
    padding: 25px 0 28px;
    border-top: 1px solid #d4dfd6;
}
.docs-start h2 { margin: 0 0 8px; color: #193b2a; font: 650 1.55rem/1.2 var(--lp-sans, system-ui); letter-spacing: -.035em; }
.docs-start-intro p { margin: 0; max-width: 36ch; font-size: .96rem; line-height: 1.55; color: #49564f; }
.docs-start-links { display: grid; justify-items: start; gap: 7px; margin-top: 14px; }
.docs-start .doc-route, .doc-scenarios { color: #285943; text-decoration: none; font-weight: 560; }
.doc-route span { display: inline-block; margin-left: 4px; }
.doc-route:hover, .doc-scenarios:hover { text-decoration: underline; }
.doc-request { min-width: 0; overflow: hidden; border-radius: 9px; background: #15291f; color: #deeee3; }
.doc-request-head, .doc-request-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.doc-request-head { border-bottom: 1px solid #385043; font: 550 .79rem/1.4 var(--lp-mono, monospace); }
.doc-request-head button { border: 0; background: transparent; padding: 4px; font: inherit; color: #d3e4d8; cursor: pointer; }
.doc-request pre {
    margin: 0;
    padding: 16px;
    color: #f3f6f3;
    background: transparent;
    font: 500 .83rem/1.65 var(--lp-mono, monospace);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.doc-request code { font: inherit; color: inherit; background: none; padding: 0; border: 0; }
.doc-request-foot { padding-top: 0; }
.doc-run { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; background: #c7e9d1; color: #163521; border-radius: 5px; font: 600 .84rem/1.3 var(--lp-sans, system-ui); text-decoration: none; }
.doc-request .doc-scenarios { font-size: .8rem; color: #c7d9cd; }
.doc-request #sample-output { border-top: 1px solid #385043; color: #c7e9d1; }
.docs-finder .doc-mobile-sections { margin: 0; }
.doc-run:focus-visible, .doc-command-copy:focus-visible { outline: 2px solid #91b99e; outline-offset: 3px; }
.api-handbook .doc-section { margin-bottom: 36px; padding-top: 28px; }
.docs-chapter .api-main > :is(.api-header,.docs-start,.doc-closing) { display: none; }
.docs-chapter .api-main > .doc-section { border-top: 0; padding-top: 0; }
.docs-chapter .doc-section .section-title:first-of-type { font-size: clamp(1.75rem, 3vw, 2.45rem); }
.docs-chapter .api-main [hidden] { display: none !important; }
.doc-section .doc-tools { margin-bottom: 16px; }
@media (max-width: 900px) {
    .api-handbook .page-wrap { display: block; padding: 0 20px 56px; }
    .api-handbook .api-main { padding-top: 16px; }
    .docs-finder { display: flex; flex-wrap: wrap; align-items: start; gap: 8px; margin-bottom: 18px; }
    .docs-finder .doc-search { flex: 1 1 170px; max-width: none; }
    .docs-finder .doc-search-results:not([hidden]), .docs-finder .doc-search-count:not(:empty) { flex-basis: 100%; }
    .docs-finder .doc-mobile-sections { border: 0; padding: 0; }
    .docs-finder .doc-mobile-sections summary { padding: 10px 8px; }
    .docs-finder .doc-mobile-sections[open] { flex-basis: 100%; }
    .api-handbook .api-header .api-badge { position: static; margin-bottom: 9px; }
}
@media (max-width: 660px) {
    .docs-start { grid-template-columns: 1fr; gap: 18px; padding-block: 20px; }
    .docs-start-intro p { max-width: 100%; }
    .doc-request-foot a, .doc-request-head button { min-height: 36px; align-content: center; }
    .api-handbook .api-header { margin-bottom: 18px; }
}

.api-handbook .doc-request pre, .api-handbook .doc-request pre code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border-radius: 0;
    background: transparent;
}
.doc-endpoints { margin: 0 0 32px; border-top: 1px solid #d5ded6; }
.doc-endpoints h2 { margin: 20px 0 8px; font: 650 1.28rem/1.35 var(--lp-sans, system-ui); letter-spacing: -.025em; }
.doc-endpoint { display: grid; grid-template-columns: 46px minmax(0, .9fr) minmax(0, 1fr) 16px; align-items: baseline; gap: 12px; padding: 11px 6px; border-bottom: 1px solid #dfe5df; color: #23332a; text-decoration: none; }
.doc-endpoint:hover { background: #f3f7f3; }
.doc-endpoint .doc-method { font: 620 .72rem/1.5 var(--lp-mono, monospace); color: #3b634a; }
.api-main .doc-endpoint code { padding: 0; border: 0; background: transparent; box-shadow: none; font-size: .87rem; }
.doc-endpoint span:nth-child(3), .doc-endpoint i { font-size: .9rem; color: #516158; font-style: normal; }
.doc-back, .docs-chapter .doc-endpoints, .docs-ready .doc-closing { display: none !important; }
.docs-chapter .doc-back { display: inline-flex !important; margin-bottom: 16px; color: #365a44; font-size: .87rem; text-decoration: none; }
.docs-ready .api-main > .doc-section[hidden] { display: none; }
@media (max-width: 660px) {
    .doc-endpoint { grid-template-columns: 35px minmax(0, 1fr) 14px; gap: 2px 6px; }
    .doc-endpoint span:nth-child(3) { grid-row: 2; grid-column: 2; }
    .doc-endpoint i { grid-row: 1; grid-column: 3; }
}
@media print {
    .docs-finder, .doc-tools, .doc-back, .api-sidebar { display: none !important; }
}
