.docs-body {
  margin: 0;
  background: #fff;
  color: #18181b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.docs-body a { color: inherit; text-decoration: none; }

.docs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e4e4e7;
  background: rgb(255 255 255 / 94%);
  padding: 0 28px;
  backdrop-filter: blur(14px);
}

.docs-header__brand, .docs-header__actions, .docs-brand, .docs-language { display: flex; align-items: center; }
.docs-header__brand { gap: 12px; min-width: 0; }
.docs-brand { gap: 9px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.docs-brand img { width: 30px; height: 30px; }
.docs-header__divider { width: 1px; height: 22px; background: #d4d4d8; }
.docs-header__title { color: #52525b !important; font-size: 14px; font-weight: 600; }
.docs-header__actions { gap: 16px; }
.docs-header__search input { width: 210px; border: 1px solid #e4e4e7; border-radius: 8px; background: #fafafa; color: #27272a; font-size: 12px; padding: 8px 10px; }
.docs-header__search input:focus { outline: 2px solid rgb(59 130 246 / 24%); border-color: #93c5fd; }
.docs-language { gap: 3px; border: 1px solid #e4e4e7; border-radius: 8px; padding: 3px; }
.docs-language a { border-radius: 5px; color: #71717a; font-size: 12px; font-weight: 600; padding: 6px 9px; }
.docs-language a:hover, .docs-language a.is-active { background: #f4f4f5; color: #18181b; }
.docs-header__button { border-radius: 7px; background: #18181b; color: #fff !important; font-size: 12px; font-weight: 700; padding: 8px 12px; }

.docs-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px) 190px;
  justify-content: center;
  min-height: calc(100vh - 64px);
}

.docs-sidebar {
  border-right: 1px solid #f0f0f2;
  padding: 32px 28px 64px 16px;
}

.docs-navigation section + section { margin-top: 26px; }
.docs-navigation section > p { color: #a1a1aa; font-size: 11px; font-weight: 700; letter-spacing: .08em; margin: 0 0 8px 10px; text-transform: uppercase; }
.docs-navigation a { display: block; border-radius: 7px; color: #52525b; font-size: 13px; line-height: 1.35; padding: 7px 10px; }
.docs-navigation a:hover { background: #fafafa; color: #18181b; }
.docs-navigation a.is-active { background: #eff6ff; color: #1d4ed8; font-weight: 650; }

.docs-main { min-width: 0; padding: 52px 56px 80px; }
.docs-breadcrumbs { display: flex; gap: 8px; color: #a1a1aa; font-size: 12px; margin-bottom: 28px; }
.docs-breadcrumbs a:hover { color: #2563eb; }
.docs-article__header { border-bottom: 1px solid #e4e4e7; padding-bottom: 34px; }
.docs-article__header h1 { color: #09090b; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.docs-article__header p { color: #52525b; font-size: 18px; line-height: 1.65; margin: 18px 0 0; max-width: 680px; }
.docs-section { scroll-margin-top: 92px; padding-top: 42px; }
.docs-section h2 { color: #18181b; font-size: 23px; letter-spacing: -.025em; line-height: 1.25; margin: 0 0 18px; }
.docs-section h2 a:hover { color: #2563eb; }
.docs-section > p { color: #3f3f46; font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.docs-section ul { margin: 18px 0; padding-left: 24px; }
.docs-section li { color: #3f3f46; font-size: 15px; line-height: 1.7; margin: 8px 0; padding-left: 4px; }
.docs-steps { counter-reset: docs-step; list-style: none; padding: 0 !important; }
.docs-steps li { counter-increment: docs-step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; margin: 20px 0; padding: 0; }
.docs-steps li::before { content: counter(docs-step); display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #18181b; color: #fff; font-size: 12px; font-weight: 700; grid-row: span 2; }
.docs-steps strong { color: #18181b; font-size: 15px; }
.docs-steps span { color: #52525b; font-size: 14px; line-height: 1.65; margin-top: 2px; }
.docs-note { border-left: 3px solid #3b82f6; border-radius: 0 8px 8px 0; background: #eff6ff; color: #1e3a8a; font-size: 14px; line-height: 1.65; margin-top: 22px; padding: 14px 16px; }
.docs-table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid #e4e4e7; border-radius: 9px; }
.docs-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs-table-wrap th { background: #fafafa; color: #52525b; font-size: 12px; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.docs-table-wrap th, .docs-table-wrap td { border-bottom: 1px solid #e4e4e7; padding: 11px 13px; vertical-align: top; }
.docs-table-wrap tr:last-child td { border-bottom: 0; }

.docs-toc { padding: 52px 16px 64px 28px; }
.docs-toc > p { color: #a1a1aa; font-size: 11px; font-weight: 700; letter-spacing: .06em; margin: 0 0 12px; text-transform: uppercase; }
.docs-toc nav { border-left: 1px solid #e4e4e7; }
.docs-toc a { display: block; color: #71717a; font-size: 12px; line-height: 1.4; padding: 5px 0 5px 13px; }
.docs-toc a:hover { color: #2563eb; }
.docs-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid #e4e4e7; margin-top: 52px; padding-top: 28px; }
.docs-pagination a { border: 1px solid #e4e4e7; border-radius: 9px; padding: 14px 16px; }
.docs-pagination a:hover { border-color: #a1a1aa; }
.docs-pagination span { display: block; color: #a1a1aa; font-size: 11px; margin-bottom: 4px; text-transform: uppercase; }
.docs-pagination strong { color: #27272a; font-size: 13px; }
.docs-pagination__next { text-align: right; }
.docs-mobile-nav { display: none; }
.docs-search-page__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 30px 0; }
.docs-search-page__form input { min-width: 0; border: 1px solid #d4d4d8; border-radius: 8px; font-size: 15px; padding: 11px 13px; }
.docs-search-page__form input:focus { outline: 2px solid rgb(59 130 246 / 24%); border-color: #60a5fa; }
.docs-search-page__form input[type="submit"] { cursor: pointer; border: 0; background: #18181b; color: #fff; font-weight: 700; padding-inline: 18px; }
.docs-search-page__count { color: #71717a; font-size: 13px; margin-bottom: 14px; }
.docs-search-results { display: grid; gap: 10px; }
.docs-search-results a { display: block; border: 1px solid #e4e4e7; border-radius: 9px; padding: 15px 17px; }
.docs-search-results a:hover { border-color: #a1a1aa; background: #fafafa; }
.docs-search-results strong { display: block; color: #18181b; font-size: 15px; margin-bottom: 5px; }
.docs-search-results span { color: #71717a; font-size: 13px; line-height: 1.55; }
.docs-search-empty { border: 1px dashed #d4d4d8; border-radius: 9px; color: #71717a; font-size: 14px; padding: 22px; text-align: center; }

@media (max-width: 1080px) {
  .docs-shell { grid-template-columns: 240px minmax(0, 760px); }
  .docs-toc { display: none; }
}

@media (max-width: 760px) {
  .docs-header { padding: 0 16px; }
  .docs-brand span, .docs-header__divider, .docs-header__button { display: none; }
  .docs-header__search { display: none; }
  .docs-header__title { color: #18181b !important; }
  .docs-header__actions { gap: 8px; }
  .docs-language a { padding: 6px 7px; }
  .docs-sidebar { display: none; }
  .docs-shell { display: block; }
  .docs-main { padding: 36px 22px 64px; }
  .docs-mobile-nav { border-bottom: 1px solid #e4e4e7; padding: 12px 20px; }
  .docs-mobile-nav[open] { display: block; }
  .docs-mobile-nav:not([open]) { display: block; }
  .docs-mobile-nav summary { cursor: pointer; color: #3f3f46; font-size: 13px; font-weight: 650; }
  .docs-mobile-nav .docs-navigation { padding: 18px 0 8px; }
  .docs-article__header p { font-size: 16px; }
  .docs-pagination { grid-template-columns: 1fr; }
}
