.note-editor {
  display: flex;
  flex-direction: column;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.note-editor .lexxy-editor__content > :last-child {
  margin-block-end: 0;
}

.note-editor .lexxy-editor__content {
  order: 1;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-height: 1.5rem;
  max-height: 10rem;
  overflow-y: auto;
}

.note-composer-form--call .note-editor .lexxy-editor__content {
  padding: 0.25rem 0 0.5rem;
  min-height: 4.5rem;
}

.note-editor lexxy-toolbar {
  order: 2;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0.25rem 3rem 0 0;
}

.note-edit-card lexxy-toolbar {
  margin-right: 9.5rem;
}

.note-editor lexxy-toolbar button {
  background: transparent;
  border: none;
  box-shadow: none;
  block-size: 2rem;
}

.note-editor lexxy-toolbar button:hover {
  background: rgb(254 243 199);
}

.note-editor lexxy-toolbar :is(
  button[name="image"],
  button[name="file"],
  button[name="underline"],
  lexxy-toolbar-dropdown:has(button[name="format"]),
  lexxy-link-dropdown,
  button[name="code"],
  button[name="table"],
  button[name="divider"],
  button[name="undo"],
  button[name="redo"],
  .lexxy-editor__toolbar-overflow
) {
  display: none;
}

#opportunity-activity .note-reference-chip {
  display: none;
}
