.stage-b-page {
  --sb-blue: #2457d6;
  --sb-red: #b53a32;
  --sb-yellow: #d99a10;
}

/* Skills home: learning hub, resource directory and creator path. */
[data-page="stage-b-skills"] #main {
  overflow: hidden;
  color: #111b35;
  background: #f8faff;
}

[data-page="stage-b-skills"] .sa-shell {
  width: min(calc(100% - 48px), 1240px);
}

[data-page="stage-b-skills"] .sa-button.primary {
  border-color: #315cf4;
  color: #fff;
  background: #315cf4;
  box-shadow: 0 8px 18px rgba(49, 92, 244, 0.18);
}

[data-page="stage-b-skills"] .sa-button.primary:hover {
  border-color: #244bd8;
  background: #244bd8;
}

.sb-skills-home-hero {
  padding: 50px 0 54px;
  border-bottom: 1px solid #e6eaf3;
  background: #fff;
}

.sb-skills-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(480px, 0.97fr);
  gap: 52px;
  align-items: center;
}

.sb-skills-hero-copy {
  min-width: 0;
}

.sb-skills-hero-copy .sa-kicker,
.sb-skills-tutorials .sa-kicker,
.sb-skills-directory .sa-kicker,
.sb-skill-creator-strip .sa-kicker,
.sb-skills-faq-section .sa-kicker,
.sb-skills-cta .sa-kicker {
  color: #315cf4;
}

.sb-skills-hero-copy h1 {
  max-width: 680px;
  margin: 11px 0 17px;
  color: #101a37;
  font-size: 46px;
  line-height: 1.13;
  letter-spacing: 0;
}

.sb-skills-hero-copy h1 em {
  color: #6346e8;
  font-style: normal;
}

.sb-skills-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: #56627b;
  font-size: 15px;
  line-height: 1.75;
}

.sb-skills-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sb-skills-benefits li {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 31px;
  padding: 5px 10px;
  border: 1px solid #dce2ef;
  border-radius: 6px;
  color: #34415c;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
}

.sb-skills-benefits svg {
  width: 14px;
  height: 14px;
  color: #315cf4;
}

.sb-skill-map {
  position: relative;
  display: grid;
  grid-template-rows: auto 28px auto 38px auto;
  min-width: 0;
  min-height: 356px;
  align-content: center;
  padding: 25px 24px;
  overflow: hidden;
  border: 1px solid #e0e4ef;
  border-radius: 8px;
  background: #f8f8fc;
  box-shadow: 0 17px 42px rgba(36, 50, 91, 0.07);
}

.sb-skill-map::before {
  position: absolute;
  inset: 9px;
  border: 1px solid #f0f1f7;
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.sb-skill-map-source,
.sb-skill-map-core {
  position: relative;
  z-index: 2;
  display: inline-grid;
  width: fit-content;
  min-height: 48px;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: center;
  justify-self: center;
  padding: 8px 13px;
  border: 1px solid #e2e5ef;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(38, 50, 91, 0.08);
}

.sb-skill-map-source svg {
  width: 24px;
  height: 24px;
  color: #7155ef;
}

.sb-skill-map-source strong {
  font-size: 12px;
}

.sb-skill-map-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #5574e8;
}

.sb-skill-map-arrow svg {
  width: 16px;
  height: 16px;
}

.sb-skill-map-core {
  min-width: 164px;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  padding: 12px 15px;
}

.sb-skill-map-core svg {
  width: 38px;
  height: 38px;
  grid-row: 1 / 3;
  color: #6b54f2;
  fill: #f1edff;
}

.sb-skill-map-core b {
  align-self: end;
  color: #315cf4;
  font-size: 18px;
}

.sb-skill-map-core small {
  align-self: start;
  color: #6d7890;
  font-size: 10px;
}

.sb-skill-map-branch {
  position: relative;
  z-index: 1;
  width: 82%;
  height: 38px;
  justify-self: center;
  border-top: 1px dashed #94a9eb;
  transform: translateY(21px);
}

.sb-skill-map-branch::before {
  position: absolute;
  top: -22px;
  left: 50%;
  height: 22px;
  border-left: 1px dashed #94a9eb;
  content: "";
}

.sb-skill-map-platforms {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.sb-skill-map-platforms > span {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 69px;
  place-items: center;
  gap: 6px;
  padding: 10px 5px;
  border: 1px solid #e4e7ef;
  border-radius: 6px;
  color: #28344d;
  background: #fff;
  box-shadow: 0 3px 9px rgba(30, 47, 87, 0.04);
}

.sb-skill-map-platforms > span::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 18px;
  border-left: 1px dashed #94a9eb;
  content: "";
}

.sb-skill-map-platforms svg {
  width: 23px;
  height: 23px;
  color: #11182a;
}

.sb-skill-map-platforms span:nth-child(1) svg,
.sb-skill-map-platforms span:nth-child(4) svg {
  color: #168a68;
}

.sb-skill-map-platforms span:nth-child(2) svg {
  color: #d36136;
}

.sb-skill-map-platforms span:nth-child(3) svg {
  color: #171717;
}

.sb-skill-map-platforms small {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-skills-tutorials {
  padding: 50px 0;
}

.sb-skills-tutorials .sb-mcp-tutorial-grid,
.sb-skills-directory .sb-mcp-compact-grid {
  grid-auto-flow: dense;
}

.sb-skill-tutorial-card:nth-child(1) .sb-mcp-tutorial-icon {
  color: #0b8a65;
  background: #eaf8f2;
}

.sb-skill-tutorial-card:nth-child(2) .sb-mcp-tutorial-icon {
  color: #6d4ee8;
  background: #f0edff;
}

.sb-skill-tutorial-card:nth-child(3) .sb-mcp-tutorial-icon {
  color: #315cf4;
  background: #edf2ff;
}

.sb-skill-tutorial-card:nth-child(4) .sb-mcp-tutorial-icon {
  color: #d46735;
  background: #fff1e9;
}

.sb-skill-tutorial-card:nth-child(5) .sb-mcp-tutorial-icon {
  color: #168a68;
  background: #eaf8f2;
}

.sb-skills-directory {
  padding: 52px 0 56px;
  background: #fff;
}

.sb-skills-category-panel {
  position: sticky;
  top: 84px;
}

.sb-skills-catalog-tools {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 134px;
  gap: 10px;
  align-items: center;
}

[data-page="stage-b-skills"] .sb-mcp-catalog-search {
  min-height: 42px;
  grid-template-columns: 18px minmax(0, 1fr) 62px;
  border-color: #d9dfeb;
}

[data-page="stage-b-skills"] .sb-mcp-catalog-search input {
  height: 40px;
  font-size: 12px;
}

[data-page="stage-b-skills"] .sb-mcp-catalog-search button {
  min-width: 62px;
  background: #315cf4;
  font-size: 12px;
}

.sb-skills-sort {
  position: relative;
  display: block;
}

.sb-skills-sort select {
  width: 100%;
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid #d9dfeb;
  border-radius: 6px;
  color: #44516a;
  background: #fff;
  font: inherit;
  font-size: 11px;
  appearance: none;
  cursor: pointer;
}

.sb-skills-sort svg {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 14px;
  height: 14px;
  color: #6c7890;
  pointer-events: none;
  transform: translateY(-50%);
}

.sb-skills-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 9px 0 0;
  color: #7a859b;
  font-size: 10px;
}

.sb-skills-popular button {
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  color: #68748a;
  background: #fff;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.sb-skills-popular button:hover,
.sb-skills-popular button:focus-visible {
  border-color: #9db0f5;
  color: #315cf4;
}

[data-page="stage-b-skills"] .sb-mcp-catalog-result {
  margin: 12px 0;
  font-size: 11px;
}

[data-page="stage-b-skills"] .sb-mcp-compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sb-skill-resource-card {
  min-height: 244px;
  padding: 14px;
  border-color: #dfe4ed;
  border-radius: 7px;
  color: #17223d;
  box-shadow: none;
}

.sb-skill-resource-card:hover {
  border-color: #9baded;
  box-shadow: 0 9px 20px rgba(31, 50, 95, 0.08);
  transform: translateY(-2px);
}

.sb-skill-resource-card .sb-skill-card-rank {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-color: #eceef4;
  color: #738097;
  font-size: 9px;
}

.sb-skill-resource-card .sb-skill-card-rank span:first-child {
  color: #315cf4;
}

.sb-skill-resource-card .sb-mcp-card-head {
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 9px;
}

.sb-skill-resource-card .sb-mcp-card-icon {
  width: 39px;
  height: 39px;
  border-color: #e1e5ed;
}

.sb-skill-resource-card .sb-mcp-card-head > a {
  min-width: 0;
  color: #17223d;
}

.sb-skill-resource-card .sb-mcp-card-head h2 {
  font-size: 13px;
  line-height: 1.35;
}

.sb-skill-resource-card .sb-mcp-card-head small {
  font-size: 9px;
}

.sb-skill-card-summary {
  display: -webkit-box;
  min-height: 55px;
  margin: 13px 0 11px;
  overflow: hidden;
  color: #5d687e;
  font-size: 10px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sb-skill-resource-card > .sb-mcp-card-tags {
  margin-top: auto;
}

.sb-skill-resource-card .sb-mcp-card-tags span {
  padding: 3px 6px;
  border-color: #e2e6ed;
  font-size: 8px;
}

.sb-skill-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #ebedf3;
}

.sb-skill-card-actions a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: #315cf4;
  font-size: 9px;
  font-weight: 850;
}

.sb-skill-card-actions a:last-child {
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid #9db0f5;
  border-radius: 5px;
  background: #fff;
}

[data-page="stage-b-skills"] .sa-load-more {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  border: 1px solid #9db0f5;
  border-radius: 5px;
  color: #315cf4;
  background: #fff;
  font-size: 11px;
}

.sb-skill-creator-strip {
  padding: 28px 0;
  border-bottom: 1px solid #e5e9f2;
  background: #f8faff;
}

.sb-skill-creator-strip .sa-shell {
  display: grid;
  max-width: 1240px;
  grid-template-columns: 260px minmax(0, 1fr) 172px;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid #dfe4ef;
  border-radius: 8px;
  background: #fff;
}

.sb-skill-creator-strip .sb-skill-creator-intro {
  max-width: none;
}

.sb-skill-creator-strip h2 {
  margin: 5px 0 6px;
  font-size: 20px;
}

.sb-skill-creator-strip p {
  color: #657087;
  font-size: 12px;
  line-height: 1.65;
}

.sb-skill-creator-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-skill-creator-benefits li {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
  padding: 2px 16px;
  border-left: 1px solid #e5e9f2;
}

.sb-skill-creator-benefit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 8px;
  color: #315cf4;
  background: #eef2ff;
}

.sb-skill-creator-benefits li:nth-child(2) .sb-skill-creator-benefit-icon {
  color: #087f5b;
  background: #e9f8f1;
}

.sb-skill-creator-benefits li:nth-child(3) .sb-skill-creator-benefit-icon {
  color: #b45309;
  background: #fff4e5;
}

.sb-skill-creator-benefit-icon svg {
  width: 17px;
  height: 17px;
}

.sb-skill-creator-benefits strong,
.sb-skill-creator-benefits small {
  display: block;
}

.sb-skill-creator-benefits strong {
  color: #28344d;
  font-size: 12px;
}

.sb-skill-creator-benefits small {
  margin-top: 3px;
  color: #79849a;
  font-size: 10px;
  line-height: 1.45;
}

.sb-skill-creator-strip .sa-button {
  min-width: 0;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.sb-skills-faq-section {
  padding: 48px 0;
}

.sb-skills-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sb-skills-cta {
  border-top: 1px solid #dde3f3;
  background: #eef2ff;
}

@media (max-width: 1100px) {
  .sb-skills-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.88fr);
    gap: 32px;
  }

  .sb-skills-tutorials .sb-mcp-tutorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  [data-page="stage-b-skills"] .sb-mcp-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-skill-creator-strip .sa-shell {
    grid-template-columns: 230px minmax(0, 1fr) 172px;
  }

  .sb-skills-cta .sa-shell {
    grid-template-columns: minmax(240px, 1fr) minmax(390px, 1fr);
  }

  .sb-skills-cta .sa-button {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .sb-skills-hero-grid {
    grid-template-columns: 1fr;
  }

  .sb-skill-map {
    min-height: 340px;
  }

  .sb-skills-category-panel {
    position: static;
  }

  .sb-skills-directory-layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  [data-page="stage-b-skills"] .sb-mcp-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-skills-catalog-tools {
    grid-template-columns: 1fr;
  }

  .sb-skill-creator-strip .sa-shell {
    grid-template-columns: 1fr;
  }

  .sb-skill-creator-strip .sa-button {
    grid-column: auto;
    justify-self: start;
  }

  .sb-skill-creator-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-skills-cta .sa-shell {
    grid-template-columns: 1fr;
  }

  .sb-skills-cta .sa-button {
    grid-column: auto;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  [data-page="stage-b-skills"] .sa-shell {
    width: min(calc(100% - 32px), 1240px);
  }

  .sb-skills-home-hero {
    padding: 34px 0 38px;
  }

  .sb-skills-hero-copy h1 {
    font-size: 34px;
  }

  .sb-skills-hero-copy > p {
    font-size: 14px;
  }

  .sb-skills-hero-copy .sb-mcp-hero-actions {
    display: grid;
  }

  .sb-skills-hero-copy .sa-button {
    width: 100%;
    justify-content: center;
  }

  .sb-skill-map {
    min-height: 430px;
    padding: 22px 16px;
  }

  .sb-skill-map-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-skill-map-platforms > span:last-child {
    grid-column: 1 / -1;
  }

  .sb-skill-map-branch {
    display: none;
  }

  .sb-skill-map-platforms > span::before {
    display: none;
  }

  .sb-skills-tutorials,
  .sb-skills-directory,
  .sb-skills-faq-section {
    padding: 40px 0;
  }

  .sb-skills-tutorials .sb-mcp-home-section-head,
  .sb-skills-directory .sb-mcp-home-section-head {
    display: grid;
    gap: 12px;
  }

  .sb-skills-tutorials .sb-mcp-tutorial-grid,
  [data-page="stage-b-skills"] .sb-mcp-compact-grid,
  .sb-skills-faq-grid {
    grid-template-columns: 1fr;
  }

  .sb-skills-directory-layout {
    grid-template-columns: 1fr;
  }

  .sb-skills-category-panel {
    position: static;
  }

  .sb-skills-category-panel .sb-mcp-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-skill-resource-card {
    min-height: 230px;
  }

  .sb-skill-creator-strip {
    padding: 24px 0;
  }

  .sb-skill-creator-strip .sa-shell {
    padding: 19px 17px;
  }

  .sb-skill-creator-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sb-skill-creator-benefits li {
    padding: 0;
    border-left: 0;
  }

  .sb-skill-creator-benefit-icon svg {
    display: block;
  }

  .sb-skill-creator-strip .sa-button {
    width: 100%;
  }

  .sb-skills-cta .sb-mcp-cta-points {
    grid-template-columns: 1fr;
  }

  .sb-skills-cta .sa-button {
    width: 100%;
    justify-content: center;
  }
}

/* MCP home: reference-led learning hub and resource directory. */
[data-page="stage-b-mcp"] #main {
  overflow: hidden;
  color: #111b35;
  background: #f8faff;
}

[data-page="stage-b-mcp"] .sa-shell {
  width: min(calc(100% - 48px), 1240px);
}

.sb-mcp-home-hero {
  padding: 54px 0 58px;
  border-bottom: 1px solid #e7ebf5;
  background: #f8faff;
}

.sb-mcp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.sb-mcp-hero-copy {
  min-width: 0;
}

.sb-mcp-hero-copy .sa-kicker,
.sb-mcp-home-section-head .sa-kicker,
.sb-mcp-definition-panel .sa-kicker,
.sb-mcp-quick-panel .sa-kicker,
.sb-mcp-cta .sa-kicker {
  color: #315cf4;
}

.sb-mcp-hero-copy h1 {
  max-width: 650px;
  margin: 12px 0 20px;
  color: #101a37;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.sb-mcp-hero-copy h1 em {
  color: #315cf4;
  font-style: normal;
}

.sb-mcp-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: #4e5c78;
  font-size: 16px;
  line-height: 1.8;
}

.sb-mcp-hero-copy > p strong {
  color: #1b2947;
}

.sb-mcp-client-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.sb-mcp-client-pills li {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid #dce2ef;
  border-radius: 6px;
  color: #33415d;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.sb-mcp-client-pills svg {
  width: 14px;
  height: 14px;
  color: #315cf4;
}

.sb-mcp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

[data-page="stage-b-mcp"] .sa-button.primary {
  border-color: #315cf4;
  color: #fff;
  background: #315cf4;
  box-shadow: 0 8px 18px rgba(49, 92, 244, 0.18);
}

[data-page="stage-b-mcp"] .sa-button.primary:hover {
  border-color: #244bd8;
  background: #244bd8;
}

.sb-mcp-map {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 42px auto 42px auto;
  min-width: 0;
  min-height: 394px;
  padding: 24px 26px 26px;
  overflow: hidden;
  border: 1px solid #dfe5f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(38, 61, 119, 0.08);
}

.sb-mcp-map::before {
  position: absolute;
  inset: 0;
  border: 8px solid #f3f6fd;
  content: "";
  pointer-events: none;
}

.sb-mcp-map-label {
  position: relative;
  z-index: 1;
  margin-bottom: 11px;
  color: #315cf4;
  font-size: 12px;
  text-align: center;
}

.sb-mcp-map-clients,
.sb-mcp-map-services {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.sb-mcp-map-clients {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sb-mcp-map-clients > span,
.sb-mcp-map-node {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 7px;
  padding: 12px 5px;
  border: 1px solid #e5e9f3;
  border-radius: 6px;
  color: #1d2942;
  background: #fff;
  box-shadow: 0 3px 9px rgba(30, 47, 87, 0.045);
}

.sb-mcp-map-clients svg {
  width: 21px;
  height: 21px;
  color: #11182a;
}

.sb-mcp-map small {
  overflow: hidden;
  max-width: 100%;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-mcp-map-connector {
  position: relative;
  z-index: 1;
  width: 70%;
  height: 42px;
  justify-self: center;
  border-right: 1px solid #9eb1ff;
  border-bottom: 1px solid #9eb1ff;
  border-left: 1px solid #9eb1ff;
  border-radius: 0 0 8px 8px;
}

.sb-mcp-map-connector::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid #5574ef;
  border-bottom: 1px solid #5574ef;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.sb-mcp-map-connector.bottom {
  border-top: 1px solid #9eb1ff;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.sb-mcp-map-connector.bottom::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 18px;
  border-right: 1px solid #9eb1ff;
  border-left: 1px solid #9eb1ff;
  content: "";
}

.sb-mcp-map-connector.bottom::after {
  bottom: auto;
  top: 12px;
}

.sb-mcp-map-server {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: center;
  min-height: 52px;
  padding: 7px 20px;
  border: 1px solid #315cf4;
  border-radius: 7px;
  color: #fff;
  background: #315cf4;
  box-shadow: 0 8px 18px rgba(49, 92, 244, 0.2);
  font-size: 15px;
}

.sb-mcp-map-server img {
  width: 28px;
  height: 28px;
  padding: 3px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
}

.sb-mcp-map-services {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sb-mcp-map-node {
  min-height: 75px;
  padding: 8px 3px;
}

.sb-mcp-map-node img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.sb-mcp-map-node > svg {
  width: 25px;
  height: 25px;
  color: #315cf4;
}

.sb-mcp-explain,
.sb-mcp-tutorials,
.sb-mcp-task-recommendations,
.sb-mcp-directory,
.sb-mcp-faq-section {
  padding: 58px 0;
  border-bottom: 1px solid #e5e9f2;
}

.sb-mcp-task-recommendations {
  background: #f7faf8;
}

.sb-mcp-task-recommendations .sb-mcp-task-card {
  position: relative;
  min-height: 194px;
  padding-right: 40px;
}

.sb-mcp-task-recommendations .sb-mcp-task-card small {
  display: block;
}

.sb-mcp-task-recommendations .sb-mcp-task-card small b {
  color: var(--sa-ink);
}

.sb-mcp-task-recommendations .sb-mcp-task-card > svg {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 17px;
  height: 17px;
  color: var(--sa-green);
}

.sb-mcp-explain {
  background: #fff;
}

.sb-mcp-explain-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 18px;
}

.sb-mcp-definition-panel,
.sb-mcp-quick-panel {
  min-width: 0;
  min-height: 286px;
  border: 1px solid #e0e5ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(32, 49, 87, 0.055);
}

.sb-mcp-definition-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 26px;
  align-items: center;
  padding: 28px 30px;
}

.sb-mcp-definition-panel h2,
.sb-mcp-quick-panel h2 {
  margin: 7px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.sb-mcp-definition-panel p,
.sb-mcp-quick-panel .sb-mcp-panel-head p {
  margin: 0;
  color: #5b667d;
  font-size: 13px;
  line-height: 1.75;
}

.sb-mcp-definition-panel ul {
  display: grid;
  gap: 8px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.sb-mcp-definition-panel li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #33405a;
  font-size: 13px;
}

.sb-mcp-definition-panel li svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #315cf4;
}

.sb-mcp-definition-panel > img {
  width: 120px;
  height: 120px;
  padding: 13px;
  border: 1px solid #e5e9f6;
  border-radius: 8px;
  background: #f5f7ff;
  object-fit: contain;
}

.sb-mcp-quick-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px 30px 24px;
}

.sb-mcp-quick-panel ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 16px;
  padding: 0;
  list-style: none;
}

.sb-mcp-quick-panel ol::before {
  position: absolute;
  top: 19px;
  right: 14%;
  left: 14%;
  border-top: 1px dashed #b5c2ef;
  content: "";
}

.sb-mcp-quick-panel li {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.sb-mcp-quick-panel li > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0 auto 11px;
  place-items: center;
  border: 1px solid #dce3ff;
  border-radius: 50%;
  color: #315cf4;
  background: #f5f7ff;
}

.sb-mcp-quick-panel li svg {
  width: 17px;
  height: 17px;
}

.sb-mcp-quick-panel li strong {
  display: block;
  color: #315cf4;
  font-size: 13px;
}

.sb-mcp-quick-panel li p {
  margin: 6px 0 0;
  color: #68738a;
  font-size: 11px;
  line-height: 1.55;
}

.sb-mcp-quick-panel > a,
.sb-mcp-home-section-head > a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
  color: #315cf4;
  font-size: 12px;
  font-weight: 800;
}

.sb-mcp-quick-panel > a svg,
.sb-mcp-home-section-head > a svg {
  width: 14px;
  height: 14px;
}

.sb-mcp-tutorials {
  background: #f8faff;
}

.sb-mcp-home-section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}

.sb-mcp-home-section-head h2 {
  margin: 6px 0 4px;
  color: #111b35;
  font-size: 28px;
  line-height: 1.3;
}

.sb-mcp-home-section-head p {
  margin: 0;
  color: #67738b;
  font-size: 13px;
}

.sb-mcp-tutorial-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.sb-mcp-tutorial-card {
  display: flex;
  min-width: 0;
  min-height: 238px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #dce2ef;
  border-radius: 7px;
  color: #17223d;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sb-mcp-tutorial-card:nth-child(2) {
  border-color: #cee8dc;
  background: #f8fcfa;
}

.sb-mcp-tutorial-card:nth-child(3) {
  border-color: #dfd8ef;
  background: #fbf9fe;
}

.sb-mcp-tutorial-card:nth-child(4) {
  border-color: #eadfcf;
  background: #fdfaf6;
}

.sb-mcp-tutorial-card:hover {
  border-color: #8fa5f5;
  box-shadow: 0 12px 24px rgba(35, 56, 107, 0.09);
  transform: translateY(-3px);
}

.sb-mcp-tutorial-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 6px;
  color: #315cf4;
  background: #eef2ff;
}

.sb-mcp-tutorial-icon svg {
  width: 18px;
  height: 18px;
}

.sb-mcp-tutorial-card > small {
  margin-top: 13px;
  color: #65708a;
  font-size: 10px;
  font-weight: 800;
}

.sb-mcp-tutorial-card h3 {
  margin: 6px 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.sb-mcp-tutorial-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #65708a;
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sb-mcp-tutorial-card > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #ebedf3;
  color: #738097;
  font-size: 10px;
}

.sb-mcp-tutorial-card > div strong {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  color: #315cf4;
}

.sb-mcp-tutorial-card > div svg {
  width: 12px;
  height: 12px;
}

.sb-mcp-directory {
  background: #fff;
}

.sb-mcp-directory-layout {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sb-mcp-category-panel {
  overflow: hidden;
  border: 1px solid #dfe4ee;
  border-radius: 7px;
  background: #fff;
}

.sb-mcp-category-panel > strong {
  display: block;
  padding: 14px 14px 10px;
  color: #65718a;
  font-size: 11px;
}

.sb-mcp-category-list {
  display: grid;
  padding-bottom: 7px;
}

.sb-mcp-category-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-height: 37px;
  padding: 7px 13px;
  border: 0;
  color: #44516a;
  background: transparent;
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.sb-mcp-category-list button:hover {
  background: #f5f7fc;
}

.sb-mcp-category-list button[aria-pressed="true"] {
  color: #315cf4;
  background: #eef2ff;
  font-weight: 850;
}

.sb-mcp-category-list small {
  min-width: 25px;
  color: #7b879d;
  font-size: 10px;
  text-align: right;
}

.sb-mcp-category-list button[aria-pressed="true"] small {
  color: #315cf4;
}

.sb-mcp-catalog-main {
  min-width: 0;
}

.sb-mcp-catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

[data-page="stage-b-mcp"] .sb-mcp-catalog-search {
  min-height: 42px;
  grid-template-columns: 18px minmax(0, 1fr) 62px;
  border-color: #d9dfeb;
}

[data-page="stage-b-mcp"] .sb-mcp-catalog-search input {
  height: 40px;
  font-size: 12px;
}

[data-page="stage-b-mcp"] .sb-mcp-catalog-search button {
  min-width: 62px;
  background: #315cf4;
  font-size: 12px;
}

[data-page="stage-b-mcp"] .sb-mcp-catalog-result {
  margin: 0 0 12px;
  font-size: 11px;
}

[data-page="stage-b-mcp"] .sb-mcp-compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

[data-page="stage-b-mcp"] .sb-mcp-compact-card {
  min-height: 263px;
  padding: 15px;
  border-color: #dfe4ed;
  border-radius: 7px;
  box-shadow: none;
}

[data-page="stage-b-mcp"] .sb-mcp-compact-card:hover {
  border-color: #9baded;
  box-shadow: 0 9px 20px rgba(31, 50, 95, 0.08);
}

[data-page="stage-b-mcp"] .sb-mcp-card-head {
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 9px;
}

[data-page="stage-b-mcp"] .sb-mcp-card-icon {
  width: 39px;
  height: 39px;
  border-color: #e1e5ed;
}

[data-page="stage-b-mcp"] .sb-mcp-card-icon img {
  padding: 5px;
}

[data-page="stage-b-mcp"] .sb-mcp-card-head h2 {
  font-size: 13px;
  line-height: 1.35;
}

[data-page="stage-b-mcp"] .sb-mcp-card-head small {
  font-size: 9px;
}

[data-page="stage-b-mcp"] .sb-mcp-card-definition {
  margin-top: 13px;
  padding-top: 11px;
}

[data-page="stage-b-mcp"] .sb-mcp-card-definition > strong,
[data-page="stage-b-mcp"] .sb-mcp-card-task > strong {
  margin-bottom: 4px;
  color: #315cf4;
  font-size: 9px;
}

[data-page="stage-b-mcp"] .sb-mcp-card-definition p {
  min-height: 54px;
  color: #526079;
  font-size: 11px;
  line-height: 1.62;
}

[data-page="stage-b-mcp"] .sb-mcp-card-task {
  margin-top: 9px;
  padding: 8px 9px;
  border-left: 2px solid #55a67d;
  background: #f3faf6;
}

[data-page="stage-b-mcp"] .sb-mcp-card-task span {
  min-height: 32px;
  color: #425e51;
  font-size: 10px;
  line-height: 1.55;
}

[data-page="stage-b-mcp"] .sb-mcp-card-foot {
  padding-top: 10px;
}

[data-page="stage-b-mcp"] .sb-mcp-card-tags span {
  padding: 3px 5px;
  border-color: #e2e6ed;
  font-size: 8px;
}

.sb-mcp-card-link {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  flex: 0 0 auto;
  color: #315cf4;
  font-size: 9px;
  font-weight: 850;
}

.sb-mcp-card-link svg {
  width: 11px;
  height: 11px;
}

.sb-mcp-pagination,
.sb-mcp-pagination > div {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.sb-mcp-pagination {
  margin-top: 18px;
}

.sb-mcp-pagination[hidden] {
  display: none;
}

.sb-mcp-pagination button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #d8deeb;
  border-radius: 5px;
  color: #516078;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.sb-mcp-pagination button:hover:not(:disabled),
.sb-mcp-pagination button[aria-current="page"] {
  border-color: #315cf4;
  color: #fff;
  background: #315cf4;
}

.sb-mcp-pagination button:focus-visible {
  outline: 3px solid rgba(49, 92, 244, 0.2);
  outline-offset: 2px;
}

.sb-mcp-pagination button:disabled {
  color: #b4bdcd;
  background: #f5f7fa;
  cursor: not-allowed;
}

.sb-mcp-pagination button svg {
  width: 15px;
  height: 15px;
}

.sb-mcp-pagination > div > span {
  display: grid;
  width: 22px;
  height: 32px;
  place-items: center;
  color: #7a869b;
  font-size: 11px;
}

.sb-mcp-faq-section {
  background: #f8faff;
}

.sb-mcp-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 16px;
}

.sb-mcp-faq-grid details {
  border: 1px solid #dfe4ef;
  border-radius: 5px;
  background: #fff;
}

.sb-mcp-faq-grid summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15px;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  padding: 10px 13px;
  color: #24314b;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.sb-mcp-faq-grid summary::-webkit-details-marker {
  display: none;
}

.sb-mcp-faq-grid summary svg {
  width: 14px;
  height: 14px;
  color: #315cf4;
  transition: transform 150ms ease;
}

.sb-mcp-faq-grid details[open] summary svg {
  transform: rotate(45deg);
}

.sb-mcp-faq-grid details p {
  margin: 0;
  padding: 0 13px 13px;
  color: #647087;
  font-size: 11px;
  line-height: 1.7;
}

.sb-mcp-cta {
  padding: 34px 0;
  background: #eef2ff;
}

