
/* Markdown and MDX Table both have this wrapper. Raw HTML tables do not. */
[data-theme="classic"] .prose [data-table-wrapper] > div > table:not([bordertype="no-border"]) {
  border-collapse: collapse;
  border-style: hidden; /* The wrapper draws the rounded outer border. */

  & > :is(thead, tbody, tfoot) > tr > :is(th, td) {
    border: 1px solid var(--border);
    vertical-align: top;

    /* Keep inherited wrapping out of nested legacy tables. */
    &:not(:has(table)) {
      overflow-wrap: anywhere;
    }

    & > :is(p, [data-as="p"], img):first-child,
    & > :is(p, [data-as="p"]):first-child > img:first-child {
      margin-top: 0;
    }

    & > :is(p, [data-as="p"], img):last-child,
    & > :is(p, [data-as="p"]):last-child > img:last-child {
      margin-bottom: 0;
    }
  }

  /* After a rowspan, the first DOM cell can be in the second visual column. */
  &:has(> :is(thead, tbody, tfoot) > tr > [rowspan]) > :is(thead, tbody, tfoot) > tr > :is(th, td) {
    padding-inline: 12px;
  }
}

/* Independent-site brand lock and dark accent. Help center does not consume this file. */

html.light,
html:not(.dark) {
  --background: #ffffff;
  --adoc-color-bg: #ffffff;
  --docs-primary: #4B73FF;
  --adoc-color-primary: #4B73FF;
}

html.dark {
  --docs-primary: #4B73FF;
  --adoc-color-primary: #4B73FF;
}

/* Keep the two-column API reference split tables from being rewritten as grids. */
table.rkb-api-split[bordertype="no-border"] {
  display: table !important;
}

#topbar-cta-button,
a[href="https://bailian.console.aliyun.com/"].bg-neutral-950,
a[href="https://modelstudio.console.alibabacloud.com/"].bg-neutral-950 {
  background-color: #4b73ff !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

#topbar-cta-button:hover,
a[href="https://bailian.console.aliyun.com/"].bg-neutral-950:hover,
a[href="https://modelstudio.console.alibabacloud.com/"].bg-neutral-950:hover {
  background-color: #2253ff !important;
}

#topbar-cta-button .text-white,
#topbar-cta-button .text-white\/90,
a[href="https://bailian.console.aliyun.com/"].bg-neutral-950 .text-white,
a[href="https://modelstudio.console.alibabacloud.com/"].bg-neutral-950 .text-white {
  color: #ffffff !important;
}

/* Dark accent: sidebar current item and eyebrow only. */
html.dark a[data-active="true"].text-adoc-primary {
  color: #437af0 !important;
}

html.dark .eyebrow {
  color: #548df7 !important;
}

/* Dark in-text links: do not use the derived #0d40f2 step. */
html.dark {
  --pt-color-link-default: #548df7;
  --pt-color-link-hover: #4B73FF;
  --pt-color-primary-550: #548df7;
}

html.dark .prose a.link,
html.dark .mdx-content a.link,
html.dark .adoc-mdx-content a.link {
  color: #548df7 !important;
}

/* Footer copyright is plain text. Only an ICP filing number stays a link. */
#footer .footer-attribution {
  display: block;
  width: 100%;
  margin: 0;
  color: #888;
  font-size: 13px;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
#footer .footer-attribution a { color: inherit; }
#footer .footer-attribution a:hover { text-decoration: underline; }
.dark #footer .footer-attribution { color: #9ca3af; }

#footer .footer-attribution-separator {
  display: inline-block;
  margin: 0 12px;
  color: #b0b0b0;
}

/* This anchor scopes the workaround to Responses API in both site languages. */
.adoc-mdx-content:has([id="f8eeeafac1c22"]) [data-component-part="code-block-root"] {
  height: auto !important;
  max-height: none !important;
  overflow: auto !important;
}

.adoc-mdx-content:has([id="f8eeeafac1c22"]) [data-floating-buttons="true"] > div:has(> [data-testid="copy-code-button"]) {
  opacity: 1 !important;
}

.adoc-mdx-content:has([id="f8eeeafac1c22"]) .code-block [data-component-part="code-block-root"] {
  padding-right: 3rem;
}

