/* ==========================================================================
   Item 304 · Tumeurs du foie primitives et secondaires — styles spécifiques
   Charge après styles.css + components.css.
   Composants propres au 304 :
   - Schémas SVG natifs (cinétique PDC, double vascu, vascu comparée,
     histogénèse CHC, BCLC)
   - Tableau comparatif géant 7×6 avec lignes color-codées
   - Profil-card · alert-clinical · big-table · etiogrid · hbox · trap
     (réutilisé / adapté de 303 + 312)
   ========================================================================== */

:root {
  --paper:    var(--bg-card);
  --paper-2:  #fffcf5;
  --rule:     #d7ccb4;
  --rule-2:   var(--accent-dash);
  --bg-2:     #ece5d6;
  --bg-3:     #e4dcc8;
  --ink-2:    #524a3e;
  --ink-3:    #8a8270;
  --ink-4:    #b2a98f;
  --danger:   #a52a1a;
  --warn:     #8a5a12;
  --ok:       #4e6a2f;
  --info:     #2f5e6b;

  /* 6 familles de la mindmap (correspondance brief §3) */
  --fam-ben:  #10b981;   /* vert bénin */
  --fam-chc:  #dc2626;   /* rouge tuile CHC */
  --fam-cca:  #92400e;   /* marron-bile CCA */
  --fam-meta: #7c3aed;   /* violet métastases */
  --fam-dem:  #3b82f6;   /* bleu démarche dx */
  --fam-img:  #f59e0b;   /* jaune-or imagerie */
}

.content { max-width: 1400px; }

/* Fade léger au changement d'onglet */
@keyframes onco304-fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.content-panel.active { animation: onco304-fadeIn .35s ease-out; }

