:root {
  --theme-color: #2d3b7e;
  --base-font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  --code-font-family: 'JetBrains Mono', Consolas, monospace;
  --base-font-size: 17px;
  --base-line-height: 1.65;
  --sidebar-width: 360px;
  --content-max-width: 980px;
  --heading-color: #183b2f;
  --blockquote-border-color: #2d3b7e;
  --blockquote-background: #f3f5fc;
  --table-cell-border-color: #d9def2;
  --table-row-odd-background: #fcfcff;
  --table-row-even-background: #f6f8ff;
}

body {
  background: radial-gradient(circle at top right, #eff2fb 0%, #f8f9ff 36%, #ffffff 72%);
}

.app-name {
  border-bottom: 1px solid #e2e7f5;
  padding: 8px 0 16px;
}

.app-name-link {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #2a376f;
}

.app-name-link .docs-brand-logo {
  display: block;
  width: 110px;
  max-width: 92%;
  height: auto;
  margin: 0 auto;
}

.sidebar {
  border-right: 1px solid #e2e7f5;
  padding: 8px 10px 18px;
}

.sidebar-nav > ul > li {
  margin-bottom: 12px;
}

.sidebar-nav > ul > li > p {
  margin: 8px 0 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a376f;
}

.sidebar-nav ul ul {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid #e4e9f8;
}

.sidebar-nav ul li a {
  display: inline-block;
  padding: 4px 0;
  line-height: 1.45;
}

.sidebar-nav li.active > a {
  font-weight: 700;
  border-right: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.sidebar-nav li.active > a::before,
.sidebar-nav li.active > a::after,
.sidebar-nav li > a.active::before,
.sidebar-nav li > a.active::after {
  content: none !important;
  display: none !important;
}

.sidebar-nav > ul > li > a {
  font-weight: 600;
}

.markdown-section {
  padding-top: 28px;
}

.markdown-section h1,
.markdown-section h2,
.markdown-section h3 {
  color: #1f2855;
}

.markdown-section h1 {
  font-size: 2rem;
  border-bottom: 2px solid #e5e9f6;
  padding-bottom: 10px;
}

.markdown-section h2 {
  font-size: 1.45rem;
  border-left: 4px solid #2d3b7e;
  padding-left: 10px;
  margin-top: 30px;
}

.markdown-section h3 {
  margin-top: 22px;
  color: #27336d;
}

.markdown-section p,
.markdown-section li {
  color: #212a4f;
}

.markdown-section table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(9, 46, 29, 0.06);
}

.markdown-section table th,
.markdown-section table td {
  white-space: normal;
  vertical-align: top;
}

.markdown-section table thead {
  background: linear-gradient(90deg, #2d3b7e 0%, #3b4da1 100%);
}

.markdown-section table thead th {
  color: #ffffff;
  font-weight: 700;
}

.markdown-section table tbody tr:hover {
  background: #eef1ff;
}

.markdown-section blockquote {
  border-radius: 8px;
}

.markdown-section code {
  background: #eef1ff;
  color: #2a3773;
  border-radius: 4px;
  padding: 2px 6px;
}

.markdown-section pre {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(26, 38, 93, 0.09);
}

.pagination-item-title,
.pagination-item-label {
  color: #2d3b7e;
}

.markdown-section .doc-shot-wrap {
  margin: 18px 0 24px;
}

.markdown-section .doc-shot-label {
  margin: 0 0 8px 2px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2a376f;
}

.markdown-section .doc-shot-laptop {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 8px 10px;
  border-radius: 22px;
  background: linear-gradient(145deg, #20242d 0%, #0b0f16 60%, #05070c 100%);
  box-shadow: 0 14px 32px rgba(11, 16, 30, 0.24);
}

.markdown-section .doc-shot-laptop::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 20%;
  height: 6px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #1f2430 0%, #0b1017 100%);
}

.markdown-section .doc-shot-laptop::after {
  content: '';
  display: block;
  width: 74%;
  height: 12px;
  margin: 10px auto -8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d2330 0%, #0a0f17 100%);
  box-shadow: 0 8px 18px rgba(8, 12, 20, 0.45);
}

.markdown-section .doc-shot-screen {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 2px solid #070a10;
  background: #000;
}

.markdown-section .doc-shot-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.markdown-section .doc-shot-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: #05070c;
  z-index: 2;
}

.markdown-section .doc-shot-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 18%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.sidebar-toggle {
  z-index: 10001;
  pointer-events: auto !important;
}

.sidebar-toggle-button {
  touch-action: manipulation;
  pointer-events: auto !important;
}

@media screen and (max-width: 768px) {
  .markdown-section .doc-shot-laptop {
    padding: 6px 6px 8px;
    border-radius: 16px;
  }

  .markdown-section .doc-shot-screen::before {
    width: 62px;
    height: 10px;
  }

  .sidebar {
    z-index: 10000;
  }

  .sidebar-toggle {
    z-index: 10001;
  }
}
