.note-editor{border:1px solid var(--surface-border);border-radius:6px;overflow:hidden}.note-editor-toolbar{background:var(--surface-ground);border-bottom:1px solid var(--surface-border);flex-wrap:wrap;align-items:center;gap:2px;padding:.375rem .5rem;display:flex}.note-editor-btn{min-width:2rem;height:2rem;color:var(--text-color);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:0 .375rem;font-size:.8125rem;font-weight:600;transition:background .15s;display:inline-flex}.note-editor-btn:hover{background:var(--surface-hover)}.note-editor-btn.active{background:var(--primary-color,#3b82f6);color:#fff}.note-editor-btn-label{font-size:.875rem;line-height:1}.note-editor-btn-bold{font-weight:800}.note-editor-btn-italic{font-family:Georgia,Times New Roman,serif;font-style:italic}.note-editor-btn-underline{text-decoration:underline}.note-editor-btn-strike{text-decoration:line-through}.note-editor-btn-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.6875rem;font-weight:500}.note-editor-btn-quote{font-family:Georgia,Times New Roman,serif;font-size:1.25rem;line-height:.8}.note-editor-btn-code-block{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;font-weight:500}.note-editor-separator{background:var(--surface-border);width:1px;height:1.5rem;margin:0 .25rem}.note-editor .tiptap{min-height:150px;color:var(--text-color);outline:none;padding:.75rem;font-size:.875rem;line-height:1.6}.note-editor .tiptap:focus{box-shadow:inset 0 0 0 1px var(--primary-color,#3b82f6)}.note-editor .tiptap h1{margin:0 0 .5rem;font-size:1.5rem;font-weight:700}.note-editor .tiptap h2{margin:0 0 .4rem;font-size:1.25rem;font-weight:600}.note-editor .tiptap h3{margin:0 0 .3rem;font-size:1rem;font-weight:600}.note-editor .tiptap p{margin:0 0 .3rem}.note-editor .tiptap ul,.note-editor .tiptap ol{margin:0 0 .3rem;padding-left:1.5rem}.note-editor .tiptap li{margin:0}.note-editor .tiptap blockquote{border-left:3px solid var(--surface-border,#d1d5db);color:var(--text-color-secondary,#6b7280);margin:0 0 .5rem;padding:.25rem 0 .25rem .75rem}.note-editor .tiptap code{background:var(--surface-ground,#f3f4f6);border-radius:3px;padding:.125rem .3rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8em}.note-editor .tiptap pre{background:var(--surface-ground,#1e1e2e);border-radius:6px;margin:0 0 .5rem;padding:.75rem;overflow-x:auto}.note-editor .tiptap pre code{background:0 0;padding:0;font-size:.8125rem}.note-editor .tiptap hr{border:none;border-top:1px solid var(--surface-border,#d1d5db);margin:.75rem 0}.note-editor .tiptap p.is-editor-empty:first-child:before{content:"Start typing...";color:var(--text-color-secondary);pointer-events:none;float:left;height:0}
