/* V5 · PRIX À REVOIR (PC) — la feuille des baisses de prix proposées (js/v5/pages/prix-a-revoir.js) : les trois réglages
   en tête, puis une ligne par annonce (case, titre et chiffres, ancien prix → nouveau prix modifiable).
   21/10/2026 : la liste est un CONTENANT (r16), jamais une capsule : avec var(--v5-r-bouton) (999 px) + overflow, la liste
   était découpée en ovale (lignes du haut et du bas tronquées, cases et prix invisibles). */
html.v5 .pr-regle{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 2px 0 12px; }
html.v5 .pr-liste{ max-height: min(52vh, 460px); overflow-y: auto; overscroll-behavior: contain; border-radius: var(--v5-r-groupe); box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur); }
/* en-tête collant : « tout cocher » + total de la sélection */
html.v5 .pr-entete{ position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--v5-fond); box-shadow: inset 0 calc(-1 * var(--v5-trait-fort)) 0 var(--v5-separateur); font-size: var(--v5-t-12); color: var(--v5-texte-2); cursor: default; }
html.v5 .pr-entete .pr-tout{ flex: 1; min-width: 0; }
html.v5 .pr-total{ flex: none; font-variant-numeric: tabular-nums; }
html.v5 .pr-ligne{ display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; cursor: default; }
html.v5 .pr-ligne + .pr-ligne{ box-shadow: inset 0 var(--v5-trait-fort) 0 var(--v5-separateur); }
html.v5 .pr-ligne:hover{ background: var(--v5-rempli-3); }
html.v5 .pr-case{ flex: none; }
html.v5 .pr-textes{ flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html.v5 .pr-titre{ font: var(--v5-g-moyen) var(--v5-t-13)/16px var(--v5-police); color: var(--v5-texte); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.v5 .pr-sous{ font-size: var(--v5-t-11); line-height: 14px; color: var(--v5-texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* bloc prix à largeur fixe : les colonnes s'alignent d'une ligne à l'autre */
html.v5 .pr-prix{ flex: none; display: grid; grid-template-columns: 44px 14px 64px 40px; align-items: center; column-gap: 4px; }
html.v5 .pr-ancien{ font-size: var(--v5-t-13); color: var(--v5-texte-3); text-decoration: line-through; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.v5 .pr-fleche{ font-size: var(--v5-t-12); color: var(--v5-texte-3); text-align: center; }
html.v5 .pr-champ{ display: flex; align-items: center; gap: 2px; }
html.v5 .pr-nouveau{ width: 48px; height: 26px; padding: 0 4px; border: 0; border-radius: var(--v5-r-champ); background: var(--v5-rempli-3); box-shadow: none; text-align: right; font: var(--v5-g-fort) var(--v5-t-13)/16px var(--v5-police); font-variant-numeric: tabular-nums; color: var(--v5-texte); cursor: text; }
html.v5 .pr-nouveau:focus{ background: var(--v5-fond); box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-separateur-fort); outline: var(--v5-focus-l) solid var(--v5-focus); }
html.v5 .pr-nouveau[aria-invalid="true"]{ box-shadow: inset 0 0 0 var(--v5-trait-fort) var(--v5-rouge); }
html.v5 .pr-euro{ font-size: var(--v5-t-13); font-weight: var(--v5-g-fort); color: var(--v5-texte); }
html.v5 .pr-pct{ font-size: var(--v5-t-11); color: var(--v5-texte-3); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
html.v5 .pr-nouveau[aria-invalid="true"] ~ .pr-euro, html.v5 .pr-ligne:has(.pr-nouveau[aria-invalid="true"]) .pr-pct{ color: var(--v5-rouge); }
html.v5 .pr-vide{ margin: 0; padding: 26px 12px; text-align: center; font-size: var(--v5-t-13); color: var(--v5-texte-3); }
html.v5 .pr-note{ margin: 10px 0 0; min-height: 15px; font-size: var(--v5-t-12); line-height: 15px; color: var(--v5-texte-2); }
/* la case à cocher est celle du système (.v5-case, css/v5/controles.css) ; une ligne décochée passe en gris */
html.v5 .pr-ligne:has(.pr-case:not(:checked)) :is(.pr-titre, .pr-nouveau, .pr-euro, .pr-pct){ color: var(--v5-texte-3); }
html.v5 .pr-ligne:has(.pr-case:not(:checked)) .pr-nouveau{ background: none; }

/* ================================================================== 30/10 : façon Notion — la liste n'a plus de cadre : l'en-tête est
   souligné, les annonces séparées d'un trait fin. */
html.v5 .pr-liste:not(#_){ border-radius: 0; box-shadow: none; }
html.v5 .pr-entete:not(#_){ padding-left: 2px; padding-right: 2px; }
html.v5 .pr-ligne:not(#_){ padding-left: 2px; padding-right: 2px; }
