/* Comparatifs patients — thème éditorial commun, composants isolés. */
.cmp-theme { --cmp-border: #e7dfd4; --cmp-muted: #52665f; }
.cmp-theme .editorial-hero h1 { text-wrap: balance; overflow-wrap: break-word; }
.cmp-theme .cmp-skip { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 10px 18px; border-radius: 12px; background: #16322d; color: #fff; }
.cmp-theme .cmp-skip:focus { top: 12px; }
.cmp-theme :is(a, select, summary):focus-visible { outline: 3px solid #52776a; outline-offset: 4px; }
.cmp-theme [hidden] { display: none !important; }
.cmp-theme .cmp-main { padding: 62px 0 80px; }
.cmp-theme .cmp-intro { display: grid; grid-template-columns: 1fr minmax(280px, 440px); align-items: end; gap: 30px; margin-bottom: 26px; }
.cmp-theme .cmp-intro h2, .cmp-theme .cmp-section-title { font: 700 clamp(1.85rem, 3vw, 2.7rem)/1.12 Georgia, serif; letter-spacing: -.025em; margin: 0 0 10px; }
.cmp-theme .cmp-intro p { margin: 0; color: var(--cmp-muted); }
.cmp-theme .cmp-chooser { background: var(--sand, #f3efe8); padding: 22px 26px; border: 1px solid var(--cmp-border); border-radius: 20px; margin-bottom: 26px; }
.cmp-theme .cmp-chooser label { display: block; font-size: .85rem; font-weight: 720; margin-bottom: 8px; }
.cmp-theme .cmp-select-wrap { position: relative; max-width: 690px; }
.cmp-theme .cmp-select-wrap::after { content: ''; pointer-events: none; position: absolute; right: 21px; top: 22px; width: 8px; height: 8px; border-right: 2px solid #52665f; border-bottom: 2px solid #52665f; transform: rotate(45deg); }
.cmp-theme .cmp-select { appearance: none; -webkit-appearance: none; display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 56px; margin: 0; padding: 14px 46px 14px 16px; border: 1px solid #c6d3cc; border-radius: 12px; background: #fff; color: #16322d; font: 650 1rem/1.4 system-ui, -apple-system, sans-serif; cursor: pointer; }
.cmp-theme .cmp-select:hover { border-color: #758c81; }
.cmp-theme .cmp-pair { border: 1px solid var(--cmp-border); border-radius: 22px; background: #fff; padding: 28px 30px; margin-bottom: 28px; }
.cmp-theme .cmp-pair:target { scroll-margin-top: 108px; }
.cmp-theme .cmp-topic { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; color: var(--cmp-muted); margin: 0 0 10px; }
.cmp-theme .cmp-pair h3.cmp-pair-title { font: 700 clamp(1.6rem, 2.8vw, 2.35rem)/1.15 Georgia, serif; letter-spacing: -.02em; margin: 0 0 18px; }
.cmp-theme .cmp-takeaway { padding: 18px 20px; border-radius: 14px; background: var(--sage2, #edf4f0); margin: 20px 0; font-size: 1.03rem; line-height: 1.7; }
.cmp-theme .cmp-takeaway strong { display: block; margin-bottom: 5px; font-size: .79rem; letter-spacing: .07em; text-transform: uppercase; }
.cmp-theme .cmp-takeaway p { margin: 0; }
.cmp-theme .cmp-scope { color: var(--cmp-muted); font-size: .9rem; line-height: 1.6; margin: 18px 0 24px; max-width: 900px; }
.cmp-theme .cmp-column-head { display: grid; grid-template-columns: 155px minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--cmp-border); border-bottom: 1px solid var(--cmp-border); background: #f7f9f7; }
.cmp-theme .cmp-column-head > div { padding: 17px 18px; min-width: 0; }
.cmp-theme .cmp-column-head strong { display: block; font: 700 1.14rem/1.25 Georgia, serif; }
.cmp-theme .cmp-column-head small { display: block; color: var(--cmp-muted); font-size: .78rem; line-height: 1.5; margin-top: 5px; }
.cmp-theme .cmp-definition { margin: 0; }
.cmp-theme .cmp-row { display: grid; grid-template-columns: 155px minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--cmp-border); }
.cmp-theme .cmp-row dt { font-size: .83rem; line-height: 1.5; font-weight: 760; padding: 19px 16px 19px 0; }
.cmp-theme .cmp-row dd { min-width: 0; margin: 0; padding: 19px 18px; font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.cmp-theme .cmp-row dd + dd { border-left: 1px solid var(--cmp-border); }
.cmp-theme .cmp-cell-name, .cmp-theme .cmp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cmp-theme .cmp-refs { white-space: nowrap; display: inline; font-weight: 550; font-size: .69rem; vertical-align: super; line-height: 0; }
.cmp-theme .cmp-refs a { color: #3e6658; padding: 1px 2px; text-decoration: none; }
.cmp-theme .cmp-refs a:hover { text-decoration: underline; }
.cmp-theme .cmp-more { margin-top: 0; border-bottom: 1px solid var(--cmp-border); }
.cmp-theme .cmp-more summary, .cmp-theme .cmp-sources summary { cursor: pointer; min-height: 48px; padding: 14px 0; font-weight: 710; }
.cmp-theme .cmp-more summary::marker, .cmp-theme .cmp-sources summary::marker { color: #648476; }
.cmp-theme .cmp-more .cmp-row:last-child { border-bottom: 0; }
.cmp-theme .cmp-clinical-point { font-size: .97rem; color: var(--cmp-muted); margin: 22px 0 0; }
.cmp-theme .cmp-links { display: flex; align-items: center; justify-content: space-between; gap: 14px 26px; flex-wrap: wrap; margin: 24px 0 0; }
.cmp-theme .cmp-full-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; background: #16322d; border: 1px solid #16322d; border-radius: 999px; color: #fff; padding: 11px 20px; font-size: .94rem; font-weight: 700; text-decoration: none; }
.cmp-theme .cmp-full-link:visited { color: #fff; }
.cmp-theme .cmp-full-link:hover { background: #244840; }
.cmp-theme .cmp-treatment-links { display: flex; flex-wrap: wrap; gap: 9px 20px; font-size: .86rem; }
.cmp-theme .cmp-treatment-links a { color: #244840; text-underline-offset: 4px; }
.cmp-theme .cmp-sources { margin-top: 21px; border-top: 1px solid var(--cmp-border); color: var(--cmp-muted); font-size: .83rem; }
.cmp-theme .cmp-sources ol { margin: 0 0 12px; padding-left: 22px; }
.cmp-theme .cmp-sources li { margin: 8px 0; scroll-margin-top: 125px; overflow-wrap: anywhere; }
.cmp-theme .cmp-sources a { color: #244840; text-underline-offset: 3px; }
.cmp-theme .cmp-sources li small { display: block; line-height: 1.5; margin-top: 3px; }
.cmp-theme .cmp-caveat { font-size: .86rem; color: var(--cmp-muted); border-left: 2px solid #b18f62; padding-left: 16px; margin: 24px 0 0; }
.cmp-theme .cmp-guides { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--cmp-border); }
.cmp-theme .cmp-guides > p { margin: 0; max-width: 740px; color: var(--cmp-muted); }
.cmp-theme .cmp-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.cmp-theme .cmp-guide-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 25px; border: 1px solid var(--cmp-border); border-radius: 20px; background: #fff; text-decoration: none; color: #16322d; transition: border-color .16s ease, box-shadow .16s ease; }
.cmp-theme .cmp-guide-card:visited { color: #16322d; }
.cmp-theme .cmp-guide-card:hover { border-color: #9fb6ab; box-shadow: 0 8px 28px rgba(22,50,45,.055); }
.cmp-theme .cmp-guide-card h3 { font: 700 1.43rem/1.2 Georgia, serif; margin: 3px 0 12px; letter-spacing: -.012em; }
.cmp-theme .cmp-guide-card p { color: var(--cmp-muted); margin: 0 0 20px; font-size: .94rem; line-height: 1.65; }
.cmp-theme .cmp-guide-card .cmp-read { font-size: .89rem; font-weight: 760; margin-top: auto; }
.cmp-theme .cmp-guides .cmp-guide-card:last-child { grid-column: 1/-1; }
.cmp-theme .cmp-consultation { margin-top: 48px; padding: 24px 28px; background: var(--sage2, #edf4f0); border-radius: 20px; }
.cmp-theme .cmp-consultation h2, .cmp-theme .cmp-consultation h3 { font: 700 1.5rem/1.2 Georgia, serif; margin: 0 0 12px; }
.cmp-theme .cmp-consultation p { margin: 0; line-height: 1.7; }
.cmp-theme .cmp-consultation a { display: inline-block; margin-top: 14px; font-weight: 700; color: #244840; text-underline-offset: 4px; }
.cmp-theme .cmp-article { max-width: 928px; padding: 50px 24px 78px; margin: auto; }
.cmp-theme .cmp-article .cmp-takeaway { margin-top: 0; }
.cmp-theme .cmp-article h2 { font: 700 clamp(1.65rem, 2.8vw, 2.1rem)/1.18 Georgia, serif; letter-spacing: -.018em; margin: 46px 0 18px; }
.cmp-theme .cmp-article h3 { font: 700 1.25rem/1.25 Georgia, serif; margin: 26px 0 12px; }
.cmp-theme .cmp-article p { font-size: 1.015rem; line-height: 1.82; }
.cmp-theme .cmp-article .cmp-scope, .cmp-theme .cmp-article .cmp-caveat { font-size: .89rem; line-height: 1.65; }
.cmp-theme .cmp-article .cmp-row { grid-template-columns: 126px minmax(0,1fr) minmax(0,1fr); }
.cmp-theme .cmp-article .cmp-column-head { grid-template-columns: 126px minmax(0,1fr) minmax(0,1fr); }
.cmp-theme .cmp-article .cmp-row dd { font-size: .93rem; padding: 18px 15px; }
.cmp-theme .cmp-article section[id] { scroll-margin-top: 112px; }
.cmp-theme .cmp-alert { border-left: 3px solid #b18f62; padding: 19px 22px; background: #faf5ec; margin-top: 32px; }
.cmp-theme .cmp-alert h2 { font-size: 1.35rem; margin: 0 0 12px; }
.cmp-theme .cmp-alert p { margin: 0; font-size: .96rem; }
.cmp-theme .cmp-questions details { border-top: 1px solid var(--cmp-border); padding: 15px 0; }
.cmp-theme .cmp-questions details:last-child { border-bottom: 1px solid var(--cmp-border); }
.cmp-theme .cmp-questions summary { min-height: 32px; cursor: pointer; font-weight: 720; }
.cmp-theme .cmp-questions details p { margin-bottom: 0; }
.cmp-theme .cmp-article .cmp-consultation h2 { margin-top: 0; font-size: 1.6rem; }
.cmp-theme .cmp-article .cmp-sources { font-size: .86rem; padding-top: 12px; }
.cmp-theme .cmp-article .cmp-sources h2 { font-size: 1.55rem; margin-top: 24px; }
.cmp-theme .cmp-article .cmp-sources p { font-size: .86rem; }
.cmp-theme .cmp-return { display: inline-flex; align-items: center; gap: 8px; color: #244840; text-underline-offset: 4px; margin-top: 28px; font-weight: 710; }
@media (max-width: 930px) {
 .cmp-theme .cmp-intro { grid-template-columns: 1fr; gap: 9px; }
 .cmp-theme .cmp-pair { padding: 24px; }
 .cmp-theme .cmp-column-head, .cmp-theme .cmp-row { grid-template-columns: 126px minmax(0,1fr) minmax(0,1fr); }
 .cmp-theme .cmp-row dd { padding: 18px 14px; }
}
@media (max-width: 650px) {
 .cmp-theme .cmp-main { padding: 38px 0 56px; }
 .cmp-theme .cmp-chooser { padding: 18px; }
 .cmp-theme .cmp-pair { padding: 20px 18px; border-radius: 18px; }
 .cmp-theme .cmp-column-head { display: none; }
 .cmp-theme .cmp-row, .cmp-theme .cmp-article .cmp-row { display: block; padding: 18px 0; }
 .cmp-theme .cmp-row dt { padding: 0 0 12px; font-size: .92rem; }
 .cmp-theme .cmp-row dd, .cmp-theme .cmp-article .cmp-row dd { margin: 0; padding: 12px 14px; border: 0; background: #f7f9f7; border-radius: 12px; font-size: .94rem; }
 .cmp-theme .cmp-row dd + dd, .cmp-theme .cmp-article .cmp-row dd + dd { margin-top: 8px; background: #faf7f1; border: 0; }
 .cmp-theme .cmp-cell-name { position: static; display: block; width: auto; height: auto; margin: 0 0 5px; overflow: visible; clip: auto; white-space: normal; font-size: .78rem; font-weight: 780; color: #3c5c50; }
 .cmp-theme .cmp-takeaway { padding: 16px; font-size: .97rem; }
 .cmp-theme .cmp-pair-title { overflow-wrap: break-word; }
 .cmp-theme .cmp-guide-grid { grid-template-columns: minmax(0,1fr); }
 .cmp-theme .cmp-guides .cmp-guide-card:last-child { grid-column: auto; }
 .cmp-theme .cmp-guides { margin-top: 44px; padding-top: 34px; }
 .cmp-theme .cmp-guide-card { padding: 22px; }
 .cmp-theme .cmp-links { align-items: flex-start; flex-direction: column; }
 .cmp-theme .cmp-full-link { border-radius: 14px; max-width: 100%; }
 .cmp-theme .cmp-treatment-links { flex-direction: column; }
 .cmp-theme .cmp-consultation { padding: 22px; }
 .cmp-theme .cmp-article { padding: 34px 18px 56px; }
 .cmp-theme .cmp-article h2 { margin-top: 36px; }
 .cmp-theme .cmp-article .cmp-alert h2 { margin-top: 0; }
 .cmp-theme .cmp-article .cmp-consultation h2 { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .cmp-theme { scroll-behavior: auto; } .cmp-theme * { transition: none !important; } }
@media print {
 .cmp-theme .nav, .cmp-theme .topbar, .cmp-theme .footer, .cmp-theme .cmp-chooser, .cmp-theme .cmp-skip { display: none; }
 .cmp-theme .hero.editorial-hero { padding: 20px 0; background: #fff; }
 .cmp-theme .hero.editorial-hero h1 { font-size: 32px; }
 .cmp-theme .cmp-main, .cmp-theme .cmp-article { padding-top: 15px; }
 .cmp-theme .cmp-pair, .cmp-theme .cmp-guide-card { break-inside: avoid; }
}
