/*
 * SaaS Motion Pro — css/tools/notes.css
 * © 2026 Sabbir Hossen — SaaS Motion Pro. All rights reserved.
 */
.notes-layout { display: flex; flex-direction: column; gap: 10px; }
.app.w-md .notes-layout, .app.w-lg .notes-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
.notes-list { display: flex; flex-direction: column; gap: 3px; max-height: 40vh; overflow-y: auto; }
.app.w-md .notes-list, .app.w-lg .notes-list { max-height: none; }
.notes-li { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 8px; border: 1px solid transparent; border-radius: var(--r-sm); background: transparent; color: var(--text-2); text-align: left; min-width: 0; }
.notes-li b { font-size: 12px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notes-li small { font-size: 10px; color: var(--text-3); }
.notes-li:hover { background: var(--hover); color: var(--text); }
.notes-li.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); }
.notes-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.notes-title { font-weight: 650; font-size: 13px; }
.notes-text { height: auto; min-height: 260px; padding: 10px; resize: vertical; font: 12px/1.55 var(--mono); }
.notes-md { padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); line-height: 1.55; user-select: text; word-wrap: break-word; }
.notes-md h2 { font-size: 15px; margin: 6px 0 4px; } .notes-md h3 { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text); margin: 6px 0 4px; } .notes-md h4 { font-size: 12px; margin: 4px 0; }
.notes-md p { margin: 2px 0; } .notes-md ul, .notes-md ol { margin: 3px 0; padding-left: 18px; }
.notes-md blockquote { margin: 4px 0; padding: 2px 10px; border-left: 3px solid var(--accent-line); color: var(--text-2); }
.notes-md hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }
.notes-md code, .notes .hint code { font: 11px var(--mono); padding: 0 4px; border-radius: 4px; background: var(--bg); }
.notes-gap { height: 6px; }
.notes-checks { list-style: none; padding-left: 2px !important; }
.notes-checks li { display: flex; gap: 6px; align-items: flex-start; }
.notes-checks li.done span { color: var(--text-3); text-decoration: line-through; }
.notes-checks input, .notes-todo input[type="checkbox"] { margin-top: 3px; accent-color: var(--accent); }
.notes-time { display: inline-flex; align-items: center; gap: 3px; padding: 0 5px; border-radius: 5px; background: var(--accent-soft); text-decoration: none; font: 11px var(--mono); white-space: nowrap; }
.notes-time svg { width: 11px; height: 11px; }
.notes-todo { align-items: flex-start; }
.notes-todo .grow { white-space: normal !important; }
.notes-todo.done .notes-ttext { color: var(--text-3); text-decoration: line-through; }
.notes-ttext { user-select: text; word-wrap: break-word; }
.notes-danger { color: var(--err) !important; }
