/* La fiche et les bulles restent dans leur colonne, même avec une URL sans espace. */
.mhhs-app .mhhs-ticket{grid-template-columns:minmax(0,1fr) 300px}
@media(max-width:960px){.mhhs-app .mhhs-ticket{grid-template-columns:minmax(0,1fr)}}
.mhhs-ticket-main,.mhhs-thread,.mhhs-bubble,.mhhs-b-main,.mhhs-bubble-b,.mv-bub{min-width:0}
.mhhs-bubble,.mhhs-b-main,.mhhs-bubble-b,.mv-bub{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
.mhhs-bubble-b a,.mhhs-bubble-b code,.mhhs-original pre,.mv-bub a{overflow-wrap:anywhere;word-break:normal}
.mhhs-bubble-b img,.mv-bub img{max-width:100%;height:auto}
.mhhs-bubble-b pre,.mv-bub pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.mhhs-bubble-b table,.mv-bub table{max-width:100%;table-layout:fixed}
/* Courriel HTML : styles locaux filtrés, tableaux et images adaptés à la largeur. */
.mhhs-email-content{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere;isolation:isolate}
.mhhs-email-content div,.mhhs-email-content p,.mhhs-email-content td,.mhhs-email-content th{min-width:0;max-width:100%;overflow-wrap:anywhere}
/* Exception voulue (livraison 6) : le contenu d'un courriel reçu garde ses propres
   attributs de style (largeurs fixes) ; seule une priorité forcée les ramène dans
   la colonne du billet. Rien d'autre du Portail n'en utilise. */
.mhhs-email-content table{width:100%!important;max-width:100%!important;table-layout:fixed;border-collapse:collapse}
.mhhs-email-content td,.mhhs-email-content th{padding:8px}
.mhhs-email-content a{color:inherit;text-decoration:underline}
.mhhs-email-content img{display:block;max-width:100%!important;width:auto;height:auto!important;margin:8px auto}
.mhhs-email-content h1,.mhhs-email-content h2,.mhhs-email-content h3{line-height:1.3;margin:12px 0}
.mhhs-email-content h1{font-size:26px}.mhhs-email-content h2{font-size:23px}.mhhs-email-content h3{font-size:20px}
.mhhs-email-content .mhhs-email-image{display:block;padding:12px;margin:6px 0;border:1px dashed #8996a8;border-radius:6px;font-size:13px}
.mhhs-email-content .mhhs-email-images-control{padding:10px;margin:0 0 12px;background:#f1f5fa;color:#1d2327;border-radius:6px}
.mhhs-email-content .mhhs-email-images-toggle{color:#1d5c8f;font-weight:600;text-decoration:underline;cursor:pointer}
.mhhs-email-media-list{margin-top:14px;padding:14px;border:1px solid #cad8e7;border-radius:10px;background:#f4f8fc;color:#172b40;min-width:0;max-width:100%;overflow-wrap:anywhere}
.mhhs-email-media-list h4{margin:0 0 10px;font-size:16px}
.mhhs-email-video-card{padding:12px;border:1px solid #cad8e7;border-radius:8px;background:#fff;margin:8px 0}
.mhhs-email-video-card strong{display:block;font-size:16px;margin-bottom:8px}
.mhhs-email-video-url{display:block;overflow-wrap:anywhere;color:#1d5c8f;margin:8px 0}
.mhhs-email-video-play{display:inline-block;padding:10px 18px;border-radius:6px;background:#1d5c8f;color:#fff!important;text-decoration:none}
.mhhs-email-youtube-player{display:block;border:0;width:100%;max-width:100%;aspect-ratio:16/9;margin-top:10px}
.mhhs-email-media-control{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:13px}
.mhhs-email-media-warning{margin:0 0 10px;color:#765414}
.mhhs-atts .mhhs-atts-sum .mhhs-clip{display:inline-flex;flex:0 0 16px;width:16px}
.mhhs-atts .mhhs-atts-sum .mhhs-clip svg{width:16px;height:16px}
.mhhs-atts .mhhs-att-img{flex-direction:column;gap:0;min-width:0;width:100%;box-sizing:border-box}
.mhhs-atts .mhhs-att-thumb{width:100%;height:140px;max-width:100%;object-fit:cover}
.mhhs-atts .mhhs-att-meta{min-width:0;box-sizing:border-box}
.mhhs-atts .mhhs-att-nm{flex:1;min-width:0}
