/* V5 · FICHES EN LOT (PC) — la feuille (js/v5/pages/fiches-lot.js) : zone de dépôt, puis un bloc par article
   (numéro, nom, taille, état) avec ses vignettes ; un clic sur une vignette la change d'article. */
html.v5 .fl-depot{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 160px; padding: 20px; border-radius: var(--v5-r-groupe); box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur-fort); text-align: center; font-size: var(--v5-t-13); color: var(--v5-texte); cursor: default; }
html.v5 .fl-depot[hidden]{ display: none; }
html.v5 .fl-depot span{ font-size: var(--v5-t-12); color: var(--v5-texte-2); }
html.v5 .fl-depot:hover, html.v5 .fl-depot.fl-survol{ background: var(--v5-rempli-3); }
html.v5 .fl-depot:focus-visible{ outline: var(--v5-focus-l) solid var(--v5-focus); }
html.v5 .fl-tete{ display: flex; align-items: center; gap: 14px; padding: 0 0 10px; font-size: var(--v5-t-12); color: var(--v5-texte-2); }
html.v5 .fl-tete[hidden]{ display: none; }
html.v5 .fl-tete label{ display: inline-flex; align-items: center; gap: 8px; color: var(--v5-texte); }
html.v5 .fl-tete .v5-champ{ width: 70px; }
html.v5 .fl-aide{ margin-left: auto; }
html.v5 .fl-groupes{ display: flex; flex-direction: column; gap: 8px; max-height: min(54vh, 480px); overflow-y: auto; }
html.v5 .fl-groupe{ padding: 8px 10px 10px; border-radius: var(--v5-r-bouton); box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur); }
html.v5 .fl-ligne{ display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
html.v5 .fl-num{ flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: var(--v5-r-surface); background: var(--v5-rempli-2); font-size: var(--v5-t-11); font-weight: var(--v5-g-fort); color: var(--v5-texte-2); }
html.v5 .fl-nom{ flex: 1; min-width: 0; }
html.v5 .fl-taille{ flex: none; width: 74px; }
html.v5 .fl-etat{ flex: none; max-width: 46%; font-size: var(--v5-t-12); color: var(--v5-texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.v5 .fl-groupe[data-etat="fait"] .fl-etat{ color: var(--v5-vert); }
html.v5 .fl-groupe[data-etat="rate"] .fl-etat{ color: var(--v5-rouge); }
html.v5 .fl-groupe[data-etat="cours"]{ box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-violet); }
html.v5 .fl-photos{ display: flex; flex-wrap: wrap; gap: 6px; }
html.v5 .fl-photo{ flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: var(--v5-r-ctrl); background: var(--v5-rempli-2); overflow: hidden; cursor: default; }
html.v5 .fl-photo img{ display: block; width: 100%; height: 100%; object-fit: cover; }
html.v5 .fl-photo:hover{ box-shadow: 0 0 0 2px var(--v5-separateur-fort); }
html.v5 .fl-photo:focus-visible, html.v5 .fl-photo[aria-expanded="true"]{ outline: var(--v5-focus-l) solid var(--v5-focus); outline-offset: 1px; }
html.v5 .fl-note{ margin: 10px 0 0; min-height: 15px; font-size: var(--v5-t-12); line-height: 15px; color: var(--v5-texte-2); }
html.v5 .fl-en-cours :is(.fl-nom, .fl-taille, .fl-tete .v5-champ){ pointer-events: none; }

/* ================================================================== 30/10 : façon Notion — un article = une ligne posée sur la feuille,
   séparée de la suivante d'un trait fin, au lieu d'une boîte encadrée ; l'article en cours prend un fond doux (plus de cadre violet). */
html.v5 .fl-groupes:not(#_){ gap: 0; }
html.v5 .fl-groupe:not(#_){ padding: 10px 2px; border-radius: 0; box-shadow: inset 0 calc(-1 * var(--v5-trait-fort)) 0 var(--v5-separateur); }
html.v5 .fl-groupe:last-child:not(#_){ box-shadow: none; }
html.v5 .fl-groupe[data-etat="cours"]:not(#_){ padding-left: 8px; padding-right: 8px; border-radius: var(--v5-r-sel); background: var(--v5-rempli-3); box-shadow: none; }