.sb-mcp-cta .sa-shell {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(440px, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.sb-mcp-cta h2 {
  margin: 6px 0 5px;
  color: #111b35;
  font-size: 22px;
  line-height: 1.35;
}

.sb-mcp-cta p {
  margin: 0;
  color: #60708b;
  font-size: 11px;
  line-height: 1.6;
}

.sb-mcp-cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sb-mcp-cta-points span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
}

.sb-mcp-cta-points svg {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  color: #315cf4;
  background: #fff;
}

.sb-mcp-cta-points b {
  color: #293651;
  font-size: 10px;
}

.sb-mcp-cta-points small {
  color: #6f7a90;
  font-size: 8px;
}

@media (max-width: 1120px) {
  .sb-mcp-hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    gap: 34px;
  }

  .sb-mcp-hero-copy h1 {
    font-size: 38px;
  }

  .sb-mcp-tutorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-mcp-tutorial-card:nth-child(n + 4) {
    min-height: 210px;
  }

  [data-page="stage-b-mcp"] .sb-mcp-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-mcp-catalog-tools {
    grid-template-columns: 1fr;
  }

  .sb-mcp-cta .sa-shell {
    grid-template-columns: 1fr auto;
  }

  .sb-mcp-cta-points {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .sb-mcp-home-hero {
    padding-top: 42px;
  }

  .sb-mcp-hero-grid,
  .sb-mcp-explain-grid {
    grid-template-columns: 1fr;
  }

  .sb-mcp-hero-copy h1 {
    max-width: 700px;
    font-size: 48px;
  }

  .sb-mcp-map {
    width: min(100%, 650px);
    justify-self: center;
  }

  .sb-mcp-directory-layout {
    grid-template-columns: 1fr;
  }

  .sb-mcp-category-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 7px 7px;
  }

  .sb-mcp-category-list button {
    border-radius: 4px;
  }

  [data-page="stage-b-mcp"] .sb-mcp-compact-grid,
  .sb-mcp-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  [data-page="stage-b-mcp"] .sa-shell {
    width: min(calc(100% - 30px), 1240px);
  }

  .sb-mcp-home-hero,
  .sb-mcp-explain,
  .sb-mcp-tutorials,
  .sb-mcp-directory,
  .sb-mcp-faq-section {
    padding: 38px 0;
  }

  .sb-mcp-hero-copy h1 {
    margin-top: 9px;
    font-size: 31px;
    line-height: 1.17;
  }

  .sb-mcp-hero-copy > p {
    font-size: 14px;
  }

  .sb-mcp-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sb-mcp-hero-actions .sa-button {
    justify-content: center;
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 11px;
  }

  .sb-mcp-map {
    min-height: 345px;
    grid-template-rows: auto auto 34px auto 34px auto;
    padding: 20px 14px;
  }

  .sb-mcp-map-clients,
  .sb-mcp-map-services {
    gap: 5px;
  }

  .sb-mcp-map-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-mcp-map-services .sb-mcp-map-node:nth-child(n + 4) {
    display: none;
  }

  .sb-mcp-map-clients > span {
    padding: 9px 2px;
  }

  .sb-mcp-map-clients small {
    font-size: 8px;
  }

  .sb-mcp-map-connector {
    height: 34px;
  }

  .sb-mcp-definition-panel {
    grid-template-columns: 1fr 76px;
    gap: 13px;
    padding: 22px 19px;
  }

  .sb-mcp-definition-panel > img {
    width: 72px;
    height: 72px;
    padding: 8px;
  }

  .sb-mcp-definition-panel h2,
  .sb-mcp-quick-panel h2 {
    font-size: 21px;
  }

  .sb-mcp-definition-panel p {
    grid-column: 1 / -1;
  }

  .sb-mcp-definition-panel li {
    align-items: flex-start;
    font-size: 12px;
  }

  .sb-mcp-quick-panel {
    padding: 22px 19px;
  }

  .sb-mcp-quick-panel ol {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sb-mcp-quick-panel ol::before {
    display: none;
  }

  .sb-mcp-quick-panel li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    text-align: left;
  }

  .sb-mcp-quick-panel li > span {
    width: 38px;
    height: 38px;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .sb-mcp-quick-panel li p {
    margin-top: 2px;
  }

  .sb-mcp-home-section-head {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .sb-mcp-home-section-head h2 {
    font-size: 24px;
  }

  .sb-mcp-tutorial-grid,
  [data-page="stage-b-mcp"] .sb-mcp-compact-grid,
  .sb-mcp-faq-grid {
    grid-template-columns: 1fr;
  }

  .sb-mcp-tutorial-card,
  .sb-mcp-tutorial-card:nth-child(n + 4) {
    min-height: 210px;
  }

  .sb-mcp-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-catalog-tools {
    gap: 10px;
  }

  .sb-mcp-client-filter {
    flex-wrap: wrap;
  }

  [data-page="stage-b-mcp"] .sb-mcp-catalog-result {
    display: grid;
  }

  [data-page="stage-b-mcp"] .sb-mcp-compact-card {
    min-height: 250px;
  }

  .sb-mcp-cta .sa-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sb-mcp-cta-points {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sb-mcp-cta .sa-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-page="stage-b-mcp"] *,
  [data-page="stage-b-mcp"] *::before,
  [data-page="stage-b-mcp"] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Knowledge detail pages: article first, compact outline and WeChat card second. */
.kb-detail-page .kb-docs-shell {
  grid-template-columns: minmax(0, 1fr) 246px;
  gap: 32px;
  width: min(calc(100% - 48px), 1240px);
  border-bottom: 0;
}

.kb-detail-page .kb-document {
  padding: 28px 0 72px;
  border-right: 0;
}

.kb-detail-aside {
  position: sticky;
  top: 92px;
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: calc(100vh - 108px);
}

.kb-detail-aside > section {
  padding: 12px;
  border: 1px solid var(--sa-line);
  border-radius: 6px;
  background: #fff;
}

.kb-detail-aside > .kb-outline {
  position: static;
  display: grid;
  max-height: none;
  padding: 12px;
  overflow: visible;
}

.kb-detail-aside > .kb-outline strong {
  margin-bottom: 6px;
}

.kb-detail-aside > .kb-outline a {
  padding: 5px 7px;
}

.kb-detail-aside > .sb-wechat-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

@media (max-width: 900px) {
  .kb-detail-page .kb-docs-shell {
    width: min(calc(100% - 40px), 900px);
  }

  .kb-detail-page .kb-document {
    padding: 22px 0 48px;
  }

  .kb-detail-aside {
    position: static;
    justify-self: center;
    width: min(100%, 360px);
    max-height: none;
    margin: 0 auto 48px;
  }

  .kb-detail-aside > .kb-outline {
    display: none;
  }

  .kb-detail-aside .sb-wechat-qr {
    width: 190px;
  }
}

@media (max-width: 680px) {
  .kb-detail-page .kb-docs-shell {
    width: min(calc(100% - 32px), 900px);
  }

  .kb-detail-page .kb-document {
    padding: 18px 0 40px;
  }
}

/* Knowledge base v2: documentation shell */
.kb-docs-page {
  background: #fff;
}

.kb-docs-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr) 226px;
  align-items: start;
  width: min(100%, 1600px);
  min-height: calc(100vh - 77px);
  margin: 0 auto;
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.kb-sidebar {
  position: sticky;
  top: 77px;
  display: flex;
  flex-direction: column;
  align-self: start;
  height: calc(100vh - 77px);
  padding: 18px 16px 16px;
  overflow: hidden;
  border-right: 1px solid var(--sa-line);
  background: #fbfcfc;
}

.kb-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #d8e0dc;
  border-radius: 6px;
  background: #fff;
}

.kb-search svg {
  width: 17px;
  color: #738078;
}

.kb-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--sa-ink);
  background: transparent;
  font-size: 13px;
}

.kb-search kbd {
  padding: 2px 6px;
  border: 1px solid #e0e5e2;
  border-radius: 4px;
  color: #78827d;
  background: #f7f9f8;
  font: 11px/1.5 inherit;
  white-space: nowrap;
}

.kb-tree {
  flex: 1;
  min-height: 0;
  margin-top: 15px;
  padding-right: 3px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.kb-home-link {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 8px;
  padding: 9px 10px;
  border-left: 2px solid var(--sa-green);
  color: #087454;
  background: #eaf6f1;
  font-size: 13px;
  font-weight: 800;
}

.kb-home-link svg {
  width: 16px;
}

.kb-tree-group {
  border-bottom: 1px solid #edf1ef;
}

.kb-tree-group summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px 8px;
  color: #26332e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  list-style: none;
}

.kb-tree-group summary::-webkit-details-marker {
  display: none;
}

.kb-tree-group summary::before {
  content: "›";
  grid-column: 1;
  grid-row: 1;
  width: 14px;
  transform: rotate(0);
  color: #748078;
  font-size: 17px;
  transition: transform .18s ease;
}

.kb-tree-group summary span {
  grid-column: 1;
  grid-row: 1;
  padding-left: 18px;
}

.kb-tree-group summary small {
  grid-column: 2;
  color: #98a19c;
  font-size: 11px;
  font-weight: 600;
}

.kb-tree-group[open] summary::before {
  transform: rotate(90deg);
}

.kb-tree-group > div {
  display: grid;
  padding: 0 0 9px 27px;
  border-left: 1px solid #dfe6e2;
}

.kb-tree-group > div a {
  padding: 6px 8px;
  color: #58645e;
  font-size: 12px;
  line-height: 1.35;
}

.kb-tree-group > div a:hover {
  color: var(--sa-green);
  background: #f0f7f4;
}

.kb-tree-group > div a[aria-current="page"] {
  color: #087454;
  background: #eaf6f1;
  font-weight: 800;
}

.kb-sidebar-foot {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid var(--sa-line);
}

.kb-sidebar-foot a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 7px 8px;
  color: #56615c;
  font-size: 12px;
}

.kb-sidebar-foot svg {
  width: 15px;
}

.kb-document {
  min-width: 0;
  padding: 28px 40px 62px;
  border-right: 1px solid var(--sa-line);
}

.kb-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #79857f;
  font-size: 12px;
}

.kb-breadcrumb a {
  color: #4f5b55;
}

.kb-document-head {
  scroll-margin-top: 88px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sa-line);
}

.kb-document-head h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.kb-document-head p {
  max-width: 820px;
  margin: 14px 0 12px;
  color: #4f5d56;
  font-size: 16px;
  line-height: 1.8;
}

.kb-document-head small {
  color: #89938e;
  font-size: 12px;
}

.kb-start-callout {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid #b9ddcd;
  border-radius: 6px;
  background: #f0faf5;
}

.kb-start-callout > svg {
  width: 24px;
  color: var(--sa-green);
}

.kb-start-callout strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.kb-start-callout p {
  margin: 0;
  color: #5f6b65;
  font-size: 12px;
}

.kb-start-callout > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 12px;
}

.kb-start-callout a,
.kb-table-wrap a {
  color: #146fe8;
  font-weight: 700;
}

.kb-doc-section {
  padding-top: 28px;
  scroll-margin-top: 88px;
}

.kb-doc-section h2 {
  margin: 0 0 8px;
  font-size: 27px;
}

.kb-doc-section > p {
  margin: 0 0 24px;
  color: #657069;
  line-height: 1.75;
}

.kb-doc-section h3 {
  margin: 26px 0 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sa-line);
  font-size: 20px;
  scroll-margin-top: 88px;
}

.kb-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe2de;
}

.kb-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.kb-table-wrap th,
.kb-table-wrap td {
  padding: 11px 13px;
  border-right: 1px solid #e1e7e3;
  border-bottom: 1px solid #e1e7e3;
  text-align: left;
  vertical-align: top;
}

.kb-table-wrap th {
  color: #334139;
  background: #f7f9f8;
  font-weight: 800;
}

.kb-table-wrap tr:last-child td {
  border-bottom: 0;
}

.kb-table-wrap th:last-child,
.kb-table-wrap td:last-child {
  border-right: 0;
}

.kb-topic-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
}

.kb-topic-group {
  scroll-margin-top: 88px;
  border-top: 2px solid #17231e;
}

.kb-topic-group > header {
  padding: 13px 0 10px;
}

.kb-topic-group > header span {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 850;
}

.kb-topic-group > header p {
  margin: 0;
  color: #78827d;
  font-size: 12px;
  line-height: 1.5;
}

.kb-topic-group > div {
  display: grid;
}

.kb-topic-group > div > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 2px 10px;
  padding: 10px 0;
  border-top: 1px solid #e4e9e6;
}

.kb-topic-group > div > a strong {
  color: #1e2a24;
  font-size: 13px;
}

.kb-topic-group > div > a small {
  grid-column: 1;
  overflow: hidden;
  color: #77827c;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-topic-group > div > a svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 14px;
  color: #98a39d;
}

.kb-topic-group > div > a:hover strong,
.kb-topic-group > div > a:hover svg {
  color: var(--sa-green);
}

.kb-troubleshooting {
  border: 1px solid #dce3df;
}

.kb-troubleshooting a {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: center;
  padding: 11px 13px;
  border-bottom: 1px solid #e1e7e3;
}

.kb-troubleshooting a:last-child {
  border-bottom: 0;
}

.kb-troubleshooting strong {
  font-size: 13px;
}

.kb-troubleshooting span {
  color: #76817b;
  font-size: 12px;
}

.kb-troubleshooting svg {
  width: 15px;
}

.kb-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border: 1px solid #dce3df;
  border-radius: 5px;
}

.kb-prev-next a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 10px 14px;
}

.kb-prev-next a + a {
  justify-content: flex-end;
  text-align: right;
  border-left: 1px solid #dce3df;
}

.kb-prev-next small {
  display: block;
  margin-bottom: 2px;
  color: #89938e;
  font-size: 10px;
}

.kb-prev-next svg {
  width: 16px;
}

.kb-outline {
  position: sticky;
  top: 77px;
  display: grid;
  align-content: start;
  gap: 2px;
  max-height: calc(100vh - 77px);
  padding: 26px 20px;
  overflow-y: auto;
}

.kb-outline strong {
  margin: 0 0 8px;
  font-size: 13px;
}

.kb-outline a {
  padding: 7px 9px;
  border-left: 2px solid transparent;
  color: #657069;
  font-size: 12px;
  line-height: 1.35;
}

.kb-outline a:hover,
.kb-outline a.active {
  border-left-color: var(--sa-green);
  color: var(--sa-green);
  background: #f0f8f4;
}

.kb-outline hr {
  width: 100%;
  margin: 18px 0;
  border: 0;
  border-top: 1px solid var(--sa-line);
}

.kb-mobile-directory {
  display: none;
}

/* Knowledge detail pages share the same documentation frame as the index. */
.kb-detail-page .kb-document {
  padding-bottom: 72px;
}

.kb-detail-head .sa-kicker {
  display: inline-block;
  margin-bottom: 12px;
}

.kb-detail-head h1 {
  max-width: 920px;
  font-size: 42px;
  line-height: 1.15;
}

.kb-detail-head > p {
  max-width: 900px;
}

.kb-detail-page .sb-knowledge-detail-meta {
  margin-top: 16px;
}

.kb-detail-page .sb-knowledge-article {
  max-width: 900px;
}

.kb-detail-page .sb-knowledge-article > section {
  padding: 38px 0;
}

.kb-detail-page .sb-knowledge-article > section:first-child {
  margin-top: 30px;
}

.kb-detail-page .sb-answer-block h2 {
  margin-top: 5px;
  font-size: 25px;
}

.kb-detail-page .sb-answer-block p:last-child {
  margin-bottom: 0;
}

.kb-detail-page .sb-source-disclosure {
  margin-top: 16px;
}

.kb-detail-page .kb-prev-next {
  max-width: 900px;
}

.kb-detail-page .kb-outline a[aria-current="true"] {
  border-left-color: var(--sa-green);
  color: var(--sa-green);
  background: #f0f8f4;
}

@media (max-width: 1180px) {
  .kb-docs-shell {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .kb-outline {
    display: none;
  }

  .kb-document {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .kb-docs-shell {
    display: block;
  }

  .kb-sidebar {
    display: none;
  }

  .kb-document {
    padding: 22px 24px 48px;
  }

  .kb-mobile-directory {
    display: block;
    margin-bottom: 22px;
  }

  .kb-mobile-directory > summary {
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 800;
  }

  .kb-mobile-directory > nav {
    max-height: 60vh;
    padding: 10px 14px 16px;
    overflow-y: auto;
    border-top: 1px solid var(--sa-line);
  }

  .kb-mobile-directory .kb-tree-group > div {
    padding-left: 18px;
  }
}

@media (max-width: 680px) {
  .kb-document {
    padding: 18px 16px 40px;
  }

  .kb-document-head h1 {
    font-size: 34px;
  }

  .kb-detail-head h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .kb-detail-page .sb-knowledge-article > section {
    padding: 32px 0;
  }

  .kb-start-callout {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .kb-start-callout > div:last-child {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 8px;
    border-top: 1px solid #cce5da;
  }

  .kb-table-wrap table {
    min-width: 660px;
  }

  #first-phase .kb-table-wrap {
    overflow-x: visible;
  }

  #first-phase .kb-table-wrap table {
    min-width: 0;
  }

  #first-phase .kb-table-wrap thead {
    display: none;
  }

  #first-phase .kb-table-wrap tbody {
    display: grid;
  }

  #first-phase .kb-table-wrap tr {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 3px 10px;
    padding: 11px 12px;
    border-bottom: 1px solid #e1e7e3;
  }

  #first-phase .kb-table-wrap tr:last-child {
    border-bottom: 0;
  }

  #first-phase .kb-table-wrap td {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  #first-phase .kb-table-wrap td:first-child {
    grid-row: 1 / span 2;
    color: var(--sa-muted);
    font-size: 11px;
    font-weight: 800;
  }

  #first-phase .kb-table-wrap td:nth-child(2),
  #first-phase .kb-table-wrap td:nth-child(3) {
    grid-column: 2;
  }

  #first-phase .kb-table-wrap td:nth-child(2) a {
    display: block;
    overflow-wrap: anywhere;
    line-height: 1.55;
  }

  #first-phase .kb-table-wrap td:nth-child(3) {
    color: var(--sa-muted);
    font-size: 12px;
    line-height: 1.55;
  }

  .kb-topic-groups,
  .kb-prev-next {
    grid-template-columns: 1fr;
  }

  .kb-prev-next a + a {
    border-top: 1px solid #dce3df;
    border-left: 0;
  }

  .kb-troubleshooting a {
    grid-template-columns: minmax(0, 1fr) 16px;
    gap: 4px 10px;
  }

  .kb-troubleshooting span {
    grid-column: 1;
  }

  .kb-troubleshooting svg {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.sb-hero {
  padding: 78px 0 64px;
  border-bottom: 1px solid var(--sa-line);
  background: #f4f7f5;
}

.sb-hero.compact {
  padding-bottom: 52px;
}

.sb-hero h1,
.sb-hero p {
  margin: 0;
}

.sb-hero h1 {
  max-width: 960px;
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: 0;
}

.sb-hero > .sa-shell > p {
  max-width: 820px;
  margin-top: 20px;
  color: var(--sa-muted);
  font-size: 18px;
}

.sb-proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
  border: 1px solid var(--sa-line);
  background: #fff;
}

.sb-proof-row span {
  display: grid;
  min-height: 86px;
  align-content: center;
  gap: 2px;
  padding: 16px 20px;
  border-right: 1px solid var(--sa-line);
  color: var(--sa-muted);
  font-size: 13px;
}

.sb-proof-row span:last-child {
  border-right: 0;
}

.sb-proof-row strong {
  color: var(--sa-ink);
  font-size: 22px;
}

.sb-hero > .sa-shell > .sb-ranking-note {
  display: flex;
  max-width: none;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  padding: 13px 15px;
  border-left: 3px solid var(--sa-green);
  color: #405049;
  background: #eef6f2;
  font-size: 13px;
}

.sb-ranking-note svg {
  width: 17px;
  min-width: 17px;
  margin-top: 1px;
}

.sb-ranking-note a {
  color: var(--sa-green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sb-band {
  padding: 64px 0 76px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-hero-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 760px;
  margin-top: 30px;
  padding: 0 16px;
  border: 1px solid #bdc8c2;
  border-radius: 5px;
  background: #fff;
}

.sb-hero-search svg {
  width: 20px;
  height: 20px;
  color: var(--sa-green);
}

.sb-hero-search input {
  min-width: 0;
  min-height: 54px;
  border: 0;
  outline: 0;
  color: var(--sa-ink);
  background: transparent;
}

.sb-hero-search span {
  color: var(--sa-muted);
  font-size: 13px;
  white-space: nowrap;
}

.sb-knowledge-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 190px;
  align-items: start;
  border-top: 1px solid var(--sa-line);
}

.sb-knowledge-nav,
.sb-outline {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 2px;
  max-height: calc(100vh - 112px);
  padding: 28px 22px 28px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.sb-outline {
  padding-right: 0;
  padding-left: 22px;
}

.sb-knowledge-nav strong,
.sb-outline strong {
  margin-bottom: 10px;
  font-size: 13px;
}

.sb-knowledge-nav a,
.sb-outline a {
  padding: 7px 8px;
  border-left: 2px solid transparent;
  color: var(--sa-muted);
  font-size: 13px;
}

.sb-knowledge-nav a:hover,
.sb-knowledge-nav a[aria-current="true"],
.sb-outline a:hover {
  border-left-color: var(--sa-green);
  color: var(--sa-green-dark);
  background: #eef6f2;
}

.sb-knowledge-nav .sb-config-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  border: 1px solid var(--sa-line);
  color: var(--sa-ink);
}

.sb-config-link svg {
  width: 15px;
}

.sb-knowledge-main {
  min-width: 0;
  border-right: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.sb-knowledge-section {
  padding: 42px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-knowledge-section:last-of-type {
  border-bottom: 0;
}

.sb-eyebrow {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 800;
}

.sb-knowledge-section h2 {
  max-width: 720px;
  margin: 9px 0 13px;
  font-size: 31px;
  line-height: 1.22;
}

.sb-knowledge-section > p {
  max-width: 740px;
  margin: 0;
  color: var(--sa-muted);
}

.sb-knowledge-section ol,
.sb-detail-body ol,
.sb-detail-body ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding-left: 22px;
}

.sb-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sb-inline-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--sa-line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.sb-inline-links svg {
  width: 15px;
}

.sb-mobile-directory {
  display: none;
  margin-bottom: 20px;
  border: 1px solid var(--sa-line);
  background: #fff;
}

.sb-directory-controls {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.5fr);
  gap: 18px 28px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-directory-controls > .sa-filter-chips:last-child:nth-child(3) {
  grid-column: 1 / -1;
}

.sa-chip.compact {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

.sb-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.sb-resource-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  gap: 16px;
  min-height: 238px;
  padding: 26px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.sb-resource-card:hover {
  background: #f7faf8;
}

.sb-resource-icon,
.sb-detail-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #b7c4bd;
  border-radius: 5px;
  color: var(--sa-green);
  background: #eef6f2;
}

.sb-resource-icon svg,
.sb-detail-icon svg {
  width: 23px;
  height: 23px;
}

.sb-resource-copy {
  min-width: 0;
}

.sb-resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--sa-muted);
  font-size: 12px;
}

.sb-resource-copy h2 {
  margin: 11px 0 8px;
  font-size: 24px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.sb-resource-copy p {
  margin: 0;
  color: var(--sa-muted);
  overflow-wrap: anywhere;
}

.sb-skill-card {
  min-height: 370px;
}

.sb-skill-card .sb-resource-copy {
  display: flex;
  flex-direction: column;
}

.sb-skill-card-intro {
  display: grid;
  gap: 13px;
  margin-top: 4px;
}

.sb-skill-card-intro p {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  color: #44524c;
  font-size: 14px;
  line-height: 1.65;
}

.sb-skill-card-intro strong {
  color: #08785f;
  font-size: 12px;
  line-height: 1.9;
}

.sb-skill-card .sb-tags {
  margin-top: auto;
  padding-top: 18px;
}

.sb-detail-scope {
  padding-left: 14px;
  border-left: 2px solid #3bb892;
  color: #44524c;
}

.sb-resource-arrow {
  width: 19px;
  color: var(--sa-muted);
}

.sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.sb-tags span {
  padding: 4px 8px;
  border: 1px solid var(--sa-line);
  border-radius: 3px;
  color: #43514b;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.sb-question-grid,
.sb-skill-method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.sb-question-grid article,
.sb-skill-method article {
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.sb-question-grid span,
.sb-skill-method span {
  color: var(--sa-red);
  font-size: 12px;
  font-weight: 900;
}

.sb-question-grid h3,
.sb-skill-method h3 {
  margin: 34px 0 8px;
  font-size: 21px;
}

.sb-question-grid p,
.sb-skill-method p {
  margin: 0;
  color: var(--sa-muted);
}

.sb-faq {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 54px;
}

.sb-faq h2 {
  margin: 0;
  font-size: 36px;
}

.sb-faq details {
  border-top: 1px solid var(--sa-line);
}

.sb-faq details:last-child {
  border-bottom: 1px solid var(--sa-line);
}

.sb-faq summary {
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 800;
}

.sb-faq details p {
  margin: 0;
  padding: 0 4px 18px;
  color: var(--sa-muted);
}

.sb-detail {
  padding: 34px 0 86px;
}

.sb-detail-hero {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 42px 0;
}

.sb-detail-icon {
  width: 72px;
  height: 72px;
}

.sb-detail-icon svg {
  width: 32px;
  height: 32px;
}

.sb-detail-hero h1,
.sb-detail-hero p {
  margin: 0;
}

.sb-detail-hero h1 {
  max-width: 900px;
  font-size: 48px;
  line-height: 1.13;
}

.sb-detail-hero p {
  max-width: 780px;
  margin-top: 14px;
  color: var(--sa-muted);
  font-size: 18px;
}

.sb-fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--sa-line);
}

.sb-fact-strip span {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border-right: 1px solid var(--sa-line);
}

.sb-fact-strip span:last-child {
  border-right: 0;
}

.sb-fact-strip small {
  color: var(--sa-muted);
}

.sb-fact-strip strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.sb-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 54px;
  align-items: start;
  margin-top: 54px;
}

.sb-detail-body {
  min-width: 0;
}

.sb-detail-body > section {
  padding: 0 0 40px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-detail-body > section + section {
  padding-top: 40px;
}

.sb-detail-body h2 {
  margin: 0 0 13px;
  font-size: 30px;
}

.sb-detail-body h3 {
  font-size: 17px;
}

.sb-detail-body p {
  color: #45514c;
}

.sb-step-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
  counter-reset: sb-step;
  list-style: none;
}

.sb-step-list li {
  position: relative;
  min-width: 0;
  min-height: 68px;
  padding: 21px 22px 21px 66px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  color: #33413b;
  counter-increment: sb-step;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sb-step-list li::before {
  position: absolute;
  top: 19px;
  left: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #adc2b7;
  border-radius: 50%;
  color: var(--sa-green-dark);
  background: #eef6f2;
  content: counter(sb-step, decimal-leading-zero);
  font-size: 11px;
  font-weight: 900;
}

.sb-step-list code {
  padding: 2px 5px;
  border: 1px solid #cad6d0;
  border-radius: 3px;
  color: #173c2b;
  background: #f3f7f5;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.sb-compat-grid,
.sb-io-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.sb-compat-grid article,
.sb-io-grid article {
  padding: 20px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
}

.sb-compat-grid span,
.sb-io-grid h3 {
  color: var(--sa-green-dark);
  font-weight: 900;
}

.sb-compat-grid p {
  margin-bottom: 0;
}

.sb-note {
  padding: 14px 16px;
  border-left: 3px solid var(--sb-yellow);
  background: #fff9e8;
  font-size: 14px;
}

.sb-permission-callout {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--sb-yellow);
  color: #443a20;
  background: #fff9e8;
}

.sb-permission-callout svg {
  width: 20px;
  margin-top: 2px;
}

.sb-permission-callout p {
  margin: 0;
  color: inherit;
}

.sb-codex-install {
  margin: 24px 0;
  padding: 22px;
  border-top: 1px solid #a9beb3;
  border-bottom: 1px solid #a9beb3;
  background: #eef6f2;
}

.sb-codex-install-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.sb-codex-install-head h3 {
  margin: 5px 0 0;
  font-size: 22px;
}

.sb-codex-install > p {
  margin: 18px 0 10px;
  font-size: 14px;
}

.sb-codex-install > p a {
  color: var(--sa-green-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sb-codex-install pre {
  max-width: 100%;
  margin: 0;
  padding: 18px;
  overflow: auto;
  border: 1px solid #cad6d0;
  color: #173c2b;
  background: #fff;
  white-space: pre-wrap;
  word-break: break-word;
}

.sb-codex-install code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.75;
}

.sb-usage-example {
  margin: 22px 0;
  padding: 22px;
  border-top: 1px solid #b8c7bf;
  border-bottom: 1px solid #b8c7bf;
  background: #f4f7f5;
}

.sb-usage-example pre {
  max-width: 100%;
  margin: 18px 0 0;
  padding: 18px;
  overflow: auto;
  border: 1px solid #cad6d0;
  color: #173c2b;
  background: #fff;
  white-space: pre-wrap;
  word-break: break-word;
}

.sb-usage-example code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.75;
}

.sb-risk-list li::marker {
  color: var(--sb-red);
}

.sb-detail-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 28px;
}

[data-page="stage-b-skill-detail"] .sb-detail-aside {
  gap: 8px;
  align-content: start;
}

.sb-detail-aside > section {
  padding: 22px;
  border: 1px solid var(--sa-line);
  border-radius: 5px;
  background: #f7faf8;
}

.sb-detail-aside h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.sb-detail-aside > .sb-wechat-card,
.sb-mcp-guide-aside > .sb-wechat-card {
  display: grid;
  order: 2;
  justify-items: center;
  padding: 12px;
  background: #fff;
  text-align: center;
}

.sb-detail-aside > .sb-skill-page-nav {
  order: 0;
  padding: 12px;
  background: #fff;
}

.sb-skill-page-nav h2 {
  margin-bottom: 8px;
  font-size: 16px;
}

.sb-detail-aside .sb-skill-page-nav a {
  padding: 3px 0;
}

.sb-wechat-card + section {
  order: 1;
  padding: 12px;
}

.sb-wechat-card + section + section {
  display: none;
}

.sb-wechat-card h2 {
  width: 100%;
  margin-bottom: 4px;
  color: #1f2d27;
  font-size: 17px;
}

.sb-wechat-card p {
  margin: 0 0 10px;
  color: #596660;
  font-size: 12px;
  line-height: 1.5;
}

.sb-wechat-qr {
  display: block;
  width: 136px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #e1e7e4;
  background: #fff;
}

.sb-wechat-card small {
  margin-top: 8px;
  color: #4d5a54;
  font-size: 12px;
  font-weight: 800;
}

.sb-detail-aside dl,
.sb-detail-aside dl div {
  display: grid;
  gap: 4px;
}

.sb-detail-aside dl {
  gap: 14px;
  margin: 0 0 20px;
}

.sb-wechat-card + section h2 {
  margin-bottom: 8px;
  font-size: 16px;
}

.sb-wechat-card + section .sb-source-description,
.sb-wechat-card + section dl > div:nth-child(2),
.sb-wechat-card + section dl > div:nth-child(4) {
  display: none;
}

.sb-wechat-card + section dl {
  grid-template-columns: minmax(0, 1.45fr) minmax(92px, 0.55fr);
  gap: 10px;
  margin: 0 0 10px;
}

.sb-wechat-card + section dl > div {
  align-content: start;
  gap: 2px;
  min-width: 0;
}

.sb-wechat-card + section dd {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.45;
}

.sb-detail-aside dt {
  color: var(--sa-muted);
  font-size: 12px;
}

.sb-detail-aside dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sb-source-links {
  display: grid;
  gap: 9px;
}

.sb-source-links .sa-button {
  width: 100%;
  justify-content: space-between;
}

.sb-wechat-card + section .sb-source-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sb-wechat-card + section .sb-source-links .sa-button {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 11px;
}

.sb-wechat-card + section .sb-source-links svg {
  width: 14px;
}

.sb-related-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 3px 8px;
  padding: 14px 0;
  border-top: 1px solid var(--sa-line);
}

.sb-related-link span {
  grid-column: 1 / -1;
  color: var(--sa-muted);
  font-size: 11px;
}

.sb-related-link svg {
  width: 16px;
}

.sb-boundary {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  max-width: 820px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid #bbcac3;
  border-left: 4px solid var(--sa-green);
  background: #fff;
}

.sb-boundary svg {
  width: 24px;
  color: var(--sa-green);
}

.sb-boundary p {
  margin: 0;
  color: #3e4b45;
  font-size: 14px;
}

.sb-config-controls {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
  padding-bottom: 26px;
}

.sb-segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--sa-line);
  border-radius: 5px;
  background: #f5f7f6;
}

.sb-segmented button {
  min-height: 42px;
  border: 0;
  border-right: 1px solid var(--sa-line);
  color: var(--sa-muted);
  background: transparent;
  cursor: pointer;
}

.sb-segmented button:last-child {
  border-right: 0;
}

.sb-segmented button[aria-pressed="true"] {
  color: #fff;
  background: var(--sa-green);
}

.sb-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.sb-config-card {
  position: relative;
  min-height: 190px;
  padding: 24px 54px 24px 24px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
}

.sb-config-card:hover {
  background: #f7faf8;
}

.sb-config-card > span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 800;
}

.sb-config-card h2 {
  margin: 20px 0 8px;
  font-size: 23px;
}

.sb-config-card p {
  margin: 0;
  color: var(--sa-muted);
}

.sb-config-card svg {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 18px;
}

.sb-check-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
  list-style: none;
}

.sb-check-steps li {
  min-height: 210px;
  padding: 22px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.sb-check-steps li > span {
  color: var(--sb-blue);
  font-size: 12px;
  font-weight: 900;
}

.sb-check-steps h3 {
  margin: 34px 0 8px;
}

.sb-check-steps p {
  margin: 0;
  color: var(--sa-muted);
}

.sb-global-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 820px;
  margin-top: 28px;
}

.sb-global-search input {
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #b8c5be;
  border-radius: 5px;
  outline: 0;
  background: #fff;
}

.sb-search-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sb-search-shortcuts a {
  padding: 6px 9px;
  border: 1px solid var(--sa-line);
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
}

.sb-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-search-toolbar p {
  margin: 0;
  color: var(--sa-muted);
  white-space: nowrap;
}

.sb-search-results {
  border-top: 1px solid var(--sa-line);
}

.sb-search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 8px 20px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-search-result:hover {
  background: #f7faf8;
}

.sb-search-result-meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 800;
}

.sb-search-result h2,
.sb-search-result p {
  margin: 0;
}

.sb-search-result h2 {
  font-size: 23px;
}

.sb-search-result p {
  margin-top: 6px;
  color: var(--sa-muted);
}

.sb-search-result svg {
  width: 18px;
}

.sb-search-state {
  margin: 0;
  padding: 36px 4px;
  color: var(--sa-muted);
}

