.tt-editor{background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:8px;transition:border-color .2s,box-shadow .2s;position:relative}.tt-editor:focus-within:not(.is-readonly){border-color:var(--el-color-primary);box-shadow:0 0 0 3px var(--el-color-primary-light-9)}.tt-editor.is-readonly{background:var(--el-fill-color-lighter)}.tt-editor:not(.is-readonly) video{pointer-events:none}.tt-editor .tt-toolbar{background:var(--el-fill-color-lighter);border-bottom:1px solid var(--el-border-color-lighter);border-radius:8px 8px 0 0;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;display:flex}.tt-editor .tt-select{width:84px;margin-right:4px}.tt-editor .tt-select.tt-select--sm{width:76px}.tt-editor .tt-btn{min-width:28px;height:28px;color:var(--el-text-color-regular);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0 6px;transition:background .15s,color .15s;display:inline-flex}.tt-editor .tt-btn:hover{background:var(--el-fill-color)}.tt-editor .tt-btn.on{color:var(--el-color-primary);background:var(--el-color-primary-light-9)}.tt-editor .tt-btn:disabled{cursor:not-allowed;opacity:.35}.tt-editor .tt-btn.tt-btn--text{font-size:12px}.tt-editor .tt-sep{background:var(--el-border-color);width:1px;height:16px;margin:0 6px}.tt-editor .tt-sizebar{z-index:3;background:#000000b8;border-radius:6px;gap:2px;padding:3px;display:flex;position:absolute}.tt-editor .tt-sizebar button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:2px 8px;font-size:12px}.tt-editor .tt-sizebar button:hover{background:#fff3}.tt-editor .tt-sizebar button.on{color:#303133;background:#fff}.tt-editor .tt-grid{-webkit-user-select:none;user-select:none}.tt-editor .tt-grid .tt-grid__row{gap:3px;margin-bottom:3px;display:flex}.tt-editor .tt-grid .tt-grid__cell{cursor:pointer;border:1px solid var(--el-border-color);border-radius:3px;width:20px;height:20px}.tt-editor .tt-grid .tt-grid__cell.on{background:var(--el-color-primary-light-7);border-color:var(--el-color-primary)}.tt-editor .tt-grid .tt-grid__tip{color:var(--el-text-color-secondary);text-align:center;margin-top:6px;font-size:12px}.tt-editor .tt-tbl-pos,.tt-editor .tt-tbl-plus{z-index:3;position:absolute}.tt-editor .tt-tbl-handle,.tt-editor .tt-tbl-plus{width:22px;height:20px;color:var(--el-text-color-secondary);cursor:pointer;background:var(--el-bg-color);border:1px solid var(--el-border-color);border-radius:5px;justify-content:center;align-items:center;padding:0;font-size:14px;line-height:1;transition:color .15s,background .15s,border-color .15s;display:flex}.tt-editor .tt-tbl-handle:hover,.tt-editor .tt-tbl-plus:hover{color:#fff;background:var(--el-color-primary);border-color:var(--el-color-primary)}.tt-editor .tt-progress{z-index:2;position:absolute;left:0;right:0}.tt-editor .tt-content{border-radius:0 0 8px 8px;overflow-y:auto}.tt-editor .tt-content .ProseMirror{min-height:100%;color:var(--el-text-color-primary);outline:none;padding:20px 32px 20px 30px;line-height:1.7}.tt-editor .tt-content .ProseMirror p{margin:0 0 8px}.tt-editor .tt-content .ProseMirror p.is-editor-empty:first-child:before{float:left;height:0;color:var(--el-text-color-placeholder);pointer-events:none;content:attr(data-placeholder)}.tt-editor .tt-content .ProseMirror img,.tt-editor .tt-content .ProseMirror video{border-radius:6px;max-width:100%}.tt-editor .tt-content .ProseMirror img.ProseMirror-selectednode,.tt-editor .tt-content .ProseMirror video.ProseMirror-selectednode{outline:2px solid var(--el-color-primary)}.tt-editor .tt-content .ProseMirror a[data-type=file-card]:hover{border-color:var(--el-color-primary)!important}.tt-editor .tt-content .ProseMirror a{color:var(--el-color-primary);cursor:pointer;text-decoration:underline}.tt-editor .tt-content .ProseMirror mark{border-radius:2px}.tt-editor .tt-content .ProseMirror blockquote{color:var(--el-text-color-regular);border-left:3px solid var(--el-color-primary-light-5);margin:8px 0;padding:2px 12px}.tt-editor .tt-content .ProseMirror pre{background:var(--el-fill-color-light);border-radius:6px;padding:10px 12px;overflow-x:auto}.tt-editor .tt-content .ProseMirror code{font-family:ui-monospace,Menlo,Consolas,monospace}.tt-editor .tt-content .ProseMirror ul{padding-left:24px;list-style:outside}.tt-editor .tt-content .ProseMirror ol{padding-left:24px;list-style:decimal}.tt-editor .tt-content .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:8px 0}.tt-editor .tt-content .ProseMirror table td,.tt-editor .tt-content .ProseMirror table th{vertical-align:top;border:1px solid var(--el-border-color);padding:6px 10px;position:relative}.tt-editor .tt-content .ProseMirror table th{background:var(--el-fill-color-light);font-weight:600}.tt-editor .tt-content .ProseMirror table .selectedCell{background:var(--el-color-primary-light-9)}.tt-editor .tt-content .ProseMirror table .column-resize-handle{pointer-events:none;background:var(--el-color-primary);width:4px;position:absolute;top:0;bottom:0;right:-2px}.tt-editor .tt-content .ProseMirror h1{font-size:1.6em}.tt-editor .tt-content .ProseMirror h2{font-size:1.35em}.tt-editor .tt-content .ProseMirror h3{font-size:1.15em}.tt-editor .tt-content .ProseMirror h1,.tt-editor .tt-content .ProseMirror h2,.tt-editor .tt-content .ProseMirror h3{margin:12px 0 8px;font-weight:600}
