/* HEPHIR · terrain : rapport du chef en 1 minute, modèles de contrôle (maj15). Gros boutons, lisible au soleil. */
.t-rapport { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; }
.t-rapport .t-bloc, .t-bloc { color: var(--ink, #172b3a); background: var(--surface, #fff); border: 1px solid var(--line, #e9e0d4); border-radius: var(--radius-lg, 14px); padding: 16px; }
.t-bloc h2 { margin: 0 0 10px; font-size: 18px; }
.t-aide { margin: 6px 0 0; font-size: 16px; color: var(--muted, #52616a); }
.t-btn-photo, .t-micro, .t-envoyer { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px; font-size: 18px; font-weight: 600;
  border-radius: var(--radius-lg, 14px); border: 2px solid var(--ink, #172b3a); background: var(--surface, #fff); color: var(--ink, #172b3a); cursor: pointer; }
.t-envoyer, .refonte .t-envoyer { background: var(--accent, #a7422b); border-color: var(--accent, #a7422b); color: #fff; }
.t-envoyer[disabled] { opacity: .5; }
.t-micro.t-lance { background: var(--bad, #b3261e); border-color: var(--bad, #b3261e); color: #fff; }
.t-vignettes, .t-photos-relire { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 10px; }
.t-vignettes img, .t-photos-relire img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius, 8px); display: block; }
.t-photos-relire { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.t-photos-relire label { display: grid; gap: 6px; font-size: 16px; }
.t-q { border: 0; padding: 0; margin: 0 0 14px; }
.t-q legend { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.t-choix { display: flex; gap: 10px; flex-wrap: wrap; }
.t-choix > label { flex: 1 1 120px; }
.t-choix input[type=radio], .t-choix input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.t-choix > label > span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 12px; font-size: 18px; font-weight: 600;
  border: 2px solid var(--line-2, #d9cdbd); border-radius: var(--radius-lg, 14px); background: var(--surface, #fff); cursor: pointer; }
.t-choix input:checked + span { border-color: var(--ink, #172b3a); background: var(--ink, #172b3a); color: #fff; }
.t-choix input:focus-visible + span { outline: 3px solid var(--accent, #a7422b); outline-offset: 2px; }
.t-multi > label > span { min-height: 48px; font-size: 16px; }
.t-texte { display: grid; gap: 6px; font-size: 16px; margin-top: 10px; }
.t-texte input, .t-texte textarea { font-size: 18px; min-height: 48px; }
.t-rapport .t-arret, .t-arret { border-color: var(--warn, #8a5a00); background: var(--warn-soft, #f6ecd6); }
.t-point { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line-2, #d9cdbd); }
.t-point:first-of-type { border-top: 0; }
.t-point > span { font-size: 16px; color: var(--muted, #52616a); }
.t-bloc .r-lien { color: var(--ink, #172b3a); }
.t-point p { margin: 0; font-size: 16px; }
.t-point .t-btn-photo { min-height: 56px; font-size: 16px; flex: 1 1 160px; }
.t-non-conforme { flex: 1 1 160px; min-height: 56px; font-size: 16px; border-radius: var(--radius-lg, 14px); border: 2px solid var(--bad, #b3261e); color: var(--bad, #b3261e); background: var(--surface, #fff); cursor: pointer; }
.t-point.fait { opacity: .8; }
.t-ok { font-weight: 600; color: var(--ok, #2f7a52); font-size: 16px; }
.t-relire { display: grid; gap: 14px; }
.t-relire textarea { width: 100%; min-height: 120px; font-size: 16px; }
.t-relire audio { width: 100%; margin-top: 8px; }
.t-a-relire { margin-top: 12px; }
.t-points { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.t-ligne-modele { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line, #e9e0d4); border-radius: var(--radius, 8px); margin-bottom: 10px; }
.t-ligne-modele .t-modele-retirer { justify-self: start; }
.t-modele { padding: 14px 0; border-bottom: 1px solid var(--line, #e9e0d4); }
.t-modele:last-child { border-bottom: 0; }
@media (max-width: 480px) { .t-bloc { padding: 14px; } .t-choix > label { flex-basis: 100%; } .t-q .t-choix > label { flex-basis: 40%; } }
.t-rapport [hidden] { display: none !important; }