@media (max-width: 1000px) {
  .sb-knowledge-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .sb-outline {
    display: none;
  }

  .sb-knowledge-main {
    border-right: 0;
  }

  .sb-question-grid,
  .sb-skill-method,
  .sb-check-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-detail-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .sb-hero {
    padding: 50px 0 42px;
  }

  .sb-hero h1,
  .sb-detail-hero h1 {
    font-size: 38px;
  }

  .sb-hero > .sa-shell > p,
  .sb-detail-hero p {
    font-size: 16px;
  }

  .sb-proof-row,
  .sb-fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-proof-row span:nth-child(2),
  .sb-fact-strip span:nth-child(2) {
    border-right: 0;
  }

  .sb-proof-row span:nth-child(-n + 2),
  .sb-fact-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--sa-line);
  }

  .sb-band {
    padding: 48px 0 56px;
  }

  .sb-hero-search {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .sb-hero-search span {
    display: none;
  }

  .sb-mobile-directory {
    display: block;
  }

  .sb-mobile-directory summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 800;
  }

  .sb-mobile-directory nav {
    display: grid;
    padding: 0 16px 14px;
  }

  .sb-mobile-directory a {
    padding: 8px 0;
    border-top: 1px solid var(--sa-line);
  }

  .sb-knowledge-layout {
    display: block;
    border-top: 0;
  }

  .sb-knowledge-nav {
    display: none;
  }

  .sb-knowledge-main {
    border: 1px solid var(--sa-line);
  }

  .sb-knowledge-section {
    padding: 28px 22px;
  }

  .sb-knowledge-section h2 {
    font-size: 27px;
  }

  .sb-directory-controls,
  .sb-config-controls {
    grid-template-columns: 1fr;
  }

  .sb-directory-controls > .sa-filter-chips:last-child:nth-child(3) {
    grid-column: auto;
  }

  .sb-directory-grid,
  .sb-config-grid,
  .sb-faq,
  .sb-detail-layout,
  .sb-compat-grid,
  .sb-io-grid {
    grid-template-columns: 1fr;
  }

  .sb-resource-card {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    min-height: auto;
    padding: 20px 16px;
  }

  .sb-skill-card-intro p {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
  }

  .sb-resource-icon {
    width: 42px;
    height: 42px;
  }

  .sb-resource-copy h2 {
    font-size: 21px;
  }

  .sb-question-grid,
  .sb-skill-method,
  .sb-check-steps {
    grid-template-columns: 1fr;
  }

  .sb-question-grid article,
  .sb-skill-method article,
  .sb-check-steps li {
    min-height: auto;
  }

  .sb-faq {
    gap: 24px;
  }

  .sb-detail {
    padding-top: 22px;
  }

  .sb-detail-hero {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .sb-detail-icon {
    width: 58px;
    height: 58px;
  }

  .sb-detail-layout {
    margin-top: 38px;
  }

  .sb-detail-aside {
    position: static;
  }

  .sb-skill-page-nav {
    display: none;
  }

  .sb-wechat-qr {
    width: 190px;
  }

  .sb-codex-install-head {
    display: grid;
  }

  .sb-codex-install-head .sa-copy-button {
    width: fit-content;
  }

  .sb-segmented {
    grid-template-columns: repeat(2, 1fr);
  }

  .sb-segmented button:nth-child(2) {
    border-right: 0;
  }

  .sb-segmented button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--sa-line);
  }

  .sb-global-search {
    grid-template-columns: 1fr;
  }

  .sb-search-toolbar {
    display: grid;
  }

  .sb-search-toolbar p {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .sb-proof-row,
  .sb-fact-strip {
    grid-template-columns: 1fr;
  }

  .sb-proof-row span,
  .sb-proof-row span:nth-child(2),
  .sb-fact-strip span,
  .sb-fact-strip span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--sa-line);
  }

  .sb-proof-row span:last-child,
  .sb-fact-strip span:last-child {
    border-bottom: 0;
  }

  .sb-resource-card {
    grid-template-columns: 1fr 18px;
  }

  .sb-resource-icon {
    grid-column: 1 / -1;
  }

  .sb-codex-install {
    padding: 18px 14px;
  }

  .sb-usage-example {
    padding: 18px 14px;
  }

  .sb-segmented {
    grid-template-columns: 1fr;
  }

  .sb-segmented button,
  .sb-segmented button:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--sa-line);
  }

  .sb-segmented button:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sb-resource-card,
  .sb-config-card,
  .sb-inline-links a,
  .sb-search-result {
    transition: background-color 150ms ease, border-color 150ms ease;
  }
}

/* Knowledge hub and long-form guides */
.sb-knowledge-hero {
  border-bottom: 1px solid var(--sa-line);
}

.sb-start-band {
  background: #fff;
}

.sb-knowledge-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--sa-ink);
}

.sb-knowledge-start-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 18px;
  align-items: start;
  padding: 24px 18px;
  color: var(--sa-ink);
  border-bottom: 1px solid var(--sa-line);
}

.sb-knowledge-start-card:nth-child(odd) {
  border-right: 1px solid var(--sa-line);
}

.sb-knowledge-start-card > span {
  color: var(--sa-green);
  font-size: 13px;
  font-weight: 900;
}

.sb-knowledge-start-card small,
.sb-knowledge-topic-card > span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 800;
}

.sb-knowledge-start-card h2 {
  margin: 5px 0 7px;
  font-size: 22px;
}

.sb-knowledge-start-card p,
.sb-knowledge-topic-card p {
  margin: 0;
  color: var(--sa-muted);
  line-height: 1.65;
}

.sb-knowledge-start-card svg {
  width: 18px;
}

.sb-knowledge-hub-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.sb-knowledge-category-nav,
.sb-knowledge-full-nav,
.sb-article-outline {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  align-content: start;
}

.sb-knowledge-category-nav > strong,
.sb-article-outline > strong {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sa-ink);
  font-size: 13px;
}

.sb-knowledge-category-nav > a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: var(--sa-muted);
  border-bottom: 1px solid var(--sa-line);
  font-size: 14px;
}

.sb-knowledge-category-nav > a:hover {
  color: var(--sa-green);
}

.sb-knowledge-category-nav small {
  white-space: nowrap;
}

.sb-knowledge-groups {
  display: grid;
  gap: 66px;
}

.sb-knowledge-group {
  scroll-margin-top: 94px;
}

.sb-knowledge-group > header {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(280px, 1.2fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--sa-ink);
}

.sb-knowledge-group > header h2 {
  margin: 6px 0 0;
  font-size: 28px;
}

.sb-knowledge-group > header p {
  margin: 0;
  color: var(--sa-muted);
  line-height: 1.75;
}

.sb-knowledge-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sb-knowledge-topic-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 24px 22px;
  color: var(--sa-ink);
  border-bottom: 1px solid var(--sa-line);
}

.sb-knowledge-topic-card:nth-child(odd) {
  border-right: 1px solid var(--sa-line);
}

.sb-knowledge-topic-card h3 {
  margin: 8px 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.sb-knowledge-topic-card strong {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  color: var(--sa-green);
  font-size: 13px;
}

.sb-knowledge-topic-card svg {
  width: 16px;
}

.sb-knowledge-detail {
  padding: 30px 0 88px;
}

.sb-knowledge-detail-hero {
  max-width: 900px;
  padding: 54px 0 48px;
}

.sb-knowledge-detail-hero h1 {
  max-width: 820px;
  margin: 10px 0 16px;
  font-size: 50px;
  line-height: 1.12;
}

.sb-knowledge-detail-hero > p {
  max-width: 760px;
  margin: 0;
  color: var(--sa-muted);
  font-size: 18px;
  line-height: 1.8;
}

.sb-knowledge-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--sa-muted);
  font-size: 13px;
}

.sb-knowledge-detail-meta span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.sb-knowledge-detail-meta svg {
  width: 16px;
}

.sb-knowledge-article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px) 170px;
  gap: 42px;
  align-items: start;
  padding: 38px 0 72px;
  border-top: 1px solid var(--sa-line);
}

.sb-knowledge-full-nav {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: #c9d4ce transparent;
}

.sb-back-library {
  display: flex;
  gap: 7px;
  align-items: center;
  padding-bottom: 12px;
  color: var(--sa-green);
  border-bottom: 1px solid var(--sa-ink);
  font-size: 13px;
  font-weight: 800;
}

.sb-back-library svg {
  width: 16px;
}

.sb-knowledge-dir-group {
  padding: 6px 0;
  border-bottom: 1px solid var(--sa-line);
}

.sb-knowledge-dir-group summary {
  cursor: pointer;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
}

.sb-knowledge-dir-group[open] summary {
  margin-bottom: 6px;
}

.sb-knowledge-dir-group a {
  display: block;
  padding: 3px 0;
  color: var(--sa-muted);
  font-size: 12.5px;
}

.sb-knowledge-dir-group a[aria-current="page"] {
  color: var(--sa-green);
  font-weight: 800;
}

.sb-knowledge-article > section {
  padding: 42px 0;
  border-bottom: 1px solid var(--sa-line);
  scroll-margin-top: 92px;
}

.sb-knowledge-article > section:first-child {
  padding-top: 0;
}

.sb-knowledge-article h2 {
  margin: 8px 0 16px;
  font-size: 31px;
  line-height: 1.25;
}

.sb-knowledge-article p,
.sb-knowledge-article li {
  font-size: 16px;
  line-height: 1.85;
}

.sb-answer-block {
  padding-left: 24px !important;
  border-left: 4px solid var(--sa-green);
}

.sb-answer-block p {
  color: var(--sa-muted);
}

.sb-use-list,
.sb-mistake-list {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sa-ink);
}

.sb-use-list li,
.sb-mistake-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--sa-line);
}

.sb-use-list svg {
  color: var(--sa-green);
}

.sb-mistake-list svg {
  color: #c23b2a;
}

.sb-use-list svg,
.sb-mistake-list svg {
  width: 18px;
  margin-top: 5px;
}

.sb-article-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sa-ink);
}

.sb-article-steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sa-line);
}

.sb-article-steps li > span {
  color: var(--sa-green);
  font-size: 13px;
  font-weight: 900;
}

.sb-article-steps h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.sb-article-steps p {
  margin: 0;
  color: var(--sa-muted);
}

.sb-example-scene {
  padding: 20px 22px;
  background: #edf6f2;
  border-left: 4px solid var(--sa-green);
}

.sb-example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 26px;
}

.sb-example-grid > div {
  padding-top: 14px;
  border-top: 1px solid var(--sa-ink);
}

.sb-example-grid ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.sb-check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--sa-line);
  cursor: pointer;
}

.sb-check-row:first-of-type {
  border-top: 1px solid var(--sa-ink);
}

.sb-check-row input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--sa-green);
}

.sb-decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 22px;
}

.sb-decision-grid > div {
  padding-top: 16px;
  border-top: 2px solid var(--sa-green);
}

.sb-decision-grid > div.is-caution {
  border-top-color: #b84836;
}

.sb-decision-grid strong {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 15px;
}

.sb-decision-grid strong svg {
  width: 18px;
  color: var(--sa-green);
}

.sb-decision-grid .is-caution strong svg {
  color: #b84836;
}

.sb-decision-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.sb-article-steps small {
  display: block;
  margin-top: 10px;
  color: var(--sa-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.sb-template-block {
  margin-top: 32px;
  border: 1px solid var(--sa-ink);
  background: #f6f4ee;
}

.sb-template-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-template-head h3 {
  margin: 4px 0 0;
  font-size: 19px;
}

.sb-template-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #202723;
  font: 14px/1.85 ui-monospace, "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sb-template-block.is-filled {
  margin-top: 22px;
  background: #eef5f1;
  border-color: #356d58;
}

.sb-research-method {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  margin: 22px 0 8px;
  padding: 18px 20px;
  background: #eff5f2;
  border-left: 4px solid var(--sa-green);
}

.sb-research-method > svg {
  width: 26px;
  height: 26px;
  color: var(--sa-green);
}

.sb-research-method strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.sb-research-method p,
.sb-source-disclosure {
  margin: 0;
  color: var(--sa-muted);
  font-size: 14px;
  line-height: 1.75;
}

.sb-research-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.sb-research-sources a {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 20px 48px 20px 20px;
  color: var(--sa-ink);
  background: #fff;
  border: 1px solid var(--sa-line);
}

.sb-research-sources a:hover {
  border-color: var(--sa-green);
  transform: translateY(-2px);
}

.sb-research-sources span {
  color: var(--sa-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.sb-research-sources strong {
  font-size: 17px;
  line-height: 1.45;
}

.sb-research-sources p {
  margin: 0;
  color: var(--sa-muted);
  font-size: 13px;
  line-height: 1.65;
}

.sb-research-sources svg {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 18px;
}

.sb-source-disclosure {
  margin-top: 16px;
}

.sb-diagnostic-list {
  margin-top: 22px;
  border-top: 1px solid var(--sa-ink);
}

.sb-diagnostic-list article {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sa-line);
}

.sb-diagnostic-list h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.sb-diagnostic-list dl,
.sb-diagnostic-list dd {
  margin: 0;
}

.sb-diagnostic-list dl {
  display: grid;
  gap: 12px;
}

.sb-diagnostic-list dl > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
}

.sb-diagnostic-list dt {
  color: var(--sa-muted);
  font-size: 12px;
  font-weight: 800;
}

.sb-diagnostic-list dd {
  font-size: 15px;
  line-height: 1.75;
}

.sb-related-reading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--sa-ink);
}

.sb-related-reading a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 6px 14px;
  padding: 18px 14px;
  color: var(--sa-ink);
  border-bottom: 1px solid var(--sa-line);
}

.sb-related-reading a:nth-child(odd) {
  border-right: 1px solid var(--sa-line);
}

.sb-related-reading span {
  grid-column: 1 / -1;
  color: var(--sa-green);
  font-size: 11px;
}

.sb-related-reading svg {
  width: 16px;
}

.sb-article-outline a {
  padding: 7px 0;
  color: var(--sa-muted);
  font-size: 13px;
}

.sb-article-outline {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: #c9d4ce transparent;
}

/* Skill creator guide and simplified install */
.sb-skill-creator-band {
  padding: 54px 0;
  color: #fff;
  background: #18201d;
}

.sb-skill-creator-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 72px;
  align-items: center;
}

.sb-skill-creator-feature h2 {
  max-width: 700px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: 38px;
}

.sb-skill-creator-feature p {
  max-width: 700px;
  color: #cbd5d0;
  line-height: 1.75;
}

.sb-skill-creator-feature .sb-inline-links a {
  color: #fff;
  border-color: #53635c;
}

.sb-skill-loop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #66736d;
  border-left: 1px solid #66736d;
}

.sb-skill-loop li {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 20px;
  border-right: 1px solid #66736d;
  border-bottom: 1px solid #66736d;
}

.sb-skill-loop b {
  color: #67d9a8;
  font-size: 12px;
}

.sb-source-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 22px 0;
  padding: 18px 20px;
  background: #edf6f2;
  border: 1px solid #bdd6ca;
}

.sb-source-copy > div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.sb-source-copy a {
  overflow-wrap: anywhere;
  color: var(--sa-ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}

.sb-mcp-quickstart {
  background: #f1f6f3;
  border-bottom: 1px solid var(--sa-line);
}

.sb-mcp-start-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--sa-ink);
  border-left: 1px solid var(--sa-line);
}

.sb-mcp-start-grid > article {
  min-height: 170px;
  padding: 22px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.sb-mcp-start-grid > article > span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 900;
}

.sb-mcp-start-grid h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.sb-mcp-start-grid p {
  margin: 0;
  color: var(--sa-muted);
  line-height: 1.7;
}

.sb-mcp-start-grid > .sb-command-block {
  grid-column: 1 / -1;
  margin: 0;
}

.sb-mcp-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 980px;
  margin-top: 28px;
}

.sb-mcp-flow > span {
  display: grid;
  flex: 1 1 150px;
  min-height: 74px;
  align-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #cfdbd5;
  background: #fff;
}

.sb-mcp-flow b {
  color: var(--sa-ink);
  font-size: 15px;
}

.sb-mcp-flow small {
  color: var(--sa-muted);
  font-size: 12px;
  line-height: 1.5;
}

.sb-mcp-flow svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--sa-green);
}

.sb-mcp-task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--sa-ink);
  border-left: 1px solid var(--sa-line);
}

.sb-mcp-task-card {
  display: grid;
  min-height: 156px;
  align-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  color: var(--sa-ink);
  background: #fff;
}

.sb-mcp-task-card:hover {
  background: #f7faf8;
}

.sb-mcp-task-card span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 900;
}

.sb-mcp-task-card strong {
  display: block;
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sb-mcp-task-card small {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 16px;
  color: var(--sa-muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sb-mcp-task-card svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: var(--sa-green);
}

.sb-resource-intent {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid #e2ebe6;
  color: #35433c !important;
  font-size: 14px;
  line-height: 1.65;
}

.sb-resource-intent strong {
  margin-right: 4px;
  color: var(--sa-green-dark);
  font-size: 12px;
}

.sb-mcp-quick-read {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  border: 1px solid var(--sa-line);
  border-top: 2px solid var(--sa-ink);
  background: #fff;
}

.sb-mcp-quick-read article {
  display: grid;
  min-height: 112px;
  align-content: center;
  gap: 8px;
  padding: 18px 20px;
  border-right: 1px solid var(--sa-line);
}

.sb-mcp-quick-read article:last-child {
  border-right: 0;
}

.sb-mcp-quick-read strong {
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.sb-mcp-explainer-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.sb-mcp-explainer-flow span {
  display: grid;
  min-height: 94px;
  place-items: center;
  gap: 5px;
  padding: 16px;
  text-align: center;
  border: 1px solid #d3e0da;
  background: #f6faf8;
}

.sb-mcp-explainer-flow b {
  color: var(--sa-ink);
}

.sb-mcp-explainer-flow small {
  color: var(--sa-muted);
  line-height: 1.45;
}

.sb-mcp-explainer-flow svg {
  justify-self: center;
  width: 18px;
  height: 18px;
  color: var(--sa-green);
}

.sb-mcp-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.sb-mcp-fit-grid article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.sb-mcp-fit-grid span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 900;
}

.sb-mcp-fit-grid p {
  margin: 0;
  line-height: 1.7;
}

.sb-mcp-auth-note,
.sb-mcp-success {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #bdd6ca;
  background: #edf6f2;
}

.sb-mcp-success {
  border-color: #ded2a5;
  background: #f8f5e9;
}

.sb-mcp-auth-note svg,
.sb-mcp-success svg {
  width: 24px;
  height: 24px;
  color: var(--sa-green);
}

.sb-mcp-auth-note strong,
.sb-mcp-success strong {
  display: block;
  margin-bottom: 5px;
  color: var(--sa-ink);
}

.sb-mcp-auth-note p,
.sb-mcp-success p {
  margin: 0;
  line-height: 1.7;
}

.sb-command-block {
  margin: 24px 0;
  border: 1px solid #23312b;
  background: #111916;
  color: #f4f8f6;
}

.sb-command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border-bottom: 1px solid #34453e;
}

.sb-command-head > div {
  min-width: 0;
}

.sb-command-head .sb-eyebrow {
  color: #7fe1b5;
}

.sb-command-head h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 17px;
}

.sb-command-head .sa-copy-button {
  flex: 0 0 auto;
  color: #fff;
  background: transparent;
  border-color: #52645c;
}

.sb-command-block pre {
  max-height: 420px;
  overflow: auto;
  margin: 0;
  padding: 20px;
  color: #edf5f1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
}

.sb-command-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: -10px 0 24px;
  padding: 13px 15px;
  color: #33443c;
  background: #edf6f2;
  border-left: 3px solid var(--sa-green);
  line-height: 1.65;
}

.sb-command-note svg {
  width: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
}

.sb-command-note code {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sb-install-choice-grid,
.sb-training-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sb-install-choice-grid .sb-command-block,
.sb-training-command-grid .sb-command-block {
  margin: 18px 0;
}

.sb-io-grid > div {
  padding: 20px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
}

.sb-io-grid > div > strong {
  color: var(--sa-green-dark);
}

.sb-io-grid ul {
  margin-bottom: 0;
}

.sb-source-description {
  padding-bottom: 16px;
  color: var(--sa-muted);
  border-bottom: 1px solid var(--sa-line);
  line-height: 1.7;
}

.sb-user-example {
  margin: 18px 0 0;
  padding: 18px 20px;
  color: var(--sa-ink);
  background: #fff;
  border-left: 3px solid var(--sa-blue);
  white-space: pre-wrap;
}

.sb-training-page {
  padding: 28px 0 84px;
}

.sb-training-copy {
  padding: 64px 0;
  border-top: 1px solid var(--sa-line);
}

.sb-training-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 70px;
  align-items: end;
  padding: 64px 0 58px;
}

.sb-training-hero h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  font-size: 54px;
  line-height: 1.08;
}

.sb-training-hero p {
  max-width: 760px;
  color: var(--sa-muted);
  font-size: 18px;
  line-height: 1.8;
}

.sb-training-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.sb-training-signal {
  display: grid;
  border-top: 2px solid var(--sa-ink);
}

.sb-training-signal span,
.sb-training-signal strong,
.sb-training-signal small {
  padding: 14px 0;
  border-bottom: 1px solid var(--sa-line);
}

.sb-training-signal span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 900;
}

.sb-training-signal small {
  color: var(--sa-muted);
  line-height: 1.6;
}

.sb-training-example {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(460px, 1.2fr);
  gap: 56px;
  align-items: center;
  padding: 46px 40px;
  color: #fff;
  background: #18201d;
}

.sb-training-example h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: 30px;
}

.sb-training-example p {
  color: #cbd5d0;
  line-height: 1.75;
}

.sb-training-example-flow {
  display: grid;
  grid-template-columns: 1fr 22px 1fr 22px 1fr;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.sb-training-example-flow span {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 14px;
  border: 1px solid #66736d;
}

.sb-training-example-flow svg {
  width: 18px;
  color: #67d9a8;
}

.sb-training-steps,
.sb-training-anatomy,
.sb-training-check,
.sb-training-next {
  padding: 68px 0;
  border-bottom: 1px solid var(--sa-line);
}

.sb-training-steps > article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  max-width: 880px;
  padding: 24px 0;
  border-top: 1px solid var(--sa-line);
}

.sb-training-steps > article:last-child {
  border-bottom: 1px solid var(--sa-line);
}

.sb-training-steps > article > span {
  color: var(--sa-green);
  font-size: 13px;
  font-weight: 900;
}

.sb-training-steps h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.sb-training-steps p {
  margin: 0;
  color: var(--sa-muted);
  line-height: 1.75;
}

.sb-training-anatomy > div:first-child,
.sb-training-check {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
}

.sb-training-anatomy h2,
.sb-training-check h2,
.sb-training-next h2 {
  margin: 8px 0 0;
  font-size: 34px;
}

.sb-anatomy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--sa-ink);
}

.sb-anatomy-grid article {
  padding: 24px 18px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
}

.sb-anatomy-grid article:last-child {
  border-right: 0;
}

.sb-anatomy-grid svg {
  width: 22px;
  color: var(--sa-green);
}

.sb-anatomy-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.sb-anatomy-grid p {
  margin: 0;
  color: var(--sa-muted);
  line-height: 1.65;
}

.sb-training-next {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.sb-training-next p {
  color: var(--sa-muted);
}

@media (max-width: 1100px) {
  .sb-knowledge-article-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .sb-article-outline {
    display: none;
  }

  .sb-skill-creator-feature,
  .sb-training-hero {
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .sb-mobile-directory {
    position: sticky;
    top: 76px;
    z-index: 25;
    display: block;
    margin: 0 0 16px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--sa-line);
    border-bottom: 1px solid var(--sa-line);
    backdrop-filter: blur(10px);
  }

  .sb-mobile-directory summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 800;
  }

  .sb-mobile-directory nav {
    display: grid;
    padding: 0 16px 14px;
  }

  .sb-mobile-directory a {
    padding: 8px 0;
    border-top: 1px solid var(--sa-line);
  }

  .sb-knowledge-hub-layout,
  .sb-knowledge-article-layout {
    display: block;
  }

  .sb-knowledge-category-nav,
  .sb-knowledge-full-nav {
    display: none;
  }

  .sb-knowledge-group > header,
  .sb-skill-creator-feature,
  .sb-training-hero,
  .sb-training-example,
  .sb-training-anatomy > div:first-child,
  .sb-training-check,
  .sb-install-choice-grid,
  .sb-training-command-grid {
    grid-template-columns: 1fr;
  }

  .sb-skill-creator-feature,
  .sb-training-hero,
  .sb-training-example,
  .sb-training-anatomy > div:first-child,
  .sb-training-check {
    gap: 28px;
  }

  .sb-anatomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-start-grid {
    grid-template-columns: 1fr;
  }

  .sb-mcp-start-grid > .sb-command-block {
    grid-column: auto;
  }

  .sb-mcp-task-grid,
  .sb-mcp-quick-read,
  .sb-mcp-fit-grid {
    grid-template-columns: 1fr;
  }

  .sb-mcp-explainer-flow {
    grid-template-columns: 1fr;
  }

  .sb-mcp-explainer-flow svg {
    transform: rotate(90deg);
  }

  .sb-anatomy-grid article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .sb-knowledge-start-grid,
  .sb-knowledge-topic-grid,
  .sb-example-grid,
  .sb-research-sources,
  .sb-related-reading {
    grid-template-columns: 1fr;
  }

  .sb-knowledge-start-card:nth-child(odd),
  .sb-knowledge-topic-card:nth-child(odd),
  .sb-related-reading a:nth-child(odd) {
    border-right: 0;
  }

  .sb-knowledge-group > header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sb-knowledge-topic-card {
    min-height: auto;
  }

  .sb-knowledge-detail-hero h1,
  .sb-training-hero h1 {
    font-size: 38px;
  }

  .sb-knowledge-article h2 {
    font-size: 27px;
  }

  .sb-answer-block {
    padding-left: 16px !important;
  }

  .sb-decision-grid {
    grid-template-columns: 1fr;
  }

  .sb-template-head {
    align-items: flex-start;
  }

  .sb-diagnostic-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sb-skill-creator-feature h2 {
    font-size: 31px;
  }

  .sb-skill-loop,
  .sb-anatomy-grid {
    grid-template-columns: 1fr;
  }

  .sb-skill-loop li,
  .sb-anatomy-grid article {
    min-height: auto;
    border-right: 0;
  }

  .sb-source-copy,
  .sb-training-next {
    display: grid;
  }

  .sb-command-head {
    align-items: flex-start;
  }

  .sb-source-copy .sa-copy-button {
    width: fit-content;
  }

  .sb-training-example {
    padding: 32px 22px;
  }

  .sb-training-example-flow {
    grid-template-columns: 1fr;
  }

  .sb-training-example-flow svg {
    transform: rotate(90deg);
    justify-self: center;
  }

  .sb-training-steps > article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .sb-mcp-flow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sb-mcp-flow svg {
    justify-self: center;
    transform: rotate(90deg);
  }

  .sb-mcp-auth-note,
  .sb-mcp-success {
    grid-template-columns: 26px minmax(0, 1fr);
    padding: 14px;
  }
}

/* Knowledge V2: task-led sections, chains and tutorial contracts. */
.kb-tree-chain > a {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.kb-tree-chain > a small {
  color: #909b95;
  font-size: 10px;
}

.kb-tree-section-link {
  color: var(--sa-green-dark) !important;
  font-weight: 800;
}

.kb-tree-lessons {
  display: grid;
  max-height: 280px;
  margin: 0 0 6px 12px;
  overflow-y: auto;
  border-left: 1px solid #dfe6e2;
}

.kb-tree-lessons a {
  padding-left: 12px !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.kb-v2-page .kb-outline > span {
  color: #6a756f;
  font-size: 12px;
  line-height: 1.6;
}

.kb-v2-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.kb-v2-section-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  gap: 16px;
  min-height: 236px;
  padding: 24px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.kb-v2-section-card > svg:first-child {
  width: 24px;
  color: var(--sa-green);
}

.kb-v2-section-card > svg:last-child {
  width: 17px;
  color: #929d97;
}

.kb-v2-section-card span,
.kb-v2-section-card strong {
  color: var(--sa-green-dark);
  font-size: 12px;
  line-height: 1.5;
}

.kb-v2-section-card h2 {
  margin: 8px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.kb-v2-section-card p {
  margin: 0 0 15px;
  color: var(--sa-muted);
  line-height: 1.7;
}

.kb-v2-section-card:hover h2,
.kb-v2-section-card:hover > svg:last-child {
  color: var(--sa-green);
}

.kb-v2-catalog {
  border-top: 1px solid var(--sa-ink);
}

.kb-v2-catalog-section {
  border-bottom: 1px solid var(--sa-line);
}

.kb-v2-catalog-section > summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
}

.kb-v2-catalog-section > summary::-webkit-details-marker {
  display: none;
}

.kb-v2-catalog-section > summary .kb-v2-summary-copy {
  display: grid;
  gap: 4px;
}

.kb-v2-catalog-section > summary strong {
  font-size: 18px;
}

.kb-v2-catalog-section > summary span {
  color: var(--sa-muted);
  font-size: 12px;
}

.kb-v2-catalog-section > summary svg {
  width: 18px;
  transition: transform .2s ease;
}

.kb-v2-catalog-section[open] > summary svg {
  transform: rotate(180deg);
}

.kb-v2-catalog-chain {
  padding: 0 0 24px;
}

.kb-v2-catalog-chain > header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 13px 16px;
  background: #f2f7f4;
}

.kb-v2-catalog-chain > header > div {
  display: grid;
  gap: 3px;
}

.kb-v2-catalog-chain > header span {
  font-weight: 900;
}

.kb-v2-catalog-chain > header small {
  color: var(--sa-muted);
}

.kb-v2-catalog-chain > header a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--sa-green-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.kb-v2-catalog-chain > header svg {
  width: 14px;
}

.kb-v2-catalog-chain > div {
  border: 1px solid var(--sa-line);
  border-top: 0;
}

.kb-v2-catalog-chain > div > a {
  display: grid;
  grid-template-columns: 42px minmax(240px, .9fr) minmax(220px, 1.1fr);
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--sa-line);
}

.kb-v2-catalog-chain > div > a:last-child {
  border-bottom: 0;
}

.kb-v2-catalog-chain > div > a > span,
.kb-v2-catalog-chain > div > a > small {
  color: var(--sa-muted);
  font-size: 12px;
}

.kb-v2-catalog-chain > div > a:hover strong {
  color: var(--sa-green);
}

.kb-status {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  width: fit-content;
  color: #247a54;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.kb-status svg {
  width: 14px;
  height: 14px;
}

.kb-status.is-pending {
  color: #9a5a12;
}

.kb-v2-prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--sa-line);
  border-left: 1px solid var(--sa-line);
}

.kb-v2-prep-grid > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  min-height: 110px;
  padding: 20px;
  border-right: 1px solid var(--sa-line);
  border-bottom: 1px solid var(--sa-line);
  line-height: 1.7;
}

.kb-v2-prep-grid svg {
  width: 18px;
  color: var(--sa-green);
}

.kb-v2-milestones {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sa-ink);
}

.kb-v2-milestones li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--sa-line);
}

.kb-v2-milestones li > span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 900;
}

.kb-v2-milestones p {
  margin: 5px 0 0;
  color: var(--sa-muted);
}

.kb-v2-chain-list,
.kb-v2-lesson-list {
  border-top: 1px solid var(--sa-ink);
}

.kb-v2-chain-row,
.kb-v2-lesson-row {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 20px 6px;
  border-bottom: 1px solid var(--sa-line);
}

.kb-v2-chain-row {
  grid-template-columns: 52px minmax(0, 1fr) 20px;
}

.kb-v2-chain-row > span,
.kb-v2-lesson-row > span {
  color: var(--sa-green);
  font-size: 12px;
  font-weight: 900;
}

.kb-v2-chain-row h2,
.kb-v2-lesson-row h2 {
  margin: 0 0 5px;
  font-size: 19px;
}

.kb-v2-chain-row p,
.kb-v2-lesson-row p {
  margin: 0 0 6px;
  color: var(--sa-muted);
  line-height: 1.6;
}

.kb-v2-chain-row small,
.kb-v2-lesson-row small {
  color: #7f8a84;
}

.kb-v2-chain-row > svg,
.kb-v2-lesson-row > svg {
  width: 17px;
  color: #8d9892;
}

.kb-v2-chain-row:hover h2,
.kb-v2-lesson-row:hover h2,
.kb-v2-chain-row:hover > svg,
.kb-v2-lesson-row:hover > svg {
  color: var(--sa-green);
}

.kb-v2-lesson-row {
  grid-template-columns: 52px minmax(0, 1fr) 120px 20px;
}

.kb-v2-lesson-row strong {
  color: var(--sa-green-dark);
  font-size: 12px;
}

.kb-v2-expected,
.kb-v2-verification {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
  padding: 18px 20px;
  background: #edf7f2;
  border-left: 3px solid var(--sa-green);
}

.kb-v2-expected svg,
.kb-v2-verification svg {
  width: 22px;
  color: var(--sa-green);
}

.kb-v2-expected p,
.kb-v2-verification p {
  margin: 5px 0;
  line-height: 1.7;
}

.kb-v2-verification small {
  color: var(--sa-muted);
}

.kb-v2-verification.is-pending {
  background: #fff7e8;
  border-left-color: #c87a22;
}

.kb-v2-verification.is-pending svg {
  color: #a86116;
}

.kb-sample-outcomes {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sa-ink);
}

.kb-sample-outcomes li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sa-line);
}

.kb-sample-outcomes svg {
  width: 18px;
  margin-top: 5px;
  color: var(--sa-green);
}

.kb-sample-table {
  margin-top: 22px;
}

.kb-sample-table table {
  min-width: 680px;
}

.kb-sample-table td {
  line-height: 1.65;
}

.kb-sample-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  background: #f3f6f4;
  border-left: 3px solid #6b8175;
}

.kb-sample-note svg {
  width: 18px;
  margin-top: 4px;
  color: var(--sa-green-dark);
}

.kb-sample-note p {
  margin: 0;
  color: var(--sa-muted);
  font-size: 14px;
  line-height: 1.75;
}

.kb-sample-code {
  margin-top: 18px;
}

.kb-sample-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--sa-ink);
  border-bottom: 1px solid var(--sa-line);
}

.kb-sample-compare article {
  padding: 22px 24px 22px 0;
}

.kb-sample-compare article + article {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--sa-line);
}

.kb-sample-compare article > span,
.kb-sample-sources article > span {
  color: var(--sa-green);
  font-size: 11px;
  font-weight: 800;
}

.kb-sample-compare h3 {
  margin: 7px 0 12px;
  font-size: 19px;
  line-height: 1.45;
}

.kb-sample-compare p {
  margin: 0;
}

.kb-sample-sources > article {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--sa-line);
}

.kb-sample-sources article > strong {
  font-size: 17px;
  line-height: 1.45;
}

.kb-sample-sources article > p {
  margin: 0;
  color: var(--sa-muted);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .kb-v2-section-grid,
  .kb-v2-prep-grid {
    grid-template-columns: 1fr;
  }

  .kb-v2-section-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .kb-sample-compare,
  .kb-sample-sources {
    grid-template-columns: 1fr;
  }

  .kb-sample-compare article,
  .kb-sample-compare article + article {
    padding: 18px 0;
    border-left: 0;
  }

  .kb-sample-compare article + article {
    border-top: 1px solid var(--sa-line);
  }

  .kb-sample-table table {
    min-width: 620px;
  }

  .kb-v2-catalog-chain > header {
    display: grid;
    align-items: start;
  }

  .kb-v2-catalog-chain > div > a,
  .kb-v2-lesson-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .kb-v2-catalog-chain > div > a > small,
  .kb-v2-lesson-row .kb-status {
    grid-column: 2;
  }

  .kb-v2-lesson-row > svg {
    display: none;
  }

  .kb-v2-chain-row {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
  }
}

