/* Delta-Sierra V21.45.2 — P0 rollback de la couche globale V21.45.
   RÈGLE: aucun sélecteur générique main/article/section/div/img/*.
   Cette feuille ne conserve que trois corrections explicitement validées. */

/* 1) Rail France : seulement les deux titres, sans sous-titre ni badge. */
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-hint,
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-card-v2141 > [class*="badge"],
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-card > [class*="badge"],
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-synthesis-v2141 > [class*="badge"],
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-responses-v2141 > [class*="badge"]{
  display:none!important;
}
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-card-v2141,
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-card{
  grid-template-columns:minmax(0,1fr)!important;
  min-height:2.7rem!important;
  padding:.58rem .62rem!important;
}
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-copy-v2141,
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-copy{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  text-align:center!important;
}
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-label-v2141,
.ds-sidebar[data-ds-sidebar-master="v2129"] .ds-program-resource-label{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:normal!important;
  text-align:center!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

/* 2) Synthèse des 155 mesures : uniquement ce tableau et ses panneaux de détail. */
body[data-content-id="france-legal-corpus-155"] .ds-corpus-table{
  width:100%!important;
  table-layout:fixed!important;
}
@media (min-width:761px){
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table thead th:nth-child(1),
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table tbody tr.ds-measure-summary-v2141>td:nth-child(1){width:60%!important}
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table thead th:nth-child(2),
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table tbody tr.ds-measure-summary-v2141>td:nth-child(2){width:20%!important}
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table thead th:nth-child(3),
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table tbody tr.ds-measure-summary-v2141>td:nth-child(3){width:20%!important}
}
body[data-content-id="france-legal-corpus-155"] .ds-corpus-table td,
body[data-content-id="france-legal-corpus-155"] .ds-corpus-table th,
body[data-content-id="france-legal-corpus-155"] .ds-corpus-table td *,
body[data-content-id="france-legal-corpus-155"] .ds-corpus-table th *,
body[data-content-id="france-legal-corpus-155"] .measure-detail-panel-v20350,
body[data-content-id="france-legal-corpus-155"] .measure-detail-panel-v20350 *{
  min-width:0!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:none!important;
  box-sizing:border-box!important;
}
body[data-content-id="france-legal-corpus-155"] .ds-measure-detail-v2141>td{width:100%!important;max-width:100%!important}
body[data-content-id="france-legal-corpus-155"] .measure-detail-panel-v20350,
body[data-content-id="france-legal-corpus-155"] .ds-measure-detail-card-v2141{
  width:calc(100% - 22px)!important;
  max-width:calc(100% - 22px)!important;
  margin:12px auto!important;
  overflow:hidden!important;
}
@media (max-width:760px){
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table thead{display:none!important}
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table,
  body[data-content-id="france-legal-corpus-155"] .ds-corpus-table tbody,
  body[data-content-id="france-legal-corpus-155"] .ds-measure-summary-v2141,
  body[data-content-id="france-legal-corpus-155"] .ds-measure-detail-v2141{display:block!important;width:100%!important}
  body[data-content-id="france-legal-corpus-155"] .ds-measure-summary-v2141>td,
  body[data-content-id="france-legal-corpus-155"] .ds-measure-detail-v2141>td{display:block!important;width:100%!important;max-width:100%!important}
}

/* 3) Éthique : empêcher les césures artificielles, sans toucher aux autres pages. */
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-reading-nav li,
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-reading-nav a,
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table th,
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table td{
  hyphens:none!important;
  word-break:normal!important;
}
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-table-wrap{overflow-x:auto!important}
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table{min-width:760px!important;table-layout:fixed!important}
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table th:nth-child(1),
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table td:nth-child(1){width:27%!important}
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table th:nth-child(2),
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table td:nth-child(2){width:25%!important}
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table th:nth-child(3),
body[data-content-id="france-v2132-ethique-exemplarite-service-public"] .ds-ethics-page .ethics-legal-table td:nth-child(3){width:48%!important}


/* V21.45.3 — règles postérieures conservées car strictement cantonnées à leurs composants. */
.cyber-measure{align-items:start!important}
.cyber-measure>.cyber-cost-link-v2142{grid-column:2/-1!important;justify-self:start!important;width:auto!important;max-width:100%!important;margin:.65rem 0 .15rem!important;padding:0!important}
.cyber-cost-link-v2142 a{display:inline-flex!important;align-items:center!important;min-height:2.45rem!important;padding:.48rem .78rem!important;border:1px solid #9fb8d4!important;border-radius:.55rem!important;background:#eef5fc!important;color:#123f70!important;font-weight:850!important;line-height:1.18!important;text-decoration:none!important}
.cyber-cost-link-v2142 a:hover,.cyber-cost-link-v2142 a:focus-visible{background:#123f70!important;color:#fff!important;outline:3px solid #e1b632!important;outline-offset:2px!important}
.cyber-en-clair{margin:.72rem 0!important;padding:.72rem .82rem!important;border-left:4px solid #2e7d57!important;border-radius:0 .55rem .55rem 0!important;background:#f0f8f4!important;color:#244238!important;line-height:1.55!important}
.cyber-cost-reading-guide{margin:1rem 0!important;padding:1rem 1.1rem!important;border:1px solid #c8d8e8!important;border-radius:.7rem!important;background:#f7fbff!important}
.cyber-cost-reading-guide h3{margin-top:0!important;color:#123f70!important}
@media(min-width:480px){.cyber-cost-link-v2142 a{white-space:nowrap!important}}
@media(max-width:479px){.cyber-measure>.cyber-cost-link-v2142{grid-column:1/-1!important}.cyber-cost-link-v2142 a{white-space:normal!important;max-width:100%!important}}
.political-proof-badge{display:inline-flex!important;align-items:center!important;width:max-content!important;margin:.25rem 0 .55rem!important;padding:.28rem .55rem!important;border-radius:999px!important;background:#e9f1fb!important;color:#153f70!important;border:1px solid #b9cce3!important;font-size:.72rem!important;font-weight:900!important;letter-spacing:.02em!important}
.political-transcript{margin:.7rem 0 0!important;padding:.55rem .7rem!important;border:1px solid #d5e0eb!important;border-radius:.55rem!important;background:#f8fbfe!important}
.political-transcript summary{cursor:pointer!important;color:#174d82!important;font-weight:850!important}
.political-transcript p{margin:.55rem 0 0!important;line-height:1.55!important;color:#344c65!important}
.ds-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.about-contact-cta-v2143{margin:1rem 0 1.25rem!important}.about-contact-cta-v2143 .buy-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important}
