.benefits-editor {
  --shiki-foreground: #d4d4d4;
  --shiki-background: transparent;
  --shiki-token-keyword: #c792ea;
  --shiki-token-string: #c3e88d;
  --shiki-token-string-expression: #c3e88d;
  --shiki-token-function: #82aaff;
  --shiki-token-constant: #f78c6c;
  --shiki-token-punctuation: #89ddff;
  --shiki-token-comment: #637777;

  line-height: 1.4;
  width: 100%;
  height: 100%;
}

.benefit-editor-tab {
  cursor: pointer;
  fill-opacity: 0.1;
}

.benefit-editor-tab.active-tab {
  fill-opacity: 0;
}

.benefit-tab-content {
  display: none;
}

.benefit-tab-content.visible-content {
  display: block;
}

.benefit-tab-content pre {
  margin: 0;
  background: transparent !important;
}

.benefit-tab-content code {
  /* The line numbers are part of the editor drawing, and start a line lower. */
  display: block;
  padding-top: 1.5em;
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 12px;
  line-height: 1.5;
}

.benefits-editor .shiki,
.benefits-editor .shiki code {
  color: #d4d4d4 !important;
}

.benefit-editor-body {
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.benefit-editor-body::-webkit-scrollbar {
  width: 8px;
}

.benefit-editor-body::-webkit-scrollbar-track {
  background: transparent;
}

.benefit-editor-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
