/* ==================================================================
   dossier_v4_clarity.css — onglet Scénarios
   Tableau comparatif : en-têtes explicites + sous-titres, lignes aérées.
   (Risques & Juridique : cf. dossier_v5_lists.css)
   Chargée après v1/v2/v3 : surcharge à spécificité égale.
   ================================================================== */

.theme-emeraude .sc-compare-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
}
.theme-emeraude .sc-compare-head h3 { font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; }
.theme-emeraude .sc-compare-head p { font-size: 13px; line-height: 1.5; max-width: 78ch; }

/* Mode d'emploi du tableau : une phrase, pas un paragraphe. */
.sc-compare-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 10px;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--em-brass-bright, var(--c-border-strong));
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--c-ink-2);
}
.sc-compare-note strong { color: var(--c-ink); font-weight: 700; }
.sc-compare-note .material-symbols-outlined { font-size: 17px; color: var(--em-brass, var(--c-muted)); flex: none; margin-top: 1px; }

/* En-têtes de colonnes : libellé + explication en clair. */
.theme-emeraude .dossier-tab-panel[data-panel="scenarios"] .sc-table__t thead th {
  height: auto;
  padding: 11px 12px 10px;
  vertical-align: bottom;
  font-size: 11.5px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 700;
  color: var(--c-ink);
}
.sc-th__sub {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--c-muted);
  line-height: 1.3;
  text-wrap: pretty;
}
/* Colonne de décision : marquée en tête de colonne. */
.theme-emeraude .dossier-tab-panel[data-panel="scenarios"] .sc-table__t thead th:nth-child(4) {
  border-top: 3px solid var(--em-emerald, var(--c-accent));
}
.theme-emeraude .dossier-tab-panel[data-panel="scenarios"] .sc-table__t thead th:nth-child(4) .sc-th__sub {
  color: var(--em-emerald-deep, var(--c-accent));
  font-weight: 600;
}

/* Cellules : un cran plus grandes, chiffres lisibles. */
.theme-emeraude .dossier-tab-panel[data-panel="scenarios"] .sc-table__row > td {
  height: auto;
  padding: 13px 12px;
  font-size: 13px;
}
.theme-emeraude .dossier-tab-panel[data-panel="scenarios"] .sc-table__name-txt {
  font-size: 13.5px;
  font-weight: 600;
}
.theme-emeraude .dossier-tab-panel[data-panel="scenarios"] .sc-table__row > td:nth-child(4) .mono {
  font-size: 14px;
  font-weight: 600;
}
.theme-emeraude .dossier-tab-panel[data-panel="scenarios"] .sc-table__row { cursor: pointer; }
