.source-viewer-page .md-main__inner.md-grid {
  max-width: 100rem;
}

.source-viewer-page .md-content {
  max-width: 100%;
}

.source-viewer-page .md-content__inner {
  margin: 0;
}

.source-viewer-page .md-content h1 {
  margin-bottom: 0.9rem;
}

.source-code {
  width: 100%;
  overflow: visible;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 8px;
  background: transparent;
  line-height: 1.3;
  font-size: 0.82rem;
}

.source-code code {
  display: block;
  min-width: 100%;
  background: transparent;
}

.source-code .code-line {
  display: block;
  border-radius: 0;
  padding-right: 0.5rem;
}

.source-code .code-line.is-selected {
  background: rgba(96, 165, 250, 0.14);
}

.source-code .code-line.is-range-start {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.source-code .code-line.is-range-end {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.source-code .code-line.is-focus {
  background: rgba(34, 211, 238, 0.2);
  box-shadow: inset 3px 0 0 rgba(34, 211, 238, 0.62);
}

.source-code .lineno {
  display: inline-block;
  width: 4.2rem;
  color: #9ca3af;
  user-select: none;
  text-align: right;
  margin-right: 0.7rem;
}

.source-code .line-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #c9d1d9;
}

.source-code .line-content.hljs {
  background: transparent !important;
  padding: 0 !important;
}
