#introduction p + p {
  margin-top: 12px;
}

#introduction h3 {
  margin-top: 18px;
}

#introduction ul {
  margin: 12px 0 12px 20px;
  padding-left: 18px;
}

#introduction li + li {
  margin-top: 6px;
}

#introduction p + h3 {
  margin-top: 24px;
}

.platform-scroll-shell {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.platform-tabs {
  width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding-bottom: 24px;
  margin-bottom: 27px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.platform-tabs::-webkit-scrollbar {
  display: none;
  height: 0;
}

.platform-scroll-control {
  position: absolute;
  top: 18px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid #006efa;
  border-radius: 999px;
  background: #006efa;
  box-shadow: 0 10px 24px rgba(0, 110, 250, .24);
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  line-height: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.platform-scroll-left {
  left: 0;
  transform: translate(-8px, -50%);
}

.platform-scroll-right {
  right: 0;
  transform: translate(8px, -50%);
}

.platform-scroll-shell:hover .platform-scroll-control.is-visible,
.platform-scroll-shell:focus-within .platform-scroll-control.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.platform-scroll-shell:hover .platform-scroll-left.is-visible,
.platform-scroll-shell:focus-within .platform-scroll-left.is-visible {
  transform: translate(4px, -50%);
}

.platform-scroll-shell:hover .platform-scroll-right.is-visible,
.platform-scroll-shell:focus-within .platform-scroll-right.is-visible {
  transform: translate(-4px, -50%);
}

.platform-scroll-control:hover {
  background: #006efa;
  border-color: #006efa;
  color: #ffffff;
}

.platform-scroll-control:disabled {
  display: none;
}

.platform-tabs .platform-pill {
  flex: 0 0 auto;
}

.sdk-hidden {
  display: none;
}

/* Keep SDK navigation typography aligned with the reference sidebar. */
.sdk-sidebar-holder .sdk-side-heading,
.sdk-sidebar-holder .side-item,
.sdk-sidebar-holder .side-submenu a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.sdk-sidebar-holder .side-chevron {
  display: inline-block;
  transform-origin: center;
}

.sdk-sidebar-holder [data-sdk-submenu][aria-expanded="true"] .side-chevron {
  transform: rotate(180deg);
}

.sdk-platform-doc {
  padding-top: 8px;
}

.sdk-platform-doc h2 {
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  margin: 0 0 16px;
  color: #0a0e12;
}

.sdk-platform-doc h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin: 32px 0 14px;
  color: #0a0e12;
}

.sdk-platform-doc h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: 24px 0 12px;
  color: #0a0e12;
}

.sdk-platform-doc p {
  margin: 0 0 12px;
  line-height: 28px;
  color: #0a0e12;
}

.sdk-platform-doc ul {
  margin: 0 0 16px 20px;
  padding-left: 18px;
}

.sdk-platform-doc li + li {
  margin-top: 6px;
}

.sdk-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 16px 0 24px;
}

.sdk-spec-card {
  border: 1px solid #dfe3f0;
  border-radius: 16px;
  padding: 18px 20px;
  background: #fff;
}

.sdk-spec-card h4 {
  margin-top: 0;
}

.sdk-code-block {
  margin: 14px 0 22px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #171717;
  color: #e8e8e8;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.sdk-code-block code {
  display: block;
  white-space: pre;
  color: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  font-family: inherit;
}

.sdk-code-shell {
  position: relative;
  margin: 14px 0 22px;
  border-radius: 16px;
  overflow: hidden;
  background: #171717;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.sdk-code-actions {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
}

.sdk-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.sdk-copy-btn svg {
  flex: 0 0 auto;
}

.sdk-copy-btn.is-copied {
  color: #24ae60;
}

.sdk-copy-btn:focus-visible {
  outline: 2px solid #006efa;
  outline-offset: 2px;
  border-radius: 8px;
}

.sdk-code-shell .sdk-code-block {
  margin: 0;
  padding: 56px 96px 18px 20px;
  border-radius: 0;
  box-shadow: none;
}

.sdk-code-shell .sdk-code-block {
  display: flex;
  align-items: flex-start;
}

.sdk-code-line-numbers {
  flex: 0 0 32px;
  margin-right: 18px;
  color: #6a6a6a;
  text-align: right;
  user-select: none;
  display: flex;
  flex-direction: column;
  line-height: 24px;
}

.sdk-code-line-numbers span {
  display: block;
  height: 24px;
}

.sdk-code-shell .sdk-code-block code {
  flex: 1 1 auto;
  min-width: 0;
}

.sdk-code-keyword {
  color: #569cd6;
}

.sdk-code-type {
  color: #4ec9b0;
}