/* ----- Familles utilitaires (mindmap + cartes) ----- */
.fam-def     { --fam: var(--ink);          --fam-bg: var(--bg-2); }
.fam-ok      { --fam: var(--ok);           --fam-bg: #dde2c8; }
.fam-warn    { --fam: var(--warn);         --fam-bg: #f3e9cc; }
.fam-info    { --fam: var(--info);         --fam-bg: #cfdde0; }
.fam-onco    { --fam: var(--spe-onco);     --fam-bg: #f0d2dd; }
.fam-hemato  { --fam: var(--spe-hemato);   --fam-bg: #ead8e4; }
.fam-genet   { --fam: #92400e;             --fam-bg: #ede1ce; }
.fam-pec     { --fam: #a07a52;             --fam-bg: #ede1ce; }
.fam-danger  { --fam: var(--danger);       --fam-bg: #fbf0ea; }
.fam-th      { --fam: var(--ok);           --fam-bg: #dde2c8; }

/* Familles cartes traitement (BCLC) */
.ttcard-chir         { --fam: var(--spe-onco); }
.ttcard-chimio       { --fam: var(--danger); }
.ttcard-rt           { --fam: var(--warn); }
.ttcard-cible        { --fam: var(--spe-anapath, #8a4a7f); }
.ttcard-pec          { --fam: var(--ok); }

/* ============================================================
   Sec-title
   ============================================================ */
.sec-title       { display: flex; align-items: baseline; gap: 16px; margin: 36px 0 18px; flex-wrap: wrap; }
.sec-num         { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; }
.sec-title h2    { font-family: var(--font-serif); font-weight: 500; font-size: 30px; letter-spacing: -.01em; margin: 0; line-height: 1; }
.sec-title .rule { flex: 1; height: 1px; background: var(--rule); margin-bottom: 8px; min-width: 40px; }
.sec-title .hint { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }

.rang-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
  border: 1px solid var(--rule-2); color: var(--ink-2); background: var(--paper);
  vertical-align: middle;
}
.rang-tag.rang-a { border-color: var(--ok);    color: var(--ok); }
.rang-tag.rang-b { border-color: var(--warn);  color: var(--warn); }

/* ============================================================
   Schémas SVG natifs (304-specific)
   ============================================================ */
.schema-wrap {
  margin: 12px 0 18px;
  padding: 8px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow-x: auto;
}
.schema-svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.pdc-svg { min-width: 600px; }

/* ============================================================
   Tableau comparatif géant 7×6 (onglet 11)
   ============================================================ */
.comparatif-table { width: 100%; font-size: 12.5px; }
.comparatif-table thead th {
  background: var(--bg-2); color: var(--ink);
  padding: 8px 10px; font-weight: 600; font-family: var(--font-sans);
  font-size: 12px; letter-spacing: .04em;
  border-bottom: 2px solid var(--rule);
  text-align: left;
}
.comparatif-table tbody th.big-table-rowlabel {
  background: var(--paper-2);
  font-family: var(--font-serif); font-weight: 500; font-size: 13.5px;
  width: 150px; min-width: 130px;
  padding: 10px 12px;
  border-right: 1px solid var(--rule);
}
.comparatif-table tbody td {
  padding: 10px 12px; vertical-align: top; line-height: 1.45;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
}

/* Color-coding par famille (brief §12) */
.comparatif-ok      { background: rgba(78, 106, 47, 0.06); }
.comparatif-ok td   { border-left: 3px solid transparent; }
.comparatif-ok th.big-table-rowlabel { border-left: 4px solid var(--ok); color: var(--ok); }

.comparatif-warn    { background: rgba(138, 90, 18, 0.08); }
.comparatif-warn th.big-table-rowlabel { border-left: 4px solid var(--warn); color: var(--warn); }

.comparatif-danger  { background: rgba(165, 42, 26, 0.06); }
.comparatif-danger th.big-table-rowlabel { border-left: 4px solid var(--danger); color: var(--danger); }

/* ============================================================
   Cartes traitement (ttcard) — réutilisée pour BCLC (onglet 12)
   ============================================================ */
.ttcards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
}
.ttcard {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 6px;
  border-left: 4px solid var(--fam, var(--ink));
  padding: 16px 18px;
}
.ttcard h3 {
  font-family: var(--font-serif); font-size: 19px; font-weight: 500; margin: 0 0 12px;
  color: var(--fam, var(--ink));
}
.ttcard-block { margin-bottom: 12px; }
.ttcard-block:last-child { margin-bottom: 0; }
.ttcard-lbl {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
.ttcard-block ul, .ttcard-block p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.ttcard-block ul { padding-left: 18px; }
.ttcard-block ul li { margin-bottom: 4px; }

/* ============================================================
   Big-table — wrap horizontal
   ============================================================ */
.big-table-wrap { overflow-x: auto; margin: 8px 0; }
.big-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  background: var(--paper); border: 1px solid var(--rule);
}
.big-table thead th {
  background: var(--bg-2); color: var(--ink); font-weight: 600;
  text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--rule);
  font-family: var(--font-sans); font-size: 13px;
}
.big-table tbody td, .big-table tbody th {
  padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
.big-table tbody th.big-table-rowlabel {
  background: var(--paper-2); color: var(--ink); font-weight: 600;
  font-family: var(--font-serif); font-size: 13.5px;
  width: 180px;
}

/* ============================================================
   Profil-card (réutilisé du 303)
   ============================================================ */
.profil-card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 6px;
  border-left: 4px solid var(--fam, var(--spe-hepato));
  padding: 16px 18px; margin-bottom: 14px;
}
.profil-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.profil-head h3 {
  font-family: var(--font-serif); font-size: 19px; font-weight: 500; margin: 0;
  color: var(--fam, var(--spe-hepato));
}
.profil-head .profil-sub {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3);
}
.profil-block { margin-bottom: 10px; }
.profil-block:last-child { margin-bottom: 0; }
.profil-block > b { color: var(--ink); font-family: var(--font-sans); font-size: 12.5px; }
.profil-block p, .profil-block ul { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.profil-block ul { padding-left: 18px; }
.profil-block ul li { margin-bottom: 4px; }
.profil-piege {
  margin-top: 10px; padding: 9px 12px; border-radius: 4px;
  background: #fef9ee; border-left: 3px solid var(--warn);
  font-size: 12.5px; color: var(--ink-2); line-height: 1.5;
}
.profil-piege > b { color: var(--warn); }

/* ============================================================
   Alert clinique (réplique 303) — alertes rouges du brief §19
   ============================================================ */
.alert-clinical {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px;
  background: #fbf0ea; border: 1px solid var(--danger); border-left-width: 4px;
  padding: 14px 16px; border-radius: 4px; margin: 8px 0;
}
.alert-clinical.alert-warn { background: #fef9ee; border-color: var(--warn); }
.alert-clinical .ac-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--danger); color: #fffcf5;
  font-weight: 700; font-size: 18px;
}
.alert-clinical.alert-warn .ac-icon { background: var(--warn); }
.alert-clinical .ac-body h3 {
  font-family: var(--font-serif); font-size: 17px; font-weight: 500; margin: 0 0 4px;
  color: var(--danger);
}
.alert-clinical.alert-warn .ac-body h3 { color: var(--warn); }
.alert-clinical .ac-meta {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); margin-bottom: 6px;
  letter-spacing: .06em;
}
.alert-clinical .ac-body p, .alert-clinical .ac-body ul {
  margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.55;
}
.alert-clinical .ac-body ul { padding-left: 18px; }
.alert-clinical .ac-body ul li { margin-bottom: 3px; }

/* ============================================================
   Info-callout + warn-callout
   ============================================================ */
.info-callout {
  background: var(--paper-2); border: 1px solid var(--rule); border-left: 3px solid var(--info);
  padding: 12px 16px; border-radius: 4px; font-size: 13px; line-height: 1.55; color: var(--ink-2);
  margin: 8px 0;
}
.info-callout.warn-callout { border-left-color: var(--warn); background: #fef9ee; }
.info-callout .ic-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  color: var(--info); margin-right: 10px; text-transform: uppercase; font-weight: 600;
}
.info-callout.warn-callout .ic-tag { color: var(--warn); }

/* ============================================================
   Traps — pièges QCM (onglet 13)
   ============================================================ */
.traps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}
.trap {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 4px;
  border-left: 3px solid var(--warn);
  padding: 12px 14px;
}
.trap .tn {
  font-family: var(--font-mono); font-size: 11px; color: var(--warn);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px;
}
.trap h5 {
  font-family: var(--font-serif); font-size: 14.5px; font-weight: 500; margin: 0 0 4px; color: var(--ink);
}
.trap p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }

/* ============================================================
   Etiogrid — utilisé pour classification (onglet 02)
   ============================================================ */
.etiogrid { display: grid; gap: 12px; margin-top: 8px; }
.etiogrid.r-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.etiogrid.r-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.etio {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 4px;
  border-left: 3px solid var(--fam, var(--ink-3));
  padding: 12px 14px;
}
.etio h5 {
  font-family: var(--font-serif); font-size: 14.5px; font-weight: 500; margin: 0 0 6px;
  color: var(--fam, var(--ink));
}
.etio p, .etio ul { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.etio ul { padding-left: 18px; }
.etio ul li { margin-bottom: 3px; }
.etio.fam-danger { --fam: var(--danger); }

/* ============================================================
   Vignette + keypoints + définitions
   ============================================================ */
.vignette {
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px;
  padding: 18px 22px; margin-bottom: 18px;
}
.vignette .vg-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--ink-3);
  text-transform: uppercase; margin-bottom: 10px;
}
.vignette p { font-size: 13.5px; line-height: 1.6; color: var(--ink); margin: 0 0 10px; }
.vignette .vg-trap {
  margin-top: 10px; padding: 10px 12px;
  background: #fef9ee; border-left: 3px solid var(--warn);
  font-size: 12.5px; color: var(--ink-2); line-height: 1.55; border-radius: 4px;
}

.kp {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start;
  padding: 14px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: 4px;
  margin-bottom: 10px;
}
.kp .kp-n {
  font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--spe-hepato);
  text-align: center; align-self: center;
}
.kp .kp-body { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

.def-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 12px;
}
.def-card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 4px;
  padding: 12px 14px;
}
.def-card .def-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.def-card .def-head h3 {
  font-family: var(--font-serif); font-size: 15px; font-weight: 500; margin: 0;
  color: var(--spe-hepato);
}
.def-card .def-head .def-sub {
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: .08em;
}
.def-card p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }

