.newsletter-editor-content{outline:none;min-height:400px;padding:20px;background:#ffffff;border-radius:8px;box-shadow:inset 0 1px 3px rgba(0,0,0,.1);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;color:#374151;max-width:800px;margin:8px auto}.newsletter-editor-content:focus{box-shadow:inset 0 1px 3px rgba(0,0,0,.1),0 0 0 3px rgba(59,130,246,.1)}.newsletter-editor-content[contenteditable]:empty:before{content:attr(data-placeholder);color:#9ca3af;font-style:italic;pointer-events:none}.editor-container .w-1\/2 .newsletter-editor-content{max-width:none;margin:0;box-shadow:none;border-radius:0;min-height:calc(100vh - 200px);background:white}.newsletter-editor-content *{max-width:100%}.newsletter-editor-content img{max-width:100%;height:auto;margin:1em auto;display:block;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.newsletter-editor-content table{border-collapse:collapse;margin:1em 0;width:100%}.newsletter-editor-content td,.newsletter-editor-content th{border:1px solid #e5e7eb;padding:.75em;text-align:left}.newsletter-editor-content th{background-color:#f9fafb;font-weight:600}.newsletter-editor-content blockquote{margin:1em 0;padding:.5em 1em;border-left:4px solid #3b82f6;background:#f8fafc;font-style:italic}.newsletter-editor-content pre{padding:1em;border-radius:6px;overflow-x:auto;margin:1em 0}.newsletter-editor-content code,.newsletter-editor-content pre{background:#f1f5f9;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}.newsletter-editor-content code{color:#e11d48;padding:.2em .4em;border-radius:4px;font-size:.875em}.newsletter-editor-content h1,.newsletter-editor-content h2,.newsletter-editor-content h3,.newsletter-editor-content h4,.newsletter-editor-content h5,.newsletter-editor-content h6{margin-top:0;margin-bottom:.5em;font-weight:600;line-height:1.25}.newsletter-editor-content p{margin-bottom:1em}.newsletter-editor-content ol,.newsletter-editor-content ul{margin-bottom:1em;padding-left:1.5em}.newsletter-editor-content li{margin-bottom:.25em}.newsletter-editor-content a{color:#3b82f6;text-decoration:underline}.newsletter-editor-content a:hover{text-decoration:none}.ProseMirror img,.newsletter-image{max-width:100%;height:auto;margin:1em auto;display:block;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.ProseMirror a,.newsletter-link{color:#3b82f6;text-decoration:underline;font-weight:500}.ProseMirror a:hover,.newsletter-link:hover{color:#1d4ed8;text-decoration:none}.ProseMirror blockquote,.newsletter-blockquote{margin:1.5em 0;padding:1em 1.5em;border-left:4px solid #3b82f6;background:#f8fafc;border-radius:0 8px 8px 0;font-style:italic;color:#64748b}.ProseMirror hr,.newsletter-hr{margin:2em 0;border:none;height:2px;background:linear-gradient(90deg,transparent,#e2e8f0,transparent);border-radius:1px}.ProseMirror .text-left{text-align:left}.ProseMirror .text-center{text-align:center}.ProseMirror .text-right{text-align:right}.ProseMirror ol,.ProseMirror ul,.newsletter-bullet-list,.newsletter-ordered-list{margin:1em 0;padding-left:1.5em}.ProseMirror ol li,.ProseMirror ul li,.newsletter-bullet-list li,.newsletter-ordered-list li{margin:.5em 0;line-height:1.6}.ProseMirror h1{font-size:2.25em;font-weight:700;margin:1em 0 .5em;line-height:1.2;color:#1f2937}.ProseMirror h2{font-size:1.875em;line-height:1.3;color:#374151}.ProseMirror h2,.ProseMirror h3{font-weight:600;margin:1em 0 .5em}.ProseMirror h3{font-size:1.5em;line-height:1.4;color:#4b5563}.ProseMirror p{margin:1em 0;line-height:1.7;color:#374151}.ProseMirror table,.newsletter-table{border-collapse:collapse;margin:2em 0;overflow:hidden;table-layout:fixed;width:100%;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.ProseMirror table td,.ProseMirror table th{border:1px solid #e5e7eb;box-sizing:border-box;min-width:1em;padding:1em;position:relative;vertical-align:top;background:white}.ProseMirror table th{background:linear-gradient(135deg,#f8fafc,#f1f5f9);font-weight:600;text-align:left;color:#475569;border-bottom:2px solid #cbd5e1}.ProseMirror table tr:nth-child(2n) td{background-color:#f8fafc}.ProseMirror table tr:hover td{background-color:#f1f5f9}.ProseMirror .column-resizing{border-right:2px solid #3b82f6}.ProseMirror .resize-cursor{cursor:col-resize}.ProseMirror .selectedCell{background:rgba(59,130,246,.1);border:2px solid #3b82f6}.ProseMirror:focus{box-shadow:inset 0 1px 3px rgba(0,0,0,.1),0 0 0 3px rgba(59,130,246,.1)}@media (max-width:768px){.newsletter-editor-content .ProseMirror{margin:4px;padding:16px}.ProseMirror h1{font-size:1.875em}.ProseMirror h2{font-size:1.5em}.ProseMirror h3{font-size:1.25em}.editor-container .h-full.flex{flex-direction:column}.editor-container .w-1\/2{width:100%;height:50%}}.ProseMirror mark,.newsletter-highlight{background-color:#fef08a;padding:.1em .3em;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.1)}.ProseMirror code{background:#f1f5f9;color:#e11d48;padding:.2em .4em;border-radius:4px;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:.875em}.ProseMirror pre{margin-bottom:1em}.ProseMirror .hljs-comment,.ProseMirror .hljs-quote{color:#6b7280;font-style:italic}.ProseMirror .hljs-keyword,.ProseMirror .hljs-literal,.ProseMirror .hljs-selector-tag,.ProseMirror .hljs-subst{color:#ec4899}.ProseMirror .hljs-attribute,.ProseMirror .hljs-number,.ProseMirror .hljs-template-variable,.ProseMirror .hljs-variable{color:#fb923c}.ProseMirror .hljs-doctag,.ProseMirror .hljs-string{color:#22c55e}.ProseMirror .hljs-section,.ProseMirror .hljs-selector-id,.ProseMirror .hljs-title{color:#60a5fa}.ProseMirror .hljs-class .hljs-title,.ProseMirror .hljs-type{color:#a78bfa}.ProseMirror .hljs-attr,.ProseMirror .hljs-name,.ProseMirror .hljs-tag{color:#3b82f6}.ProseMirror .hljs-link,.ProseMirror .hljs-regexp{color:#ef4444}.ProseMirror .hljs-bullet,.ProseMirror .hljs-symbol{color:#f59e0b}.ProseMirror .hljs-built_in,.ProseMirror .hljs-builtin-name{color:#14b8a6}.ProseMirror .hljs-meta{color:#a1a1aa}.ProseMirror .hljs-deletion{background:#fee2e2;color:#ef4444}.ProseMirror .hljs-addition{background:#dcfce7;color:#22c55e}.ProseMirror .hljs-emphasis{font-style:italic}.ProseMirror .hljs-strong{font-weight:700}.newsletter-preview{font-family:Arial,sans-serif;line-height:1.6;color:#333}.newsletter-preview h1,.newsletter-preview h2,.newsletter-preview h3{margin-top:0}.newsletter-preview img{max-width:100%;height:auto}.newsletter-preview table{width:100%;border-collapse:collapse}.newsletter-preview table td,.newsletter-preview table th{border:1px solid #ddd;padding:8px;text-align:left}.newsletter-preview table th{background-color:#f2f2f2;font-weight:700}.editor-container .monaco-editor{border-radius:0 0 8px 8px}.editor-container .chrome-picker{box-shadow:0 10px 25px rgba(0,0,0,.2)!important;border-radius:8px!important}.split-view-header{background:rgba(0,0,0,.05);padding:.5rem 1rem;border-bottom:1px solid rgba(0,0,0,.1);font-size:.875rem;font-weight:500;color:rgba(0,0,0,.7)}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#9ca3af;pointer-events:none;height:0;font-style:italic}.html-render-view{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;color:inherit}.html-render-view h1,.html-render-view h2,.html-render-view h3,.html-render-view h4,.html-render-view h5,.html-render-view h6{margin-top:0;margin-bottom:.5em;font-weight:600;line-height:1.25}.html-render-view p{margin-bottom:1em}.html-render-view ol,.html-render-view ul{margin-bottom:1em;padding-left:1.5em}.html-render-view blockquote{margin:1em 0;padding:.5em 1em;border-left:4px solid;background:rgba(0,0,0,.05);font-style:italic}.html-render-view code{background:rgba(0,0,0,.1);padding:.2em .4em;border-radius:3px;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:.9em}.html-render-view pre{background:rgba(0,0,0,.1);padding:1em;border-radius:6px;overflow-x:auto;margin:1em 0}.html-render-view table{width:100%;border-collapse:collapse;margin:1em 0}.html-render-view td,.html-render-view th{border:1px solid rgba(0,0,0,.2);padding:.5em;text-align:left}.html-render-view th{background:rgba(0,0,0,.1);font-weight:600}.html-render-view img{max-width:100%;height:auto;border-radius:6px}.html-render-view hr{border:none;height:1px;background:rgba(0,0,0,.2);margin:2em 0}