.CodeMirror-dialog {
  position: absolute;
  left: 0; right: 0;
  background: var(--sn-stylekit-contrast-background-color);
  z-index: 15;
  padding: .3em .8em;
  overflow: hidden;
  color: inherit;
}

.CodeMirror-dialog-top {
  border-bottom: 1px solid var(--sn-stylekit-border-color);
  top: 0;
}

.CodeMirror-dialog-bottom {
  border-top: 1px solid var(--sn-stylekit-border-color);
  bottom: 0;
}

.CodeMirror-search-label {
  font-size: var(--sn-stylekit-base-font-size);
  font-weight: bold;
}

.CodeMirror-search-hint {
  font-size: var(--sn-stylekit-base-font-size);
  display: none;
}

.CodeMirror-search-field {
  width: 65% !important;
}

.CodeMirror-dialog input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--sn-stylekit-contrast-foreground-color);
  font-size: var(--sn-stylekit-base-font-size);
  font-family: monospace;
}

.CodeMirror-dialog button {
  font-size: 70%;
}