/* MCP catalog and guide: task-first directory with article-style detail pages. */
[data-page="stage-b-mcp"] #main,
[data-page="stage-b-skills"] #main,
[data-page="stage-b-mcp-detail"] {
  background: #f4f6f7;
}

.sb-mcp-catalog {
  padding: 44px 0 58px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-mcp-catalog-head {
  max-width: 900px;
}

.sb-mcp-catalog-head h1 {
  max-width: 850px;
  margin: 10px 0 14px;
  font-size: 40px;
  line-height: 1.18;
}

.sb-mcp-catalog-head p {
  max-width: 880px;
  margin: 0;
  color: #425049;
  font-size: 16px;
  line-height: 1.8;
}

.sb-mcp-catalog-head p strong {
  color: #18241f;
}

.sb-mcp-catalog-controls {
  display: grid;
  gap: 15px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid #d7dedb;
  border-radius: 8px;
  background: #fff;
}

.sb-mcp-catalog-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #b9c4bf;
  border-radius: 6px;
  background: #fff;
}

.sb-mcp-catalog-search > svg {
  width: 18px;
  height: 18px;
  margin-left: 15px;
  color: #64716b;
}

.sb-mcp-catalog-search input {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 0;
  outline: 0;
  color: var(--sa-ink);
  background: transparent;
  font-size: 14px;
}

.sb-mcp-catalog-search button {
  align-self: stretch;
  min-width: 82px;
  border: 0;
  background: #2457d6;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.sb-mcp-catalog-search:focus-within {
  border-color: #2457d6;
  box-shadow: 0 0 0 3px rgba(36, 87, 214, 0.12);
}

.sb-mcp-filter-group {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.sb-mcp-filter-group > span {
  padding-top: 9px;
  color: #66736d;
  font-size: 12px;
  font-weight: 800;
}

.sb-mcp-filter-group .sa-filter-chips {
  justify-content: flex-start;
}

.sb-mcp-filter-group .sa-chip {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px;
}

.sb-mcp-catalog-result {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 20px 0 13px;
  color: #65716c;
  font-size: 13px;
}

.sb-mcp-catalog-result p {
  margin: 0;
}

.sb-mcp-catalog-result strong {
  color: var(--sa-ink);
}

.sb-mcp-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sb-mcp-compact-card {
  display: flex;
  min-width: 0;
  min-height: 316px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #d5ddda;
  border-radius: 7px;
  background: #fff;
  color: var(--sa-ink);
  box-shadow: 0 2px 7px rgba(18, 36, 28, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sb-mcp-compact-card:hover {
  border-color: #96a9a0;
  box-shadow: 0 8px 18px rgba(18, 36, 28, 0.08);
  transform: translateY(-2px);
}

.sb-mcp-card-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.sb-mcp-card-icon,
.sb-mcp-guide-icon {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #b7c8c0;
  border-radius: 6px;
  color: #0b7455;
  background: #fff;
}

.sb-mcp-card-icon {
  width: 48px;
  height: 48px;
}

.sb-mcp-card-icon svg {
  width: 19px;
  height: 19px;
}

.sb-mcp-card-icon img,
.sb-mcp-guide-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 6px;
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
}

.sb-skill-avatar img {
  padding: 4px;
}

.sb-skill-detail-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 7px;
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
}

.sb-skill-detail-avatar {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.sb-mcp-guide-icon img {
  padding: 9px;
}

[data-mcp-avatar-wrap].is-fallback img,
[data-skill-avatar-wrap].is-fallback img {
  display: none;
}

.sb-mcp-card-head h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sb-mcp-card-head small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #77827d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-mcp-card-definition {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #e7ecea;
}

.sb-mcp-card-definition > strong,
.sb-mcp-card-task > strong {
  display: block;
  margin-bottom: 5px;
  color: #0b7455;
  font-size: 11px;
  font-weight: 900;
}

.sb-mcp-card-definition p {
  display: -webkit-box;
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  color: #3e4b45;
  font-size: 13px;
  line-height: 1.68;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sb-mcp-card-task {
  margin-top: 12px;
  padding: 10px 11px;
  border-left: 3px solid #d69a21;
  background: #fbf8ef;
}

.sb-mcp-card-task span {
  display: -webkit-box;
  min-height: 39px;
  overflow: hidden;
  color: #514b3d;
  font-size: 12px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sb-mcp-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 13px;
}

.sb-mcp-card-foot > svg {
  width: 17px;
  height: 17px;
  color: #56645e;
}

.sb-mcp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sb-mcp-card-tags span {
  padding: 4px 7px;
  border: 1px solid #d8dfdc;
  border-radius: 4px;
  color: #5d6964;
  background: #f8faf9;
  font-size: 10px;
  font-weight: 750;
}

.sb-skills-catalog-head code {
  padding: 2px 5px;
  border: 1px solid #d6dedb;
  border-radius: 4px;
  color: #1f4436;
  background: #fff;
  font-size: 0.9em;
}

.sb-skills-ranking-note,
.sb-mcp-ranking-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 15px !important;
  padding: 12px 14px;
  border-left: 3px solid #2457d6;
  color: #485650 !important;
  background: #edf3ff;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.sb-skills-ranking-note > svg,
.sb-mcp-ranking-note > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: #2457d6;
}

.sb-mcp-ranking-note strong {
  display: block;
  margin-bottom: 3px;
  color: #183b72;
}

.sb-mcp-ranking-note p {
  max-width: none;
  color: #485650;
  font-size: 13px;
  line-height: 1.65;
}

.sb-skills-ranking-note a {
  color: #174bbf;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sb-skill-compact-card {
  min-height: 354px;
}

.sb-skill-compact-card .sb-mcp-card-head > div {
  min-width: 0;
}

.sb-skill-card-rank {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7ecea;
  color: #6b7771;
  font-size: 10px;
  font-weight: 850;
}

.sb-skill-card-rank span:first-child {
  color: #0b7455;
}

.sb-skill-card-rank span:last-child {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-skill-builder-band {
  padding: 48px 0;
  border-bottom: 1px solid var(--sa-line);
  background: #eef3ff;
}

.sb-skill-builder-band .sa-shell {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.sb-skill-builder-band .sa-shell > div {
  max-width: 760px;
}

.sb-skill-builder-band h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.35;
}

.sb-skill-builder-band p {
  margin: 0;
  color: #4d5a55;
  line-height: 1.75;
}

.sb-skill-builder-band .sa-button {
  flex: 0 0 auto;
}

.sb-mcp-intro-band {
  padding: 58px 0;
  border-bottom: 1px solid var(--sa-line);
  background: #fff;
}

.sb-mcp-intro-band .sa-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.sb-mcp-intro-copy h2 {
  margin: 9px 0 13px;
  font-size: 30px;
  line-height: 1.3;
}

.sb-mcp-intro-copy p {
  margin: 0;
  color: #4b5953;
  line-height: 1.8;
}

.sb-mcp-intro-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #bcc8c2;
  list-style: none;
}

.sb-mcp-intro-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #dce3e0;
}

.sb-mcp-intro-steps li > span {
  color: #2457d6;
  font-size: 12px;
  font-weight: 900;
}

.sb-mcp-intro-steps strong {
  font-size: 15px;
}

.sb-mcp-intro-steps p {
  margin: 4px 0 0;
  color: #65716c;
  font-size: 13px;
  line-height: 1.65;
}

.sb-mcp-guide-page {
  padding: 24px 0 68px;
}

.sb-mcp-guide-page .sa-breadcrumbs {
  margin-bottom: 16px;
}

.sb-mcp-guide-head {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  padding: 25px 28px;
  border: 1px solid #d7dedb;
  border-radius: 8px;
  background: #fff;
}

.sb-mcp-guide-identity {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  min-width: 0;
}

.sb-mcp-guide-icon {
  width: 64px;
  height: 64px;
}

.sb-mcp-guide-icon svg {
  width: 26px;
  height: 26px;
}

.sb-mcp-guide-identity h1 {
  margin: 5px 0 5px;
  font-size: 34px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sb-mcp-guide-identity p {
  max-width: 720px;
  margin: 0 0 11px;
  color: #53605a;
  line-height: 1.65;
}

.sb-mcp-guide-head > .sa-button {
  flex: 0 0 auto;
}

.sb-mcp-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.sb-mcp-guide-article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7dedb;
  border-radius: 8px;
  background: #fff;
}

.sb-mcp-guide-article > section {
  padding: 32px 36px;
  border-bottom: 1px solid #e1e6e4;
  scroll-margin-top: 92px;
}

.sb-mcp-guide-article > section:last-child {
  border-bottom: 0;
}

.sb-mcp-guide-article h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 13px;
  font-size: 25px;
  line-height: 1.35;
}

.sb-mcp-guide-article h2 svg {
  width: 21px;
  height: 21px;
  color: #0b7455;
}

.sb-mcp-guide-article h3 {
  font-size: 16px;
}

.sb-mcp-guide-article > section > p {
  margin: 0;
  color: #46534d;
  line-height: 1.8;
}

.sb-mcp-guide-article > section > p + p {
  margin-top: 12px;
}

.sb-mcp-guide-article .sb-mcp-lead {
  color: #26332e;
  font-size: 16px;
  line-height: 1.9;
}

.sb-mcp-plain-answer {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid #2457d6;
  background: #f1f5ff;
}

.sb-mcp-plain-answer strong {
  color: #2457d6;
  font-size: 12px;
}

.sb-mcp-plain-answer span {
  color: #34413b;
  font-size: 14px;
  line-height: 1.7;
}

.sb-mcp-official-summary {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #d9e0dd;
  background: #f8faf9;
}

.sb-mcp-official-summary strong {
  display: block;
  margin-bottom: 6px;
  color: #26332e;
  font-size: 12px;
}

.sb-mcp-official-summary p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #55625c;
  font-size: 13px;
  line-height: 1.7;
}

.sb-mcp-ability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 19px;
  border-top: 1px solid #d9e0dd;
  border-left: 1px solid #d9e0dd;
}

.sb-mcp-ability-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 84px;
  padding: 14px;
  border-right: 1px solid #d9e0dd;
  border-bottom: 1px solid #d9e0dd;
}

.sb-mcp-ability-list span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #aac1b6;
  border-radius: 4px;
  color: #0b7455;
  background: #edf7f2;
  font-size: 10px;
  font-weight: 900;
}

.sb-mcp-ability-list strong {
  font-size: 14px;
  line-height: 1.55;
}

.sb-mcp-fit-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid #d8dfdc;
  border-left: 1px solid #d8dfdc;
}

.sb-mcp-fit-pair article {
  padding: 18px;
  border-right: 1px solid #d8dfdc;
  border-bottom: 1px solid #d8dfdc;
}

.sb-mcp-fit-pair article:first-child {
  background: #f1f8f5;
}

.sb-mcp-fit-pair article:last-child {
  background: #fbf7ef;
}

.sb-mcp-fit-pair span {
  display: block;
  margin-bottom: 7px;
  color: #0b7455;
  font-size: 11px;
  font-weight: 900;
}

.sb-mcp-fit-pair strong {
  display: block;
  font-size: 15px;
  line-height: 1.55;
}

.sb-mcp-fit-pair p {
  margin: 8px 0 0;
  color: #5b6661;
  font-size: 13px;
  line-height: 1.7;
}

.sb-mcp-prereqs {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #dce3e0;
  background: #f7f9f8;
}

.sb-mcp-install-method {
  margin-top: 22px;
}

.sb-mcp-install-method > h3 {
  margin: 0 0 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #dce3e0;
  color: #1f2d27;
  font-size: 20px;
  line-height: 1.4;
}

.sb-mcp-codex-install > p {
  max-width: 760px;
}

.sb-mcp-codex-install [data-guide="codex-install"] {
  margin-top: 18px;
}

.sb-mcp-codex-install .sb-command-block {
  margin-top: 0;
}

.sb-mcp-codex-install .sb-command-block pre {
  max-height: none;
}

.sb-mcp-prereqs h3 {
  margin: 0 0 9px;
}

.sb-mcp-prereqs ul,
.sb-mcp-guide-article .sb-risk-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: #46534d;
  line-height: 1.7;
}

.sb-mcp-prereqs code {
  overflow-wrap: anywhere;
}

.sb-mcp-source-install {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #cbd8d2;
  background: #f3f7f5;
}

.sb-mcp-source-install > svg {
  width: 24px;
  height: 24px;
  color: #173f31;
}

.sb-mcp-source-install strong {
  display: block;
  color: #1e2c26;
}

.sb-mcp-source-install p {
  margin: 5px 0 12px;
  color: #52605a;
  font-size: 13px;
  line-height: 1.7;
}

.sb-mcp-source-install .sa-button {
  min-height: 38px;
}

.sb-mcp-guide-article .sb-command-block {
  border-radius: 6px;
}

.sb-mcp-guide-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.sb-mcp-guide-aside > section {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d7dedb;
  border-radius: 7px;
  background: #fff;
}

.sb-mcp-guide-aside h2 {
  margin: 0 0 11px;
  font-size: 15px;
}

.sb-mcp-guide-aside p {
  margin: 0;
  color: #596660;
  font-size: 12px;
  line-height: 1.7;
}

.sb-mcp-guide-aside p + p {
  margin-top: 9px;
}

.sb-mcp-page-nav {
  display: grid;
}

.sb-mcp-page-nav a {
  padding: 8px 0;
  border-top: 1px solid #e4e9e7;
  color: #53605a;
  font-size: 12px;
}

.sb-mcp-page-nav a:hover {
  color: #2457d6;
}

.sb-mcp-guide-aside dl {
  display: grid;
  gap: 0;
  margin: 0 0 14px;
}

.sb-mcp-guide-aside dl > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid #e4e9e7;
  font-size: 12px;
}

.sb-mcp-guide-aside dt {
  color: #7a8580;
}

.sb-mcp-guide-aside dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #2d3934;
  font-weight: 700;
}

.sb-mcp-guide-aside .sa-button {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  font-size: 12px;
}

.sb-mcp-guide-aside .sb-related-link {
  padding: 10px 0;
}

[data-page="stage-b-mcp-detail"] .sb-mcp-guide-aside {
  gap: 8px;
  align-content: start;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav {
  order: 0;
  padding: 12px;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav a {
  padding: 2px 0;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav + section {
  order: 1;
  padding: 12px;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav + section h2 {
  margin-bottom: 8px;
  font-size: 16px;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav + section dl {
  grid-template-columns: minmax(0, 1.45fr) minmax(88px, 0.55fr);
  gap: 10px;
  margin: 0 0 10px;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav + section dl > div {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 0;
  border-top: 0;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav + section dl > div:nth-child(2),
.sb-mcp-guide-aside > .sb-mcp-page-nav + section dl > div:nth-child(3),
.sb-mcp-guide-aside > .sb-mcp-page-nav + section dl > div:nth-child(n + 5) {
  display: none;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav + section dd {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.45;
}

.sb-mcp-guide-aside > .sb-mcp-page-nav + section .sa-button {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 11px;
}

.sb-mcp-guide-aside > .sb-wechat-card ~ section {
  display: none;
}

.sb-mcp-guide-aside > .sb-wechat-card {
  padding: 10px;
}

.sb-mcp-guide-aside .sb-wechat-qr {
  width: 124px;
}

@media (max-width: 1100px) {
  .sb-mcp-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-mcp-guide-layout {
    grid-template-columns: minmax(0, 1fr) 258px;
  }
}

@media (max-width: 900px) {
  .sb-mcp-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-intro-band .sa-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sb-mcp-guide-layout {
    grid-template-columns: 1fr;
  }

  .sb-mcp-guide-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-page-nav {
    grid-column: 1 / -1;
  }

  .sb-detail-aside > .sb-skill-page-nav {
    display: none;
  }

  .sb-mcp-guide-aside > .sb-mcp-page-nav {
    display: none;
  }

  .sb-mcp-guide-aside .sb-wechat-qr {
    width: 190px;
  }
}

@media (max-width: 680px) {
  .sb-mcp-catalog {
    padding: 28px 0 42px;
  }

  .sb-mcp-catalog .sa-shell,
  .sb-mcp-intro-band .sa-shell,
  .sb-skill-builder-band .sa-shell,
  .sb-mcp-guide-page > .sa-shell {
    width: min(calc(100% - 32px), 1240px);
  }

  .sb-mcp-catalog-head h1 {
    font-size: 30px;
  }

  .sb-mcp-catalog-head p {
    font-size: 14px;
  }

  .sb-mcp-catalog-controls {
    margin-top: 22px;
    padding: 14px;
  }

  .sb-mcp-catalog-search {
    grid-template-columns: 18px minmax(0, 1fr) 64px;
  }

  .sb-mcp-catalog-search > svg {
    margin-left: 11px;
  }

  .sb-mcp-catalog-search input {
    padding: 0 9px;
    font-size: 13px;
  }

  .sb-mcp-catalog-search button {
    min-width: 64px;
  }

  .sb-mcp-filter-group {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sb-mcp-filter-group > span {
    padding-top: 0;
  }

  .sb-mcp-catalog-result {
    display: grid;
    gap: 4px;
  }

  .sb-mcp-compact-grid {
    grid-template-columns: 1fr;
  }

  .sb-mcp-compact-card {
    min-height: 304px;
  }

  .sb-skill-compact-card {
    min-height: 342px;
  }

  .sb-skill-card-rank {
    gap: 8px;
  }

  .sb-skills-ranking-note,
  .sb-mcp-ranking-note {
    padding: 11px 12px;
  }

  .sb-mcp-intro-band {
    padding: 42px 0;
  }

  .sb-skill-builder-band {
    padding: 38px 0;
  }

  .sb-skill-builder-band .sa-shell {
    display: grid;
    gap: 20px;
  }

  .sb-skill-builder-band h2 {
    font-size: 24px;
  }

  .sb-skill-builder-band .sa-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .sb-mcp-intro-copy h2 {
    font-size: 25px;
  }

  .sb-mcp-guide-page {
    padding-top: 16px;
  }

  .sb-mcp-guide-head {
    display: grid;
    padding: 20px 18px;
  }

  .sb-mcp-guide-identity {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 13px;
  }

  .sb-mcp-guide-icon {
    width: 52px;
    height: 52px;
  }

  .sb-mcp-guide-identity h1 {
    font-size: 27px;
  }

  .sb-mcp-guide-head > .sa-button {
    width: 100%;
  }

  .sb-mcp-guide-article > section {
    padding: 25px 18px;
  }

  .sb-mcp-guide-article h2 {
    align-items: flex-start;
    font-size: 22px;
  }

  .sb-mcp-install-method > h3 {
    font-size: 18px;
  }

  .sb-mcp-plain-answer {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sb-mcp-ability-list,
  .sb-mcp-fit-pair,
  .sb-mcp-guide-aside {
    grid-template-columns: 1fr;
  }

  .sb-mcp-page-nav {
    grid-column: auto;
  }

  .sb-mcp-guide-article .sb-command-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sb-mcp-guide-article .sb-command-head .sa-copy-button {
    width: 100%;
  }

  .sb-mcp-guide-article .sb-step-list li {
    padding-right: 15px;
    padding-left: 59px;
  }
}

/* Keep the Skills home overrides above the older shared catalog rules in the cascade. */
.sb-mcp-tutorials.sb-skills-tutorials {
  padding: 50px 0;
}

.sb-mcp-directory.sb-skills-directory {
  padding: 52px 0 56px;
}

.sb-skill-compact-card.sb-skill-resource-card {
  min-height: 244px;
}

.sb-skill-builder-band.sb-skill-creator-strip {
  padding: 28px 0;
  border-bottom: 1px solid #e5e9f2;
  background: #f8faff;
}

.sb-skill-builder-band.sb-skill-creator-strip .sa-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 172px;
  gap: 24px;
  align-items: center;
}

.sb-skill-builder-band.sb-skill-creator-strip h2 {
  margin: 5px 0 6px;
  font-size: 20px;
}

.sb-skill-builder-band.sb-skill-creator-strip p {
  color: #657087;
  font-size: 12px;
  line-height: 1.65;
}

.sb-skill-builder-band.sb-skill-creator-strip .sa-button {
  font-size: 11px;
  white-space: nowrap;
}

.sb-mcp-faq-section.sb-skills-faq-section {
  padding: 48px 0;
}

.sb-mcp-faq-grid.sb-skills-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .sb-skill-builder-band.sb-skill-creator-strip .sa-shell {
    grid-template-columns: 230px minmax(0, 1fr) 172px;
  }
}

@media (max-width: 900px) {
  .sb-skill-builder-band.sb-skill-creator-strip .sa-shell {
    grid-template-columns: 1fr;
  }

  .sb-skill-builder-band.sb-skill-creator-strip .sa-button {
    grid-column: auto;
    justify-self: start;
  }

  .sb-skill-creator-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sb-mcp-tutorials.sb-skills-tutorials,
  .sb-mcp-directory.sb-skills-directory,
  .sb-mcp-faq-section.sb-skills-faq-section {
    padding: 40px 0;
  }

  .sb-skill-compact-card.sb-skill-resource-card {
    min-height: 230px;
  }

  .sb-skills-hero-copy h1 {
    font-size: 30px;
    line-height: 1.18;
  }

  .sb-skills-hero-break {
    display: none;
  }

  .sb-skill-builder-band.sb-skill-creator-strip {
    padding: 24px 0;
  }

  .sb-skill-builder-band.sb-skill-creator-strip .sa-button {
    width: 100%;
    white-space: normal;
  }

  .sb-skill-creator-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sb-skill-creator-benefits li {
    padding: 0;
    border-left: 0;
  }

  .sb-mcp-faq-grid.sb-skills-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* MCP detail: compact reference layout with task-first installation guidance. */
[data-page="stage-b-mcp-detail"] #main {
  color: #152239;
  background: #f5f7f8;
}

[data-page="stage-b-mcp-detail"] .sa-shell {
  width: min(calc(100% - 48px), 1240px);
}

[data-page="stage-b-mcp-detail"] .sa-button {
  border-color: #078b62;
  color: #fff;
  background: #078b62;
}

[data-page="stage-b-mcp-detail"] .sa-button:hover {
  border-color: #057552;
  background: #057552;
}

[data-page="stage-b-mcp-detail"] .sa-button.light {
  border-color: #d8e1de;
  color: #22332d;
  background: #fff;
}

.sb-mcp-reference-page {
  padding: 18px 0 48px;
}

.sb-mcp-reference-page .sa-breadcrumbs {
  margin-bottom: 16px;
}

.sb-mcp-reference-hero {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  background: #fff;
}

.sb-mcp-reference-hero-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dbe3e0;
  border-radius: 8px;
  background: #fff;
}

.sb-mcp-reference-hero-icon > svg {
  grid-area: 1 / 1;
  width: 32px;
  height: 32px;
  color: #078b62;
}

.sb-mcp-reference-hero-icon img {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  width: 64px;
  height: 64px;
  padding: 5px;
  background: #fff;
  object-fit: contain;
}

.sb-mcp-reference-hero-copy {
  min-width: 0;
}

.sb-mcp-reference-hero-copy .sa-kicker {
  color: #078b62;
  font-size: 11px;
}

.sb-mcp-reference-hero-copy h1 {
  margin: 7px 0 7px;
  color: #132039;
  font-size: 34px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.sb-mcp-reference-hero-copy > p {
  max-width: 730px;
  margin: 0 0 12px;
  color: #57645f;
  font-size: 14px;
  line-height: 1.65;
}

.sb-mcp-reference-hero .sb-mcp-card-tags {
  gap: 7px;
}

.sb-mcp-reference-hero .sb-mcp-card-tags span {
  padding: 4px 8px;
  border-color: #dce3e1;
  border-radius: 4px;
  color: #4a5853;
  background: #f8faf9;
  font-size: 10px;
}

.sb-mcp-reference-hero-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.sb-mcp-popularity {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-self: end;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #dce3e1;
  border-radius: 6px;
  color: #293831;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.sb-mcp-popularity svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.sb-mcp-reference-hero-actions .sa-button {
  justify-content: center;
  min-height: 44px;
  font-size: 12px;
}

.sb-mcp-reference-hero-actions small {
  color: #76817c;
  font-size: 9px;
  text-align: center;
}

.sb-mcp-reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 258px;
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.sb-mcp-reference-main {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.sb-mcp-reference-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 88px;
}

.sb-mcp-reference-card h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 12px;
  color: #17243a;
  font-size: 21px;
  line-height: 1.35;
}

.sb-mcp-reference-card h2 > svg {
  width: 19px;
  height: 19px;
  color: #078b62;
}

.sb-mcp-reference-card > p {
  margin: 0;
  color: #485650;
  font-size: 13px;
  line-height: 1.8;
}

.sb-mcp-reference-card > p + p {
  margin-top: 9px;
}

.sb-mcp-reference-card .sb-mcp-reference-lead {
  color: #2f3d37;
  font-size: 14px;
}

.sb-mcp-reference-card .sb-mcp-plain-answer {
  margin-top: 16px;
  border-left-color: #4975ff;
  border-radius: 0 6px 6px 0;
  background: #f3f6ff;
}

.sb-mcp-reference-abilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sb-mcp-reference-abilities article {
  display: grid;
  min-width: 0;
  min-height: 126px;
  grid-template-columns: 28px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: start;
  padding: 15px;
  border: 1px solid #dce3e1;
  border-radius: 7px;
  background: #fbfcfc;
}

.sb-mcp-reference-abilities article > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #9ccab8;
  border-radius: 5px;
  color: #078b62;
  background: #edf8f4;
  font-size: 10px;
  font-weight: 900;
}

.sb-mcp-reference-abilities article > div {
  min-width: 0;
}

.sb-mcp-reference-abilities strong {
  display: block;
  color: #26342e;
  font-size: 12px;
  line-height: 1.5;
}

.sb-mcp-reference-abilities p {
  margin: 5px 0 0;
  color: #6a7671;
  font-size: 10px;
  line-height: 1.6;
}

.sb-mcp-reference-abilities article > svg {
  width: 42px;
  height: 42px;
  align-self: center;
  padding: 9px;
  border: 1px solid #e1e7e5;
  border-radius: 50%;
  color: #6380e5;
  background: #fff;
}

.sb-mcp-reference-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.sb-mcp-reference-fit article {
  min-width: 0;
  padding: 17px;
  border: 1px solid #d6e8e1;
  border-radius: 7px;
  background: #f5faf8;
}

.sb-mcp-reference-fit article:last-child {
  border-color: #efd9cf;
  background: #fff8f5;
}

.sb-mcp-reference-fit strong {
  display: block;
  margin-bottom: 9px;
  color: #078b62;
  font-size: 12px;
}

.sb-mcp-reference-fit article:last-child strong {
  color: #df6840;
}

.sb-mcp-reference-fit ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-mcp-reference-fit li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 7px;
  color: #44514c;
  font-size: 11px;
  line-height: 1.55;
}

.sb-mcp-reference-fit li svg {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: #078b62;
}

.sb-mcp-reference-fit article:last-child li svg {
  color: #e4774f;
}

.sb-mcp-reference-connect {
  padding-bottom: 20px;
}

.sb-mcp-install-tablist {
  display: flex;
  gap: 0;
  margin: 0 0 16px;
  border-bottom: 1px solid #dce3e1;
}

.sb-mcp-install-tablist button {
  min-height: 38px;
  padding: 8px 15px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #64706b;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.sb-mcp-install-tablist button[aria-selected="true"] {
  border-bottom-color: #078b62;
  color: #078b62;
}

.sb-mcp-install-tablist button:focus-visible {
  outline: 3px solid rgba(7, 139, 98, 0.18);
  outline-offset: 2px;
}

.sb-mcp-install-panel[hidden] {
  display: none;
}

.sb-mcp-install-panel > p {
  margin: 0 0 15px;
  color: #53605a;
  font-size: 12px;
  line-height: 1.7;
}

.sb-mcp-install-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid #dce3e1;
  border-radius: 7px;
  list-style: none;
}

.sb-mcp-install-track li {
  display: grid;
  min-width: 0;
  grid-template-columns: 30px minmax(0, 1fr) 13px;
  gap: 8px;
  align-items: start;
  padding: 14px 11px;
  border-right: 1px solid #e2e7e5;
}

.sb-mcp-install-track li:last-child {
  grid-template-columns: 30px minmax(0, 1fr);
  border-right: 0;
}

.sb-mcp-install-track li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #078b62;
  background: #eaf7f2;
  font-size: 11px;
  font-weight: 900;
}

.sb-mcp-install-track strong {
  display: block;
  color: #26342e;
  font-size: 11px;
}

.sb-mcp-install-track p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: #65716c;
  font-size: 9px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sb-mcp-install-track code {
  overflow-wrap: anywhere;
}

.sb-mcp-install-track li > svg {
  width: 13px;
  height: 13px;
  align-self: center;
  color: #9cb7ad;
}

.sb-mcp-reference-connect .sb-command-block,
.sb-mcp-reference-card > .sb-command-block {
  margin-top: 14px;
  border-radius: 7px;
}

.sb-mcp-reference-connect .sb-command-block:first-of-type {
  margin-top: 0;
}

.sb-mcp-reference-connect .sb-mcp-source-install {
  border-radius: 7px;
}

.sb-mcp-install-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sb-mcp-install-meta > section {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dce3e1;
  border-radius: 7px;
  background: #fbfcfc;
}

.sb-mcp-install-meta > section:last-child {
  border-color: #cee3db;
  background: #f1f8f5;
}

.sb-mcp-install-meta h3 {
  margin: 0 0 8px;
  color: #2b3933;
  font-size: 12px;
}

.sb-mcp-install-meta ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #52605a;
  font-size: 10px;
  line-height: 1.6;
}

.sb-mcp-install-meta a {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) 13px;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  color: #236e55;
}

.sb-mcp-install-meta a + a {
  border-top: 1px solid #d8e7e2;
}

.sb-mcp-install-meta a > svg {
  width: 15px;
  height: 15px;
}

.sb-mcp-install-meta a span {
  min-width: 0;
}

.sb-mcp-install-meta a strong,
.sb-mcp-install-meta a small {
  display: block;
}

.sb-mcp-install-meta a strong {
  font-size: 10px;
}

.sb-mcp-install-meta a small {
  margin-top: 2px;
  overflow: hidden;
  color: #6b7772;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-mcp-reference-card .sb-mcp-success {
  margin-top: 13px;
  border-color: #cfe5dc;
  background: #f0f8f5;
}

.sb-mcp-reference-card .sb-step-list {
  margin-top: 13px;
}

.sb-mcp-reference-card .sb-risk-list {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding-left: 19px;
  color: #4d5a55;
  font-size: 12px;
  line-height: 1.65;
}

.sb-mcp-reference-aside {
  position: sticky;
  top: 86px;
  display: grid;
  min-width: 0;
  gap: 10px;
}

.sb-mcp-reference-aside > section {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  background: #fff;
}

.sb-mcp-reference-aside h2 {
  margin: 0 0 10px;
  color: #24322c;
  font-size: 14px;
}

.sb-mcp-reference-aside .sb-mcp-page-nav {
  display: grid;
}

.sb-mcp-reference-aside .sb-mcp-page-nav a {
  padding: 7px 0;
  border-top: 1px solid #e7ebe9;
  color: #5c6963;
  font-size: 10px;
}

.sb-mcp-reference-aside .sb-mcp-page-nav a:hover,
.sb-mcp-reference-aside .sb-mcp-page-nav a.active {
  color: #078b62;
}

.sb-mcp-reference-aside dl {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.sb-mcp-reference-aside dl > div {
  display: grid;
  gap: 3px;
}

.sb-mcp-reference-aside dt {
  color: #7b8681;
  font-size: 9px;
}

.sb-mcp-reference-aside dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #2c3933;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.45;
}

.sb-mcp-reference-aside .sa-button {
  width: 100%;
  min-height: 36px;
  justify-content: center;
  padding: 7px 9px;
  font-size: 10px;
}

.sb-mcp-reference-aside .sb-wechat-card {
  text-align: center;
}

.sb-mcp-reference-aside .sb-wechat-card p {
  margin: 0;
  color: #697570;
  font-size: 9px;
  line-height: 1.55;
}

.sb-mcp-reference-aside .sb-wechat-qr {
  width: 132px;
  max-width: 100%;
  margin: 10px auto 5px;
}

.sb-mcp-reference-aside .sb-wechat-card small {
  color: #7d8883;
  font-size: 8px;
}

.sb-mcp-reference-related {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  background: #fff;
}

.sb-mcp-reference-related > h2 {
  margin: 0 0 13px;
  color: #203029;
  font-size: 17px;
}

.sb-mcp-reference-related > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.sb-mcp-reference-related-card {
  display: grid;
  min-width: 0;
  min-height: 100px;
  grid-template-columns: 38px minmax(0, 1fr) 13px;
  gap: 9px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dce3e1;
  border-radius: 7px;
  color: #21312a;
  background: #fff;
}

.sb-mcp-reference-related-card:hover {
  border-color: #8dbdaa;
}

.sb-mcp-reference-related-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce3e1;
  border-radius: 7px;
  background: #f8faf9;
}

.sb-mcp-reference-related-icon > svg {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  color: #078b62;
}

.sb-mcp-reference-related-icon img {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  width: 32px;
  height: 32px;
  padding: 3px;
  background: #fff;
  object-fit: contain;
}

.sb-mcp-reference-related-card > span {
  min-width: 0;
}

.sb-mcp-reference-related-card strong,
.sb-mcp-reference-related-card small,
.sb-mcp-reference-related-card em {
  display: block;
  overflow: hidden;
}