.api-example-panel:focus-visible {
  outline: 2px solid var(--adoc-color-primary, #4b73ff);
  outline-offset: -2px;
}

.adoc-mdx-content .api-example-panel [data-component-part="code-block-root"] {
  height: auto !important;
  max-height: none !important;
  overflow: auto !important;
}

.api-example-panel [data-floating-buttons="true"] > div:has(> [data-testid="copy-code-button"]) {
  opacity: 1 !important;
}

.api-example-panel .code-block [data-component-part="code-block-root"] {
  padding-right: 3rem;
}

/* OpenAI-compatible Agents API pages: make the right-side examples larger. */
[data-page-href^="zh/model-studio/openai-compatible-agents-api"] table[bordertype="no-border"] colgroup col:first-child,
[data-page-href^="zh/model-studio/openai-compatible-agents-api"] table[bordertype="no-border"] td:first-child {
  width: 40% !important;
}

[data-page-href^="zh/model-studio/openai-compatible-agents-api"] table[bordertype="no-border"] colgroup col:last-child,
[data-page-href^="zh/model-studio/openai-compatible-agents-api"] table[bordertype="no-border"] td:last-child {
  width: 60% !important;
}

[data-page-href^="zh/model-studio/openai-compatible-agents-api"] [data-component-part="code-block-root"] {
  height: auto !important;
  max-height: none !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

[data-page-href^="zh/model-studio/openai-compatible-agents-api"] [data-component-part="code-block-root"] pre {
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

@media (min-width: 1024px) {
  .adoc-mdx-content .api-example-table {
    display: grid !important;
    width: 100%;
    grid-template-columns: var(--api-example-columns);
    overflow: visible;
  }

  .api-example-table > colgroup {
    display: none;
  }

  .api-example-table > tbody,
  .api-example-table > tbody > tr {
    display: contents;
  }

  .api-example-table > tbody > tr > td {
    min-width: 0;
    width: auto !important;
  }

  .api-example-panel {
    box-sizing: border-box;
    align-self: start;
    transform: translateY(var(--api-example-shift, 0px));
    position: sticky;
    top: calc(var(--topbar-height, 112px) + 16px);
    max-height: calc(100vh - var(--topbar-height, 112px) - 32px);
    max-height: calc(100dvh - var(--topbar-height, 112px) - 32px);
    overflow: auto;
    scrollbar-gutter: stable;
  }
}

.adoc-mdx-content:has(.overview-hero, .overview-grid, .overview-architecture) {
  --overview-surface: #f7f8fc;
  --overview-ink: #242933;
  --overview-muted: #535d6d;
  --overview-border: #dce2ee;
  --overview-card-surface: #fff;
}

.overview-hero,
.overview-grid,
.overview-resources {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.overview-hero {
  align-items: center;
  gap: 32px;
  margin-block: 32px 24px;
}

.overview-intro {
  min-width: 0;
}

.adoc-mdx-content .overview-intro h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.adoc-mdx-content .overview-intro p {
  color: var(--overview-muted);
}

.adoc-mdx-content a.overview-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: #2253ff;
  font-weight: 600;
  text-underline-offset: 5px;
}

.overview-cta::after {
  content: '→' / '';
}

.adoc-mdx-content .overview-prerequisites {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--overview-surface);
  color: var(--overview-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.adoc-mdx-content .overview-prerequisites p {
  margin-block: 0 8px;
}

.adoc-mdx-content .overview-prerequisites p:last-child {
  margin-bottom: 0;
}

.overview-prerequisites span[id] {
  scroll-margin-top: calc(var(--topbar-height, 112px) + 40px);
}

.overview-startpath,
.overview-architecture {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--overview-border);
  border-radius: 20px;
  background: var(--overview-surface);
  color: var(--overview-ink);
}

.adoc-mdx-content .overview-startpath h3:first-child {
  margin-top: 0;
}

.adoc-mdx-content .overview-startpath p:last-child {
  margin-bottom: 0;
}

.overview-architecture {
  margin-block: 24px 40px;
}

.overview-agent-section {
  margin-block: 28px;
  padding: 24px;
  border: 1px solid var(--overview-border);
  border-top: 4px solid var(--adoc-color-primary, #4b73ff);
  border-radius: 16px;
  background: var(--overview-surface);
}

.overview-agent-section > h2:first-child {
  margin-top: 0;
}

.overview-agent-section > p {
  color: var(--overview-muted);
}

@media (max-width: 639px) {
  .overview-agent-section {
    padding: 18px;
  }
}

.overview-architecture-entry {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 12px 24px;
  border: 1px solid var(--overview-border);
  border-radius: 10px;
  background: var(--overview-card-surface);
  font-weight: 600;
  text-align: center;
}

.overview-architecture-routes {
  position: relative;
  display: grid;
  gap: 16px;
}

.overview-architecture-route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--overview-border);
  border-radius: 12px;
  background: var(--overview-card-surface);
}

.overview-route-label {
  color: var(--overview-muted);
  font-size: 0.8125rem;
}

.adoc-mdx-content a.overview-route-title {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--overview-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  text-underline-offset: 5px;
}

.overview-route-detail {
  color: var(--overview-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.overview-architecture-foundation {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px dashed var(--overview-border);
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  text-align: center;
}

.overview-grid {
  gap: 18px;
  margin-block: 24px 48px;
  padding: 20px;
  border-radius: 24px;
  background: var(--overview-surface);
}

.adoc-mdx-content:has(.overview-grid, #error-code-page-search) :is(h2, h3, h4) span[id] {
  scroll-margin-top: calc(var(--topbar-height, 112px) + 40px);
}

.adoc-mdx-content a.overview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #fff;
  color: var(--overview-ink);
  font-weight: 400;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.adoc-mdx-content a.overview-card::after {
  content: '↗' / '';
  position: absolute;
  inset-block-start: 22px;
  inset-inline-end: 22px;
  color: #77808c;
}

.adoc-mdx-content a.overview-card:hover {
  border-color: #4b73ff;
  background: #fdfdff;
}

.overview-card-title {
  color: var(--overview-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.overview-card-description {
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.overview-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  background: var(--overview-ink);
  mask: var(--overview-icon) center / contain no-repeat;
}

.overview-icon-text {
  --overview-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M7 8h10M12 8v9m-3 0h6'/%3E%3C/svg%3E");
}

.overview-icon-vision {
  --overview-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.overview-icon-image {
  --overview-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3Cpath d='m3 17 5-5 4 4 4-6 5 7'/%3E%3C/svg%3E");
}

.overview-icon-tool {
  --overview-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v5m8-5v5M5 8h14v3a7 7 0 0 1-14 0Zm7 10v4'/%3E%3C/svg%3E");
}

.overview-icon-thinking {
  --overview-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6m-6 3h6M8 15a7 7 0 1 1 8 0c-1 1-1 2-1 3H9c0-1 0-2-1-3Z'/%3E%3C/svg%3E");
}

.overview-icon-schema {
  --overview-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H6v6l-3 3 3 3v6h2m8-18h2v6l3 3-3 3v6h-2'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E");
}

.overview-resources {
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid #e2e5eb;
}

.adoc-mdx-content .overview-resources h3 {
  margin: 0 0 12px;
  font-size: 0.9375rem;
}

.adoc-mdx-content .overview-resources ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.adoc-mdx-content .overview-resources li {
  margin: 0;
  padding-block: 4px;
}

.overview-card:focus-visible,
.overview-cta:focus-visible,
.overview-route-title:focus-visible {
  outline: 2px solid #4b73ff;
  outline-offset: 3px;
}

.error-search-hidden {
  display: none !important;
}

html.dark .adoc-mdx-content:has(.overview-hero, .overview-grid, .overview-architecture) {
  --overview-surface: #101622;
  --overview-ink: #f3f4f6;
  --overview-muted: #b7c1d1;
  --overview-border: #53627b;
  --overview-card-surface: #141c2b;
}

html.dark .adoc-mdx-content a.overview-card {
  border-color: #35425c;
  background: #141c2b;
  color: #e5e7eb;
}

html.dark .adoc-mdx-content a.overview-card:hover {
  border-color: #7c9aff;
  background: #1c2840;
}

html.dark .overview-resources {
  border-color: #35425c;
}

html.dark .adoc-mdx-content a.overview-cta {
  color: #93adff;
}

@media (min-width: 640px) {
  .overview-capabilities,
  .overview-tools,
  .overview-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .overview-hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
  }

  .overview-hero-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-models,
  .overview-tools,
  .overview-capabilities,
  .overview-architecture-routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .overview-architecture-entry {
    margin-bottom: 40px;
  }

  .overview-architecture-entry::after,
  .overview-architecture-routes::before,
  .overview-architecture-route::before {
    content: '';
    position: absolute;
    background: var(--overview-border);
  }

  .overview-architecture-entry::after {
    width: 1px;
    height: 20px;
    left: 50%;
    bottom: -21px;
  }

  .overview-architecture-routes::before {
    height: 1px;
    top: -20px;
    left: calc((100% - 32px) / 6);
    right: calc((100% - 32px) / 6);
  }

  .overview-architecture-route::before {
    width: 1px;
    height: 20px;
    top: -21px;
    left: 50%;
  }

  .overview-resources {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .adoc-mdx-content a.overview-card {
    transition: none;
  }
}

#overview-build-paths .card-group {
  gap: 24px 40px;
  margin: 16px 0 32px;
}

#overview-build-paths .card {
  height: auto;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
}

#overview-build-paths [data-component-part="card-content-container"] {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}

#overview-build-paths [data-component-part="card-arrow"] {
  display: none !important;
}

#overview-build-paths [data-component-part="card-icon"] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--overview-border);
  border-radius: 10px;
  color: var(--overview-ink);
}

#overview-build-paths [data-component-part="card-icon"] svg {
  width: 24px !important;
  height: 24px !important;
}

#overview-build-paths [data-component-part="card-title"] {
  margin: 0 !important;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: normal;
}

#overview-build-paths [data-component-part="card-content"] {
  margin: 4px 0 0 !important;
  font-size: 14px;
  line-height: 22px;
  color: var(--overview-muted);
  white-space: normal;
}

