.rich-editor-wrapper{background-color:var(--bg-card);border:1px solid hsla(0,0%,100%,.22);border-radius:.75rem;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.light-mode .rich-editor-wrapper{box-shadow:none}.rich-editor-wrapper{position:relative;min-height:14rem;overflow:hidden!important;resize:vertical}.light-mode .rich-editor-wrapper{border-color:#cbd5e1}.rich-editor-wrapper:focus-within{border-color:var(--border-focus)!important;box-shadow:0 0 0 1px var(--accent-light)}.rich-editor-wrapper .ql-toolbar.ql-snow{border-width:0 0 1px;padding:.5rem;border-color:var(--border)!important;background-color:var(--bg-elevated)!important;z-index:10;position:relative;display:none!important}.rich-editor-wrapper:focus-within .ql-toolbar.ql-snow{display:block!important}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-item,.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-label,.rich-editor-wrapper .ql-toolbar.ql-snow button{color:var(--text-secondary)!important;border-radius:.55rem;transition:background-color .15s ease,color .15s ease}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-item:hover,.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-label:hover,.rich-editor-wrapper .ql-toolbar.ql-snow button:hover{background-color:var(--bg-hover)!important;color:var(--text-primary)!important}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-item.ql-selected,.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-label.ql-active,.rich-editor-wrapper .ql-toolbar.ql-snow button.ql-active{background-color:var(--accent-light)!important;color:var(--accent)!important}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-stroke{stroke:currentColor!important}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-fill{fill:currentColor!important}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-label.ql-active .ql-stroke,.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke,.rich-editor-wrapper .ql-toolbar.ql-snow button.ql-active .ql-stroke,.rich-editor-wrapper .ql-toolbar.ql-snow button:hover .ql-stroke{stroke:currentColor!important}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-label.ql-active .ql-fill,.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker-label:hover .ql-fill,.rich-editor-wrapper .ql-toolbar.ql-snow button.ql-active .ql-fill,.rich-editor-wrapper .ql-toolbar.ql-snow button:hover .ql-fill{fill:currentColor!important}.rich-editor-wrapper .ql-container.ql-snow{border-width:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:auto!important;min-height:0}.rich-editor-wrapper .ql-editor{padding:.75rem 1rem;line-height:1.625;flex:1;min-height:0;overflow-y:auto!important}.rich-editor-wrapper .ql-editor img.ql-image-uploading{opacity:.78}.editor-resize-handle{display:none;align-items:center;justify-content:flex-end;gap:.45rem;min-height:1.75rem;padding:0 .9rem .75rem;color:var(--text-secondary);cursor:ns-resize;touch-action:none;background:linear-gradient(180deg,transparent,rgba(15,23,42,.08));pointer-events:none}.editor-resize-icon{width:.95rem;height:.95rem;opacity:.8}.editor-resize-label{font-size:.68rem;font-weight:600;letter-spacing:.02em;opacity:.85}.editor-resize-handle:focus-visible,.editor-resize-handle:hover{color:var(--accent);outline:none}.rich-editor-wrapper .ql-editor.ql-blank:before{--tw-text-opacity:1!important;color:rgb(148 163 184/var(--tw-text-opacity,1))!important}.light-mode :is(.rich-editor-wrapper .ql-editor.ql-blank,.text-slate-300,[class~=text-slate-400],[class~=text-slate-300]):before{color:var(--text-secondary)!important}.rich-editor-wrapper .ql-editor.ql-blank:is(.dark *):before{--tw-text-opacity:1!important;color:rgb(100 116 139/var(--tw-text-opacity,1))!important}.light-mode :is(.rich-editor-wrapper .ql-editor.ql-blank:is(.dark *),[class~=text-slate-500]):before{color:var(--text-secondary)!important}.rich-editor-wrapper .ql-editor.ql-blank:before{font-style:normal!important}.rich-editor-wrapper .ql-editor li{position:relative!important;padding-left:2em!important;list-style:none!important;margin-bottom:.25em!important}.rich-editor-wrapper .ql-editor li:before{position:absolute!important;left:0!important;top:0!important;width:1.5em!important;text-align:right!important;display:inline-block!important}.rich-editor-wrapper .ql-task-list-item{position:relative;padding-left:2.5em;margin-bottom:.25em}.rich-editor-wrapper .ql-task-list-item:before{content:"";position:absolute;left:.5em;top:.2em;width:1.25em;height:1.25em;border:2px solid #cbd5e1;border-radius:5px;cursor:pointer}.rich-editor-wrapper .ql-task-list-item[data-task=checked]:before{background-color:#10b981;border-color:#10b981;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");background-size:70%;background-position:50%;background-repeat:no-repeat}.rich-editor-wrapper .ql-task-list-item[data-task=checked]{text-decoration:line-through;color:#94a3b8}.custom-resizer-handle{position:fixed;width:10px;height:10px;background:#10b981;border:1px solid #fff;z-index:999999;box-shadow:0 0 4px #0000004d;pointer-events:auto}.handle-br,.handle-tl{cursor:nwse-resize!important}.handle-bl,.handle-tr{cursor:nesw-resize!important}.rich-editor-wrapper .ql-toolbar.ql-snow .ql-picker{color:var(--text-secondary)!important}.rich-editor-wrapper .ql-code-block svg{color:var(--text-secondary)}.rich-editor-wrapper .ql-code-block.ql-active svg,.rich-editor-wrapper .ql-code-block:hover svg{color:var(--accent)}.rich-editor-wrapper .ql-snow .ql-picker-options{z-index:100!important;background-color:var(--bg-card)!important;border-color:var(--border)!important;color:var(--text-primary)!important}.slash-command-menu{width:min(280px,calc(100vw - 16px));max-height:280px;overflow-y:auto;padding:.4rem;border-radius:.9rem;border:1px solid var(--border);background:var(--bg-card);box-shadow:0 18px 40px #0f172a2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.slash-command-hint{margin:.15rem .45rem .4rem;font-size:.65rem;font-weight:600;color:var(--text-muted)}.slash-command-item{width:100%;display:flex;align-items:center;gap:.7rem;padding:.55rem .6rem;border-radius:.7rem;border:0;background:transparent;cursor:pointer;transition:background-color .12s ease}.slash-command-item.is-active,.slash-command-item:hover{background:var(--bg-hover)}.slash-command-icon{width:2rem;height:2rem;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:.55rem;border:1px solid var(--border);background:var(--bg-elevated);color:var(--text-secondary)}.slash-command-icon svg{width:1rem;height:1rem}.slash-command-item.is-active .slash-command-icon{border-color:color-mix(in srgb,var(--accent) 35%,var(--border));color:var(--accent);background:var(--accent-light)}.slash-command-empty{margin:.5rem .6rem .35rem;font-size:.75rem;color:var(--text-muted)}@media(max-width:640px){.rich-editor-wrapper{min-height:16rem}.rich-editor-wrapper .ql-toolbar.ql-snow{padding:.6rem!important}.editor-resize-handle{display:flex;min-height:2.1rem;padding:.35rem 1rem .9rem;color:color-mix(in srgb,var(--accent) 72%,#fff 28%)}.editor-resize-icon{width:1.05rem;height:1.05rem}.editor-resize-label{font-size:.72rem}}.ql-kanban{container-type:inline-size;margin:10px 0;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:normal}.ql-kanban .kb-grid{display:grid;grid-template-columns:var(--kb-cols,repeat(auto-fill,minmax(220px,1fr)));gap:10px;overflow-x:auto;padding-bottom:4px}@container (max-width: 520px){.ql-kanban .kb-grid{grid-template-columns:1fr;overflow-x:visible}.ql-kanban .kb-col-resize{display:none}}.ql-kanban .kb-col{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;padding:8px;border-radius:12px;border:1px solid var(--border);background:var(--bg-hover,hsla(0,0%,49.8%,.06));transition:border-color .15s,box-shadow .15s}.ql-kanban .kb-col.is-drop-target{border-color:#10b981;box-shadow:0 0 0 2px #10b98140}.ql-kanban .kb-col-head{display:flex;align-items:center;gap:6px}.ql-kanban .kb-col-title{flex:1;min-width:0;border:0;background:transparent;padding:2px 4px;border-radius:6px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--text-primary);outline:none}.ql-kanban .kb-col-count,.ql-kanban .kb-col-title:focus{background:var(--bg-card)}.ql-kanban .kb-col-count{font-size:11px;font-weight:600;color:var(--text-muted);padding:0 6px;border-radius:999px}.ql-kanban .kb-cards{display:flex;flex-direction:column;gap:6px;min-height:8px}.ql-kanban .kb-card{position:relative;display:flex;align-items:flex-start;gap:4px;padding:6px 6px 6px 8px;border-radius:9px;border:1px solid var(--border);background:var(--bg-card);box-shadow:0 1px 2px #0000000f;cursor:grab}.ql-kanban .kb-card.is-dragging{opacity:.45}.ql-kanban .kb-card-text{flex:1;min-width:0;resize:none;overflow:hidden;border:0;background:transparent;padding:2px 0;font:inherit;font-size:13px;line-height:1.4;color:var(--text-primary);outline:none;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ql-kanban .kb-card-actions{display:flex;gap:1px;opacity:0;transition:opacity .15s}.ql-kanban .kb-card:focus-within .kb-card-actions,.ql-kanban .kb-card:hover .kb-card-actions{opacity:1}@media(hover:none){.ql-kanban .kb-card-actions{opacity:1}}.ql-kanban .kb-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;color:var(--text-muted);background:transparent;border:0;cursor:pointer}.ql-kanban .kb-icon-btn svg{width:14px;height:14px}.ql-kanban .kb-icon-btn:hover{background:var(--bg-hover,hsla(0,0%,49.8%,.12));color:var(--text-primary)}.ql-kanban .kb-card-del:hover,.ql-kanban .kb-col-del:hover{color:#ef4444}.ql-kanban .kb-add-card,.ql-kanban .kb-add-col{border:1px dashed var(--border);border-radius:9px;background:transparent;color:var(--text-muted);font-size:12px;font-weight:600;padding:6px;cursor:pointer}.ql-kanban .kb-add-card:hover,.ql-kanban .kb-add-col:hover{color:#10b981;border-color:#10b981}.ql-kanban .kb-add-col{min-height:40px;align-self:start}.note-line-grip{position:absolute;z-index:5;width:16px;height:18px;align-items:center;justify-content:center;border-radius:4px;color:var(--text-muted);cursor:grab;opacity:.7}.note-line-grip:hover{opacity:1;color:#10b981;background:var(--bg-hover,hsla(0,0%,49.8%,.12))}.note-line-grip svg{width:14px;height:14px;pointer-events:none}.ql-editor>.note-line-dragging{opacity:.4}.note-line-drag-ghost{position:fixed;top:-100px;left:-100px;padding:4px 10px;border-radius:8px;background:#10b981;color:#fff;font-size:12px;font-weight:700}.ql-kanban .kb-card-check{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-top:3px;padding:0;border-radius:4px;border:1.5px solid var(--text-muted);background:transparent;color:transparent;cursor:pointer;transition:all .15s}.ql-kanban .kb-card-check svg{width:11px;height:11px}.ql-kanban .kb-card-check:hover{border-color:#10b981;color:#10b98180}.ql-kanban .kb-card-check.is-checked{background:#10b981;border-color:#10b981;color:#fff}.ql-kanban .kb-card.is-done .kb-card-text{text-decoration:line-through;color:var(--text-muted)}.ql-kanban .kb-col-done{opacity:.45}.ql-kanban .kb-col-done:hover{opacity:1;color:#10b981}.ql-kanban .kb-col-done.is-active{opacity:1;color:#10b981;cursor:default}.ql-kanban .is-done-col{border-color:#10b98159}.ql-kanban .kb-col-resize{position:absolute;top:8px;bottom:8px;right:-6px;width:8px;border-radius:4px;cursor:col-resize;touch-action:none;z-index:2}.ql-kanban .kb-col-resize:after{content:"";position:absolute;top:0;bottom:0;left:3px;width:2px;border-radius:2px;background:transparent;transition:background .15s}.ql-kanban .kb-col-resize:hover:after,.ql-kanban .kb-col.is-resizing .kb-col-resize:after{background:#10b981}.ql-kanban .kb-col.is-resizing{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ql-kanban .kb-add-col{padding:6px 14px;white-space:nowrap}
