.detailed-docs {
  grid-template-columns: 210px minmax(0, 860px);
}

.docs-header {
  align-items: flex-end;
}

.docs-nav-label {
  padding: 18px 13px 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.docs-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
}

.nav-method {
  width: 42px;
  color: var(--primary);
  font: 700 9px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.docs-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0;
  border-block: 1px solid var(--border);
}

.docs-facts > div {
  padding: 14px;
  border-right: 1px solid var(--border);
}

.docs-facts > div:first-child {
  padding-left: 0;
}

.docs-facts > div:last-child {
  border-right: 0;
}

.docs-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.docs-facts dd {
  margin: 0;
}

.api-reference {
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.endpoint-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.endpoint-heading .method {
  width: auto;
  min-width: 54px;
  padding: 4px 7px;
}

.endpoint-heading > code {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.docs-content h3 {
  margin: 25px 0 10px;
  font-size: 13px;
}

.request-meta {
  display: flex;
  gap: 9px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.docs-table table {
  min-width: 680px;
}

.docs-table th,
.docs-table td {
  padding: 9px 11px;
  font-size: 12px;
}

.code-sample {
  position: relative;
}

.code-sample pre {
  margin: 0;
  padding-right: 50px;
  max-height: 460px;
}

.code-sample > .copy-button {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 9px;
  color: #d6d2c8;
}

.code-sample > .copy-button:hover {
  color: white;
  background: #ffffff18;
}

.response-status {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 750;
}

.response-status.success {
  color: var(--success);
  background: #e5eee7;
}

.response-status.error {
  min-width: 36px;
  justify-content: center;
  color: var(--danger);
  background: #f7e8e5;
}

.error-table td:first-child {
  width: 70px;
}

.error-table td:nth-child(2) {
  width: 160px;
}

@media (max-width: 900px) {
  .detailed-docs {
    grid-template-columns: 1fr;
  }

  .docs-facts {
    grid-template-columns: 1fr;
  }

  .docs-facts > div,
  .docs-facts > div:first-child {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .docs-facts > div:last-child {
    border-bottom: 0;
  }
}
