/* Supprimer les doublons : deux colonnes titrées, lignes en double barrées dans la liste de départ */
.dbl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.dbl-col { display: grid; gap: 10px; min-width: 0; }
.dbl-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dbl-titre b { font: 600 17px/1.3 var(--head); color: var(--ink); }
.dbl-titre span { font-size: 14px; color: var(--muted); }
.dbl-saisie { position: relative; border-radius: 12px; background: #fff; }
.dbl-saisie .area, .dbl-col > .area { display: block; height: 264px; overflow-y: scroll; }
.dbl-saisie .area { position: relative; background: transparent; }
.dbl-col > .area { background: var(--soft); }
/* mêmes mesures que la zone de saisie posée dessus, pour que chaque ligne tombe au même endroit */
.dbl-calque { position: absolute; inset: 0; padding: 14px; border: 1px solid transparent; overflow-y: scroll; scrollbar-color: transparent transparent; font: 500 16px/1.55 var(--body); color: transparent; white-space: pre-wrap; overflow-wrap: break-word; pointer-events: none; }
.dbl-x { margin: 0 -6px; padding: 0 6px; border-radius: 6px; background: #fde3e5; text-decoration: line-through; text-decoration-color: var(--red-deep); text-decoration-thickness: 2px; }
.dbl-bilan { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 15px; font-weight: 500; color: var(--text); }
.dbl-bilan[data-etat="retire"] { background: var(--tint); color: var(--red-deep); }
.dbl-bilan[data-etat="propre"] { background: #e8f7ee; color: #0b7a3b; }

@media (max-width: 600px) {
  .dbl-cols { grid-template-columns: 1fr; }
  .dbl-saisie .area, .dbl-col > .area { height: 216px; }
}
