/* Inline completion (legacy overlay class kept for backward compat; unused in CM6 path) */
.sage-inline-completion-text {
  color: inherit !important;
  opacity: 0.35 !important;
  font-style: normal !important;
  pointer-events: none;
  position: absolute;
  z-index: 2000;
  white-space: pre;
}

/* CM6 ghost span: inherit all styles, only reduce opacity */
.cm-content .sage-inline-completion-ghost {
  opacity: 0.35 !important;
}

[data-jp-theme-light="false"] .cm-content .sage-inline-completion-ghost {
  opacity: 0.25 !important;
}

[data-jp-theme-light="true"] .cm-content .sage-inline-completion-ghost {
  opacity: 0.35 !important;
}