/* ============================================================
   PROLEAD — Styles tableaux et encadrés cluster décennale
   Fichier centralisé — ne pas mettre inline dans les champs ACF
   ============================================================ */

/* --- Styles génériques tableaux décennale --- */
[class^="tdb-"] {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 10px 0 18px;
}
[class^="tdb-"] th {
  background: #0D3B6E;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  border: 1px solid #0a2d56;
  text-align: left;
}
[class^="tdb-"] td {
  padding: 7px 12px;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  vertical-align: top;
}
[class^="tdb-"] tr:nth-child(even) td {
  background: #f8fbff;
}
[class^="tdb-"] tr:hover td {
  background: #EBF4FF;
}
[class^="tdb-"] .ob  { color: #1baf7a; font-weight: 700; }
[class^="tdb-"] .nob { color: #e34948; font-weight: 700; }
[class^="tdb-"] .cond{ color: #eda100; font-weight: 700; }
[class^="tdb-"] .low { color: #1baf7a; font-weight: 700; }
[class^="tdb-"] .med { color: #eda100; font-weight: 700; }
[class^="tdb-"] .high{ color: #e34948; font-weight: 700; }
[class^="tdb-"] .best{ color: #1baf7a; font-weight: 700; }
[class^="tdb-"] .dur { color: #0D3B6E; font-weight: 700; }
[class^="tdb-"] .ok  { color: #1baf7a; font-weight: 700; }
[class^="tdb-"] .no  { color: #e34948; }
[class^="tdb-"] .art { font-weight: 700; color: #0D3B6E; white-space: nowrap; }
[class^="tdb-"] .dl  { font-weight: 700; color: #0D3B6E; }
[class^="tdb-"] th.left { text-align: left; }
[class^="tdb-"] td.left { text-align: left; font-weight: 600; }
[class^="tdb-"] td[data-row="head"] {
  background: #0D3B6E;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}

/* --- Badges / tags --- */
.tag-r {
  background: #eaf3de;
  color: #3b6d11;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.tag-o {
  background: #faeeda;
  color: #854f0b;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
}

/* --- Tableaux centre-alignés --- */
.tdb-cmp4 td,
.tdb-cmp5 td,
.tdb-cmp6 td,
.tdb-cmp7 td {
  text-align: center;
}
.tdb-cmp4 td.left,
.tdb-cmp5 td.left,
.tdb-cmp6 td.left,
.tdb-cmp7 td.left {
  text-align: left;
}
.tdb-cmp4 th,
.tdb-cmp5 th,
.tdb-cmp6 th,
.tdb-cmp7 th {
  text-align: center;
}