#overview-build-paths [data-component-part="card-content"] > * {
  margin: 0 !important;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.overview-quickstart .card [data-component-part="card-icon"] {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overview-quickstart .card [data-component-part="card-icon"] svg {
  width: 24px;
  height: 24px;
}

.overview-quickstart .card [data-component-part="card-title"],
.overview-quickstart .card [data-component-part="card-content"] {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.overview-quickstart .card [data-component-part="card-content"] {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.overview-quickstart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.overview-quickstart-grid > .card {
  height: auto;
}

@media (max-width: 900px) {
  .overview-quickstart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.overview-quickstart {
  margin-block: 24px 40px;
  padding: 20px;
  border-radius: 24px;
  background: var(--overview-surface);
}

.overview-quickstart .card-group {
  gap: 18px;
}

.overview-quickstart .card {
  border: 1px solid var(--overview-border);
  background: var(--overview-card-surface);
  box-shadow: 0 2px 8px rgba(36, 41, 51, 0.05);
}





.overview-quickstart .card-group > .card:nth-child(3) [data-component-part="card-content"] {
  padding-top: 16px;
}

.overview-tool-logo {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.overview-tools a.overview-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "logo title"
    "description description";
  column-gap: 10px;
  row-gap: 8px;
  align-items: center;
}

.overview-tools .overview-tool-logo {
  grid-area: logo;
  margin: 0;
}

.overview-tools .overview-card-title {
  grid-area: title;
  white-space: nowrap;
}

.overview-tools .overview-card-description {
  grid-area: description;
  margin-top: 0;
}

.overview-quickstart .card:has(.code-block) [data-component-part="card-content"] {
  padding-top: 0;
}

.overview-quickstart .card:has(.code-block) .code-block {
  margin-top: 0;
  margin-bottom: 0;
}

.overview-quickstart .card:has(.code-block) .code-block [data-component-part="code-block-root"] {
  padding: 4px 48px 4px 12px;
}

.overview-quickstart .card:has(.code-block) [data-component-part="card-content"] > span[data-as="p"] {
  margin-bottom: 0;
}

.overview-quickstart .card:has(.code-block) .code-block [data-floating-buttons="true"] {
  top: 50% !important;
  right: 8px !important;
  transform: translateY(-50%);
  z-index: 30 !important;
}

.overview-quickstart .card:has(.code-block) .code-block [data-floating-buttons="true"] > div {
  opacity: 1 !important;
}

.overview-quickstart .card:not([data-layout="compact"]) [data-component-part="card-content-container"] {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.overview-quickstart .card:not([data-layout="compact"]) [data-component-part="card-icon"] {
  position: static !important;
  flex: none;
  margin: 0 !important;
}

.overview-quickstart .card:not([data-layout="compact"]) [data-component-part="card-content-container"] > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.overview-quickstart .card:has(.code-block) .code-block pre .line:last-child:has(> span:empty) {
  display: none;
}

.overview-quickstart .card:has(.code-block) [data-component-part="code-block-root"] {
  display: flex;
  align-items: center;
  height: 48px !important;
  min-height: 48px;
  max-height: 48px;
}

/* Token Plan quick start: icon tabs + one-line prompt */
.overview-quickstart-grid .card:last-child [data-component-part="tabs-list"] {
  gap: 8px;
  border-bottom: 0 !important;
  padding-bottom: 0;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.overview-quickstart-grid .card:last-child [data-component-part="tabs-list"]::-webkit-scrollbar {
  display: none;
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"] {
  flex: 0 0 auto;
}

.overview-quickstart-grid .card:last-child [data-component-part="tab-button"] {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  padding: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-radius: 12px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  color: transparent !important;
  font-size: 0 !important;
  justify-content: center;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.overview-quickstart-grid .card:last-child [data-component-part="tab-button"][data-active="true"] {
  border-color: #7c6cff !important;
  background-color: #f4f1ff;
  box-shadow: 0 0 0 1px #7c6cff inset;
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(1) [data-component-part="tab-button"] {
  background-image: url("https://g-adoc.alcasset.com/media/maas_docs/sfm-cn/common/images/6a4b3c2d1e0f923d.svg");
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(2) [data-component-part="tab-button"] {
  background-image: url("https://g-adoc.alcasset.com/media/maas_docs/sfm-cn/common/images/6a4b3c2d1e0f9234.svg");
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(3) [data-component-part="tab-button"] {
  background-image: url("https://g-adoc.alcasset.com/media/maas_docs/sfm-cn/common/images/6a4b3c2d1e0f9232.svg");
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(4) [data-component-part="tab-button"] {
  background-image: url("https://g-adoc.alcasset.com/media/maas_docs/sfm-cn/common/images/6a4b3c2d1e0f9231.svg");
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(5) [data-component-part="tab-button"] {
  background-image: url("https://g-adoc.alcasset.com/media/maas_docs/sfm-cn/common/images/6a4b3c2d1e0f923f.svg");
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(6) [data-component-part="tab-button"] {
  background-image: url("https://g-adoc.alcasset.com/media/maas_docs/sfm-cn/common/images/6a4b3c2d1e0f923c.svg");
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(7) [data-component-part="tab-button"] {
  background-image: none;
}

.overview-quickstart-grid .card:last-child [data-component-part="tab"]:nth-child(7) [data-component-part="tab-button"]::before {
  content: "+";
  color: #6b7280;
  font-size: 20px;
  line-height: 1;
}

.overview-quickstart-grid .card:last-child pre {
  font-size: 12px;
  line-height: 1.6;
  white-space: pre;
}

.overview-quickstart-grid .card:last-child .code-block [data-floating-buttons="true"] {
  top: 50% !important;
  right: 8px !important;
  transform: translateY(-50%) !important;
}

html.dark .overview-quickstart-grid .card:last-child [data-component-part="tab-button"] {
  background-color: #141c2b;
  border-color: #334155 !important;
}

html.dark .overview-quickstart-grid .card:last-child [data-component-part="tab-button"][data-active="true"] {
  background-color: #2a2450;
  border-color: #a78bfa !important;
  box-shadow: 0 0 0 1px #a78bfa inset;
}

.overview-quickstart-grid .quickstart-step-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.overview-quickstart-grid .quickstart-step {
  text-align: left;
}

.overview-quickstart-grid .quickstart-step + .quickstart-step {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

.overview-quickstart-grid .quickstart-step p {
  margin: 8px 0 0;
}

.overview-quickstart-grid .quickstart-card-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--overview-border);
  font-size: 0.875rem;
  color: var(--overview-muted);
}

.overview-quickstart-grid .quickstart-card-footer a {
  color: inherit;
  text-decoration: underline;
}

.overview-quickstart-grid .card:last-child [data-component-part="card-content"] {
  min-height: 0;
}

.overview-quickstart-grid .card [data-component-part="card-content-container"] {
  padding-top: 12px;
  padding-bottom: 12px;
}

.overview-quickstart-grid .card [data-component-part="card-content"] {
  margin-top: 8px;
}

.overview-quickstart-grid .card:last-child .code-block {
  margin-bottom: 0;
}

.overview-quickstart-grid .card:last-child .code-block {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.overview-quickstart-grid .card:last-child [data-component-part="tabs-list"] {
  margin-bottom: 8px;
}

.overview-quickstart-grid .card:last-child [data-component-part="card-content-container"] > div {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.overview-quickstart-grid .quickstart-card-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--overview-border);
  font-size: 0.875rem;
  color: var(--overview-muted);
}

.overview-quickstart-grid .quickstart-card-footer a {
  color: inherit;
  text-decoration: underline;
}

.overview-quickstart-grid > .card:first-child [data-component-part="tab-button"] {
  font-size: 1rem;
}

.overview-quickstart-grid > .card:first-child .quickstart-step-title {
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.overview-quickstart-grid > .card:first-child .quickstart-step > span[data-as="p"] {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.overview-quickstart-grid > .card:first-child .quickstart-step + .quickstart-step {
  margin-top: 32px;
}

.overview-quickstart-grid .card:last-child .code-block [data-component-part="code-block-root"] {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-items: flex-start !important;
  overflow-y: visible !important;
}

.overview-quickstart-grid .card:last-child .code-block {
  height: auto !important;
}

.overview-quickstart-grid .card:last-child .quickstart-step-title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  line-height: 1.4;
}

.overview-quickstart-grid .quickstart-step-desc {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--overview-muted);
}

.overview-quickstart-grid .quickstart-tool-heading {
  margin-bottom: 10px;
}

.overview-quickstart-grid .card:last-child .code-block pre,
.overview-quickstart-grid .card:last-child .code-block pre code,
.overview-quickstart-grid .card:last-child .code-block pre .line {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.overview-quickstart-grid .card:last-child .tabs-header {
  margin-bottom: 0 !important;
}

.overview-quickstart-grid .card:last-child [data-component-part="tabs-list"] {
  margin-bottom: 10px;
}

.overview-quickstart-grid .card:last-child .quickstart-card-footer {
  margin-top: 16px;
}

.overview-quickstart-grid > .card:first-child [data-component-part="tab-button"]::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.overview-quickstart-grid > .card:first-child [data-component-part="tab"]:nth-child(1) [data-component-part="tab-button"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.overview-quickstart-grid > .card:first-child [data-component-part="tab"]:nth-child(2) [data-component-part="tab-button"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

/* Keep both quick start cards the same height regardless of content or JS updates. */
.overview-quickstart .overview-quickstart-grid > .card [data-component-part="card-content-container"] {
  height: 100%;
  align-items: stretch;
}

.overview-quickstart .overview-quickstart-grid > .card [data-component-part="card-content-container"] > div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.overview-quickstart .overview-quickstart-grid > .card [data-component-part="card-content"] {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.overview-quickstart .overview-quickstart-grid > .card .quickstart-card-footer {
  margin-top: auto;
}

.quickstart-tool-grid .card-group {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.quickstart-tool-grid .card [data-component-part="card-content-container"] {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.quickstart-tool-grid .card [data-component-part="card-icon"] {
  position: static !important;
  flex: none;
  margin: 0 !important;
}

.quickstart-tool-grid .card [data-component-part="card-content-container"] > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.quickstart-tool-grid .card {
  border: 1px solid var(--overview-border);
  border-radius: 12px;
}

.quickstart-tool-grid .card [data-component-part="card-title"] {
  font-size: 0.9375rem !important;
  line-height: 1.4;
}

.quickstart-tool-grid .card [data-component-part="card-content"] {
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .quickstart-tool-grid .card-group {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .quickstart-tool-grid .card-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .quickstart-tool-grid .card-group {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.quickstart-model-grid .card-group,
.quickstart-usage-grid .card-group {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.quickstart-model-grid .card [data-component-part="card-content-container"],
.quickstart-usage-grid .card [data-component-part="card-content-container"] {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.quickstart-model-grid .card [data-component-part="card-icon"],
.quickstart-usage-grid .card [data-component-part="card-icon"] {
  position: static !important;
  flex: none;
  margin: 0 !important;
}

.quickstart-model-grid .card [data-component-part="card-content-container"] > div:last-child,
.quickstart-usage-grid .card [data-component-part="card-content-container"] > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.quickstart-model-grid .card,
.quickstart-usage-grid .card {
  border: 1px solid var(--overview-border);
  border-radius: 12px;
}

.quickstart-model-grid .card [data-component-part="card-title"],
.quickstart-usage-grid .card [data-component-part="card-title"] {
  font-size: 0.9375rem !important;
  line-height: 1.4;
}

.quickstart-model-grid .card [data-component-part="card-content"],
.quickstart-usage-grid .card [data-component-part="card-content"] {
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .quickstart-model-grid .card-group,
  .quickstart-usage-grid .card-group {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .quickstart-model-grid .card-group,
  .quickstart-usage-grid .card-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .quickstart-model-grid .card-group,
  .quickstart-usage-grid .card-group {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.quickstart-playbook-grid .card [data-component-part="card-content-container"] {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.quickstart-playbook-grid .card [data-component-part="card-icon"] {
  position: static !important;
  flex: none;
  margin: 0 !important;
}

.quickstart-playbook-grid .card [data-component-part="card-content-container"] > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.quickstart-playbook-grid .card {
  border: 1px solid var(--overview-border);
  border-radius: 12px;
}

.quickstart-playbook-grid .card [data-component-part="card-title"] {
  font-size: 0.9375rem !important;
  line-height: 1.4;
}

.quickstart-playbook-grid .card [data-component-part="card-content"] {
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .quickstart-playbook-grid .card-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .quickstart-playbook-grid .card-group {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* rkb-prompt: mirror help-center prompt bar styles for local preview */
/* Compact Prompt bars. Copy is provided by each host's existing code-block control. */ .rkb-prompt {   --rkb-prompt-current-color: var(--rkb-prompt-color-light, var(--adoc-color-text, #202632));   --rkb-prompt-current-muted: var(--rkb-prompt-muted-light, var(--adoc-color-text-secondary, #586272));   --rkb-prompt-current-background: var(--rkb-prompt-background-light, #f5f6f8);   --rkb-prompt-current-surface: var(--rkb-prompt-surface-light, var(--adoc-color-bg, #fff));   --rkb-prompt-current-border: var(--rkb-prompt-border-light, #e3e5e9);   --rkb-prompt-current-accent: var(--rkb-prompt-accent-light, var(--adoc-color-primary, #2563eb));   --rkb-prompt-copy-label: "复制提示词";   box-sizing: border-box;   min-width: 0;   max-width: 100%;   margin: 20px 0;   padding: var(--rkb-prompt-padding, 18px 20px);   border: var(--rkb-prompt-border-width, 0px) solid var(--rkb-prompt-current-border);   border-radius: var(--rkb-prompt-radius, 16px);   background: var(--rkb-prompt-current-background);   color: var(--rkb-prompt-current-color);   font-family: inherit;   font-size: var(--rkb-prompt-font-size, 16px);   line-height: 1.6;   overflow-wrap: anywhere; } .rkb-prompt:first-child { margin-top: 0; } .rkb-prompt:last-child { margin-bottom: 0; } .rkb-prompt .rkb-prompt-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; } .rkb-prompt .rkb-prompt-description { flex: 1 1 240px; min-width: 0; margin-right: 12px; } .rkb-prompt .rkb-prompt-header .rkb-prompt-description > :first-child { margin-top: 0; } .rkb-prompt .rkb-prompt-header .rkb-prompt-description > :last-child { margin-bottom: 0; } .rkb-prompt .rkb-prompt-description > :is(p, [data-as="p"]) { font-size: inherit; line-height: inherit; } .rkb-prompt .rkb-prompt-actions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; } .rkb-prompt .rkb-prompt-description.rkb-prompt-paperclip { position: relative; padding-left: 28px; } .rkb-prompt .rkb-prompt-paperclip::before {   content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px;   background: currentColor;   mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27m21.4%2011.6-9.2%209.2a6%206%200%200%201-8.5-8.5l10-10a4%204%200%200%201%205.7%205.7l-10%2010a2%202%200%200%201-2.8-2.8l9.2-9.2%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; } .rkb-prompt .rkb-prompt-link, .rkb-prompt .rkb-prompt-menu > summary, .rkb-prompt .rkb-prompt-copy [data-testid="copy-code-button"], .rkb-prompt .rkb-prompt-copy .copy-btn {   display: inline-flex; align-items: center; justify-content: center; gap: 6px;   box-sizing: border-box; width: auto; height: auto; min-height: 34px; max-width: 100%;   padding: 5px 12px; border: 1px solid var(--rkb-prompt-current-border);   border-radius: var(--rkb-prompt-button-radius, 999px);   background: var(--rkb-prompt-current-surface); color: var(--rkb-prompt-current-color);   font-family: inherit; font-size: var(--rkb-prompt-action-size, 14px); font-weight: 500;   font-style: normal; line-height: 1.5; text-align: center; text-decoration: none;   white-space: nowrap; cursor: pointer; list-style: none; backdrop-filter: none; } .rkb-prompt .rkb-prompt-actions a.rkb-prompt-link:any-link { color: var(--rkb-prompt-current-color); background: var(--rkb-prompt-current-surface); text-decoration: none; } .rkb-prompt .rkb-prompt-actions a.rkb-prompt-link:hover, .rkb-prompt .rkb-prompt-menu > summary:hover { border-color: var(--rkb-prompt-current-accent); color: var(--rkb-prompt-current-accent); } .rkb-prompt .rkb-prompt-target-cursor::before {   content: ""; flex: 0 0 auto; width: 16px; height: 16px;   background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27%23939aa5%27%20d%3D%27M12%200%2022.4%206%2012%2012%201.6%206Z%27%2F%3E%3Cpath%20fill%3D%27%23313946%27%20d%3D%27m12%2012%2010.4-6v12L12%2024Z%27%2F%3E%3Cpath%20fill%3D%27%23bdc3cc%27%20d%3D%27M1.6%206%2012%2012v12L1.6%2018Z%27%2F%3E%3Cpath%20fill%3D%27%23535e6c%27%20d%3D%27m1.6%2018%2010.4-6%2010.4%206L12%2024Z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; } .rkb-prompt a:focus-visible, .rkb-prompt summary:focus-visible, .rkb-prompt .rkb-prompt-copy button:focus-visible { outline: 2px solid var(--rkb-prompt-current-accent); outline-offset: 3px; } /* Keep real copy controls and their handlers; change only their presentation. */ .rkb-prompt .rkb-prompt-copy { position: relative; flex: 0 0 auto; max-width: 100%; } .rkb-prompt .rkb-prompt-copy .code-block, .rkb-prompt .rkb-prompt-copy .help-code-block {   position: relative; display: block; width: auto; min-width: 0; margin: 0; padding: 0;   border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; } .rkb-prompt .rkb-prompt-copy [data-floating-buttons], .rkb-prompt .rkb-prompt-copy .code-tools, .rkb-prompt .rkb-prompt-copy .right-tools {   position: static; display: flex; align-items: center; width: auto; height: auto;   margin: 0; padding: 0; border: 0; background: transparent; opacity: 1; transform: none; } .rkb-prompt .rkb-prompt-copy [data-floating-buttons] > :not(:has([data-testid="copy-code-button"])), .rkb-prompt .rkb-prompt-copy .left-tools, .rkb-prompt .rkb-prompt-copy .right-tools > :not(.copy-btn, .help-code-block-success), .rkb-prompt .rkb-prompt-copy [data-fade-overlay] { display: none; } .rkb-prompt .rkb-prompt-copy [data-floating-buttons] > :has([data-testid="copy-code-button"]) {   opacity: 1; margin: 0; padding: 0 !important; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; } .rkb-prompt .rkb-prompt-copy [data-testid="copy-code-button"], .rkb-prompt .rkb-prompt-copy .copy-btn {   border-color: transparent; background: var(--rkb-prompt-current-accent); color: var(--rkb-prompt-copy-color, #fff); } .rkb-prompt .rkb-prompt-copy [data-testid="copy-code-button"]:hover, .rkb-prompt .rkb-prompt-copy .copy-btn:hover { filter: brightness(.94); } .rkb-prompt .rkb-prompt-copy [data-testid="copy-code-button"]::after, .rkb-prompt .rkb-prompt-copy .copy-btn::after { content: var(--rkb-prompt-copy-label); } .rkb-prompt .rkb-prompt-copy [data-testid="copy-code-button"] > svg, .rkb-prompt .rkb-prompt-copy .copy-btn::before { display: none; } /* ClipboardJS selects the portal pre: visually clip it instead of display:none. */ .rkb-prompt .rkb-prompt-copy pre, .rkb-prompt .rkb-prompt-copy [data-component-part="code-block-root"] {   position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important;   margin: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden !important;   clip-path: inset(50%); opacity: 0; pointer-events: none; } .rkb-prompt .rkb-prompt-copy .help-code-block-success { position: absolute; bottom: calc(100% + 6px); right: 0; white-space: nowrap; } /* Portal controls use descendant selectors; keep the adapter inside this copy carrier. */ .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block {   position: relative; width: max-content; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; } .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block > .code-tools, .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block > .code-tools > .right-tools {   position: static; display: flex; float: none; width: auto; height: auto; min-height: 0;   margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; transform: none; } .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block > .code-tools > .left-tools, .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block > .code-tools > .right-tools > :not(.copy-btn, .help-code-block-success) { display: none; } .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block .code-tools .right-tools .copy-btn {   position: relative; display: inline-flex; float: none; align-items: center; justify-content: center;   width: auto; height: auto; min-width: 0; min-height: 34px; margin: 0; padding: 5px 12px;   border: 1px solid transparent; border-radius: var(--rkb-prompt-button-radius, 999px);   font-family: inherit; font-size: var(--rkb-prompt-action-size, 14px); font-style: normal; line-height: 1.5;   color: var(--rkb-prompt-copy-color, #fff); background: var(--rkb-prompt-current-accent); opacity: 1; transform: none; } .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block .code-tools .right-tools .copy-btn::before { display: none; } .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block .code-tools .right-tools .copy-btn::after { position: static; font: inherit; content: var(--rkb-prompt-copy-label); } .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block .code-tools .right-tools .help-code-block-success {   position: absolute; top: auto; bottom: calc(100% + 6px); left: auto; right: 0; white-space: nowrap; } .rkb-prompt .rkb-prompt-menu { position: relative; min-width: 0; max-width: 100%; } .rkb-prompt summary::-webkit-details-marker { display: none; } .rkb-prompt .rkb-prompt-menu > summary::after, .rkb-prompt .rkb-prompt-view > summary::before {   content: ""; flex: 0 0 auto; width: 6px; height: 6px;   border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); } .rkb-prompt .rkb-prompt-menu[open] > summary::after { transform: rotate(225deg); } .rkb-prompt .rkb-prompt-menu-items {   position: absolute; z-index: 5; right: 0; top: calc(100% + 6px); display: flex; flex-direction: column;   box-sizing: border-box; width: max-content; min-width: 100%; max-width: min(280px, calc(100vw - 64px));   padding: 4px; border: 1px solid var(--rkb-prompt-current-border); border-radius: 10px;   background: var(--rkb-prompt-current-surface); box-shadow: 0 6px 20px rgb(0 0 0 / 10%); } .rkb-prompt .rkb-prompt-menu-items a.rkb-prompt-link { justify-content: flex-start; border: 0; border-radius: 6px; width: 100%; white-space: normal; } .rkb-prompt .rkb-prompt-menu-items a.rkb-prompt-link:hover { background: var(--rkb-prompt-current-background); } .rkb-prompt .rkb-prompt-view { min-width: 0; margin-top: 12px; } .rkb-prompt .rkb-prompt-view > summary {   display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%;   padding: 2px 0; color: var(--rkb-prompt-current-muted); font: inherit; font-size: 14px; cursor: pointer; list-style: none; } .rkb-prompt .rkb-prompt-view > summary::before { transform: rotate(-45deg); } .rkb-prompt .rkb-prompt-view[open] > summary::before { transform: rotate(45deg); } .rkb-prompt .rkb-prompt-text {   margin-top: 12px; padding: 14px 16px; border-radius: 10px; background: var(--rkb-prompt-current-surface);   font: inherit; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; } .rkb-prompt .rkb-prompt-menu:not([open]) > .rkb-prompt-menu-items, .rkb-prompt .rkb-prompt-view:not([open]) > .rkb-prompt-text { display: none; } .rkb-prompt.rkb-prompt-inline-menu .rkb-prompt-menu-items { position: static; margin-top: 6px; box-shadow: none; } @media (max-width: 639px) {   .rkb-prompt { padding: var(--rkb-prompt-padding, 16px); }   .rkb-prompt .rkb-prompt-description { flex-basis: 100%; margin: 0 0 4px; }   .rkb-prompt .rkb-prompt-menu-items { position: static; margin-top: 6px; box-shadow: none; }   .rkb-prompt .rkb-prompt-link,   .rkb-prompt .rkb-prompt-menu > summary,   .rkb-prompt .rkb-prompt-copy [data-testid="copy-code-button"],   .rkb-prompt .rkb-prompt-copy .copy-btn,   .rkb-prompt .rkb-prompt-view > summary { min-height: 44px; }   .markdown-body .rkb-prompt .rkb-prompt-copy .help-code-block .code-tools .right-tools .copy-btn { min-height: 44px; } } :where(.dark, [data-theme="dark"]) .rkb-prompt {   --rkb-prompt-current-color: var(--rkb-prompt-color-dark, var(--adoc-color-text, #e6edf3));   --rkb-prompt-current-muted: var(--rkb-prompt-muted-dark, var(--adoc-color-text-secondary, #a3aab5));   --rkb-prompt-current-background: var(--rkb-prompt-background-dark, #202226);   --rkb-prompt-current-surface: var(--rkb-prompt-surface-dark, #14161a);   --rkb-prompt-current-border: var(--rkb-prompt-border-dark, #3d424a);   --rkb-prompt-current-accent: var(--rkb-prompt-accent-dark, var(--adoc-color-primary, #8ab4ff));   --rkb-prompt-copy-color: var(--rkb-prompt-copy-color-dark, #102044); } @media print { .rkb-prompt .rkb-prompt-copy, .rkb-prompt .rkb-prompt-actions { display: none; } }
/* Error code tools shared by both entry pages and all site languages. */
.error-code-widget {
  --error-code-bg: var(--adoc-color-bg, #fff);
  --error-code-ink: var(--adoc-color-text, #242933);
  --error-code-brand: var(--docs-primary, #4b73ff);
  --error-code-accent: color-mix(in srgb, var(--error-code-brand) 66%, var(--error-code-ink));
  --error-code-muted: color-mix(in srgb, var(--error-code-ink) 75%, var(--error-code-bg));
  --error-code-line: color-mix(in srgb, var(--error-code-ink) 22%, var(--error-code-bg));
  --error-code-outline: color-mix(in srgb, var(--error-code-ink) 14%, var(--error-code-bg));
  --error-code-surface: color-mix(in srgb, var(--error-code-ink) 4%, var(--error-code-bg));
  --error-code-tint: color-mix(in srgb, var(--error-code-brand) 8%, var(--error-code-bg));
  --error-code-hover: color-mix(in srgb, var(--error-code-brand) 15%, var(--error-code-bg));
  --error-code-panel-inset: 16px;
  --error-code-panel-radius: 8px;
  min-width: 0;
  color: var(--error-code-ink);
  overflow-wrap: anywhere;
}

.dark .error-code-widget,
[data-theme="dark"] .error-code-widget {
  --error-code-bg: var(--adoc-color-bg, #15171c);
  --error-code-ink: var(--adoc-color-text, #e8ebf3);
  --error-code-accent: color-mix(in srgb, var(--error-code-brand) 45%, var(--error-code-ink));
}

.error-code-widget .error-code-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--error-code-accent);
  background: var(--error-code-tint);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

#error-code-ask-ai {
  margin-block-start: 16px;
}

#error-code-ask-ai .error-ask-button {
  display: grid;
  grid-template-areas: "label prompt action";
  grid-template-columns: max-content minmax(0, 1fr) auto;
  gap: 4px 12px;
  width: 100%;
  min-height: 48px;
  padding: 9px var(--error-code-panel-inset);
  border: 1px solid var(--error-code-outline);
  border-radius: var(--error-code-panel-radius);
  color: var(--error-code-ink);
  background: color-mix(in srgb, var(--error-code-brand) 3%, var(--error-code-bg));
  line-height: 1.5;
  text-align: start;
  white-space: normal;
}

#error-code-ask-label {
  grid-area: label;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--error-code-accent);
  background: color-mix(in srgb, var(--error-code-brand) 12%, var(--error-code-bg));
  font-size: 0.75rem;
  white-space: nowrap;
}

#error-code-ask-label svg {
  flex: none;
  width: 14px;
  height: 14px;
}

#error-code-ask-prompt {
  grid-area: prompt;
  min-width: 0;
  font-weight: 400;
}

#error-code-ask-action {
  grid-area: action;
  justify-self: end;
  color: var(--error-code-accent);
  width: 6px;
  height: 6px;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.error-code-widget .error-code-button:hover:not(:disabled) {
  background: var(--error-code-hover);
}

#error-code-ask-ai .error-ask-button:is(:hover, :focus-visible):not(:disabled) {
  border-color: color-mix(in srgb, var(--error-code-accent) 45%, var(--error-code-outline));
  background: var(--error-code-tint);
}

.error-code-widget :is(button, a):focus-visible,
#error-code-search-react .error-search-field:focus-within {
  outline: 2px solid var(--error-code-accent);
  outline-offset: 2px;
}

.error-code-widget .error-code-button:disabled {
  opacity: 0.55;
  cursor: default;
}

#error-code-ask-ai .error-ask-button:disabled {
  cursor: wait;
}

#error-code-ask-ai .error-ask-message,
#error-code-search-status {
  color: var(--error-code-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

#error-code-ask-ai .error-ask-message:not(:empty),
#error-code-search-status:not(:empty) {
  margin-block-start: 10px;
}

#error-code-ask-ai .error-ask-message {
  padding-inline: calc(var(--error-code-panel-inset) + 1px);
}

#error-code-search-react {
  margin-block: 16px 24px;
  padding: 14px var(--error-code-panel-inset);
  border: 1px solid var(--error-code-outline);
  border-radius: var(--error-code-panel-radius);
  background: var(--error-code-bg);
}

#error-code-ask-ai + #error-code-search-react {
  margin-block-start: 12px;
}

#error-code-search-react .error-search-label {
  display: block;
  margin-block-end: 10px;
  font-weight: 600;
}

#error-code-search-react .error-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

#error-code-search-react .error-search-field {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid var(--error-code-line);
  border-radius: 6px;
}

#error-code-search-input {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 6px 10px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

#error-code-search-input:focus {
  outline: none;
}

#error-code-search-input::-webkit-search-cancel-button {
  display: none;
}

#error-code-search-input::placeholder {
  color: var(--error-code-muted);
}

#error-code-search-submit {
  color: var(--error-code-bg);
  background: var(--error-code-accent);
}

#error-code-search-submit:hover:not(:disabled) {
  background: color-mix(in srgb, var(--error-code-accent) 86%, var(--error-code-ink));
}

#error-code-search-reset {
  display: grid;
  place-items: center;
  min-width: 40px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: var(--error-code-muted);
  background: transparent;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

#error-code-search-reset:hover {
  color: var(--error-code-ink);
  background: var(--error-code-surface);
}

#error-code-search-reset:focus-visible {
  outline-offset: -3px;
}

#error-code-search-results:not(:empty) {
  margin-block-start: 10px;
}

#error-code-search-results .error-search-list,
#error-code-search-results .error-search-list > li {
  margin: 0;
  padding: 0;
}

#error-code-search-results .error-search-list {
  list-style: disc outside;
}

/* Keep native list semantics while the indentation replaces the bullets. */
#error-code-search-results .error-search-list > li::marker {
  color: transparent;
}

#error-code-search-results .error-search-children {
  margin: 3px 0 4px 9px;
  padding-inline-start: 8px;
  border-inline-start: 1px solid var(--error-code-line);
}

#error-code-search-results > .error-search-list > li + li {
  margin-block-start: 10px;
}

#error-code-search-results .error-search-row {
  display: block;
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  color: var(--error-code-ink);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  text-decoration: none;
}

#error-code-search-results > .error-search-list > li > .error-search-row {
  display: inline-block;
  max-width: 100%;
  padding-block: 2px;
  background: var(--error-code-surface);
  font-weight: 600;
}

#error-code-search-results > .error-search-list > li > a.error-search-row {
  color: var(--error-code-accent);
  background: var(--error-code-tint);
}

#error-code-search-results span.error-search-row {
  color: var(--error-code-muted);
}

#error-code-search-results > .error-search-list > li > .error-search-children > li > .error-search-row {
  font-weight: 500;
}

#error-code-search-results a.error-search-row:hover,
#error-code-search-results a.error-search-row:focus-visible {
  color: var(--error-code-accent);
  background: var(--error-code-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#error-code-search-results .error-search-more {
  margin-block-start: 8px;
}

@media (max-width: 520px) {
  .error-code-widget {
    --error-code-panel-inset: 12px;
  }

  #error-code-ask-ai .error-ask-button {
    grid-template-areas:
      "label action"
      "prompt prompt";
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 8px;
  }

  #error-code-search-react {
    padding-block: 12px;
  }

  #error-code-search-input {
    min-height: 42px;
  }

  .error-code-widget .error-code-button {
    min-height: 44px;
  }

  #error-code-search-reset {
    min-width: 44px;
  }
}

/* Keep accordion body text consistent with the surrounding two-column parameter list. */
td details.accordion > div[role="region"] {
  font-size: inherit;
}

/* API Host: shared base styles, synchronized into pilot MDX pages. */
.api-host-bootstrap {
  display: none !important;
}

.workspace-id-token {
  --workspace-id-color: #5d32bd;
  display: inline-flex;
  gap: 2px;
  vertical-align: baseline;
}

.dark .workspace-id-token,
[data-theme="dark"] .workspace-id-token {
  --workspace-id-color: #c3a7ff;
}

.workspace-id-pencil {
  display: inline-grid;
  place-items: center;
  align-self: start;
  flex: none;
  width: 17px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--workspace-id-color);
  cursor: pointer;
}

