.editor{position:relative;border:1px solid #c4ccd6;border-radius:8px;background:#fff;overflow:hidden}.editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;background:#f7f9fc;border-bottom:1px solid #e2e7ee}.ed-sep{width:1px;align-self:stretch;margin:4px 6px;background:#d7deea}.ed-toolbar-spacer{flex:1 1 auto}.ed-btn{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 5px;border:0;border-radius:6px;background:0 0;color:#3a4658;font-size:15px;cursor:pointer;transition:background .12s ease,color .12s ease}.ed-btn:hover{background:#d4c7a1}.ed-btn.is-active{background:#cdb36c;color:#fff}.ed-btn:focus{outline:0;box-shadow:0 0 0 2px rgba(27,86,176,.25)}.ed-btn.disabled{opacity:.3;pointer-events:none;cursor:default}.ed-dd{position:relative;display:inline-flex}.ed-dd-caret{font-size:11px;margin-left:4px}.ed-dd-menu{position:absolute;top:100%;left:0;z-index:50;display:none;min-width:180px;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid #d7deea;border-radius:8px;box-shadow:0 8px 24px rgba(22,40,70,.14)}.ed-dd.is-open .ed-dd-menu{display:block}.ed-dd.ed-dd-flip .ed-dd-menu{left:auto;right:0}.ed-dd-item{position:relative;display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:6px;color:#2c3a50;font-size:14px;cursor:pointer}.ed-dd-item:hover{background:#eef3fb}.ed-dd-item i{width:18px;text-align:center;color:#5a6b82}.ed-dd-item.is-active{font-weight:700;color:#a78a39}.ed-dd-item.is-active i{color:#a78a39}.ed-dd-arrow{margin-left:auto;font-size:11px}.ed-dd-flyout{position:absolute;top:0;left:100%;z-index:51;display:none;margin:0;padding:6px;list-style:none;background:#fff;border-radius:8px;box-shadow:0 8px 24px rgba(22,40,70,.14)}.ed-dd-parent:hover>.ed-dd-flyout{display:block}.ed-dd-parent:hover>.ed-dd-flyout-swatches{display:grid;grid-template-columns:repeat(6,20px);gap:0}.ed-dd-parent.ed-dd-flyout-left>.ed-dd-flyout{left:auto;right:100%}.ed-dd-swatch{width:20px;height:20px;border-radius:0;cursor:pointer;box-sizing:border-box}.ed-dd-swatch:hover{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--sw,rgba(27,86,176,.4));position:relative;z-index:1}.editor-surface{min-height:440px;max-height:70vh;overflow-y:auto;padding:14px 16px;font-size:15px;line-height:1.6;color:#1f2a3a;outline:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.editor-surface:focus{box-shadow:inset 0 0 0 2px rgba(27,86,176,.12)}.editor-surface.is-empty::before{content:attr(data-placeholder);color:#a0acbd;pointer-events:none}.editor-surface p{margin:0 0 .8em}.editor-surface h2{font-size:1.6em;margin:.6em 0 .4em}.editor-surface h3{font-size:1.35em;margin:.6em 0 .4em}.editor-surface h4{font-size:1.2em;margin:.6em 0 .4em}.editor-surface h5{font-size:1.05em;margin:.6em 0 .4em}.editor-surface h6{font-size:.95em;text-transform:uppercase;letter-spacing:.03em;margin:.6em 0 .4em}.editor-surface blockquote{margin:.6em 0;padding:.4em 1em;border-left:3px solid #c4ccd6;color:#4a5868}.editor-surface ol,.editor-surface ul{margin:0 0 .8em;padding-left:1.5em}.editor-surface a{color:#cdb36c;text-decoration:underline}.editor-surface img{max-width:100%;height:auto;cursor:pointer}.editor-uploader{display:none}.editor-surface .ed-uploading{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;margin:2px 0;vertical-align:middle;background:#f4ede0;border:1px dashed #c4ccd6;border-radius:6px;color:#5a6b82;font-size:13px;user-select:none}.editor-surface .ed-uploading::before{content:'';width:14px;height:14px;border:2px solid #cdb36c;border-top-color:transparent;border-radius:50%;animation:ed-spin .7s linear infinite}.editor-surface .ed-uploading::after{content:'Uploading…'}@keyframes ed-spin{to{transform:rotate(360deg)}}.ed-vo-poster img{max-width:100%;height:auto;display:block;margin-bottom:8px;border-radius:6px}.ed-img-overlay{position:absolute;z-index:30;border:1.5px solid #cdb36c;box-sizing:border-box;pointer-events:none}.ed-img-overlay[hidden]{display:none}.ed-img-handle{position:absolute;width:12px;height:12px;background:#fff;border:1.5px solid #cdb36c;border-radius:2px;box-sizing:border-box;pointer-events:auto}.ed-img-handle-nw{left:-6px;top:-6px;cursor:nwse-resize}.ed-img-handle-ne{right:-6px;top:-6px;cursor:nesw-resize}.ed-img-handle-sw{left:-6px;bottom:-6px;cursor:nesw-resize}.ed-img-handle-se{right:-6px;bottom:-6px;cursor:nwse-resize}.ed-img-cog{position:absolute;right:10px;top:10px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:0;background:0 0;color:#cdb36c;pointer-events:auto;font-size:21px}.ed-img-cog:hover{color:#b89f5d}#editorFileModal{z-index:9000}.ed-fmwrap{min-height:40vh}.ed-fmwrap .fm-file{cursor:pointer}.fm-pick .fm-bulk,.fm-pick .fm-check{display:none!important}.ed-tg-grid{display:grid;grid-template-columns:repeat(10,22px);gap:2px;justify-content:center;padding:4px 0}.ed-tg-cell{width:22px;height:22px;border:1px solid #d7deea;border-radius:2px;cursor:pointer}.ed-tg-cell.on{background:#cdb36c;border-color:#b89f5d}.ed-tg-label{text-align:center;margin-top:8px;color:#5a6b82;font-size:13px}.editor-surface .ed-tpl{outline:1px dashed #c4ccd6;border-radius:6px;padding:6px;margin:.6em 0}.editor-surface .ed-tpl .col{outline:1px dashed #e2e7ee;border-radius:4px;min-height:2.4em}.ed-tg-grid.ed-tg-12{grid-template-columns:repeat(12,22px)}.ed-table-ctx,.ed-tpl-ctx{position:absolute;z-index:31;display:flex;align-items:center;gap:2px;padding:3px 4px;background:#2c3a50;border-radius:6px;box-shadow:0 4px 14px rgba(22,40,70,.25)}.ed-table-ctx[hidden],.ed-tpl-ctx[hidden]{display:none}.ed-table-ctx button,.ed-tpl-ctx button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;background:0 0;color:#e7edf6;font-size:13px;cursor:pointer}.ed-table-ctx button:hover,.ed-tpl-ctx button:hover{background:rgba(255,255,255,.15)}.ed-table-ctx-sep{width:1px;height:18px;margin:0 3px;background:rgba(255,255,255,.25)}.ed-code{display:flex;min-height:220px;max-height:70vh;background:#1e2430}.ed-code[hidden]{display:none}.ed-code-gutter{flex:0 0 auto;min-width:40px;padding:12px 8px 12px 0;text-align:right;color:#6b7890;background:#181d27;font:13px/1.55 ui-monospace,Menlo,Consolas,monospace;white-space:pre;overflow:hidden;user-select:none}.ed-code-area{position:relative;flex:1 1 auto;overflow:hidden}.ed-code-hl,.ed-code-input{position:absolute;inset:0;margin:0;padding:12px;border:0;font:13px/1.55 ui-monospace,Menlo,Consolas,monospace;white-space:pre;overflow:auto;box-sizing:border-box;tab-size:2}.ed-code-hl{pointer-events:none;color:#cdd3df}.ed-code-hl code{font:inherit;white-space:pre}.ed-code-input{background:0 0;color:transparent;caret-color:#fff;resize:none;outline:0}.ed-code .t-tag{color:#7cc7ff}.ed-code .t-attr{color:#c8a36a}.ed-code .t-str{color:#9ece6a}.ed-code .t-pun{color:#7a869c}.ed-code .t-com{color:#5a6b82;font-style:italic}.editor-fullscreen .ed-code{flex:1 1 auto;max-height:none}.editor-source-mode .ed-btn,.editor-source-mode .ed-dd{opacity:.4;pointer-events:none}.editor-source-mode .ed-toolbar-spacer~.ed-btn{opacity:1;pointer-events:auto}.editor.editor-fullscreen{position:fixed;inset:0;z-index:2000;margin:0;border-radius:0;display:flex;flex-direction:column}.editor.editor-fullscreen .editor-surface{flex:1 1 auto;max-height:none}body.editor-fs-lock{overflow:hidden}