.rt-panneau { max-height: min(70vh, 640px); overflow-y: auto; }
.rt-panneau[hidden] { display: none; }
.rt-panneau textarea { width: 100%; box-sizing: border-box; font: inherit; }
.rt-compteur { min-width: 18px; padding: 0 5px; border-radius: 9px; background: #FDDA04; color: #0B1720; font-size: 12px; line-height: 18px; text-align: center; }
.rt-compteur[hidden] { display: none; }
.rt-vues { display: flex; gap: 12px; margin-top: 16px; border-bottom: 1px solid var(--bordure, #D5DEE3); }
.rt-lien { background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 600; cursor: pointer; color: inherit; border-bottom: 2px solid transparent; }
.rt-lien[aria-pressed=true] { border-bottom-color: currentColor; }
.rt-fil { padding: 10px 0; border-bottom: 1px solid var(--bordure, #D5DEE3); }
.rt-fil .vd-retours-actions { margin-top: 6px; }
.rt-tete { margin: 0 0 4px !important; }
.rt-msg { margin: 0 0 6px !important; color: inherit !important; white-space: pre-wrap; }
.rt-msg span { color: var(--texte-attenue, #47555E); }
.rt-equipe { padding-left: 8px; border-left: 3px solid var(--accent, #1F5FB4); }
.rt-non-lu .rt-tete b::after { content: " · nouveau"; color: var(--accent, #1F5FB4); }
.rt-images { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px !important; }
.rt-images img { width: 72px; height: 54px; object-fit: cover; object-position: top; border: 1px solid var(--bordure, #D5DEE3); border-radius: 4px; display: block; }
.rt-piece { position: relative; display: inline-block; }
.rt-retirer { position: absolute; top: -10px; right: -10px; inline-size: 28px; block-size: 28px; min-inline-size: 0; padding: 0; border-radius: 999px; border: 1px solid var(--bordure, #D5DEE3); background: #fff; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.rt-etiquette { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.rt-case { display: flex; align-items: center; gap: 8px; margin: 8px 0; min-height: 32px; cursor: pointer; }
.rt-ajout { display: inline-flex; align-items: center; margin: 4px 0 8px; cursor: pointer; }
.rt-ajout:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.rt-fichier { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rt-capture [data-prive] { filter: blur(6px); }
.rt-panneau { max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
.rt-fermer { position: absolute; top: 8px; right: 8px; inline-size: 36px; block-size: 36px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.rt-fermer:hover { background: rgb(0 0 0 / .06); }
