/* Styles de la version 1.2 : import (fichier propre à cette partie, chargé après app.css).
   Import des tableaux « une ligne par oiseau, jours en colonnes » (questions, interprétations, notes)
   et note du jour en tête de la journée. Uniquement les variables de couleur de app.css (thème clair et
   sombre). */

/* ------------------------------------------------------------------ assistant d'import */

.segmente-import label { font-size: 0.875rem; padding: 0.35em 0.4em; overflow-wrap: anywhere; }

.resume-transpose {
  margin: 12px 0 4px; padding: 0.75em 0.9em; border: 1px solid var(--info-trait); border-radius: var(--rayon);
  background: var(--info-fond); color: var(--encre);
}
.resume-transpose p { margin: 0 0 0.4em; }
.resume-transpose-titre { display: flex; gap: 8px; align-items: flex-start; }
.resume-transpose-titre .icone { color: var(--info); flex: none; margin-top: 0.1em; }
.liste-resume { margin: 0.3em 0 0.2em; padding-left: 1.25em; }
.liste-resume li { margin: 0.2em 0; overflow-wrap: anywhere; }

.note-attention-import { margin: 10px 0 0; border-color: var(--attention-trait); background: var(--attention-fond); color: var(--attention); }
.note-attention-import .icone { color: var(--attention-icone); flex: none; }

/* questions sur le fichier */
.questions-import { margin: 0 0 8px; }
.question-import {
  padding: 0.75em 0.9em; margin: 0 0 10px; border: 1px solid var(--trait); border-radius: var(--rayon);
  background: var(--surface);
}
.question-ouverte { border-color: var(--attention-trait); box-shadow: inset 4px 0 0 var(--attention-icone); }
.question-titre { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 0.3em; }
.question-titre .icone { flex: none; margin-top: 0.15em; }
.question-import .aide { margin-top: 0; }
.exemples-question {
  margin: 0.5em 0; padding: 0.4em 0.6em 0.4em 1.6em; background: var(--surface-2); border-radius: var(--rayon-petit);
  font-size: 0.875rem; color: var(--encre-2);
}
.exemples-question li { margin: 0.15em 0; overflow-wrap: anywhere; }
.choix-question { margin-top: 0.5em; }
.choix-question .case { margin: 0.2em 0 0.5em; }
.reponse-annee { margin-top: 0.5em; }
.reponse-annee .groupe-champ { max-width: 12rem; }
.champ-annee { max-width: 8rem; }

/* ce qui a été compris */
.compris-import { margin: 0 0 12px; }
.compris-import .resume-transpose { background: var(--surface-2); border-color: var(--trait); }
.tableau-decoupage td { overflow-wrap: anywhere; }

/* abréviations : suggestions à confirmer */
.suggestion-terme { margin-top: 6px; }
.suggestion-reseau { margin-top: 6px; padding-top: 4px; border-top: 1px dashed var(--trait); }
.suggestion-reseau .rangee-boutons { align-items: center; flex-wrap: wrap; }
.badge-propose { font-size: 0.75rem; }
.suggestion-terme .aide { margin: 0.2em 0 0.4em; }
.suggestion-terme .bouton { white-space: normal; text-align: left; max-width: 100%; }
.portion-a-creer {
  padding: 0.4em 0.6em; border-left: 3px solid var(--attention-trait); background: var(--attention-fond);
  border-radius: var(--rayon); overflow-wrap: anywhere;
}

/* oiseaux : activité habituelle proposée, différences avec les oiseaux déjà enregistrés */
.activite-oiseau-import { margin-top: 10px; }
.activite-oiseau-import .jours-semaine { margin-top: 4px; }
.activites-differentes { margin-top: 12px; }
.liste-activites { margin: 0.3em 0 0; padding-left: 1.25em; }
.liste-activites li { margin: 0.4em 0; overflow-wrap: anywhere; }

/* lignes analysées */
.cellule-ration { min-width: 9rem; }
.ration-ecrite { font-size: 0.85rem; color: var(--encre-2); overflow-wrap: anywhere; margin-bottom: 2px; }
.badge-non-comprise { background: var(--attention-fond); color: var(--attention); border: 1px solid var(--attention-trait); }

/* pesées, notes du jour, météo notée */
.groupe-notes-import .case-option-import label { display: flex; flex-direction: column; gap: 2px; }
.aide-option { display: block; font-weight: 400; }
.liste-notes-import { margin: 0.4em 0 0.8em; padding-left: 1.2em; font-size: 0.9rem; }
.liste-notes-import li { margin: 0.35em 0; overflow-wrap: anywhere; }
.texte-note { white-space: pre-line; }

/* ------------------------------------------------------------------ note du jour (journée) */

.note-jour {
  grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap;
  border-top: 1px solid var(--trait); padding-top: 10px;
}
.note-jour[hidden] { display: none; }
.note-jour-icone { width: 1.4em; height: 1.4em; color: var(--cuir); flex: none; margin-top: 0.1em; }
.note-jour-corps { flex: 1 1 16rem; min-width: 0; }
.note-jour-titre { display: flex; gap: 8px; align-items: center; margin: 0 0 0.2em; color: var(--encre-2); font-size: 0.9rem; }
.note-jour-texte { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.note-jour-source { background: var(--surface-3); color: var(--encre-3); min-height: 20px; }

@media (max-width: 760px) {
  .resume-transpose { padding: 0.6em 0.7em; }
  .question-import { padding: 0.6em 0.7em; }
  .note-jour .bouton { flex: 1 1 auto; }
}

@media print {
  .note-jour .bouton { display: none !important; }
}
