.pceditor-source-code {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pceditor-source-code__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pceditor-source-code__title {
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: var(--g-color-text-secondary);
}
.pceditor-source-code__code {
  scrollbar-width: thin;
  scrollbar-color: var(--g-color-scroll-handle) transparent;
  overflow: auto;
}
.pceditor-source-code__code::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: transparent;
}
.pceditor-source-code__code::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}
.pceditor-source-code__code::-webkit-scrollbar-thumb {
  background: var(--g-color-scroll-handle);
  border-radius: 4px;
  transition: background-color 0.2s;
  opacity: 0;
}
.pceditor-source-code__code::-webkit-scrollbar-thumb:hover {
  background: var(--g-color-scroll-handle-hover);
  opacity: 1;
}
.pceditor-source-code__code::-webkit-scrollbar-thumb:active {
  background: var(--g-color-scroll-handle-hover);
  opacity: 1;
}
.pceditor-source-code__code::-webkit-scrollbar-corner {
  background: transparent;
}
.pceditor-source-code__code:hover::-webkit-scrollbar-thumb {
  opacity: 0.7;
}
.pceditor-source-code__code:not(:hover)::-webkit-scrollbar-thumb {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.pceditor-source-code__code {
  white-space: pre;
  font-family: var(--g-text-code-font-family);
  font-weight: var(--g-text-code-font-weight);
  font-size: var(--g-text-code-inline-1-font-size);
  line-height: var(--g-text-code-inline-1-line-height);
  padding: 6px 8px;
  overflow: auto;
  border: 1px solid var(--g-color-line-generic);
  border-radius: 6px;
  position: relative;
  flex: 1;
}
.pceditor-source-code__content {
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.pceditor-source-code__controls {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}