.myeditor-root .myeditor-image-wrapper{position:relative;display:block;margin:1rem 0;max-width:100%;box-sizing:border-box}.myeditor-root .myeditor-image-wrapper--center{float:none;display:block;margin:1rem auto}.myeditor-root .myeditor-image-wrapper--none{float:none;display:block;margin:1rem 0}.myeditor-root .myeditor-image-wrapper--left{float:left;margin:0 1rem 1rem 0}.myeditor-root .myeditor-image-wrapper--right{float:right;margin:0 0 1rem 1rem}.myeditor-root .ProseMirror p,.myeditor-root .ProseMirror li,.myeditor-root .ProseMirror blockquote,.myeditor-root .ProseMirror h1,.myeditor-root .ProseMirror h2,.myeditor-root .ProseMirror h3,.myeditor-root .ProseMirror h4,.myeditor-root .ProseMirror h5,.myeditor-root .ProseMirror h6{clear:none}.myeditor-root .ProseMirror:after{content:"";display:block;clear:both}.myeditor-root .myeditor-image-container{position:relative;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.myeditor-root .myeditor-image-container:hover{box-shadow:0 4px 20px #00000026}.myeditor-root .myeditor-image-content{position:relative;width:100%;background:#f9fafb}.myeditor-root .myeditor-image{width:100%;height:auto;display:block;border:none;outline:none;background:#f9fafb;transition:transform .3s ease}.myeditor-root .myeditor-image--zoomable{cursor:zoom-in}.myeditor-root .myeditor-image--zoomable:hover{transform:scale(1.02)}.myeditor-root .myeditor-image-overlay{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .3s ease}.myeditor-root .myeditor-image-wrapper:hover .myeditor-image-overlay,.myeditor-root .myeditor-image-wrapper.selected .myeditor-image-overlay{opacity:1;pointer-events:auto}.myeditor-root .myeditor-image-controls{position:absolute;top:12px;left:12px;right:12px;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:8px;padding:8px 12px;box-shadow:0 4px 12px #00000026;border:1px solid rgba(255,255,255,.2);line-height:1;z-index:5;pointer-events:auto}.myeditor-root .myeditor-image-controls-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.myeditor-root .myeditor-image-control-group{display:flex;align-items:center;gap:8px;white-space:nowrap}.myeditor-root .myeditor-image-control-group label{font-size:13px;font-weight:500;color:#374151;margin:0}.myeditor-root .myeditor-align-select{padding:4px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:12px;background:#fff;color:#374151;cursor:pointer;min-width:80px;position:relative;z-index:10;pointer-events:auto}.myeditor-root .myeditor-align-select:focus{outline:2px solid #3b82f6;outline-offset:1px;border-color:#3b82f6}.myeditor-root .myeditor-zoom-label{cursor:pointer;display:flex;align-items:center;gap:6px}.myeditor-root .myeditor-zoom-checkbox{margin:0;cursor:pointer}.myeditor-root .myeditor-edit-btn,.myeditor-root .myeditor-delete-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 6px;gap:2px;border:0;border-radius:6px;cursor:pointer}.myeditor-root .myeditor-delete-btn{background:red;color:#fff}.myeditor-root .myeditor-edit-btn{background:#3b82f6;color:#fff}.myeditor-root svg{pointer-events:none}.myeditor-root .myeditor-resize-handle{position:absolute;bottom:8px;right:8px;width:32px;height:32px;background:#3b82f6e6;color:#fff;border-radius:0 0 8px;cursor:nw-resize;display:flex;align-items:center;justify-content:center;font-size:10px;-webkit-user-select:none;user-select:none;transition:all .2s ease;border:1px solid rgba(255,255,255,.3);box-shadow:0 2px 4px #0000001a;z-index:10}.myeditor-root .myeditor-resize-handle:hover{background:#3b82f6;transform:scale(1.15);box-shadow:0 4px 8px #0003}.myeditor-root .myeditor-image-container:has(.myeditor-image-caption) .myeditor-resize-handle{bottom:-50px;right:-1px}.myeditor-root .myeditor-image-caption{padding:12px;background:#f8fafc;border-top:1px solid #e2e8f0;color:#64748b;font-size:14px;text-align:center;cursor:default;-webkit-user-select:none;user-select:none;font-style:italic;min-height:20px;transition:all .2s ease}.myeditor-root .myeditor-image-caption:hover{background:#f1f5f9;color:#475569}@media(max-width:768px){.myeditor-root .myeditor-image-wrapper--left,.myeditor-root .myeditor-image-wrapper--right{float:none;margin:1rem 0;max-width:100%}.myeditor-root .myeditor-image-controls-row{flex-direction:column;gap:8px;align-items:stretch}.myeditor-root .myeditor-image-control-group{justify-content:center}}.myeditor-root .myeditor-image-wrapper.selected .myeditor-image-container{border:2px solid #3b82f6;box-shadow:0 0 0 4px #3b82f61a}.myeditor-root .myeditor-image-wrapper.selected .myeditor-image-controls{background:#3b82f6f2;color:#fff}.myeditor-root .myeditor-image-wrapper.selected .myeditor-image-control-group label{color:#fff}.myeditor-root .myeditor-image-wrapper,.myeditor-root .myeditor-image-container{transition:all .3s cubic-bezier(.4,0,.2,1)}.myeditor-root .myeditor-image-overlay{transition:opacity .3s cubic-bezier(.4,0,.2,1)}.ProseMirror{position:relative;outline:none;word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;caret-color:#111;color:#111}.ProseMirror[contenteditable=true]{outline:none}.myeditor-root{background:transparent;border-radius:12px;overflow:hidden;box-shadow:0 2px 12px #00000014;border:1px solid #e1e5e9;scroll-behavior:smooth}.myeditor-root .ProseMirror{background:#fff;color:#2d3748;min-height:250px;padding:24px 28px;border-radius:0 0 12px 12px;border:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.7;letter-spacing:-.01em;cursor:text;position:relative;scroll-behavior:smooth}.myeditor-root .ProseMirror:focus{outline:none;box-shadow:inset 0 0 0 2px #3b82f61a}.myeditor-root .ProseMirror ::selection{background:#3b82f633}.myeditor-root .ProseMirror::-moz-selection{background:#3b82f633}.myeditor-root .ProseMirror p.is-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}.myeditor-root .ProseMirror:empty:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}.myeditor-root .ProseMirror{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.myeditor-root .ProseMirror[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.myeditor-root .ProseMirror p{margin:0 0 1.2em;line-height:1.8;min-height:1.2em}.myeditor-root .ProseMirror p:last-child{margin-bottom:0}.myeditor-root .ProseMirror *{transition:all .1s ease}.myeditor-root .ProseMirror p.is-empty{min-height:1.4em}.myeditor-root .ProseMirror h1{font-size:32px;font-weight:700;line-height:1.2;margin:1.5em 0 .8em;color:#1a202c;letter-spacing:-.02em}.myeditor-root .ProseMirror h2{font-size:26px;font-weight:600;line-height:1.3;margin:1.3em 0 .7em;color:#2d3748;letter-spacing:-.015em}.myeditor-root .ProseMirror h3{font-size:20px;font-weight:600;line-height:1.4;margin:1.2em 0 .6em;color:#2d3748;letter-spacing:-.01em}.myeditor-root .ProseMirror h1:first-child,.myeditor-root .ProseMirror h2:first-child,.myeditor-root .ProseMirror h3:first-child{margin-top:0}.myeditor-root .ProseMirror a{color:#2563eb;text-decoration:underline}.myeditor-root .ProseMirror blockquote{margin:16px 0;padding:12px 16px;border-left:4px solid rgba(59,130,246,.4);background:#3b82f60d;border-radius:8px;color:#000c;font-style:italic;position:relative;transition:all .2s ease}.myeditor-root .ProseMirror blockquote:hover{border-left-color:#3b82f699;background:#3b82f614}.myeditor-root .ProseMirror blockquote p{margin:0}.myeditor-root .ProseMirror ul,.myeditor-root .ProseMirror ol{margin:0 0 12px;padding-left:24px}.myeditor-root .ProseMirror li{margin:4px 0;position:relative}.myeditor-root .ProseMirror p{padding-left:0;margin:0 0 12px}.myeditor-root .ProseMirror ul+p,.myeditor-root .ProseMirror ol+p{padding-left:0;margin-left:0;text-indent:0}.myeditor-root .ProseMirror .pm-figure{position:relative;display:inline-block;margin:1rem 0;border:2px solid transparent;border-radius:8px;transition:border-color .2s ease,box-shadow .2s ease;max-width:100%;cursor:pointer}.myeditor-root .ProseMirror .pm-figure:hover{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f633}.myeditor-root .ProseMirror .pm-figure.ProseMirror-selectednode{border-color:#6366f1;box-shadow:0 0 0 3px #6366f133}.myeditor-root .ProseMirror .pm-resize-handle{position:absolute;bottom:4px;right:4px;width:16px;height:16px;background:#3b82f6cc;color:#fff;border-radius:4px;font-size:8px;line-height:16px;text-align:center;cursor:col-resize;-webkit-user-select:none;user-select:none;opacity:0;transition:opacity .2s ease;z-index:10}.myeditor-root .ProseMirror .pm-caption{font-size:14px;color:#6b7280;font-style:italic;text-align:center;margin-top:8px;padding:4px 8px;border-radius:4px;cursor:text;transition:all .2s ease}.myeditor-root .ProseMirror .pm-caption:hover{background:#3b82f61a}.myeditor-root .ProseMirror .pm-caption:focus{outline:2px solid rgba(59,130,246,.5);background:#3b82f61a}.myeditor-root .ProseMirror .pm-caption--empty{color:#9ca3af}.myeditor-root .ProseMirror .pm-figure--none{display:block;margin:1rem 0;clear:both}.myeditor-root .ProseMirror .pm-figure--left{float:left;clear:left;margin:0 1rem 1rem 0;position:relative;z-index:100}.myeditor-root .ProseMirror .pm-figure--right{float:right;clear:right;margin:0 0 1rem 1rem;position:relative;z-index:100}.myeditor-root .ProseMirror .pm-figure--center{display:block;margin:1rem auto;clear:both;position:relative;z-index:100}.myeditor-root .ProseMirror .pm-figure img{width:100%;height:auto;display:block;border-radius:6px;max-width:100%;transition:filter .2s ease}.myeditor-root .ProseMirror .pm-figure:hover img{filter:brightness(.95)}.myeditor-root .ProseMirror .pm-caption{padding:8px 12px;font-size:14px;color:#6b7280;text-align:center;background:#f9fafb;border-radius:0 0 6px 6px;border:1px solid #e5e7eb;outline:none;width:100%;min-height:36px;display:block;cursor:text;transition:all .2s ease;box-sizing:border-box;user-select:text;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text}.myeditor-root .ProseMirror .pm-caption--empty{font-style:italic;color:#9ca3af;border-style:dashed;width:90%}.myeditor-root .ProseMirror .pm-caption--empty:hover{background:#f3f4f6;border-color:#6366f1;color:#6366f1}.myeditor-root .ProseMirror .pm-caption:focus,.myeditor-root .ProseMirror .pm-caption:hover:not(.pm-caption--empty){background:#fff;color:#374151;border-color:#6366f1;box-shadow:0 0 0 2px #6366f11a}.myeditor-root .ProseMirror .pm-caption:focus{background:#fefefe;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;z-index:10;position:relative}.myeditor-root .ProseMirror .pm-figure:hover{outline:2px solid rgba(59,130,246,.5);outline-offset:2px;transition:outline .2s ease}.myeditor-root .ProseMirror .pm-figure.ProseMirror-selectednode{outline:2px solid #3b82f6;outline-offset:2px}.myeditor-root .ProseMirror .pm-resize-handle{position:absolute;bottom:0;right:0;width:20px;height:20px;background:#3b82f6e6;color:#fff;font-size:16px;display:flex;align-items:center;justify-content:center;cursor:nw-resize;border-radius:3px 0 0;opacity:0;transition:opacity .2s ease,transform .2s ease;-webkit-user-select:none;user-select:none;border:1px solid rgba(255,255,255,.3);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10}.myeditor-root .ProseMirror .pm-figure:hover .pm-resize-handle,.myeditor-root .ProseMirror .pm-figure.ProseMirror-selectednode .pm-resize-handle{opacity:1}.myeditor-root .ProseMirror .pm-resize-handle:hover{background:#3b82f6;transform:scale(1.1);border-color:#ffffff80}.myeditor-root .ProseMirror .pm-image-controls{position:absolute;top:-7px!important;left:50%;transform:translate(-50%);min-width:300px;width:auto;background:#fffffffa;border:2px solid #3b82f6;border-radius:8px;padding:8px;box-shadow:0 6px 20px #00000040;display:none;z-index:9999!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);line-height:0;pointer-events:auto!important}.myeditor-root .ProseMirror .pm-controls-row{display:flex;align-items:center;gap:12px;background:#fffffff2;padding:8px 12px;border-radius:8px;border:1px solid rgba(0,0,0,.1);box-shadow:0 2px 8px #0000001a}.myeditor-root .ProseMirror .pm-figure[style*="max-width: 100px"] .pm-controls-row,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 150px"] .pm-controls-row,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 200px"] .pm-controls-row,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 250px"] .pm-controls-row{gap:8px;padding:6px 8px;flex-wrap:wrap;justify-content:center}.myeditor-root .ProseMirror .pm-figure[style*="max-width: 100px"] .pm-controls-row label,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 150px"] .pm-controls-row label,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 200px"] .pm-controls-row label,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 250px"] .pm-controls-row label{font-size:12px;gap:4px}.myeditor-root .ProseMirror .pm-controls-row label{font-weight:600;color:#374151;white-space:nowrap;cursor:pointer;display:flex;align-items:center;gap:6px}.myeditor-root .ProseMirror .pm-align-select{padding:6px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:13px;background:#fff;min-width:100px;cursor:pointer;transition:all .2s ease}.myeditor-root .ProseMirror .pm-figure[style*="max-width: 100px"] .pm-align-select,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 150px"] .pm-align-select,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 200px"] .pm-align-select,.myeditor-root .ProseMirror .pm-figure[style*="max-width: 250px"] .pm-align-select{padding:4px 6px;font-size:11px;min-width:70px}.myeditor-root .ProseMirror .pm-align-select:hover{border-color:#6366f1;background:#f8f9ff}.myeditor-root .ProseMirror .pm-align-select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.myeditor-root .ProseMirror .pm-zoom-checkbox{margin:0;transform:scale(1.1);cursor:pointer}.myeditor-root .ProseMirror .pm-zoom-checkbox:hover{accent-color:#6366f1}.myeditor-root .ProseMirror .pm-edit-btn{background:#3b82f6;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500;transition:background-color .2s ease;margin-right:8px}.myeditor-root .ProseMirror .pm-edit-btn:hover{background:#2563eb;transform:scale(1.05)}.myeditor-root .ProseMirror .pm-delete-btn{background:#ef4444;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:500;margin-left:auto;transition:background-color .2s ease}.myeditor-root .ProseMirror .pm-delete-btn:hover{background:#dc2626;transform:scale(1.05)}.myeditor-root .ProseMirror img.editor-image{max-width:100%;height:auto;border-radius:8px;box-shadow:0 2px 8px #0000001f;transition:transform .2s ease,box-shadow .2s ease}.myeditor-root .ProseMirror img.align-center{display:block;margin:16px auto}.myeditor-root .ProseMirror img.align-left{display:block;margin:16px auto 16px 0}.myeditor-root .ProseMirror img.align-right{display:block;margin:16px 0 16px auto}.myeditor-root .ProseMirror img.align-float-left{float:left;margin:0 16px 16px 0;max-width:50%}.myeditor-root .ProseMirror img.align-float-right{float:right;margin:0 0 16px 16px;max-width:50%}.myeditor-root .ProseMirror img.zoomable{cursor:zoom-in}.myeditor-root .ProseMirror img.zoomable:hover{transform:scale(1.02);box-shadow:0 4px 16px #0003}.image-zoom-overlay{position:fixed;inset:0;background:#000000e6;display:flex;align-items:center;justify-content:center;z-index:2000;cursor:zoom-out}.image-zoom-overlay img{max-width:90vw;max-height:90vh;border-radius:8px;box-shadow:0 20px 40px #00000080}.myeditor-root .ProseMirror figure{margin:16px 0;padding:12px;border:1px solid rgba(0,0,0,.1);border-radius:12px;background:#00000005;overflow:hidden}.myeditor-root .ProseMirror figure.figure-left{float:left;max-width:300px;margin:0 16px 16px 0}.myeditor-root .ProseMirror figure.figure-right{float:right;max-width:300px;margin:0 0 16px 16px}.myeditor-root .ProseMirror figure.figure-center{text-align:center;clear:both;margin:20px auto;max-width:600px}.myeditor-root .ProseMirror figure.figure-float-left{float:left;max-width:40%;margin:0 16px 16px 0}.myeditor-root .ProseMirror figure.figure-float-right{float:right;max-width:40%;margin:0 0 16px 16px}.myeditor-root .ProseMirror figcaption{margin-top:8px;font-size:14px;color:#000000b3;font-style:italic;text-align:center;line-height:1.4}.myeditor-root .ProseMirror pre{background:#f8f9fa;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:16px;margin:16px 0;overflow-x:auto;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,monospace;font-size:14px;line-height:1.5}.myeditor-root .ProseMirror pre code{background:none;border:none;padding:0;font-size:inherit}.myeditor-root .ProseMirror ul{list-style:disc}.myeditor-root .ProseMirror ol{list-style:decimal}.ProseMirror ::selection{background:#6366f140}.myeditor-root .ProseMirror .pm-embed-container{position:relative;margin:1rem 0;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.myeditor-root .ProseMirror .pm-embed-container.ProseMirror-selectednode{outline:2px solid #6366f1;outline-offset:2px}.myeditor-root .ProseMirror .pm-embed-controls{position:absolute;top:8px;right:8px;line-height:0;background:#fffffff2;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:8px 12px;box-shadow:0 2px 8px #0000001a;z-index:10}.myeditor-root .ProseMirror .pm-embed-controls .pm-controls-row{display:flex;align-items:center;gap:12px;font-size:13px;white-space:nowrap}.myeditor-root .ProseMirror .pm-embed-controls label{font-weight:600;color:#374151;margin:0}.myeditor-root .ProseMirror .pm-embed-controls .pm-size-select,.myeditor-root .ProseMirror .pm-embed-controls .pm-align-select{padding:4px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:12px;background:#fff;cursor:pointer;transition:all .2s ease;min-width:80px}.myeditor-root .ProseMirror .pm-embed-controls .pm-size-select:hover,.myeditor-root .ProseMirror .pm-embed-controls .pm-align-select:hover{border-color:#6366f1;background:#f8f9ff}.myeditor-root .ProseMirror .pm-embed-controls .pm-size-select:focus,.myeditor-root .ProseMirror .pm-embed-controls .pm-align-select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.myeditor-root .ProseMirror .pm-embed-controls .pm-edit-btn,.myeditor-root .ProseMirror .pm-embed-controls .pm-delete-btn{background:#f3f4f6;color:#374151;border:none;padding:4px 8px;border-radius:4px;cursor:pointer;font-size:12px;transition:all .2s ease}.myeditor-root .ProseMirror .pm-embed-controls .pm-edit-btn:hover{background:#3b82f6;color:#fff}.myeditor-root .ProseMirror .pm-embed-controls .pm-delete-btn:hover{background:#ef4444;color:#fff;transform:scale(1.05)}.myeditor-root .ProseMirror .pm-embed-container.pm-embed--left{float:left;margin:0 1rem 1rem 0;clear:left}.myeditor-root .ProseMirror .pm-embed-container.pm-embed--right{float:right;margin:0 0 1rem 1rem;clear:right}.myeditor-root .ProseMirror .pm-embed-container.pm-embed--center{display:block;margin:1rem auto;text-align:center}@media(max-width:768px){.myeditor-root .ProseMirror .pm-embed-container{max-width:100%}.myeditor-root .ProseMirror .pm-embed-container.pm-embed--left,.myeditor-root .ProseMirror .pm-embed-container.pm-embed--right{float:none;margin:1rem 0}.myeditor-root .ProseMirror .pm-embed-controls{position:static;margin-top:8px;background:#ffffffe6}.myeditor-root .ProseMirror .pm-embed-controls .pm-controls-row{flex-wrap:wrap;gap:8px}}.myeditor-root .ProseMirror .pm-figure:hover .pm-image-controls,.myeditor-root .ProseMirror .pm-figure.ProseMirror-selectednode .pm-image-controls,.myeditor-root .ProseMirror .pm-figure .pm-image-controls:hover,.myeditor-root .ProseMirror .pm-figure--left:hover .pm-image-controls,.myeditor-root .ProseMirror .pm-figure--right:hover .pm-image-controls,.myeditor-root .ProseMirror .pm-figure--center:hover .pm-image-controls,.myeditor-root .ProseMirror .pm-figure--left.ProseMirror-selectednode .pm-image-controls,.myeditor-root .ProseMirror .pm-figure--right.ProseMirror-selectednode .pm-image-controls,.myeditor-root .ProseMirror .pm-figure--center.ProseMirror-selectednode .pm-image-controls{display:block!important;opacity:1!important;pointer-events:auto!important;z-index:9999!important}.myeditor-toolbar{display:flex!important;flex-wrap:wrap;gap:8px;padding:12px 16px;border:1px solid #e1e5e9;border-radius:12px 12px 0 0;background:linear-gradient(135deg,#fafbfc,#f4f6f8);box-shadow:0 1px 3px #0000000f;margin-bottom:0;align-items:center;min-height:56px;position:relative;border-bottom:none;visibility:visible!important;opacity:1!important}.myeditor-toolbar--rows{flex-direction:column;gap:8px;padding:10px 16px;min-height:70px;align-items:stretch}.myeditor-toolbar-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-start;width:100%}.myeditor-section{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}.myeditor-separator{width:1px;height:24px;background:#d1d5db;margin:0 6px;opacity:.7;flex-shrink:0}.myeditor-btn{height:34px;padding:0 12px;border-radius:6px;border:1px solid transparent;background:transparent;color:#4a5568;cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:500;font-size:13px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;min-width:34px;position:relative;flex-shrink:0;white-space:nowrap}.myeditor-select{height:34px;border-radius:6px;padding:0 12px;border:1px solid #d1d5db;background:#fff;color:#4a5568;font-size:13px;min-width:120px;flex-shrink:0}.myeditor-color{display:flex;align-items:center;gap:6px;flex-shrink:0}.myeditor-color-btn{width:20px;height:20px;border-radius:4px;border:1px solid rgba(0,0,0,.15);cursor:pointer;flex-shrink:0}.myeditor-btn[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;bottom:-35px;left:50%;transform:translate(-50%);background:#000000e6;color:#fff;padding:6px 10px;border-radius:6px;font-size:12px;white-space:nowrap;z-index:1000;pointer-events:none;animation:tooltipFadeIn .2s ease}.myeditor-btn[data-tooltip]:hover:before{content:"";position:absolute;bottom:-8px;left:50%;transform:translate(-50%);border:4px solid transparent;border-bottom-color:#000000e6;z-index:1001;pointer-events:none}.myeditor-select[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;bottom:-35px;left:50%;transform:translate(-50%);background:#000000e6;color:#fff;padding:6px 10px;border-radius:6px;font-size:12px;white-space:nowrap;z-index:1000;pointer-events:none;animation:tooltipFadeIn .2s ease}@keyframes tooltipFadeIn{0%{opacity:0;transform:translate(-50%) translateY(5px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.myeditor-btn:hover{background:#4a556814;border-color:#4a556833;z-index:1}.myeditor-btn.is-active{background:#3182ce;color:#fff;border-color:#2c5282;box-shadow:0 2px 4px #3182ce4d}.myeditor-btn:disabled{opacity:.45;cursor:not-allowed}.myeditor-select{height:34px;border-radius:10px;padding:0 10px}.myeditor-color{display:flex;align-items:center;gap:6px}.myeditor-color-btn{width:18px;height:18px;border-radius:6px;border:1px solid rgba(0,0,0,.15)}.myeditor-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.myeditor-image-dialog{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0000004d;max-width:550px;width:90vw;max-height:80vh;overflow-y:auto}.myeditor-image-dialog .dialog-content{padding:24px}.myeditor-image-dialog h3{margin:0 0 20px;color:#1f2937;font-size:18px;font-weight:600}.myeditor-image-dialog .preview-group{grid-column:span 2;text-align:center}.myeditor-image-dialog .image-preview{max-width:200px;max-height:150px;border-radius:8px;box-shadow:0 4px 8px #0000001a}.myeditor-image-dialog label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:14px}.myeditor-image-dialog input,.myeditor-image-dialog select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff}.myeditor-image-dialog input[type=checkbox]{width:auto;margin-right:8px}.myeditor-image-dialog input:focus,.myeditor-image-dialog select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.myeditor-image-dialog .dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid #e5e7eb}.myeditor-image-dialog .btn-cancel,.myeditor-image-dialog .btn-insert{padding:10px 20px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .15s ease}.myeditor-image-dialog .btn-insert{background:#6366f1;color:#fff}.myeditor-image-dialog{background:#fff;border-radius:12px;padding:0;width:600px;max-width:90vw;max-height:80vh;overflow:hidden;box-shadow:0 20px 40px #00000026;position:relative;margin:auto;display:flex;flex-direction:column}.myeditor-image-dialog .dialog-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.myeditor-image-dialog .dialog-header h3{margin:0;font-size:18px;font-weight:600;color:#111827}.myeditor-image-dialog .dialog-body{padding:24px;max-height:40vh;overflow-y:auto;flex:1}.myeditor-image-dialog .dialog-tabs{display:flex;gap:4px;margin-bottom:24px;background:#f3f4f6;padding:4px;border-radius:8px}.myeditor-image-dialog .tab-btn{flex:1;padding:10px 16px;border:none;background:transparent;border-radius:6px;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .15s ease}.myeditor-image-dialog .tab-btn.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.myeditor-image-dialog .tab-content{display:none;margin-bottom:20px}.myeditor-image-dialog .tab-content.active{display:block}.myeditor-image-dialog .upload-area{margin-bottom:24px}.myeditor-image-dialog .upload-dropzone{border:2px dashed #d1d5db;border-radius:12px;padding:40px 20px;text-align:center;background:#fafbfc;transition:all .2s ease;cursor:pointer}.myeditor-image-dialog .upload-dropzone:hover,.myeditor-image-dialog .upload-dropzone.drag-over{border-color:#6366f1;background:#f0f9ff}.myeditor-image-dialog .upload-icon{font-size:48px;margin-bottom:16px}.myeditor-image-dialog .upload-trigger{background:none;border:none;color:#3b82f6;text-decoration:underline;cursor:pointer;font-weight:500}.myeditor-image-dialog .form-group{margin-bottom:16px}.myeditor-image-dialog .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.myeditor-image-dialog .form-group label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:14px}.myeditor-image-dialog .form-group input,.myeditor-image-dialog .form-group select{width:90%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.myeditor-image-dialog .form-group input:focus,.myeditor-image-dialog .form-group select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.myeditor-image-dialog .checkbox-label{display:flex;align-items:center;cursor:pointer;font-size:14px;color:#374151}.myeditor-image-dialog .checkbox-label input[type=checkbox]{width:auto;margin-right:8px}.myeditor-image-dialog .image-settings{border-top:1px solid #e5e7eb;padding-top:24px;margin-top:24px}.myeditor-image-dialog .image-preview-container{margin-top:20px;padding:16px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb}.myeditor-image-dialog .image-preview{text-align:center}.myeditor-image-dialog .preview-img{max-width:100%;max-height:200px;border-radius:6px;box-shadow:0 2px 8px #0000001a}.myeditor-image-dialog .dialog-actions{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;background:#f9fafb}.myeditor-image-dialog .btn-cancel,.myeditor-image-dialog .btn-insert{padding:10px 20px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .15s ease;font-size:14px}.myeditor-image-dialog .btn-cancel{background:#f3f4f6;color:#374151}.myeditor-image-dialog .btn-cancel:hover{background:#e5e7eb}.myeditor-image-dialog .btn-insert{background:#3b82f6;color:#fff}.myeditor-image-dialog .btn-insert:hover:not(:disabled){background:#2563eb}.myeditor-image-dialog .btn-insert:disabled{background:#9ca3af;cursor:not-allowed}.myeditor-color-dropdown{background:#fff;border:1px solid rgba(0,0,0,.15);border-radius:8px;box-shadow:0 4px 12px #00000026;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;width:280px;overflow:hidden}.color-dropdown-header{background:#f8f9fa;padding:8px 12px;border-bottom:1px solid rgba(0,0,0,.1)}.color-dropdown-title{font-size:12px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.5px}.color-remove-section{padding:8px;border-bottom:1px solid rgba(0,0,0,.1)}.color-remove-btn{width:100%;padding:8px 12px;border:1px solid rgba(0,0,0,.1);border-radius:6px;background:#fff;color:#374151;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .15s ease}.color-remove-btn:hover{background:#f3f4f6;border-color:#0003}.remove-icon{font-size:14px}.color-presets-section{padding:12px;border-bottom:1px solid rgba(0,0,0,.1)}.color-section-label{font-size:10px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.8px;margin-bottom:8px}.color-presets-grid{display:flex;flex-direction:column;gap:2px}.color-row{display:flex;gap:2px}.color-preset{width:24px;height:24px;border:1px solid rgba(0,0,0,.15);border-radius:4px;cursor:pointer;transition:all .15s ease;position:relative}.color-preset:hover{transform:scale(1.1);border-color:#0006;z-index:1}.color-preset:active{transform:scale(.95)}.color-custom-section{padding:12px}.custom-color-controls{display:flex;align-items:center;gap:8px;margin-top:8px}.custom-color-preview{width:32px;height:32px;border:1px solid rgba(0,0,0,.15);border-radius:6px;background:#000;flex-shrink:0}.custom-color-input{flex:1;padding:6px 8px;border:1px solid rgba(0,0,0,.15);border-radius:4px;font-size:12px;font-family:Monaco,Consolas,monospace;text-transform:uppercase}.custom-color-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.custom-color-picker{width:32px;height:32px;border:1px solid rgba(0,0,0,.15);border-radius:6px;cursor:pointer;background:none;padding:0;overflow:hidden}.custom-color-picker::-webkit-color-swatch-wrapper{padding:0;border:none;border-radius:4px}.custom-color-picker::-webkit-color-swatch{border:none;border-radius:4px}.myeditor-enhanced-dialog{width:600px;max-width:90vw;max-height:90vh;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;overflow:hidden;display:flex;flex-direction:column}.myeditor-enhanced-dialog .dialog-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e5e7eb;background:#f9fafb;flex-shrink:0}.myeditor-enhanced-dialog .dialog-header h3{margin:0;font-size:18px;color:#111827;font-weight:600}.myeditor-enhanced-dialog .dialog-close{background:none;border:none;font-size:20px;color:#6b7280;cursor:pointer;padding:8px;border-radius:4px;display:flex;align-items:center;justify-content:center;width:32px;height:32px}.myeditor-enhanced-dialog .dialog-close:hover{background:#e5e7eb;color:#374151}.myeditor-enhanced-dialog .dialog-body{flex:1;padding:20px;overflow-y:auto}.myeditor-enhanced-dialog .dialog-tabs{display:flex;gap:4px;margin-bottom:20px;background:#f3f4f6;padding:4px;border-radius:8px}.myeditor-enhanced-dialog .tab-btn{flex:1;background:none;border:none;padding:8px 16px;cursor:pointer;font-size:14px;color:#6b7280;border-radius:6px;transition:all .2s ease;font-weight:500}.myeditor-enhanced-dialog .tab-btn:hover{color:#374151;background:#ffffff80}.myeditor-enhanced-dialog .tab-btn.active{color:#3b82f6;background:#fff;box-shadow:0 1px 3px #0000001a}.myeditor-enhanced-dialog .tab-content{display:none}.myeditor-enhanced-dialog .tab-content.active{display:block}.myeditor-enhanced-dialog .upload-area{margin-bottom:20px}.myeditor-enhanced-dialog .upload-dropzone{border:2px dashed #d1d5db;border-radius:8px;padding:40px 20px;text-align:center;background:#f9fafb;transition:all .15s ease}.myeditor-enhanced-dialog .upload-dropzone:hover,.myeditor-enhanced-dialog .upload-dropzone.drag-over{border-color:#3b82f6;background:#eff6ff}.myeditor-enhanced-dialog .upload-icon{font-size:48px;margin-bottom:12px;opacity:.6}.myeditor-enhanced-dialog .upload-trigger{background:none;border:none;color:#3b82f6;text-decoration:underline;cursor:pointer;font-weight:500}.myeditor-enhanced-dialog .upload-trigger:hover{color:#2563eb}.myeditor-enhanced-dialog .form-group{margin-bottom:16px}.myeditor-enhanced-dialog label{display:block;margin-bottom:6px;font-weight:500;color:#374151;font-size:14px}.myeditor-enhanced-dialog input,.myeditor-enhanced-dialog select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:border-color .2s;box-sizing:border-box}.myeditor-enhanced-dialog input:focus,.myeditor-enhanced-dialog select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.myeditor-enhanced-dialog .form-row{display:flex;gap:16px;margin-bottom:16px}.myeditor-enhanced-dialog .form-row .form-group{flex:1;margin-bottom:0}.myeditor-enhanced-dialog .checkbox-label{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}.myeditor-enhanced-dialog .checkbox-label input[type=checkbox]{margin:0;width:auto}.myeditor-enhanced-dialog .image-settings{margin-top:20px;padding-top:20px;border-top:1px solid #e5e7eb}.myeditor-enhanced-dialog .image-preview-container{margin-top:20px;padding:16px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.myeditor-enhanced-dialog .image-preview{border-radius:6px;overflow:hidden;max-width:200px;margin-top:8px}.myeditor-enhanced-dialog .preview-img{width:100%;height:auto;display:block}.myeditor-enhanced-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:12px;padding:20px;border-top:1px solid #e5e7eb;background:#f9fafb;flex-shrink:0}.myeditor-enhanced-dialog .btn-cancel,.myeditor-enhanced-dialog .btn-insert{padding:10px 20px;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s;font-size:14px}.myeditor-enhanced-dialog .btn-cancel{background:#f3f4f6;color:#374151}.myeditor-enhanced-dialog .btn-cancel:hover{background:#e5e7eb}.myeditor-enhanced-dialog .btn-insert{background:#3b82f6;color:#fff}.myeditor-enhanced-dialog .btn-insert:hover:not(:disabled){background:#2563eb}.myeditor-enhanced-dialog .btn-insert:disabled{background:#9ca3af;cursor:not-allowed}.myeditor-embed-dialog .platform-grid{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.myeditor-embed-dialog .platform-tag{background:#f3f4f6;color:#374151;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.myeditor-embed-dialog .platform-tag.youtube{background:#fee2e2;color:#dc2626}.myeditor-embed-dialog .platform-tag.vimeo{background:#dbeafe;color:#2563eb}.myeditor-embed-dialog .platform-tag.twitter{background:#ecfdf5;color:#059669}.myeditor-embed-dialog .platform-tag.instagram{background:#fdf2f8;color:#c026d3}.myeditor-embed-dialog .platform-tag.iframe{background:#f3f4f6;color:#6b7280}.myeditor-embed-dialog .help-text{color:#6b7280;font-size:12px;margin-top:4px}.myeditor-embed-dialog .embed-detection{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:12px 16px;margin-bottom:16px}.myeditor-embed-dialog .detected-info{display:flex;align-items:center;gap:8px;color:#059669;font-size:14px}.myeditor-embed-dialog .detected-icon{font-size:16px}.myeditor-embed-dialog .embed-settings{background:#f9fafb;border-radius:8px;padding:16px;margin:16px 0}.myeditor-embed-dialog .embed-preview-container{background:#f9fafb;border-radius:8px;padding:16px;margin-top:16px}.myeditor-embed-dialog .embed-preview{border-radius:8px;overflow:hidden;border:1px solid #e5e7eb;background:#fff}.myeditor-embed-dialog .preview-frame{width:100%;height:200px;border:none}.myeditor-root .ProseMirror .pm-embed{margin:1rem 0;position:relative;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.myeditor-root .ProseMirror .pm-embed--center{text-align:center;margin-left:auto;margin-right:auto;display:block}.myeditor-root .ProseMirror .pm-embed--left{float:left;margin-right:1rem;margin-bottom:1rem}.myeditor-root .ProseMirror .pm-embed--right{float:right;margin-left:1rem;margin-bottom:1rem}.myeditor-root .ProseMirror .pm-embed iframe{border:none;border-radius:8px;width:100%;height:auto}.myeditor-root .ProseMirror .pm-embed--youtube{background:#000}.myeditor-root .ProseMirror .pm-embed--vimeo{background:#1ab7ea}.myeditor-root .ProseMirror .pm-embed--twitter{background:#1da1f2}.myeditor-root .ProseMirror .pm-embed--instagram{background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888)}@media(max-width:768px){.myeditor-root .ProseMirror .pm-embed{max-width:100%}.myeditor-root .ProseMirror .pm-embed--left,.myeditor-root .ProseMirror .pm-embed--right{float:none;margin:1rem 0}}.image-preview img{max-width:200px;max-height:150px;border-radius:4px}.myeditor-link-dialog .btn-remove{background:#ef4444;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.myeditor-link-dialog .btn-remove:hover{background:#dc2626;transform:scale(1.05)}.font-size-dropdown{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px #00000026;padding:12px;min-width:200px}.font-size-dropdown .dropdown-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-weight:600;color:#374151}.font-size-dropdown .current-size{background:#f3f4f6;padding:2px 6px;border-radius:4px;font-size:12px}.font-size-dropdown .size-controls{display:flex;align-items:center;gap:8px;margin-bottom:12px}.font-size-dropdown .size-btn{background:#f3f4f6;border:1px solid #d1d5db;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:12px;font-weight:600;transition:all .2s}.font-size-dropdown .size-btn:hover{background:#e5e7eb;border-color:#9ca3af}.font-size-dropdown .size-slider{flex:1;height:4px;background:#e5e7eb;border-radius:2px;outline:none;-webkit-appearance:none}.font-size-dropdown .size-slider::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:#3b82f6;cursor:pointer}.font-size-dropdown .size-slider::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#3b82f6;cursor:pointer;border:none}.font-size-dropdown .size-presets{display:flex;flex-direction:column;gap:4px}.font-size-dropdown .preset-btn{background:#f9fafb;border:1px solid #e5e7eb;border-radius:4px;padding:6px 8px;text-align:left;cursor:pointer;font-size:12px;transition:all .2s}.font-size-dropdown .preset-btn:hover{background:#f3f4f6;border-color:#d1d5db}.font-size-dropdown .preset-btn.active{background:#eff6ff;border-color:#3b82f6;color:#3b82f6}.myeditor-root .ProseMirror a{color:#3b82f6;text-decoration:underline;cursor:pointer}.myeditor-root .ProseMirror a:hover{color:#2563eb;text-decoration:underline}.ProseMirror{position:relative}.ProseMirror{word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;-webkit-font-variant-ligatures:none;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror [draggable][contenteditable=false]{-webkit-user-select:text;user-select:text}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}
