#sidebar, #content {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif !important;
  /*font-size: 15px !important;*/
  font-feature-settings: normal;
  font-variation-settings: normal;
}

#content h1, #content h2, #content h3, #content h4 { color: #444; }
#content h2, #content h3, #content h4 { margin-top: 1.4em; }
#content h2 .heading-link,
#content h3 .heading-link,
#content h4 .heading-link {
  margin-left: 0.35em;
  color: #8fa1b1;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.12s ease, color 0.12s ease;
}
#content h2:hover .heading-link,
#content h3:hover .heading-link,
#content h4:hover .heading-link,
#content h2:focus-within .heading-link,
#content h3:focus-within .heading-link,
#content h4:focus-within .heading-link {
  opacity: 1;
}
#content .heading-link:hover,
#content .heading-link:focus {
  color: #4e83a9;
}
#content table { min-width: 100%; margin: 1.5em auto; }
#content table th { border: 1px solid #ccc; padding: 0.5em 1em; }
#content table td { border: 1px solid #ccc; padding: 0.2em 0.4em; vertical-align: top;}
#content table th { background: #e5eaee; }
#content p { margin: 0.8em 0; }
#content a { text-decoration: none; }
#content code { font-size: 14px !important; }
#content :not(pre) > code { white-space: nowrap; }

#content blockquote {
  border-left: 2px solid #4E83a9;
  padding: .1em 1em;
  background: #EEF3F9;
  color: #224455ee;
  border-radius: 0 6px 6px 0;
}

#content img { display: block; margin: 1em auto; max-width: 100%; }

/* ── Sidebar ── */

#sidebar {
  border-right: 1px solid #ccc;
  overflow-y: auto;
  max-height: 100vh;
}

#sidebar .sidebar-search {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0px 8px 12px 0px;
  background: linear-gradient(180deg, #fff 82%, rgba(255, 255, 255, 0.92));
}

#sidebar .sidebar-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 3px 12px;
  border: 1px solid #d4dbe3;
  border-radius: 4px;
  background: #fff;
  color: #2a2540;
  font: inherit;
  font-size: 90%;
}

#sidebar .sidebar-search-input:focus {
  outline: none;
  border-color: #4e83a9;
  box-shadow: 0 0 0 3px rgba(78, 131, 169, 0.14);
}

#sidebar .sidebar-search-results {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% - 4px);
  margin-top: 6px;
  max-height: 320px;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.12);
  overflow-y: auto;
}

#sidebar .sidebar-search-option {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #3c4257;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

#sidebar .sidebar-search-option + .sidebar-search-option {
  border-top: 1px solid #eef2f6;
}

#sidebar .sidebar-search-option:hover,
#sidebar .sidebar-search-option.is-active {
  background: #eef3f9;
  color: #0a2540;
}

#sidebar .sidebar-search-label {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

#sidebar .sidebar-search-path {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #667085;
}

#sidebar a {
  display: block;
  color: #3c4257;
  text-decoration: none;
  padding: 2px 12px;
  border-radius: 6px 0 0 6px;
  line-height: 1.4;
  transition: background 0.1s, color 0.1s;
}

#sidebar a.active, #sidebar ul ul a.active, #sidebar a.active:hover  {
  /*background: #e8f0fe;*/
  background: #EEF3F9;
  /*color: #2c82b7;*/
  color: #0a2540;
}

#sidebar a:hover {
  background: #f6f8fa;
  color: #0a2540;
}

#sidebar .nav-section {
  margin-bottom: 24px;
}

#sidebar .nav-section-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3792b2;
  padding: 0 12px;
  margin-bottom: 4px;
}

#sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sidebar ul ul {
  padding-left: 12px;
  border-left: 2px solid #e6ebf1;
  margin: 2px 0 2px 16px;
  display: none;
}

#sidebar ul ul.open {
  display: block;
}

#sidebar ul ul a {
  font-size: 14.5px;
  color: #4f566b;
  padding: 3px 8px;
}

#sidebar ul ul a.has-children {
  padding-right: 12px;
}

#sidebar ul ul a:hover {
  color: #0a2540;
  background: #f6f8fa;
}

#sidebar .divider {
  border: none;
  border-top: 1px solid #aaa;
  margin: 4px 2px;
}

#sidebar a.has-children {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#sidebar a.has-children::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 4px;
  background-color: #8792a2;
  transition: transform 0.15s;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.25 2.5A.75.75 0 0 0 2.5 3.25v9.5c0 .41.34.75.75.75h9.5a.75.75 0 0 0 .75-.75v-9.5a.75.75 0 0 0-.75-.75h-9.5zm.75 1.5h8v8H4v-8zm4 1.25c.41 0 .75.34.75.75v1.25H10c.41 0 .75.34.75.75s-.34.75-.75.75H8.75V10c0 .41-.34.75-.75.75s-.75-.34-.75-.75V8.75H6c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h1.25V6c0-.41.34-.75.75-.75z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.25 2.5A.75.75 0 0 0 2.5 3.25v9.5c0 .41.34.75.75.75h9.5a.75.75 0 0 0 .75-.75v-9.5a.75.75 0 0 0-.75-.75h-9.5zm.75 1.5h8v8H4v-8zm4 1.25c.41 0 .75.34.75.75v1.25H10c.41 0 .75.34.75.75s-.34.75-.75.75H8.75V10c0 .41-.34.75-.75.75s-.75-.34-.75-.75V8.75H6c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h1.25V6c0-.41.34-.75.75-.75z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

#sidebar a.has-children.open::after {
  transform: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.25 2.5A.75.75 0 0 0 2.5 3.25v9.5c0 .41.34.75.75.75h9.5a.75.75 0 0 0 .75-.75v-9.5a.75.75 0 0 0-.75-.75h-9.5zm.75 1.5h8v8H4v-8zm2 3.25c-.41 0-.75.34-.75.75s.34.75.75.75h4c.41 0 .75-.34.75-.75s-.34-.75-.75-.75H6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.25 2.5A.75.75 0 0 0 2.5 3.25v9.5c0 .41.34.75.75.75h9.5a.75.75 0 0 0 .75-.75v-9.5a.75.75 0 0 0-.75-.75h-9.5zm.75 1.5h8v8H4v-8zm2 3.25c-.41 0-.75.34-.75.75s.34.75.75.75h4c.41 0 .75-.34.75-.75s-.34-.75-.75-.75H6z'/%3E%3C/svg%3E");
}
