.api-docs-page { --api-primary: var(--brand-primary, #26B5A6); --api-ink: #173e46; --api-muted: #70858a; color: #38555a; background: #fff; }
.api-docs-banner { position: relative; height: 390px; overflow: hidden; background: linear-gradient(110deg, #28484d, #cbd4d3); }
.api-docs-banner > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.api-docs-banner__shade { position: absolute; top:0;right:0;bottom:0;left:0;inset: 0; background: linear-gradient(90deg, rgba(4,38,44,.78), rgba(4,38,44,.38) 55%, rgba(4,38,44,.08)); }
.api-docs-banner__content { position: absolute; right: 0; bottom: 58px; left: 0; z-index: 1; color: #fff; }
.api-docs-banner__content p { margin: 0 0 8px; color: rgba(255,255,255,.88); font-size: 20px; letter-spacing: .18em; }
.api-docs-banner__content h1 { margin: 0; color: #fff; font-size: 44px; font-weight: 400; }
.api-docs-main { padding: 76px 0 104px; background: linear-gradient(180deg, #fff, #f7faf9); }
.api-docs-heading { max-width: 780px; margin: 0 auto 36px; text-align: center; }
.api-docs-heading > span { display: inline-block; margin-bottom: 12px; color: var(--brand-interactive, #087E74); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
@supports not (font-size: clamp(32px, 3vw, 42px)) {
.api-docs-heading h2 { font-size: 3vw; }
@media (max-width: 1066.66667px) { .api-docs-heading h2 { font-size: 32px; } }
@media (min-width: 1400px) { .api-docs-heading h2 { font-size: 42px; } }
}
.api-docs-heading h2 { margin: 0 0 12px; color: #073943; font-size: clamp(32px, 3vw, 42px); font-weight: 700; }
.api-docs-heading p { margin: 0; color: var(--api-muted); font-size: 15px; line-height: 1.8; }
.api-docs-toc { position:-webkit-sticky;position: sticky; top: 78px; z-index: 20; margin: 0 0 36px; padding: 12px 0; border: 1px solid #e1ebe8; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(14,61,66,.07); -webkit-backdrop-filter:blur(12px);backdrop-filter: blur(12px); }
.api-docs-toc__inner { display: flex; flex-wrap: nowrap; align-items: center; grid-gap:5px 9px;gap: 5px 9px; max-width: 1280px; margin: 0 auto; padding: 0 18px; overflow-x: auto; scrollbar-width: thin; }
.api-docs-toc a { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 36px; padding: 0 12px; color: #536a6f; border-radius: 2px; font-size: 13px; text-decoration: none; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.api-docs-toc a:hover, .api-docs-toc a.is-active { color: var(--brand-interactive, #087E74); background: #eaf6f3; }
.api-docs-toc a.is-active { font-weight: 700; }
.api-docs-toc .api-docs-toc__child { padding-left: 19px; color: #74898c; }
.api-docs-groups { display: grid; grid-gap:28px;gap: 28px; }
.api-docs-group { padding: 29px 34px 34px; border: 1px solid #e2ebe9; border-top: 3px solid var(--api-primary); background: #fff; box-shadow: 0 14px 42px rgba(14,61,66,.06); scroll-margin-top: 185px; }
.api-docs-group__heading { margin: 0 0 12px; padding-bottom: 19px; border-bottom: 1px solid #e7eeec; }
.api-docs-group__heading span { color: var(--brand-interactive, #087E74); font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.api-docs-group__heading h3 { margin: 6px 0 0; color: var(--api-ink); font-size: 24px; font-weight: 700; }
.api-doc-list { display: grid; grid-gap:10px;gap: 10px; }
.api-doc-card { display: flex; align-items: center; grid-gap:15px;gap: 15px; min-height: 78px; padding: 16px 19px; color: inherit; border: 1px solid #e7efed; background: #fbfcfc; text-decoration: none; transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.api-doc-card:hover { color: inherit; border-color: #b6d8d0; background: #fff; box-shadow: 0 8px 22px rgba(14,61,66,.07); transform: translateY(-1px); }
.api-doc-card__icon { display: inline-flex; flex: 0 0 42px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--api-primary); background: #eaf6f3; font-size: 17px; }
.api-doc-card__copy { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; grid-gap:4px;gap: 4px; }
.api-doc-card__copy strong { color: var(--api-ink); font-size: 15px; font-weight:600;font-weight: 650; }
.api-doc-card__copy small { color: var(--api-muted); font-size: 12px; line-height: 1.6; }
.api-doc-card__arrow { color: #94a8a9; transition: color .2s ease, transform .2s ease; }
.api-doc-card:hover .api-doc-card__arrow { color: var(--brand-interactive, #087E74); transform: translateX(3px); }
.api-doc-section { padding: 22px 0 0; scroll-margin-top: 190px; }
.api-doc-section + .api-doc-section { margin-top: 12px; border-top: 1px solid #edf1f0; }
.api-doc-entry + .api-doc-entry { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e9efed; }
.api-doc-entry h4 { margin: 0 0 12px; color: var(--api-ink); font-size: 19px; font-weight:600;font-weight: 650; scroll-margin-top: 190px; }
.api-doc-entry { scroll-margin-top: 190px; }
.api-docs-group__empty { margin: 0; padding: 13px 16px; color: #788d90; background: #f5f8f7; border-left: 2px solid #cbdad6; font-size: 13px; }
.api-doc-entry__content table { width: 100%; margin: 14px 0 20px; border-collapse: collapse; }
.api-doc-entry__content th, .api-doc-entry__content td { padding: 12px 14px; border: 1px solid #e3eae8; text-align: left; vertical-align: top; }
.api-doc-entry__content th { color: #294d53; background: #f2f6f5; font-weight: 600; }
.api-doc-entry__content pre { margin: 14px 0; padding: 18px 20px; overflow-x: auto; color: #e4f2ef; background: #12383e; border-radius: 3px; font-size: 13px; line-height: 1.7; }
.api-doc-entry__content code { font-family: Consolas, Monaco, monospace; }
.api-doc-entry__content img { max-width: 100%; height: auto; }
.api-docs-empty { max-width: 800px; margin: 0 auto; padding: 56px 30px; border: 1px solid #e2ebe9; border-top: 3px solid var(--api-primary); background: #fff; text-align: center; box-shadow: 0 14px 42px rgba(14,61,66,.06); }
.api-docs-empty > span { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; color: var(--brand-interactive, #087E74); background: #edf8f5; border-radius: 50%; font-size: 23px; }
.api-docs-empty h3 { margin: 17px 0 9px; color: var(--api-ink); font-size: 22px; }
.api-docs-empty p { margin: 0; color: var(--api-muted); font-size: 14px; line-height: 1.8; }

.api-article-main { padding: 34px 0 100px; background: linear-gradient(180deg, #f5f8f7 0, #fff 310px); }
.api-article-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; grid-gap:9px;gap: 9px; margin: 0 0 31px; color: #87999b; font-size: 13px; }
.api-article-breadcrumb a { color: #657d81; text-decoration: none; }
.api-article-breadcrumb a:hover { color: var(--brand-interactive, #087E74); }
.api-article-breadcrumb strong { color: #2c4d52; font-weight: 600; }
.api-article-heading { max-width: 920px; margin: 0 auto 29px; text-align: center; }
.api-article-heading > span { display: inline-block; margin-bottom: 11px; color: var(--brand-interactive, #087E74); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
@supports not (font-size: clamp(30px, 3vw, 40px)) {
.api-article-heading h2 { font-size: 3vw; }
@media (max-width: 1000px) { .api-article-heading h2 { font-size: 30px; } }
@media (min-width: 1333.33333px) { .api-article-heading h2 { font-size: 40px; } }
}
.api-article-heading h2 { margin: 0 0 9px; color: #073943; font-size: clamp(30px, 3vw, 40px); font-weight: 700; line-height: 1.35; }
.api-article-heading p { margin: 0; color: var(--api-muted); font-size: 14px; }
.api-article-toc { position:-webkit-sticky;position: sticky; top: 78px; z-index: 20; margin: 0 0 20px; padding: 10px 0; border: 1px solid #e1ebe8; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(14,61,66,.07); -webkit-backdrop-filter:blur(12px);backdrop-filter: blur(12px); }
.api-article-toc[hidden] { display: none; }
.api-article-toc__inner { display: flex; align-items: center; grid-gap:7px;gap: 7px; max-width: 1280px; margin: 0 auto; padding: 0 16px; overflow-x: auto; scrollbar-width: thin; }
.api-article-toc a { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 35px; padding: 0 12px; color: #536a6f; border-radius: 2px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.api-article-toc a:hover, .api-article-toc a.is-active { color: var(--brand-interactive, #087E74); background: #eaf6f3; }
@supports not (padding: clamp(22px, 4vw, 42px)) {
.api-article-card { padding: 4vw; }
@media (max-width: 550px) { .api-article-card { padding: 22px; } }
@media (min-width: 1050px) { .api-article-card { padding: 42px; } }
}
.api-article-card { padding: clamp(22px, 4vw, 42px); border: 1px solid #e2ebe9; border-top: 3px solid var(--api-primary); background: #fff; box-shadow: 0 14px 42px rgba(14,61,66,.06); }
.api-article__body { color: #526a6f; font-size: 14px; line-height: 1.85; word-wrap:break-word;overflow-wrap:break-word;overflow-wrap: anywhere; }
.api-article__body > div > p { margin: 0 0 11px; }
.api-article__body p[hidden] { display: none; }
.api-article__body table { width: 100%; margin: 15px 0 29px; border-collapse: collapse; font-size: 13px; }
.api-article__body th, .api-article__body td { padding: 11px 13px; border: 1px solid #e2eae8; text-align: left; vertical-align: top; }
.api-article__body tr:first-child th, .api-article__body tr:first-child td { color: #31545a; background: #f1f6f5; font-weight:600;font-weight: 650; }
.api-article__body tr:nth-child(even) { background: #fbfcfc; }
.api-article-section-title { margin: 31px 0 12px; padding: 0 0 10px; color: #133f47; border-bottom: 1px solid #e5eeeb; font-size: 20px; font-weight: 700; line-height: 1.45; scroll-margin-top: 180px; }
.api-article-related { margin-top: 22px; border: 1px solid #e2ebe9; background: #fff; }
.api-article-related summary { display: flex; align-items: center; justify-content: space-between; padding: 17px 21px; color: #23484e; cursor: pointer; font-size: 14px; font-weight:600;font-weight: 650; list-style: none; }
.api-article-related summary::-webkit-details-marker { display: none; }
.api-article-related[open] summary { border-bottom: 1px solid #e7efed; }
.api-article-related summary i { color: var(--api-primary); transition: transform .2s ease; }
.api-article-related[open] summary i { transform: rotate(180deg); }
.api-article-related__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap:8px;gap: 8px; padding: 15px; }
.api-article-related__list a { display: flex; align-items: center; justify-content: space-between; grid-gap:12px;gap: 12px; padding: 12px 14px; color: #50696e; background: #f6f9f8; font-size: 13px; text-decoration: none; }
.api-article-related__list a:hover, .api-article-related__list a.is-current { color: var(--brand-interactive, #087E74); background: #eaf6f3; }
.api-article-related__list a i { flex: 0 0 auto; color: var(--api-primary); }
.api-article-related__list p { grid-column: 1/-1; margin: 4px; color: var(--api-muted); font-size: 13px; }

@media (max-width: 991px) {
    .api-docs-toc { top: 72px; }
    .api-docs-group { padding: 24px 20px 28px; }
    .api-article-related__list { grid-template-columns: 1fr; }
    .api-article-card { overflow-x: auto; }
}
@media (max-width: 575px) {
    .api-docs-banner { height: 310px; }
    .api-docs-banner__content { bottom: 40px; }
    .api-docs-banner__content h1 { font-size: 34px; }
    .api-docs-main { padding: 54px 0 70px; }
    .api-docs-toc { top: 68px; margin-bottom: 24px; }
    .api-docs-toc__inner { padding: 0 12px; }
    .api-docs-toc a { flex: 0 0 auto; }
    .api-docs-group { padding: 21px 16px 24px; }
    .api-doc-entry__content th, .api-doc-entry__content td { padding: 9px; }
    .api-article-main { padding: 26px 0 70px; }
    .api-article-breadcrumb { margin-bottom: 23px; }
    .api-article-card { padding: 20px 14px; }
    .api-article__body table { min-width: 680px; }
    .api-article-toc { top: 68px; }
}

/* Two-column documentation workspace */
.api-workspace { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items:flex-start;align-items: start; grid-gap:42px;gap: 42px; }
.api-tree { position:-webkit-sticky;position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 20px 14px; border: 1px solid #e3ebe8; background: #f6f9f8; scrollbar-width: thin; font-size: 14px; }
.api-tree a { display: block; padding: 10px 13px; color: #597175; text-decoration: none; line-height: 1.6; word-wrap:break-word;overflow-wrap:break-word;overflow-wrap: anywhere; border-left: 3px solid transparent; }
.api-tree a:hover { color: var(--brand-interactive, #087E74); background: #edf5f2; }
.api-tree a.is-active { color: var(--brand-interactive, #087E74); border-left-color: var(--api-primary); background: #e5f2ed; font-weight: 600; }
.api-tree__home { margin-bottom: 14px; color: var(--api-ink) !important; font-weight: 700; }
.api-tree__group { margin-top: 5px; }
.api-tree__group summary { position: relative; padding: 12px 28px 12px 16px; color: var(--api-ink); cursor: pointer; list-style: none; font-weight: 600; line-height: 1.6; }
.api-tree__group summary::-webkit-details-marker { display: none; }
.api-tree__group summary::after { position: absolute; top: 16px; right: 12px; content: ""; width: 7px; height: 7px; border-right: 1px solid #7c9691; border-bottom: 1px solid #7c9691; transform: rotate(-45deg); }
.api-tree__group[open] summary::after { transform: rotate(45deg); }
.api-tree__group.is-current summary { color: var(--brand-interactive, #087E74); }
.api-tree .api-tree__doc, .api-tree .api-tree__category { padding-left: 28px; font-size: 13px; }
.api-tree__empty { margin: 8px 16px; color: var(--api-muted); font-size: 13px; }
.api-reader { min-width: 0; min-height: 560px; padding: 8px 0 30px; }
.api-reader [data-api-panel][hidden] { display: none; }
.api-reader [data-api-panel]:focus { outline: none; }
.api-reader__heading { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid #e3ebe8; }
.api-reader__heading > span { color: var(--brand-interactive, #087E74); font-size: 12px; letter-spacing: .08em; }
@supports not (font-size: clamp(26px, 3vw, 34px)) {
.api-reader__heading h2 { font-size: 3vw; }
@media (max-width: 866.66667px) { .api-reader__heading h2 { font-size: 26px; } }
@media (min-width: 1133.33333px) { .api-reader__heading h2 { font-size: 34px; } }
}
.api-reader__heading h2 { margin: 10px 0 0; color: var(--api-ink); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.4; }
.api-reader__heading p { margin: 12px 0 0; color: var(--api-muted); font-size: 14px; line-height: 1.85; }
.api-overview-list { display: grid; }
.api-overview-list a { display: flex; align-items: center; justify-content: space-between; grid-gap:18px;gap: 18px; padding: 22px 0; border-bottom: 1px solid #e7eeeb; color: var(--api-ink); text-decoration: none; }
.api-overview-list a:hover { color: var(--brand-interactive, #087E74); }
.api-overview-list strong { font-size: 16px; font-weight: 600; }
.api-overview-list span { color: var(--brand-interactive, #087E74); }
.api-reader .api-article__body { overflow-x: auto; }
.api-reader .api-article__body pre { padding: 18px; overflow-x: auto; color: #e4f2ef; background: #12383e; font-size: 13px; line-height: 1.7; }
.api-reader .api-article__body img { max-width: 100%; height: auto; }
@media (max-width: 991px) {
    .api-workspace { grid-template-columns: 235px minmax(0, 1fr); grid-gap:24px;gap: 24px; }
    .api-tree { top: 90px; }
}
@media (max-width: 767px) {
    .api-workspace { grid-template-columns: minmax(0, 1fr); grid-gap:28px;gap: 28px; }
    .api-tree { position: static; max-height: 320px; padding: 12px; }
    .api-reader { min-height: 300px; }
    .api-docs-main { padding-top: 32px; }
}
