/* API 参考页：使用独立作用域，避免产品首页的导航与标题样式影响文档。 */
.api-page {
    --doc-ink: #1b3349;
    --doc-muted: #526b80;
    --doc-body-size: 1.08rem;
    --doc-code-size: 15.5px;
    --doc-blue: #006fc9;
    --doc-line: #c4d7e7;
    --doc-soft: #eff7ff;
    --doc-code: "Cascadia Code", "Cascadia Mono", Consolas, "Courier New", monospace;
    color: var(--doc-ink);
    background: #fff;
    font-size: var(--doc-body-size);
    line-height: 1.7;
}

.api-page [hidden] { display: none !important; }
.development-guide { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 4px 16px; padding: 10px 11px; border: 1px solid #b7d0e5; border-radius: 6px; background: #e4f0fb; color: #285f87; }
.development-guide strong, .development-guide small { display: block; }
.development-guide strong { font-size: 14px; font-weight: 600; }
.development-guide small { margin-top: 3px; font: 12px var(--doc-code); color: #56758d; }
.development-guide:hover { border-color: #78a9ce; background: #d8eafa; }
.api-page :where(button, input) { font: inherit; }
.api-page button { transition: color .15s, background-color .15s, border-color .15s; }
.api-page :where(p) { font-size: var(--doc-body-size); }
.api-page code, .api-page pre { font-family: var(--doc-code); font-variant-ligatures: none; }
.api-page :is(a, button, input, summary):focus-visible { outline: 2px solid #0076d5; outline-offset: 3px; }
.api-page .site-header { height: 76px; z-index: 40; border-bottom-color: var(--doc-line); }
.api-page .api-nav-shell { width: min(1480px, calc(100% - 64px)); gap: 22px; }
.api-page .api-brand { gap: 9px; font-size: 21px; letter-spacing: -.035em; flex-shrink: 0; }
.api-page .brand-mark { width: 35px; height: 35px; }
.docs-label { border-left: 1px solid #dce5ed; padding-left: 22px; white-space: nowrap; color: var(--doc-muted); font-size: 13px; }
.api-page #main-nav { position: static; display: flex; flex-direction: row; gap: 25px; margin: 0 0 0 auto; padding: 0; border: 0; box-shadow: none; background: transparent; white-space: nowrap; font-size: 14px; }
.api-page #main-nav a { padding: 24px 0 23px; }
.api-page #main-nav a[aria-current="page"] { color: var(--doc-blue); border-bottom-color: var(--doc-blue); }
.api-page .menu-toggle { display: none; font-size: 13px; }
.global-search-trigger { display: flex; align-items: center; gap: 10px; width: min(330px, 28vw); margin-left: auto; padding: 8px 12px; border: 1px solid #dce6ee; border-radius: 7px; background: #f7fafc; color: var(--doc-muted); text-align: left; font-size: 14px; white-space: nowrap; }
.global-search-trigger:hover { background: #eff6fc; border-color: #adcce6; }
.search-glyph { position: relative; display: inline-block; width: 14px; height: 14px; flex: 0 0 14px; margin: 0 3px 2px 0; border: 1.6px solid currentColor; border-radius: 50%; }
.search-glyph::after { content: ""; position: absolute; width: 6px; height: 1.6px; right: -5px; bottom: -2px; background: currentColor; border-radius: 2px; transform: rotate(45deg); }
.api-page kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 22px; padding: 0 5px; border: 1px solid #dce5ed; border-bottom-width: 2px; border-radius: 4px; background: #fff; color: #748493; font: 11px "Segoe UI", sans-serif; white-space: nowrap; }
.global-search-trigger kbd { margin-left: auto; }
.docs-toolbar { position: sticky; top: 76px; z-index: 30; height: 44px; background: #f6faffee; backdrop-filter: blur(18px); border-bottom: 1px solid var(--doc-line); }
.docs-toolbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: min(1480px, calc(100% - 64px)); margin-inline: auto; gap: 20px; }
.docs-library { display: flex; align-items: center; gap: 9px; color: #48637b; font-size: 13px; }
.library-dot, .sidebar-status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #318acd; }
.docs-separator { margin-inline: 7px; color: #adbdca; }
.docs-scope { display: inline-flex; align-items: center; gap: 10px; color: #5d7387; font-size: 13px; }
.docs-scope > span { color: #6d8294; }
.catalog-toggle, .catalog-close { display: none; }
.api-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr) 170px; column-gap: 38px; width: min(1480px, calc(100% - 64px)); margin: 0 auto; align-items: start; }
.api-sidebar { position: sticky; top: 140px; display: flex; flex-direction: column; height: calc(100dvh - 164px); min-height: 240px; max-height: 1100px; padding: 17px 11px 0; margin-top: 20px; background: linear-gradient(155deg, #f2f8fd, #f8fbfd 65%); border: 1px solid #e8eff5; border-radius: 10px; }
.sidebar-heading { display: flex; align-items: center; gap: 8px; padding: 0 8px 15px; font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.count-pill { padding: 0 6px; border-radius: 4px; background: #e0edf7; color: #4f7f9f; font-size: 13px; font-weight: 500; line-height: 19px; }
.component-filter { display: flex; align-items: center; gap: 8px; margin: 0 4px 14px; padding: 7px 9px; background: #fff; border: 1px solid #dbe5ee; border-radius: 6px; color: #8a9eaf; }
.component-filter:focus-within { border-color: #6aa9df; box-shadow: 0 0 0 2px #168cf014; }
.component-filter .search-glyph { width: 11px; height: 11px; flex-basis: 11px; }
.component-filter input { display: block; width: 0; min-width: 0; flex: 1; padding: 0; outline: none !important; border: 0; background: transparent; font-size: 14px; color: var(--doc-ink); }
.component-filter input::placeholder { color: #697f91; }
.component-filter kbd { height: 18px; min-width: 16px; font-size: 13px; background: #f9fbfd; }
.catalog-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ccdcea transparent; padding: 0 4px 15px; }
.catalog-group { margin-bottom: 11px; }
.catalog-group > summary { position: relative; display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 20px; color: #556f84; font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; user-select: none; }
.catalog-group > summary::-webkit-details-marker, .member-card > summary::-webkit-details-marker { display: none; }
.catalog-group > summary::before { content: ""; position: absolute; left: 7px; top: 12px; width: 5px; height: 5px; border-right: 1px solid #869bad; border-bottom: 1px solid #869bad; transform: rotate(-45deg); transition: transform .15s; }
.catalog-group[open] > summary::before { transform: rotate(45deg); }
.catalog-group > summary:hover { color: var(--doc-blue); }
.group-count { margin-left: auto; font-size: 13px; color: #61798d; font-weight: 400; }
.catalog-items { display: grid; gap: 2px; }
.catalog-item { position: relative; display: flex; flex-direction: column; padding: 7px 9px 7px 14px; border-radius: 5px; color: #4c647a; line-height: 1.35; min-width: 0; }
.catalog-item:hover { color: #0069bb; background: #e9f2fa; }
.catalog-item[aria-current="page"] { background: #e0effc; color: #0065b5; }
.catalog-item[aria-current="page"]::before { position: absolute; content: ""; left: 3px; top: 9px; bottom: 9px; width: 3px; background: #0878cb; border-radius: 3px; }
.catalog-item-name { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; letter-spacing: -.01em; }
.catalog-item-label { font-size: 13px; color: #5d7487; margin-top: 3px; }
.catalog-item[aria-current="page"] .catalog-item-label { color: #5d90b6; }
.catalog-empty { color: var(--doc-muted); padding: 0 9px; font-size: 14px; }
.sidebar-footer { display: flex; align-items: center; gap: 7px; flex-shrink: 0; margin-top: auto; padding: 12px 6px; border-top: 1px solid #e2ebf3; color: #5c768b; font-size: 13px; }
.sidebar-footer a { margin-left: auto; font-size: 15px; line-height: 1; padding: 2px 5px; }
.sidebar-footer a:hover { color: var(--doc-blue); }
.sidebar-status-dot { width: 5px; height: 5px; background: #53a899; }
.sidebar-backdrop { display: none; }
.api-content { min-width: 0; padding: 33px 0 50px; outline: none; }
.api-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 29px; color: #607a8f; font-size: 13px; }
.api-breadcrumb a:hover { color: var(--doc-blue); }
.api-breadcrumb > :last-child { color: #567690; }
.component-heading { padding-bottom: 27px; border-bottom: 1px solid var(--doc-line); }
.component-heading.doc-section { padding-top: 0; }
.component-category { display: inline-flex; align-items: center; gap: 10px; padding: 3px 8px; border: 1px solid #d5e8f8; border-radius: 5px; background: #f1f8ff; color: #3b7ba9; font-size: 13px; line-height: 1.4; margin-bottom: 13px; }
.component-category > span { padding-left: 9px; border-left: 1px solid #cde1f2; font-size: 12px; letter-spacing: .07em; color: #557e9d; }
.component-title-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.api-page .component-title-row h1 { font-size: clamp(29px, 2.45vw, 37px); font-weight: 600; line-height: 1.25; letter-spacing: -.045em; margin: 0; overflow-wrap: anywhere; }
.component-summary { margin: 16px 0 20px; max-width: 65ch; color: #466079; line-height: 1.9; font-size: var(--doc-body-size); }
.component-actions { display: flex; align-items: center; flex-shrink: 0; gap: 7px; }
.component-actions .icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 30px; padding: 5px 8px; border: 1px solid #dce6ef; border-radius: 6px; background: #fff; color: #6e899e; font-size: 14px; }
.component-actions .icon-button:hover { color: #006abd; background: #f0f7ff; border-color: #b5d3e9; }
.component-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #5b7589; font-size: 13px; }
.component-meta > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.component-meta code { color: #52728c; padding: 1px 5px; background: #f2f6f9; border-radius: 3px; font-size: 14px; overflow-wrap: anywhere; }
.component-meta a { color: #3679ad; }
.component-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.component-stats { display: flex; flex-wrap: wrap; gap: 11px 22px; margin-top: 22px; color: #607a8f; font-size: 13px; }
.component-stats strong { color: #42657f; font-size: 16px; font-weight: 600; padding-right: 4px; }
.doc-section { padding-top: 31px; scroll-margin-top: 140px; }
.section-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 15px; }
.api-page .doc-section h2 { font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; margin: 0; }
.section-caption { color: #657c8e; font-size: 13px; }
.doc-section > p { color: #466079; line-height: 1.9; }
.doc-section > p:last-child { margin-bottom: 0; }
.doc-section > p code, .member-description code, .doc-notes code { padding: 1px 5px; background: #eef4f9; border: 1px solid #e4edf4; border-radius: 3px; font-size: .9em; color: #3a6e98; overflow-wrap: anywhere; }
.code-example { overflow: hidden; border: 1px solid #b3cde0; border-radius: 9px; background: #f7faff; }
.example-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 15px; border-bottom: 1px solid #bad1e3; background: #e3eff9; }
.code-language { color: #5b7e9c; font-size: 13px; font-family: var(--doc-code); }
.copy-code, .signature-copy { display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: #ffffffc9; color: #6487a3; padding: 3px 8px; border: 1px solid #d4e3ef; border-radius: 4px; font-size: 13px; white-space: nowrap; }
.copy-code:hover, .signature-copy:hover { color: #006cc2; border-color: #9dc7e9; background: #fff; }
.api-page .code-example pre { margin: 0; padding: 20px; overflow-x: auto; font-size: var(--doc-code-size); line-height: 1.85; tab-size: 4; color: #294c68; scrollbar-width: thin; scrollbar-color: #c4d7e6 transparent; }
.syntax-keyword { color: #5c53a9; }
.syntax-string { color: #2d807b; }
.syntax-comment { color: #607d90; }
.syntax-number { color: #a07235; }
.example-includes { margin: 10px 0 0; padding: 0 2px; font-size: 13px; color: #5f7b90; }
.example-includes summary { cursor: pointer; }
.example-includes pre { overflow-x: auto; margin: 7px 0; padding: 10px 12px; border-radius: 5px; background: #f6f9fb; color: #60839f; font-size: var(--doc-code-size); }
.member-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 8px; border: 1px solid #e1eaf2; border-radius: 7px; background: #f6f9fc; }
.member-tabs { display: flex; align-items: center; gap: 3px; max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.member-tabs button { flex: 0 0 auto; padding: 5px 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #536f85; font-size: 14px; white-space: nowrap; }
.member-tabs button:hover { color: #2775b0; background: #eaf3fc; }
.member-tabs button[aria-pressed="true"] { background: #fff; border-color: #dce7f1; color: #126cac; box-shadow: 0 1px 3px #255c8010; }
.member-filter { display: flex; align-items: center; gap: 7px; margin-left: auto; font-size: 14px; color: #607c90; min-width: 0; }
.member-filter input { width: 164px; min-width: 0; padding: 5px 8px; border: 1px solid #e0e8ef; border-radius: 4px; background: #fff; font-size: 14px; color: var(--doc-ink); }
.member-filter input::placeholder { color: #6c8193; }
.member-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
.member-card { min-width: 0; max-width: 100%; border: 1px solid #9bbad3; border-radius: 7px; background: #f2f7fc; scroll-margin-top: 140px; transition: border-color .15s; }
.member-card:hover { border-color: #6b9ec7; }
.member-card[open] { border-color: #7ca8cc; box-shadow: 0 3px 12px #2b699210; }
.member-card > summary { position: relative; display: grid; grid-template-columns: 55px minmax(0, 1fr) 12px; align-items: center; gap: 5px 10px; list-style: none; padding: 15px; cursor: pointer; border-radius: 7px; background: #eaf3fb; }
.member-card > summary:hover { background: #deecf9; }
.member-kind { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-width: 39px; padding: 2px 5px; background: #d5e6f5; color: #3c6889; border-radius: 3px; font-size: 13px; line-height: 1.5; }
.member-name { font-family: var(--doc-code); font-size: var(--doc-code-size); font-weight: 500; color: #264c6d; overflow-wrap: anywhere; }
.member-summary { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.member-short { grid-column: 2; color: #48677f; font-size: var(--doc-body-size); line-height: 1.7; overflow-wrap: anywhere; }
.member-chevron { grid-column: 3; grid-row: 1; justify-self: center; width: 6px; height: 6px; font-size: 0; border-right: 1px solid #829cae; border-bottom: 1px solid #829cae; transform: rotate(45deg); transition: transform .15s; }
.member-card[open] .member-chevron { transform: rotate(225deg); }
.member-card[open] > summary { background: #deecf9; border-radius: 7px 7px 0 0; border-bottom: 1px solid #98bad5; }
.member-body { padding: 17px; min-width: 0; background: #f2f7fc; border-radius: 0 0 7px 7px; }
.signature-block { position: relative; border: 1px solid #b6cede; border-radius: 5px; background: #fff; margin-bottom: 16px; padding: 14px 66px 14px 15px; }
.signature-block pre { overflow-x: auto; margin: 0; color: #305a7a; font-size: var(--doc-code-size); line-height: 1.8; scrollbar-width: thin; }
.signature-copy { position: absolute; right: 8px; top: 9px; padding: 3px 6px; }
.member-description { color: #405e77; font-size: var(--doc-body-size); margin: 0 0 14px; line-height: 1.9; overflow-wrap: anywhere; }
.member-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.member-tags span { display: inline-block; padding: 1px 6px; border: 1px solid #c1d5e4; border-radius: 3px; color: #536f85; font-size: 13px; background: #fff; }
.parameter-table-wrap { max-width: 100%; overflow-x: auto; margin: 13px 0; border: 1px solid #b3cde0; border-radius: 5px; scrollbar-width: thin; background: #fff; }
.parameter-table-wrap table { width: 100%; border-spacing: 0; border-collapse: collapse; text-align: left; font-size: var(--doc-body-size); line-height: 1.75; }
.parameter-table-wrap th { font-weight: 600; background: #dcebf7; color: #3e617b; }
.parameter-table-wrap th, .parameter-table-wrap td { padding: 9px 11px; vertical-align: top; border-bottom: 1px solid #c3d7e7; }
.parameter-table-wrap tr:last-child td { border-bottom: 0; }
.parameter-table-wrap td { color: #45637b; overflow-wrap: anywhere; }
.parameter-table-wrap td:first-child { font-family: var(--doc-code); color: #396b92; font-size: var(--doc-code-size); }
.parameter-table-wrap code { font-size: var(--doc-code-size); color: #557a98; }
.parameter-table-wrap td small { display: block; margin-top: 4px; color: #58738a; font-size: 14px; }
.return-value { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; margin: 14px 0; font-size: var(--doc-body-size); }
.return-value dt { color: #54738b; }
.return-value dd { margin: 0; color: #405f79; overflow-wrap: anywhere; }
.return-value code { font-size: var(--doc-code-size); }
.member-empty { border: 1px dashed #d8e5ef; border-radius: 7px; padding: 28px 15px; text-align: center; color: #5b7589; font-size: var(--doc-body-size); }
.member-empty strong, .search-empty strong { font-weight: 500; color: #6d879c; }
.member-empty p, .search-empty p { font-size: var(--doc-body-size); margin: 7px 0 12px; }
.member-empty button { padding: 5px 10px; border: 1px solid #cadfeb; border-radius: 4px; color: #3c80ae; background: #f2f8fd; font-size: 14px; }
.type-card { padding: 17px; margin-bottom: 10px; border: 1px solid #9bbad3; border-radius: 7px; background: #f2f7fc; min-width: 0; scroll-margin-top: 140px; }
.type-card > summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -17px; padding: 17px 37px 17px 17px; list-style: none; cursor: pointer; border-radius: 7px; background: #eaf3fb; }
.type-card > summary::-webkit-details-marker { display: none; }
.type-card > summary::after { content: ""; position: absolute; right: 17px; top: 23px; width: 6px; height: 6px; border-right: 1px solid #829cae; border-bottom: 1px solid #829cae; transform: rotate(45deg); transition: transform .15s; }
.type-card > summary:hover { background: #deecf9; }
.type-card > summary > code { min-width: 0; font-size: var(--doc-code-size); color: #426c8a; line-height: 1.6; overflow-wrap: anywhere; }
.type-card > summary > span { flex-shrink: 0; color: #58758d; font-size: 13px; }
.type-card[open] { border-color: #7ca8cc; background: #f2f7fc; }
.type-card[open] > summary { margin-bottom: 13px; border-radius: 7px 7px 0 0; border-bottom: 1px solid #98bad5; background: #deecf9; }
.type-card[open] > summary::after { transform: rotate(225deg); }
.type-content { min-width: 0; }
.type-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0 8px; }
.type-filter { display: block; flex: 1; min-width: 0; max-width: 330px; }
.type-filter input { display: block; width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #dce7f0; border-radius: 5px; background: #f9fcff; color: #395e7a; font-size: 14px; }
.type-filter input::placeholder { color: #687f93; }
.type-filter input:focus { border-color: #80b7df; background: #fff; }
.type-value-count { flex-shrink: 0; font-size: 13px; color: #5c7b92; }
.type-more { display: block; width: 100%; margin: 12px 0 0; padding: 9px 15px; border: 1px solid #d5e6f3; border-radius: 5px; background: #f2f8fe; color: #3b7da9; font-size: 14px; }
.type-more:hover { border-color: #9ac5e5; background: #e8f4ff; color: #006db8; }
.type-content .type-values-empty { padding: 18px 10px; text-align: center; color: #829bae; }
.api-page .type-card h3 { margin: 0 0 9px; font-family: var(--doc-code); font-size: var(--doc-code-size); color: #426c8a; font-weight: 500; overflow-wrap: anywhere; }
.type-card p { margin: 7px 0; color: #4c6b83; font-size: var(--doc-body-size); }
.type-card pre { margin: 10px 0 0; overflow-x: auto; color: #5d7d96; font-size: var(--doc-code-size); line-height: 1.9; scrollbar-width: thin; }
.type-card ul { margin: 8px 0 0; padding-left: 18px; color: #4c6b83; font-size: var(--doc-body-size); }
.doc-notes { padding: 16px 20px 16px 33px; margin: 0; border: 1px solid #b8d1e5; border-radius: 7px; background: #eef6fd; color: #45647d; font-size: var(--doc-body-size); line-height: 1.95; }
.doc-notes li + li { margin-top: 8px; }
.doc-notes li::marker { color: #82b6db; }
.doc-section > .inheritance-note { color: #57768e; font-size: var(--doc-body-size); margin: 15px 0; }
.related-components { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.related-components > span { font-size: 13px; color: #607a8e; margin-right: 4px; }
.related-components a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid #dce8f2; border-radius: 5px; background: #f9fcff; color: #4b84af; font-size: 14px; }
.related-components a:hover { border-color: #9bc7e8; color: #006dbd; background: #eef7ff; }
.article-pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--doc-line); }
.article-pagination a { display: flex; flex-direction: column; gap: 5px; padding: 15px; border: 1px solid #deebf5; border-radius: 7px; background: #fbfdff; color: #497695; min-height: 75px; overflow-wrap: anywhere; }
.article-pagination a:last-child { text-align: right; }
.article-pagination a:hover { background: #f1f8ff; border-color: #b1d0e8; color: var(--doc-blue); }
.article-pagination :is(span, small) { color: #5f7a8f; font-size: 13px; }
.article-pagination strong { font-size: 15px; font-weight: 500; }
.article-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; padding-top: 22px; color: #60798d; font-size: 13px; }
.article-footer p { color: inherit; font-size: inherit; margin: 0; }
.article-footer a:hover { color: var(--doc-blue); }
.api-outline { position: sticky; top: 153px; padding-top: 0; margin-top: 33px; max-height: calc(100dvh - 178px); overflow-y: auto; scrollbar-width: thin; }
.outline-title { color: #748a9c; font-size: 13px; font-weight: 500; margin: 0 0 13px; }
#page-outline { display: flex; flex-direction: column; border-left: 1px solid #e2ecf4; }
.outline-link { display: block; padding: 7px 0 7px 15px; border-left: 2px solid transparent; margin-left: -1px; color: #5b758b; font-size: 15px; line-height: 1.5; }
.outline-link:hover { color: #397fac; }
.outline-link[aria-current="location"] { color: #1474b7; border-left-color: #4b9ad2; background: linear-gradient(90deg, #f1f8ff, transparent); }
.outline-info { margin-top: 32px; padding-top: 20px; border-top: 1px solid #e5edf4; }
.outline-info > span { color: #5c778d; font-size: 13px; }
.outline-info p { color: #617c90; font-size: 13px; line-height: 1.85; margin: 8px 0 13px; }
.outline-info button { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; padding: 7px 0; background: transparent; color: #7096b3; text-align: left; font-size: 13px; }
.outline-info button:hover { color: var(--doc-blue); }
.api-loading { padding: 80px 20px; color: #7892a6; text-align: center; font-size: var(--doc-body-size); }
.api-search-dialog { width: min(680px, calc(100vw - 40px)); max-width: none; max-height: min(640px, calc(100dvh - 80px)); margin: 11vh auto auto; padding: 0; border: 1px solid #cbddec; border-radius: 12px; background: #fff; color: var(--doc-ink); box-shadow: 0 24px 100px #153e7340; overflow: hidden; }
.api-search-dialog[open] { display: flex; flex-direction: column; }
.api-search-dialog::backdrop { background: #264b713d; backdrop-filter: blur(5px); }
.search-dialog-field { display: flex; align-items: center; gap: 15px; padding: 20px 21px; border-bottom: 1px solid #e1ebf3; color: #6e94b4; }
.search-dialog-field input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: #294d6b; font-size: var(--doc-body-size); outline: 0 !important; }
.search-dialog-field input::placeholder { color: #6d8396; }
.search-dialog-field:focus-within { box-shadow: inset 0 -2px #54a1dd; }
.search-dialog-field button { padding: 3px 0 3px 3px; border: 0; background: transparent; }
.search-summary { padding: 13px 20px 7px; color: #607c91; font-size: 13px; flex-shrink: 0; }
.search-results { overflow-y: auto; overscroll-behavior: contain; min-height: 60px; padding: 0 10px 12px; scrollbar-width: thin; scrollbar-color: #ccdeeb transparent; }
.search-result { display: grid; grid-template-columns: 46px minmax(0, 1fr) 14px; column-gap: 11px; row-gap: 4px; align-items: center; padding: 12px; margin: 3px 0; border-radius: 7px; border: 1px solid transparent; }
.search-result > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.search-result:hover, .search-result.is-selected { background: #edf6ff; border-color: #deebf7; }
.result-kind { align-self: start; justify-self: start; padding: 2px 5px; background: #e9f2fb; border-radius: 3px; color: #4b7393; font-size: 13px; }
.result-title { color: #386888; font-family: var(--doc-code); font-size: 15px; overflow-wrap: anywhere; }
.result-title small { color: #5c7b93; font-size: 13px; }
.result-arrow { color: #8da9bf; font-size: 14px; }
.result-subtitle { grid-column: 2; color: #5b788e; font-size: 14px; overflow-wrap: anywhere; }
.search-result.is-selected .result-title { color: #0671bd; }
.search-result mark { color: #0074bf; background: #dbeefe; border-radius: 2px; }
.search-empty { padding: 38px 20px; color: #5e7a90; text-align: center; font-size: var(--doc-body-size); }
.search-dialog-footer { display: flex; justify-content: space-between; gap: 15px; flex-shrink: 0; padding: 12px 18px; border-top: 1px solid #e6edf4; background: #f9fbfe; color: #617a8d; font-size: 13px; }
.search-dialog-footer > span:first-child { display: flex; align-items: center; gap: 4px; }
.search-dialog-footer kbd { min-width: 17px; height: 18px; font-size: 13px; padding: 0 4px; }
.api-page .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 (max-width: 1200px) {
    .api-layout { grid-template-columns: 244px minmax(0, 1fr); column-gap: 32px; }
    .api-outline { display: none; }
    .docs-label { display: none; }
    .api-page .api-nav-shell { gap: 20px; }
    .global-search-trigger { max-width: 310px; width: 30vw; }
    .api-page #main-nav { gap: 20px; }
}

@media (max-width: 1150px) {
    .api-page { --doc-body-size: 1rem; }
}

@media (max-width: 1000px) {
    .api-page .api-nav-shell, .docs-toolbar-inner, .api-layout { width: calc(100% - 40px); }
    .api-layout { column-gap: 25px; grid-template-columns: 220px minmax(0, 1fr); }
    .api-page #main-nav { gap: 14px; }
    .api-page .api-brand { font-size: 19px; }
    .api-page .brand-mark { width: 31px; height: 31px; }
    .global-search-trigger { width: 28vw; }
    .member-toolbar { gap: 8px; }
    .member-filter { width: 100%; padding-inline: 3px; }
    .member-filter input { flex: 1; }
}

@media (max-width: 900px) {
    .api-layout { display: block; max-width: 780px; }
    .api-content { padding-top: 26px; }
    .api-sidebar { display: none; position: fixed; top: 120px; left: 0; bottom: 0; width: 280px; height: calc(100dvh - 120px); max-height: none; min-height: 0; margin: 0; padding: 19px 12px 0; border-radius: 0; border: 0; border-right: 1px solid #d6e5f1; background: #f6faff; z-index: 35; box-shadow: 15px 0 40px #1c4a6f15; }
    .api-sidebar.is-open { display: flex; }
    .sidebar-backdrop:not([hidden]) { display: block; position: fixed; inset: 120px 0 0; z-index: 34; border: 0; border-radius: 0; background: #24466638; backdrop-filter: blur(2px); }
    .sidebar-heading { padding-bottom: 14px; }
    .catalog-close { display: flex; align-items: center; justify-content: center; margin: -3px -2px -3px auto; width: 27px; height: 27px; padding: 0; border: 1px solid #dbe7f0; border-radius: 5px; background: #fff; color: #65879f; font-size: 20px; line-height: 1; }
    .catalog-close:hover { background: #e5f2ff; }
    .catalog-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 4px 0; color: #5280a2; font-size: 13px; white-space: nowrap; }
    .catalog-toggle > span { font-size: 14px; }
    .catalog-toggle[aria-expanded="true"] { color: #006ac2; }
    .docs-library { margin-left: auto; }
    .docs-scope { display: none; }
    .catalog-item { padding-block: 8px; }
    .api-page #main-nav { display: none; position: absolute; top: 75px; left: auto; right: 20px; width: 180px; padding: 10px; flex-direction: column; gap: 1px; border: 1px solid #dce8f2; background: #fff; border-radius: 7px; box-shadow: 0 10px 30px #1e4e7924; }
    .api-page #main-nav.is-open { display: flex; }
    .api-page #main-nav a { padding: 9px 11px; border: 0; border-radius: 4px; }
    .api-page #main-nav a:hover, .api-page #main-nav a[aria-current="page"] { background: #eff7ff; }
    .api-page .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 6px 9px; border: 1px solid #dce7f0; border-radius: 5px; background: #fff; color: #638199; }
    .api-page .api-nav-shell { gap: 14px; }
    .global-search-trigger { width: 310px; max-width: 45vw; }
    .component-title-row h1 { font-size: 34px; }
    .member-filter { width: auto; }
    .member-filter input { flex: initial; width: 160px; }
}

@media (max-width: 600px) {
    .api-page { --doc-code-size: 14px; }
    .api-page .api-nav-shell, .docs-toolbar-inner, .api-layout { width: calc(100% - 32px); }
    .api-page .api-nav-shell { gap: 9px; }
    .api-page .api-brand { gap: 6px; font-size: 18px; }
    .api-page .brand-mark { width: 30px; height: 30px; }
    .api-page .menu-toggle { width: 39px; padding: 7px 3px; flex-shrink: 0; }
    .global-search-trigger { justify-content: center; width: 35px; max-width: none; height: 35px; padding: 8px; border: 0; background: transparent; flex-shrink: 0; }
    .global-search-trigger > span:not(.search-glyph), .global-search-trigger kbd { display: none; }
    .global-search-trigger .search-glyph { margin-right: 2px; }
    .docs-toolbar-inner { gap: 10px; }
    .docs-library { gap: 6px; }
    .docs-separator { margin-inline: 2px; }
    .catalog-toggle { font-size: 13px; }
    .api-content { padding-top: 22px; padding-bottom: 28px; }
    .api-breadcrumb { margin-bottom: 23px; }
    .component-heading { padding-bottom: 23px; }
    .api-page .component-title-row h1 { font-size: clamp(25px, 6.5vw, 32px); }
    .component-title-row { gap: 7px; }
    .component-actions { gap: 5px; }
    .component-actions .icon-button { min-width: 28px; min-height: 28px; padding: 3px 6px; }
    .component-summary { margin: 14px 0 17px; }
    .component-category { flex-wrap: wrap; }
    .component-category > span { letter-spacing: 0; }
    .component-meta { gap: 8px 13px; }
    .component-stats { gap: 10px 16px; margin-top: 19px; }
    .doc-section { padding-top: 27px; }
    .api-page .doc-section h2 { font-size: 22px; }
    .section-title-row { margin-bottom: 12px; }
    .api-page .code-example pre { padding: 16px 13px; }
    .example-toolbar { padding: 8px 12px; }
    .member-toolbar { padding: 6px; gap: 8px; }
    .member-tabs { width: 100%; }
    .member-tabs button { padding: 7px 8px; }
    .member-filter { width: 100%; padding-inline: 0; }
    .member-filter input { width: 100%; flex: 1; padding: 8px; }
    .member-card > summary { padding: 15px 11px; gap: 7px; }
    .member-kind { min-width: 40px; padding: 3px 5px; }
    .member-tags span { padding: 2px 6px; }
    .member-body { padding: 12px; }
    .signature-block { padding: 12px 12px 43px; }
    .signature-copy { top: auto; bottom: 8px; }
    .parameter-table-wrap th, .parameter-table-wrap td { padding: 8px; }
    .parameter-table-wrap table { min-width: 300px; }
    .parameter-table-wrap code, .return-value code { font-size: var(--doc-code-size); }
    .type-card { padding: 14px; }
    .type-card > summary { flex-wrap: wrap; gap: 5px 10px; margin: -14px; padding: 14px 32px 14px 14px; }
    .type-card > summary::after { top: 21px; right: 14px; }
    .type-filter-row { flex-wrap: wrap; gap: 7px; }
    .type-filter { flex-basis: 100%; max-width: none; }
    .type-value-count { margin-left: auto; }
    .type-card p, .type-card ul { font-size: var(--doc-body-size); }
    .doc-notes { padding: 14px 15px 14px 28px; }
    .article-pagination { margin-top: 26px; padding-top: 24px; gap: 9px; }
    .article-pagination a { padding: 12px; }
    .article-pagination :is(span, small), .article-footer { font-size: 13px; }
    .api-search-dialog { width: calc(100vw - 22px); max-height: calc(100dvh - 36px); margin-top: 18px; border-radius: 9px; }
    .search-dialog-field { gap: 11px; padding: 16px; }
    .search-summary { padding-inline: 16px; }
    .search-result { grid-template-columns: 43px minmax(0, 1fr) 10px; column-gap: 8px; padding: 12px 8px; }
    .result-kind, .result-title small { font-size: 13px; }
    .search-dialog-footer { padding: 10px 14px; }
    .search-dialog-footer > span:last-child { display: none; }
}

@media (max-width: 520px) {
    .api-page { --doc-body-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
    .api-page *, .api-page *::before, .api-page *::after { transition: none !important; scroll-behavior: auto !important; }
}
