/* V5 · MODÈLES DE PAGE — les six façons de composer une page BDRD (docs/design-system-v5/05_CONCEPTION_REFONTE.md, D6).
   Une page migrée choisit UN modèle, assemble des primitives dedans, et n'écrit aucune valeur de mise en page.
     1. Collection        .v5-m-collection   grille bord à bord (Fiches, Bibliothèque)
     2. Liste + inspecteur .v5-m-liste        une ligne par élément ; le détail s'ouvre dans l'inspecteur du shell
     3. Mail              .v5-m-mail         dossiers | liste | conversation (Messages ; Contacts en 2 colonnes)
     4. Réglages          .v5-m-reglages     catégories | groupes de lignes
     5. Flux              .v5-m-flux         liste chronologique à faire / fait (Aujourd'hui, Chauffe)
     6. Recherche         .v5-m-recherche    champ en tête, résultats groupés
   Violet : uniquement la sélection des photos et le point « non lu ». Les lignes choisies sont neutres. */

/* ================================================================== lignes de liste (primitive partagée) */
.v5-ligne[data-taille="m"]{ min-height: var(--v5-ligne-m); }
.v5-ligne[data-taille="l"]{ min-height: var(--v5-ligne-l); padding: 0 12px; gap: 12px; }
.v5-ligne-icone{ flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: var(--v5-texte-2); }
.v5-ligne-icone svg{ width: 16px; height: 16px; }
.v5-ligne-vignette{ flex: none; width: 28px; height: 28px; border-radius: var(--v5-r-photo); object-fit: cover; background: var(--v5-surface-inset); }
.v5-ligne[data-taille="l"] .v5-ligne-vignette{ width: 36px; height: 36px; }
.v5-ligne-textes{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.v5-ligne-titre{ font-size: var(--v5-t-13); font-weight: var(--v5-g-moyen); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v5-ligne-sous{ font-size: var(--v5-t-12); line-height: 1.3; color: var(--v5-texte-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v5-ligne-meta{ flex: none; display: flex; align-items: center; gap: 8px; font-size: var(--v5-t-12); color: var(--v5-texte-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.v5-mono{ font-family: var(--v5-police-mono); font-size: var(--v5-t-12); font-variant-numeric: tabular-nums; }
.v5-ligne[data-non-lu] .v5-ligne-titre{ font-weight: var(--v5-g-fort); }
/* non lu : petit point neutre (10/10, Lucas : « les points violets, ça fait brouillon ») — plus de violet dans les points d'état */
.v5-non-lu{ flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--v5-texte-2); }   /* 03/11 (audit, point 60) : 8 px au lieu de 6, il se voyait à peine ; gris par la règle du violet */
.v5-ligne[aria-selected="true"] .v5-ligne-meta{ color: var(--v5-texte-2); }
/* liste à traits fins (Mail, résultats) : séparateur de 0,5 px au lieu d'un fond */
.v5-liste[data-traits] > .v5-ligne{ border-radius: 0; box-shadow: inset 0 -.5px 0 var(--v5-separateur); }
.v5-liste[data-traits] > .v5-ligne[aria-selected="true"]{ box-shadow: inset 0 -.5px 0 var(--v5-separateur); }
.v5-liste-groupe{ display: flex; align-items: center; height: 28px; padding: 0 12px; font-size: var(--v5-t-11); font-weight: var(--v5-g-fort); color: var(--v5-texte-3); }
.v5-liste-groupe .v5-compteur{ margin-left: auto; }

/* ================================================================== 1. COLLECTION */
.v5-m-collection{ min-height: 100%; }
.v5-grille{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--v5-cellule, 168px), 1fr)); gap: 2px;
}
.v5-cellule{
  position: relative; aspect-ratio: 1; margin: 0; padding: 0; border: 0; overflow: hidden; display: block;
  border-radius: var(--v5-r-photo); background: var(--v5-surface-inset); cursor: default; contain: content;
}
.v5-cellule > img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.v5-cellule{ --v5-focus-decalage: -2px; }
.v5-cellule:focus-visible{ outline: var(--v5-focus-l) solid var(--v5-focus); outline-offset: var(--v5-focus-decalage); }
.v5-cellule[aria-selected="true"]{ outline: var(--v5-focus-l) solid var(--v5-photo-selection); outline-offset: -3px; }   /* contour franc, comme Photos (13/10) */
.v5-cellule-coche{
  position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--v5-photo-voile); box-shadow: inset 0 0 0 1.5px var(--v5-sur-photo); color: var(--v5-sur-photo); opacity: 0; z-index: 1;
  transition: opacity var(--v5-duree);
}
.v5-cellule-coche svg{ width: 11px; height: 11px; opacity: 0; }
.v5-grille[data-selection] .v5-cellule-coche{ opacity: 1; }   /* la coche n'apparaît qu'en mode sélection */
.v5-cellule[aria-selected="true"] .v5-cellule-coche{ opacity: 1; background: var(--v5-photo-selection); box-shadow: none; }
.v5-cellule[aria-selected="true"] .v5-cellule-coche svg{ opacity: 1; }
.v5-cellule-etat{ position: absolute; top: 8px; right: 8px; z-index: 1; box-shadow: 0 0 0 1.5px var(--v5-photo-voile); }
.v5-cellule-compte{
  position: absolute; left: 6px; bottom: 6px; z-index: 1; padding: 1px 6px; border-radius: var(--v5-r-puce);
  background: var(--v5-photo-voile); color: var(--v5-sur-photo); font: var(--v5-g-moyen) var(--v5-t-11)/16px var(--v5-police); font-variant-numeric: tabular-nums;
}
/* légende (titre + prix) : seulement quand le zoom la justifie */
.v5-cellule-legende{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: none; padding: 6px 8px;
  background: var(--v5-photo-voile); color: var(--v5-sur-photo); text-align: left;
  font-size: var(--v5-t-12); line-height: 1.3;
}
.v5-grille[data-legende] .v5-cellule-legende{ display: block; }
.v5-grille[data-legende] .v5-cellule-compte{ bottom: auto; top: 6px; left: 30px; }

/* ================================================================== 2. LISTE + INSPECTEUR */
.v5-m-liste{ min-height: 100%; display: flex; flex-direction: column; }
.v5-m-liste > .v5-liste{ padding: 6px 8px 16px; }
.v5-m-liste-saisie{ display: flex; gap: 8px; padding: 12px 16px 8px; }
.v5-m-liste-saisie .v5-champ{ flex: 1; min-width: 0; }

/* ================================================================== 3. MAIL */
.v5-m-mail{ position: absolute; inset: 0; display: grid; grid-template-columns: var(--v5-dossiers-l) var(--v5-liste-l) minmax(0, 1fr); min-width: 0; }
.v5-m-mail[data-colonnes="2"]{ grid-template-columns: var(--v5-liste-l) minmax(0, 1fr); }
.v5-m-colonne{ min-width: 0; min-height: 0; overflow: auto; border-right: 1px solid var(--v5-separateur); }
.v5-m-colonne:last-child{ border-right: 0; }
.v5-m-colonne-tete{ position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; height: var(--v5-ctrl-h); margin: 0; padding: 8px 12px; box-sizing: content-box; background: var(--v5-fond); }
.v5-m-dossiers{ padding: 8px; background: var(--v5-fond-lateral); }
.v5-m-dossiers .v5-nav-groupe + .v5-nav-groupe{ margin-top: 14px; }
.v5-m-lecture{ display: flex; flex-direction: column; }
.v5-m-lecture-tete{ display: flex; align-items: center; gap: 10px; min-height: var(--v5-ligne-l); padding: 8px 16px; border-bottom: 1px solid var(--v5-separateur); }
.v5-m-lecture-fil{ flex: 1; min-height: 0; overflow: auto; padding: 8px 16px; display: flex; flex-direction: column; }
.v5-m-lecture-saisie{ display: flex; align-items: flex-end; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid var(--v5-separateur); }
.v5-m-lecture-saisie .v5-champ{ flex: 1; min-width: 0; }
/* message : texte posé sur le fond, sans bulle ni carte ; les messages sont séparés par un filet de 0,5 px */
.v5-message{ padding: 10px 0; font-size: var(--v5-t-13); line-height: 1.45; overflow-wrap: anywhere; box-shadow: inset 0 -.5px 0 var(--v5-separateur); }
.v5-message[data-sens="sortant"]{ color: var(--v5-texte-2); }
.v5-message-heure{ margin-top: 2px; font-size: var(--v5-t-11); color: var(--v5-texte-3); }

/* ================================================================== 4. RÉGLAGES */
.v5-m-reglages{ position: absolute; inset: 0; display: grid; grid-template-columns: var(--v5-dossiers-l) minmax(0, 1fr); }
.v5-m-reglages-corps{ min-width: 0; overflow: auto; padding: 24px 40px 56px; }
.v5-m-reglages-corps > .v5-reglages-page{ max-width: 680px; margin: 0 auto; }
.v5-reglages-titre{ margin: 0 0 4px; font-size: var(--v5-t-20); font-weight: var(--v5-g-fort); line-height: 26px; }
.v5-reglages-sous{ margin: 0 0 20px; font-size: var(--v5-t-13); color: var(--v5-texte-2); }
/* groupe de réglages : titre au-dessus, puis UN conteneur r12 ; pas de carte autour de chaque ligne (Apple « Group Boxes / Forms ») */
.v5-groupe-titre{ margin: 0 0 6px 12px; font-size: var(--v5-t-11); font-weight: var(--v5-g-fort); color: var(--v5-texte-3); }
.v5-groupe-reglages{ margin: 0 0 24px; padding: 0 12px; border-radius: var(--v5-r-groupe); background: var(--v5-fond-groupe); }
/* une ligne de réglage : titre + aide à gauche, contrôle à droite, filet fin entre deux lignes */
.v5-reglage{ display: flex; align-items: center; gap: 24px; min-height: 44px; padding: 10px 0; box-shadow: inset 0 -.5px 0 var(--v5-separateur); }
.v5-reglage:last-child{ box-shadow: none; }
.v5-reglage-textes{ flex: 1; min-width: 0; }
.v5-reglage-titre{ font-size: var(--v5-t-13); font-weight: var(--v5-g-moyen); line-height: 1.3; }
.v5-reglage-aide{ margin-top: 2px; font-size: var(--v5-t-12); line-height: 1.4; color: var(--v5-texte-2); }
.v5-reglage-controle{ flex: none; display: flex; align-items: center; gap: 8px; }

/* ================================================================== 5. FLUX */
.v5-m-flux{ max-width: 760px; margin: 0 auto; padding: 24px 24px 56px; }
.v5-flux-groupe + .v5-flux-groupe{ margin-top: 24px; }
.v5-flux-titre{ display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; padding: 0 10px; font-size: var(--v5-t-11); font-weight: var(--v5-g-fort); color: var(--v5-texte-3); }
.v5-flux-titre .v5-compteur{ margin-left: auto; }
.v5-flux-item[data-fait] .v5-ligne-titre{ color: var(--v5-texte-3); }
/* journal : heure en chasse fixe à gauche, trait vertical fin */
.v5-journal{ position: relative; margin: 0; padding: 0; list-style: none; }
.v5-journal li{ display: grid; grid-template-columns: 52px 12px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 5px 10px; font-size: var(--v5-t-13); }
.v5-journal time{ font-family: var(--v5-police-mono); font-size: var(--v5-t-12); color: var(--v5-texte-3); font-variant-numeric: tabular-nums; }

/* ================================================================== 6. RECHERCHE */
.v5-m-recherche{ max-width: 760px; margin: 0 auto; padding: 20px 24px 56px; }
.v5-m-recherche-tete{ position: sticky; top: 0; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 4px 0 12px; background: var(--v5-fond); }
.v5-m-recherche-tete .v5-recherche{ height: var(--v5-ctrl-l); }
.v5-m-recherche .v5-flux-groupe + .v5-flux-groupe{ margin-top: 16px; }

/* ================================================================== section d'inspecteur */
.v5-section{ margin-top: 20px; }
.v5-section:first-child{ margin-top: 0; }
.v5-section > .v5-section-titre{ margin-top: 0; }

/* ================================================================== MODÈLE « TABLEAU D'ACTIVITÉ » — .v5-tableau (nom conservé)
   Sert à Production (js/v5/pages/production.js pose la classe, la ligne d'en-tête et data-etat sur chaque section). 13/10, demande de Lucas :
   « un tableau avec un seul truc, les uns sous les autres, et une pastille qui indique l'avancement, plutôt que quatre trucs séparés les uns
   à côté des autres » (références : liste d'actions de Claude, Logs de Supabase, étiquettes de statut de Notion).
   → UN SEUL TABLEAU, une ligne par action, dans l'ordre d'urgence que fournissent les sections (à débloquer, en cours, en file, terminés) ; les
   têtes de groupe disparaissent : c'est la PASTILLE d'état de chaque ligne qui dit où elle en est.
     vignette · titre · avancement (catégorie + étape, ou raison du blocage) · pastille d'état · heure · menu « … »
   Pastille = capsule teintée (rôle : statut compact, comme Notion) ; le point de couleur y garde la pulsation « en cours ».
   Les lignes sont celles de js/liste-cl.js (.cl-ligne), décrites ici. Sélecteurs de simple classe : la sélection (selection.css) garde la main. */
.v5-tableau{ display: block; max-width: 1180px; margin: 0 auto; }
.v5-tableau > .cl-section{ display: block; min-width: 0; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.v5-tableau > .cl-section + .cl-section{ margin-top: 0; }
.v5-tableau .cl-section-tete{ display: none; }   /* plus de groupes : la pastille de chaque ligne porte l'état */
.v5-tableau .cl-liste{ display: block; }
.v5-tableau .cl-vide, .v5-tableau .prod-vide-ligne{ display: none; }   /* « rien dans cet état » : inutile dans un tableau unique ; l'état vide de la page prend le relais */
.v5-tableau-tete, .v5-tableau .cl-ligne{
  display: grid; grid-template-columns: 28px minmax(0, 1.25fr) minmax(0, 1.6fr) 112px 92px 28px; column-gap: 12px; align-items: center; padding: 0 12px;
}
.v5-tableau-tete{ position: sticky; top: 0; z-index: 2; height: 30px; background: var(--v5-fond); box-shadow: inset 0 calc(-1 * var(--v5-trait-fort)) 0 var(--v5-separateur); font-size: var(--v5-t-11); font-weight: var(--v5-g-fort); color: var(--v5-texte-3); }
.v5-tableau-tete > :nth-child(5){ text-align: right; }
.v5-tableau .cl-ligne{
  grid-template-areas: "vign titre etape etat quand btn"; min-height: 40px; margin: 0; padding-block: 4px; border: 0; border-radius: 0; background: none;
  box-shadow: inset 0 calc(-1 * var(--v5-trait)) 0 var(--v5-separateur);
}
/* 18/10 (Lucas : « sur ce genre de liste, rien ne doit se passer au survol ») : plus de fond au survol */
.v5-tableau .cl-vign{ grid-area: vign; width: 28px; height: 28px; }
.v5-tableau .cl-titre{ grid-area: titre; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--v5-t-13); font-weight: var(--v5-g-moyen); line-height: 18px; color: var(--v5-texte); }
.v5-tableau .cl-etape{ display: block; grid-area: etape; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--v5-t-12); color: var(--v5-texte-2); }
.v5-tableau .cl-section[data-etat="echec"] .cl-etape{ color: var(--v5-texte); }
.v5-tableau .cl-section[data-etat="fait"] .cl-titre{ font-weight: var(--v5-g-normal); color: var(--v5-texte-2); }
/* 25/10 : « il y a 2 min » en police normale (la chasse fixe, réservée aux références, espaçait bizarrement les mots) */
.v5-tableau .cl-quand{ display: block; grid-area: quand; justify-self: end; font-size: var(--v5-t-12); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--v5-texte-3); }
.v5-tableau .cl-btn{ grid-area: btn; justify-self: end; align-self: center; }
/* état : un point de couleur et un mot, SANS fond (recette commune de primitives.css, décision du 13/10 rappelée le 15/10 :
   « les pastilles d'une couleur plus dedans un point avec écrit, c'est pas top »). Ici, seulement la place dans la grille. */