.sdk-code-string {
  color: #ce9178;
}

.sdk-code-function {
  color: #dcdcaa;
}

.sdk-code-number {
  color: #b5cea8;
}

.sdk-code-comment {
  color: #6a9955;
}

.sdk-table-shell {
  position: relative;
  margin: 14px 0 24px;
  border: 1px solid #dfe3f0;
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.sdk-table-actions {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
}

.sdk-table-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: #5c5f62;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.sdk-table-copy:hover {
  color: #0a0e12;
  background: rgba(247, 249, 252, 0.94);
}

.sdk-table-copy.is-copied {
  color: #24ae60;
}

.sdk-table-copy:focus-visible {
  outline: 2px solid #006efa;
  outline-offset: 2px;
  border-radius: 8px;
}

.sdk-table-copy svg {
  flex: 0 0 auto;
}

.sdk-table-copy span {
  white-space: nowrap;
}

.sdk-table-scroll {
  overflow-x: auto;
}

.sdk-data-table {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  overflow: visible;
  font-family: 'Inter', sans-serif;
}

.sdk-data-table th:nth-child(1),
.sdk-data-table td:nth-child(1) {
  width: 22% !important;
  padding-right: 32px;
}

.sdk-data-table th:nth-child(2),
.sdk-data-table td:nth-child(2) {
  width: 34%;
  padding-left: 28px;
}

.sdk-data-table th:nth-child(3),
.sdk-data-table td:nth-child(3) {
  width: 44% !important;
}

/* Give two-column event tables enough room for names such as Buffering Start. */
.sdk-data-table th:first-child:nth-last-child(2),
.sdk-data-table td:first-child:nth-last-child(2) {
  width: 30% !important;
}

.sdk-data-table th:nth-child(2):last-child,
.sdk-data-table td:nth-child(2):last-child {
  width: 70% !important;
}

.sdk-data-table th,
.sdk-data-table td {
  border-right: 1px solid #dfe3f0;
  border-bottom: 1px solid #dfe3f0;
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  line-height: 26px;
  font-size: 15px;
}

.sdk-data-table th:last-child,
.sdk-data-table td:last-child {
  border-right: 0;
}

.sdk-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.sdk-data-table th {
  background: #f8fafe;
  font-weight: 600;
  color: #0a0e12;
}

.sdk-data-table td {
  color: #445065;
  font-weight: 400;
}

.sdk-data-table code {
  display: inline-block;
  line-height: inherit;
  white-space: normal;
  word-break: break-word;
}

/* Match the reference table spacing while keeping the SDK table wrapper responsive. */
table.gtable-sdks th,
table.sdk-data-table th:nth-child(n) {
  width: auto;
  padding-right: 48px;
  padding-bottom: 24px;
}

table.gtable-sdks.table-responsive td,
table.sdk-data-table.table-responsive td,
table.sdk-data-table td:nth-child(n) {
  padding-right: 48px;
}

@media (max-width: 991px) {
  .sdk-spec-grid {
    grid-template-columns: 1fr;
  }

  .sdk-table-shell {
    border-radius: 16px;
  }

  .sdk-table-actions {
    top: 12px;
    right: 14px;
  }

  .sdk-data-table {
    min-width: 560px;
  }

  .sdk-data-table th,
  .sdk-data-table td {
    padding: 14px 16px;
    line-height: 24px;
    font-size: 14px;
  }

}


.sdk-faq-block {
  margin-top: 40px;
}

.sdk-faq-block h2 {
  margin-bottom: 20px;
}

.sdk-faq-item {
  border: 1px solid #dfe3f0;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.sdk-faq-item + .sdk-faq-item {
  margin-top: 18px;
}

.sdk-faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border: 0;
  background: transparent;
  text-align: left;
  color: #0a0e12;
}

.sdk-faq-toggle:hover {
  background: rgba(230, 242, 255, 0.35);
}

.sdk-faq-toggle .side-chevron {
  flex: 0 0 auto;
  color: #5c5f62;
}

.sdk-faq-toggle[aria-expanded="true"] .side-chevron {
  transform: rotate(180deg);
}

.sdk-platform-doc .sdk-faq-toggle span {
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 600;
}

.sdk-faq-answer {
  padding: 0 28px 22px;
  border-top: 1px solid #eef2f7;
}

.sdk-faq-answer[hidden] {
  display: none !important;
}

.sdk-faq-answer p:first-child,
.sdk-faq-answer ul:first-child {
  margin-top: 18px;
}

