.p-html-input{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:12px;transition:all .2s;position:relative}.p-html-input:hover{border-color:#d1d5db;box-shadow:0 1px 3px #0000000d}.p-html-input__preview{background:linear-gradient(135deg,#1e2330 0%,#151a24 50%,#0f1318 100%);border:1px solid #d1d5db;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:120px;max-height:200px;margin-bottom:12px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 60px #0006,inset 0 0 120px #0003,0 1px 3px #0003}.p-html-input__preview:before,.p-html-input__preview:after{content:"";pointer-events:none;z-index:1;border-style:solid;border-color:#3b82f64d;width:24px;height:24px;position:absolute}.p-html-input__preview:before{border-width:2px 0 0 2px;border-top-left-radius:4px;top:8px;left:8px;box-shadow:-1px -1px 12px #3b82f626,inset -1px -1px 8px #3b82f61a}.p-html-input__preview:after{border-width:0 2px 2px 0;border-bottom-right-radius:4px;bottom:8px;right:8px;box-shadow:1px 1px 12px #6366f126,inset 1px 1px 8px #6366f11a}.p-html-input__badge{z-index:2;color:#93c5fd;background:#3b82f633;border:1px solid #3b82f640;border-radius:9999px;padding:2px 8px;font-size:10px;font-weight:600;display:inline-block;position:absolute;top:8px;right:8px}.p-html-input__preview-content{color:#e2e8f0;z-index:1;width:100%;max-height:200px;padding:12px;font-size:12px;line-height:1.5;position:relative;overflow:auto}.p-html-input__preview-content h1,.p-html-input__preview-content h2,.p-html-input__preview-content h3,.p-html-input__preview-content h4,.p-html-input__preview-content h5,.p-html-input__preview-content h6{color:#f1f5f9;margin:.3em 0;font-weight:600}.p-html-input__preview-content p{margin:.3em 0}.p-html-input__preview-content a{color:#93c5fd;text-decoration:underline}.p-html-input__preview-content img{border-radius:4px;max-width:100%;height:auto}.p-html-input__preview-content table{border-collapse:collapse;width:100%}.p-html-input__preview-content th,.p-html-input__preview-content td{text-align:left;border:1px solid #ffffff1a;padding:4px 8px;font-size:11px}.p-html-input__preview-content th{background:#ffffff0d}.p-html-input__preview-content iframe{max-width:100%}.p-html-input__preview-content blockquote{color:#94a3b8;border-left:3px solid #6366f166;margin:.3em 0;padding:.3em .8em}.p-html-input__preview-content code{background:#ffffff14;border-radius:3px;padding:1px 4px;font-size:.9em}.p-html-input__preview-content pre{background:#ffffff0d;border-radius:4px;padding:8px;overflow-x:auto}.p-html-input__preview-content pre code{background:0 0;padding:0}.p-html-input__preview-content ul,.p-html-input__preview-content ol{margin:.3em 0;padding-left:1.2em}.p-html-input__empty-state{color:#9ca3af;flex-direction:column;justify-content:center;align-items:center;display:flex}.p-html-input__controls{flex-direction:column;gap:8px;display:flex}.p-html-input__browse-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border:none;border-radius:6px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px 16px;font-size:13px;font-weight:500;transition:all .2s;display:flex;box-shadow:0 1px 2px #2563eb33}.p-html-input__browse-btn:hover{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);box-shadow:0 2px 4px #2563eb4d}.p-html-input__browse-btn:active{transform:translateY(1px)}.p-html-input__clear-btn{color:#6b7280;cursor:pointer;background:0 0;border:1px solid #d1d5db;border-radius:6px;justify-content:center;align-items:center;gap:6px;width:100%;padding:8px 12px;font-size:12px;font-weight:500;transition:all .2s;display:flex}.p-html-input__clear-btn:hover{color:#ef4444;background:#ef44440d;border-color:#fca5a5}.p-html-input__clear-btn:active{transform:translateY(1px)}@media (max-width:640px){.p-html-input{padding:10px}.p-html-input__preview{min-height:100px}}@media (prefers-color-scheme:dark){.p-html-input{background:#1f2937;border-color:#374151}.p-html-input__preview{background:linear-gradient(135deg,#2a2f42 0%,#1e2333 50%,#14181f 100%);border-color:#374151;box-shadow:inset 0 0 60px #00000080,inset 0 0 120px #0000004d,0 1px 3px #00000080}.p-html-input__preview:before{border-color:#818cf866;box-shadow:-1px -1px 14px #818cf833,inset -1px -1px 10px #818cf826}.p-html-input__preview:after{border-color:#8b5cf666;box-shadow:1px 1px 14px #8b5cf633,inset 1px 1px 10px #8b5cf626}.p-html-input__empty-state{color:#6b7280}.p-html-input__clear-btn{color:#9ca3af;border-color:#4b5563}.p-html-input__clear-btn:hover{color:#f87171;background:#f871711a;border-color:#f87171}}.p-html-editor{background:#1e1e2e;border:1px solid #313244;border-radius:8px;position:relative;overflow:hidden}.p-html-editor__toolbar{background:#181825;border-bottom:1px solid #313244;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.p-html-editor__toolbar-left{align-items:center;gap:6px;display:flex}.p-html-editor__toolbar-label{color:#89b4fa;text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600}.p-html-editor__toolbar-lines{color:#6c7086;margin-left:4px;font-size:10px}.p-html-editor__preview-toggle{color:#89b4fa;cursor:pointer;background:#89b4fa1a;border:1px solid #89b4fa33;border-radius:4px;align-items:center;gap:4px;padding:4px 10px;font-size:11px;font-weight:500;transition:all .2s;display:flex}.p-html-editor__preview-toggle:hover{background:#89b4fa33;border-color:#89b4fa59}.p-html-editor__preview-toggle--active{color:#a6e3a1;background:#a6e3a126;border-color:#a6e3a14d}.p-html-editor__preview-toggle--active:hover{background:#a6e3a140;border-color:#a6e3a173}.p-html-editor__editor{min-height:300px;max-height:60vh;display:flex}.p-html-editor__line-numbers{-webkit-user-select:none;user-select:none;background:#181825;border-right:1px solid #313244;flex-direction:column;min-width:36px;padding:12px 0;display:flex}.p-html-editor__line-number{text-align:right;color:#45475a;padding:0 8px;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;line-height:20px;display:block}.p-html-editor__textarea{color:#cdd6f4;resize:vertical;tab-size:2;white-space:pre;background:0 0;border:none;flex:1;min-height:300px;padding:12px;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace;font-size:13px;line-height:20px;overflow-x:auto}.p-html-editor__textarea::placeholder{color:#45475a}.p-html-editor__textarea:focus{outline:none}.p-html-editor__preview{border-top:1px solid #313244}.p-html-editor__preview-header{color:#a6e3a1;background:#181825;border-bottom:1px solid #313244;align-items:center;gap:6px;padding:6px 12px;font-size:11px;font-weight:500;display:flex}.p-html-editor__preview-content{color:#1e1e2e;background:#fff;min-height:80px;max-height:450px;padding:16px;font-size:14px;line-height:1.6;overflow:auto}.p-html-editor__preview-content h1,.p-html-editor__preview-content h2,.p-html-editor__preview-content h3,.p-html-editor__preview-content h4,.p-html-editor__preview-content h5,.p-html-editor__preview-content h6{margin:.5em 0;font-weight:600}.p-html-editor__preview-content p{margin:.5em 0}.p-html-editor__preview-content a{color:#3b82f6;text-decoration:underline}.p-html-editor__preview-content img{max-width:100%;height:auto}.p-html-editor__preview-content table{border-collapse:collapse;width:100%}.p-html-editor__preview-content th,.p-html-editor__preview-content td{text-align:left;border:1px solid #e5e7eb;padding:8px}.p-html-editor__preview-content th{background:#f9fafb}.p-html-editor__preview-content iframe{max-width:100%}.p-html-editor__preview-content blockquote{color:#6b7280;border-left:3px solid #e5e7eb;margin:.5em 0;padding:.5em 1em}.p-html-editor__preview-content code{background:#f3f4f6;border-radius:3px;padding:2px 6px;font-size:.9em}.p-html-editor__preview-content pre{background:#f3f4f6;border-radius:6px;padding:12px;overflow-x:auto}.p-html-editor__preview-content pre code{background:0 0;padding:0}.p-html-editor__preview-content ul,.p-html-editor__preview-content ol{margin:.5em 0;padding-left:1.5em}.p-html-editor__footer{background:#181825;border-top:1px solid #313244;align-items:center;padding:6px 12px;display:flex}.p-html-editor__help-text{color:#6c7086;font-size:10px;line-height:1.4}.p-html-modal__footer-buttons{justify-content:flex-end;gap:8px;display:flex}@media (max-width:640px){.p-html-editor__editor{min-height:200px;max-height:50vh}.p-html-editor__textarea{min-height:200px;font-size:12px}.p-html-editor__line-numbers{min-width:28px}.p-html-editor__line-number{padding:0 4px;font-size:10px}}
