/* Atelia · « Laisser un commentaire » (Espace Réseau) : bouton de la barre du haut et fenêtre
   (js/retours.js). Jetons existants seulement. */

/* Bouton : sur la rangée du fil d'Ariane, calé tout à droite. Texte visible à partir de 600 px ;
   en dessous, l'icône seule (nom accessible et info-bulle gardés). */
.topbar .tb-retour { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; white-space: nowrap; }
.topbar .tb-pf + .tb-retour { margin-left: 8px; }
.topbar .tb-retour svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 599px) {
  .topbar .tb-retour { order: 0; min-width: 40px; min-height: 40px; justify-content: center; padding-left: 8px; padding-right: 8px; }
  .topbar .tb-retour .tb-retour-txt { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* Fenêtre */
/* Au-dessus de 900 px seulement : en dessous, la fenêtre est la feuille du bas de responsive.css (pleine largeur). */
@media (min-width: 901px) { .modal > .mbox.retour-box { width: 520px; } }
.retour-form { margin: 0; }
.retour-page { margin: 4px 0 14px; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.retour-page-lbl { color: var(--muted); }
.retour-page b { color: var(--ink); }
.retour-nature { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.retour-nature legend { padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.retour-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.retour-nature-chip { position: relative; min-height: 36px; font-size: 13px; }
.retour-nature-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.retour-nature-chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.retour-lbl { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.retour-texte { display: block; width: 100%; box-sizing: border-box; min-height: 120px; resize: vertical; border: 1px solid var(--line); background: var(--surface-2); border-radius: 9px; padding: 9px 11px; font-size: 14px; line-height: 1.45; color: var(--ink); font-family: inherit; }
.retour-texte:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.retour-compteur { margin-top: 4px; font-size: 11.5px; color: var(--muted); text-align: right; }
.retour-compteur.plein { color: var(--rouge); font-weight: 700; }
.retour-erreur { margin: 10px 0 0; font-size: 13px; color: var(--rouge); }
.retour-merci { margin: 8px 0 0; font-size: 15px; color: var(--ink); }
