#notes-editor {
  outline: none;
  line-height: 1.75;
  color: #d1d5db;
}
#notes-editor:empty:before {
  content: attr(data-placeholder);
  color: #4b5563;
  pointer-events: none;
}
#notes-editor h1 { font-size: 1.75rem; font-weight: 700; color: #fdfffd; margin: 0.75rem 0 0.25rem; }
#notes-editor h2 { font-size: 1.35rem; font-weight: 700; color: #fdfffd; margin: 0.75rem 0 0.25rem; }
#notes-editor h3 { font-size: 1.1rem;  font-weight: 700; color: #fdfffd; margin: 0.5rem 0 0.25rem; }
#notes-editor p  { margin: 0.25rem 0; }
#notes-editor ul { list-style: none; padding-left: 1.25rem; margin: 0.25rem 0; }
#notes-editor ul li::before { content: '›'; color: #ff6a12; font-weight: 700; margin-right: 0.5rem; }
#notes-editor ol { list-style: none; padding-left: 1.25rem; margin: 0.25rem 0; counter-reset: notes-ol; }
#notes-editor ol li { counter-increment: notes-ol; }
#notes-editor ol li::before { content: counter(notes-ol) '.'; color: #ff6a12; font-weight: 700; margin-right: 0.5rem; }
#notes-editor li { margin: 0.2rem 0; }

.notes-task-item { display: flex; align-items: center; gap: 0.4rem; margin: 0.2rem 0; padding-left: 1.25rem; }
.notes-task-icon { font-size: 16px !important; line-height: 1; color: #ff6a12; cursor: pointer; flex-shrink: 0; user-select: none; transition: color 0.15s; }
.notes-task-icon:hover { color: #14b8a6; }
.notes-task-item.checked .notes-task-icon { color: #14b8a6; }
.notes-task-item.checked .notes-task-text { text-decoration: line-through; color: #6b7280; }
.notes-task-text { flex: 1; outline: none; line-height: 1.6; }
#notes-editor img { max-width: 100%; margin: 1rem 0; border-radius: 0.75rem; box-shadow: 0 4px 16px rgba(0,0,0,0.3); display: block; }
#notes-editor a   { color: #14b8a6; text-decoration: underline; }

.notes-list-item { border-left: 2px solid transparent; transition: all 0.15s; }
.notes-list-item:hover { background: rgba(255,255,255,0.04); border-left-color: #4b5563; }
.notes-list-item.active { background: rgba(255,106,18,0.12); border-left-color: #ff6a12; }
.notes-list-item.active .note-item-title { color: #fdfffd; }

.editor-toolbar-btn { transition: all 0.15s; }
.editor-toolbar-btn:hover, .editor-toolbar-btn.active { color: #ff6a12; background: rgba(255,255,255,0.05); }