.sb-mcp-reference-related-card strong {
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-mcp-reference-related-card small {
  display: -webkit-box;
  min-height: 28px;
  margin-top: 3px;
  color: #697570;
  font-size: 8px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sb-mcp-reference-related-card em {
  margin-top: 5px;
  color: #88928e;
  font-size: 8px;
  font-style: normal;
}

.sb-mcp-reference-related-card > svg {
  width: 13px;
  height: 13px;
  color: #789087;
}

.sb-mcp-reference-cta {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(420px, 1fr) 150px;
  gap: 24px;
  align-items: center;
  margin-top: 14px;
  padding: 22px 26px;
  border: 1px solid #c9e1d7;
  border-radius: 8px;
  background: #eef8f4;
}

.sb-mcp-reference-cta h2 {
  margin: 0 0 5px;
  color: #18342a;
  font-size: 19px;
  line-height: 1.35;
}

.sb-mcp-reference-cta p {
  margin: 0;
  color: #5f716a;
  font-size: 10px;
  line-height: 1.6;
}

.sb-mcp-reference-cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sb-mcp-reference-cta-points span {
  display: grid;
  min-width: 0;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 7px;
  align-items: center;
}

.sb-mcp-reference-cta-points svg {
  width: 28px;
  height: 28px;
  grid-row: 1 / 3;
  padding: 6px;
  border-radius: 50%;
  color: #078b62;
  background: #fff;
}

.sb-mcp-reference-cta-points b,
.sb-mcp-reference-cta-points small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-mcp-reference-cta-points b {
  color: #31433c;
  font-size: 9px;
}

.sb-mcp-reference-cta-points small {
  color: #73817b;
  font-size: 7px;
}

.sb-mcp-reference-cta > .sa-button {
  justify-content: center;
  min-height: 40px;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .sb-mcp-reference-hero {
    grid-template-columns: 72px minmax(0, 1fr) 190px;
  }

  .sb-mcp-reference-hero-icon {
    width: 72px;
    height: 72px;
  }

  .sb-mcp-reference-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .sb-mcp-reference-related > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-mcp-reference-cta {
    grid-template-columns: minmax(240px, 1fr) minmax(390px, 1fr);
  }

  .sb-mcp-reference-cta > .sa-button {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .sb-mcp-reference-hero {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .sb-mcp-reference-hero-actions {
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(180px, 240px) minmax(0, 1fr);
    align-items: center;
  }

  .sb-mcp-popularity {
    justify-self: start;
  }

  .sb-mcp-reference-hero-actions small {
    text-align: left;
  }

  .sb-mcp-reference-layout {
    grid-template-columns: 1fr;
  }

  .sb-mcp-reference-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-reference-aside .sb-mcp-page-nav {
    display: none;
  }

  .sb-mcp-reference-abilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-install-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-install-track li:nth-child(2) {
    border-right: 0;
  }

  .sb-mcp-install-track li:nth-child(-n + 2) {
    border-bottom: 1px solid #e2e7e5;
  }

  .sb-mcp-reference-cta {
    grid-template-columns: 1fr;
  }

  .sb-mcp-reference-cta > .sa-button {
    grid-column: auto;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  [data-page="stage-b-mcp-detail"] .sa-shell {
    width: min(calc(100% - 28px), 1240px);
  }

  .sb-mcp-reference-page {
    padding: 12px 0 34px;
  }

  .sb-mcp-reference-hero {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 17px;
  }

  .sb-mcp-reference-hero-icon {
    width: 56px;
    height: 56px;
  }

  .sb-mcp-reference-hero-icon img {
    width: 48px;
    height: 48px;
  }

  .sb-mcp-reference-hero-copy h1 {
    font-size: 27px;
  }

  .sb-mcp-reference-hero-copy > p,
  .sb-mcp-reference-hero .sb-mcp-card-tags {
    grid-column: 1 / -1;
  }

  .sb-mcp-reference-hero-actions {
    grid-template-columns: 1fr;
  }

  .sb-mcp-popularity,
  .sb-mcp-reference-hero-actions .sa-button {
    width: 100%;
    justify-self: stretch;
  }

  .sb-mcp-reference-hero-actions small {
    text-align: center;
  }

  .sb-mcp-reference-card {
    padding: 18px;
  }

  .sb-mcp-reference-card h2 {
    font-size: 19px;
  }

  .sb-mcp-reference-card .sb-mcp-plain-answer {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sb-mcp-reference-abilities,
  .sb-mcp-reference-fit,
  .sb-mcp-install-meta,
  .sb-mcp-reference-aside,
  .sb-mcp-reference-related > div,
  .sb-mcp-reference-cta-points {
    grid-template-columns: 1fr;
  }

  .sb-mcp-reference-abilities article {
    min-height: 108px;
  }

  .sb-mcp-install-tablist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-mcp-install-tablist button {
    min-width: 0;
    padding: 8px;
    font-size: 10px;
    white-space: normal;
  }

  .sb-mcp-install-track {
    grid-template-columns: 1fr;
  }

  .sb-mcp-install-track li,
  .sb-mcp-install-track li:nth-child(2),
  .sb-mcp-install-track li:last-child {
    grid-template-columns: 30px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid #e2e7e5;
  }

  .sb-mcp-install-track li:last-child {
    border-bottom: 0;
  }

  .sb-mcp-install-track li > svg {
    display: none;
  }

  .sb-mcp-reference-card .sb-command-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sb-mcp-reference-card .sb-command-head .sa-copy-button {
    width: 100%;
  }

  .sb-mcp-reference-card .sb-step-list li {
    padding-right: 14px;
    padding-left: 57px;
  }

  .sb-mcp-reference-related,
  .sb-mcp-reference-cta {
    padding: 18px;
  }

  .sb-mcp-reference-cta > .sa-button {
    width: 100%;
  }
}

/* Skills detail reference layout */
[data-page="stage-b-skill-detail"] {
  --skill-detail-border: #dfe5ec;
  --skill-detail-muted: #657184;
  --skill-detail-green: #07895f;
  --skill-detail-green-soft: #eaf7f1;
  --skill-detail-blue-soft: #f1f6ff;
  background: #f7f9fc;
  letter-spacing: 0;
}

.sb-skill-reference-page {
  padding: 18px 0 0;
  color: #162033;
  background: #f7f9fc;
}

.sb-skill-reference-page .sa-shell {
  width: min(1240px, calc(100% - 48px));
}

.sb-skill-reference-page .sa-breadcrumbs {
  margin-bottom: 16px;
  color: var(--skill-detail-muted);
  font-size: 12px;
}

.sb-skill-reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 266px;
  gap: 14px;
  align-items: start;
}

.sb-skill-reference-main {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.sb-skill-detail-hero,
.sb-skill-reference-main > section {
  min-width: 0;
  border: 1px solid var(--skill-detail-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(31, 45, 70, 0.035);
}

.sb-skill-detail-hero {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  padding: 18px;
}

.sb-skill-reference-avatar {
  width: 66px;
  height: 66px;
  border: 1px solid #cfd7e1;
  border-radius: 5px;
}

.sb-global-search input:focus-visible,
.kb-search input:focus-visible {
  outline: 3px solid #0b6b4f;
  outline-offset: 2px;
}

.sb-skill-reference-avatar img {
  padding: 5px;
}

.sb-skill-hero-copy {
  min-width: 0;
}

.sb-skill-hero-copy .sa-kicker {
  color: var(--skill-detail-green);
  font-size: 11px;
}

.sb-skill-hero-copy h1 {
  margin: 4px 0 5px;
  font-size: 31px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.sb-skill-hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: var(--skill-detail-muted);
  font-size: 13px;
  line-height: 1.65;
}

.sb-skill-hero-copy .sb-tags {
  margin-top: 10px;
}

.sb-skill-hero-copy .sb-tags span {
  padding: 3px 7px;
  border-color: #dbe2ea;
  color: #465368;
  background: #fff;
  font-size: 10px;
}

.sb-skill-hero-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 230px;
}

.sb-skill-hero-actions .sa-button {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 5px;
  background: var(--skill-detail-green);
  font-size: 12px;
}

.sb-skill-hero-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.sb-skill-hero-actions > div span {
  padding: 3px 7px;
  border: 1px solid #dce3eb;
  border-radius: 999px;
  color: #687488;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
}

.sb-skill-fact-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  overflow: hidden;
}

.sb-skill-fact-strip > span {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-content: center;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  border-right: 1px solid var(--skill-detail-border);
}

.sb-skill-fact-strip > span:last-child {
  border-right: 0;
}

.sb-skill-fact-strip svg {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  width: 17px;
  color: #2563eb;
}

.sb-skill-fact-strip small {
  grid-column: 2;
  color: var(--skill-detail-muted);
  font-size: 9px;
}

.sb-skill-fact-strip strong {
  grid-column: 2;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sb-skill-reference-main > section {
  padding: 16px 18px;
  scroll-margin-top: 86px;
}

.sb-skill-reference-main > section > p {
  margin: 0;
  color: #4e5a6d;
  font-size: 13px;
  line-height: 1.75;
}

.sb-skill-section-heading {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.sb-skill-section-heading > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  color: var(--skill-detail-green);
  background: var(--skill-detail-green-soft);
}

.sb-skill-section-heading > span svg {
  width: 15px;
  height: 15px;
}

.sb-skill-section-heading h2 {
  margin: 1px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.sb-skill-section-heading h2 small {
  color: #3b4658;
  font-size: 11px;
  font-weight: 700;
}

.sb-skill-section-heading p {
  margin: 4px 0 0;
  color: var(--skill-detail-muted);
  font-size: 12px;
  line-height: 1.6;
}

.sb-skill-one-line {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 13px;
  border-left: 3px solid #4b7df0;
  border-radius: 4px;
  background: var(--skill-detail-blue-soft);
  font-size: 12px;
}

.sb-skill-one-line strong {
  color: #3567df;
}

.sb-skill-task-label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
  font-size: 11px;
}

.sb-skill-task-label strong {
  padding: 4px 8px;
  border-radius: 4px;
  color: #087653;
  background: var(--skill-detail-green-soft);
}

.sb-skill-capability-grid,
.sb-skill-advanced-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sb-skill-capability-grid article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  background: #fff;
}

.sb-skill-capability-grid article > svg {
  width: 15px;
  height: 15px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 5px;
  color: var(--skill-detail-green);
  background: var(--skill-detail-green-soft);
}

.sb-skill-capability-grid strong,
.sb-skill-advanced-grid strong {
  display: block;
  font-size: 11px;
}

.sb-skill-capability-grid p,
.sb-skill-advanced-grid p {
  margin: 4px 0 0;
  color: var(--skill-detail-muted);
  font-size: 9px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.sb-skill-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sb-skill-fit-grid span {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  color: #3f4c60;
  font-size: 10px;
  line-height: 1.5;
}

.sb-skill-fit-grid svg {
  width: 13px;
  flex: 0 0 13px;
  margin-top: 1px;
  color: var(--skill-detail-green);
}

.sb-skill-prerequisite-list,
.sb-skill-reference-main .sb-risk-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #455266;
  font-size: 11px;
  line-height: 1.65;
}

.sb-skill-io-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.sb-skill-io-band article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  background: #fbfcfe;
}

.sb-skill-io-band article > span {
  color: var(--skill-detail-green);
  font-size: 9px;
  font-weight: 800;
}

.sb-skill-io-band h3 {
  margin: 3px 0 7px;
  font-size: 12px;
}

.sb-skill-io-band ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
  color: var(--skill-detail-muted);
  font-size: 10px;
  line-height: 1.5;
}

.sb-skill-install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sb-skill-install-grid > article {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  background: #fbfcfd;
}

.sb-skill-install-grid > article:first-child {
  border-color: #61b89a;
  box-shadow: inset 0 2px 0 var(--skill-detail-green);
}

.sb-skill-method-head > span {
  color: var(--skill-detail-green);
  font-size: 9px;
  font-weight: 900;
}

.sb-skill-method-head h3 {
  margin: 3px 0;
  font-size: 13px;
}

.sb-skill-method-head p {
  margin: 0;
  color: var(--skill-detail-muted);
  font-size: 10px;
  line-height: 1.5;
}

.sb-skill-reference-page .sb-command-block {
  margin: 10px 0 0;
  border-color: #263345;
  border-radius: 5px;
  overflow: hidden;
  background: #111a28;
}

.sb-skill-reference-page .sb-command-head {
  gap: 8px;
  padding: 9px 10px;
  border-color: #344257;
}

.sb-skill-reference-page .sb-command-head h3 {
  margin-top: 2px;
  font-size: 11px;
}

.sb-skill-reference-page .sb-command-head .sb-eyebrow {
  font-size: 8px;
}

.sb-skill-reference-page .sa-copy-button {
  min-height: 28px;
  padding: 5px 7px;
  font-size: 9px;
  white-space: nowrap;
}

.sb-skill-reference-page .sa-copy-button svg {
  width: 12px;
  height: 12px;
}

.sb-skill-reference-page .sb-command-block pre {
  max-height: 190px;
  padding: 11px;
  font-size: 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sb-skill-global-install {
  margin-top: 10px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  background: #fff;
}

.sb-skill-global-install > summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  color: #3f4c60;
  font-size: 10px;
  font-weight: 800;
  list-style: none;
}

.sb-skill-global-install > summary::-webkit-details-marker {
  display: none;
}

.sb-skill-global-install > summary svg {
  width: 14px;
}

.sb-skill-global-install .sb-command-block {
  margin: 0 10px 10px;
}

.sb-skill-install-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.sb-skill-install-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  background: #fff;
}

.sb-skill-install-steps li:not(:last-child)::after {
  position: absolute;
  left: calc(100% + 7px);
  color: #78859a;
  content: "→";
}

.sb-skill-install-steps span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--skill-detail-green);
  background: var(--skill-detail-green-soft);
  font-size: 9px;
  font-weight: 900;
}

.sb-skill-install-steps strong {
  font-size: 9px;
  line-height: 1.4;
}

.sb-skill-install-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px 11px;
  border: 1px solid #cfddf9;
  border-radius: 5px;
  color: #41516d;
  background: var(--skill-detail-blue-soft);
  font-size: 10px;
  line-height: 1.55;
}

.sb-skill-install-check svg {
  width: 14px;
  flex: 0 0 14px;
  margin-top: 1px;
  color: #376be0;
}

.sb-skill-install-check code,
.sb-skill-use-steps code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sb-skill-use-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.sb-skill-use-steps li {
  display: flex;
  gap: 7px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  color: #4a576b;
  font-size: 9px;
  line-height: 1.5;
}

.sb-skill-use-steps svg {
  width: 12px;
  flex: 0 0 12px;
  margin-top: 2px;
  color: var(--skill-detail-green);
}

.sb-skill-structure-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--skill-detail-green);
  font-size: 9px;
  font-weight: 900;
}

.sb-skill-advanced-grid article {
  position: relative;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  background: #fbfcfe;
}

.sb-skill-advanced-grid article > span {
  position: absolute;
  top: 8px;
  right: 9px;
  color: #a3adbc;
  font-size: 8px;
  font-weight: 900;
}

.sb-skill-advanced-grid article > svg {
  width: 15px;
  margin-bottom: 7px;
  color: #52647f;
}

.sb-skill-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}

.sb-skill-faq-grid details {
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  background: #fff;
}

.sb-skill-faq-grid summary {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 9px 11px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}

.sb-skill-faq-grid summary::-webkit-details-marker {
  display: none;
}

.sb-skill-faq-grid summary svg {
  width: 13px;
  flex: 0 0 13px;
  color: #64718a;
}

.sb-skill-faq-grid details p {
  margin: 0;
  padding: 0 11px 11px;
  color: var(--skill-detail-muted);
  font-size: 10px;
  line-height: 1.65;
}

.sb-skill-reference-aside {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.sb-skill-reference-aside > section {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 6px;
  background: #fff;
}

.sb-skill-reference-aside h2 {
  margin: 0 0 7px;
  font-size: 13px;
}

.sb-skill-reference-aside .sb-skill-page-nav {
  display: grid;
  gap: 0;
}

.sb-skill-reference-aside .sb-skill-page-nav a {
  position: relative;
  padding: 3px 4px 3px 15px;
  border-top: 1px solid #edf0f4;
  color: #526075;
  font-size: 9px;
  line-height: 1.35;
}

.sb-skill-reference-aside .sb-skill-page-nav a::before {
  position: absolute;
  top: 8px;
  left: 3px;
  width: 4px;
  height: 4px;
  border: 1px solid #4b7df0;
  border-radius: 50%;
  content: "";
}

.sb-skill-reference-aside .sb-skill-page-nav a.active,
.sb-skill-reference-aside .sb-skill-page-nav a[aria-current="true"] {
  color: #245bd6;
  font-weight: 800;
}

.sb-skill-related-panel nav {
  display: grid;
  margin-bottom: 5px;
}

.sb-skill-related-panel nav a {
  padding: 1px 0;
  color: #4c596d;
  font-size: 10px;
}

.sb-skill-topic-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  gap: 2px 6px;
  padding: 3px 0;
  border-top: 1px solid #edf0f4;
}

.sb-skill-topic-link span {
  grid-column: 1 / -1;
  color: #7b8799;
  font-size: 8px;
}

.sb-skill-topic-link strong {
  font-size: 10px;
  overflow-wrap: anywhere;
}

.sb-skill-topic-link svg {
  width: 13px;
}

.sb-skill-source-panel .sb-eyebrow {
  font-size: 8px;
}

.sb-skill-source-summary {
  display: block;
  margin: -3px 0 7px;
  overflow: hidden;
  color: var(--skill-detail-muted);
  font-size: 9px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-skill-source-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 0;
}

.sb-skill-source-panel dl > div {
  min-width: 0;
}

.sb-skill-source-panel dt {
  color: #7a8698;
  font-size: 8px;
}

.sb-skill-source-panel dd {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.sb-skill-source-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.sb-skill-source-actions a {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-items: center;
  min-height: 31px;
  padding: 6px 8px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 5px;
  color: #2f3d52;
  font-size: 9px;
  font-weight: 800;
}

.sb-skill-source-actions svg {
  width: 12px;
}

.sb-skill-reference-aside > .sb-wechat-card {
  display: grid;
  justify-items: center;
  padding: 8px 9px;
  text-align: center;
}

.sb-skill-reference-aside .sb-wechat-card h2 {
  width: 100%;
  margin-bottom: 3px;
  font-size: 13px;
}

.sb-skill-reference-aside .sb-wechat-card p {
  margin-bottom: 5px;
  font-size: 9px;
}

.sb-skill-reference-aside .sb-wechat-qr {
  width: 98px;
}

.sb-skill-reference-aside .sb-wechat-card small {
  margin-top: 5px;
  font-size: 9px;
}

.sb-skill-mobile-nav {
  display: none;
}

.sb-skill-detail-cta {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  margin: 10px 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--skill-detail-border);
  border-radius: 6px;
  background: #fff;
}

.sb-skill-detail-cta h2,
.sb-skill-detail-cta p {
  margin: 0;
}

.sb-skill-detail-cta h2 {
  margin-top: 3px;
  font-size: 20px;
}

.sb-skill-detail-cta p {
  margin-top: 4px;
  color: var(--skill-detail-muted);
  font-size: 10px;
  line-height: 1.55;
}

.sb-skill-detail-cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(95px, 1fr));
  gap: 12px;
}

.sb-skill-detail-cta-points span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 1px 7px;
  align-items: center;
}

.sb-skill-detail-cta-points svg {
  grid-row: 1 / 3;
  width: 15px;
  height: 15px;
  padding: 7px;
  box-sizing: content-box;
  border-radius: 50%;
  color: var(--skill-detail-green);
  background: var(--skill-detail-green-soft);
}

.sb-skill-detail-cta-points b {
  font-size: 10px;
}

.sb-skill-detail-cta-points small {
  color: var(--skill-detail-muted);
  font-size: 8px;
}

.sb-skill-detail-cta > .sa-button {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 5px;
  background: var(--skill-detail-green);
  font-size: 11px;
  white-space: nowrap;
}

@media (max-width: 1040px) {
  .sb-skill-reference-layout {
    grid-template-columns: minmax(0, 1fr) 244px;
  }

  .sb-skill-capability-grid,
  .sb-skill-advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-skill-detail-cta {
    grid-template-columns: 1fr auto;
  }

  .sb-skill-detail-cta-points {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .sb-skill-reference-layout {
    grid-template-columns: 1fr;
  }

  .sb-skill-reference-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-skill-reference-aside > .sb-skill-page-nav {
    display: none;
  }

  .sb-skill-mobile-nav {
    display: block;
    border: 1px solid var(--skill-detail-border);
    border-radius: 6px;
    background: #fff;
  }

  .sb-skill-mobile-nav summary {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 11px 13px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    list-style: none;
  }

  .sb-skill-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .sb-skill-mobile-nav summary svg {
    width: 14px;
  }

  .sb-skill-mobile-nav summary svg:last-child {
    margin-left: auto;
  }

  .sb-skill-mobile-nav nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 13px 11px;
  }

  .sb-skill-mobile-nav nav a {
    padding: 6px 0;
    color: #526075;
    font-size: 10px;
  }
}

@media (max-width: 720px) {
  .sb-skill-reference-page {
    padding-top: 12px;
  }

  .sb-skill-reference-page .sa-shell {
    width: min(100% - 32px, 1240px);
  }

  .sb-skill-detail-hero {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 14px;
  }

  .sb-skill-reference-avatar {
    width: 56px;
    height: 56px;
  }

  .sb-skill-hero-copy h1 {
    font-size: 26px;
  }

  .sb-skill-hero-actions {
    grid-column: 1 / -1;
    justify-items: stretch;
    min-width: 0;
  }

  .sb-skill-hero-actions > div {
    justify-content: flex-start;
  }

  .sb-skill-fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-skill-fact-strip > span:nth-child(2) {
    border-right: 0;
  }

  .sb-skill-fact-strip > span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--skill-detail-border);
  }

  .sb-skill-reference-main > section {
    padding: 14px;
  }

  .sb-skill-section-heading h2 {
    font-size: 18px;
  }

  .sb-skill-one-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sb-skill-fit-grid,
  .sb-skill-install-steps,
  .sb-skill-use-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-skill-install-steps li::after {
    display: none;
  }

  .sb-skill-install-grid,
  .sb-skill-faq-grid {
    grid-template-columns: 1fr;
  }

  .sb-skill-reference-aside {
    grid-template-columns: 1fr;
  }

  .sb-skill-detail-cta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sb-skill-detail-cta-points {
    grid-column: auto;
    grid-row: auto;
  }

  .sb-skill-detail-cta > .sa-button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .sb-skill-capability-grid,
  .sb-skill-advanced-grid,
  .sb-skill-fit-grid,
  .sb-skill-io-band,
  .sb-skill-use-steps,
  .sb-skill-detail-cta-points {
    grid-template-columns: 1fr;
  }

  .sb-skill-mobile-nav nav {
    grid-template-columns: 1fr;
  }

  .sb-skill-hero-actions .sa-button {
    width: 100%;
    white-space: normal;
  }

  .sb-skill-source-actions {
    grid-template-columns: 1fr;
  }
}

/* Executable Codex installation guide */
.sb-config-install-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0 0;
}

.sb-config-install-methods article {
  position: relative;
  min-width: 0;
  padding: 15px;
  border: 1px solid #dbe3e8;
  border-radius: 6px;
  background: #fff;
}

.sb-config-install-methods article > span {
  color: #16845e;
  font-size: 9px;
  font-weight: 850;
}

.sb-config-install-methods h3 {
  margin: 7px 0 5px;
  color: #24354a;
  font-size: 12px;
  line-height: 1.4;
}

.sb-config-install-methods p {
  margin: 0;
  color: #657386;
  font-size: 9px;
  line-height: 1.6;
}

.sb-config-install-methods article > strong {
  display: inline-block;
  margin-top: 9px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #eaf7f1;
  color: #137b58;
  font-size: 8px;
}

.sb-config-install-methods article:last-child > strong {
  background: #eef3f7;
  color: #596879;
}

.sb-config-install-guide .sb-command-block {
  overflow: hidden;
  margin: 12px 0;
  border-color: #243630;
  border-radius: 6px;
}

.sb-config-install-guide .sb-command-head {
  gap: 12px;
  padding: 10px 12px;
}

.sb-config-install-guide .sb-command-head h3 {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
}

.sb-config-install-guide .sb-command-head .sb-eyebrow {
  font-size: 8px;
}

.sb-config-install-guide .sa-copy-button {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 9px;
}

.sb-config-install-guide .sb-command-block pre {
  max-height: none;
  padding: 14px;
  font-size: 10px;
  line-height: 1.65;
}

.sb-config-install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 13px 0;
  padding: 0;
  list-style: none;
}

.sb-config-install-steps li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
}

.sb-config-install-steps li > span {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #16845e;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.sb-config-install-steps strong {
  display: block;
  color: #2a394c;
  font-size: 10px;
}

.sb-config-install-steps p {
  margin: 4px 0 0;
  color: #677487;
  font-size: 9px;
  line-height: 1.55;
}

.sb-config-guide-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sb-config-guide-command-grid .sb-command-block {
  min-width: 0;
}

.sb-config-first-task {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid #d2e4dd;
  border-radius: 6px;
  background: #f7fbf9;
}

.sb-config-first-task strong {
  color: #2a3a4c;
  font-size: 10px;
}

.sb-config-first-task code {
  color: #335247;
  font-size: 10px;
  line-height: 1.65;
  white-space: normal;
}

.sb-config-install-troubleshoot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 13px;
}

.sb-config-install-troubleshoot article {
  min-width: 0;
  padding: 13px;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
}

.sb-config-install-troubleshoot h3 {
  margin: 0 0 5px;
  color: #29394c;
  font-size: 10px;
}

.sb-config-install-troubleshoot p {
  margin: 0;
  color: #657386;
  font-size: 9px;
  line-height: 1.6;
}

.sb-config-install-troubleshoot code {
  overflow-wrap: anywhere;
}

.sb-config-guide-source-note {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d7e1e8;
  border-radius: 6px;
  background: #f8fafb;
}

.sb-config-guide-source-note svg {
  width: 17px;
  height: 17px;
  color: #3471d2;
}

.sb-config-guide-source-note p {
  margin: 0;
  color: #526176;
  font-size: 9px;
  line-height: 1.65;
}

.sb-config-guide-source-note a {
  color: #2867c7;
  font-weight: 800;
}

.sb-config-official-entry,
.sb-config-api-entry {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #cfe1da;
  border-radius: 6px;
  background: #f5faf8;
}

.sb-config-api-entry {
  border-color: #d7e2f4;
  background: #f6f9fe;
}

.sb-config-official-entry > div,
.sb-config-api-entry > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.sb-config-official-entry span,
.sb-config-api-entry span {
  color: #16845e;
  font-size: 8px;
  font-weight: 900;
}

.sb-config-api-entry span {
  color: #2867c7;
}

.sb-config-official-entry h3,
.sb-config-api-entry strong {
  margin: 0;
  color: #23364a;
  font-size: 12px;
  line-height: 1.4;
}

.sb-config-official-entry p,
.sb-config-api-entry small {
  margin: 0;
  color: #657386;
  font-size: 9px;
  line-height: 1.55;
}

.sb-config-official-entry .sa-button,
.sb-config-api-entry .sa-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 12px;
  font-size: 9px;
  white-space: nowrap;
}

.sb-config-version-strip {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #d6e3de;
  border-radius: 6px;
  background: #f7faf8;
}

.sb-config-version-strip span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #16845e;
  font-size: 8px;
  font-weight: 850;
}

.sb-config-version-strip span svg {
  width: 13px;
  height: 13px;
}

.sb-config-version-strip strong {
  color: #25384b;
  font-size: 10px;
}

.sb-config-version-strip small {
  color: #6a7889;
  font-size: 8px;
  line-height: 1.45;
}

.sb-config-version-strip.is-cc-switch {
  border-color: #cbdcf6;
  background: #f5f8fe;
}

.sb-config-version-strip.is-cc-switch span {
  color: #2867c7;
}

.sb-config-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.sb-config-download-card {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 14px;
  border: 1px solid #dce3e9;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sb-config-download-card:hover {
  border-color: #8cb4e9;
  box-shadow: 0 8px 20px rgba(35, 67, 104, 0.08);
  transform: translateY(-1px);
}

.sb-config-download-card > span,
.sb-config-download-card > b {
  display: flex;
  gap: 6px;
  align-items: center;
}

.sb-config-download-card > span {
  color: #2867c7;
  font-size: 9px;
  font-weight: 900;
}

.sb-config-download-card svg {
  width: 14px;
  height: 14px;
}

.sb-config-download-card > strong {
  overflow-wrap: anywhere;
  color: #26384b;
  font-size: 10px;
  line-height: 1.45;
}

.sb-config-download-card > small {
  color: #6a7889;
  font-size: 8px;
  line-height: 1.5;
}

.sb-config-download-card > b {
  justify-content: space-between;
  color: #176f9f;
  font-size: 9px;
}

.sb-config-download-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}

.sb-config-download-actions .sa-button {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 9px;
}

.sb-config-download-actions > a:not(.sa-button) {
  color: #2867c7;
  font-size: 9px;
  font-weight: 800;
}

.sb-config-install-steps.sb-config-api-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sb-config-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.sb-config-access-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dce3e9;
  border-radius: 6px;
  background: #fff;
}

.sb-config-access-grid span {
  color: #16845e;
  font-size: 8px;
  font-weight: 900;
}

.sb-config-access-grid h3 {
  margin: 6px 0 5px;
  color: #26384b;
  font-size: 11px;
}

.sb-config-access-grid p {
  margin: 0;
  color: #657386;
  font-size: 9px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .sb-config-install-methods,
  .sb-config-install-steps,
  .sb-config-guide-command-grid,
  .sb-config-install-troubleshoot,
  .sb-config-install-steps.sb-config-api-steps,
  .sb-config-download-grid,
  .sb-config-access-grid {
    grid-template-columns: 1fr;
  }

  .sb-config-official-entry,
  .sb-config-api-entry {
    align-items: flex-start;
    flex-direction: column;
  }

  .sb-config-official-entry .sa-button,
  .sb-config-api-entry .sa-button {
    width: 100%;
  }

  .sb-config-version-strip {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sb-config-download-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .sb-config-install-guide .sb-command-head {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .sb-config-install-guide .sb-command-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sb-config-install-guide .sa-copy-button span {
    display: none;
  }
}

/* Configuration tutorial hub */
[data-page="stage-b-config"] {
  background: #fff;
}

.sb-config-page {
  padding-bottom: 64px;
}

.sb-config-page .sa-breadcrumbs {
  padding: 22px 0 16px;
}

.sb-config-shell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 26px;
  align-items: start;
}

.sb-config-main {
  min-width: 0;
}

.sb-config-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 560px);
  gap: 56px;
  align-items: center;
  padding: 30px 0 42px;
}

.sb-config-title-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.sb-config-title-row > span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b8ddd0;
  border-radius: 6px;
  background: #edf8f4;
  color: var(--sa-green);
}

.sb-config-title-row > span svg {
  width: 28px;
  height: 28px;
}

.sb-config-title-row .sa-kicker {
  display: block;
  margin-bottom: 5px;
}

.sb-config-title-row h1 {
  max-width: 650px;
  margin: 0;
  font-size: 35px;
  line-height: 1.18;
  letter-spacing: 0;
}

.sb-config-hero-copy > p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--sa-muted);
  font-size: 15px;
}

.sb-config-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.sb-config-trust li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  color: #44524d;
  font-size: 12px;
}

.sb-config-trust svg {
  width: 15px;
  height: 15px;
  color: var(--sa-green);
}

.sb-config-hero-media {
  width: 100%;
  overflow: hidden;
  margin: 0;
  justify-self: end;
  border: 1px solid #d5dde5;
  border-radius: 6px;
  background: #f3f6fa;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.sb-config-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 994;
  object-fit: contain;
}

.sb-config-hero-media figcaption {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-top: 1px solid #d5dde5;
  background: #fff;
  color: #536172;
  font-size: 11px;
  font-weight: 750;
}

.sb-config-hero-media figcaption svg {
  width: 14px;
  height: 14px;
  color: var(--sa-blue);
}

.sb-config-security {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #b9d8ce;
  border-radius: 5px;
  background: #f4faf7;
  color: #34443e;
}

.sb-config-security > svg {
  width: 20px;
  height: 20px;
  color: var(--sa-green);
}

.sb-config-security p {
  margin: 0;
  font-size: 12px;
}

.sb-config-section {
  padding: 30px 0;
  border-top: 1px solid var(--sa-line);
  scroll-margin-top: 86px;
}

.sb-config-security + .sb-config-section {
  margin-top: 28px;
}

.sb-config-section-head,
.sb-config-directory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.sb-config-section-head h2,
.sb-config-directory-head h2 {
  margin: 4px 0 0;
  font-size: 25px;
  line-height: 1.25;
}

.sb-config-section-head p,
.sb-config-directory-head > div:first-child > p {
  margin: 0;
  color: var(--sa-muted);
  font-size: 12px;
}

.sb-config-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-config-path li {
  position: relative;
  min-width: 0;
}

.sb-config-path li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -11px;
  color: #9aa9ba;
  content: "›";
  font-size: 19px;
  transform: translateY(-50%);
}

.sb-config-path a {
  display: grid;
  min-height: 124px;
  justify-items: center;
  align-content: center;
  padding: 12px 8px;
  border: 1px solid var(--sa-line);
  border-radius: 5px;
  background: #fff;
  text-align: center;
}

.sb-config-path a > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #eef6ff;
  color: #1b69da;
}

.sb-config-path a > span svg {
  width: 19px;
  height: 19px;
}