.v5-tableau .cl-ligne .cl-etat{ grid-area: etat; justify-self: start; font-size: var(--v5-t-11); white-space: nowrap; }

/* page moins large (inspecteur ouvert, fenêtre réduite) : l'avancement passe sous le titre au lieu de disparaître ; l'en-tête de colonnes n'a plus de sens */
@container (max-width: 760px){
  .v5-tableau-tete{ display: none; }
  /* colonne d'état de largeur FIXE (15/10, Lucas : « tout doit toujours rester aligné ») : en « auto », chaque ligne la taillait sur son propre mot */
  .v5-tableau .cl-ligne{ grid-template-columns: 28px minmax(0, 1fr) 96px 28px; grid-template-areas: "vign titre etat btn" ". etape quand quand"; column-gap: 10px; row-gap: 2px; padding: 6px 12px; }
}
/* très étroit (≈ 300 px et moins) : pas de vignette ; titre, pastille, avancement et heure s'empilent sur toute la largeur */
@container (max-width: 300px){
  .v5-tableau .cl-ligne{ grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "titre btn" "etat etat" "etape etape" "quand quand"; column-gap: 8px; row-gap: 3px; padding: 7px 8px; }
  .v5-tableau .cl-vign{ display: none; }
  .v5-tableau .cl-titre{ white-space: normal; overflow-wrap: anywhere; }
  .v5-tableau .cl-etape{ white-space: normal; }
  .v5-tableau .cl-quand{ justify-self: start; }
}

