/* Support RU - editeur de texte enrichi partage */
/* Livraison 6 (règle RU Design : aucune priorité forcée) : les règles qui devaient
   battre le thème ou un autre logiciel portent :not(#mhhs-sans-id) sur leur
   premier sélecteur. Cet identifiant n'existe nulle part : la règle s'applique
   partout, avec la force d'un identifiant, sans priorité forcée. */
.mhhs-rte{border:1px solid #e6e7ea;border-radius:10px;overflow:hidden;background:#fff}
.mhhs-rte-bar{display:flex;gap:2px;padding:6px 8px;border-bottom:1px solid #eef0f2;background:#fafbfc}
.mhhs-rte-b{width:30px;height:28px;border:1px solid transparent;background:none;border-radius:6px;cursor:pointer;font-size:14px;line-height:1;color:#3a3f45;display:inline-flex;align-items:center;justify-content:center;font-family:inherit;padding:0}
.mhhs-rte-b:hover{background:#fff;border-color:#e6e7ea}
.mhhs-rte-b b,.mhhs-rte-b i{font-size:14px}
.mhhs-rte-link{display:flex;gap:6px;padding:8px;border-bottom:1px solid #eef0f2;background:#f6f6f4}
.mhhs-rte-link input{flex:1 1 auto;min-width:0;padding:7px 10px;border:1px solid #e6e7ea;border-radius:7px;font-size:13px;font-family:inherit}
.mhhs-rte-lk-ok{border:none;background:var(--ru-accent,#1d5c8f);color:var(--ru-sur-accent,#FFFFFF);border-radius:7px;padding:0 14px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit}
.mhhs-rte-lk-x{border:1px solid #e6e7ea;background:#fff;border-radius:7px;width:32px;cursor:pointer;font-size:16px;line-height:1;color:#888}
.mhhs-rte-ed{min-height:90px;max-height:340px;overflow-y:auto;padding:11px 13px;font-size:14px;line-height:1.55;font-family:inherit;color:var(--ru-texte,#0e2438);outline:none}
.mhhs-rte-ed:empty::before{content:attr(data-ph);color:#9aa0a6}
.mhhs-rte-ed p{margin:0 0 8px}
.mhhs-rte-ed ul,.mhhs-rte-ed ol{margin:0 0 8px;padding-left:22px}
.mhhs-rte-ed a{color:var(--ru-accent,#1d5c8f);text-decoration:underline}
.mhhs-rte:focus-within{border-color:var(--ru-accent,#1d5c8f);box-shadow:0 0 0 3px var(--ru-accent-doux,rgba(44,111,181,.12))}

/* Boutons d action sur une bulle (modifier / supprimer une reponse) */
.mhhs-bubble{position:relative}
.mhhs-bubble-acts{position:absolute;top:8px;right:10px;display:flex;gap:6px;opacity:0;transition:opacity .12s}
.mhhs-bubble:hover .mhhs-bubble-acts{opacity:1}
/* Appareils tactiles (sans survol) : toujours visibles, sinon inaccessibles. */
@media (hover:none){.mhhs-bubble-acts{opacity:1}}
.mhhs-bubble-act{border:1px solid #e6e7ea;background:#fff;border-radius:6px;font-size:11px;font-weight:600;padding:3px 8px;cursor:pointer;color:#3a3f45;font-family:inherit;line-height:1.4}
.mhhs-bubble-act:hover{border-color:var(--ru-accent,#1d5c8f)}
.mhhs-bubble-act.is-del:hover{border-color:#d63638;color:#d63638}
.mhhs-bubble.is-editing .mhhs-bubble-b{display:none}
.mhhs-bubble-edit{margin-top:6px}
.mhhs-bubble-edit-actions{display:flex;gap:8px;align-items:center;margin-top:8px}
.mhhs-bubble-edited{font-size:11px;color:#9aa0a6;font-style:italic;margin-left:6px}

/* Standard mobile RU (2026-10-04) : champs à 16 px sur écran tactile (pas de zoom au focus). */
@media (max-width:999px) and (pointer:coarse){:is(.mhhs-portal,.mhhs-mod,.mhhs-faq,.mhhs-rte,.mhhs-prio,[class*="mhhs-prio-"]):not(#mhhs-sans-id) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){font-size:16px}}