/* ============================================================
   Hbox / hstack
   ============================================================ */
.hstack { display: flex; gap: 12px; flex-wrap: wrap; }
.hstack > .hbox { flex: 1 1 280px; }
.hbox {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 10px; align-items: start;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.hbox .n {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--spe-hepato); text-transform: uppercase; align-self: start;
  border-right: 1px dashed var(--rule); padding-right: 8px; font-weight: 600;
}
.hbox h5 {
  font-family: var(--font-serif); font-size: 14.5px; font-weight: 500; margin: 0 0 6px;
  color: var(--ink); grid-column: 2;
}
.hbox p, .hbox ul {
  grid-column: 2;
  margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2);
}
.hbox ul { padding-left: 18px; }
.hbox ul li { margin-bottom: 4px; }

/* ============================================================
   Mindmap — réplique 303 (couleur racine HGE)
   ============================================================ */
.mmwrap { position: relative; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; padding: 12px; min-height: 600px; }
.zctl {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; gap: 4px;
}
.zctl button {
  width: 30px; height: 30px; border-radius: 4px; border: 1px solid var(--rule);
  background: var(--paper); color: var(--ink); cursor: pointer;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
}
.zctl button:hover { background: var(--bg-2); }
.zhint {
  position: absolute; top: 18px; left: 18px; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase;
  pointer-events: none;
}
#mm-svg { width: 100%; height: 700px; cursor: grab; }
#mm-svg:active { cursor: grabbing; }
.ring { fill: none; stroke: var(--rule); stroke-dasharray: 4 4; }
.link.main { fill: none; stroke: var(--ink-3); stroke-width: 1.5; opacity: .65; }
.link.sat  { fill: none; stroke: var(--ink-4); stroke-width: 1; opacity: .55; }
.root-circle { fill: var(--spe-hepato); stroke: var(--ink); stroke-width: 2; }
.root-text   { fill: #fffcf5; font-family: var(--font-sans); font-weight: 500; }
.node-card { cursor: pointer; }
.node-card .node-bg     { fill: var(--paper); stroke: var(--rule); stroke-width: 1; }
.node-card .node-accent { fill: var(--fam, var(--ink)); }
.node-card .node-chip   { fill: var(--fam-bg, var(--bg-2)); }
.node-card .node-chip-t { fill: var(--fam, var(--ink)); font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; }
.node-card .node-title  { fill: var(--ink); font-family: var(--font-serif); font-size: 17px; font-weight: 500; }
.node-card .node-sub    { fill: var(--ink-2); font-family: var(--font-sans); font-size: 11.5px; }
.node-card:hover .node-bg { fill: var(--bg-2); }
.node-sat { cursor: pointer; }
.node-sat .sat-bg    { fill: #fffcf5; stroke: var(--rule); stroke-width: 1; }
.node-sat .sat-title { fill: var(--ink); font-family: var(--font-sans); font-size: 12px; font-weight: 600; }
.node-sat .sat-sub   { fill: var(--ink-3); font-family: var(--font-sans); font-size: 10px; }
.node-sat:hover .sat-bg { fill: var(--bg-2); }

/* ============================================================
   Matrix tables
   ============================================================ */
.matrix { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); font-size: 13px; }
.matrix thead th { background: var(--bg-2); color: var(--ink); padding: 8px 12px; text-align: left; border-bottom: 2px solid var(--rule); font-family: var(--font-sans); font-weight: 600; }
.matrix tbody th { background: var(--paper-2); color: var(--ink); padding: 10px 12px; text-align: left; font-weight: 600; font-family: var(--font-serif); font-size: 13.5px; vertical-align: top; width: 220px; border-bottom: 1px solid var(--rule); }
.matrix tbody td { padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--rule); line-height: 1.5; color: var(--ink-2); }

