.notes-widget-mini{border-radius:20px;background:#ffffff40;backdrop-filter:blur(30px) saturate(160%);-webkit-backdrop-filter:blur(30px) saturate(160%);border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 32px #0000001a;transition:all .3s cubic-bezier(.4,0,.2,1);min-width:0;width:100%;overflow:hidden}.dark .notes-widget-mini{background:#24303ea6;border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 32px #0006}.notes-widget-mini-content{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%;overflow:hidden}.notes-mini-stats{display:flex;gap:12px;flex-wrap:wrap;min-width:0;width:100%}.notes-mini-stat{display:flex;align-items:center;gap:6px;padding:6px 10px;background:#0000000d;border-radius:8px;font-size:13px;color:#1d1d1f;flex-shrink:0}.dark .notes-mini-stat{background:#ffffff14;color:#f5f5f7}.notes-mini-list{flex:1;display:flex;flex-direction:column;gap:6px;overflow-y:auto;overflow-x:hidden;min-width:0;width:100%}.notes-mini-header{font-size:11px;font-weight:600;text-transform:uppercase;color:#86868b;letter-spacing:.5px;margin-bottom:4px}.notes-mini-item{display:flex;justify-content:space-between;align-items:center;padding:8px;background:#00000008;border-radius:8px;border-left:3px solid transparent;cursor:pointer;transition:all .2s ease;min-width:0;overflow:hidden;width:100%}.notes-mini-item:hover{background:#0000000f;transform:translate(2px)}.dark .notes-mini-item{background:#ffffff0d}.dark .notes-mini-item:hover{background:#ffffff14}.notes-mini-item-title{font-size:13px;font-weight:500;color:#1d1d1f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin-right:8px}.dark .notes-mini-item-title{color:#f5f5f7}.notes-mini-item-date{font-size:11px;color:#86868b;flex-shrink:0}.notes-mini-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#86868b}.notes-mini-empty p{font-size:13px;margin:0}.notes-empty-icon{opacity:.3}.dark .notes-mini-empty{color:#a0a0a6}.notes-btn-add{width:100%}.notes-btn-add-new{width:100%;padding:12px 20px;border-radius:14px;border:none;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px;background:#00000059;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;box-shadow:0 2px 8px #0000001a}.notes-btn-add-new:hover{background:#00000073;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.notes-btn-add-new:active{transform:translateY(0)}.dark .notes-btn-add-new{background:#00000073;box-shadow:0 2px 8px #0003}.dark .notes-btn-add-new:hover{background:#0000008c;box-shadow:0 4px 12px #0000004d}.notes-app-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;display:flex;flex-direction:column;background:var(--ds-bg, #f5f5f7);animation:fadeIn .3s cubic-bezier(.4,0,.2,1)}.dark .notes-app-fullscreen{background:#24303e}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.notes-app-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#ffffff40;backdrop-filter:blur(30px) saturate(160%);-webkit-backdrop-filter:blur(30px) saturate(160%);border-bottom:1px solid rgba(0,0,0,.08);box-shadow:0 2px 10px #0000000d}.dark .notes-app-header{background:#24303ea6;border-bottom:1px solid rgba(255,255,255,.08)}.notes-app-header-left,.notes-app-header-right{display:flex;align-items:center;gap:12px}.notes-sync-indicator{display:flex;align-items:center;gap:8px;padding:6px 12px;background:#0000000d;border-radius:8px;transition:all .2s ease}.dark .notes-sync-indicator{background:#ffffff14}.notes-sync-icon{flex-shrink:0}.notes-sync-spinning{animation:spin 1s linear infinite;color:#6d6ff2}.notes-sync-success{color:#34c759}.notes-sync-error{color:#ff3b30}.notes-sync-offline{color:#86868b}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.notes-sync-message{font-size:12px;color:#1d1d1f;font-weight:500}.dark .notes-sync-message{color:#f5f5f7}@media (max-width: 768px){.notes-sync-message{display:none}}.notes-app-header h1{font-size:24px;font-weight:600;margin:0;color:#1d1d1f}.dark .notes-app-header h1{color:#f5f5f7}.notes-mobile-toggle{width:36px;height:36px;border-radius:8px;border:none;background:#0000000d;color:#1d1d1f;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.notes-mobile-toggle:hover{background:#0000001a}.dark .notes-mobile-toggle{background:#ffffff1a;color:#f5f5f7}.notes-mobile-toggle:hover{background:#ffffff26}.notes-close-btn{width:36px;height:36px;border-radius:50%;border:none;background:#0000000d;color:#1d1d1f;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.notes-close-btn:hover{background:#0000001a;transform:scale(1.05)}.dark .notes-close-btn{background:#ffffff1a;color:#f5f5f7}.notes-close-btn:hover{background:#ffffff26}.notes-header-collapse-btn{width:36px;height:36px;border-radius:8px;border:none;background:#0000000d;color:#1d1d1f;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.notes-header-collapse-btn:hover{background:#0000001a;color:#6d6ff2;transform:scale(1.05)}.dark .notes-header-collapse-btn{background:#ffffff1a;color:#f5f5f7}.dark .notes-header-collapse-btn:hover{background:#ffffff26;color:#8b8dff}.notes-app-content{display:flex;flex:1;overflow:hidden}.notes-sidebar{position:relative;width:320px;min-width:200px;max-width:500px;display:flex;flex-direction:column;gap:16px;padding:20px;background:var(--app-background, var(--background));background-size:cover;background-position:center;border-right:1px solid rgba(0,0,0,.08);overflow-y:auto;overflow-x:hidden;transition:width .3s ease,transform .3s ease}.notes-sidebar:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffff80;backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);z-index:0;pointer-events:none}.dark .notes-sidebar{border-right:1px solid rgba(255,255,255,.08)}.dark .notes-sidebar:before{background:#24303e80}.notes-sidebar>*{position:relative;z-index:1}.notes-sidebar.collapsed{width:0;min-width:0;padding:0;overflow:hidden}.notes-sidebar-hidden{transform:translate(-100%);position:absolute}.notes-resize-handle{position:absolute;top:0;right:0;width:4px;height:100%;cursor:col-resize;z-index:10;transition:background-color .2s ease}.notes-resize-handle:hover{background-color:#6d6ff24d}.notes-resize-handle:active{background-color:#6d6ff280}.dark .notes-resize-handle:hover{background-color:#8b8dff4d}.dark .notes-resize-handle:active{background-color:#8b8dff80}.notes-collapse-toggle{position:absolute;top:50%;right:-12px;transform:translateY(-50%);width:24px;height:48px;background:#fffc;border:1px solid rgba(0,0,0,.1);border-radius:0 8px 8px 0;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:11;transition:all .2s ease;box-shadow:2px 0 8px #0000001a}.notes-collapse-toggle:hover{background:#fffffff2;box-shadow:2px 0 12px #00000026}.dark .notes-collapse-toggle{background:#24303ecc;border-color:#ffffff1a}.dark .notes-collapse-toggle:hover{background:#24303ef2}.notes-collapse-toggle svg{width:14px;height:14px;color:#666}.dark .notes-collapse-toggle svg{color:#aaa}.notes-search{position:sticky;top:0;z-index:10;padding-bottom:8px;position:relative}.notes-search-icon{position:absolute;left:12px;top:12px;color:#86868b;pointer-events:none}.notes-search-input{width:100%;padding:12px 16px 12px 40px;border-radius:12px;border:1px solid rgba(0,0,0,.1);background:#ffffff80;font-size:14px;color:#1d1d1f;outline:none;transition:all .2s ease}.notes-search-input:focus{border-color:#6d6ff2;box-shadow:0 0 0 3px #6d6ff21a}.dark .notes-search-input{background:#ffffff1a;border:1px solid rgba(255,255,255,.15);color:#f5f5f7}.notes-search-input::placeholder{color:#a0a0a6}.notes-section-header{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#86868b;margin-bottom:8px}.dark .notes-section-header{color:#a0a0a6}.notes-icon-btn{background:none;border:none;color:#6d6ff2;cursor:pointer;padding:4px;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.notes-icon-btn:hover{background:#6d6ff21a;transform:scale(1.1)}.notes-folders{display:flex;flex-direction:column;gap:4px}.notes-folder-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-radius:10px;border-left:3px solid transparent;cursor:pointer;transition:all .2s ease;background:#00000005;gap:8px}.notes-folder-item:hover{background:#0000000d}.notes-folder-item.active{background:#6d6ff226;border-left-color:#6d6ff2}.dark .notes-folder-item{background:#ffffff0d}.notes-folder-item:hover{background:#ffffff14}.notes-folder-item.active{background:#6d6ff233}.notes-folder-content{display:flex;align-items:center;gap:10px;flex:1}.notes-folder-actions{display:flex;align-items:center;gap:4px;opacity:0;transition:opacity .2s ease}.notes-folder-item:hover .notes-folder-actions{opacity:1}.notes-folder-edit-btn,.notes-folder-delete-btn{background:none;border:none;padding:4px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;color:#86868b}.notes-folder-edit-btn:hover{background:#6d6ff21a;color:#6d6ff2}.notes-folder-delete-btn:hover{background:#ff3b301a;color:#ff3b30}.dark .notes-folder-edit-btn,.dark .notes-folder-delete-btn{color:#a0a0a6}.notes-folder-icon{flex-shrink:0}.notes-folder-name{font-size:14px;font-weight:500;color:#1d1d1f;flex:1}.dark .notes-folder-name{color:#f5f5f7}.notes-folder-count{font-size:12px;color:#86868b;padding:2px 8px;background:#0000000d;border-radius:10px}.dark .notes-folder-count{color:#a0a0a6;background:#ffffff1a}.notes-folder-input{display:flex;gap:8px;padding:8px;background:#4facfe0d;border-radius:10px;margin-top:4px}.notes-folder-input input{flex:1;padding:6px 12px;border:1px solid rgba(0,0,0,.1);border-radius:8px;background:#fffc;font-size:13px;outline:none}.dark .notes-folder-input input{background:#ffffff1a;border:1px solid rgba(255,255,255,.15);color:#f5f5f7}.notes-folder-input button{padding:6px 12px;border:none;border-radius:8px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease}.notes-folder-input button:first-of-type{background:#6d6ff2;color:#fff}.notes-folder-input button:last-of-type{background:#0000000d;color:#1d1d1f}.dark .notes-folder-input button:last-of-type{background:#ffffff1a;color:#f5f5f7}.notes-tags-section{display:flex;flex-direction:column;gap:8px}.notes-tags-list{display:flex;flex-wrap:wrap;gap:6px}.notes-tag{padding:6px 12px;border-radius:12px;border:1px solid rgba(0,0,0,.1);background:#00000005;font-size:12px;font-weight:500;color:#1d1d1f;cursor:pointer;transition:all .2s ease}.notes-tag:hover{background:#0000000d}.notes-tag.active{background:#6d6ff2;color:#fff;border-color:#6d6ff2}.dark .notes-tag{border:1px solid rgba(255,255,255,.15);background:#ffffff0d;color:#f5f5f7}.notes-tag:hover{background:#ffffff1a}.notes-color-filter{display:flex;flex-direction:column;gap:8px}.notes-colors-list{display:flex;gap:8px;flex-wrap:wrap}.notes-color-btn{width:32px;height:32px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #0000001a}.notes-color-btn:hover{transform:scale(1.1);box-shadow:0 4px 12px #00000026}.notes-color-btn.active{border-color:#1d1d1f;transform:scale(1.15)}.dark .notes-color-btn.active{border-color:#f5f5f7}.notes-color-btn-small{width:28px;height:28px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:all .2s ease}.notes-color-btn-small:hover{transform:scale(1.1)}.notes-color-btn-small.active{border-color:#1d1d1f;transform:scale(1.15)}.dark .notes-color-btn-small.active{border-color:#f5f5f7}.notes-middle-panel{position:relative;width:450px;min-width:250px;max-width:600px;display:flex;flex-direction:column;background:#ffffff26;backdrop-filter:blur(30px) saturate(160%);-webkit-backdrop-filter:blur(30px) saturate(160%);border-right:1px solid rgba(0,0,0,.08);overflow:hidden;transition:width .3s ease,transform .3s ease}.dark .notes-middle-panel{background:#24303e73;border-right:1px solid rgba(255,255,255,.08)}.notes-middle-panel.collapsed{width:0;min-width:0;overflow:hidden}.notes-middle-panel-hidden{transform:translate(-100%);position:absolute}.notes-panel-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid rgba(0,0,0,.08);background:#ffffff80;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.dark .notes-panel-header{background:#24303e80;border-bottom:1px solid rgba(255,255,255,.08)}.notes-panel-header-left{display:flex;align-items:center;gap:12px}.notes-panel-title{font-size:18px;font-weight:600;color:#1d1d1f;margin:0}.dark .notes-panel-title{color:#f5f5f7}.notes-panel-count{font-size:14px;color:#86868b;padding:2px 8px;background:#0000000d;border-radius:10px}.dark .notes-panel-count{color:#a0a0a6;background:#ffffff1a}.notes-panel-header-right{display:flex;align-items:center;gap:12px}.notes-view-toggle{display:flex;gap:4px;padding:4px;background:#0000000d;border-radius:8px}.dark .notes-view-toggle{background:#ffffff14}.notes-view-btn{padding:6px 8px;border:none;border-radius:6px;background:transparent;color:#86868b;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.notes-view-btn:hover{background:#0000000d}.notes-view-btn.active{background:#fffc;color:#6d6ff2}.dark .notes-view-btn:hover{background:#ffffff14}.notes-view-btn.active{background:#ffffff1f;color:#6d6ff2}.notes-add-note-btn{padding:8px 12px;border:none;border-radius:8px;background:#6d6ff2;color:#fff;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.notes-add-note-btn:hover{background:#5d5fe0;transform:scale(1.05)}.notes-panel-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:16px}.notes-empty-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#86868b}.notes-empty-panel p{margin-top:12px;font-size:14px}.dark .notes-empty-panel{color:#a0a0a6}.notes-grid-view{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.notes-grid-item{display:flex;flex-direction:column;padding:12px;border-radius:10px;border-top:3px solid transparent;background:#00000005;cursor:pointer;transition:all .2s ease;min-height:150px}.notes-grid-item:hover{background:#0000000d;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.notes-grid-item.active{background:#6d6ff226;border-top-color:#6d6ff2}.dark .notes-grid-item{background:#ffffff0d}.notes-grid-item:hover{background:#ffffff14;box-shadow:0 4px 12px #0000004d}.notes-grid-item.active{background:#6d6ff233}.notes-grid-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.notes-grid-item-title{font-size:14px;font-weight:600;color:#1d1d1f;flex:1;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dark .notes-grid-item-title{color:#f5f5f7}.notes-grid-item-preview{font-size:12px;color:#86868b;line-height:1.5;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;flex:1}.dark .notes-grid-item-preview{color:#a0a0a6}.notes-grid-item-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}.notes-tag-more{font-size:10px;padding:2px 6px;border-radius:6px;background:#0000000d;color:#86868b}.dark .notes-tag-more{background:#ffffff1a;color:#a0a0a6}.notes-grid-item-date{font-size:11px;color:#86868b}.dark .notes-grid-item-date{color:#a0a0a6}.notes-list-view{display:flex;flex-direction:column;gap:8px}.notes-list{display:flex;flex-direction:column;gap:8px;flex:1}.notes-empty{text-align:center;padding:40px 20px;color:#86868b;font-size:14px}.dark .notes-empty{color:#a0a0a6}.notes-list-item{padding:12px;border-radius:10px;border-left:3px solid transparent;background:#00000005;cursor:pointer;transition:all .2s ease}.notes-list-item:hover{background:#0000000d;transform:translate(2px)}.notes-list-item.active{background:#6d6ff226;border-left-color:#6d6ff2}.dark .notes-list-item{background:#ffffff0d}.notes-list-item:hover{background:#ffffff14}.notes-list-item.active{background:#6d6ff233}.notes-list-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.notes-list-item-title{font-size:14px;font-weight:600;color:#1d1d1f;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dark .notes-list-item-title{color:#f5f5f7}.notes-delete-btn{background:none;border:none;color:#ff3b30;cursor:pointer;padding:4px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;opacity:0;transition:all .2s ease}.notes-list-item:hover .notes-delete-btn{opacity:1}.notes-delete-btn:hover{background:#ff3b301a;transform:scale(1.1)}.notes-list-item-preview{font-size:13px;color:#86868b;line-height:1.4;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dark .notes-list-item-preview{color:#a0a0a6}.notes-list-item-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}.notes-tag-mini{font-size:11px;padding:2px 6px;border-radius:6px;background:#6d6ff226;color:#6d6ff2}.dark .notes-tag-mini{background:#6d6ff240}.notes-list-item-date{font-size:11px;color:#86868b}.dark .notes-list-item-date{color:#a0a0a6}.notes-editor{flex:1;display:flex;flex-direction:column;padding:24px;overflow-y:auto;background:#fff}.dark .notes-editor{background:#24303e}.notes-editor-empty{flex:1;display:flex;align-items:center;justify-content:center;background:#fff}.dark .notes-editor-empty{background:#24303e}.notes-editor-empty-content{text-align:center;max-width:400px}.notes-editor-empty-content h2{font-size:24px;font-weight:600;color:#1d1d1f;margin:16px 0 12px}.notes-editor-empty-content p{font-size:14px;color:#86868b;margin-bottom:24px}.dark .notes-editor-empty-content h2{color:#f5f5f7}.notes-editor-empty-content p{color:#a0a0a6}.notes-editor-header{display:flex;flex-direction:column;gap:16px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid rgba(0,0,0,.08)}.dark .notes-editor-header{border-bottom:1px solid rgba(255,255,255,.08)}.notes-editor-title{font-size:32px;font-weight:700;color:#1d1d1f;border:none;background:none;outline:none;padding:0;width:100%}.notes-editor-title::placeholder{color:#c7c7cc}.dark .notes-editor-title{color:#f5f5f7}.notes-editor-title::placeholder{color:#48484a}.notes-editor-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.notes-editor-color-picker{display:flex;gap:6px}.notes-editor-export{display:flex;gap:8px}.notes-btn-primary,.notes-btn-secondary,.notes-btn-icon{padding:10px 20px;border-radius:12px;border:none;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.notes-btn-primary{background:linear-gradient(135deg,#6d6ff2,#8b8dff);color:#fff;box-shadow:0 4px 12px #6d6ff24d}.notes-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 16px #6d6ff266}.notes-btn-secondary,.notes-btn-icon{background:#0000000d;color:#1d1d1f}.notes-btn-secondary:hover,.notes-btn-icon:hover{background:#0000001a}.dark .notes-btn-secondary,.dark .notes-btn-icon{background:#ffffff1a;color:#f5f5f7}.dark .notes-btn-secondary:hover,.dark .notes-btn-icon:hover{background:#ffffff26}.notes-editor-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:20px}.notes-tag-editable{display:flex;align-items:center;gap:6px;padding:6px 12px;border-radius:12px;background:#6d6ff226;color:#6d6ff2;font-size:13px;font-weight:500}.dark .notes-tag-editable{background:#6d6ff240}.notes-tag-editable button{background:none;border:none;color:inherit;cursor:pointer;padding:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.notes-tag-editable button:hover{background:#0000001a}.notes-tag-input{display:flex;gap:8px;padding:4px;background:#6d6ff20d;border-radius:12px}.notes-tag-input input{padding:6px 12px;border:1px solid rgba(0,0,0,.1);border-radius:8px;background:#fffc;font-size:13px;outline:none}.dark .notes-tag-input input{background:#ffffff1a;border:1px solid rgba(255,255,255,.15);color:#f5f5f7}.notes-tag-input button{padding:6px 12px;border:none;border-radius:8px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease}.notes-tag-input button:first-of-type{background:#6d6ff2;color:#fff}.notes-tag-input button:last-of-type{background:#0000000d;color:#1d1d1f}.dark .notes-tag-input button:last-of-type{background:#ffffff1a;color:#f5f5f7}.notes-tag-add{padding:6px 12px;border-radius:12px;border:1px dashed rgba(0,0,0,.2);background:none;color:#6d6ff2;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:4px}.notes-tag-add:hover{background:#6d6ff20d;border-color:#6d6ff2}.dark .notes-tag-add{border:1px dashed rgba(255,255,255,.2)}.notes-editor-content{flex:1;width:100%;padding:20px;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:#fff6;font-size:16px;line-height:1.6;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,sans-serif;resize:vertical;min-height:300px;outline:none;transition:all .2s ease}.notes-editor-content:focus{border-color:#6d6ff2;box-shadow:0 0 0 3px #6d6ff21a}.dark .notes-editor-content{background:#ffffff14;border:1px solid rgba(255,255,255,.1);color:#f5f5f7}.notes-editor-preview{margin-top:24px;padding:20px;border-radius:12px;background:#fff6;border:1px solid rgba(0,0,0,.08)}.dark .notes-editor-preview{background:#ffffff14;border:1px solid rgba(255,255,255,.1)}.notes-markdown-content{font-size:16px;line-height:1.6;color:#1d1d1f}.notes-markdown-content h1{font-size:28px;font-weight:700;margin-bottom:16px}.notes-markdown-content h2{font-size:24px;font-weight:600;margin-bottom:12px}.notes-markdown-content h3{font-size:20px;font-weight:600;margin-bottom:10px}.notes-markdown-content strong{font-weight:600}.notes-markdown-content em{font-style:italic}.notes-markdown-content code{background:#0000000d;padding:2px 6px;border-radius:4px;font-family:SF Mono,Monaco,monospace;font-size:14px}.dark .notes-markdown-content{color:#f5f5f7}.notes-markdown-content code{background:#ffffff1a}@media (max-width: 768px){.notes-sidebar{width:100%;min-width:0;border-right:none;position:absolute;left:0;top:0;bottom:0;z-index:10}.notes-middle-panel{width:100%;min-width:0;border-right:none;position:absolute;left:0;top:0;bottom:0;z-index:9}.notes-editor{padding:16px;width:100%}.notes-app-content{position:relative}.notes-sidebar-hidden,.notes-middle-panel-hidden{transform:translate(-100%)}.notes-grid-view{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.notes-editor-title{font-size:24px}.notes-editor-preview{margin-top:16px}.notes-app-header{padding:12px 16px}.notes-app-header h1{font-size:20px}.notes-mobile-toggle{margin-right:4px}.notes-mobile-toggle:last-child{margin-right:0}}.notes-editor-content-wrapper{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0}.notes-editor-content-wrapper .tiptap-editor-container{flex:1;display:flex;flex-direction:column;overflow:hidden}.notes-editor-content-wrapper .tiptap-editor-content{flex:1;overflow-y:auto;min-height:0}.dark .notes-editor-content-wrapper .tiptap-toolbar{background:#24303e4d;border-bottom-color:#ffffff14}.dark .notes-editor-content-wrapper .tiptap-stats-bar{background:#1d263180;border-top-color:#ffffff14}.notes-mini-list::-webkit-scrollbar,.notes-sidebar::-webkit-scrollbar,.notes-panel-content::-webkit-scrollbar,.notes-editor::-webkit-scrollbar,.notes-editor-content-wrapper .tiptap-editor-content::-webkit-scrollbar{width:.5rem}.notes-mini-list::-webkit-scrollbar-track,.notes-sidebar::-webkit-scrollbar-track,.notes-panel-content::-webkit-scrollbar-track,.notes-editor::-webkit-scrollbar-track,.notes-editor-content-wrapper .tiptap-editor-content::-webkit-scrollbar-track{background:transparent}.notes-mini-list::-webkit-scrollbar-thumb,.notes-sidebar::-webkit-scrollbar-thumb,.notes-panel-content::-webkit-scrollbar-thumb,.notes-editor::-webkit-scrollbar-thumb,.notes-editor-content-wrapper .tiptap-editor-content::-webkit-scrollbar-thumb{background:#0003;border-radius:1rem}.dark .notes-mini-list::-webkit-scrollbar-thumb,.dark .notes-sidebar::-webkit-scrollbar-thumb,.dark .notes-panel-content::-webkit-scrollbar-thumb,.dark .notes-editor::-webkit-scrollbar-thumb,.dark .notes-editor-content-wrapper .tiptap-editor-content::-webkit-scrollbar-thumb{background:#fff3}.notes-mini-list::-webkit-scrollbar-thumb:hover,.notes-sidebar::-webkit-scrollbar-thumb:hover,.notes-panel-content::-webkit-scrollbar-thumb:hover,.notes-editor::-webkit-scrollbar-thumb:hover,.notes-editor-content-wrapper .tiptap-editor-content::-webkit-scrollbar-thumb:hover{background:#0000004d}.dark .notes-mini-list::-webkit-scrollbar-thumb:hover,.dark .notes-sidebar::-webkit-scrollbar-thumb:hover,.dark .notes-panel-content::-webkit-scrollbar-thumb:hover,.dark .notes-editor::-webkit-scrollbar-thumb:hover,.dark .notes-editor-content-wrapper .tiptap-editor-content::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.tiptap-editor-container{display:flex;flex-direction:column;height:100%;background:transparent}.tiptap-toolbar{display:flex;align-items:center;gap:4px;padding:8px 12px;border-bottom:1px solid rgba(0,0,0,.1);background:#ffffff80;flex-shrink:0}.dark .tiptap-toolbar{border-bottom-color:#ffffff1a;background:#24303e80}.toolbar-group{display:flex;gap:2px}.toolbar-divider{width:1px;height:20px;background:#0000001a;margin:0 4px}.dark .toolbar-divider{background:#ffffff1a}.tiptap-toolbar button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .15s ease}.tiptap-toolbar button:hover{background:#0000000d;color:#374151}.dark .tiptap-toolbar button{color:#9ca3af}.dark .tiptap-toolbar button:hover{background:#ffffff1a;color:#f3f4f6}.tiptap-toolbar button.is-active{background:#6d6ff21a;color:#6d6ff2}.dark .tiptap-toolbar button.is-active{background:#8b8dff33;color:#8b8dff}.tiptap-editor-content{flex:1;overflow-y:auto;padding:16px}.tiptap-editor-content .ProseMirror{outline:none;min-height:100%;color:#1f2937}.dark .tiptap-editor-content .ProseMirror{color:#f3f4f6}.tiptap-editor-content .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0}.dark .tiptap-editor-content .ProseMirror p.is-editor-empty:first-child:before{color:#6b7280}.tiptap-editor-content .ProseMirror h1{font-size:2em;font-weight:700;margin:1em 0 .5em;line-height:1.2}.tiptap-editor-content .ProseMirror h2{font-size:1.5em;font-weight:600;margin:.8em 0 .4em;line-height:1.3}.tiptap-editor-content .ProseMirror h3{font-size:1.25em;font-weight:600;margin:.6em 0 .3em;line-height:1.4}.tiptap-editor-content .ProseMirror p{margin:.5em 0;line-height:1.6}.tiptap-editor-content .ProseMirror strong{font-weight:700}.tiptap-editor-content .ProseMirror em{font-style:italic}.tiptap-editor-content .ProseMirror code{background:#0000000d;padding:2px 6px;border-radius:4px;font-family:Monaco,Courier New,monospace;font-size:.9em;color:#e11d48}.dark .tiptap-editor-content .ProseMirror code{background:#ffffff1a;color:#fb7185}.tiptap-editor-content .ProseMirror pre{background:#0000000d;padding:12px;border-radius:8px;overflow-x:auto;margin:1em 0}.dark .tiptap-editor-content .ProseMirror pre{background:#ffffff0d}.tiptap-editor-content .ProseMirror pre code{background:none;padding:0;color:inherit}.tiptap-editor-content .ProseMirror blockquote{border-left:3px solid #6d6ff2;padding-left:1em;margin:1em 0;color:#6b7280;font-style:italic}.dark .tiptap-editor-content .ProseMirror blockquote{border-left-color:#8b8dff;color:#9ca3af}.tiptap-editor-content .ProseMirror ul,.tiptap-editor-content .ProseMirror ol{padding-left:1.5em;margin:.5em 0}.tiptap-editor-content .ProseMirror ul li,.tiptap-editor-content .ProseMirror ol li{margin:.25em 0}.tiptap-editor-content .ProseMirror ul{list-style-type:disc}.tiptap-editor-content .ProseMirror ol{list-style-type:decimal}.tiptap-editor-content .ProseMirror ul[data-type=taskList]{list-style:none;padding-left:0}.tiptap-editor-content .ProseMirror ul[data-type=taskList] li{display:flex;align-items:flex-start;margin:.4em 0}.tiptap-editor-content .ProseMirror ul[data-type=taskList] li>label{flex:0 0 auto;margin-right:.5em;-webkit-user-select:none;user-select:none}.tiptap-editor-content .ProseMirror ul[data-type=taskList] li>label input[type=checkbox]{width:16px;height:16px;cursor:pointer;border-radius:4px;margin-top:3px}.tiptap-editor-content .ProseMirror ul[data-type=taskList] li>div{flex:1 1 auto}.tiptap-editor-content .ProseMirror ul[data-type=taskList] li[data-checked=true]>div{text-decoration:line-through;color:#9ca3af}.dark .tiptap-editor-content .ProseMirror ul[data-type=taskList] li[data-checked=true]>div{color:#6b7280}.tiptap-editor-content .ProseMirror ul ul,.tiptap-editor-content .ProseMirror ol ol,.tiptap-editor-content .ProseMirror ul ol,.tiptap-editor-content .ProseMirror ol ul{margin:.25em 0 .25em 1em}.tiptap-stats-bar{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;border-top:1px solid rgba(0,0,0,.1);background:#f9fafbcc;font-size:12px;color:#6b7280;flex-shrink:0}.dark .tiptap-stats-bar{border-top-color:#ffffff1a;background:#1d2631cc;color:#9ca3af}.stats-left,.stats-right{display:flex;align-items:center;gap:16px}.progress-bar{width:64px;height:4px;background:#0000001a;border-radius:2px;overflow:hidden}.dark .progress-bar{background:#ffffff1a}.progress-fill{height:100%;background:#6d6ff2;transition:width .3s ease}.dark .progress-fill{background:#8b8dff}.tiptap-editor-content .ProseMirror a{color:#6d6ff2;text-decoration:underline;cursor:pointer}.dark .tiptap-editor-content .ProseMirror a{color:#8b8dff}.tiptap-editor-content .ProseMirror a:hover{color:#5558d9}.dark .tiptap-editor-content .ProseMirror a:hover{color:#a5a6ff}.tiptap-editor-content .ProseMirror hr{border:none;border-top:2px solid rgba(0,0,0,.1);margin:2em 0}.dark .tiptap-editor-content .ProseMirror hr{border-top-color:#ffffff1a}.tiptap-editor-content .ProseMirror ::selection{background:#6d6ff233}.dark .tiptap-editor-content .ProseMirror ::selection{background:#8b8dff4d}.onboarding-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.onboarding-modal-container{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:100%;max-height:85vh;overflow-y:auto;overflow-x:hidden;position:relative;animation:slideUp .3s ease-out;display:flex;flex-direction:column}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.onboarding-modal-close{position:absolute;top:16px;right:16px;background:transparent;border:none;cursor:pointer;padding:8px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#6b7280;transition:all .2s;z-index:1}.onboarding-modal-close:hover:not(:disabled){background:#f3f4f6;color:#111827}.onboarding-modal-close:disabled{opacity:.5;cursor:not-allowed}.onboarding-modal-header{text-align:center;padding:1.5rem 1.5rem .75rem;flex-shrink:0}.onboarding-modal-icon{font-size:2rem;margin-bottom:.5rem;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.onboarding-modal-title{font-size:1.375rem;font-weight:700;color:#111827!important;margin:0 0 .5rem;line-height:1.3}.dark .onboarding-modal-title,.onboarding-modal-container .onboarding-modal-title{color:#111827!important}.onboarding-modal-subtitle{font-size:.95rem;color:#6b7280!important;margin:0}.onboarding-modal-progress{text-align:center;padding:0 2rem 1.5rem}.onboarding-modal-progress-text{display:inline-block;font-size:.875rem;color:#8b5cf6;font-weight:600;background:#f3e8ff;padding:.375rem 1rem;border-radius:20px}.onboarding-modal-form{padding:0 1.5rem 1.5rem;flex:1;overflow-y:auto;overflow-x:hidden}.onboarding-form-group{margin-bottom:1rem}.onboarding-form-label{display:block;font-size:.875rem;font-weight:600;color:#374151!important;margin-bottom:.5rem}.required-asterisk{color:#ef4444;margin-left:2px}.optional-text{font-weight:400;color:#9ca3af;font-size:.8125rem}.onboarding-form-input,.onboarding-form-select{width:100%;padding:.75rem 1rem;font-size:.9375rem;border:2px solid #e5e7eb;border-radius:10px;transition:all .2s;background:#fff;color:#111827!important;font-family:inherit}.onboarding-form-input::placeholder{color:#9ca3af!important;opacity:1}.onboarding-form-input:focus,.onboarding-form-select:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.onboarding-form-input:disabled,.onboarding-form-select:disabled{background:#f9fafb;cursor:not-allowed;opacity:.6}.onboarding-form-input.error{border-color:#ef4444}.onboarding-form-input.error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.onboarding-form-error{display:block;font-size:.8125rem;color:#ef4444;margin-top:.375rem}.onboarding-form-select{cursor:pointer}.onboarding-form-checkbox-group{background:#f9fafb;padding:1rem;border-radius:10px;border:2px solid #e5e7eb}.onboarding-form-checkbox-label{display:flex;align-items:flex-start;cursor:pointer;gap:.75rem}.onboarding-form-checkbox{width:18px;height:18px;margin-top:2px;cursor:pointer;accent-color:#8b5cf6;flex-shrink:0}.onboarding-form-checkbox:disabled{cursor:not-allowed;opacity:.5}.onboarding-form-checkbox-text{font-size:.9375rem;color:#374151!important;line-height:1.5}.onboarding-form-checkbox-description{font-size:.8125rem;color:#6b7280!important;margin:.5rem 0 0 2.25rem}.onboarding-privacy-notice{text-align:center;margin-bottom:1rem}.onboarding-privacy-notice p{font-size:.8125rem;color:#9ca3af!important;margin:0}.onboarding-modal-actions{display:flex;gap:.75rem;justify-content:center;flex-shrink:0}.onboarding-btn{padding:.65rem 1.25rem;font-size:.9375rem;font-weight:600;border-radius:10px;border:none;cursor:pointer;transition:all .2s;font-family:inherit;min-width:110px}.onboarding-btn:disabled{cursor:not-allowed;opacity:.6}.onboarding-btn-primary{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff!important;box-shadow:0 4px 12px #8b5cf64d}.onboarding-btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.onboarding-btn-primary:active:not(:disabled){transform:translateY(0)}.onboarding-btn-secondary{background:#fff;color:#6b7280!important;border:2px solid #e5e7eb}.onboarding-btn-secondary:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db;color:#374151!important}@media (max-width: 640px){.onboarding-modal-container{border-radius:12px;max-height:90vh}.onboarding-modal-header{padding:1.25rem 1.25rem .5rem}.onboarding-modal-title{font-size:1.25rem}.onboarding-modal-icon{font-size:1.75rem;margin-bottom:.25rem}.onboarding-modal-form{padding:0 1.25rem 1.25rem}.onboarding-form-group{margin-bottom:.875rem}.onboarding-modal-actions{flex-direction:column}.onboarding-btn{width:100%;min-width:unset;padding:.625rem 1rem}}@media (max-height: 700px){.onboarding-modal-container{max-height:80vh}.onboarding-modal-header{padding:1rem 1.5rem .5rem}.onboarding-modal-icon{font-size:1.75rem;margin-bottom:.25rem}.onboarding-modal-title{font-size:1.25rem;margin-bottom:.375rem}.onboarding-modal-subtitle{font-size:.875rem}.onboarding-modal-form{padding:0 1.5rem 1.25rem}.onboarding-form-group{margin-bottom:.875rem}.onboarding-form-label{font-size:.8125rem;margin-bottom:.375rem}.onboarding-form-input,.onboarding-form-select{padding:.625rem .875rem;font-size:.875rem}.onboarding-btn{padding:.625rem 1.125rem;font-size:.875rem}.onboarding-privacy-notice{margin-bottom:.875rem}}@media (max-height: 600px){.onboarding-modal-container{max-height:75vh}.onboarding-modal-header{padding:.75rem 1.5rem .375rem}.onboarding-modal-icon{font-size:1.5rem;margin-bottom:.25rem}.onboarding-modal-title{font-size:1.125rem}.onboarding-modal-form{padding:0 1.5rem 1rem}.onboarding-form-group{margin-bottom:.75rem}}@media (prefers-color-scheme: dark){.onboarding-modal-container{background:#2d3947}.onboarding-modal-title{color:#f9fafb}.onboarding-modal-subtitle,.onboarding-modal-close{color:#9ca3af}.onboarding-modal-close:hover:not(:disabled){background:#2d3947;color:#f9fafb}.onboarding-form-label{color:#e5e7eb}.onboarding-form-input,.onboarding-form-select{background:#364352;border-color:#3f4d5d;color:#f9fafb}.onboarding-form-input:focus,.onboarding-form-select:focus{border-color:#8b5cf6}.onboarding-form-input:disabled,.onboarding-form-select:disabled{background:#24303e}.onboarding-form-checkbox-group{background:#364352;border-color:#3f4d5d}.onboarding-form-checkbox-text{color:#e5e7eb}.onboarding-btn-secondary{background:#364352;color:#d1d5db;border-color:#3f4d5d}.onboarding-btn-secondary:hover:not(:disabled){background:#3f4d5d;border-color:#4a5a6d;color:#f9fafb}}
