.content-rich-workspace{min-width:0;background:#fff;border:1px solid #dce4f4;border-radius:12px;overflow:clip}
.rich-editor-chrome{position:sticky;top:0;z-index:5;background:#fff}
.content-longform-workspace .rich-editor-chrome{position:static}
.content-longform-workspace .rich-prose :is(figure,p,h1,h2,h3,h4,table){scroll-margin-top:var(--longform-rich-content-top,300px)}
.rich-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:9px 12px;background:#f7f9ff;border-bottom:1px solid #dce4f4}
.rich-tool-group{display:flex;align-items:center;gap:3px;border-right:1px solid #dce4f4;padding-right:6px;max-width:100%;flex-wrap:wrap}
.rich-toolbar-break{flex-basis:100%;height:0;border-top:1px solid #e4eaf5;margin-top:3px}
.rich-editor-focus{position:fixed!important;inset:16px!important;width:auto!important;max-width:none!important;margin:0!important;overflow:auto!important;z-index:1200!important;box-shadow:0 0 0 30px #17254066}
.content-longform-workspace .rich-editor-focus .rich-editor-chrome{position:sticky;top:0}
.rich-tool-group:last-child{border:0}.rich-toolbar button,.rich-context button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border:1px solid transparent;border-radius:5px;background:transparent;color:#31486b;cursor:pointer;padding:5px}
.rich-toolbar button svg{height:18px;width:18px}.rich-toolbar button:hover,.rich-context button:hover{background:#e6ecff}.rich-toolbar button[aria-pressed=true],.rich-context button[aria-pressed=true]{background:#dfe7ff;border-color:#abbdfa;color:#3156e8}.rich-toolbar button:disabled{opacity:.35;cursor:default}
.rich-toolbar select{height:30px;border:1px solid #dce4f4;border-radius:5px;max-width:108px;background:white;color:#31486b;font:12px inherit;padding:0 5px}
.rich-color{display:flex;align-items:center;justify-content:center;position:relative;height:28px;width:28px;color:#263c63;font-weight:bold;border-bottom:3px solid #3156e8;cursor:pointer}.rich-color input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.rich-highlight{background:#fff1a6}
.rich-context,.rich-inline-panel{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 14px;background:#f5f8ff;border-bottom:1px solid #dce4f4;font-size:12px}.rich-context[hidden],.rich-inline-panel[hidden],[data-rich-preview][hidden],[data-rich-editor][hidden]{display:none!important}
.rich-inline-panel label{display:flex;align-items:center;gap:8px}.rich-inline-panel input{max-width:230px;border:1px solid #bdcced;border-radius:5px;padding:7px}.rich-inline-panel button{border:1px solid #bdcced;border-radius:5px;background:white;padding:6px 10px;color:#3156e8;cursor:pointer}.rich-message{font-size:12px;color:#a36013;padding:0 14px}.rich-message:empty{display:none}
.rich-prose{font:16px/1.8 'Microsoft YaHei',Arial,sans-serif;color:#233858;outline:none;padding:28px 32px;min-height:420px;overflow-wrap:anywhere;white-space:pre-wrap}
.rich-prose p{margin:0 0 16px}.rich-prose h1{font-size:26px;line-height:1.5;margin:0 0 22px}.rich-prose h2{font-size:21px;line-height:1.6;margin:24px 0 14px}.rich-prose h3{font-size:18px;margin:20px 0 12px}.rich-prose h4{font-size:16px;margin:16px 0 10px}.rich-prose ul,.rich-prose ol{padding-left:28px}.rich-prose blockquote{border-left:3px solid #6b87f4;margin:16px 0;padding:4px 16px;color:#516786;background:#f6f8ff}.rich-prose hr{border:0;border-top:1px solid #d8e2f3;margin:24px 0}
.rich-prose table{border-collapse:collapse;width:100%;margin:16px 0;table-layout:fixed}.rich-prose th,.rich-prose td{border:1px solid #b9cae6;min-width:40px;padding:8px;vertical-align:top;position:relative}.rich-prose th{background:#edf2ff;text-align:left}.rich-prose td p,.rich-prose th p{margin:0}.rich-prose .selectedCell:after{content:'';position:absolute;inset:0;background:#6385e233;pointer-events:none}
.rich-prose figure{max-width:100%;margin:20px auto;position:relative}.rich-prose figure img{display:block;max-width:100%;height:auto;border-radius:7px}.rich-prose figcaption{font-size:12px;line-height:1.6;text-align:center;color:#6c7f9b;margin-top:7px}.rich-prose .ProseMirror-selectednode{outline:2px solid #4666ed;outline-offset:3px}.rich-prose a{color:#3156e8;text-decoration:underline}
.rich-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid #dce4f4;font-size:12px;color:#6c7f9b;background:#fafbff}.rich-footer .button{margin-left:auto}
.rich-statsbar{display:flex;justify-content:space-between;align-items:center;padding:7px 14px;border-bottom:1px solid #e6ebf6;color:#6c7f9b;font-size:12px}.rich-statsbar button{border:0;background:transparent;color:#3156e8;font:inherit;cursor:pointer}.rich-statsbar button:disabled{opacity:.4;cursor:default}
@media(max-width:800px){.rich-prose{padding:18px 14px;font-size:15px}.rich-toolbar{padding:6px;gap:3px}.rich-tool-group{gap:1px;padding-right:3px}.rich-footer{flex-wrap:wrap}.rich-inline-panel input{max-width:170px}}
