.CodeMirror-hints {
  position: absolute;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.1);
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  font-family: monospace;
  line-height: 1.3;
  max-height: 200px;
  min-width: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #d4621a transparent;
}

.CodeMirror-hints::-webkit-scrollbar       { width: 4px; }
.CodeMirror-hints::-webkit-scrollbar-track { background: transparent; }
.CodeMirror-hints::-webkit-scrollbar-thumb { background: #d4621a; border-radius: 99px; }
.CodeMirror-hints::-webkit-scrollbar-thumb:hover { background: #b8521a; }

.CodeMirror-hint {
  margin: 0 !important;
  padding: 2px 10px;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: #1a1917;
}

.CodeMirror-hint:last-child { border-bottom: none; }

li.CodeMirror-hint-active {
  background: #b84800;
  color: #fff;
}

.cm-hint-name  { flex-shrink: 0; }

.cm-hint-type {
  color: rgba(26,25,23,0.38);
  font-size: 0.86em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

li.CodeMirror-hint-active .cm-hint-type { color: rgba(255,255,255,0.5); }
