.notes-module{min-width:0}.notes-module .heading .toolbar{flex:none;gap:8px}.notes-module svg{width:18px;height:18px;vertical-align:middle;flex:none}.notes-module button svg{margin-right:6px}.notes-views{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 22px}.notes-views [aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.notes-views>span{margin-left:auto}.notes-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.notes-filters label{display:grid;gap:6px;flex:1 1 140px;min-width:0;font-size:12px;color:var(--muted)}.notes-filters label:first-child{flex-grow:2}.notes-module input,.notes-module select{width:100%;min-width:0;background:var(--surface);color:var(--text);border:1px solid var(--border);padding:9px 11px;border-radius:8px;height:40px;font:inherit}.notes-filters button{height:40px}.notes-layout{display:grid;grid-template-columns:minmax(230px, .7fr) minmax(0,1.7fr);gap:20px;align-items:start}.notes-library{display:grid;gap:12px;max-height:80vh;overflow:auto;padding:2px}.note-list-card{display:grid;gap:10px;text-align:left;width:100%;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:12px;white-space:normal}.note-list-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.note-list-card strong{font-size:15px;overflow-wrap:anywhere}.note-card-date,.note-list-card small,.note-tags{font-size:11px;color:var(--muted)}.note-excerpt{font-size:13px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.notes-editor{padding:24px;min-width:0}.notes-editor-heading{display:flex;gap:10px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.notes-editor-heading h2{font-size:17px;margin:0 auto 0 0}.note-save-status{font-size:12px;color:var(--muted)}.note-save-status[data-status=Error]{color:#b43843;max-width:100%;overflow-wrap:anywhere}.note-edit-form{display:grid;gap:18px}.notes-meta{display:grid;grid-template-columns:1fr 1.5fr;gap:14px}.note-edit-form label{display:grid;gap:7px;font-size:12px;color:var(--muted);margin:0}.note-title-label input{font-size:20px;height:48px}.note-title-label>span{display:none}.note-format-toolbar{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:12px}.note-format-toolbar button{font-size:12px;padding:7px 9px;min-height:34px}.note-content{min-height:320px;padding:8px 4px;font-size:16px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap;outline:none;color:var(--text)}.note-content:focus-visible{outline:1px solid var(--accent);outline-offset:5px;border-radius:5px}.note-content p{margin:0 0 12px}.note-content h2{font-size:23px;line-height:1.4;margin:10px 0 14px}.note-content a{color:var(--accent);text-decoration:underline}.note-content ul,.note-content ol{padding-left:28px}.note-content ul[data-checklist]{list-style:none;padding-left:0}.note-content ul[data-checklist] li{position:relative;padding-left:28px;cursor:pointer}.note-content ul[data-checklist] li:before{content:'';position:absolute;top:.45em;left:0;width:15px;height:15px;border:1px solid var(--muted);border-radius:4px}.note-content ul[data-checklist] li[data-checked=true]:before{content:'✓';color:var(--accent);line-height:15px;text-align:center}.note-content ul[data-checklist] li[data-checked=true]{text-decoration:line-through;color:var(--muted)}.notes-timestamps{display:flex;gap:12px 24px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:14px;margin-top:20px;font-size:11px;color:var(--muted)}.notes-record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.notes-record-actions button{font-size:12px}.notes-record-actions [data-note=purge],.notes-record-actions [data-note=trash]{color:#b43843}.note-link-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.note-link-form[hidden]{display:none}.note-link-form label{flex:1 1 180px}.note-link-form [role=alert]{font-size:12px;color:#b43843}.notes-load-status:empty{display:none}.notes-editor .empty svg{width:42px;height:42px;color:var(--accent)}.notes-module [hidden]{display:none!important}@media(max-width:850px){.notes-layout{grid-template-columns:1fr}.notes-library{max-height:300px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.notes-editor{padding:18px}.notes-meta{grid-template-columns:1fr}.notes-module .heading{gap:16px}.notes-views>span{width:100%;margin-left:0}.note-content{min-height:260px}.notes-filters label{flex-basis:calc(50% - 12px)}}
body .notes-module .notes-filters label{margin:0}body .notes-module input,body .notes-module select{margin:0}body .notes-module .notes-filters label:first-child{flex-basis:190px}

body .notes-module .note-edit-form label{margin:0}
