.note-layout{background:#fafafa;flex-direction:column;width:100vw;height:100vh;display:flex;overflow:hidden}.note-top-header{z-index:100;background:#fff;border-bottom:1px solid #f0f0f0;flex-shrink:0;height:48px;padding:0 20px;line-height:48px;box-shadow:0 1px 2px rgba(0,0,0,.03)}.note-top-header-content{justify-content:space-between;align-items:center;height:100%;display:flex}.note-logo{color:#000;cursor:pointer;align-items:center;gap:8px;font-size:16px;font-weight:700;transition:all .2s;display:flex}.note-logo:hover{opacity:.7}.note-logo span{font-size:15px}.note-top-actions{gap:8px;display:flex}.note-body-layout{flex:1;width:100%;min-width:0;min-height:0;overflow:hidden;flex-direction:row!important;display:flex!important}.note-folder-sider{background:#fff;border-right:1px solid #f0f0f0;flex-direction:column;flex-shrink:0;display:flex;overflow-y:auto}.folder-sidebar{flex-direction:column;flex:1;min-height:0;padding:12px 0;display:flex}.folder-sidebar .ant-tree{background:#fff;border-radius:0!important}.ant-tree-treenode:hover:not(.ant-tree-treenode-selected){align-items:center;height:32px;display:flex;background:#f0efee!important;border-radius:5px!important}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle{display:flex!important}.folder-special-item{cursor:pointer;border-radius:8px;align-items:center;gap:10px;margin:2px 8px;padding:10px 16px;font-size:14px;transition:all .2s;display:flex}.folder-special-item:hover{background:#f0efee}.folder-special-item.active{color:#1f2937;background:#f0efee}.folder-special-name{color:#000;flex:1;font-weight:500}.folder-special-item.active .folder-special-name{color:#1f2937;font-weight:600}.folder-special-count{color:#9ca3af;font-size:12px;font-weight:500}.folder-divider{background:#f0f0f0;height:1px;margin:12px}.folder-tree-container{flex-direction:column;flex:1;display:flex;overflow:hidden}.folder-tree-header{justify-content:space-between;align-items:center;margin-bottom:8px;padding:8px 16px;display:flex}.folder-tree-title{color:#6b7280;text-transform:uppercase;letter-spacing:.5px;font-size:13px;font-weight:600}.folder-add-btn{color:#9ca3af;transition:all .15s}.folder-add-btn:hover{color:#333;background:red}.folder-tree-root-item{cursor:pointer;color:#1f2937;border-radius:5px;align-items:center;gap:8px;margin:0 10px;padding:5px 12px 5px 8px;font-size:14px;font-weight:400;transition:all .15s;display:flex}.folder-tree-root-item svg{color:#6b7280;flex-shrink:0;font-size:18px;transition:all .15s;display:block}.folder-tree-root-item:hover{background:#f5f5f5}.folder-tree-root-item.active{background:#f0efee}.folder-tree-root-item.drag-over{outline-offset:-2px;background:rgba(22,119,255,.1)!important;border-radius:8px!important;outline:2px dashed #1677ff!important}.folder-tree .ant-tree-node-content-wrapper:has(.folder-tree-node[data-drag-over=true]){outline-offset:-2px;background:rgba(22,119,255,.1)!important;border-radius:8px!important;outline:2px dashed #1677ff!important}.folder-tree{padding:5px 0!important}.folder-tree .ant-tree-child-tree,.folder-tree .ant-tree-treenode-motion,.folder-tree .ant-tree-treenode-motion-active{transition:none!important}.folder-tree .ant-tree-motion-collapse{transition:none!important;animation:none!important}.folder-tree .ant-tree-treenode{border-radius:5px;align-items:center;width:100%;padding:1px 0;display:flex;position:relative;background-color:#fff!important;line-height:30px!important;transition:none!important}.folder-tree .ant-tree-indent{flex-shrink:0}.folder-tree .ant-tree-indent-unit{width:20px}.folder-tree .ant-tree-switcher{color:#9ca3af;flex-shrink:0;transition:none!important}.folder-tree .ant-tree-switcher:hover,.folder-tree .ant-tree-treenode-selected .ant-tree-switcher{color:#6b7280}.ant-tree .ant-tree-switcher:not(.ant-tree-switcher-noop):hover:before{background-color:transparent!important}.folder-tree .ant-tree-iconEle{color:#6b7280;flex-shrink:0;justify-content:center;align-items:center;margin-right:6px;font-size:18px;display:flex;transition:none!important}.folder-tree .ant-tree-iconEle svg{color:inherit;display:block;transition:none!important}.folder-tree .ant-tree-treenode:hover .ant-tree-iconEle,.folder-tree .ant-tree-treenode-selected .ant-tree-iconEle{color:#333!important}.folder-tree .ant-tree-node-content-wrapper{background-color:#f0efee;border-radius:0;flex:1;align-items:center;min-width:0;margin:0;display:flex;padding-left:0!important;padding-right:0!important;transition:none!important}.folder-tree .ant-tree-node-content-wrapper:hover{background:#f0efee!important}.folder-tree .ant-tree-node-content-wrapper-normal{cursor:pointer}.folder-tree .ant-tree-title{flex:1;align-items:center;min-width:0;display:flex}.folder-tree-node{justify-content:flex-start;align-items:center;gap:8px;width:100%;min-width:0;display:flex;position:relative;transition:none!important}.folder-name{text-overflow:ellipsis;white-space:nowrap;color:#1f2937;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex:1;min-width:0;font-size:13px;font-weight:400;overflow:hidden;transition:none!important}.folder-count{color:#9ca3af;white-space:nowrap;flex-grow:0;flex-shrink:0;margin-left:4px;font-size:12px;font-weight:400;transition:none!important}.folder-action-btn{opacity:0;color:#9ca3af;border-radius:4px;flex-grow:0;flex-shrink:0;margin-left:auto;padding:4px;transition:opacity .15s}.folder-action-btn:hover{color:#333;background:#e5e5e5}.folder-action-btn:active{background:#d4d4d4}.folder-tree .ant-tree-treenode:hover .folder-action-btn{opacity:1}.folder-tree .ant-tree-treenode-selected,.folder-tree .ant-tree-treenode-leaf.ant-tree-treenode-selected{background:#f0efee!important}.folder-tree .ant-tree-treenode-leaf{background:#fff!important}.folder-tree .ant-tree-node-selected{background:red!important}.folder-tree .ant-tree-treenode-selected .ant-tree-node-content-wrapper{background:#f0efee!important}.folder-tree .ant-tree-treenode-selected .folder-name,.folder-tree .ant-tree-treenode-selected .folder-count,.folder-tree .ant-tree-treenode-selected .ant-tree-iconEle,.folder-tree .ant-tree-treenode-selected .ant-tree-switcher,.folder-tree .ant-tree-treenode-selected .folder-action-btn{color:#1f2937}.folder-tree .ant-tree-treenode-selected .folder-action-btn:hover{background:rgba(255,255,255,.15)!important}.folder-tree .ant-tree-treenode:hover:not(.ant-tree-treenode-selected){background:red}.note-notebook-sider{background:#fff;border-right:1px solid #f0f0f0;overflow-y:auto}.notebook-list{padding:12px 0}.notebook-item{cursor:pointer;border-radius:8px;align-items:center;gap:10px;margin:2px 8px;padding:8px 12px;transition:all .2s;display:flex}.notebook-item:hover{background:#f9fafb}.notebook-item.active{color:#059669;background:rgba(16,185,129,.08)}.notebook-icon{color:#6b7280;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:16px;display:flex}.notebook-item.active .notebook-icon{color:var(--ant-primary-color)}.notebook-icon.star{color:#faad14}.notebook-info{flex:1;justify-content:space-between;align-items:center;min-width:0;display:flex}.notebook-name{color:#000;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.notebook-item.active .notebook-name{color:#059669;font-weight:600}.notebook-count{color:#9ca3af;flex-shrink:0;margin-left:8px;font-size:12px}.notebook-divider{background:#f0f0f0;height:1px;margin:8px 12px}.note-list-sider{background:#f9fafb;border-right:1px solid #f0f0f0;flex-shrink:0;overflow:hidden;flex-direction:column!important;display:flex!important}.note-list-sider .ant-layout-sider-children{overflow:hidden;flex-direction:column!important;height:100%!important;display:flex!important}.note-list-header{background:#f9fafb;border-bottom:1px solid #f0f0f0;flex-shrink:0;padding:5px 12px}.note-list-title{color:#000;align-items:center;margin-bottom:12px;padding:0 4px;font-size:16px;font-weight:600;display:flex}.note-search-input{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:100%}.note-search-input input{background:0 0}.note-search-input:hover{border-color:#d1d5db}.note-search-input.ant-input-affix-wrapper-focused{box-shadow:0 0 0 2px var(--ant-primary-1);border-color:var(--ant-primary-color);background:#fff}.note-search-input-pill{background:#fff;width:100%;border:1px solid #e5e7eb!important;border-radius:999px!important;height:32px!important;padding:4px 12px!important}.note-search-input-pill:hover{border-color:#d1d5db!important}.note-search-input-pill.ant-input-affix-wrapper-focused{box-shadow:none!important;background:#fff!important;border-color:#d1d5db!important}.note-search-input-pill input{color:#1f2937;background:0 0;font-size:14px;height:24px!important;padding-top:0!important;padding-bottom:0!important;padding-left:4px!important;line-height:24px!important}.note-search-input-pill input::placeholder{color:#9ca3af}.note-search-input-pill .ant-input-prefix{align-items:center;display:flex;margin-right:6px!important}.note-search-input-pill .ant-input-suffix{align-items:center;margin-left:8px;display:flex}.note-list-container{scrollbar-width:none;-ms-overflow-style:none;background:#f9fafb;flex:1;min-height:0;padding:0;position:relative;overflow-x:hidden;overflow-y:auto}.note-list-container::-webkit-scrollbar{display:none}.note-list-container .ant-list{background:0 0;border:none}.note-list-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:80px 20px;display:flex}.note-list-empty-icon{color:#d1d5db;opacity:.6;margin-bottom:16px;font-size:64px;transition:all .3s}.note-list-empty:hover .note-list-empty-icon{opacity:.8;transform:scale(1.05)}.note-list-empty-text{color:#6b7280;margin-bottom:8px;font-size:16px;font-weight:500}.note-list-empty-hint{color:#9ca3af;margin-bottom:24px;font-size:14px;line-height:1.5}.note-list-empty-button{background:#000;border-color:#000;border-radius:8px;height:40px;padding:0 24px;font-weight:600;transition:all .2s;box-shadow:0 2px 8px rgba(0,0,0,.15)}.note-list-empty-button:hover{background:#333;border-color:#333;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.2)}.note-list-item{cursor:pointer;background:0 0;transition:all .15s;border-bottom:none!important;margin:0!important;padding:12px!important}.note-list-item:hover{background:#f3f4f6}.note-list-item.active{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.04)}.note-item-content{width:100%}.note-item-header{justify-content:space-between;align-items:flex-start;margin-bottom:8px;display:flex}.note-item-title{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.note-title-text{color:#000;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.note-item-actions{opacity:0;gap:4px;transition:opacity .2s;display:flex}.note-list-item:hover .note-item-actions{opacity:1}.note-item-preview{color:#6b7280;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin-bottom:6px;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.note-item-footer{justify-content:space-between;align-items:center;display:flex}.note-item-meta{color:#9ca3af;align-items:center;gap:4px;font-size:12px;display:flex}.note-time,.note-size{color:#9ca3af;font-size:12px}.note-category-tag{margin:0;font-size:11px}.note-folder-tag{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:4px;max-width:55%;margin:0;padding-left:0;padding-right:0;font-size:11px;display:inline-flex;overflow:hidden;background:0 0!important;border-color:transparent!important}.note-item-tags{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.note-tag{margin:0;font-size:11px}.note-editor-layout{background:#fff;flex-direction:column;width:100%;min-width:0;display:flex;overflow:hidden}.note-editor-header{background:#fff;border-bottom:1px solid #f0f0f0;padding:20px 32px 16px}.note-title-input{color:#000;margin-bottom:12px;font-size:28px;font-weight:700}.note-title-input input{color:#000;font-size:28px;font-weight:700}.note-title-input input::placeholder{color:#d1d5db}.note-editor-toolbar{justify-content:space-between;align-items:center;display:flex}.note-meta{color:#6b7280;align-items:center;gap:6px;font-size:12px;display:flex}.note-actions{gap:6px;display:flex}.note-editor-content-wrapper{background:#fff;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.note-empty-state{color:#9ca3af;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.note-empty-state h3{color:#6b7280;margin:16px 0 8px}.note-empty-state p{color:#9ca3af;margin-bottom:24px}.note-editor-container{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.note-editor-toolbar-wrapper{z-index:100;background:#fff;border-bottom:1px solid #f0f0f0;padding:8px 0;position:-webkit-sticky;position:sticky;top:0}.note-metadata{background:#f9fafb;border-bottom:1px solid #f0f0f0;flex-wrap:wrap;gap:20px;padding:12px 32px;display:flex}.metadata-item{align-items:center;gap:8px;display:flex}.metadata-label{color:#6b7280;font-size:13px;font-weight:500}.tag-list{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.add-tag-btn{cursor:pointer;background:#f9fafb;border-style:dashed;transition:all .3s}.add-tag-btn:hover{border-color:var(--ant-primary-color);color:var(--ant-primary-color)}.note-editor-content{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:1;min-height:0;max-height:100%;display:flex;position:relative;overflow-x:hidden;overflow-y:auto}.note-editor-content::-webkit-scrollbar{display:none}.note-editor-content>div{flex-direction:column;flex:1;min-height:0;display:flex}.markdown-preview{color:#000;scrollbar-width:none;-ms-overflow-style:none;flex:1;padding:24px;font-size:15px;line-height:1.8;overflow-y:auto}.markdown-preview::-webkit-scrollbar{display:none}.markdown-h1{color:#000;border-bottom:2px solid #f0f0f0;margin:24px 0 16px;padding-bottom:12px;font-size:32px;font-weight:700}.markdown-h2{color:#000;border-bottom:1px solid #f0f0f0;margin:20px 0 14px;padding-bottom:10px;font-size:28px;font-weight:600}.markdown-h3{color:#000;margin:18px 0 12px;font-size:24px;font-weight:600}.markdown-h4{color:#000;margin:16px 0 10px;font-size:20px;font-weight:600}.markdown-h5{color:#000;margin:14px 0 8px;font-size:18px;font-weight:600}.markdown-h6{color:#6b7280;margin:12px 0 6px;font-size:16px;font-weight:600}.markdown-p{color:#000;margin:12px 0;line-height:1.8}.markdown-ul,.markdown-ol{margin:12px 0;padding-left:28px}.markdown-li{margin:6px 0;line-height:1.8}.markdown-blockquote{border-left:4px solid var(--ant-primary-color);color:#6b7280;background:#f9fafb;margin:16px 0;padding:12px 16px}.markdown-link{color:var(--ant-primary-color);text-decoration:none;transition:all .3s}.markdown-link:hover{color:#059669;text-decoration:underline}.markdown-table{border-collapse:collapse;border:1px solid #f0f0f0;width:100%;margin:16px 0}.markdown-thead{background:#f9fafb}.markdown-th,.markdown-td{text-align:left;border:1px solid #f0f0f0;padding:12px 16px}.markdown-th{color:#000;font-weight:600}.markdown-td{color:#6b7280}.markdown-hr{border:none;border-top:1px solid #f0f0f0;margin:24px 0}.markdown-preview code{color:var(--ant-primary-color);background:#f3f4f6;border-radius:3px;padding:2px 6px;font-family:Consolas,Monaco,Courier New,monospace;font-size:14px}.markdown-preview pre{background:#1e1e1e;border:1px solid #f0f0f0;border-radius:8px;margin:16px 0;padding:0;overflow:hidden}.markdown-preview pre code{color:inherit;background:0 0;padding:0;display:block;overflow-x:auto}@media (max-width:1200px){.note-notebook-sider{width:160px!important;min-width:160px!important}.note-list-sider{width:260px!important;min-width:260px!important}}@media (max-width:992px){.note-notebook-sider{width:140px!important;min-width:140px!important}.note-list-sider{width:240px!important;min-width:240px!important}.notebook-name{font-size:12px}.notebook-count{font-size:11px}}@media (max-width:768px){.note-notebook-sider{display:none}.note-list-sider{width:220px!important;min-width:220px!important}.note-metadata{flex-direction:column;gap:12px}.note-title-input,.note-title-input input{font-size:20px}}.note-folder-sider::-webkit-scrollbar{width:6px}.note-notebook-sider::-webkit-scrollbar{width:6px}.note-list-container::-webkit-scrollbar{width:6px}.markdown-preview::-webkit-scrollbar{width:6px}.folder-tree::-webkit-scrollbar{width:6px}.note-editor-content::-webkit-scrollbar{width:6px}.note-folder-sider::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.note-notebook-sider::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.note-list-container::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.markdown-preview::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.folder-tree::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.note-editor-content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.note-folder-sider::-webkit-scrollbar-thumb:hover{background:#9ca3af}.note-notebook-sider::-webkit-scrollbar-thumb:hover{background:#9ca3af}.note-list-container::-webkit-scrollbar-thumb:hover{background:#9ca3af}.markdown-preview::-webkit-scrollbar-thumb:hover{background:#9ca3af}.folder-tree::-webkit-scrollbar-thumb:hover{background:#9ca3af}.note-editor-content::-webkit-scrollbar-thumb:hover{background:#9ca3af}.note-folder-sider::-webkit-scrollbar-track{background:0 0}.note-notebook-sider::-webkit-scrollbar-track{background:0 0}.note-list-container::-webkit-scrollbar-track{background:0 0}.markdown-preview::-webkit-scrollbar-track{background:0 0}.folder-tree::-webkit-scrollbar-track{background:0 0}.note-editor-content::-webkit-scrollbar-track{background:0 0}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.note-list-item{animation:.3s fadeIn}.notebook-menu .ant-menu-item,.notebook-menu .ant-menu-item-icon{font-size:14px}.note-layout .ant-layout-sider{background:#fff}
