/* The note editor (note-editor.js): one block per line, boxes drawn here. */
.note-editor {
  outline: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
  cursor: text;
}
.note-editor.ne-empty::before {
  content: attr(data-placeholder);
  color: var(--text-3, #9aa0a8);
  pointer-events: none;
  position: absolute;
}
.note-editor .ne-line { min-height: 1.55em; }
.note-editor .ne-box {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 8px -2px 0;
  border: 1.5px solid var(--accent, #2f6fed);
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  position: relative;
  box-sizing: border-box;
}
.note-editor .ne-box[aria-checked="true"] { background: var(--accent, #2f6fed); }
.note-editor .ne-box[aria-checked="true"]::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.note-editor .ne-done { color: var(--text-3, #9aa0a8); text-decoration: line-through; }
.note-editor .ne-done .ne-box { text-decoration: none; }
