@font-face {
  font-family: Inter;
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url("/assets/Inter.ac833b693ccac9a61a37aac1c723afb038d27a1381aaaa12d34bcf38d22fe276.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --text: #101828;
  --text-soft: #475467;
  --muted: #667085;
  --line: #e7eaf3;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --blue: #1a8bff;
  --purple: #6e00be;
  --pink: #ff2171;
  --green: #078c5a;
  --warning: #b54708;
  --shadow-soft: 0 14px 42px rgba(16, 24, 40, 0.07);
  --layout: 1240px;
  --page-gutter: 40px;
  --docs-layout: 1880px;
  --docs-gutter: 24px;
  --rc-icon-menu-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  --rc-icon-x-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kb-container,
.site-header,
.site-footer {
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
  isolation: isolate;
}

.site-header::before {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  width: 100vw;
  border-bottom: 1px solid rgba(231, 234, 243, 0.9);
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.04);
  content: "";
  transform: translateX(-50%);
}

.brand,
.desktop-nav,
.site-header__actions,
.nav-actions,
.site-footer,
.breadcrumbs {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 6px;
  color: var(--text);
  font-size: 27px;
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.brand small {
  max-width: 94px;
  margin-top: 1px;
  color: #5a23ce;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.desktop-nav,
.nav-actions {
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav > li {
  position: static;
  list-style: none;
}

.desktop-nav a,
.site-header__actions a,
.library-menu__button {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.desktop-nav > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 9px 0;
}

.library-menu__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 9px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.library-menu__button::after {
  position: relative;
  top: 0;
  width: 10px;
  height: 10px;
  margin-left: 1px;
  background: var(--muted);
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 180ms ease;
}

.rc-nav-item.is-open > .rc-nav-trigger::after {
  transform: rotate(180deg);
}

.library-megamenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  z-index: 120;
  width: min(calc(100vw - 44px), 1180px);
  max-width: calc(100vw - 44px);
  padding-top: 6px;
  overflow: visible;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.rc-nav-item.is-open .rc-nav-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.library-megamenu__inner {
  max-height: min(620px, calc(100vh - 118px));
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(231, 234, 243, 0.94);
  border-radius: 30px;
  background: #ffffff;
  background-clip: padding-box;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

.catalog-megamenu__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: -26px -26px 22px;
  padding: 18px 28px;
  background: var(--bg-soft);
}

.catalog-megamenu__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.catalog-megamenu__intro h2 {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.catalog-megamenu__intro > a,
.catalog-megamenu__section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.catalog-megamenu__intro > a:hover,
.catalog-megamenu__intro > a:focus-visible,
.catalog-megamenu__section-link:hover,
.catalog-megamenu__section-link:focus-visible {
  color: var(--link);
  text-decoration: underline;
}

.catalog-megamenu__groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.catalog-megamenu__group {
  min-width: 0;
  padding: 0 26px;
}

.catalog-megamenu__group:first-child {
  padding-left: 2px;
}

.catalog-megamenu__group:last-child {
  padding-right: 2px;
}

.catalog-megamenu__group + .catalog-megamenu__group {
  border-left: 1px solid rgba(231, 234, 243, 0.9);
}

.catalog-megamenu__group h3 {
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(231, 234, 243, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.catalog-megamenu__item + .catalog-megamenu__item {
  margin-top: 16px;
}

.library-megamenu .catalog-megamenu__section-link {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.catalog-megamenu__item ul {
  display: grid;
  gap: 5px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-megamenu__item li {
  list-style: none;
}

.catalog-megamenu__item li a {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
}

.catalog-megamenu__item li a:hover,
.catalog-megamenu__item li a:focus-visible {
  color: var(--link);
  text-decoration: underline;
}

.rc-nav-section {
  min-width: 0;
}

.rc-nav-section-head {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 8px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(231, 234, 243, 0.84);
}

.rc-nav-section-head strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.rc-nav-section-head a {
  color: inherit;
  text-decoration: none;
}

.rc-nav-section-head a:hover,
.rc-nav-section-head a:focus-visible {
  color: inherit;
}

.rc-nav-links {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-nav-links li {
  list-style: none;
}

.rc-nav-links a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.rc-nav-links a:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
}

.rc-nav-links strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.rc-nav-links span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.site-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.site-header__actions {
  justify-content: flex-end;
  gap: 12px;
}

.header-search {
  position: relative;
  margin-left: 12px;
}

.header-search input {
  width: clamp(300px, 32vw, 460px);
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(231, 234, 243, 0.95);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.045);
  color: var(--text);
  outline: none;
}

.header-search input:focus {
  border-color: rgba(26, 139, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(26, 139, 255, 0.12);
}

.mobile-nav {
  display: none;
  margin-left: auto;
}

.rbt-round-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(231, 234, 243, 0.92);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  color: var(--text);
  cursor: pointer;
}

.feather-menu::before,
.feather-x::before {
  display: block;
  width: 1em;
  height: 1em;
  background: currentColor;
  content: "";
  -webkit-mask: var(--rc-ui-icon-mask) center / contain no-repeat;
  mask: var(--rc-ui-icon-mask) center / contain no-repeat;
}

.feather-menu::before {
  --rc-ui-icon-mask: var(--rc-icon-menu-mask);
}

.feather-x::before {
  --rc-ui-icon-mask: var(--rc-icon-x-mask);
}

.popup-mobile-menu,
.close_side_menu {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.popup-mobile-menu {
  z-index: 1000;
  pointer-events: none;
}

.popup-mobile-menu .inner-wrapper {
  width: min(85vw, 440px);
  height: 100%;
  overflow-y: auto;
  background: #f7f8fc;
  box-shadow: 24px 0 80px rgba(16, 24, 40, 0.18);
  pointer-events: auto;
  transform: translateX(-100%);
  transition: transform 240ms ease;
}

.popup-mobile-menu .inner-top .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(231, 234, 243, 0.9);
  background: rgba(255, 255, 255, 0.86);
}

.popup-mobile-menu.active,
.close_side_menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-mobile-menu.active {
  pointer-events: none;
}

.popup-mobile-menu.active .inner-wrapper {
  transform: translateX(0);
}

.close_side_menu.active {
  z-index: 999;
  background: rgba(16, 24, 40, 0.34);
}

body.rc-mobile-nav-open {
  overflow: hidden;
}

.rc-mobile-nav {
  display: grid;
  gap: 18px;
  padding: 22px 16px;
}

.rc-mobile-nav a,
.rc-mobile-nav summary {
  color: var(--text);
  text-decoration: none;
}

.rc-mobile-single,
.rc-mobile-actions a {
  display: block;
  min-height: 54px;
  padding: 17px 16px;
  border: 1px solid rgba(231, 234, 243, 0.92);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.rc-mobile-nav details {
  border: 1px solid rgba(231, 234, 243, 0.92);
  border-radius: 20px;
  background: #ffffff;
}

.rc-mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.rc-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.rc-mobile-nav summary i {
  display: none;
}

.rc-mobile-nav summary::after {
  width: 11px;
  height: 11px;
  background: var(--muted);
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 180ms ease;
}

.rc-mobile-nav details[open] summary::after {
  transform: rotate(180deg);
}

.rc-mobile-dropdown {
  display: grid;
  gap: 12px;
  padding: 0 12px 14px;
}

.rc-mobile-dropdown .rc-nav-section {
  padding: 12px;
  border-radius: 16px;
  background: rgba(247, 248, 252, 0.68);
}

.rc-mobile-dropdown .rc-nav-section-head {
  min-height: 0;
  margin-bottom: 8px;
  padding-bottom: 9px;
}

.rc-mobile-dropdown .rc-nav-links a {
  min-height: 0;
  padding: 9px 10px;
  border-radius: 12px;
}

.kb-hero {
  padding: 90px 0 72px;
  background: #ffffff;
}

.kb-hero__inner {
  max-width: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kb-hero h1,
.search-header h1,
.error-page h1 {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.kb-hero__gradient-text {
  display: inline-block;
  padding-right: 0.08em;
  padding-bottom: 0.04em;
  background: linear-gradient(92deg, var(--purple) 0%, var(--blue) 54%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kb-hero h1 {
  max-width: none;
  padding-bottom: 0.18em;
  overflow: visible;
  line-height: 1.14;
}

.kb-hero__lede,
.search-header p,
.error-page p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.55;
}

.kb-search-panel {
  position: relative;
  display: flex;
  gap: 10px;
  max-width: 760px;
  margin-top: 32px;
}

.kb-search-panel input {
  flex: 1 1 auto;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(231, 234, 243, 0.96);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  outline: none;
}

.kb-search-panel button {
  flex: 0 0 auto;
  min-width: 118px;
  height: 58px;
  border: 0;
  border-radius: 8px;
  background: var(--text);
  color: #ffffff;
  font-weight: 850;
}

.live-search {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

.live-search ol,
.search-results ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.live-search li {
  padding: 12px;
  border-radius: 6px;
}

.live-search li:hover {
  background: var(--bg-soft);
}

.live-search a,
.search-results a {
  display: block;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.live-search span,
.search-results span {
  display: block;
  margin-top: 3px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 750;
}

.live-search p,
.search-results p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.kb-section {
  padding: 52px 0 80px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-catalog__card {
  margin-bottom: 56px;
  background: transparent;
}

.home-catalog__groups {
  padding: 6px 0 8px;
}

.home-catalog__intro h2 {
  margin-top: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-catalog__intro {
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
}

.home-catalog__groups .catalog-megamenu__group {
  padding-top: 10px;
  padding-bottom: 10px;
}

.text-link {
  color: var(--purple);
  font-weight: 400;
  text-decoration: none;
}

.text-link {
  font-weight: 800;
}

.docs-shell {
  display: grid;
  grid-template-areas: "article";
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 36px 0 80px;
}

.docs-shell--has-toc {
  grid-template-areas: "toc article";
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
}

.doc-toc {
  position: sticky;
  top: 64px;
  align-self: start;
  grid-area: toc;
  min-width: 0;
  max-height: calc(100vh - 88px);
  margin-top: 108px;
  padding: 0 8px 12px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(16, 24, 40, 0.22) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.doc-toc::-webkit-scrollbar {
  width: 8px;
}

.doc-toc::-webkit-scrollbar-track {
  background: transparent;
}

.doc-toc::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.18);
  background-clip: content-box;
}

.doc-toc p {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 0 0 18px;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.doc-toc ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-toc a {
  display: block;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.doc-toc a.is-active {
  background: #f3f4f6;
  color: var(--text);
}

.toc-level-1 a {
  color: var(--muted);
}

.toc-level-1 a.is-active {
  color: var(--text);
}

.toc-level-2 {
  padding-left: 14px;
}

.doc-article {
  grid-area: article;
  min-width: 0;
}

.docs-shell--has-toc .doc-article {
  width: min(100%, 900px);
  justify-self: end;
}

.breadcrumbs {
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.doc-header {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.doc-header h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
}

.doc-header > p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.55;
}

.doc-content {
  padding-top: 36px;
}

.doc-content h1 {
  margin: 78px 0 18px;
  color: var(--purple);
  font-size: 34px;
  font-weight: 840;
  letter-spacing: 0;
  line-height: 1.08;
}

.doc-content h1:first-child,
.doc-content h2:first-child,
.doc-content h3:first-child {
  margin-top: 0;
}

.doc-content h2 {
  margin: 46px 0 14px;
  color: var(--text);
  font-size: 26px;
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.doc-content h3 {
  margin: 34px 0 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.doc-content h4 {
  margin: 26px 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 720;
}

.doc-content h5,
.doc-content h6 {
  margin: 20px 0 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.doc-content h6 {
  color: #344054;
  font-size: 12px;
}

.doc-content p,
.doc-content li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.doc-content p {
  margin: 14px 0;
}

.doc-content .kb-video {
  margin: 24px 0;
}

.doc-content .kb-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
}

.doc-content .kb-video figcaption {
  margin-top: 8px;
  font-size: 0.875rem;
}

.doc-content .kb-video-error:not([hidden]) {
  display: block;
  margin-top: 8px;
}

.doc-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.doc-content p:has(> img:only-child) {
  margin: 24px 0;
  line-height: 0;
}

.doc-content a {
  color: var(--blue);
  font-weight: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.doc-content mark.pen-red {
  padding: 0;
  background: transparent;
  color: #d92d20;
}

.doc-content ul,
.doc-content ol {
  padding-left: 40px;
}

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

.doc-content code:not(.hljs) {
  padding: 0.15em 0.36em;
  border: 1px solid rgba(231, 234, 243, 0.95);
  border-radius: 5px;
  background: var(--bg-soft);
  color: #384152;
  font-size: 0.92em;
}

.doc-table-scroll {
  margin: 24px 0;
  max-height: 80vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  scrollbar-gutter: stable both-edges;
}

.doc-table-scroll:focus-visible {
  outline: 3px solid rgba(26, 139, 255, 0.35);
  outline-offset: 2px;
}

.doc-content table {
  width: 100%;
  min-width: 920px;
  margin: 0;
  border-collapse: collapse;
}

.doc-content th,
.doc-content td {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.doc-content th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 1px 0 var(--line);
}

.doc-content tr > :last-child {
  border-right: 0;
}

.doc-content tbody tr:last-child > * {
  border-bottom: 0;
}

.doc-content .mcp-operations-table thead th:last-child {
  text-align: left;
  white-space: nowrap;
}

.doc-content .mcp-operations-table tbody td:nth-child(2) {
  font-size: 12px;
}

@media (min-width: 900px) {
  .doc-content .mcp-operations-table {
    min-width: 0;
    table-layout: fixed;
  }

  .doc-content .mcp-operations-table thead th:nth-child(1),
  .doc-content .mcp-operations-table tbody td:nth-child(1) {
    width: 23%;
  }

  .doc-content .mcp-operations-table thead th:nth-child(2),
  .doc-content .mcp-operations-table tbody td:nth-child(2) {
    width: 19%;
  }

  .doc-content .mcp-operations-table thead th:nth-child(3),
  .doc-content .mcp-operations-table tbody td:nth-child(3) {
    width: 50%;
  }

  .doc-content .mcp-operations-table thead th:nth-child(4),
  .doc-content .mcp-operations-table tbody td:nth-child(4) {
    width: 8%;
  }

  .doc-content .mcp-operations-table tbody td:nth-child(1),
  .doc-content .mcp-operations-table tbody td:nth-child(2),
  .doc-content .mcp-operations-table tbody td:nth-child(3) {
    overflow-wrap: anywhere;
  }
}

.doc-content .mcp-operations-table .mcp-table-section {
  position: static;
  padding: 10px 14px;
  border-right: 0;
  background: #f6f3ff;
  color: #5525b6;
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.doc-content .mcp-operations-table .mcp-table-section-link,
.doc-content .mcp-operations-table .mcp-table-section-link:hover {
  color: inherit;
  text-decoration: none;
}

.doc-content .mcp-operations-table a {
  text-decoration: none;
}

.doc-callout {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid rgba(26, 139, 255, 0.22);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(26, 139, 255, 0.06);
}

.doc-callout--important,
.doc-callout--warning {
  border-color: rgba(181, 71, 8, 0.24);
  border-left-color: var(--warning);
  background: rgba(255, 250, 235, 0.88);
}

.doc-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}

.related-links {
  margin-top: 54px;
  padding: 20px;
  border: 1px solid rgba(231, 234, 243, 0.95);
  border-radius: 8px;
  background: var(--bg-soft);
}

.related-links h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links li {
  margin: 0;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.code-block {
  position: relative;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid #2b3445;
  border-radius: 8px;
  background: #111827;
}

.code-block > span {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.code-block pre {
  margin: 0;
  overflow-x: auto;
  padding: 22px;
}

.code-block code {
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
}

.hljs-keyword,
.hljs-built_in,
.hljs-title {
  color: #93c5fd;
}

.hljs-string,
.hljs-attr {
  color: #86efac;
}

.hljs-number,
.hljs-literal {
  color: #fda4af;
}

.hljs-comment {
  color: #94a3b8;
}

.search-page,
.error-page {
  padding: 70px 0 90px;
}

.search-header h1,
.error-page h1 {
  font-size: clamp(42px, 6vw, 66px);
}

.search-results {
  max-width: 760px;
  margin-top: 36px;
}

.result-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.search-results li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.empty-state h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(231, 234, 243, 0.92);
  color: var(--text);
}

.site-footer span {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.site-footer a:hover {
  border-color: rgba(231, 234, 243, 0.95);
  background: #ffffff;
  color: var(--text);
  transform: translateY(-1px);
}

@media (max-width: 1320px) {
  .docs-shell--has-toc {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 42px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 28px;
  }

  .site-header {
    min-height: 68px;
  }

  .site-header__nav,
  .site-header__actions,
  .site-header > .header-search {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .kb-hero {
    padding: 54px 0 48px;
  }

  .kb-search-panel {
    flex-direction: column;
  }

  .kb-search-panel button {
    width: 100%;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    flex-wrap: wrap;
    gap: 2px 4px;
    width: 100%;
  }

  .site-footer a {
    min-height: 28px;
    padding: 0 7px;
    font-size: 10.5px;
    font-weight: 700;
  }

  .home-catalog__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
  }

  .home-catalog__groups .catalog-megamenu__group:nth-child(odd) {
    padding-left: 2px;
  }

  .home-catalog__groups .catalog-megamenu__group:nth-child(even) {
    padding-right: 2px;
  }

  .home-catalog__groups .catalog-megamenu__group:nth-child(3) {
    border-left: 0;
  }

  .docs-shell {
    display: block;
    width: 100%;
    padding: 28px 16px 72px;
  }

  .doc-toc {
    display: none;
  }

  .doc-header h1 {
    font-size: 42px;
  }

  .kb-hero h1 {
    padding-bottom: 0.2em;
    line-height: 1.14;
  }

  .kb-hero__gradient-text {
    padding-bottom: 0.12em;
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 22px;
  }

  .docs-shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    font-size: 24px;
  }

  .home-catalog__groups {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-catalog__intro {
    margin-bottom: 20px;
    padding: 0;
  }

  .home-catalog__intro h2 {
    font-size: 24px;
  }

  .home-catalog__card {
    margin-bottom: 32px;
  }

  .home-catalog__groups .catalog-megamenu__group,
  .home-catalog__groups .catalog-megamenu__group:nth-child(odd),
  .home-catalog__groups .catalog-megamenu__group:nth-child(even) {
    padding-right: 2px;
    padding-left: 2px;
  }

  .home-catalog__groups .catalog-megamenu__group + .catalog-megamenu__group {
    border-top: 1px solid rgba(231, 234, 243, 0.9);
    border-left: 0;
  }

  .kb-hero h1,
  .search-header h1,
  .error-page h1 {
    font-size: 42px;
  }

  .doc-content h1 {
    margin-top: 62px;
  }

  .doc-content h2 {
    font-size: 24px;
  }
}
