.rich-note-editor-dialog{width:min(1300px,97vw);max-width:97vw;height:93dvh;max-height:93dvh;padding:0;border:1px solid var(--line,#445161);border-radius:10px;background:var(--panel,#20252d);color:var(--ink,#edf2f8);box-sizing:border-box;overflow:hidden}
.rich-note-editor-dialog::backdrop{background:#07101ab3}.rich-note-editor-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line,#445161)}.rich-note-editor-dialog h2{font-size:18px;margin:0}.rich-note-editor-dialog header p{font-size:12px;margin:5px 0 0}.rich-note-editor-dialog>iframe{display:block;width:100%;height:calc(100% - 106px);border:0;background:#edf0f4}.rich-note-parent-status{margin:0;padding:6px 16px;min-height:18px;font-size:12px}
.rich-note-frame{margin:0;display:flex;flex-direction:column;height:100dvh;overflow:hidden;font:13px Arial,sans-serif;color:#263445;background:#edf0f4}.rich-note-frame *{box-sizing:border-box}.rich-note-frame button,.rich-note-frame input,.rich-note-frame select{font:inherit;color:inherit;border:1px solid #cbd3df;border-radius:4px;background:#fff;padding:6px;min-width:0}.rich-note-frame button{cursor:pointer;white-space:nowrap}.rich-note-frame button:hover{background:#e8f0fb}.rich-note-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:9px;background:#fff;border-bottom:1px solid #cbd3df;max-height:180px;overflow:auto}.rich-note-toolbar label{display:flex;gap:4px;align-items:center}.rich-note-toolbar input[type=color]{width:34px;height:29px;padding:2px}.rich-note-workspace{display:flex;gap:14px;padding:18px;overflow:auto;flex:1;min-height:0;align-items:flex-start}.rich-note-paper{width:210mm;max-width:100%;margin:0 auto;flex:0 1 210mm;background:#fff;box-shadow:0 1px 5px #17212f22;padding:12mm;min-width:250px}.rich-note-frame #wrapper{width:100%;position:relative;outline:0;font:9pt/1.35 EESR,Arial,sans-serif;color:#17212f;min-height:180px;white-space:pre-wrap}.rich-note-frame #wrapper:focus{outline:1px solid #91a6bf;outline-offset:6px}.rich-note-frame #wrapper p{margin:0 0 2mm}.rich-note-frame #wrapper .tableWrapper{overflow-x:auto}.rich-note-frame #wrapper .selectedCell{background:#d9e8fa}.rich-note-frame #wrapper .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:4px;background:#4384cb;pointer-events:none}.rich-note-frame #wrapper .resize-cursor{cursor:col-resize}
.rich-note-image-node{display:inline-block;vertical-align:top;line-height:0;box-sizing:border-box;max-width:100%;z-index:1}.rich-note-image-node img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;object-fit:fill}.rich-note-image-node.is-floating{cursor:move;touch-action:none}.rich-note-image-node.is-selected{outline:2px solid #2768c3;outline-offset:2px}.rich-note-image-resize{display:none;position:absolute;bottom:-5px;right:-5px;width:12px;height:12px;border:2px solid #2768c3;border-radius:2px;background:#fff;cursor:nwse-resize;touch-action:none}.is-selected>.rich-note-image-resize{display:block}#richImageEditor{width:210px;flex-shrink:0;background:#fff;border:1px solid #dbe2ea;padding:12px}#richImageEditor[hidden]{display:none}#richImageEditor h2{font-size:14px;margin:0 0 10px}#richImageEditor label{display:flex;flex-direction:column;gap:4px;margin:8px 0}#richImageEditor button{margin:3px 0}.rich-note-status{background:#fff;padding:6px 12px;border-top:1px solid #cbd3df;font-size:11px}.rich-note-status p{margin:0}
.eesr-rich-note-content{font:9pt/1.35 EESR,Arial,sans-serif;color:#17212f;white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.eesr-rich-note-content *{box-sizing:border-box}.eesr-rich-note-content p{margin:0 0 2mm}.eesr-rich-note-content table{border-collapse:collapse;width:100%;margin:2mm 0}.eesr-rich-note-content th,.eesr-rich-note-content td{border:1px solid #cbd5e1;padding:1.5mm;vertical-align:top}.eesr-rich-note-content h1{font-size:18pt}.eesr-rich-note-content h2{font-size:12pt}.eesr-rich-note-content h3{font-size:10pt}.eesr-rich-note-content img{max-width:100%;height:auto}.eesr-rich-image{line-height:0;box-sizing:border-box;pointer-events:auto}.rich-note-formatted-preview{background:#fff;color:#17212f;border:1px solid #cbd3df;padding:10px;min-height:75px;cursor:text;overflow:auto}
.rich-table-repair-dialog{width:min(1600px,97vw);max-width:97vw;max-height:95dvh;padding:16px;border:1px solid #bac7d8;border-radius:8px;background:#f4f6f9;color:#263445;overflow:auto}.rich-table-repair-dialog::backdrop{background:#07101ab3}.rich-table-repair-dialog>header,.rich-table-repair-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.rich-table-repair-dialog h2{font-size:18px;margin:0}.rich-table-repair-dialog h3{font-size:13px;margin:0 0 8px}.rich-table-repair-intro{font-weight:bold}.rich-table-repair-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:16px 0}.rich-table-repair-scroll{max-height:60dvh;overflow:auto;border:1px solid #cbd3df;background:#fff}.rich-table-repair-content{width:100%;min-width:250px;max-width:none;padding:12px}.rich-table-repair-dialog>footer>p{flex:1}.rich-table-repair-dialog [data-table-repair=apply]{font-weight:bold;background:#183b64;color:#fff}.rich-table-repair-dialog p{line-height:1.4}
@media(max-width:760px){.rich-table-repair-panels{grid-template-columns:minmax(0,1fr)}.rich-table-repair-dialog>footer{flex-direction:column;align-items:stretch}}
@media(max-width:760px){.rich-note-toolbar{max-height:145px}.rich-note-workspace{padding:8px;gap:8px;flex-direction:column;align-items:stretch}.rich-note-paper{width:100%;min-width:0;padding:6mm}#richImageEditor{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}#richImageEditor h2,#richImageEditor p{grid-column:1/-1}.rich-note-editor-dialog>header{padding:9px 12px}.rich-note-frame button{min-height:34px}.rich-note-frame input,.rich-note-frame select{font-size:16px}}