.workspace-id-pencil:hover {
  background: color-mix(in srgb, var(--workspace-id-color) 10%, transparent);
}

.workspace-id-pencil svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-id-editor {
  min-width: 1ch;
  display: block;
  max-width: 100%;
  color: var(--workspace-id-color);
  font-style: italic;
  font-weight: 650;
  cursor: text;
  text-decoration: underline dotted;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

.workspace-id-editor:is(:empty, :has(> br:only-child)) {
  min-width: 8ch;
  min-height: 1em;
  border-bottom: 1px dotted currentColor;
}

.workspace-id-token[data-save-error] .workspace-id-editor {
  text-decoration-color: #b56a00;
}

.workspace-id-editor:focus {
  font-style: normal;
  outline: none;
  background: color-mix(in srgb, var(--workspace-id-color) 10%, transparent);
  border-radius: 3px;
  text-decoration-style: solid;
}

.api-host-help-popover {
  position: fixed;
  inset: auto;
  width: max-content;
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  background: #fff;
  color: #242933;
  box-shadow: 0 6px 24px rgb(0 0 0 / .12);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
}

.api-host-help-popover a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.dark .api-host-help-popover {
  border-color: #343840;
  background: #16181d;
  color: #e5e7eb;
}

/* Workspace ID reference endpoints. */
.api-host-region-fallback[hidden] {
  display: none !important;
}

.api-host-copy-control {
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--rkb-api-muted);
  cursor: pointer;
}