.sb-config-path small {
  margin-top: 7px;
  color: var(--sa-green);
  font-size: 10px;
  font-weight: 850;
}

.sb-config-path strong {
  margin-top: 3px;
  color: var(--sa-ink);
  font-size: 12px;
  line-height: 1.35;
}

.sb-config-path a:hover {
  border-color: #7fb4a2;
  background: #f7fbf9;
}

.sb-config-scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sb-config-scenarios button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--sa-line);
  border-radius: 6px;
  background: #fff;
  color: var(--sa-ink);
  text-align: left;
  cursor: pointer;
}

.sb-config-scenarios button > span:not(.sb-config-scenario-copy) {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.sb-config-scenarios button > span:not(.sb-config-scenario-copy) svg {
  width: 22px;
  height: 22px;
}

.sb-config-scenarios .codex {
  background: #17202b;
  color: #fff;
}

.sb-config-scenarios .claude {
  background: #eaf2ff;
  color: #1668dc;
}

.sb-config-scenarios .shared {
  background: #eaf8f3;
  color: var(--sa-green);
}

.sb-config-scenario-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sb-config-scenarios strong {
  font-size: 17px;
  line-height: 1.3;
}

.sb-config-scenarios small {
  margin-top: 7px;
  color: var(--sa-muted);
  font-size: 11px;
  line-height: 1.55;
}

.sb-config-scenarios em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--sa-blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.sb-config-scenarios em svg {
  width: 13px;
  height: 13px;
}

.sb-config-scenarios button:hover,
.sb-config-scenarios button[aria-pressed="true"] {
  border-color: #74ad99;
  background: #f7fbf9;
  box-shadow: inset 0 3px 0 var(--sa-green);
}

.sb-config-directory-head {
  align-items: start;
}

.sb-config-page .sb-config-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
}

.sb-config-page .sa-filter-search {
  min-width: 0;
}

.sb-config-page .sa-filter-search input {
  min-width: 0;
  width: 100%;
}

.sb-config-page .sb-segmented {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sb-config-page .sb-segmented button {
  min-width: 0;
  min-height: 38px;
  padding: 5px;
  font-size: 11px;
}

.sb-config-page .sa-result-count {
  margin: -4px 0 12px;
  text-align: right;
}

.sb-config-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sb-config-step {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sa-line);
  border-radius: 6px;
  background: #fff;
  scroll-margin-top: 86px;
}

.sb-config-step > header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 15px;
  border-bottom: 1px solid var(--sa-line);
  background: #fafcfc;
}

.sb-config-step > header > span {
  display: inline-flex;
  width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--sa-green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sb-config-step h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.sb-config-step header p {
  margin: 3px 0 0;
  color: var(--sa-muted);
  font-size: 11px;
}

.sb-config-step-links {
  padding: 0 12px;
}

.sb-config-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 14px;
  gap: 9px;
  align-items: center;
  min-height: 66px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-config-row:last-child {
  border-bottom: 0;
}

.sb-config-row > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.sb-config-row strong {
  color: var(--sa-ink);
  font-size: 13px;
  line-height: 1.4;
}

.sb-config-row small {
  overflow: hidden;
  color: var(--sa-muted);
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-config-row em {
  padding: 2px 5px;
  border: 1px solid #d9e2e9;
  border-radius: 4px;
  color: #5b6877;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.sb-config-row > svg {
  width: 13px;
  height: 13px;
  color: var(--sa-blue);
}

.sb-config-row:hover strong {
  color: var(--sa-green);
}

.sb-config-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--sa-line);
}

.sb-config-cta-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid #cfe2dc;
  border-radius: 6px;
  background: #f8fcfa;
}

.sb-config-cta-grid article:nth-child(2) {
  border-color: #d4e1f6;
  background: #f7faff;
}

.sb-config-cta-grid article > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #e4f5ef;
  color: var(--sa-green);
}

.sb-config-cta-grid article:nth-child(2) > span {
  background: #e9f1ff;
  color: var(--sa-blue);
}

.sb-config-cta-grid article > span svg {
  width: 22px;
  height: 22px;
}

.sb-config-cta-grid h2 {
  margin: 0;
  font-size: 17px;
}

.sb-config-cta-grid p {
  margin: 5px 0 0;
  color: var(--sa-muted);
  font-size: 11px;
}

.sb-config-cta-grid .sa-button {
  grid-column: 2;
  width: fit-content;
  min-height: 38px;
  padding: 7px 12px;
  font-size: 11px;
}

.sb-config-aside-inner {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
}

.sb-config-aside {
  padding-top: 30px;
}

.sb-config-aside-card {
  padding: 16px;
  border: 1px solid var(--sa-line);
  border-radius: 6px;
  background: #fff;
  scroll-margin-top: 86px;
}

.sb-config-aside-card h2 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.35;
}

.sb-config-page-nav {
  display: grid;
}

.sb-config-page-nav a {
  padding: 7px 0;
  border-bottom: 1px solid #edf0f2;
  color: #465361;
  font-size: 11px;
  font-weight: 700;
}

.sb-config-page-nav a:last-child {
  border-bottom: 0;
}

.sb-config-page-nav a:hover {
  color: var(--sa-green);
}

.sb-config-verify-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-config-verify-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
}

.sb-config-verify-list li > span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sa-green);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.sb-config-verify-list strong {
  display: block;
  font-size: 11px;
}

.sb-config-verify-list p {
  margin: 3px 0 0;
  color: var(--sa-muted);
  font-size: 9px;
  line-height: 1.5;
}

.sb-config-aside-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--sa-blue);
  font-size: 10px;
  font-weight: 800;
}

.sb-config-aside-more svg {
  width: 12px;
  height: 12px;
}

.sb-config-error-list,
.sb-config-resource-list {
  display: grid;
}

.sb-config-error-list a,
.sb-config-resource-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f2;
}

.sb-config-error-list a:last-child,
.sb-config-resource-list a:last-child {
  border-bottom: 0;
}

.sb-config-error-list a > span,
.sb-config-resource-list a > svg {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #eef5ff;
  color: #176bd9;
  padding: 7px;
}

.sb-config-error-list a > span svg {
  width: 15px;
  height: 15px;
}

.sb-config-error-list .red {
  background: #fff0f1;
  color: #c43242;
}

.sb-config-error-list .orange {
  background: #fff5e8;
  color: #c26b05;
}

.sb-config-error-list .violet {
  background: #f1efff;
  color: #6555c7;
}

.sb-config-error-list strong,
.sb-config-resource-list strong {
  display: block;
  color: var(--sa-ink);
  font-size: 11px;
}

.sb-config-error-list small,
.sb-config-resource-list small {
  display: block;
  margin-top: 2px;
  color: var(--sa-muted);
  font-size: 9px;
  line-height: 1.45;
}

.sb-config-wechat {
  text-align: center;
}

.sb-config-wechat p {
  margin: -5px 0 10px;
  color: var(--sa-muted);
  font-size: 10px;
}

.sb-config-wechat img {
  display: block;
  width: 142px;
  height: 142px;
  margin: 0 auto;
  object-fit: cover;
}

.sb-config-wechat > small {
  display: block;
  margin-top: 7px;
  color: var(--sa-muted);
  font-size: 9px;
}

@media (prefers-reduced-motion: no-preference) {
  .sb-config-path a,
  .sb-config-scenarios button,
  .sb-config-row {
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
  }
}

@media (max-width: 1180px) {
  .sb-config-shell-grid {
    grid-template-columns: minmax(0, 1fr) 232px;
    gap: 20px;
  }

  .sb-config-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
    gap: 32px;
  }

  .sb-config-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sb-config-path li::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .sb-config-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sb-config-hero-media {
    max-width: 680px;
    justify-self: center;
  }

  .sb-config-shell-grid {
    grid-template-columns: 1fr;
  }

  .sb-config-aside-inner {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
  }

  .sb-config-aside {
    padding-top: 0;
  }

  .sb-config-page-nav,
  .sb-config-wechat {
    grid-column: 1 / -1;
  }

  .sb-config-page-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 16px;
  }

  .sb-config-page-nav h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .sb-config-page {
    padding-bottom: 42px;
  }

  .sb-config-page .sa-breadcrumbs {
    padding: 15px 0 8px;
  }

  .sb-config-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px 0 24px;
  }

  .sb-config-title-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

  .sb-config-title-row > span {
    width: 46px;
    height: 46px;
  }

  .sb-config-title-row > span svg {
    width: 23px;
    height: 23px;
  }

  .sb-config-title-row h1 {
    font-size: 29px;
  }

  .sb-config-trust {
    grid-template-columns: 1fr;
  }

  .sb-config-hero-media {
    max-width: 520px;
  }

  .sb-config-security {
    align-items: start;
  }

  .sb-config-section-head,
  .sb-config-directory-head {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .sb-config-section-head h2,
  .sb-config-directory-head h2 {
    font-size: 23px;
  }

  .sb-config-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sb-config-path a {
    min-height: 112px;
  }

  .sb-config-scenarios,
  .sb-config-directory-grid,
  .sb-config-cta-grid,
  .sb-config-aside-inner {
    grid-template-columns: 1fr;
  }

  .sb-config-scenarios button {
    min-height: 136px;
  }

  .sb-config-page .sb-segmented {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-config-page .sb-segmented button,
  .sb-config-page .sb-segmented button:nth-child(2) {
    border-right: 1px solid var(--sa-line);
    border-bottom: 1px solid var(--sa-line);
  }

  .sb-config-page .sb-segmented button:nth-child(2n) {
    border-right: 0;
  }

  .sb-config-page .sb-segmented button:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .sb-config-page .sa-result-count {
    text-align: left;
  }

  .sb-config-cta-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .sb-config-cta-grid article > span {
    width: 38px;
    height: 38px;
  }

  .sb-config-page-nav,
  .sb-config-wechat {
    grid-column: auto;
  }

  .sb-config-page-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .sb-config-title-row h1 {
    font-size: 27px;
  }

  .sb-config-row {
    grid-template-columns: minmax(0, 1fr) 14px;
  }

  .sb-config-row em {
    display: none;
  }

  .sb-config-cta-grid article {
    grid-template-columns: 1fr;
  }

  .sb-config-cta-grid article > div,
  .sb-config-cta-grid .sa-button {
    grid-column: 1;
  }

  .sb-config-cta-grid .sa-button {
    width: 100%;
  }

  .sb-config-page-nav {
    grid-template-columns: 1fr;
  }
}

/* Configuration guide detail pages */
.sb-config-guide-page {
  padding-bottom: 68px;
  background: #fff;
}

.sb-config-guide-page .sa-breadcrumbs {
  padding: 20px 0 12px;
}

.sb-config-guide-hero {
  max-width: 910px;
  padding: 38px 0 40px;
  border-bottom: 1px solid var(--sa-line);
}

.sb-config-guide-hero h1 {
  max-width: 820px;
  margin: 8px 0 14px;
  color: var(--sa-ink);
  font-size: 44px;
  line-height: 1.16;
}

.sb-config-guide-hero > p {
  max-width: 780px;
  margin: 0;
  color: #52606f;
  font-size: 16px;
  line-height: 1.8;
}

.sb-config-guide-hero > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
}

.sb-config-guide-hero > div span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #435160;
  font-size: 12px;
  font-weight: 750;
}

.sb-config-guide-hero > div svg {
  width: 16px;
  height: 16px;
  color: var(--sa-green);
}

.sb-config-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 52px;
  align-items: start;
}

.sb-config-guide-main {
  min-width: 0;
}

.sb-config-guide-main > section {
  padding: 40px 0;
  border-bottom: 1px solid var(--sa-line);
  scroll-margin-top: 84px;
}

.sb-config-guide-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin-bottom: 22px;
}

.sb-config-guide-heading > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eaf7f2;
  color: var(--sa-green);
}

.sb-config-guide-heading svg {
  width: 21px;
  height: 21px;
}

.sb-config-guide-heading small {
  display: block;
  margin-bottom: 2px;
  color: var(--sa-green);
  font-size: 10px;
  font-weight: 850;
}

.sb-config-guide-heading h2 {
  margin: 0;
  color: var(--sa-ink);
  font-size: 25px;
  line-height: 1.28;
}

.sb-config-guide-prep {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-config-guide-prep li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  min-height: 92px;
  align-content: start;
  padding: 15px;
  border: 1px solid #dfe7e4;
  border-radius: 6px;
  background: #fbfdfc;
  color: #3e4d59;
  font-size: 12px;
  line-height: 1.65;
}

.sb-config-guide-prep svg {
  width: 18px;
  height: 18px;
  color: var(--sa-green);
}

.sb-config-guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-config-guide-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--sa-line);
}

.sb-config-guide-steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.sb-config-guide-steps li > span {
  display: inline-flex;
  width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #172331;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.sb-config-guide-steps h3 {
  margin: 0;
  color: var(--sa-ink);
  font-size: 17px;
  line-height: 1.4;
}

.sb-config-guide-steps p {
  margin: 6px 0 0;
  color: #536170;
  font-size: 13px;
  line-height: 1.75;
}

.sb-config-guide-checks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px;
  border: 1px solid #cfe3dc;
  border-radius: 6px;
  background: #f4faf7;
  list-style: none;
}

.sb-config-guide-checks li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #334b43;
  font-size: 13px;
  line-height: 1.6;
}

.sb-config-guide-checks svg {
  width: 19px;
  height: 19px;
  color: var(--sa-green);
}

.sb-config-guide-faq {
  border-top: 1px solid var(--sa-line);
}

.sb-config-guide-faq details {
  border-bottom: 1px solid var(--sa-line);
}

.sb-config-guide-faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  color: var(--sa-ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.sb-config-guide-faq summary::-webkit-details-marker {
  display: none;
}

.sb-config-guide-faq summary svg {
  width: 18px;
  height: 18px;
  color: var(--sa-blue);
}

.sb-config-guide-faq details[open] summary svg {
  transform: rotate(180deg);
}

.sb-config-guide-faq p {
  margin: -5px 0 18px;
  padding-right: 36px;
  color: #536170;
  font-size: 13px;
  line-height: 1.75;
}

.sb-config-guide-aside {
  min-width: 0;
  padding-top: 40px;
}

.sb-config-guide-aside > div {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
}

.sb-config-guide-aside nav,
.sb-config-guide-aside section {
  padding: 16px;
  border: 1px solid var(--sa-line);
  border-radius: 6px;
  background: #fff;
}

.sb-config-guide-aside h2 {
  margin: 0 0 10px;
  color: var(--sa-ink);
  font-size: 14px;
  line-height: 1.4;
}

.sb-config-guide-aside nav a,
.sb-config-guide-chapter-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f2;
  color: #4d5966;
  font-size: 11px;
  font-weight: 700;
}

.sb-config-guide-aside nav a::after {
  color: #97a2ad;
  content: "#";
  text-align: right;
}

.sb-config-guide-aside nav a:last-child,
.sb-config-guide-chapter-links a:last-child {
  border-bottom: 0;
}

.sb-config-guide-chapter-links a[aria-current="page"] {
  color: var(--sa-green);
}

.sb-config-guide-chapter-links svg {
  width: 13px;
  height: 13px;
  color: var(--sa-blue);
}

.sb-config-guide-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #cad6df;
  border-radius: 5px;
  background: #f8fafb;
  color: #344250;
  font-size: 11px;
  font-weight: 800;
}

.sb-config-guide-back svg {
  width: 15px;
  height: 15px;
}

.sb-config-guide-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 42px;
  padding: 26px;
  border: 1px solid #d5e2e9;
  border-radius: 6px;
  background: #f7fafb;
}

.sb-config-guide-cta h2 {
  margin: 5px 0 7px;
  color: var(--sa-ink);
  font-size: 23px;
  line-height: 1.35;
}

.sb-config-guide-cta p {
  max-width: 720px;
  margin: 0;
  color: #566371;
  font-size: 12px;
  line-height: 1.7;
}

.sb-config-guide-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.sb-config-guide-cta .sa-button {
  min-height: 42px;
  padding: 9px 13px;
  font-size: 11px;
}

@media (prefers-reduced-motion: no-preference) {
  .sb-config-guide-faq summary svg {
    transition: transform 150ms ease;
  }
}

@media (max-width: 920px) {
  .sb-config-guide-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sb-config-guide-aside {
    padding-top: 28px;
  }

  .sb-config-guide-aside > div {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-config-guide-back {
    grid-column: 1 / -1;
  }

  .sb-config-guide-cta {
    grid-template-columns: 1fr;
  }

  .sb-config-guide-cta > div:last-child {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .sb-config-guide-page {
    padding-bottom: 44px;
  }

  .sb-config-guide-page .sa-breadcrumbs {
    padding: 15px 0 8px;
  }

  .sb-config-guide-hero {
    padding: 24px 0 30px;
  }

  .sb-config-guide-hero h1 {
    font-size: 32px;
  }

  .sb-config-guide-hero > p {
    font-size: 14px;
  }

  .sb-config-guide-main > section {
    padding: 32px 0;
  }

  .sb-config-guide-heading h2 {
    font-size: 22px;
  }

  .sb-config-guide-prep,
  .sb-config-guide-aside > div {
    grid-template-columns: 1fr;
  }

  .sb-config-guide-prep li {
    min-height: 0;
  }

  .sb-config-guide-back {
    grid-column: auto;
  }

  .sb-config-guide-cta {
    margin-top: 30px;
    padding: 20px;
  }

  .sb-config-guide-cta h2 {
    font-size: 20px;
  }

  .sb-config-guide-cta > div:last-child,
  .sb-config-guide-cta .sa-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .sb-config-guide-hero h1 {
    font-size: 29px;
  }

  .sb-config-guide-hero > div {
    display: grid;
  }

  .sb-config-guide-steps li {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .sb-config-guide-steps li > span {
    width: 34px;
  }
}

/* Configuration guide detail pages: reference document layout */
.sb-config-guide-page {
  padding-bottom: 0;
  background: #fff;
}

.sb-config-guide-page .sa-breadcrumbs {
  padding: 17px 0 16px;
  font-size: 11px;
}

.sb-config-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px;
  gap: 42px;
  align-items: start;
}

.sb-config-guide-main {
  min-width: 0;
}

.sb-config-guide-hero {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) 262px;
  gap: 28px;
  align-items: center;
  padding: 22px 0 27px;
  border-bottom: 0;
}

.sb-config-guide-hero-copy {
  min-width: 0;
}

.sb-config-guide-hero .sa-kicker {
  color: #15845d;
  font-size: 10px;
}

.sb-config-guide-hero h1 {
  max-width: 720px;
  margin: 9px 0 13px;
  color: #17263a;
  font-size: 35px;
  line-height: 1.22;
  letter-spacing: 0;
}

.sb-config-guide-hero-copy > p {
  max-width: 700px;
  margin: 0;
  color: #526176;
  font-size: 13px;
  line-height: 1.78;
}

.sb-config-guide-meta,
.sb-config-guide-hero > div.sb-config-guide-hero-copy .sb-config-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  margin-top: 18px;
}

.sb-config-guide-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #687585;
  font-size: 10px;
  font-weight: 700;
}

.sb-config-guide-meta svg {
  width: 13px;
  height: 13px;
  color: #8793a0;
}

.sb-config-guide-terminal,
.sb-config-guide-hero > div.sb-config-guide-terminal {
  position: relative;
  display: block;
  width: 262px;
  height: 164px;
  margin: 0;
}

.sb-config-guide-terminal-window {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 228px;
  height: 137px;
  overflow: hidden;
  border: 1px solid #d9e0e5;
  border-radius: 7px;
  background: #132131;
  box-shadow: 0 18px 34px rgb(27 45 66 / 12%);
}

.sb-config-guide-terminal-window::before {
  position: absolute;
  inset: 0 0 auto;
  height: 24px;
  border-bottom: 1px solid #e2e7ea;
  background: #f4f6f7;
  content: "";
}

.sb-config-guide-terminal-window > span {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 9px 0 0 3px;
  border-radius: 50%;
  background: #ef6a5f;
}

.sb-config-guide-terminal-window > span:first-child {
  margin-left: 10px;
}

.sb-config-guide-terminal-window > span:nth-child(2) {
  background: #f2bd4d;
}

.sb-config-guide-terminal-window > span:nth-child(3) {
  background: #62c454;
}

.sb-config-guide-terminal-window > i {
  position: absolute;
  left: 36px;
  height: 4px;
  border-radius: 2px;
  background: #26a775;
}

.sb-config-guide-terminal-window > i:nth-of-type(1) { top: 43px; width: 62px; }
.sb-config-guide-terminal-window > i:nth-of-type(2) { top: 59px; width: 112px; }
.sb-config-guide-terminal-window > i:nth-of-type(3) { top: 75px; width: 86px; }
.sb-config-guide-terminal-window > i:nth-of-type(4) { top: 91px; width: 124px; }
.sb-config-guide-terminal-window > i:nth-of-type(5) { top: 107px; width: 72px; }

.sb-config-guide-terminal > span {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 9px 20px rgb(21 39 57 / 16%);
}

.sb-config-guide-terminal > span svg {
  width: 27px;
  height: 27px;
}

.sb-config-guide-terminal .terminal-badge {
  bottom: 5px;
  left: 6px;
  width: 53px;
  height: 53px;
  border-radius: 6px;
  background: #1f2e3e;
  color: #fff;
}

.sb-config-guide-terminal .settings-badge {
  right: 0;
  bottom: 4px;
  width: 59px;
  height: 59px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #25a777;
  color: #fff;
}

.sb-config-guide-notice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 2px 0 0;
  padding: 14px 16px;
  border: 1px solid #cfe3dc;
  border-radius: 6px;
  background: #f7fbf9;
  color: #435469;
}

.sb-config-guide-notice svg {
  width: 18px;
  height: 18px;
  color: #15845d;
}

.sb-config-guide-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.sb-config-guide-main > section,
.sb-config-guide-section {
  padding: 30px 0 29px;
  border-bottom: 0;
  scroll-margin-top: 76px;
}

.sb-config-guide-heading {
  display: flex;
  grid-template-columns: none;
  gap: 7px;
  align-items: baseline;
  margin-bottom: 13px;
}

.sb-config-guide-heading > span {
  display: inline;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  color: #12835b;
  font-size: 17px;
  font-weight: 900;
}

.sb-config-guide-heading h2 {
  margin: 0;
  color: #17263a;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: 0;
}

.sb-config-guide-prose p,
.sb-config-guide-lead {
  margin: 0 0 9px;
  color: #4e5e72;
  font-size: 12px;
  line-height: 1.82;
}

.sb-config-guide-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.sb-config-guide-summary-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dfe5ea;
  border-radius: 6px;
  background: #fff;
}

.sb-config-guide-summary-grid article > span,
.sb-config-guide-capability-grid article > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #ecf8f3;
  color: #13845c;
}

.sb-config-guide-summary-grid svg,
.sb-config-guide-capability-grid svg {
  width: 17px;
  height: 17px;
}

.sb-config-guide-summary-grid h3 {
  margin: 10px 0 5px;
  color: #26364a;
  font-size: 12px;
  line-height: 1.45;
}

.sb-config-guide-summary-grid p {
  margin: 0;
  color: #667487;
  font-size: 10px;
  line-height: 1.65;
}

.sb-config-guide-capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.sb-config-guide-capability-grid article {
  display: flex;
  min-width: 0;
  min-height: 98px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 7px;
  border: 1px solid #dfe5ea;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

.sb-config-guide-capability-grid.blue article > span {
  background: #eef4ff;
  color: #3270df;
}

.sb-config-guide-capability-grid strong {
  margin-top: 8px;
  color: #27374a;
  font-size: 10px;
  line-height: 1.35;
}

.sb-config-guide-capability-grid small {
  margin-top: 3px;
  color: #778496;
  font-size: 8px;
  line-height: 1.45;
}

.sb-config-guide-capability-grid small .sb-config-direct-link {
  color: #2867c7;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sb-config-guide-callout {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #cfe4dc;
  border-radius: 5px;
  background: #f6fbf8;
  color: #3e5a50;
}

.sb-config-guide-callout.blue {
  border-color: #d3e0f8;
  background: #f6f9ff;
  color: #405776;
}

.sb-config-guide-callout.amber {
  border-color: #eadbb3;
  background: #fffaf0;
  color: #675738;
}

.sb-config-guide-callout svg {
  width: 16px;
  height: 16px;
  color: #16845e;
}

.sb-config-guide-callout.blue svg { color: #3473db; }
.sb-config-guide-callout.amber svg { color: #bd831c; }

.sb-config-guide-callout p {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
}

.sb-config-guide-prep {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
}

.sb-config-guide-prep li {
  min-height: 68px;
  padding: 12px;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.6;
}

.sb-config-guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}

.sb-config-guide-steps li,
.sb-config-guide-steps li:first-child {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #dfe5ea;
  border-radius: 6px;
  background: #fff;
}

.sb-config-guide-steps li > span {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #17865e;
  color: #fff;
  font-size: 9px;
}

.sb-config-guide-steps h3 {
  font-size: 11px;
}

.sb-config-guide-steps p {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.6;
}

.sb-config-guide-checks {
  gap: 7px;
  margin-top: 11px;
  padding: 14px;
  border-radius: 6px;
}

.sb-config-guide-checks li {
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 7px;
  font-size: 10px;
}

.sb-config-guide-checks svg {
  width: 16px;
  height: 16px;
}

.sb-config-guide-faq {
  border-top: 1px solid #e1e6ea;
}

.sb-config-guide-faq summary {
  padding: 13px 0;
  font-size: 11px;
}

.sb-config-guide-faq p {
  margin: -2px 0 14px;
  padding-right: 28px;
  font-size: 10px;
  line-height: 1.7;
}

.sb-config-guide-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe5e9;
  border-radius: 5px;
}

.sb-config-guide-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #4f5f72;
  font-size: 10px;
  line-height: 1.5;
}

.sb-config-guide-table-wrap th,
.sb-config-guide-table-wrap td {
  padding: 8px 11px;
  border-right: 1px solid #e3e8eb;
  border-bottom: 1px solid #e3e8eb;
  text-align: left;
  vertical-align: top;
}

