/* Retours de séjour natifs Le Fil (js/retours-sejour/ ; spec docs/specs/2026-09-21-fiche-animateur-retours-design.md, Le Fil 2026-10-07). Style de Le Fil : encre, filets, couleur rare
   (ambre = ce qui demande un geste, sapin = fait), cibles de 44 px et plus, sept tailles de texte, aucun effet décoratif. Réutilise la fabrique et les classes du budget
   (css/fil-budget.css : .fb, .fb-carte, .fb-bouton, .fb-feuille, .fb-puce, .fb-repli…) ; ce fichier ne porte que ce qui est propre aux retours.
   Remplace les règles .rt-* de css/fiche.css (supprimées). Le formulaire et le retour reçu vivent dans une feuille (.fb-voile, posée dans <body>). */

[data-app] .fb.frt { padding: 0 0 16px; }
.frt-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 12px; }
.frt-titre { margin: 0; font: 600 18px/1.3 Inter, system-ui, sans-serif; }
.frt-a-faire { padding: 6px 10px; border: 1px solid var(--f-attention); border-radius: 99px; color: var(--f-attention); font: 500 12px/1 Inter, system-ui, sans-serif; }
.frt-corps { display: flex; flex-direction: column; gap: 12px; }
.frt-sejour > .fb-carte-ligne { margin-bottom: 4px; }
.frt-sejour .fb-carte-total { color: var(--f-encre-2); font: 400 14px/1.3 Inter, system-ui, sans-serif; }
.frt-ligne { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--f-filet); }
.frt-sejour > .fb-carte-ligne + .frt-ligne { border-top: 0; }
.frt-ligne-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.frt-personne { font: 500 16px/1.3 Inter, system-ui, sans-serif; overflow-wrap: anywhere; }
.frt-personne .fb-lien { display: inline-flex; align-items: center; min-height: 44px; }
.frt-etats { display: flex; flex-wrap: wrap; gap: 6px; }
.frt-detail { margin: 0; }
.frt-actions { margin: 4px 0 0; }
.frt-statut { margin: 4px 0 0; color: var(--f-fait); font: 500 14px/1.4 Inter, system-ui, sans-serif; }
.frt-statut[hidden] { display: none; }

/* Formulaire (feuille) */
.frt-form { display: flex; flex-direction: column; gap: 14px; }
.frt-groupe-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.frt-groupe { margin: 0; color: var(--f-encre-2); font: 600 14px/1.4 Inter, system-ui, sans-serif; }
.frt-champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.frt-champ-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.frt-champ-titre { margin: 0; font: 600 16px/1.3 Inter, system-ui, sans-serif; }
.frt-compteur { color: var(--f-encre-3); font: 500 12px/1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.frt-champ .fb-aide { margin: 0; }
.frt-limite { color: var(--f-attention); }
.frt-erreur { margin: 0; color: var(--f-urgent); font: 400 14px/1.4 Inter, system-ui, sans-serif; }
.frt-champ-corps .fb-repli { border-top: 1px solid var(--f-filet); }
.frt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.frt-chips:empty { display: none; }
.frt-chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--f-filet); border-radius: 14px; background: transparent; color: var(--f-encre-2); font: 500 14px/1.2 Inter, system-ui, sans-serif; text-align: left; cursor: pointer; }
.frt-chip:hover { background: var(--f-surface-2); }
.frt-chip.est-actif { background: var(--f-encre); border-color: var(--f-encre); color: var(--f-fond); }
.frt-chip:disabled { opacity: .45; cursor: default; }
.frt-chip.est-actif:disabled { opacity: 1; }
.frt-chip[hidden] { display: none; }
.frt-verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.frt-verdict-btn { min-height: 48px; padding: 0 8px; border: 1px solid var(--f-filet); border-radius: 14px; background: transparent; color: var(--f-encre); font: 500 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.frt-verdict-btn.est-actif { background: var(--f-encre); border-color: var(--f-encre); color: var(--f-fond); }
.frt-verdict-btn:disabled { cursor: default; opacity: .6; }
.frt-verdict-btn.est-actif:disabled { opacity: 1; }
.frt-figement { margin: 0; padding-left: 12px; border-left: 3px solid var(--f-encre); color: var(--f-encre); font-weight: 500; }
.frt-modifs { flex: 1 1 140px; min-width: 0; color: var(--f-encre-3); font: 500 14px/1.3 Inter, system-ui, sans-serif; }
.frt-modifs.est-sale { color: var(--f-attention); }

/* Retour reçu (feuille) */
.frt-recu { display: flex; flex-direction: column; gap: 12px; }
.frt-recu-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.frt-ligne-lecture { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; font: 400 14px/1.45 Inter, system-ui, sans-serif; }
.frt-ligne-lib { color: var(--f-encre-3); }
.frt-ligne-val { overflow-wrap: anywhere; }
@media (max-width: 420px) { .frt-ligne-lecture { grid-template-columns: minmax(0, 1fr); } }
.frt-note-recue { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--f-surface-2); font: 400 14px/1.55 Inter, system-ui, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.frt-reponse { padding-top: 12px; border-top: 1px solid var(--f-filet); }

/* Synthèse « Ce que mon équipe pense de ma direction » (js/retours-sejour/synthese.js) */
.frt-synthese-corps { display: flex; flex-direction: column; gap: 12px; }
.frt-synthese-carte .fb-note { margin: 4px 0 0; }
.frt-synthese-verdict { margin-top: 12px; }
.frt-synthese-points-titre { margin: 16px 0 8px; }
.frt-synthese-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.frt-synthese-point { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--f-filet); border-radius: 14px; background: var(--f-surface-2); color: var(--f-encre); font: 500 14px/1.2 Inter, system-ui, sans-serif; }
