/* Editeur riche partage BO + front. Extrait de admin/style*.css */
.rte-tb{display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:7px 9px;border:1px solid #ddd;border-bottom:0;border-radius:10px 10px 0 0;background:#f8f9fc;}
.rte-b{width:30px;height:30px;border:0;background:transparent;border-radius:7px;cursor:pointer;color:#5a5f7e;display:flex;align-items:center;justify-content:center;transition:all .15s;}
.rte-b:hover{background:rgba(226,125,116,.12);color:#E27D74;}
.rte-b:active{transform:scale(.92);}
.rte-sep{width:1px;height:18px;background:#e2e5ee;margin:0 5px;}
.rte-area{min-height:420px;max-height:620px;overflow-y:auto;padding:20px 22px;border:1px solid #ddd;border-radius:0 0 10px 10px;background:white;font-family:'Inter',sans-serif;font-size:14px;line-height:1.8;color:#2a2f4a;outline:none;}
.rte-area:focus{border-color:#E27D74;}
.rte-area:empty:before{content:'Redigez le contenu de cette page...';color:#c3c8d8;}
.rte-area h2{font-size:19px;font-weight:700;color:#0a0e27;margin:22px 0 10px;}
.rte-area h2:first-child{margin-top:0;}
.rte-area h3{font-size:15px;font-weight:700;color:#0a0e27;margin:18px 0 8px;}
.rte-area p{margin:0 0 12px;}
.rte-area ul,.rte-area ol{margin:0 0 14px 22px;}
.rte-area li{margin-bottom:6px;}
.rte-area a{color:#E27D74;text-decoration:underline;}
.rte-area strong{font-weight:700;color:#0a0e27;}
.rte-wrap{margin-top:4px;}
.rte-area[data-ph]:empty:before{content:attr(data-ph);color:#c3c8d8;}
.rte-area.inline{min-height:0;max-height:none;padding:11px 14px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;line-height:1.5;}
.rte-area.inline p{margin:0;display:inline;}
.rte-pal{position:fixed;z-index:200000;background:white;border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:12px;box-shadow:0 10px 40px rgba(10,14,39,.2);width:200px;}
.rte-pal-row{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:10px;}
.rte-pal-c{width:28px;height:28px;border:2px solid white;border-radius:7px;cursor:pointer;box-shadow:0 0 0 1px rgba(0,0,0,.12);transition:transform .12s;padding:0;}
.rte-pal-c:hover{transform:scale(1.15);}
.rte-pal-more{display:flex;align-items:center;gap:9px;padding-top:10px;border-top:1px solid rgba(0,0,0,.08);cursor:pointer;font-size:12px;font-weight:600;color:#5a5f7e;}
.rte-pal-pick{width:32px;height:32px;border:1px solid rgba(0,0,0,.15);border-radius:8px;cursor:pointer;padding:2px;background:white;}
.rte-pal-more:hover{color:#E27D74;}
