.redmine-tiptap-editor .redmine-collapse{border:1px dashed #d0d3d7;border-radius:6px;flex-direction:column;align-items:flex-start;margin:.5em 0;display:flex}.redmine-tiptap-editor .redmine-collapse-header{color:#169;flex-shrink:0;align-self:stretch;align-items:center;gap:4px;padding:6px 10px;display:flex}.redmine-tiptap-editor .redmine-collapse-header:hover :not(:empty){color:#c61a1a;text-decoration:underline}.redmine-tiptap-editor .redmine-collapse-header .redmine-collapse-toggle{cursor:pointer;color:inherit;-webkit-user-select:none;user-select:none;background:0 0;border:none;padding:0;transition:transform .15s;transform:rotate(-90deg)}.redmine-tiptap-editor .redmine-collapse-header .redmine-collapse-toggle svg{fill:none;stroke:currentColor;stroke-width:1.5px;width:1.125rem;height:1.125rem}.redmine-tiptap-editor .redmine-collapse-header [data-collapse-title]{border:none;flex:1}.redmine-tiptap-editor .redmine-collapse-header [data-collapse-title]:focus{outline:none}.redmine-tiptap-editor .redmine-collapse-header [data-collapse-title]:empty:before{content:"Title (optional)";opacity:.5;pointer-events:none;color:#444;font-weight:400}.redmine-tiptap-editor .redmine-collapse-header:hover [data-collapse-title]:empty:before{text-decoration:none!important}.redmine-tiptap-editor .redmine-collapse-content{flex:1;min-width:0;display:none}.redmine-tiptap-editor .redmine-collapse.is-open .redmine-collapse-toggle{transform:rotate(0)}.redmine-tiptap-editor .redmine-collapse.is-open .redmine-collapse-content{padding-inline:12px;display:block}::slotted(textarea){background:#f6f8fa;flex:1;min-height:300px;padding:12px 16px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:13px;line-height:1.6;display:none;width:unset!important;resize:vertical!important;color:#1f2328!important;box-sizing:border-box!important;border:none!important;outline:none!important}.is-source-mode ::slotted(textarea){display:block}.redmine-tiptap-editor{background:#fff;border:1px solid #d7d7d7;border-radius:4px;width:100%;margin-bottom:10px;display:block}.redmine-tiptap-editor .tiptap-editor-container{position:relative}.redmine-tiptap-editor .tiptap-editor-body{min-height:300px;display:flex}.redmine-tiptap-editor .tiptap-editor-wrapper{flex-direction:column;flex:1;min-width:0;display:flex}.redmine-tiptap-editor .tiptap-editor-wrapper.hidden{display:none}.redmine-tiptap-editor .tiptap-preview-pane{background:#fafafa;flex-direction:column;flex:1;min-width:0;display:flex;position:relative;overflow:hidden}.redmine-tiptap-editor .tiptap-editor-wrapper:not(.hidden)+.tiptap-preview-pane{border-left:1px solid #d7d7d7}.redmine-tiptap-editor .tiptap-preview-loading-bar{background:linear-gradient(90deg,#0969da 0%,#54aeff 50%,#0969da 100%) 0 0/200% 100%;height:2px;animation:1.2s linear infinite tiptap-preview-shimmer;position:absolute;top:0;left:0;right:0}.redmine-tiptap-editor .empty-preview{color:#aaa;font-style:italic}.redmine-tiptap-editor .tiptap-editor{min-height:300px;max-height:70vh;padding:0;overflow-y:auto}.redmine-tiptap-editor .tiptap-editor .tiptap{padding:12px 16px;outline:none;min-height:280px;padding-left:32px;font-size:14px;line-height:1.6}.redmine-tiptap-editor .tiptap-editor .tiptap:focus{outline:none}.redmine-tiptap-editor .tiptap-editor .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0;font-style:italic}.redmine-tiptap-editor .tiptap-editor .tiptap img.ProseMirror-selectednode,.redmine-tiptap-editor .tiptap-editor .tiptap .ProseMirror-selectednode [data-resize-wrapper]{border-radius:2px;outline:3px solid #0969da}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle]{z-index:10;background:#00000080;border:1px solid #fffc;border-radius:2px;position:absolute}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle]:hover{background:#000c}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=top-left],.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=top-right],.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=bottom-left],.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=bottom-right]{width:8px;height:8px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=top-left]{cursor:nwse-resize;top:-4px;left:-4px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=top-right]{cursor:nesw-resize;top:-4px;right:-4px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=bottom-left]{cursor:nesw-resize;bottom:-4px;left:-4px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=bottom-right]{cursor:nwse-resize;bottom:-4px;right:-4px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=top],.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=bottom]{height:6px;left:8px;right:8px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=top]{cursor:ns-resize;top:-3px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=bottom]{cursor:ns-resize;bottom:-3px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=left],.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=right]{width:6px;top:8px;bottom:8px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=left]{cursor:ew-resize;left:-3px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-handle][data-resize-handle=right]{cursor:ew-resize;right:-3px}.redmine-tiptap-editor .tiptap-editor .tiptap [data-resize-state=true] [data-resize-wrapper]{border-radius:.125rem;outline:1px solid #00000040}.redmine-tiptap-editor .tiptap-editor .custom-drag-handle{cursor:grab;z-index:50;color:#333;border-radius:4px;justify-content:center;align-items:center;width:20px;height:24px;display:flex}.redmine-tiptap-editor .tiptap-editor .custom-drag-handle:hover{background-color:#e8e8e8;border-color:#ccc}.redmine-tiptap-editor .tiptap-editor .custom-drag-handle:after{content:"⠿";color:#666}.redmine-tiptap-editor h1{border-bottom:1px solid #eee;margin:.8em 0 .4em;padding-bottom:.2em;font-size:1.8em;font-weight:700}.redmine-tiptap-editor h2{margin:.7em 0 .3em;font-size:1.5em;font-weight:600}.redmine-tiptap-editor h3{margin:.6em 0 .3em;font-size:1.25em;font-weight:600}.redmine-tiptap-editor h4{margin:.5em 0 .2em;font-size:1.1em;font-weight:600}.redmine-tiptap-editor p{margin:.5em 0}.redmine-tiptap-editor strong{font-weight:700}.redmine-tiptap-editor em{font-style:italic}.redmine-tiptap-editor s{text-decoration:line-through}.redmine-tiptap-editor code{color:#c7254e;background:#f0f0f0;border-radius:3px;padding:.15em .3em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:.9em}.redmine-tiptap-editor pre{color:#abb2bf;background:#282c34;border-radius:6px;margin:.8em 0;padding:12px 16px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:13px;line-height:1.5;display:block;overflow-x:auto}.redmine-tiptap-editor pre code{color:inherit;font-size:inherit;background:0 0;border-radius:0;padding:0}.redmine-tiptap-editor blockquote{color:#656d76;border-left:4px solid #d0d7de;margin:.8em 0;padding:.2em 0}.redmine-tiptap-editor blockquote>*{margin-left:16px}.redmine-tiptap-editor ul,.redmine-tiptap-editor ol{margin:.5em 0;padding-left:24px}.redmine-tiptap-editor li{margin:.2em 0}.redmine-tiptap-editor ul[data-type=taskList]{padding-left:4px;list-style:none}.redmine-tiptap-editor ul[data-type=taskList] li{justify-self:center;align-items:flex-start;gap:8px;display:flex}.redmine-tiptap-editor ul[data-type=taskList] li label{flex-shrink:0}.redmine-tiptap-editor ul[data-type=taskList] li>div{flex:1}.redmine-tiptap-editor ul[data-type=taskList] li>div>p:first-child{margin-top:0}.redmine-tiptap-editor .tiptap a{color:#0969da;cursor:pointer;text-decoration:underline}.redmine-tiptap-editor .tiptap a:hover{color:#0550ae}.redmine-tiptap-editor table{border-collapse:collapse;width:100%;margin:.8em 0;overflow:hidden}.redmine-tiptap-editor table td,.redmine-tiptap-editor table th{vertical-align:top;border:1px solid #d0d7de;min-width:50px;padding:6px 10px;position:relative}.redmine-tiptap-editor table th{background:#f6f8fa;font-weight:600}.redmine-tiptap-editor table .selectedCell{background:#dbeafe}.redmine-tiptap-editor .column-resize-handle{cursor:col-resize;z-index:10;background:#0969da;width:4px;position:absolute;top:0;bottom:0;right:-2px}.redmine-tiptap-editor hr{border:none;border-top:2px solid #d0d7de;margin:1.5em 0}.redmine-tiptap-editor .redmine-macro-pill{color:#0969da;white-space:nowrap;vertical-align:baseline;cursor:default;-webkit-user-select:none;user-select:none;background:#e8eaed;border:1px solid #d0d3d7;border-radius:8px;padding:1px 8px;font-family:SFMono-Regular,Consolas,monospace;font-size:.85em;display:inline-block}.redmine-tiptap-editor .issue-ref-node{color:#0969da;cursor:default;display:inline}.redmine-tiptap-editor .user-mention-node{cursor:default;color:#169;cursor:pointer;background-color:#def;border-radius:.1em;padding:.1em;display:inline}.redmine-tiptap-editor .user-mention-node:hover{text-decoration:underline}.redmine-tiptap-editor .resource-ref-node{color:#444;cursor:default;-webkit-user-select:none;user-select:none;background:#f0f4f8;border:1px solid #c9d3dc;border-radius:4px;padding:0 5px;font-family:SFMono-Regular,Consolas,monospace;font-size:.85em;display:inline-block}.redmine-tiptap-editor .wiki-link-node{color:#0969da;display:inline}.redmine-tiptap-editor .wiki-link-node.ProseMirror-selectednode{outline-offset:1px;outline:2px solid #0969da}@keyframes tiptap-preview-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.redmine-tiptap-editor.is-fullscreen{z-index:9000;border-radius:0;flex-direction:column;width:100vw;height:100vh;margin:0;display:flex;position:fixed;inset:0}.redmine-tiptap-editor.is-fullscreen .tiptap-editor-body{flex:1;overflow:hidden}.redmine-tiptap-editor.is-fullscreen .tiptap-editor{height:100%;max-height:none}.redmine-tiptap-editor.is-fullscreen .is-source-mode ::slotted(textarea){resize:none;flex:1;height:100%;min-height:0}.redmine-tiptap-editor.is-fullscreen .tiptap-preview-pane{height:100%;overflow-y:auto}.tiptap-toolbar{--toolbar-item-color:#333;--toolbar-item-bg-hover:#e8e8e8;--toolbar-item-border:#ccc;--toolbar-item-active-bg:#d0d7de;--toolbar-item-active-border:#b0b8c0;background:#fff;border-bottom:1px solid #d7d7d7;border-radius:4px 4px 0 0;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;display:flex}.tiptap-toolbar .tiptap-toolbar-group{gap:1px;display:flex}.tiptap-toolbar .tiptap-toolbar-group:not(:last-child){border-right:1px solid #ddd;margin-right:4px;padding-right:6px}.tiptap-toolbar .tiptap-btn,.tiptap-toolbar .tiptap-select{min-width:28px;height:28px;color:var(--toolbar-item-color);background-color:#0000;border:1px solid #0000;border-radius:3px;justify-content:center;align-items:center;padding:2px 6px;font-family:inherit;font-size:13px;line-height:1;transition:background-color .15s,border-color .15s;display:inline-flex}:is(.tiptap-toolbar .tiptap-btn,.tiptap-toolbar .tiptap-select):disabled{opacity:.4}:is(.tiptap-toolbar .tiptap-btn,.tiptap-toolbar .tiptap-select):not(:disabled):hover{background-color:var(--toolbar-item-bg-hover);cursor:pointer;border-color:var(--toolbar-item-border)}:is(.tiptap-toolbar .tiptap-btn,.tiptap-toolbar .tiptap-select).is-active{background-color:var(--toolbar-item-active-bg);border-color:var(--toolbar-item-active-border);color:var(--toolbar-item-color)}.macro-dropdown{position:relative}.macro-btn{anchor-name:--macro-btn}.macro-panel{visibility:hidden;pointer-events:none;opacity:0;position-anchor:--macro-btn;top:anchor(bottom);left:anchor(left);margin-top:3px;transition:opacity .1s,visibility .1s;position:fixed}@supports not (anchor-name:--x){.macro-panel{position:absolute;top:calc(100% + 3px);left:0}}.macro-panel{z-index:1000;background:#fff;border:1px solid #d0d3d7;border-radius:6px;flex-direction:column;gap:1px;min-width:200px;padding:4px;display:flex;box-shadow:0 4px 12px #0000001f}.macro-dropdown:focus-within .macro-panel{visibility:visible;pointer-events:all;opacity:1}.macro-item{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:4px;align-items:center;gap:10px;width:100%;padding:6px 10px;font-family:inherit;display:flex}.macro-item:hover{background:#f0f1f3}.macro-item-label{color:#0969da;min-width:64px;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:600}.macro-item-desc{color:#666;font-size:12px}.tiptap-link-bubble{pointer-events:none;z-index:100;display:block;position:absolute;inset:0}.tiptap-link-bubble .bubble{pointer-events:all;white-space:nowrap;background:#1f2328;border-radius:6px;align-items:center;gap:4px;padding:5px 8px;display:flex;position:absolute;box-shadow:0 4px 12px #00000040}.tiptap-link-bubble .bubble-url{color:#adbac7;text-overflow:ellipsis;max-width:220px;font-size:12px;text-decoration:none;overflow:hidden}.tiptap-link-bubble .bubble-url:hover{color:#fff;text-decoration:underline}.tiptap-link-bubble .bubble-sep{background:#444c56;flex-shrink:0;width:1px;height:14px}.tiptap-link-bubble .bubble-btn{cursor:pointer;color:#adbac7;background:0 0;border:none;border-radius:4px;padding:2px 4px;font-size:12px;font-weight:500}.tiptap-link-bubble .bubble-btn:hover{color:#fff;background:#2d333b}.tiptap-link-bubble .bubble-btn--danger:hover{color:#f47067}.tiptap-upload-overlay{pointer-events:none;z-index:50;display:none;position:absolute;inset:0}.tiptap-upload-overlay.is-active{display:block}.tiptap-upload-overlay .upload-overlay-inner{background:#0969da14;border:2px dashed #0969da;border-radius:4px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.tiptap-upload-overlay .upload-overlay-label{color:#0969da;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #0969da;border-radius:6px;padding:8px 16px;font-size:14px;font-weight:600;box-shadow:0 2px 8px #0000001f}dialog.tiptap-dialog{border:1px solid #d0d7de;border-radius:8px;width:380px;max-width:90vw;padding:20px;box-shadow:0 8px 24px #0000002e}dialog.tiptap-dialog[open]{flex-direction:column;gap:14px;display:flex}dialog.tiptap-dialog::backdrop{background:#00000059}dialog.tiptap-dialog .dialog-title{color:#1f2328;margin:0;font-size:15px;font-weight:600}dialog.tiptap-dialog .tabs{border-bottom:1px solid #d0d7de;gap:0;display:flex}dialog.tiptap-dialog .tab{cursor:pointer;color:#656d76;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:6px 14px;font-size:13px;font-weight:500}dialog.tiptap-dialog .tab.is-active{color:#0969da;border-bottom-color:#0969da}dialog.tiptap-dialog .tab-panel{flex-direction:column;gap:10px;display:flex}dialog.tiptap-dialog .file-drop-area{text-align:center;color:#656d76;cursor:pointer;border:2px dashed #d0d7de;border-radius:6px;padding:24px 16px;font-size:13px;transition:border-color .15s,background .15s}dialog.tiptap-dialog .file-drop-area:hover{color:#0969da;background:#0969da0a;border-color:#0969da}dialog.tiptap-dialog .file-drop-area input[type=file]{display:none}dialog.tiptap-dialog .url-input,dialog.tiptap-dialog .field-input{color:#1f2328;box-sizing:border-box;border:1px solid #d0d7de;border-radius:6px;outline:none;width:100%;padding:7px 10px;font-size:13px}:is(dialog.tiptap-dialog .url-input,dialog.tiptap-dialog .field-input):focus{border-color:#0969da;box-shadow:0 0 0 3px #0969da1f}dialog.tiptap-dialog .field{flex-direction:column;gap:4px;display:flex}dialog.tiptap-dialog .field-label{color:#656d76;font-size:12px;font-weight:500}dialog.tiptap-dialog .dialog-actions{justify-content:flex-end;gap:8px;display:flex}dialog.tiptap-dialog .btn{cursor:pointer;border:1px solid;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:500}dialog.tiptap-dialog .btn-cancel{color:#1f2328;background:#fff;border-color:#d0d7de;margin-right:auto}dialog.tiptap-dialog .btn-cancel:hover{background:#f6f8fa}dialog.tiptap-dialog .btn-danger{color:#cf222e;background:#fff;border-color:#d0d7de}dialog.tiptap-dialog .btn-danger:hover{background:#fff1f0;border-color:#cf222e}dialog.tiptap-dialog .btn-primary{color:#fff;background:#0969da;border-color:#0969da}dialog.tiptap-dialog .btn-primary:hover{background:#0550ae;border-color:#0550ae}dialog.tiptap-dialog .btn-primary:disabled{opacity:.5;cursor:not-allowed}.tiptap-suggestion-popup{position-anchor:--tiptap-suggestion-anchor;top:anchor(bottom);left:anchor(left);z-index:10000;background:#fff;border:1px solid #d0d7de;border-radius:6px;min-width:220px;max-width:380px;max-height:280px;margin:4px 0 0;padding:4px 0;position:fixed;overflow-y:auto;box-shadow:0 4px 12px #0000001f}.tiptap-suggestion-popup .suggestion-list{margin:0;padding:0;list-style:none}.tiptap-suggestion-popup .suggestion-item{cursor:pointer;color:#1f2328;flex-direction:column;padding:6px 12px;font-size:13px;display:flex}.tiptap-suggestion-popup .suggestion-item:hover,.tiptap-suggestion-popup .suggestion-item.is-selected{color:#0969da;background:#f0f6ff}.tiptap-suggestion-popup .suggestion-item .suggestion-item-primary{font-weight:500}.tiptap-suggestion-popup .suggestion-item .suggestion-item-secondary{color:#656d76;font-size:11px}.tiptap-issue-suggestion-anchor{pointer-events:none;anchor-name:--tiptap-suggestion-anchor;width:0;height:0;position:fixed}.tiptap-wiki-link-bubble{pointer-events:none;z-index:100;display:block;position:absolute;inset:0}.tiptap-wiki-link-bubble .bubble{pointer-events:all;white-space:nowrap;background:#1f2328;border-radius:6px;align-items:center;gap:4px;padding:5px 8px;display:flex;position:absolute;box-shadow:0 4px 12px #00000040}.tiptap-wiki-link-bubble .bubble-label{color:#79c0ff;text-overflow:ellipsis;max-width:220px;font-size:12px;overflow:hidden}.tiptap-wiki-link-bubble .bubble-sep{background:#444c56;flex-shrink:0;width:1px;height:14px}.tiptap-wiki-link-bubble .bubble-btn{cursor:pointer;color:#adbac7;background:0 0;border:none;border-radius:4px;padding:2px 4px;font-size:12px;font-weight:500}.tiptap-wiki-link-bubble .bubble-btn:hover{color:#fff;background:#2d333b}.tiptap-wiki-link-bubble .bubble-btn--danger:hover{color:#f47067}dialog.tiptap-dialog .wiki-link-search-wrapper{position:relative}dialog.tiptap-dialog .wiki-link-search-results{z-index:10;background:#fff;border:1px solid #d0d7de;border-radius:6px;max-height:200px;margin:2px 0 0;padding:4px 0;list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000001f}dialog.tiptap-dialog .wiki-link-search-item{cursor:pointer;color:#1f2328;padding:6px 12px;font-size:13px}dialog.tiptap-dialog .wiki-link-search-item:hover{color:#0969da;background:#f0f6ff}dialog.tiptap-dialog .field-label-optional{color:#8c959f;font-weight:400}
/*$vite$:1*/