/* Page « Débats et points discutés » (décision 0078). Jetons de couleur communs ; propriétés
   logiques pour que l'arabe (droite à gauche) se mette en page sans règle à part. */
.deb-titre { font: 600 1.7rem var(--titre); margin: 1rem 0 .1rem; }
.deb-intro { color: var(--discret); margin: 0 0 .8rem; max-width: 70ch; }
.deb-barre { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 0 0 1rem; }
.deb-natures { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; padding: 0; margin: 0; }
.deb-puce { position: relative; display: inline-flex; }
.deb-puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.deb-puce span { padding: .25rem .75rem; border: 1px solid var(--ligne); border-radius: 999px; font-size: .85rem;
  background: var(--carte); color: var(--discret); cursor: pointer; }
.deb-puce input:checked + span { color: var(--or); border-color: var(--or); background: var(--doux); font-weight: 600; }
.deb-puce input:focus-visible + span { outline: 2px solid var(--or-vif); outline-offset: 2px; }
.deb-puce small { font-variant-numeric: tabular-nums; margin-inline-start: .2rem; }
.deb-champ { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--discret); }
.deb-champ :is(select, input) { font: inherit; padding: .2rem .4rem; border: 1px solid var(--ligne); border-radius: 8px;
  background: var(--carte); color: var(--texte); font-variant-numeric: tabular-nums; }
.deb-cas { background: var(--carte); border: 1px solid var(--ligne); border-radius: 14px; margin: 0 0 1rem; overflow: hidden; }
.deb-cas-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; padding: .6rem 1rem;
  background: var(--panneau); border-bottom: 1px solid var(--ligne); }
.deb-cas-tete h2 { font: 600 1.05rem var(--titre); margin: 0; }
.deb-nature-point { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--alerte); }
.deb-aller { margin-inline-start: auto; display: flex; gap: .9rem; font-size: .85rem; }
.deb-aller a { color: var(--or); }
.deb-versions { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) {
  .deb-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deb-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.deb-version { padding: .75rem 1rem; border-block-end: 1px solid var(--ligne); min-width: 0; }
@media (min-width: 48rem) { .deb-version { border-inline-end: 1px solid var(--ligne); } }
.deb-retenue { background: var(--doux); }
.deb-etq { font-size: .7rem; color: var(--discret); text-transform: uppercase; letter-spacing: .05em; }
.deb-valeur { font: 600 1.2rem var(--titre); margin: .1rem 0 .4rem; overflow-wrap: anywhere; }
.deb-source { font-size: .85rem; margin: 0 0 .2rem; }
.deb-source a { font-weight: 600; }
.deb-primaire, .deb-secondaire { display: inline-block; font-size: .68rem; padding: 0 .45rem; border-radius: 999px; margin-inline-start: .3rem; font-weight: 600; }
.deb-primaire { background: var(--encre); color: var(--encre-texte); }
.deb-secondaire { border: 1px solid var(--ligne); color: var(--discret); font-weight: 400; }
.deb-loc { font: .78rem var(--corps); font-variant-numeric: tabular-nums; color: var(--discret); margin: 0 0 .2rem; }
.deb-citation blockquote { margin: .3rem 0 .6rem; padding-inline-start: .7rem; border-inline-start: 3px solid var(--or-vif); color: var(--discret); font-size: .85rem; }
.deb-pied { padding: .5rem 1rem; font-size: .78rem; color: var(--discret); }
.deb-vide, .deb-note { color: var(--discret); font-size: .85rem; }

/* Une ligne par point, dépliable (audit du site, maquette 6) : pleine largeur, deux colonnes
   (réglages à gauche, points à droite). */
.deb-cadre { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.deb-cote { display: grid; gap: 1rem; }
.deb-bloc, .deb-liste { background: var(--carte); border: 1px solid var(--ligne); border-radius: 14px; padding: 1rem 1.1rem; }
.deb-cote .deb-barre { display: grid; gap: .7rem; margin: 0; }
.deb-cote .deb-natures { gap: .4rem; }
.deb-hist { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin: .6rem 0 .2rem; border-bottom: 1px solid var(--ligne); }
.deb-hist a { flex: 1; background: var(--or-vif); border-radius: 2px 2px 0 0; min-width: 3px; }
.deb-hist a:hover, .deb-hist a:focus-visible { background: var(--or); }
.deb-hist-axe { display: flex; justify-content: space-between; margin: 0; font: .72rem var(--chiffres, monospace); color: var(--discret); }
.deb-compte-total { margin: 0 0 .4rem; }
.deb-ligne { border-bottom: 1px solid var(--ligne); }
.deb-ligne[open] { background: var(--doux); border-radius: 10px; border-bottom-color: transparent; }
.deb-pt { display: grid; grid-template-columns: 6rem minmax(8rem, 1.2fr) minmax(10rem, 1.4fr) 13rem 6.5rem 1rem; gap: .8rem; align-items: center; padding: .6rem .5rem; cursor: pointer; list-style: none; }
.deb-pt::-webkit-details-marker { display: none; }
.deb-pt .deb-nature-point { justify-self: start; border: 1px solid var(--ligne); border-radius: 99px; padding: .1rem .6rem; background: var(--carte); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--texte); }
.deb-num { font-family: var(--chiffres, monospace); color: var(--or); font-weight: 600; }
.deb-compte, .deb-confiance { font-size: .8rem; color: var(--discret); }
.deb-fleche::before { content: "▸"; color: var(--discret); }
.deb-ligne[open] .deb-fleche::before { content: "▾"; }
[dir="rtl"] .deb-fleche::before { content: "◂"; }
.deb-detail { padding: .3rem .8rem 1rem; }
.deb-detail .deb-versions { gap: .7rem; }
.deb-detail .deb-version { background: var(--carte); border: 1px solid var(--ligne); border-radius: 10px; }
.deb-detail .deb-retenue { border: 2px solid var(--or-vif); }
.deb-detail .deb-aller { margin: .6rem 0 0; }
.deb-passage summary { cursor: pointer; font-size: .82rem; color: var(--or); }
@media (max-width: 1100px) { .deb-cadre { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .deb-pt { grid-template-columns: 1fr auto; } .deb-pt > * { grid-column: auto; } }
.deb-detail .deb-versions { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