/* ============================================================
   Decision-tree — durcissement classe racine (piège brief §13)
   ============================================================ */
.dt-svg .dt-node.dt-root rect {
  fill: var(--spe-hepato);
  stroke: var(--ink);
}
.dt-svg .dt-node.dt-root text {
  fill: #fffcf5;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .sec-title h2 { font-size: 22px; }
  .comparatif-table tbody th.big-table-rowlabel { width: 120px; min-width: 100px; }
}

/* ============================================================
   Placeholder image (cinétique PDC) + tableau imagerie multiphasique
   Ajoutés post-suppression des 3 schémas SVG (cinétique PDC, double
   vascularisation, vascularisation tumorale comparée).
   ============================================================ */
.img-placeholder {
  margin: 16px 0 24px;
  border: 2px dashed var(--accent-dash, #d4d4d8);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.02);
  padding: 28px 24px;
  transition: border-color 0.2s ease;
}
.img-placeholder:hover {
  border-color: var(--spe-hepato, #b8472c);
}
.img-placeholder__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}
.img-placeholder__icon {
  flex-shrink: 0;
  color: var(--ink-3, #71717a);
  opacity: 0.55;
}
.img-placeholder__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-2, #71717a);
  font-size: 13px;
  line-height: 1.45;
}
.img-placeholder__text strong {
  color: var(--ink, #18181b);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .img-placeholder__inner { flex-direction: column; text-align: center; }
}
body.dark-mode .img-placeholder {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}
body.dark-mode .img-placeholder__text { color: rgba(255, 255, 255, 0.55); }
body.dark-mode .img-placeholder__text strong { color: rgba(255, 255, 255, 0.9); }

/* Tableau imagerie multiphasique enrichi — 6 colonnes esthétique */
.tab-imagerie-multiphasique {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 13.5px;
  margin: 16px 0 14px;
}
.tab-imagerie-multiphasique thead th {
  background: var(--spe-hepato, #b8472c);
  color: #fffcf5;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.tab-imagerie-multiphasique tbody td {
  padding: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
  line-height: 1.45;
}
.tab-imagerie-multiphasique tbody tr:last-child td { border-bottom: none; }
.tab-imagerie-multiphasique tbody th {
  background: rgba(0, 0, 0, 0.025);
  font-weight: 600;
  text-align: left;
  padding: 14px;
  color: var(--ink, #18181b);
  width: 110px;
}
.tab-imagerie-multiphasique tbody tr.row-arteriel td.col-chc        { background: rgba(220, 38, 38, 0.08); font-weight: 600; }
.tab-imagerie-multiphasique tbody tr.row-portal   td.col-chc        { background: rgba(220, 38, 38, 0.04); }
.tab-imagerie-multiphasique tbody tr.row-arteriel td.col-hemangiome { background: rgba(16, 185, 129, 0.06); }
.tab-imagerie-multiphasique tbody tr.row-portal   td.col-hemangiome { background: rgba(16, 185, 129, 0.10); }
.tab-imagerie-multiphasique tbody tr.row-tardif   td.col-hemangiome { background: rgba(16, 185, 129, 0.14); font-weight: 600; }
.tab-imagerie-multiphasique tbody tr.row-portal   td.col-metastase  { background: rgba(124, 58, 237, 0.08); font-weight: 600; }
.tab-imagerie-multiphasique tbody td strong { color: var(--ink, #18181b); }

body.dark-mode .tab-imagerie-multiphasique thead th { background: #8b5e2c; }
body.dark-mode .tab-imagerie-multiphasique tbody th { background: rgba(255, 255, 255, 0.04); color: var(--ink); }
body.dark-mode .tab-imagerie-multiphasique tbody td { border-bottom-color: rgba(255, 255, 255, 0.06); }

.caption-pedagogique {
  font-size: 12.5px;
  color: var(--ink-2, #6b5e45);
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 24px;
  padding: 0 6px;
}
.caption-pedagogique b { color: var(--ink); font-style: normal; }

@media (max-width: 900px) {
  .tab-imagerie-multiphasique { font-size: 12.5px; }
  .tab-imagerie-multiphasique thead th,
  .tab-imagerie-multiphasique tbody td,
  .tab-imagerie-multiphasique tbody th { padding: 10px; }
}