.sb-config-guide-table-wrap th:last-child,
.sb-config-guide-table-wrap td:last-child { border-right: 0; }
.sb-config-guide-table-wrap tbody tr:last-child th,
.sb-config-guide-table-wrap tbody tr:last-child td { border-bottom: 0; }
.sb-config-guide-table-wrap thead th { background: #f7f9fa; color: #29394d; }
.sb-config-guide-table-wrap tbody th { width: 24%; background: #fbfcfc; color: #5e6a79; }

.sb-config-guide-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 15px;
}

.sb-config-guide-choice-grid article {
  min-width: 0;
  padding: 17px;
  border: 1px solid #d7e4df;
  border-radius: 6px;
  background: #f9fcfa;
}

.sb-config-guide-choice-grid article:last-child {
  border-color: #d9e1f2;
  background: #f9faff;
}

.sb-config-guide-choice-grid > article > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.sb-config-guide-choice-grid > article > span.green { background: #eaf7f1; color: #14835b; }
.sb-config-guide-choice-grid > article > span.blue { background: #edf3ff; color: #316ed7; }
.sb-config-guide-choice-grid svg { width: 17px; height: 17px; }
.sb-config-guide-choice-grid h3 { margin: 10px 0 9px; color: #223247; font-size: 15px; }
.sb-config-guide-choice-grid ul { display: grid; gap: 6px; margin: 0; padding: 0 0 0 16px; color: #536275; font-size: 10px; line-height: 1.55; }
.sb-config-guide-choice-grid a { display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; color: #127a58; font-size: 10px; font-weight: 800; }
.sb-config-guide-choice-grid article:last-child a { color: #2f67cc; }

.sb-config-guide-relation {
  display: grid;
  grid-template-columns: minmax(0, .75fr) 16px minmax(0, 1fr) 16px minmax(0, 1.25fr) 16px minmax(0, .8fr);
  gap: 7px;
  align-items: center;
  margin-top: 15px;
}

.sb-config-guide-relation > div {
  display: flex;
  min-width: 0;
  min-height: 74px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
  text-align: center;
}

.sb-config-guide-relation > svg { width: 14px; color: #8190a0; }
.sb-config-guide-relation > div span { color: #16845e; }
.sb-config-guide-relation > div svg { width: 20px; height: 20px; }
.sb-config-guide-relation strong { margin-top: 5px; color: #26364a; font-size: 10px; line-height: 1.35; }
.sb-config-guide-relation small { margin-top: 2px; color: #7b8795; font-size: 8px; }

.sb-config-guide-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.sb-config-guide-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  min-height: 76px;
  align-content: start;
  padding: 12px;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
}

.sb-config-guide-flow li > span {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #16845e;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.sb-config-guide-flow strong { display: block; color: #29394c; font-size: 10px; line-height: 1.4; }
.sb-config-guide-flow small { display: block; margin-top: 4px; color: #788494; font-size: 8px; line-height: 1.45; }
.sb-config-guide-flow li > svg { position: absolute; top: 29px; right: -19px; width: 15px; color: #16845e; }

.sb-config-guide-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 30px;
  border: 1px solid #dce3e8;
  border-radius: 6px;
  background: #fbfcfd;
}

.sb-config-guide-pagination a {
  display: flex;
  min-width: 0;
  min-height: 73px;
  flex-direction: column;
  justify-content: center;
  padding: 13px 17px;
}

.sb-config-guide-pagination a + a { border-left: 1px solid #dce3e8; text-align: right; }
.sb-config-guide-pagination small { display: flex; align-items: center; gap: 5px; color: #778493; font-size: 9px; }
.sb-config-guide-pagination .next small { justify-content: flex-end; }
.sb-config-guide-pagination small svg { width: 12px; height: 12px; }
.sb-config-guide-pagination strong { margin-top: 4px; overflow-wrap: anywhere; color: #26364a; font-size: 11px; line-height: 1.4; }

.sb-config-guide-aside {
  min-width: 0;
  align-self: stretch;
  padding-top: 21px;
}

.sb-config-guide-aside > div {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 13px;
}

.sb-config-guide-aside nav.sb-config-guide-aside-card,
.sb-config-guide-aside section.sb-config-guide-aside-card {
  padding: 15px;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
  background: #fff;
}

.sb-config-guide-aside h2 {
  margin: 0 0 9px;
  color: #26364a;
  font-size: 12px;
}

.sb-config-guide-aside nav a {
  display: block;
  padding: 6px 0;
  border: 0;
  color: #586779;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
}

.sb-config-guide-aside nav a::after { content: none; }
.sb-config-guide-aside nav a:hover { color: #13845c; }

.sb-config-guide-audience,
.sb-config-guide-quick {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-config-guide-audience li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 7px;
  color: #596879;
  font-size: 8px;
  line-height: 1.5;
}

.sb-config-guide-audience svg {
  width: 13px;
  height: 13px;
  color: #17865f;
}

.sb-config-guide-quick li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.sb-config-guide-quick li > span {
  display: inline-flex;
  width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #16845e;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
}

.sb-config-guide-quick strong {
  min-width: 0;
  color: #4b5b6d;
  font-size: 8px;
  line-height: 1.4;
}

.sb-config-guide-aside-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: #2e69d2;
  font-size: 8px;
  font-weight: 800;
}

.sb-config-guide-aside-more svg { width: 11px; height: 11px; }

.sb-config-guide-related {
  display: grid;
}

.sb-config-guide-related a {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  padding: 7px 0;
  border-bottom: 1px solid #edf0f2;
}

.sb-config-guide-related a:last-child { border-bottom: 0; }
.sb-config-guide-related > a > svg { width: 14px; height: 14px; color: #3473dd; }
.sb-config-guide-related span { min-width: 0; }
.sb-config-guide-related strong { display: block; overflow-wrap: anywhere; color: #4a596c; font-size: 8px; line-height: 1.35; }
.sb-config-guide-related small { display: block; margin-top: 2px; overflow-wrap: anywhere; color: #98a2ad; font-size: 7px; line-height: 1.3; }

@media (max-width: 1020px) {
  .sb-config-guide-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sb-config-guide-aside {
    padding: 0 0 34px;
  }

  .sb-config-guide-aside > div {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .sb-config-guide-page .sa-breadcrumbs {
    padding: 14px 0 8px;
  }

  .sb-config-guide-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0 23px;
  }

  .sb-config-guide-hero h1 {
    max-width: 100%;
    font-size: 30px;
  }

  .sb-config-guide-terminal,
  .sb-config-guide-hero > div.sb-config-guide-terminal {
    width: min(100%, 300px);
    height: 170px;
    margin: 0 auto;
  }

  .sb-config-guide-terminal-window {
    right: 18px;
    width: calc(100% - 38px);
  }

  .sb-config-guide-main > section,
  .sb-config-guide-section {
    padding: 27px 0 24px;
  }

  .sb-config-guide-heading h2 {
    font-size: 18px;
  }

  .sb-config-guide-summary-grid,
  .sb-config-guide-prep,
  .sb-config-guide-aside > div {
    grid-template-columns: 1fr;
  }

  .sb-config-guide-prep li {
    min-height: 0;
  }

  .sb-config-guide-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-config-guide-capability-grid article:last-child {
    grid-column: 1 / -1;
  }

  .sb-config-guide-choice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sb-config-guide-relation {
    grid-template-columns: 1fr;
  }

  .sb-config-guide-relation > svg {
    justify-self: center;
    transform: rotate(90deg);
  }

  .sb-config-guide-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sb-config-guide-flow li > svg {
    display: none;
  }
}

@media (max-width: 460px) {
  .sb-config-guide-hero h1 {
    font-size: 27px;
  }

  .sb-config-guide-meta {
    display: grid;
    gap: 6px;
  }

  .sb-config-guide-notice {
    padding: 12px;
  }

  .sb-config-guide-steps {
    grid-template-columns: 1fr;
  }

  .sb-config-guide-flow {
    grid-template-columns: 1fr;
  }

  .sb-config-guide-flow li {
    min-height: 0;
  }

  .sb-config-guide-pagination {
    grid-template-columns: 1fr;
  }

  .sb-config-guide-pagination a + a {
    border-top: 1px solid #dce3e8;
    border-left: 0;
  }
}

/* Editorial installation and routing guides. */
.editorial-code pre { white-space: pre; overflow-x: auto; padding: 18px; background: #142438; color: #eef5ff; border-radius: 12px; font-size: 13px; }
.editorial-table { overflow-x: auto; }
.editorial-table table { width: 100%; border-collapse: collapse; min-width: 460px; }
.editorial-table th, .editorial-table td { text-align: left; border-bottom: 1px solid #dce3ee; padding: 12px; }
.editorial-mobile-toc { display:none; }
@media(max-width:900px) {
 .editorial-mobile-toc { display:block; margin:16px 0; padding:16px; border:1px solid #dce3ee; border-radius:12px; }
 .editorial-mobile-toc nav { display:grid; gap:12px; padding-top:14px; }
 .editorial-mobile-toc summary { cursor:pointer; font-weight:700; }
}

/* Codex installation page: dense, task-first layout matching the installation reference. */
.codex-install-redesign { background: #fff; color: #142b4d; }
.codex-install-redesign [data-codex-install] { overflow: clip; }
.codex-shell { width: min(1380px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 26px; padding-bottom: 64px; }
.codex-breadcrumbs { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; padding: 22px 0 10px; color: #7d8da4; font-size: 13px; }
.codex-breadcrumbs a { color: #55708f; }
.codex-hero { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 54px; align-items: center; min-height: 330px; margin: 0 -60px 20px; padding: 44px 60px 50px; background: linear-gradient(115deg, #f0fbff 0%, #f7fbff 55%, #edf8ff 100%); border-top: 1px solid #e4f0f8; border-bottom: 1px solid #e4f0f8; }
.codex-kicker { display: inline-flex; padding: 5px 9px; border: 1px solid #73c8e8; border-radius: 5px; color: #1287c4; background: #f5fcff; font-size: 12px; font-weight: 800; }
.codex-hero h1 { margin: 12px 0 10px; color: #17365d; font-size: clamp(32px, 2.8vw, 44px); line-height: 1.15; letter-spacing: 0; }
.codex-hero h1 em { display: block; color: #087de2; font-style: normal; white-space: nowrap; }
.codex-hero-copy > p { margin: 0; color: #71839a; font-size: 14px; }
.codex-hero-notice { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 22px 0 18px; padding: 12px 14px; border: 1px solid #cfeee4; border-radius: 6px; color: #557b77; background: #f6fffc; font-size: 13px; }
.codex-hero-notice svg { flex: 0 0 auto; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: #11a27e; }
.codex-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.codex-hero-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 17px; border-radius: 6px; font-size: 14px; font-weight: 800; }
.codex-primary-action { color: #fff; background: #0879ed; box-shadow: 0 8px 20px rgb(8 121 237 / 18%); }
.codex-secondary-action { color: #0974e2; border: 1px solid #82baf2; background: #fff; }
.codex-hero-visual { position: relative; min-height: 250px; display: grid; place-items: center; }
.codex-window { display: grid; grid-template-columns: 1.35fr .85fr; width: min(520px, 100%); min-height: 194px; overflow: hidden; border: 1px solid #dbe7f3; border-radius: 12px; background: #fff; box-shadow: 0 16px 34px rgb(77 128 173 / 14%); }
.codex-window-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; height: 27px; padding: 0 11px; border-bottom: 1px solid #e7edf4; color: #3c4e65; font-size: 11px; }
.codex-window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.codex-window-bar i:nth-child(2) { background: #ffbd2e; }
.codex-window-bar i:nth-child(3) { background: #28c840; }
.codex-window-bar strong { margin-left: 5px; }
.codex-window-body { display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 22px 18px; color: #fff; background: #091426; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.codex-window-body b { color: #fff; font-weight: 500; }
.codex-window-body em { color: #14c99b; font-style: normal; }
.codex-window-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #122746; }
.codex-window-brand svg, .codex-window-brand .brand-mark-image { width: 46px; height: 46px; padding: 11px; border-radius: 10px; background: #0e9f7b; }
.codex-window-brand strong { font-size: 20px; }
.codex-window-brand span { color: #73849a; font-size: 11px; line-height: 1.55; text-align: center; }
.codex-hero-slogan { position: absolute; top: 4px; right: 2%; color: #167de2; font-size: 14px; font-style: italic; transform: rotate(-8deg); }
.codex-section { grid-column: 1; padding: 28px 0 8px; scroll-margin-top: 20px; }
.codex-section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 17px; }
.codex-section-heading > span { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: #10a67e; font-size: 15px; font-weight: 800; }
.codex-section-heading h2 { margin: 0; color: #102d52; font-size: 26px; line-height: 1.25; letter-spacing: 0; }
.codex-section-heading p { margin: 6px 0 0; color: #71839a; font-size: 13px; }
.codex-download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.codex-download-card { padding: 20px 17px 15px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; box-shadow: 0 6px 18px rgb(30 87 129 / 4%); }
.codex-download-card-head { display: flex; align-items: center; gap: 12px; }
.codex-platform-icon { display: grid; place-items: center; width: 41px; height: 41px; color: #0879ed; }
.codex-platform-icon svg { width: 32px; height: 32px; }
.codex-download-card h3 { margin: 0; color: #182d4a; font-size: 17px; }
.codex-download-card-head p { margin: 4px 0 0; color: #74869b; font-size: 12px; }
.codex-download-card ul { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; color: #71839a; font-size: 12px; }
.codex-download-card li { display: flex; align-items: flex-start; gap: 7px; }
.codex-download-card li svg { flex: 0 0 auto; width: 15px; height: 15px; color: #09a37c; }
.codex-download-address { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 37px; border: 0; border-radius: 6px; color: #0879ed; background: #edf6ff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.codex-download-address:hover, .codex-download-address[data-copied="true"] { color: #fff; background: #0879ed; }
.codex-download-address svg { width: 16px; height: 16px; }
.codex-prep-grid, .codex-verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.codex-prep-grid article, .codex-verify-command, .codex-verify-grid > article { padding: 20px 18px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.codex-prep-grid article:first-child { border-color: #d2eee4; background: #f7fffc; }
.codex-prep-grid h3, .codex-verify-grid h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: #17355b; font-size: 15px; }
.codex-prep-grid h3 svg, .codex-verify-grid h3 svg { width: 22px; height: 22px; color: #0ca87e; }
.codex-prep-note h3 svg { color: #8192a7; }
.codex-prep-grid ul, .codex-verify-grid ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: #6f8297; font-size: 12px; line-height: 1.5; }
.codex-prep-grid li::before, .codex-verify-grid li::before { content: "✓"; margin-right: 8px; color: #0ca87e; font-weight: 800; }
.codex-platform-tabs { display: flex; gap: 6px; margin: 2px 0 8px; }
.codex-platform-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 130px; min-height: 39px; border: 1px solid #dce7f0; border-radius: 6px; color: #1e3555; background: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.codex-platform-tab svg { width: 17px; height: 17px; }
.codex-platform-tab.is-active { border-color: #0879ed; color: #fff; background: #0879ed; }
.codex-platform-panel { display: none; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.codex-platform-panel.is-active { display: grid; }
.codex-step-list { display: grid; gap: 15px; }
.codex-step { display: grid; grid-template-columns: 29px 1fr; gap: 10px; }
.codex-step > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: #11a47e; font-size: 13px; font-weight: 800; }
.codex-step h3 { margin: 1px 0 3px; color: #1b3557; font-size: 14px; }
.codex-step p { margin: 0; color: #71839a; font-size: 12px; line-height: 1.5; }
.codex-command-card { min-width: 0; }
.codex-command-card .sb-command-block { height: 100%; margin: 0; }
.codex-tip { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding: 11px 14px; border: 1px solid #c8e0ff; border-radius: 6px; color: #6681a0; background: #f2f8ff; font-size: 12px; }
.codex-tip svg { width: 17px; color: #187be4; }
.codex-tip p { margin: 0; }
.codex-verify-grid { align-items: stretch; }
.codex-verify-command .sb-command-block { margin: 0; }
.codex-verify-grid > article { border-color: #d2eee4; background: #f7fffc; }
.codex-verify-grid > article h3 { color: #0a9b73; }
.codex-faq { display: grid; border: 1px solid #dce7f0; border-radius: 7px; overflow: hidden; }
.codex-faq details + details { border-top: 1px solid #e3ebf2; }
.codex-faq summary { display: flex; align-items: center; gap: 9px; padding: 12px 16px; color: #36506f; font-size: 13px; cursor: pointer; list-style: none; }
.codex-faq summary::-webkit-details-marker { display: none; }
.codex-faq summary svg:first-child { width: 15px; color: #47698f; }
.codex-faq summary svg:last-child { width: 15px; margin-left: auto; }
.codex-faq details[open] summary svg:last-child { transform: rotate(90deg); }
.codex-faq details p { margin: -2px 43px 14px; color: #71839a; font-size: 12px; line-height: 1.6; }
.codex-remote-support { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; width: min(100%, 430px); margin-top: 16px; padding: 22px 24px; border: 1px solid #cfd5ff; border-radius: 7px; background: #fff; box-shadow: 0 8px 22px rgb(50 61 140 / 5%); }
.codex-remote-support-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #6747ff; background: #f0edff; }
.codex-remote-support-icon svg { width: 22px; height: 22px; }
.codex-remote-support h3 { margin: 2px 0 8px; color: #172b4d; font-size: 16px; }
.codex-remote-support p { margin: 0; color: #71839a; font-size: 12px; line-height: 1.65; }
.codex-remote-support a { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: #4964f5; font-size: 12px; font-weight: 800; }
.codex-remote-support a svg { width: 14px; height: 14px; }
.codex-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.codex-next-grid a { display: grid; gap: 8px; padding: 18px; border: 1px solid #dce7f0; border-radius: 7px; color: #234263; background: #fff; }
.codex-next-grid a > svg { width: 24px; height: 24px; color: #0879ed; }
.codex-next-grid a:nth-child(2) > svg { color: #148dcb; }
.codex-next-grid a:nth-child(3) > svg { color: #ec5c60; }
.codex-next-grid strong { font-size: 15px; }
.codex-next-grid span { color: #71839a; font-size: 12px; line-height: 1.5; }
.codex-next-grid b { display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; color: #0879ed; font-size: 12px; }
.codex-next-grid b svg { width: 14px; }
.codex-final-cta { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 20px; border-radius: 8px; color: #23609c; background: #eaf5ff; }
.codex-final-cta > svg { width: 31px; height: 31px; color: #0879ed; }
.codex-final-cta h3 { margin: 0; font-size: 15px; }
.codex-final-cta p { margin: 4px 0 0; color: #6484a7; font-size: 12px; }
.codex-final-cta a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 10px 15px; border-radius: 6px; color: #fff; background: #0879ed; font-size: 12px; font-weight: 800; white-space: nowrap; }
.codex-final-cta a svg { width: 14px; }
.codex-aside { grid-column: 2; grid-row: 3 / span 6; align-self: start; position: sticky; top: 18px; display: grid; gap: 14px; padding: 17px 16px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.codex-aside h2 { margin: 0 0 4px; color: #203957; font-size: 15px; }
.codex-aside a { display: block; padding: 7px 0; color: #6c8098; font-size: 12px; line-height: 1.35; }
.codex-aside a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: #11a47e; }

@media (max-width: 1050px) {
 .codex-hero { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; }
 .codex-shell { width: min(100% - 32px, 900px); grid-template-columns: minmax(0, 1fr) 220px; }
 .codex-download-grid { grid-template-columns: 1fr; }
 .codex-download-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; align-items: center; }
 .codex-download-card-head, .codex-download-card ul { grid-column: 1; }
 .codex-download-address { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
 .codex-shell { display: block; width: min(100% - 28px, 620px); }
 .codex-breadcrumbs { padding-top: 15px; font-size: 11px; }
 .codex-hero { display: block; min-height: 0; margin: 0 -14px 10px; padding: 28px 14px 24px; }
 .codex-hero h1 { font-size: 31px; }
 .codex-hero h1 em { font-size: 24px; white-space: normal; }
 .codex-hero-visual { min-height: 185px; margin-top: 22px; }
 .codex-window { width: min(470px, 100%); min-height: 165px; }
 .codex-window-body { padding: 14px 12px; font-size: 10px; }
 .codex-window-brand strong { font-size: 16px; }
 .codex-section { padding-top: 25px; }
 .codex-section-heading h2 { font-size: 22px; }
 .codex-download-card { display: block; }
 .codex-download-address { margin-top: 4px; }
 .codex-prep-grid, .codex-verify-grid, .codex-platform-panel, .codex-next-grid { grid-template-columns: 1fr; }
 .codex-platform-tabs { overflow-x: auto; }
 .codex-platform-tab { min-width: 112px; }
 .codex-aside { position: static; margin-top: 25px; }
 .codex-remote-support { width: 100%; box-sizing: border-box; }
 .codex-final-cta { align-items: flex-start; flex-wrap: wrap; }
 .codex-final-cta a { margin-left: 45px; }
}

/* Claude Code installation page */
.claude-install-redesign [data-claude-install] { overflow: clip; }
.claude-install-redesign .codex-hero h1 em { white-space: normal; }
.claude-cli-only-card { min-height: 126px; }
.claude-cli-only-card > div { max-width: 760px; }
.claude-hero-visual { position: relative; min-height: 270px; display: grid; place-items: center; }
.claude-app-window { width: min(100%, 330px); overflow: hidden; border: 1px solid #cddfeb; border-radius: 7px; background: #fff; box-shadow: 0 15px 28px rgb(41 91 132 / 13%); transform: translateX(-18px); }
.claude-window-bar { display: flex; align-items: center; gap: 5px; height: 27px; padding: 0 9px; border-bottom: 1px solid #dce7ef; background: #f9fcff; }
.claude-window-bar > i { width: 7px; height: 7px; border-radius: 50%; background: #fc5c53; }
.claude-window-bar > i:nth-child(2) { background: #ffbd2d; }
.claude-window-bar > i:nth-child(3) { background: #26c940; }
.claude-window-bar strong { margin-left: 7px; color: #4b6881; font-size: 8px; }
.claude-app-body { display: grid; grid-template-columns: 72px 1fr; min-height: 190px; }
.claude-app-body > aside { display: flex; flex-direction: column; gap: 14px; padding: 14px 8px; color: #7b91a5; background: #f6fbff; font-size: 8px; }
.claude-app-body aside b, .claude-app-body aside span { display: flex; align-items: center; gap: 5px; }
.claude-app-body aside b { color: #0879ed; }
.claude-app-body aside svg { width: 11px; }
.claude-app-body > section { display: grid; align-content: space-between; padding: 21px 17px 13px; }
.claude-app-mark { display: grid; justify-items: center; gap: 6px; color: #243b57; }
.claude-app-mark > svg { width: 32px; height: 32px; color: #e86a4b; }
.claude-app-mark strong { font-size: 12px; }
.claude-app-mark small { color: #8799aa; font-size: 8px; }
.claude-app-input { display: flex; justify-content: space-between; align-items: center; padding: 8px 9px; border: 1px solid #d7e4ed; border-radius: 4px; color: #a0adba; font-size: 8px; }
.claude-app-input span { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 3px; color: #fff; background: #9aabba; font-size: 14px; line-height: 1; }
.claude-terminal-window { position: absolute; right: 2%; bottom: 8px; width: 155px; overflow: hidden; border-radius: 6px; color: #dcecff; background: #172438; box-shadow: 0 14px 24px rgb(23 36 56 / 24%); }
.claude-hero-terminal-window { position: relative; right: auto; bottom: auto; width: min(360px, 100%); }
.claude-terminal-window .claude-window-bar { background: #1c2a3e; border-bottom-color: #283a52; }
.claude-terminal-window code { display: block; padding: 12px; font: 9px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }
.claude-hero-terminal-window code { min-height: 136px; padding: 24px; font-size: 12px; }
.claude-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.claude-choice-grid article { display: grid; grid-template-columns: 33px 1fr; gap: 10px; padding: 17px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.claude-choice-grid article.recommended { border-color: #bdebdc; background: #f7fffc; }
.claude-choice-grid article > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #8798ab; }
.claude-choice-grid article.recommended > span { background: #10a27d; }
.claude-choice-grid article > span svg { width: 18px; }
.claude-choice-grid h3 { margin: 2px 0 6px; color: #203b5a; font-size: 15px; }
.claude-choice-grid p { margin: 0 0 9px; color: #71839a; font-size: 11px; line-height: 1.5; }
.claude-choice-grid article > div > svg { width: 14px; margin: 0 5px 0 0; color: #10a27d; vertical-align: -2px; }
.claude-choice-grid article > div > svg + svg { margin-left: 0; }
.claude-install-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.claude-install-step { position: relative; min-height: 144px; padding: 17px 14px 13px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.claude-install-step > span { display: block; width: 27px; height: 27px; color: #0879ed; }
.claude-install-step > span svg { width: 25px; height: 25px; }
.claude-install-step > b { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: #10a27d; font-size: 12px; }
.claude-install-step h3 { margin: 13px 0 7px; color: #1e3858; font-size: 12px; }
.claude-install-step p { margin: 0; color: #71839a; font-size: 10px; line-height: 1.55; }
.claude-command-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.claude-command-card { min-width: 0; padding: 10px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.claude-command-card .sb-command-block { margin: 0; }
.claude-command-card .sb-command-pre { min-height: 115px; font-size: 11px; }
.claude-command-card .sb-command-head { padding: 8px 10px; }
.claude-command-card .sb-command-head strong { font-size: 10px; }
.claude-install-redesign .codex-verify-grid > article ul { padding-left: 0; }
.claude-install-redesign .codex-verify-grid > article li { list-style: none; }
.claude-install-redesign .codex-verify-grid > article li::before { content: "✓"; margin-right: 8px; color: #0ca87e; font-weight: 800; }
@media (max-width: 1050px) {
  .claude-install-step-grid { grid-template-columns: 1fr 1fr; }
  .claude-command-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .claude-hero-visual { min-height: 250px; margin-top: 20px; }
  .claude-app-window { transform: translateX(-7px) scale(.95); transform-origin: center; }
  .claude-terminal-window { right: 0; transform: scale(.82); transform-origin: right bottom; }
  .claude-hero-terminal-window { right: auto; bottom: auto; width: min(360px, 100%); transform: none; }
  .claude-choice-grid, .claude-install-step-grid { grid-template-columns: 1fr; }
  .claude-install-step { min-height: 0; }
  .claude-install-redesign .codex-hero h1 { font-size: 30px; }
  .claude-install-redesign .codex-hero h1 em { font-size: 22px; line-height: 1.25; }
}

/* CC Switch introduction page: screenshot-led layout */
.cc-intro-shell { width: min(100% - 48px, 1180px); margin: 0 auto; }
.cc-intro-breadcrumbs { display: flex; gap: 9px; align-items: center; padding: 17px 0 12px; color: #71839a; font-size: 11px; }
.cc-intro-breadcrumbs a { color: #58708d; }
.cc-intro-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr); gap: 28px; align-items: center; min-height: 390px; margin: 0 -48px 12px; padding: 32px 48px 38px; background: linear-gradient(120deg, #effaff, #f9fcff 62%, #edf8ff); border-top: 1px solid #e4f0f8; border-bottom: 1px solid #e4f0f8; }
.cc-intro-kicker { display: inline-flex; padding: 4px 7px; border: 1px solid #a8e2ff; border-radius: 4px; color: #0879ed; background: #f7fdff; font-size: 11px; font-weight: 800; }
.cc-intro-hero h1 { margin: 12px 0 8px; color: #17365d; font-size: 40px; line-height: 1.18; letter-spacing: 0; }
.cc-intro-hero h1 em { display: block; color: #087de2; font-style: normal; }
.cc-intro-hero-copy > p { max-width: 650px; margin: 0; color: #5f7894; font-size: 14px; line-height: 1.7; }
.cc-intro-hero-copy > small { display: block; margin-top: 10px; color: #71839a; font-size: 11px; }
.cc-intro-notice { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border: 1px solid #bcebdc; border-radius: 6px; color: #247b69; background: #f4fffb; font-size: 10px; }
.cc-intro-notice > svg { width: 18px; flex: 0 0 auto; color: #0da57d; }
.cc-intro-notice b { margin-left: auto; padding: 4px 7px; border-radius: 4px; color: #0a9c76; background: #d9f7eb; font-size: 9px; white-space: nowrap; }
.cc-intro-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 16px; }
.cc-intro-hero-actions a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px; border-radius: 6px; font-size: 12px; font-weight: 800; }
.cc-intro-hero-actions a svg { width: 14px; }
.cc-intro-primary { color: #fff; background: #0879ed; box-shadow: 0 8px 18px rgba(8,121,237,.18); }
.cc-intro-secondary { border: 1px solid #0879ed; color: #0879ed; background: #fff; }
.cc-intro-hero-visual { position: relative; min-height: 290px; display: flex; align-items: center; justify-content: center; padding-top: 25px; }
.cc-intro-slogan { position: absolute; top: 2px; right: 8px; color: #0879ed; font-size: 14px; font-style: italic; transform: rotate(-5deg); }
.cc-intro-window { width: min(100%, 430px); overflow: hidden; border: 1px solid #cee0ec; border-radius: 7px; background: #fff; box-shadow: 0 18px 34px rgba(34,91,133,.13); }
.cc-intro-window-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-bottom: 1px solid #dbe7ef; background: #f9fcff; }
.cc-intro-window-bar > i { width: 7px; height: 7px; border-radius: 50%; background: #fb5e54; }
.cc-intro-window-bar > i:nth-child(2) { background: #ffbd2d; }
.cc-intro-window-bar > i:nth-child(3) { background: #26c940; }
.cc-intro-window-bar strong { margin-left: 7px; color: #466783; font-size: 9px; }
.cc-intro-window-body { display: grid; grid-template-columns: 100px minmax(0, 1fr); min-height: 224px; }
.cc-intro-window-body > aside, .cc-intro-form-body > aside { display: flex; flex-direction: column; gap: 15px; padding: 14px 9px; color: #748ca2; background: #f8fbfd; font-size: 9px; }
.cc-intro-window-body aside b, .cc-intro-window-body aside span, .cc-intro-form-body aside b, .cc-intro-form-body aside span { display: flex; align-items: center; gap: 5px; }
.cc-intro-window-body aside b, .cc-intro-form-body aside b { color: #0879ed; }
.cc-intro-window-body aside svg, .cc-intro-form-body aside svg { width: 12px; }
.cc-intro-window-body > section { padding: 14px 12px; }
.cc-intro-window-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; color: #1c3856; font-size: 11px; }
.cc-intro-window-title b { padding: 5px 7px; border-radius: 4px; color: #fff; background: #0879ed; font-size: 8px; }
.cc-intro-provider-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 7px; align-items: center; padding: 11px 3px; border-bottom: 1px solid #e6eef3; }
.cc-intro-provider-row > span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: #20a77d; }
.cc-intro-provider-row > span.claude { background: #f56e41; }
.cc-intro-provider-row > span.xiaohe { background: #1471df; }
.cc-intro-provider-row > span.custom { background: #8296ab; }
.cc-intro-provider-row > span svg { width: 13px; height: 13px; }
.cc-intro-provider-row strong { display: block; color: #274563; font-size: 9px; }
.cc-intro-provider-row small { display: block; margin-top: 2px; color: #7d94a8; font-size: 7px; }
.cc-intro-provider-row em { padding: 3px 5px; border-radius: 8px; color: #8999a8; background: #edf2f5; font-size: 7px; font-style: normal; white-space: nowrap; }
.cc-intro-provider-row em:first-letter { color: #0ca37d; }
.cc-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; align-items: start; }
.cc-intro-main { min-width: 0; }
.cc-intro-section { padding: 22px 0 8px; }
.cc-intro-section-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; }
.cc-intro-section-heading > span { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #10a27d; font-size: 13px; font-weight: 800; }
.cc-intro-section-heading h2 { margin: 0; color: #193552; font-size: 22px; line-height: 1.3; }
.cc-intro-section-heading p { margin: 4px 0 0; color: #71839a; font-size: 11px; line-height: 1.55; }
.cc-intro-two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.cc-intro-two-cards > article { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 15px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.cc-intro-two-cards > article.recommended { border-color: #bdebdc; background: #f6fffb; }
.cc-intro-two-cards > article > span, .cc-intro-concept-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #fff; background: #10a27d; }
.cc-intro-two-cards > article.neutral > span { background: #8999ad; }
.cc-intro-two-cards > article > span svg { width: 18px; }
.cc-intro-two-cards h3 { margin: 0 0 7px; color: #254363; font-size: 14px; }
.cc-intro-checklist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cc-intro-checklist li { display: flex; gap: 6px; align-items: flex-start; color: #65809a; font-size: 10px; line-height: 1.5; }
.cc-intro-checklist li > svg { width: 14px; flex: 0 0 auto; margin-top: 1px; color: #10a27d; }
.cc-intro-download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.cc-intro-download-card { padding: 17px 15px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.cc-intro-platform-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 9px; color: #0879ed; }
.cc-intro-platform-icon svg { width: 29px; height: 29px; }
.cc-intro-download-card h3 { margin: 0; color: #203b5a; font-size: 13px; }
.cc-intro-download-card strong { display: block; margin-top: 2px; color: #6c8098; font-size: 10px; }
.cc-intro-download-card p { min-height: 31px; margin: 10px 0; color: #71839a; font-size: 10px; line-height: 1.5; }
.cc-intro-download-card a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border-radius: 5px; color: #0879ed; background: #edf6ff; font-size: 10px; font-weight: 800; }
.cc-intro-download-card a svg { width: 13px; }
.cc-intro-info-banner { display: flex; gap: 7px; align-items: center; margin-top: 13px; padding: 9px 11px; border: 1px solid #cfe6ff; border-radius: 6px; color: #587798; background: #f1f8ff; font-size: 10px; }
.cc-intro-info-banner svg { width: 16px; color: #0879ed; }
.cc-intro-step-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 17px; align-items: start; }
.cc-intro-step-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.cc-intro-step-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid #dce7f0; border-bottom: 0; background: #fff; }
.cc-intro-step-list li:first-child { border-radius: 7px 7px 0 0; }
.cc-intro-step-list li:last-child { border-bottom: 1px solid #dce7f0; border-radius: 0 0 7px 7px; }
.cc-intro-step-list li > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: #10a27d; font-size: 12px; font-weight: 800; }
.cc-intro-step-list strong { color: #203b5a; font-size: 11px; }
.cc-intro-step-list p { margin: 3px 0 0; color: #7890a5; font-size: 9px; line-height: 1.4; }
.cc-intro-form-figure { margin: 0; }
.cc-intro-form-window { overflow: hidden; border: 1px solid #d4e4ef; border-radius: 7px; background: #fff; box-shadow: 0 12px 24px rgba(47,93,130,.1); }
.cc-intro-form-body { display: grid; grid-template-columns: 94px minmax(0, 1fr); min-height: 288px; }
.cc-intro-form-body > div { padding: 16px; }
.cc-intro-form-body h3 { margin: 0 0 12px; color: #203b5a; font-size: 13px; }
.cc-intro-form-body label { display: block; margin-top: 8px; color: #5b7490; font-size: 9px; }
.cc-intro-form-body input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 7px 8px; border: 1px solid #cbdde9; border-radius: 4px; color: #506b86; background: #fbfdff; font: inherit; }
.cc-intro-switch { display: flex; gap: 6px; align-items: center; margin: 12px 0; color: #4f6d88; font-size: 9px; }
.cc-intro-switch i { width: 23px; height: 13px; border-radius: 8px; background: #0879ed; }
.cc-intro-switch i::after { content: ""; display: block; width: 9px; height: 9px; margin: 2px 2px 0 auto; border-radius: 50%; background: #fff; }
.cc-intro-form-body button { float: right; padding: 7px 17px; border: 0; border-radius: 4px; color: #fff; background: #0879ed; font-size: 9px; }
.cc-intro-form-figure figcaption { margin-top: 7px; color: #71839a; font-size: 9px; }
.cc-intro-section .concept { display: block; padding: 17px; }
.cc-intro-section .concept > span { float: left; margin-right: 10px; }
.cc-intro-section .concept h3 { display: inline-block; margin: 3px 0 0; color: #0879ed; font-size: 14px; }
.cc-intro-section .concept b { float: right; padding: 4px 7px; border-radius: 10px; color: #0b9e78; background: #dff7ed; font-size: 9px; }
.cc-intro-section .concept.proxy b { color: #68798e; background: #eef2f5; }
.cc-intro-section .concept p { clear: both; margin: 12px 0; color: #71839a; font-size: 10px; line-height: 1.55; }
.cc-intro-security { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #ffc5c5; border-radius: 7px; background: #fff7f7; }
.cc-intro-security article { display: grid; grid-template-columns: 25px 1fr; gap: 8px; padding: 15px; border-right: 1px solid #ffd7d7; }
.cc-intro-security article:last-child { border-right: 0; }
.cc-intro-security article > svg { width: 22px; color: #ed5656; }
.cc-intro-security h3 { margin: 0; color: #d84d4d; font-size: 12px; }
.cc-intro-security p { margin: 4px 0 0; color: #a87171; font-size: 9px; line-height: 1.5; }
.cc-intro-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-intro-bottom-grid .cc-intro-section { min-width: 0; }
.cc-intro-verify { padding: 15px; border: 1px solid #cfeee4; border-radius: 7px; background: #f7fffc; }
.cc-intro-faq { overflow: hidden; border: 1px solid #dce7f0; border-radius: 7px; }
.cc-intro-faq details { border-bottom: 1px solid #dce7f0; }
.cc-intro-faq details:last-child { border-bottom: 0; }
.cc-intro-faq summary { display: flex; align-items: center; gap: 5px; padding: 10px 11px; color: #607b96; font-size: 10px; list-style: none; cursor: pointer; }
.cc-intro-faq summary::-webkit-details-marker { display: none; }
.cc-intro-faq summary svg { width: 13px; margin-left: auto; }
.cc-intro-faq details[open] summary svg { transform: rotate(90deg); }
.cc-intro-faq p { margin: -2px 11px 10px; color: #7b90a5; font-size: 9px; line-height: 1.5; }
.cc-intro-related { padding: 19px 0 28px; }
.cc-intro-related > h2 { margin: 0 0 12px; color: #213c5a; font-size: 17px; }
.cc-intro-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cc-intro-related-grid a { display: grid; grid-template-columns: 27px 1fr 14px; gap: 5px; align-items: center; padding: 13px; border: 1px solid #dce7f0; border-radius: 6px; color: #0879ed; background: #fff; }
.cc-intro-related-grid a > svg:first-child { grid-row: 1 / span 2; width: 23px; height: 23px; padding: 4px; border-radius: 50%; background: #edf6ff; }
.cc-intro-related-grid strong { color: #294664; font-size: 10px; }
.cc-intro-related-grid span { color: #7890a5; font-size: 9px; }
.cc-intro-related-grid a > svg:last-child { grid-column: 3; grid-row: 1 / span 2; width: 13px; }
.cc-intro-final-cta { display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; margin-top: 14px; padding: 15px 17px; border-radius: 7px; background: #eaf5ff; }
.cc-intro-final-cta > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #0879ed; background: #d4ebff; }
.cc-intro-final-cta > span svg { width: 21px; }
.cc-intro-final-cta h3 { margin: 0; color: #1d4e7d; font-size: 13px; }
.cc-intro-final-cta p { margin: 4px 0 0; color: #6a8bab; font-size: 9px; }
.cc-intro-final-cta a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 5px; color: #fff; background: #0879ed; font-size: 10px; font-weight: 800; white-space: nowrap; }
.cc-intro-final-cta a svg { width: 13px; }
.cc-intro-aside { position: sticky; top: 18px; display: grid; gap: 13px; }
.cc-intro-aside nav, .cc-intro-aside section { padding: 16px 14px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.cc-intro-aside h2 { margin: 0 0 7px; color: #203957; font-size: 13px; }
.cc-intro-aside nav a, .cc-intro-aside section a { display: block; padding: 5px 0; color: #6c8098; font-size: 10px; line-height: 1.35; }
.cc-intro-aside nav a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; border-radius: 50%; background: #10a27d; }
.cc-intro-aside section a { display: flex; align-items: center; gap: 6px; color: #0879ed; }
.cc-intro-aside section a svg { width: 13px; }
@media (max-width: 1050px) {
  .cc-intro-hero { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; }
  .cc-intro-shell { width: min(100% - 32px, 900px); }
  .cc-intro-layout { grid-template-columns: minmax(0, 1fr) 205px; }
  .cc-intro-step-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cc-intro-shell { width: min(100% - 28px, 620px); }
  .cc-intro-breadcrumbs { margin: 0 -14px; padding: 15px 14px 10px; }
  .cc-intro-hero { display: block; min-height: 0; margin: 0 -14px 10px; padding: 27px 14px 25px; }
  .cc-intro-hero h1 { font-size: 30px; }
  .cc-intro-hero h1 em { font-size: 23px; }
  .cc-intro-hero-copy > p { font-size: 13px; }
  .cc-intro-notice { align-items: flex-start; }
  .cc-intro-notice b { margin-top: 1px; }
  .cc-intro-hero-visual { min-height: 260px; margin-top: 21px; }
  .cc-intro-window { width: 100%; }
  .cc-intro-window-body { grid-template-columns: 77px minmax(0, 1fr); min-height: 222px; }
  .cc-intro-window-body > aside { gap: 11px; padding: 13px 7px; font-size: 8px; }
  .cc-intro-window-body > section { padding: 12px 8px; }
  .cc-intro-provider-row { grid-template-columns: 19px minmax(0, 1fr) auto; gap: 5px; padding: 8px 2px; }
  .cc-intro-provider-row > span { width: 18px; height: 18px; }
  .cc-intro-provider-row strong { font-size: 8px; }
  .cc-intro-provider-row small { font-size: 6px; }
  .cc-intro-layout { display: block; }
  .cc-intro-section-heading h2 { font-size: 21px; }
  .cc-intro-two-cards, .cc-intro-download-grid, .cc-intro-security, .cc-intro-bottom-grid, .cc-intro-related-grid { grid-template-columns: 1fr; }
  .cc-intro-security article { border-right: 0; border-bottom: 1px solid #ffd7d7; }
  .cc-intro-security article:last-child { border-bottom: 0; }
  .cc-intro-form-body { grid-template-columns: 72px minmax(0, 1fr); }
  .cc-intro-form-body > aside { gap: 11px; padding: 12px 6px; font-size: 8px; }
  .cc-intro-form-body > div { padding: 12px; }
  .cc-intro-final-cta { grid-template-columns: 39px 1fr; }
  .cc-intro-final-cta a { grid-column: 2; justify-self: start; }
  .cc-intro-aside { position: static; margin-top: 22px; }
}

/* Codex / Claude Code comparison page matching the editorial reference layout. */
.brand-mark-image { display: block; object-fit: contain; }
.codex-intro-redesign { background: #fff; color: #142b4d; }
.codex-intro-redesign [data-codex-intro] { overflow: clip; }
.codex-intro-shell { width: min(1380px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 26px; padding-bottom: 64px; }
.codex-intro-breadcrumbs { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; margin: 0 -78px; padding: 22px 78px 10px; color: #7d8da4; background: linear-gradient(115deg, #f0fbff 0%, #f7fbff 55%, #edf8ff 100%); font-size: 13px; }
.codex-intro-breadcrumbs a { color: #55708f; }
.codex-intro-hero { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(400px, .8fr); gap: 34px; align-items: start; min-height: 580px; margin: -26px -78px 20px; padding: 38px 78px 64px; background: linear-gradient(115deg, #f0fbff 0%, #f7fbff 55%, #edf8ff 100%); border-top: 1px solid #e4f0f8; border-bottom: 1px solid #e4f0f8; }
.codex-intro-kicker { display: inline-flex; padding: 5px 9px; border: 1px solid #73c8e8; border-radius: 5px; color: #1287c4; background: #f5fcff; font-size: 12px; font-weight: 800; }
.codex-intro-hero h1 { margin: 12px 0 10px; color: #17365d; font-size: 43px; line-height: 1.18; letter-spacing: 0; }
.codex-intro-hero h1 em { display: block; color: #087de2; font-style: normal; }
.codex-intro-hero-copy > p { max-width: 650px; margin: 0; color: #637895; font-size: 14px; line-height: 1.75; }
.codex-intro-hero-copy > small { display: block; margin-top: 11px; color: #71839a; font-size: 12px; }
.codex-intro-notice { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 20px 0 17px; padding: 12px 14px; border: 1px solid #cfeee4; border-radius: 6px; color: #557b77; background: #f6fffc; font-size: 13px; }
.codex-intro-notice svg { flex: 0 0 auto; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: #11a27e; }
.codex-intro-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.codex-intro-hero-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 17px; border-radius: 6px; font-size: 14px; font-weight: 800; }
.codex-intro-primary { color: #fff; background: #0879ed; box-shadow: 0 8px 20px rgb(8 121 237 / 18%); }
.codex-intro-secondary { color: #0974e2; border: 1px solid #82baf2; background: #fff; }
.codex-intro-hero-visual { position: relative; min-height: 275px; display: grid; place-items: center; margin-top: 22px; }
.codex-intro-slogan { position: absolute; top: 0; right: 2%; color: #167de2; font-size: 14px; font-style: italic; transform: rotate(-7deg); }
.codex-intro-hero-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(560px, 100%); padding: 15px; border: 1px solid #d9e8f4; border-radius: 8px; background: rgb(255 255 255 / 78%); box-shadow: 0 16px 34px rgb(77 128 173 / 12%); }
.codex-intro-hero-tool { min-height: 420px; padding: 18px 16px 14px; border-radius: 7px; background: #fff; }
.codex-intro-hero-tool.codex { border: 1px solid #cdeee3; }
.codex-intro-hero-tool.claude { border: 1px solid #f2ddd6; }
.codex-intro-tool-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; background: #0e9f7b; }
.codex-intro-hero-tool.claude .codex-intro-tool-icon { background: #e95d43; }
.codex-intro-tool-icon svg, .codex-intro-tool-icon .brand-mark-image { width: 23px; height: 23px; }
.codex-intro-hero-tool h2 { margin: 10px 0 2px; color: #1d3452; font-size: 19px; }
.codex-intro-hero-tool p { margin: 0; color: #71839a; font-size: 11px; line-height: 1.45; }
.codex-intro-hero-tool ul, .codex-intro-checklist { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; color: #657b96; font-size: 12px; line-height: 1.45; }
.codex-intro-hero-tool li, .codex-intro-checklist li { display: flex; align-items: flex-start; gap: 7px; }
.codex-intro-hero-tool li svg { flex: 0 0 auto; width: 14px; height: 14px; color: #0aa47d; }
.codex-intro-section { grid-column: 1; padding: 27px 0 8px; scroll-margin-top: 20px; }
.codex-intro-section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 17px; }
.codex-intro-section-heading > span { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: #10a67e; font-size: 15px; font-weight: 800; }
.codex-intro-section-heading h2 { margin: 0; color: #102d52; font-size: 26px; line-height: 1.25; letter-spacing: 0; }
.codex-intro-section-heading p { margin: 6px 0 0; color: #71839a; font-size: 13px; line-height: 1.5; }
.codex-intro-two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.codex-intro-summary-card { display: grid; grid-template-columns: 43px 1fr; gap: 13px; padding: 20px 18px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.codex-intro-summary-card.codex { border-color: #cdeee3; background: #f7fffc; }
.codex-intro-summary-card.claude { border-color: #e5e2f5; background: #fafaff; }
.codex-intro-summary-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #fff; background: #0e9f7b; }
.codex-intro-summary-card.claude .codex-intro-summary-icon { background: #e95d43; }
.codex-intro-summary-icon svg, .codex-intro-summary-icon .brand-mark-image { width: 24px; height: 24px; }
.codex-intro-summary-card h3 { margin: 0; color: #17355b; font-size: 17px; }
.codex-intro-summary-card p { margin: 4px 0 0; color: #71839a; font-size: 12px; }
.codex-intro-checklist li svg { flex: 0 0 auto; width: 17px; height: 17px; color: #0ca87e; }
.codex-intro-table-wrap { overflow-x: auto; border: 1px solid #dce7f0; border-radius: 7px; }
.codex-intro-table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; color: #5f7592; font-size: 12px; }
.codex-intro-table-wrap th, .codex-intro-table-wrap td { padding: 11px 13px; border-bottom: 1px solid #e1eaf2; text-align: left; line-height: 1.45; }
.codex-intro-table-wrap thead th { color: #17355b; background: #f1f7fc; font-weight: 800; }
.codex-intro-table-wrap tbody th { width: 22%; color: #2f4c70; background: #fbfdff; font-weight: 800; }
.codex-intro-table-wrap tbody tr:last-child th, .codex-intro-table-wrap tbody tr:last-child td { border-bottom: 0; }
.codex-intro-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.codex-intro-choice-list { padding: 21px 20px; border: 1px solid #cdeee3; border-radius: 7px; background: #f7fffc; }
.codex-intro-choice-section.claude .codex-intro-choice-list { border-color: #e1dcf6; background: #fafaff; }
.codex-intro-choice-list .codex-intro-checklist { gap: 14px; margin: 0; }
.codex-intro-choice-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; align-items: center; padding: 17px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.codex-intro-choice-art { position: relative; min-height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; background: #edf7ff; }
.codex-intro-choice-art.claude { background: #f2f2fb; }
.codex-intro-art-window { width: 78%; padding: 14px 11px; border-radius: 5px; color: #fff; background: #132237; box-shadow: 0 8px 16px rgb(29 62 97 / 17%); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; }
.codex-intro-art-window i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: #ff6257; }
.codex-intro-art-window i:nth-child(2) { background: #ffbd2e; }
.codex-intro-art-window i:nth-child(3) { background: #28c840; }
.codex-intro-art-window span { display: block; margin-top: 13px; color: #e5f4ff; }
.codex-intro-art-window b { display: block; margin-top: 11px; color: #16c99b; font-weight: 500; }
.codex-intro-art-mark { position: absolute; right: 10%; bottom: 17px; display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: #fff; background: #0e9f7b; }
.codex-intro-choice-art.claude .codex-intro-art-mark { background: #e95d43; }
.codex-intro-art-mark svg, .codex-intro-art-mark .brand-mark-image { width: 21px; height: 21px; }
.codex-intro-choice-copy h3 { margin: 0; color: #17355b; font-size: 16px; line-height: 1.35; }
.codex-intro-choice-copy p { margin: 6px 0 0; color: #71839a; font-size: 12px; line-height: 1.45; }
.codex-intro-choice-copy .codex-intro-checklist { gap: 8px; margin-top: 12px; font-size: 11px; }
.codex-intro-flow { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; gap: 10px; align-items: center; }
.codex-intro-flow article { min-height: 128px; padding: 18px 17px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.codex-intro-flow article > span { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 10px; border-radius: 50%; color: #fff; background: #0879ed; font-size: 13px; font-weight: 800; }
.codex-intro-flow h3 { margin: 0; color: #17355b; font-size: 15px; }
.codex-intro-flow p { margin: 6px 0 0; color: #71839a; font-size: 12px; line-height: 1.5; }
.codex-intro-flow > svg { width: 21px; color: #0879ed; }
.codex-intro-misconceptions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.codex-intro-misconceptions article { min-height: 143px; padding: 18px; border: 1px solid #ffcaca; border-radius: 7px; color: #853947; background: #fff5f5; }
.codex-intro-misconceptions article > svg { width: 25px; height: 25px; color: #ed5a5f; }
.codex-intro-misconceptions h3 { margin: 8px 0 5px; color: #d9474e; font-size: 15px; }
.codex-intro-misconceptions p { margin: 0; color: #8b6670; font-size: 12px; line-height: 1.55; }
.codex-intro-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.codex-intro-next-card { display: grid; gap: 8px; padding: 18px; border: 1px solid #dce7f0; border-radius: 7px; color: #234263; background: #fff; }
.codex-intro-next-card > span { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; color: #0e9f7b; background: #effaf7; }
.codex-intro-next-card strong { color: #0879ed; font-size: 14px; }
.codex-intro-next-card p { margin: 0; color: #71839a; font-size: 12px; line-height: 1.5; }
.codex-intro-next-card b { display: inline-flex; align-items: center; gap: 4px; color: #0879ed; font-size: 12px; }
.codex-intro-next-card b svg { width: 14px; }
.codex-intro-final-cta { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 20px; border-radius: 8px; color: #23609c; background: #eaf5ff; }
.codex-intro-final-cta > svg { width: 31px; height: 31px; color: #0879ed; }
.codex-intro-final-cta h3 { margin: 0; font-size: 15px; }
.codex-intro-final-cta p { margin: 4px 0 0; color: #6484a7; font-size: 12px; }
.codex-intro-final-cta a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 10px 15px; border-radius: 6px; color: #fff; background: #0879ed; font-size: 12px; font-weight: 800; white-space: nowrap; }
.codex-intro-final-cta a svg { width: 14px; }
.codex-intro-aside { grid-column: 2; grid-row: 3 / span 7; align-self: start; position: sticky; top: 18px; display: grid; gap: 14px; }
.codex-intro-aside nav, .codex-intro-aside section { padding: 17px 16px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.codex-intro-aside h2 { margin: 0 0 7px; color: #203957; font-size: 15px; }
.codex-intro-aside nav a, .codex-intro-aside section a { display: block; padding: 6px 0; color: #6c8098; font-size: 12px; line-height: 1.35; }
.codex-intro-aside nav a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: #11a47e; }
.codex-intro-aside section a { color: #0879ed; }
.codex-intro-aside section a svg { width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
@media (max-width: 1050px) {
  .codex-intro-hero { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; }
  .codex-intro-shell { width: min(100% - 32px, 900px); grid-template-columns: minmax(0, 1fr) 220px; }
  .codex-intro-hero { grid-template-columns: 1fr; gap: 25px; }
  .codex-intro-hero-visual { min-height: 225px; }
  .codex-intro-choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .codex-intro-shell { display: block; width: min(100% - 28px, 620px); }
  .codex-intro-breadcrumbs { margin: 0 -14px; padding: 15px 14px 10px; font-size: 11px; }
  .codex-intro-hero { display: block; min-height: 0; margin: 0 -14px 10px; padding: 28px 14px 24px; }
  .codex-intro-hero h1 { font-size: 31px; }
  .codex-intro-hero h1 em { font-size: 24px; }
  .codex-intro-hero-visual { min-height: 250px; margin-top: 24px; }
  .codex-intro-hero-tools { width: 100%; }
  .codex-intro-hero-tool { min-height: 206px; padding: 14px 11px; }
  .codex-intro-hero-tool h2 { font-size: 16px; }
  .codex-intro-hero-tool ul { font-size: 10px; }
  .codex-intro-section { padding-top: 25px; }
  .codex-intro-section-heading h2 { font-size: 22px; }
  .codex-intro-two-cards, .codex-intro-misconceptions, .codex-intro-next-grid { grid-template-columns: 1fr; }
  .codex-intro-choice-visual { grid-template-columns: 1fr; }
  .codex-intro-flow { grid-template-columns: 1fr; gap: 8px; }
  .codex-intro-flow > svg { justify-self: center; transform: rotate(90deg); }
  .codex-intro-aside { position: static; margin-top: 25px; }
  .codex-intro-final-cta { align-items: flex-start; flex-wrap: wrap; }
  .codex-intro-final-cta a { margin-left: 45px; }
}

/* CC Switch configuration page matching the supplied reference layout. */
.cc-switch-config-redesign { background: #fff; color: #183454; }
.cc-switch-config-redesign [data-cc-switch-config] { overflow: clip; }
.cc-switch-shell { width: min(1380px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; padding-bottom: 64px; }
.cc-switch-breadcrumbs { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; margin: 0 -78px; padding: 22px 78px 10px; color: #7d8da4; background: linear-gradient(115deg, #f0fbff 0%, #f7fbff 55%, #edf8ff 100%); font-size: 12px; }
.cc-switch-breadcrumbs a { color: #55708f; }
.cc-switch-hero { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr); gap: 30px; align-items: center; min-height: 430px; margin: -26px -78px 8px; padding: 36px 78px 44px; background: linear-gradient(115deg, #f0fbff 0%, #f7fbff 55%, #edf8ff 100%); border-top: 1px solid #e4f0f8; border-bottom: 1px solid #e4f0f8; }
.cc-switch-kicker { display: inline-flex; padding: 5px 9px; border: 1px solid #f1b67e; border-radius: 5px; color: #ed8a2e; background: #fffaf2; font-size: 12px; font-weight: 800; }
.cc-switch-hero h1 { margin: 13px 0 9px; color: #17365d; font-size: 41px; line-height: 1.18; letter-spacing: 0; }
.cc-switch-hero h1 em { display: block; color: #087de2; font-style: normal; }
.cc-switch-hero-copy > p { margin: 0; color: #087de2; font-size: 17px; font-weight: 800; line-height: 1.55; }
.cc-switch-hero-copy > small { display: block; margin-top: 10px; color: #71839a; font-size: 12px; }
.cc-switch-notice { display: flex; align-items: center; gap: 10px; max-width: 590px; margin: 18px 0 16px; padding: 11px 14px; border: 1px solid #cfeee4; border-radius: 6px; color: #557b77; background: #f6fffc; font-size: 12px; line-height: 1.5; }
.cc-switch-notice svg { flex: 0 0 auto; width: 21px; height: 21px; padding: 4px; border-radius: 50%; color: #fff; background: #11a27e; }
.cc-switch-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-switch-hero-actions a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 17px; border-radius: 6px; font-size: 13px; font-weight: 800; }
.cc-switch-primary { color: #fff; background: #0879ed; box-shadow: 0 8px 20px rgb(8 121 237 / 18%); }
.cc-switch-secondary { color: #0974e2; border: 1px solid #82baf2; background: #fff; }
.cc-switch-hero-visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; padding-top: 20px; }
.cc-switch-slogan { position: absolute; top: 0; right: 3%; color: #167de2; font-size: 14px; font-style: italic; transform: rotate(-7deg); }
.cc-switch-window { width: min(470px, 100%); overflow: hidden; border: 1px solid #d4e4f2; border-radius: 8px; background: rgb(255 255 255 / 88%); box-shadow: 0 18px 35px rgb(77 128 173 / 14%); }
.cc-switch-window-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-bottom: 1px solid #e3edf5; color: #405572; background: #f9fcff; font-size: 10px; }
.cc-switch-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff6257; }
.cc-switch-window-bar i:nth-child(2) { background: #ffbd2e; }
.cc-switch-window-bar i:nth-child(3) { background: #28c840; }
.cc-switch-window-bar strong { margin-left: 4px; }
.cc-switch-window-body { display: grid; grid-template-columns: 105px minmax(0, 1fr); min-height: 280px; }
.cc-switch-window-body aside { display: grid; align-content: start; gap: 11px; padding: 18px 10px; border-right: 1px solid #e1edf6; color: #7b8ca3; background: #f2f7fd; font-size: 10px; }
.cc-switch-window-body aside b, .cc-switch-window-body aside span { display: flex; align-items: center; gap: 6px; }
.cc-switch-window-body aside b { padding: 7px 6px; border-radius: 5px; color: #0879ed; background: #dfedff; }
.cc-switch-window-body aside svg { width: 13px; height: 13px; }
.cc-switch-window-body section { padding: 18px 15px; background: #fff; }
.cc-switch-window-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #213a5a; font-size: 12px; }
.cc-switch-window-title b { padding: 6px 8px; border-radius: 5px; color: #fff; background: #0879ed; font-size: 9px; }
.cc-switch-provider-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 8px; border-bottom: 1px solid #e5edf4; font-size: 10px; }
.cc-switch-provider-row:last-child { border-bottom: 0; }
.cc-switch-provider-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: #7b8ca3; }
.cc-switch-provider-mark.openai { background: #10a37f; }
.cc-switch-provider-mark.claude { background: #e95d43; }
.cc-switch-provider-mark.xiaohe { background: #1769e0; }
.cc-switch-provider-mark .brand-mark-image { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.cc-switch-provider-row strong, .cc-switch-provider-row small { display: block; }
.cc-switch-provider-row strong { color: #243d5d; }
.cc-switch-provider-row small { margin-top: 2px; overflow: hidden; color: #8a9ab0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.cc-switch-provider-row em { padding: 3px 6px; border-radius: 10px; color: #7e8fa2; background: #f0f3f7; font-size: 8px; font-style: normal; white-space: nowrap; }
.cc-switch-provider-row em.active { color: #0b9b79; background: #e4f8f1; }
.cc-switch-client-stack { position: absolute; right: 0; display: grid; gap: 13px; transform: none; }
.cc-switch-client-stack > div { display: grid; grid-template-columns: 29px 1fr; gap: 7px; align-items: center; min-width: 137px; padding: 10px 11px; border: 1px solid #d8e6f3; border-radius: 7px; background: #fff; box-shadow: 0 8px 20px rgb(77 128 173 / 12%); }
.cc-switch-client-stack > div strong, .cc-switch-client-stack > div small { grid-column: 2; }
.cc-switch-client-stack > div strong { color: #244064; font-size: 11px; }
.cc-switch-client-stack > div small { color: #7b8da6; font-size: 9px; }
.cc-switch-client-mark { grid-row: 1 / span 2; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; }
.cc-switch-client-mark.codex { background: #e9f4ff; }
.cc-switch-client-mark.claude { background: #fff0eb; }
.cc-switch-client-mark .brand-mark-image { width: 22px; height: 22px; }
.cc-switch-client-stack > svg { position: absolute; left: -25px; width: 23px; color: #0879ed; }
.cc-switch-client-stack > svg:first-of-type { top: 31px; }
.cc-switch-client-stack > svg:last-of-type { top: 98px; transform: rotate(90deg); }
.cc-switch-layout { display: contents; }
.cc-switch-main { grid-column: 1; min-width: 0; }
.cc-switch-section { padding: 27px 0 9px; scroll-margin-top: 20px; }
.cc-switch-section-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.cc-switch-section-heading > span { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border-radius: 50%; color: #fff; background: #0ca77d; font-size: 14px; font-weight: 800; }
.cc-switch-section-heading h2 { margin: 0; color: #102d52; font-size: 25px; line-height: 1.25; letter-spacing: 0; }
.cc-switch-section-heading p { margin: 5px 0 0; color: #71839a; font-size: 12px; line-height: 1.5; }
.cc-switch-two-cards, .cc-switch-two-column, .cc-switch-client-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-switch-summary-card, .cc-switch-info-card, .cc-switch-client-card { padding: 18px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.cc-switch-summary-card { display: grid; grid-template-columns: 38px 1fr; gap: 11px; }
.cc-switch-summary-card.recommended { border-color: #c9eee1; background: #f7fffc; }
.cc-switch-summary-card.neutral { border-color: #dce3ee; background: #fbfcfe; }
.cc-switch-card-icon, .cc-switch-info-title > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: #fff; background: #0ca77d; }
.cc-switch-summary-card.neutral .cc-switch-card-icon { background: #8190a8; }
.cc-switch-card-icon svg, .cc-switch-info-title svg { width: 18px; height: 18px; }
.cc-switch-summary-card h3, .cc-switch-info-card h3 { margin: 0; color: #17355b; font-size: 16px; }
.cc-switch-checklist { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; color: #687e98; font-size: 12px; line-height: 1.45; }
.cc-switch-checklist li { display: flex; align-items: flex-start; gap: 7px; }
.cc-switch-checklist li svg { flex: 0 0 auto; width: 16px; height: 16px; color: #0ca77d; }
.cc-switch-info-card { min-height: 230px; }
.cc-switch-info-title { display: flex; align-items: center; gap: 10px; }
.cc-switch-source-list { display: grid; gap: 11px; margin: 18px 0 0; padding-left: 17px; color: #627894; font-size: 12px; line-height: 1.5; }
.cc-switch-source-list a { color: #557bd8; }
.cc-switch-form-card { padding: 17px 18px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; box-shadow: 0 9px 22px rgb(57 92 133 / 7%); }
.cc-switch-form-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #1d385b; font-size: 12px; }
.cc-switch-form-heading span { color: #8392a7; font-size: 10px; }
.cc-switch-form-card label { display: block; margin-top: 8px; color: #5a6e87; font-size: 10px; }
.cc-switch-form-card input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 7px 8px; border: 1px solid #d9e4ef; border-radius: 4px; color: #8797aa; background: #fafcff; font-size: 10px; }
.cc-switch-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-switch-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.cc-switch-form-actions button { padding: 6px 13px; border: 0; border-radius: 4px; color: #71839a; background: #f1f4f8; font-size: 10px; }
.cc-switch-form-actions button:last-child { color: #fff; background: #0879ed; }
.cc-switch-step-layout, .cc-switch-verify-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 16px; align-items: start; }
.cc-switch-step-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid #dce7f0; border-radius: 7px; overflow: hidden; background: #fff; }
.cc-switch-step-list li { display: grid; grid-template-columns: 35px 1fr; gap: 10px; align-items: start; padding: 14px 15px; border-bottom: 1px solid #e6edf4; }
.cc-switch-step-list li:last-child { border-bottom: 0; }
.cc-switch-step-list li > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: #0ca77d; font-size: 13px; font-weight: 800; }
.cc-switch-step-list h3 { margin: 0; color: #1f3b5f; font-size: 13px; }
.cc-switch-step-list p { margin: 4px 0 0; color: #71839a; font-size: 11px; line-height: 1.5; }
.cc-switch-reference-image { margin: 0; overflow: hidden; border: 1px solid #dce7f0; border-radius: 7px; background: #f5f9fd; }
.cc-switch-reference-image img { display: block; width: 100%; height: auto; }
.cc-switch-reference-image figcaption { padding: 8px 10px; color: #7b8da2; font-size: 10px; }
.cc-switch-client-card { display: block; }
.cc-switch-client-card.codex { border-color: #ccefe3; background: #fbfffd; }
.cc-switch-client-card.claude { border-color: #f2ddd6; background: #fffdfc; }
.cc-switch-client-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-switch-client-heading > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #eaf6ff; }
.cc-switch-client-card.claude .cc-switch-client-heading > span { background: #fff0eb; }
.cc-switch-client-heading .brand-mark-image { width: 25px; height: 25px; }
.cc-switch-client-heading > div { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 8px; }
.cc-switch-client-heading h3 { margin: 0; color: #0879ed; font-size: 16px; }
.cc-switch-client-card.claude .cc-switch-client-heading h3 { color: #e05e43; }
.cc-switch-client-heading em { padding: 3px 8px; border-radius: 10px; color: #0a9e7d; background: #e5f9f2; font-size: 10px; font-style: normal; }
.cc-switch-client-card.claude .cc-switch-client-heading em { color: #3b78c9; background: #e9f2ff; }
.cc-switch-client-card .cc-switch-checklist { margin-left: 48px; }
.cc-switch-tip { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; padding: 10px 13px; border: 1px solid #cfe3fa; border-radius: 6px; color: #557492; background: #f4f9ff; font-size: 11px; line-height: 1.5; }
.cc-switch-tip svg { flex: 0 0 auto; width: 17px; color: #0879ed; }
.cc-switch-tip p { margin: 0; }
.cc-switch-flow { display: grid; grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; }
.cc-switch-flow li { min-height: 92px; display: grid; grid-template-columns: 30px 1fr; gap: 7px; align-items: center; padding: 13px 11px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.cc-switch-flow li > span { display: grid; place-items: center; width: 30px; height: 30px; grid-row: 1 / span 2; border-radius: 50%; color: #0879ed; background: #eaf4ff; }
.cc-switch-flow li > span svg { width: 17px; }
.cc-switch-flow li > strong { color: #234263; font-size: 12px; }
.cc-switch-flow li > p { grid-column: 2; margin: 0; color: #71839a; font-size: 10px; line-height: 1.45; }
.cc-switch-flow > svg, .cc-switch-flow-arrow { width: 17px; color: #0879ed; }
.cc-switch-flow-arrow { display: grid; place-items: center; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.cc-switch-flow-arrow svg { width: 17px; }
.cc-switch-verify-card { padding: 17px 18px; border: 1px solid #ccefe3; border-radius: 7px; background: #f7fffc; }
.cc-switch-command-card { padding: 17px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.cc-switch-command-card > span { display: block; margin-bottom: 10px; color: #5e738e; font-size: 11px; font-weight: 800; }
.cc-switch-command-card code { display: block; padding: 13px; border-radius: 5px; color: #d9efff; background: #12253e; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.6; }
.cc-switch-command-card > div { display: flex; gap: 7px; align-items: center; margin-top: 10px; padding: 9px 10px; border: 1px solid #cfeee4; border-radius: 5px; color: #0b9b79; background: #f1fffa; font-size: 10px; line-height: 1.45; }
.cc-switch-command-card > div svg { flex: 0 0 auto; width: 17px; }
.cc-switch-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border: 1px solid #dce7f0; border-radius: 7px; overflow: hidden; }
.cc-switch-faq-grid details { border-bottom: 1px solid #dce7f0; }
.cc-switch-faq-grid details:nth-last-child(-n + 2) { border-bottom: 0; }
.cc-switch-faq-grid summary { display: flex; align-items: center; gap: 7px; min-height: 45px; padding: 10px 13px; color: #42607f; font-size: 11px; cursor: pointer; list-style: none; }
.cc-switch-faq-grid summary::-webkit-details-marker { display: none; }
.cc-switch-faq-grid summary svg { width: 14px; margin-left: auto; }
.cc-switch-faq-grid details[open] summary svg { transform: rotate(90deg); }
.cc-switch-faq-grid details p { margin: -2px 13px 12px; color: #71839a; font-size: 11px; line-height: 1.55; }
.cc-switch-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.cc-switch-related-grid a { display: grid; grid-template-columns: 30px 1fr 15px; gap: 7px; align-items: center; padding: 15px; border: 1px solid #dce7f0; border-radius: 7px; color: #0879ed; background: #fff; }
.cc-switch-related-grid a > svg:first-child { grid-row: 1 / span 2; width: 24px; height: 24px; padding: 5px; border-radius: 50%; color: #0879ed; background: #edf6ff; }
.cc-switch-related-grid strong { font-size: 12px; }
.cc-switch-related-grid span { color: #71839a; font-size: 10px; }
.cc-switch-related-grid a > svg:last-child { grid-column: 3; grid-row: 1 / span 2; width: 15px; }
.cc-switch-support { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; margin-top: 14px; padding: 15px 17px; border-radius: 7px; color: #23609c; background: #eaf5ff; }
.cc-switch-support > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: #0879ed; background: #d5ebff; }
.cc-switch-support > span svg { width: 21px; }
.cc-switch-support h3 { margin: 0; color: #1e4a76; font-size: 14px; }
.cc-switch-support p { margin: 4px 0 0; color: #6484a7; font-size: 11px; line-height: 1.5; }
.cc-switch-support > a { display: inline-flex; align-items: center; gap: 5px; padding: 9px 12px; border-radius: 5px; color: #fff; background: #0879ed; font-size: 11px; font-weight: 800; white-space: nowrap; }
.cc-switch-support > a svg { width: 14px; }
.cc-switch-aside { grid-column: 2; grid-row: 3; align-self: start; position: sticky; top: 18px; display: grid; gap: 14px; }
.cc-switch-aside nav, .cc-switch-aside section { padding: 17px 16px; border: 1px solid #dce7f0; border-radius: 7px; background: #fff; }
.cc-switch-aside h2 { margin: 0 0 7px; color: #203957; font-size: 15px; }
.cc-switch-aside nav a, .cc-switch-aside section a { display: block; padding: 6px 0; color: #6c8098; font-size: 11px; line-height: 1.35; }
.cc-switch-aside nav a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: #11a47e; }
.cc-switch-aside section a { display: flex; align-items: center; gap: 6px; color: #0879ed; }
.cc-switch-aside section a svg { width: 13px; height: 13px; }
@media (max-width: 1050px) {
  .cc-switch-hero { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; grid-template-columns: 1fr; }
  .cc-switch-shell { width: min(100% - 32px, 900px); grid-template-columns: minmax(0, 1fr) 220px; }
  .cc-switch-hero-visual { min-height: 315px; }
  .cc-switch-client-stack { right: 6px; transform: scale(.82); transform-origin: right center; }
  .cc-switch-two-column, .cc-switch-step-layout, .cc-switch-verify-layout { grid-template-columns: 1fr; }
  .cc-switch-reference-image { max-height: 420px; overflow: auto; }
}
@media (max-width: 760px) {
  .cc-switch-shell { display: block; width: min(100% - 28px, 620px); }
  .cc-switch-breadcrumbs { margin: 0 -14px; padding: 15px 14px 10px; font-size: 11px; }
  .cc-switch-hero { display: block; min-height: 0; margin: 0 -14px 10px; padding: 28px 14px 25px; }
  .cc-switch-hero h1 { font-size: 31px; }
  .cc-switch-hero h1 em { font-size: 24px; }
  .cc-switch-hero-copy > p { font-size: 15px; }
  .cc-switch-hero-visual { min-height: 290px; margin-top: 22px; padding-right: 36px; }
  .cc-switch-window { width: 100%; }
  .cc-switch-window-body { grid-template-columns: 74px minmax(0, 1fr); min-height: 230px; }
  .cc-switch-window-body aside { gap: 10px; padding: 14px 7px; font-size: 8px; }
  .cc-switch-window-body section { padding: 13px 9px; }
  .cc-switch-provider-row { grid-template-columns: 20px minmax(0, 1fr) auto; gap: 5px; padding: 8px 4px; }
  .cc-switch-provider-mark { width: 19px; height: 19px; }
  .cc-switch-provider-mark .brand-mark-image { width: 12px; height: 12px; }
  .cc-switch-client-stack { right: 6px; transform: scale(.82); transform-origin: right center; }
  .cc-switch-client-stack > div { min-width: 105px; padding: 8px; }
  .cc-switch-client-stack > div strong { font-size: 9px; }
  .cc-switch-client-stack > div small { font-size: 8px; }
  .cc-switch-client-mark { width: 24px; height: 24px; }
  .cc-switch-client-mark .brand-mark-image { width: 18px; height: 18px; }
  .cc-switch-section { padding-top: 25px; }
  .cc-switch-section-heading h2 { font-size: 22px; }
  .cc-switch-two-cards, .cc-switch-related-grid { grid-template-columns: 1fr; }
  .cc-switch-form-row, .cc-switch-faq-grid { grid-template-columns: 1fr; }
  .cc-switch-faq-grid details:nth-last-child(-n + 2) { border-bottom: 1px solid #dce7f0; }
  .cc-switch-faq-grid details:last-child { border-bottom: 0; }
  .cc-switch-flow { grid-template-columns: 1fr; gap: 8px; }
  .cc-switch-flow > svg, .cc-switch-flow-arrow { justify-self: center; transform: rotate(90deg); }
  .cc-switch-flow li { min-height: 70px; }
  .cc-switch-client-card .cc-switch-checklist { margin-left: 0; }
  .cc-switch-support { grid-template-columns: 39px 1fr; }
  .cc-switch-support > a { grid-column: 2; justify-self: start; }
  .cc-switch-aside { position: static; margin-top: 25px; }
}
