* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1f2328;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: #0969da;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 32px 28px;
  border-right: 1px solid #d0d7de;
}

.sidebar-title {
  width: min(220px, 100%);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  color: #57606a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.docs {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 36px 72px;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d0d7de;
}

h1 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.25;
}

.top p {
  margin: 0;
  color: #57606a;
}

.actions {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  white-space: nowrap;
}

.actions label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #57606a;
  font-size: 14px;
}

select {
  padding: 4px 8px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2328;
  font: inherit;
}

.toc {
  display: grid;
  gap: 8px;
  width: min(220px, 100%);
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  text-align: center;
}

.toc a {
  display: block;
  padding: 3px 0;
  color: #57606a;
}

.toc a:hover {
  color: #0969da;
}

.mobile-toc {
  display: none;
  margin: 20px 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d0d7de;
}

section {
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d8dee4;
}

section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

h3 {
  margin: 22px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

p {
  margin: 0 0 12px;
  color: #57606a;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace;
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  background: #f6f8fa;
  color: #24292f;
  font-size: 0.9em;
}

pre {
  margin: 10px 0 0;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #f6f8fa;
  color: #24292f;
  font-size: 14px;
  line-height: 1.55;
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.method-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.method {
  display: inline-block;
  min-width: 48px;
  padding: 2px 7px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.get {
  background: #1a7f37;
}

.post {
  background: #0969da;
}

.path {
  color: #24292f;
  font-family: ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace;
  font-size: 15px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid #d0d7de;
  font-size: 14px;
}

th,
td {
  padding: 9px 10px;
  border: 1px solid #d0d7de;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6f8fa;
  font-weight: 600;
}

td {
  color: #57606a;
}

.required {
  color: #cf222e;
  font-weight: 600;
}

.muted {
  color: #57606a;
}

.empty {
  color: #57606a;
  font-size: 14px;
}

@media (max-width: 920px) {
  .layout {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .mobile-toc {
    display: block;
  }

  .mobile-toc .toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  .mobile-toc .sidebar-title {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  .docs {
    padding: 20px 16px 52px;
  }

  .top {
    display: block;
  }

  .actions {
    margin-top: 16px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 26px;
  }
}
