.rich-edit-launch{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:6px 0 20px}.rich-edit-launch button{font-size:12px;padding:8px 12px;background:#26424d;color:#f0d49a;border:1px solid #57717a}.wff-rich-dialog{width:min(1120px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #789491;border-radius:16px;background:#101f28;color:#eee9dc;box-shadow:0 25px 90px #000b;overflow:auto}.wff-rich-dialog::backdrop{background:#02090ddd}.rich-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 24px;border-bottom:1px solid #526878}.rich-dialog-head h2{font-size:26px;margin:6px 0 0}.rich-dialog-head button{background:#263e49;color:#ecd39f}.rich-mode-bar,.rich-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid #465b66;background:#1a303b}.rich-mode-bar button,.rich-toolbar button{font-size:12px;padding:8px 10px;background:#2b4550;color:#f1e5c8;border:1px solid #5c747c}.rich-mode-bar button[aria-pressed=true]{background:#e4c88e;color:#172630}.rich-mode-bar [data-count]{margin-left:auto;font-size:12px;color:#b8cccb}.rich-toolbar select{width:auto;margin:0;padding:7px;background:#11232c;color:#f1e7cf;border:1px solid #6d8489}.rich-toolbar label{display:inline-flex;align-items:center;gap:5px;margin:0;font-size:11px}.rich-toolbar input[type=color]{width:30px!important;height:30px;padding:0;margin:0;border:0}.rich-editor-surface{background:#0d1d26;min-height:340px;padding:22px}.rich-editor-surface .tiptap{min-height:300px;outline:0;caret-color:#f1d59b}.rich-editor-surface .tiptap p.is-editor-empty:first-child:before{content:'Écris ta présentation…';color:#8fa8ac}.rich-source-label{padding:20px;margin:0;font-size:14px}.rich-source-label textarea{font:13px/1.6 Consolas,monospace!important;min-height:360px;color:#dfeced;background:#07151d}.rich-dialog-foot{position:sticky;bottom:0;background:#122630f5;border-top:1px solid #688087;padding:12px 20px}.rich-dialog-foot>div{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.rich-dialog-foot p{font-size:13px;margin:0 0 10px}.rich-dialog-foot button{font-size:13px;padding:10px 14px}.rich-dialog-foot [data-cancel],.rich-dialog-foot [data-preview]{background:#29434d;color:#ecd39f}.rich-preview{border:1px solid #b89d64;margin:18px;padding:20px;border-radius:8px}.rich-preview:before{content:'APERÇU DU CONTENU';display:block;font-size:10px;letter-spacing:2px;color:#d4ba80;margin-bottom:20px}.rich-content{line-height:1.8;overflow-wrap:anywhere;white-space:normal}.rich-content:empty{display:none}.rich-content p{margin:.7em 0}.rich-content h2,.rich-content h3,.rich-content h4{color:#f0dba9;margin:1em 0 .4em;line-height:1.3}.rich-content h2{font-size:28px}.rich-content h3{font-size:23px}.rich-content h4{font-size:19px}.rich-content img{display:block;max-width:100%;height:auto;border-radius:8px;margin:14px 0}.rich-content blockquote{border-left:3px solid #d4ba80;padding:8px 18px;margin:18px 0;background:#203a42}.rich-content pre{white-space:pre-wrap;overflow-x:auto;background:#06131c;border:1px solid #46616b;border-radius:8px;padding:18px;line-height:1.6;color:#d7edf0}.rich-content code{font:13px/1.6 Consolas,monospace;background:#07171f;border-radius:4px;padding:2px 5px}.rich-content pre code{padding:0;background:none}.rich-content table{width:100%;border-collapse:collapse;table-layout:fixed;margin:18px 0}.rich-content th,.rich-content td{border:1px solid #607782;padding:10px;vertical-align:top;min-width:40px}.rich-content th{background:#26414d;color:#f0d8a5}.rich-content hr{border:0;border-top:1px solid #7a8e8a;margin:24px 0}.rich-content li{margin:5px 0}.rich-content .rich-callout{padding:16px;background:#27454b;border-left:3px solid #d4ba80}.rich-content .rich-muted{color:#9cb4b8}.rich-link,.rich-library{padding:16px;border-bottom:1px solid #526a76}.rich-link input{max-width:650px}.rich-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:300px;overflow:auto}.rich-library-grid button{display:flex;flex-direction:column;gap:8px;font-size:11px;background:#243d48;color:#eee7d7;padding:8px;overflow:hidden}.rich-library-grid img{width:100%;height:80px;object-fit:cover}.rich-library-grid span{overflow-wrap:anywhere}.wff-rich-dialog [hidden]{display:none!important}.wff-rich-dialog .selectedCell{background:#4f6c7b}.wff-rich-dialog .column-resize-handle{background:#d4ba80;width:4px;position:absolute;right:-2px;top:0;bottom:0}.wff-rich-dialog td,.wff-rich-dialog th{position:relative}@media(max-width:650px){.rich-dialog-head{padding:14px}.rich-dialog-head h2{font-size:21px}.rich-toolbar{gap:5px;padding:10px}.rich-toolbar button{font-size:11px;padding:7px}.rich-editor-surface{padding:16px;min-height:260px}.rich-dialog-foot>div{justify-content:stretch}.rich-dialog-foot button{flex:1}.rich-content table{font-size:12px}.rich-content td,.rich-content th{padding:6px}.rich-content h2{font-size:24px}}
