.tiptap-editor-container{border:1px solid #dcdfe6;border-radius:4px;overflow:hidden;position:relative}.tiptap-editor-container.is-readonly .editor-toolbar,.tiptap-editor-container.is-readonly .toolbar{display:none}.tiptap-editor-container.is-fullscreen{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999;background-color:#fff;color:#333;display:flex;flex-direction:column;border:none;border-radius:0}.tiptap-editor-container.is-fullscreen .editor-content{flex:1;overflow:hidden}.tiptap-editor-container.is-fullscreen .editor-content .ProseMirror{height:100%;max-height:none!important;border:none;background-color:#fff;color:#333}.tiptap-editor-container.is-fullscreen .editor-content .html-source-textarea{height:100%;max-height:none!important}.tiptap-editor-container .editor-toolbar,.tiptap-editor-container .toolbar{border-bottom:1px solid #dcdfe6;padding:5px;background-color:#f5f7fa;display:flex;flex-wrap:wrap;gap:5px}.tiptap-editor-container .editor-content .ProseMirror,.tiptap-editor-container .html-source-textarea{display:block;box-sizing:border-box;min-height:150px;max-height:500px;line-height:1.5;color:#333;outline:0}.tiptap-editor-container .editor-content .ProseMirror{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;padding:10px 10px 34px;overflow-y:auto}.tiptap-editor-container .editor-content .ProseMirror p{margin:0 0 10px}.tiptap-editor-container .editor-content .ProseMirror ol,.tiptap-editor-container .editor-content .ProseMirror ul{margin:0 0 10px 20px;padding:0}.tiptap-editor-container .editor-content .ProseMirror ul{list-style-type:disc}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open],.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]{list-style-type:none}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-dash]>li::before{content:'-';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-circle-open]>li::before{content:'○';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-square-open]>li::before{content:'□';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]>li{position:relative}.tiptap-editor-container .editor-content .ProseMirror ul[class=list-box]>li::before{content:'☐';position:absolute;left:-1em}.tiptap-editor-container .editor-content .ProseMirror ol{list-style-type:decimal}.tiptap-editor-container .editor-content .ProseMirror h1,.tiptap-editor-container .editor-content .ProseMirror h2,.tiptap-editor-container .editor-content .ProseMirror h3,.tiptap-editor-container .editor-content .ProseMirror h4,.tiptap-editor-container .editor-content .ProseMirror h5,.tiptap-editor-container .editor-content .ProseMirror h6{margin:0 0 10px;font-weight:600}.tiptap-editor-container .editor-content .ProseMirror h1{font-size:24px}.tiptap-editor-container .editor-content .ProseMirror h2{font-size:20px}.tiptap-editor-container .editor-content .ProseMirror h3{font-size:18px}.tiptap-editor-container .editor-content .ProseMirror h4{font-size:16px}.tiptap-editor-container .editor-content .ProseMirror blockquote{border-left:3px solid #ccc;margin-left:0;padding-left:1em;color:#666}.tiptap-editor-container .editor-content .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0 0 10px;overflow:hidden}.tiptap-editor-container .editor-content .ProseMirror table td,.tiptap-editor-container .editor-content .ProseMirror table th{min-width:1em;border:1px solid #ced4da;padding:3px 5px;vertical-align:top;box-sizing:border-box;position:relative}.tiptap-editor-container .editor-content .ProseMirror table th{font-weight:700;text-align:left;background-color:#f1f3f5}.tiptap-editor-container .editor-content .ProseMirror table .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:rgba(200,200,255,.4);pointer-events:none}.tiptap-editor-container .editor-content .ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background-color:#adf;pointer-events:none}.tiptap-editor-container .editor-content .ProseMirror code{background-color:#f1f3f5;padding:2px 4px;border-radius:3px;font-family:'Courier New',Courier,monospace;font-size:12px}.tiptap-editor-container .editor-content .ProseMirror a{color:#409eff;text-decoration:none}.tiptap-editor-container .editor-content .ProseMirror a:hover{text-decoration:underline}.tiptap-editor-container .editor-content .ProseMirror .task-list-item{list-style-type:none}.tiptap-editor-container .editor-content .ProseMirror .task-list-item input[type=checkbox]{margin-right:8px}.tiptap-editor-container .editor-content .ProseMirror img{max-width:100%;height:auto}.tiptap-editor-container .editor-content .ProseMirror p.is-editor-empty:first-child::before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.tiptap-editor-container .html-source-textarea{width:100%;padding:10px 10px 34px;overflow-y:auto;resize:none;border:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;font-size:12px;background-color:#fff}.tiptap-editor-container .editor-char-count{position:absolute;right:10px;bottom:8px;font-size:12px;color:#909399;user-select:none;line-height:1;padding:2px 4px;background:rgba(255,255,255,.9);border-radius:2px;pointer-events:none;white-space:nowrap}.dropdown-wrapper,.upload-container{position:relative}.ml-2{margin-left:8px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;padding:8px;border-bottom:1px solid #e0e0e0;background-color:#fff;gap:4px}.upload-container{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;overflow:hidden;padding:20px;transition:border-color .3s}.upload-container:hover{border-color:#409EFF}.toolbar-group{display:flex;align-items:center;gap:2px}.toolbar-separator{width:1px;height:20px;background-color:#e0e0e0;margin:0 8px}.toolbar-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:0 0;border-radius:4px;cursor:pointer;color:#333;font-size:14px;transition:background-color .2s}.dropdown-trigger,.toolbar-btn.toolbar-html-toggle{width:auto;padding:0 8px;gap:4px}.toolbar-btn:hover{background-color:#f0f0f0}.toolbar-btn.is-active{background-color:#e8f0fe;color:#1a73e8}.toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.toolbar-html-label{font-size:12px}.dropdown-menu{position:absolute;top:100%;left:0;background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);z-index:1000;min-width:150px;padding:4px 0}.color-picker-menu{width:210px;padding:10px}.color-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:10px}.color-item{width:30px;height:30px;border-radius:50%;cursor:pointer;border:1px solid #ddd;transition:transform .1s}.color-item:hover{transform:scale(1.1);border-color:#999}.color-item.is-selected{border:2px solid #409EFF}.remove-color{display:flex;align-items:center;justify-content:center;background-color:#f5f5f5;color:#666;font-size:14px}.hex-input-wrapper{display:flex;gap:5px}.hex-input-wrapper input{flex:1;padding:4px 8px;border:1px solid #dcdfe6;border-radius:4px;font-size:12px;outline:0}.hex-input-wrapper input:focus{border-color:#409EFF}.hex-input-wrapper button{padding:4px 10px;background-color:#fff;border:1px solid #dcdfe6;border-radius:4px;cursor:pointer;font-size:12px}.hex-input-wrapper button:hover{color:#409EFF;border-color:#c6e2ff;background-color:#ecf5ff}.dropdown-item{padding:6px 12px;cursor:pointer;font-size:14px}.dropdown-item:hover{background-color:#f5f5f5}.dropdown-item.is-active{color:#1a73e8;background-color:#e8f0fe}