.editor-host {
  flex: 1;
  min-height: 0;
  display: flex;
  outline: none;
}

.editor-widget {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 0.8125rem;
}

.editor-buffer {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 0;
}

.editor-row {
  display: flex;
  white-space: pre;
  line-height: 1.5;
  padding: 0 8px;
}

.editor-row-active { background: rgba(94, 194, 126, 0.08); }

.editor-lineno {
  flex: none;
  width: 3.5em;
  text-align: right;
  margin-right: 12px;
  color: var(--muted);
  user-select: none;
}

.editor-text { color: var(--fg); white-space: pre; }

.editor-cursor {
  background: var(--green);
  color: var(--bg);
  border-radius: 1px;
}

.editor-status {
  flex: none;
  padding: 4px 10px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--fg);
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}

.editor-vim .editor-status { color: var(--yellow); }

.editor-hints {
  flex: none;
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.75rem;
}

.editor-hints-row { display: flex; }

.editor-hint-key {
  flex: none;
  width: 2.5em;
  padding: 3px 4px 3px 10px;
  color: var(--bg);
  background: var(--fg);
  font-weight: 700;
}

.editor-hint-desc {
  flex: 1;
  padding: 3px 16px 3px 8px;
  color: var(--fg);
}