.sdk-faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .sdk-faq-item {
    border-radius: 16px;
  }

  .sdk-faq-toggle {
    padding: 18px 20px;
    gap: 12px;
  }

  .sdk-platform-doc .sdk-faq-toggle span {
    font-size: 15px !important;
    line-height: 22px !important;
  }

  .sdk-faq-answer {
    padding: 0 20px 18px;
  }

  .sdk-code-block code {
    font-size: 16px;
    line-height: 24px;
  }

  .sdk-data-table th,
  .sdk-data-table td {
    padding: 14px 16px;
    line-height: 24px;
  }
}


@media (min-width: 991px) and (max-width: 1380px) {
  .sdk-platform-doc .sdk-faq-toggle span {
    font-size: 16px !important;
    line-height: 24px !important;
  }
}


body.sdk-search-open {
  overflow: hidden;
}

.search-wrap {
  position: relative;
}

.sdk-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 24px 40px;
}

.sdk-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 18, 0.68);
  backdrop-filter: blur(2px);
}

.sdk-search-dialog {
  position: relative;
  z-index: 1;
  width: min(850px, calc(100vw - 48px));
}

.sdk-search-overlay .sdk-search-panel {
  border: 0;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.sdk-search-bar {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 16px 0 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.sdk-search-bar svg {
  flex: 0 0 auto;
  color: #8c9196;
}

.sdk-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100% !important;
  margin-left: 18px;
  border: 0 !important;
  border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 0 0 24px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  color: #0a0e12 !important;
  background: transparent !important;
}

.sdk-search-input::placeholder {
  color: #6d7175;
}

.sdk-search-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 100%;
  margin-left: 10px;
  padding-left: 10px;
  border: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: transparent;
  color: #5c5f62;
}

.sdk-search-close:hover,
.sdk-search-close:focus-visible {
  background: transparent;
  color: #0a0e12;
  outline: none;
}

.sdk-search-results {
  max-height: min(376px, calc(100vh - 230px));
  padding: 8px 0 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cacaca transparent;
}

.sdk-search-summary {
  display: none;
}

.sdk-search-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 12px;
}

.sdk-search-empty-state {
  min-height: 330px;
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #929aa3;
  gap: 8px;
}

.sdk-search-empty-title {
  color: #545b63;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 0;
}

.sdk-search-empty {
  color: #929aa3;
  font-size: 16px;
  line-height: 24px;
}

.sdk-search-result {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: calc(100% - 24px);
  margin: 0 12px;
  padding: 10px 12px 10px 24px;
  border: 0;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: none;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.sdk-search-result:last-child {
  margin-bottom: 0;
}

.sdk-search-result:hover,
.sdk-search-result:focus-visible {
  background: #f4f7fc;
  outline: none;
}

.sdk-search-result-title {
  color: #0a0e12;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
}

.sdk-search-result-meta {
  color: #6b7280;
  font-size: 12px;
  line-height: 18px;
}

.sdk-search-result-snippet {
  color: #475569;
  font-size: 14px;
  line-height: 22px;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991px) {
  .sdk-search-overlay {
    padding: 90px 16px 24px;
  }

  .sdk-search-dialog {
    width: min(100%, calc(100vw - 32px));
  }

  .sdk-search-overlay .sdk-search-panel {
    border-radius: 22px;
  }

  .sdk-search-bar {
    height: 62px;
    padding: 0 18px;
  }

  .sdk-search-input {
    margin-left: 12px;
    padding-left: 18px !important;
  }

  .sdk-search-close {
    width: 31px;
    margin-left: 13px;
    padding-left: 13px;
  }

  .sdk-search-results {
    max-height: calc(100vh - 180px);
    padding: 8px 16px 20px;
  }

  .sdk-search-result {
    width: 100%;
    margin: 0;
    padding: 12px 3px;
  }
}


.site-header .dynamic-product-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #006efa;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.site-header .dynamic-product-logo svg {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
}

.site-header .dynamic-product-logo span {
  color: #0a0e12;
}

.sdk-platform-doc table {
  table-layout: auto;
}

.sdk-platform-doc table:not(.sdk-data-table) {
  margin-bottom: 48px;
}

.sdk-platform-doc table:not(.sdk-data-table) th {
  width: auto;
  padding-right: 100px;
  padding-bottom: 12px;
}

.sdk-platform-doc table:not(.sdk-data-table) td {
  width: auto;
  padding-right: 48px;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Keep wide feature tables readable instead of squeezing every column. */
.sdk-platform-doc .sdk-data-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

.sdk-platform-doc .sdk-data-table th,
.sdk-platform-doc .sdk-data-table td {
  width: auto !important;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.sdk-platform-doc .sdk-data-table svg,
.sdk-platform-doc .sdk-data-table i {
  flex: 0 0 auto;
}
#introduction p + h3 {
    margin-top: 24px;
    margin-bottom: 16px;
}
