#dialog-body .nt-editor {
  width: 100%;
  min-height: 155px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--chat);
  color: var(--body);
  padding: 10px 12px;
  font: var(--post-weight) var(--post-size) / 1.65 var(--post-font);
}
.nt-fields,
.nt-template-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nt-fields .field {
  flex: 1 1 140px;
  min-width: 0;
}
.nt-template-bar select {
  flex: 1 1 115px;
  min-width: 0;
}
.nt-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
  max-height: 34vh;
  padding: 12px;
  color: var(--body);
  background: var(--field);
  border-radius: 6px;
  font: var(--post-weight) var(--post-size) / 1.6 var(--post-font);
}
.nt-conflict:not(:empty) {
  padding: 6px 10px;
  border-inline-start: 2px solid var(--accent);
}
@media (max-width: 720px) {
  #dialog-body .nt-editor {
    font-size: max(var(--post-size), 16px);
    min-height: 128px;
  }
}
