.html-block-node{margin:.85rem 0;border:1px dashed #64748b;border-radius:10px;background:#0f172a;overflow:hidden}.html-block-node__bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:.5rem;padding:.4rem .65rem;background:#1e293b;border-bottom:1px solid #334155}.html-block-node__badge{font-size:.7rem;font-weight:700;letter-spacing:.04em;color:#38bdf8;font-family:Consolas,Courier New,monospace}.html-block-node__actions{display:-webkit-box;display:-ms-flexbox;display:flex;gap:.35rem}.html-block-node__btn{border:1px solid #475569;background:#334155;color:#e2e8f0;border-radius:6px;padding:.2rem .55rem;font-size:.75rem;cursor:pointer;line-height:1.4}.html-block-node__btn.active,.html-block-node__btn:hover{background:#0284c7;border-color:#0284c7;color:#fff}.html-block-node__editor{display:block;width:100%;min-height:120px;padding:.75rem .85rem;border:none;outline:none;resize:vertical;background:#0f172a;color:#e2e8f0;font-family:Consolas,Courier New,ui-monospace,monospace;font-size:.8125rem;line-height:1.65;-webkit-box-sizing:border-box;box-sizing:border-box;direction:ltr;text-align:left}.html-block-node__preview{padding:.85rem 1rem;background:#fff;color:#12121f;min-height:2.5rem;line-height:1.7}.html-block-node__preview .html-block-node__empty{margin:0;color:#94a3b8;font-size:.85rem}.dark .html-block-node__preview{background:#18181b;color:#f4f4f5}.editorjs-root,.tiptap-editor-root{max-width:100%;min-width:0;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box}.tiptap-editor-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:.2rem;padding:.45rem .55rem;margin-bottom:.65rem;border:1px solid #e8e8ec;border-radius:12px;background:#fff;-webkit-box-shadow:0 1px 2px rgba(16,24,40,.04);box-shadow:0 1px 2px rgba(16,24,40,.04);direction:rtl}.tiptap-editor-toolbar,.tiptap-toolbar-group{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tiptap-toolbar-group{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:.1rem}.tiptap-toolbar-divider{width:1px;height:1.5rem;background:#ececf1;margin:0 .2rem;-ms-flex-negative:0;flex-shrink:0}.tiptap-toolbar-btn{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:.25rem;min-width:2rem;height:2rem;padding:0 .4rem;border:none;border-radius:8px;background:transparent;color:#3f3f46;cursor:pointer;-webkit-transition:background .15s ease,color .15s ease;transition:background .15s ease,color .15s ease}.tiptap-toolbar-btn--wide{min-width:auto;padding:0 .55rem}.tiptap-toolbar-btn:hover:not(:disabled){background:#f4f4f5}.tiptap-toolbar-btn.active{background:#eef2ff;color:#4338ca}.tiptap-toolbar-btn:disabled{opacity:.4;cursor:not-allowed}.tiptap-icon{width:1.05rem;height:1.05rem;stroke:currentColor;fill:none;-ms-flex-negative:0;flex-shrink:0}.tiptap-icon circle,.tiptap-icon path,.tiptap-icon rect{vector-effect:non-scaling-stroke}.tiptap-icon--xs{width:.85rem;height:.85rem;opacity:.65}.tiptap-btn-text,.tiptap-heading-label{font-size:.78rem;font-weight:600;white-space:nowrap}.tiptap-color-indicator{position:absolute;bottom:3px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:.7rem;height:3px;border-radius:999px}.tiptap-toolbar-dropdown{position:relative}.tiptap-dropdown-panel{position:absolute;top:calc(100% + 6px);right:0;z-index:40;min-width:10.5rem;padding:.35rem;border:1px solid #e8e8ec;border-radius:10px;background:#fff;-webkit-box-shadow:0 10px 30px rgba(15,23,42,.12);box-shadow:0 10px 30px rgba(15,23,42,.12)}.tiptap-dropdown-item{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:.45rem .6rem;border:none;border-radius:7px;background:transparent;color:#27272a;font-size:.84rem;text-align:right;cursor:pointer}.tiptap-dropdown-item.active,.tiptap-dropdown-item:hover{background:#f4f4f5}.tiptap-dropdown-item .preview-h1{font-size:1.2rem;font-weight:800}.tiptap-dropdown-item .preview-h2{font-size:1.05rem;font-weight:800}.tiptap-dropdown-item .preview-h3{font-size:.95rem;font-weight:700}.tiptap-dropdown-item .preview-h4{font-size:.88rem;font-weight:700}.tiptap-dropdown-item .preview-h5{font-size:.82rem;font-weight:700}.tiptap-dropdown-item .preview-h6{font-size:.78rem;font-weight:700}.tiptap-dropdown-item .preview-p{font-size:.84rem}.tiptap-color-panel{min-width:12rem}.tiptap-color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:.35rem;padding:.25rem .35rem .5rem}.tiptap-color-swatch{width:1.35rem;height:1.35rem;border:1px solid rgba(0,0,0,.08);border-radius:6px;cursor:pointer;padding:0}.tiptap-color-swatch:hover{-webkit-transform:scale(1.06);transform:scale(1.06)}.tiptap-color-custom{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:.5rem;padding:.35rem .55rem .5rem;font-size:.78rem;color:#6b7280}.tiptap-color-custom input[type=color]{width:2rem;height:1.5rem;border:none;padding:0;background:transparent;cursor:pointer}.editorjs-holder,.tiptap-editor-holder{direction:rtl!important;text-align:right!important;max-width:100%;min-height:280px;border-radius:12px;background:#fff}.tiptap-source-wrap{position:relative;width:100%;min-height:320px;border:1px solid #3c3c3c;border-radius:12px;background:#1e1e1e;overflow:hidden}.tiptap-source-editor,.tiptap-source-highlight,.tiptap-source-wrap{direction:ltr!important;text-align:left!important;-webkit-box-sizing:border-box;box-sizing:border-box}.tiptap-source-editor,.tiptap-source-highlight{margin:0;padding:1rem 1.1rem;font-family:Consolas,Courier New,ui-monospace,SFMono-Regular,Menlo,Monaco,monospace;font-size:.875rem;line-height:1.7;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;-moz-tab-size:2;-o-tab-size:2;tab-size:2;border:none}.tiptap-source-highlight{position:absolute;inset:0;overflow:auto;pointer-events:none;color:#d4d4d4;background:transparent}.tiptap-source-highlight code{display:block;font:inherit;white-space:inherit;word-wrap:inherit;color:inherit}.tiptap-source-editor{position:relative;z-index:1;display:block;width:100%;min-height:320px;background:transparent;color:transparent;-webkit-text-fill-color:transparent;caret-color:#aeafad;resize:vertical;outline:none;overflow:auto}.tiptap-source-editor::-moz-selection{background:rgba(38,79,120,.55)}.tiptap-source-editor::selection{background:rgba(38,79,120,.55)}.tiptap-source-wrap:focus-within{border-color:#007acc;-webkit-box-shadow:0 0 0 1px #007acc;box-shadow:0 0 0 1px #007acc}.tiptap-source-wrap .tok-tag{color:#569cd6}.tiptap-source-wrap .tok-attr{color:#9cdcfe}.tiptap-source-wrap .tok-string{color:#ce9178}.tiptap-source-wrap .tok-comment{color:#6a9955}.tiptap-source-wrap .tok-punct{color:grey}.tiptap-source-wrap .tok-text{color:#d4d4d4}.dark .tiptap-source-wrap{background:#1e1e1e;border-color:#3c3c3c}.tiptap-editor-holder .tiptap-editor__content{min-height:260px;padding:1rem 1.1rem;outline:none;color:#12121f;line-height:1.8;font-size:1rem}.tiptap-editor-holder .tiptap-editor__content:focus{outline:none}.tiptap-editor-holder .tiptap-editor__content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:right;color:#9ca3af;pointer-events:none;height:0}.tiptap-editor-holder .tiptap-editor__content h1,.tiptap-editor-holder .tiptap-editor__content h2,.tiptap-editor-holder .tiptap-editor__content h3,.tiptap-editor-holder .tiptap-editor__content h4,.tiptap-editor-holder .tiptap-editor__content h5,.tiptap-editor-holder .tiptap-editor__content h6{font-weight:800;line-height:1.45;margin:1rem 0 .5rem}.tiptap-editor-holder .tiptap-editor__content h1{font-size:1.75rem}.tiptap-editor-holder .tiptap-editor__content h2{font-size:1.45rem}.tiptap-editor-holder .tiptap-editor__content h3{font-size:1.2rem}.tiptap-editor-holder .tiptap-editor__content h4{font-size:1.05rem}.tiptap-editor-holder .tiptap-editor__content h5{font-size:.95rem}.tiptap-editor-holder .tiptap-editor__content h6{font-size:.88rem}.tiptap-editor-holder .tiptap-editor__content p{margin:.55rem 0}.tiptap-editor-holder .tiptap-editor__content ol,.tiptap-editor-holder .tiptap-editor__content ul{margin:.65rem 0;padding-right:1.35rem;padding-left:0}.tiptap-editor-holder .tiptap-editor__content mark{border-radius:.2rem;padding:.05rem .15rem}.tiptap-editor-holder .tiptap-editor__content a{color:#4338ca;text-decoration:underline}.tiptap-editor-holder .tiptap-editor__content img,.tiptap-editor-holder .tiptap-image{max-width:100%;border-radius:10px;margin-top:.75rem;margin-bottom:.75rem;display:block;cursor:pointer}.tiptap-editor-holder .tiptap-editor__content img:not([style*=height]),.tiptap-editor-holder .tiptap-image:not([style*=height]){height:auto}.tiptap-editor-holder .tiptap-editor__content img.ProseMirror-selectednode,.tiptap-editor-holder .tiptap-image.ProseMirror-selectednode{outline:2px solid #38bdf8;outline-offset:2px}.tiptap-image-ctx-overlay,.tiptap-image-modal-overlay{position:fixed;inset:0;z-index:10050;background:transparent}.tiptap-image-modal-overlay{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.35)}.tiptap-image-ctx{position:fixed;min-width:148px;padding:.3rem;border-radius:10px;background:#fff;border:1px solid #e5e7eb;-webkit-box-shadow:0 12px 28px rgba(15,23,42,.16);box-shadow:0 12px 28px rgba(15,23,42,.16);direction:rtl;z-index:10051}.tiptap-image-ctx__item{display:block;width:100%;border:0;background:transparent;text-align:right;padding:.55rem .7rem;border-radius:8px;font-size:.88rem;color:#1f2937;cursor:pointer}.tiptap-image-ctx__item.active,.tiptap-image-ctx__item:hover{background:#eef2ff;color:#4338ca}.tiptap-image-ctx__item--danger{color:#dc2626}.tiptap-image-ctx__item--danger:hover{background:#fef2f2;color:#dc2626}.tiptap-image-ctx__divider{height:1px;margin:.25rem .35rem;background:#e5e7eb}.tiptap-image-modal{position:relative;width:min(420px,calc(100vw - 16px));max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:14px;-webkit-box-shadow:0 20px 50px rgba(15,23,42,.2);box-shadow:0 20px 50px rgba(15,23,42,.2);direction:rtl;z-index:10052}.tiptap-image-modal__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid #e5e7eb}.tiptap-image-modal__header h3{margin:0;font-size:.98rem;font-weight:700;color:#1f2937}.tiptap-image-modal__close{border:0;background:transparent;font-size:1.4rem;line-height:1;color:#6b7280;cursor:pointer;padding:.1rem .35rem}.tiptap-image-modal__preview{padding:.85rem 1rem 0}.tiptap-image-modal__preview img{display:block;max-width:100%;max-height:160px;margin:0 auto;border-radius:8px;-o-object-fit:contain;object-fit:contain;background:#f8fafc}.tiptap-image-modal__body{padding:1rem;display:grid;gap:.75rem}.tiptap-image-field{display:grid;gap:.35rem}.tiptap-image-field span{font-size:.82rem;color:#4b5563}.tiptap-image-field input{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:.55rem .7rem;font-size:.9rem;background:#fff;color:#111827}.tiptap-image-field input:focus{outline:none;border-color:#6366f1;-webkit-box-shadow:0 0 0 3px rgba(99,102,241,.15);box-shadow:0 0 0 3px rgba(99,102,241,.15)}.tiptap-image-field-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.tiptap-image-hint{margin:0;font-size:.75rem;color:#6b7280}.tiptap-image-modal__form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-height:0}.tiptap-image-modal__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.5rem;padding:0 1rem 1rem}.tiptap-image-btn{border:0;border-radius:8px;padding:.5rem .95rem;font-size:.875rem;cursor:pointer;line-height:1.25}button.tiptap-image-btn--ghost{background-color:#f3f4f6;color:#374151}button.tiptap-image-btn--primary{background-color:var(--main-color,#111827);color:#fff}button.tiptap-image-btn--primary:hover{-webkit-filter:brightness(.95);filter:brightness(.95)}.dark .tiptap-image-ctx,.dark .tiptap-image-modal{background:#27272a;border-color:#3f3f46}.dark .tiptap-image-ctx__item{color:#f4f4f5}.dark .tiptap-image-ctx__item.active,.dark .tiptap-image-ctx__item:hover{background:#312e81;color:#c7d2fe}.dark .tiptap-image-ctx__divider{background:#3f3f46}.dark .tiptap-image-modal__header{border-bottom-color:#3f3f46}.dark .tiptap-image-field span,.dark .tiptap-image-modal__header h3{color:#f4f4f5}.dark .tiptap-image-field input{background:#18181b;border-color:#52525b;color:#f4f4f5}.dark button.tiptap-image-btn--ghost{background-color:#3f3f46;color:#e4e4e7}.tiptap-editor-holder .html-block-node.ProseMirror-selectednode,.tiptap-editor-holder .html-block-node:has(.ProseMirror-selectednode){outline:2px solid #38bdf8;outline-offset:1px}.tiptap-editor-holder .tiptap-editor__content table{width:100%;border-collapse:collapse;margin:.75rem 0;direction:rtl}.tiptap-editor-holder .tiptap-editor__content td,.tiptap-editor-holder .tiptap-editor__content th{border:1px solid #e5e7eb;padding:.45rem .6rem;text-align:right;vertical-align:top}.tiptap-editor-holder .tiptap-editor__content th{background:#f3f4f6;font-weight:700}.tiptap-editor-root.is-uploading{opacity:.92}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dark .tiptap-editor-toolbar{background:#27272a;border-color:#3f3f46}.dark .tiptap-toolbar-btn{color:#e4e4e7}.dark .tiptap-toolbar-btn:hover:not(:disabled){background:#3f3f46}.dark .tiptap-toolbar-btn.active{background:#312e81;color:#c7d2fe}.dark .tiptap-dropdown-panel{background:#27272a;border-color:#3f3f46}.dark .tiptap-dropdown-item{color:#f4f4f5}.dark .tiptap-dropdown-item.active,.dark .tiptap-dropdown-item:hover{background:#3f3f46}.dark .editorjs-holder,.dark .tiptap-editor-holder{background:#18181b;border-color:#3f3f46}.dark .tiptap-editor-holder .tiptap-editor__content{color:#f4f4f5}