.api-host-copy-control:hover {
  background: var(--api-host-canvas);
  color: var(--rkb-api-accent);
}

.api-host-copy-control:focus-visible {
  outline: 1px solid var(--api-host-accent);
  outline-offset: 1px;
}

.workspace-id-copy-glyph {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.workspace-id-copy-feedback {
  position: relative;
}

.workspace-id-copy-feedback:has(> [data-copy-state]) {
  z-index: 11;
}

.workspace-id-copy-feedback:has(> [data-copy-state]) > [aria-hidden="true"] {
  visibility: hidden;
}

.workspace-id-copy-button > .workspace-id-copy-check,
.workspace-id-copy-button[data-copy-state="copied"] > :not(.workspace-id-copy-check) {
  display: none;
}

.workspace-id-copy-button[data-copy-state="copied"] > .workspace-id-copy-check {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workspace-id-copy-status {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  pointer-events: none;
}

.workspace-id-copy-status:empty {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.workspace-id-copy-status:not(:empty) {
  width: max-content;
  max-width: min(210px, 65vw);
  padding: 3px 7px;
  border: 1px solid var(--rkb-api-border);
  border-radius: 5px;
  background: var(--adoc-color-bg, Canvas);
  color: var(--adoc-color-text-primary, CanvasText);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.workspace-id-pilot,
.workspace-id-reference {
  --api-host-accent: var(--rkb-api-accent);
  --api-host-canvas: color-mix(in srgb, currentColor 8%, transparent);
}

.workspace-id-reference {
  --rkb-api-border: var(--adoc-color-border, #e4e7ec);
  --rkb-api-accent: var(--adoc-color-primary, #1677ff);
  --rkb-api-muted: var(--adoc-color-text-secondary, #667085);
  --rkb-api-surface: var(--adoc-color-bg-secondary, #f7f8fa);
  container: rkb-api / inline-size;
  margin-block: 16px;
}

.workspace-id-reference .rkb-api-method {
  flex: none;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--rkb-api-accent);
  background: var(--adoc-badge-color-blue-bg, #eaf3ff);
  font-size: 12px;
  font-weight: 650;
}

.dark .workspace-id-pilot,
[data-theme="dark"] .workspace-id-pilot,
.dark .workspace-id-reference,
[data-theme="dark"] .workspace-id-reference {
  color-scheme: dark;
}

.workspace-id-pilot .rkb-api-fields > h2:not(:first-child) {
  margin-top: 32px;
}

.workspace-id-endpoint {
  margin-block-end: 20px;
  border: 1px solid var(--pt-color-line-200, var(--rkb-api-border));
  border-radius: var(--pt-radius-lg, 12px);
  background: var(--pt-color-neutral-50, var(--adoc-color-bg, Canvas));
}

.workspace-id-endpoint-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 10px 5px 12px;
}

.workspace-id-select-control {
  display: inline-grid;
  align-items: center;
  min-width: 0;
  color: var(--rkb-api-muted);
}

.workspace-id-region-control {
  margin-inline-start: auto;
}

.workspace-id-select-control > * {
  grid-area: 1 / 1;
}

.workspace-id-select-control > select {
  appearance: none;
  field-sizing: content;
  min-width: 0;
  min-height: 30px;
  padding: 0 26px 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.workspace-id-select-control > svg {
  width: 14px;
  height: 14px;
  margin-inline-end: 7px;
  justify-self: end;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.workspace-id-select-control:hover {
  color: var(--rkb-api-accent);
}

.workspace-id-select-control > select:hover {
  background: var(--api-host-canvas);
}

.workspace-id-select-control > select:focus-visible {
  outline: 1px solid var(--rkb-api-accent);
  outline-offset: 1px;
}

.workspace-id-select-control > select[data-pointer-focus]:focus {
  outline: none;
  box-shadow: none;
}

.workspace-id-endpoint .api-host-copy-control {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 6px;
}

@container rkb-api (max-width: 360px) {
  .workspace-id-endpoint-toolbar {
    gap: 4px;
    padding-inline: 8px;
  }

  .workspace-id-region-control select {
    padding-inline: 4px 22px;
  }

  .workspace-id-region-control > svg {
    margin-inline-end: 4px;
  }

  .workspace-id-endpoint .api-host-copy-control {
    width: 28px;
  }
}

@container rkb-api (max-width: 335px) {
  .workspace-id-endpoint-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .workspace-id-endpoint-title {
    grid-column: 1 / -1;
  }

  .workspace-id-region-control {
    margin-inline-start: 0;
  }
}

.workspace-id-endpoint-address {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 8px 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--rkb-api-surface);
}

.rkb-api .workspace-id-endpoint .workspace-id-endpoint-address > code {
  display: block;
  min-width: 0;
  flex: 1;
  padding: 0;
  background-color: transparent;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: anywhere;
}

.workspace-id-endpoint-address .workspace-id-token {
  max-width: 100%;
}

.workspace-id-pilot .rkb-api-examples > .tabs > .tabs-header > ul {
  column-gap: 12px;
}

.workspace-id-pilot .rkb-api-examples > .tabbed-content-box > .tab-box > .tab-item-container {
  display: flex;
  flex: 1;
  max-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.workspace-id-pilot .rkb-api-examples > .tabbed-content-box > .tab-box .tab-item {
  flex: none;
  padding-inline: 6px !important;
}

.workspace-id-pilot .rkb-api-examples > .tabbed-content-box > .tab-box > .tab-box-button {
  display: none;
}

.workspace-id-save-status:not(:empty) {
  color: var(--rkb-api-muted);
  font-size: 13px;
}

.workspace-id-pilot .workspace-id-save-status:empty {
  margin: 0;
}

.workspace-id-pilot .workspace-id-request :is(.code-group, .code-block, .help-code-block) {
  min-width: 0;
}

.workspace-id-pilot .workspace-id-authorization {
  padding-block: 6px 14px;
  margin-block-end: 12px;
}

.workspace-id-endpoint-title {
  color: var(--rkb-api-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* Model list example layout. */
.rkb-api.workspace-id-pilot .rkb-api-examples {
  max-height: none;
  overflow: visible;
  scrollbar-gutter: auto;
}

@media screen {
  .rkb-api.workspace-id-pilot .workspace-id-response
    :is([data-component-part="code-block-root"], .help-code-block pre) {
    max-height: var(--model-list-response-height, min(22rem, 42dvh)) !important;
    overflow: auto;
  }
}

@media screen and (height < 46.3125em) {
  .rkb-api.workspace-id-pilot .rkb-api-examples {
    position: static;
  }
}

@media screen and (height >= 46.3125em) {
  @container rkb-api (min-width: 720px) {
    .rkb-api.workspace-id-pilot .rkb-api-examples {
      /* Leave room for the scenario tabs, card headers and gaps in the sticky column. */
      --model-list-code-height: calc(100dvh - var(--rkb-api-top) - 16rem);
      --model-list-request-height: clamp(14rem, calc(var(--model-list-code-height) * .45), 24rem);
      --model-list-response-height: min(22rem, calc(var(--model-list-code-height) - var(--model-list-request-height)));
    }

    .rkb-api.workspace-id-pilot .workspace-id-request
      :is([data-component-part="code-block-root"], .help-code-block pre) {
      max-height: var(--model-list-request-height) !important;
      overflow: auto;
    }
  }
}

.workspace-id-pilot .rkb-api-field li {
  font-size: 14px;
  line-height: 1.75;
}

.workspace-id-pilot .rkb-api-field [data-component-part="accordion-title"],
.icms-help-docs-content .workspace-id-pilot .rkb-api-field .collapse .expandable-title-bold .title p {
  font-size: 12px;
  font-weight: 500;
}

.workspace-id-pilot .workspace-id-request > .code-group > [data-component-part="code-group-tab-bar"] > :first-child > span {
  display: none;
}

.workspace-id-pilot .workspace-id-request > .code-group > [data-component-part="code-group-tab-bar"] > :first-child::before,
.workspace-id-pilot .workspace-id-example-labeled [data-component-part="code-block-header-filename"]::before,
.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response) .help-code-block .left-tools::before {
  content: var(--model-list-example-title);
}

.workspace-id-pilot .workspace-id-request > .code-group > [data-component-part="code-group-tab-bar"] > :first-child::before,
.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response) [data-component-part="code-block-header-filename"],
.workspace-id-pilot .workspace-id-example-labeled [data-component-part="code-block-header-filename"]::before,
.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response) .help-code-block .left-tools::before {
  color: var(--rkb-api-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.workspace-id-pilot .workspace-id-example-labeled [data-component-part="code-block-header-filename"] {
  font-size: 0;
}

.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response)
  :is([data-component-part="code-group-tab-bar"], [data-component-part="code-block-header"]) {
  align-items: center;
  min-height: 38px;
  padding-inline: 12px;
}

.workspace-id-pilot .workspace-id-request
  :is([data-component-part="code-group-tab-bar"], [data-component-part="code-block-header"], .code-tools) {
  position: relative;
  z-index: 1;
}

.workspace-id-pilot .workspace-id-request
  [data-component-part="code-group-tab-bar"] button[aria-haspopup="menu"] {
  padding-block: 0;
  border-radius: 6px;
}

.workspace-id-pilot .workspace-id-request
  [data-component-part="code-group-tab-bar"] button[aria-haspopup="menu"] > div {
  min-height: 30px;
  padding-block: 0;
  border-radius: 6px;
  color: var(--rkb-api-muted);
}

.workspace-id-pilot .workspace-id-request
  [data-component-part="code-group-tab-bar"] button[aria-haspopup="menu"] > div:hover {
  background: var(--api-host-canvas);
  color: var(--rkb-api-accent);
}

.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response)
  :is(button[data-testid="copy-code-button"], .help-code-block .copy-btn) {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--rkb-api-muted);
}

.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response)
  :is(button[data-testid="copy-code-button"], .help-code-block .copy-btn):hover {
  color: var(--rkb-api-accent);
}

.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response)
  button[data-testid="copy-code-button"] > svg {
  color: inherit;
}

.icms-help-docs-content .workspace-id-pilot .help-code-block .code-tools .copy-btn {
  color: var(--rkb-api-muted);
}

.icms-help-docs-content .workspace-id-pilot .help-code-block .code-tools .copy-btn:hover {
  color: var(--rkb-api-accent);
}

.workspace-id-pilot .help-code-block .copy-btn.help-icon-fuzhi:has(> .workspace-id-copy-glyph)::before,
.workspace-id-pilot .help-code-block .copy-btn:not(.help-icon-fuzhi) > .workspace-id-copy-glyph {
  display: none;
}

.workspace-id-pilot .workspace-id-request > .code-group {
  border-radius: 12px;
}

.workspace-id-pilot .workspace-id-request pre,
.workspace-id-pilot .workspace-id-request pre > code {
  min-inline-size: 0;
  max-inline-size: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response) .help-code-block {
  padding: 0 8px 8px;
  border: 1px solid var(--rkb-api-border);
  border-radius: 12px;
  background: var(--adoc-color-bg, #fff);
}

.workspace-id-pilot .workspace-id-request .tabbed-codeblock-box {
  border: 0;
}

.icms-help-docs-content .workspace-id-pilot .workspace-id-request .tabbed-codeblock-box.workspace-id-language-dropdown > .tab-box {
  display: none;
}

.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response) .help-code-block > .code-tools {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 0 12px;
  border-radius: 11px 11px 0 0;
  background: transparent;
  box-shadow: none;
}

.workspace-id-pilot :is(.workspace-id-request, .workspace-id-response) .help-code-block pre {
  margin: 0;
  border-radius: 8px;
  background: var(--rkb-api-surface);
}

.workspace-id-pilot .workspace-id-request .help-code-block .right-tools {
  display: flex;
  align-items: center;
  flex: none;
  gap: 6px;
}
