*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
}

body {
  margin: 0;
  background: #0c0c0c;
  color: #fafafa;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.docs-shell {
  display: grid;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  display: flex;
  flex-direction: column;
}

.docs-sidebar h4 {
  display: flex;
  align-items: center;
}

.docs-sidebar a {
  display: block;
}

.docs-sidebar a.sub {
  padding-left: 32px;
}

.docs-search input {
  width: 100%;
  outline: none;
  color: #fafafa;
  transition: border-color .15s, box-shadow .15s;
}

.docs-content {
  min-width: 0;
}

.docs-content h1,
.docs-content h2,
.docs-content h3,
.docs-content h4 {
  margin-top: 0;
}

.docs-content ul,
.docs-content ol {
  display: flex;
  flex-direction: column;
}

.docs-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.docs-content table {
  width: 100%;
  text-align: left;
}

.docs-content hr {
  border: none;
  border-top: 1px solid #2c3035;
}

.docs-content .hint {
  display: flex;
  align-items: flex-start;
}

.docs-content .hint .hint-icon {
  flex: none;
  display: inline-flex;
}

.docs-content .hint > div > :last-child {
  margin-bottom: 0;
}

.docs-pager {
  display: flex;
}

.docs-pager a {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 50%;
}

.docs-pager a.next {
  margin-left: auto;
  text-align: right;
  align-items: flex-end;
}

.docs-toggle {
  display: none;
}

.docs-empty {
  color: #9aa3b6;
  font-size: 17px;
  font-weight: 600;
  padding: 24px 0;
}

.portal-bar {
  background: #121315;
  border-bottom: 1px solid #2c3035;
}

.portal-bar-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portal-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.portal-plate {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #0c0c0c;
  background: #fefefe;
  border-radius: 6px;
  padding: 8px 16px;
  white-space: nowrap;
}

.portal-sub {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9aa3b6;
  white-space: nowrap;
}

.portal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-links a {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fafafa;
  border: 2px solid #2c3035;
  border-radius: 8px;
  padding: 8px 16px;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}

.portal-links a:hover {
  border-color: #146bff;
  background: #1a2437;
}

.portal-links a.portal-signin {
  background: #fefefe;
  border-color: #fefefe;
  color: #0c0c0c;
}

.portal-links a.portal-signin:hover {
  background: #146bff;
  border-color: #146bff;
  color: #fff;
}

@media (max-width: 900px) {
  .portal-bar-inner {
    padding: 16px;
    flex-wrap: wrap;
  }

  .portal-sub {
    display: none;
  }

  .portal-plate {
    font-size: 22px;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-toggle {
    display: block;
    width: 100%;
  }

  .docs-shell.nav-closed .docs-sidebar {
    display: none;
  }

  .docs-pager a {
    max-width: none;
  }
}
