.endpoint-row {
  padding: 14px 8px;
  margin: 0 -8px;
  transition: background 0.15s;
  border-radius: 6px;
}

.endpoint-row:hover {
  background: rgba(128, 128, 128, 0.03);
}

.endpoint-row + .endpoint-row {
  border-top: 1px solid rgba(128, 128, 128, 0.1);
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.method-tag {
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  min-width: 56px;
  text-align: center;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 8px;
  line-height: 1.6;
}

.endpoint-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  word-break: break-all;
  color: rgba(0, 0, 0, 0.8);
  background: rgba(128, 128, 128, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

.endpoint-summary {
  margin: 8px 0 0;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  font-size: 13.5px;
}

.endpoint-block {
  margin-top: 14px;
}

.block-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 6px;
}

.error-label {
  color: #cf222e;
}

body.dark .endpoint-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

body.dark .endpoint-row + .endpoint-row {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark .endpoint-path {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
}

body.dark .endpoint-summary {
  color: rgba(255, 255, 255, 0.65);
}

body.dark .block-label {
  color: rgba(255, 255, 255, 0.45);
}

body.dark .error-label {
  color: #ff7b72;
}