/* 18/10 (Lucas : « sur ce genre de liste, rien ne doit se passer au survol ») : les lignes de liste (Annonces, Achats, Colis,
   tableaux) ne changent plus au survol — ni fond, ni couleur de texte ; le bouton « ⋮ » reste visible en permanence au lieu
   d'apparaître sous le pointeur. La sélection garde sa couleur. */
html.v5 :is(.an-ligne, .ac-ligne, .cl-ligne, .article-item, .aj-ligne):not(.an-entete):not(.sel):not(.selected):not([aria-selected="true"]):hover:not(#_){ background: transparent; }
/* 19/10 (Lucas : « au survol, rien ne doit se passer ») : une ligne rayée garde sa rayure sous le pointeur (le fond transparent ci-dessus l'effaçait) */
html.v5 :is(.an-ligne:not(.an-entete):nth-child(odd), .cl-liste > :is(.ac-ligne, .cl-ligne):nth-child(even), #article-list .article-item:nth-child(even)):not(.sel):not(.selected):not([aria-selected="true"]):hover:not(#_){ background: var(--v5-rempli-4); }
html.v5 :is(.an-ligne, .ac-ligne, .cl-ligne, .article-item, .aj-ligne) :is(.cl-btn--icone, .row-menu-btn):not(#_){ opacity: 1; }

/* 19/10 (Lucas : « améliore » la liste de Production) : ligne de détail sous le titre (site · couleur · taille, ou prix) et petite barre
   d'étapes devant l'avancement (segments violets pour les étapes faites, celui en cours luit doucement ; js/liste-cl.js, clProgres) */
.v5-tableau .cl-titre-nom, .v5-tableau .cl-sous{ display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v5-tableau .cl-sous{ margin-top: 1px; font-size: var(--v5-t-11); font-weight: var(--v5-g-normal); line-height: 15px; color: var(--v5-texte-3); }
/* 25/10 (Lucas : « la barre qui charge, je ne suis pas fan ; trouve un autre moyen de voir l'avancement ») : des points au lieu des segments —
   point plein = étape faite, point violet qui pulse = en cours, cercle vide = à venir (même grammaire que les états : un point + un mot) */
.cl-progres{ display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; vertical-align: 0; }
.cl-progres i{ display: block; width: 6px; height: 6px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.25px var(--v5-texte-3); }
.cl-progres i.ok{ background: var(--v5-texte-2); box-shadow: none; }
.cl-progres i.cours{ background: var(--v5-violet); box-shadow: 0 0 0 0 color-mix(in srgb, var(--v5-violet) 55%, transparent); animation: cl-pulse 1.2s ease-out infinite; }
@keyframes cl-pulse{ to{ box-shadow: 0 0 0 5px color-mix(in srgb, var(--v5-violet) 0%, transparent); } }
@media (prefers-reduced-motion: reduce){ .cl-progres i.cours{ animation: none; } }
/* 25/10 : une place fixe pour les points, qu'il y en ait ou non : les colonnes Type et Étape ne bougent plus d'une ligne à l'autre */
.cl-progres{ box-sizing: border-box; min-width: 40px; }
.cl-progres--vide{ display: none; }
:is(.v5-tableau, .cl-liste, .view):has(.cl-progres:not(.cl-progres--vide)) .cl-progres--vide{ display: inline-flex; height: 6px; }

/* 25/10 : image qui n'a pas chargé (pas de réseau) : jamais l'icône cassée du navigateur ; la case garde son fond et montre un
   symbole photo discret (data-absente posé par js/v5/ui.js, retiré au rechargement) */
html.v5 img[data-absente]{ visibility: hidden; }
html.v5 :is(.v5-cellule, .cl-vign, .aj-ligne, .an-ligne, .article-item, .vt-ba-vignette):has(> img[data-absente]){ position: relative; }
html.v5 :is(.v5-cellule, .cl-vign, .vt-ba-vignette):has(> img[data-absente])::after{
  content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; background-color: var(--v5-texte-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 15l3-3 3 3 2-2 3 3'/%3E%3Ccircle cx='9' cy='9.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 15l3-3 3 3 2-2 3 3'/%3E%3Ccircle cx='9' cy='9.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ================================================================== 26/10 : listes en tableau façon Notion (gamme choisie le 25/10) —
   Annonces, Achats, Colis, Production, Bibliothèque. Plus de rayures : les lignes sont posées sur la page et séparées d'un trait fin,
   l'en-tête de colonnes est souligné. Toujours rien au survol (choix du 18/10) ; la sélection garde son fond. */
html.v5 :is(.an-ligne:not(.an-entete):nth-child(odd), .cl-liste > :is(.ac-ligne, .cl-ligne):nth-child(even), #article-list .article-item:nth-child(even)):not(.sel):not(.selected):not([aria-selected="true"]):not(#_),
html.v5 :is(.an-ligne:not(.an-entete):nth-child(odd), .cl-liste > :is(.ac-ligne, .cl-ligne):nth-child(even), #article-list .article-item:nth-child(even)):not(.sel):not(.selected):not([aria-selected="true"]):hover:not(#_){ background: transparent; }
html.v5 :is(.an-ligne:not(.an-entete), .cl-liste > :is(.ac-ligne, .cl-ligne), #article-list .article-item):not(.sel):not(.selected):not([aria-selected="true"]){
  border-radius: 0; box-shadow: inset 0 calc(-1 * var(--v5-trait-fort)) 0 var(--v5-separateur);
}
/* la dernière ligne n'a pas de trait sous elle */
html.v5 :is(.an-ligne:not(.an-entete), .cl-liste > :is(.ac-ligne, .cl-ligne), #article-list .article-item):last-child:not(.sel):not(.selected):not([aria-selected="true"]){ box-shadow: none; }
