:root {
  --ink: #17212b;
  --muted: #5e6a74;
  --paper: #f5f2eb;
  --surface: #fffdf9;
  --surface-2: #ece8df;
  --line: #d8d2c7;
  --blue: #173f6e;
  --blue-2: #235d91;
  --red: #b3363d;
  --gold: #d5a94f;
  --green: #2d7056;
  --orange: #9a5b19;
  --radius: 18px;
  --shadow: 0 14px 38px rgba(30, 36, 43, .09);
  --wrap: 1220px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.62; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 5px; z-index: 100; background: linear-gradient(90deg, var(--blue) 0 33.333%, #f5f2eb 33.333% 66.666%, var(--red) 66.666%); }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--red); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-180%); background: var(--ink); color: white; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.small-print { color: var(--muted); font-size: .88rem; }

h1, h2, h3 { font-family: Iowan Old Style, Baskerville, Georgia, serif; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .6em; }
h1 { max-width: 950px; font-size: clamp(2.55rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.eyebrow { margin: 0 0 1rem; color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-lead { color: #394752; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }

.site-header { position: sticky; top: 0; z-index: 40; margin-top: 5px; border-bottom: 1px solid rgba(23, 33, 43, .12); background: rgba(245, 242, 235, .94); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; width: 35px; height: 35px; border: 2px solid var(--ink); border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; inset: 5px 15px; background: var(--ink); }
.brand-mark::after { transform: rotate(90deg); }
.brand small { display: block; color: var(--muted); font-size: .67rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { min-width: 0; margin-left: auto; display: flex; align-items: center; gap: 3px; }
.main-nav a { flex: 0 0 auto; color: var(--ink); border-radius: 999px; padding: .55rem .6rem; font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: white; background: var(--blue); }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--surface); padding: .55rem .75rem; border-radius: 10px; }

.hero { padding-block: clamp(70px, 10vw, 135px) 60px; }
.hero::after { content: ""; display: block; width: 125px; height: 8px; margin-top: 42px; background: linear-gradient(90deg, var(--blue) 0 33%, var(--surface) 33% 66%, var(--red) 66%); }
.notice { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--blue-2); border-radius: 4px 12px 12px 4px; background: #eaf1f7; }
.notice strong { color: var(--blue); }
.notice-important { border-color: var(--red); background: #f8e9e8; }
.notice-important strong { color: #84252b; }
.notice-ai { border-color: #6c4b8b; background: #f1ebf7; }
.notice-ai strong { color: #53366f; }
.notice-error { border-color: #b3363d; background: #fff0f0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; margin-top: 38px; border-block: 1px solid var(--line); }
.hero-stats div { padding: 22px 20px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { display: block; font-family: Iowan Old Style, Baskerville, Georgia, serif; color: var(--blue); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; }
.hero-stats span { color: var(--muted); font-size: .86rem; }

.section { padding-block: clamp(55px, 8vw, 100px); }
.page-top { padding-top: clamp(60px, 9vw, 110px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading > p { max-width: 580px; color: var(--muted); }
.filters { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin: 26px 0 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.candidate-filters { grid-template-columns: 1.35fr 1fr 1fr .9fr; }
.sticky-filters { position: sticky; top: 92px; z-index: 20; box-shadow: 0 8px 24px rgba(30, 36, 43, .07); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #bdb7ad; border-radius: 10px; background: white; color: var(--ink); padding: .72rem .8rem; font-weight: 400; }
.field textarea { resize: vertical; min-height: 180px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(35, 93, 145, .13); outline: none; }
.directory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; margin: 4px 0 18px; }
.results-summary { min-height: 1.5em; margin: 0; color: var(--muted); font-size: .9rem; }
.view-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.view-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.view-switch button { border: 0; border-radius: 8px; background: transparent; color: var(--muted); padding: .42rem .65rem; font-size: .76rem; font-weight: 700; }
.view-switch button[aria-pressed="true"] { background: var(--surface); color: var(--blue); box-shadow: 0 1px 4px rgba(30, 36, 43, .12); }

.candidate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.candidate-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 14px rgba(30, 36, 43, .04); transition: transform .2s, box-shadow .2s; }
.candidate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.candidate-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #c9d3df, #ece7dd); }
.candidate-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.82); }
.candidate-photo:not([src]) { display: none; }
.candidate-photo-note { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); color: rgba(23, 33, 43, .62); font-size: .72rem; text-align: center; }
.candidate-media.has-photo .candidate-photo-note { display: none; }
.candidate-monogram { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(23, 33, 43, .45); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 4.4rem; font-weight: 700; }
.candidate-logo { position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border: 3px solid var(--surface); border-radius: 14px; background: white; color: var(--blue); font-weight: 800; box-shadow: 0 5px 15px rgba(0, 0, 0, .16); }
.candidate-logo img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.candidate-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.candidate-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.family { color: var(--muted); font-size: .78rem; font-weight: 600; }
.status-badge, .rating-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: .28rem .58rem; font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.status-direct { background: #e2f0e9; color: #235f49; }
.status-primary { background: #fff0ce; color: #74500d; }
.status-process { background: #e7edf7; color: #2f4e77; }
.candidate-card h3 { margin-bottom: .15rem; }
.party-name { margin-bottom: 10px; color: var(--red); font-weight: 700; font-size: .86rem; }
.candidate-reading { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.candidacy-reading-detail { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--blue-2); background: #f1f5f8; color: #46525d; font-size: .78rem; }
.candidacy-reading-detail p { margin: .3rem 0; }
.candidacy-reading-detail small { color: var(--muted); }
.candidate-summary { color: #46525d; font-size: .91rem; }
.candidate-program { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.program-label { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.program-status { font-size: .86rem; font-weight: 600; }
.candidate-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.candidate-links a { flex: 1; min-width: 120px; border: 1px solid var(--line); border-radius: 9px; padding: .55rem .65rem; text-align: center; font-size: .78rem; font-weight: 700; text-decoration: none; }
.candidate-links a:first-child { border-color: var(--blue); color: white; background: var(--blue); }
.card-details { margin-top: 14px; }
.card-details summary { cursor: pointer; color: var(--blue); font-size: .82rem; font-weight: 700; }
.card-details ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .82rem; }
.factual-details, .solutions-details { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.factual-details > summary, .solutions-details > summary, .result-profile-details > summary, .result-solutions-details > summary { width: fit-content; cursor: pointer; color: var(--blue); font-size: .82rem; font-weight: 800; }
.factual-profile { margin-top: 13px; }
.factual-intro { margin: 0 0 12px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.factual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.candidate-card .factual-grid { grid-template-columns: 1fr; }
.candidate-grid[data-view="compact"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.candidate-grid[data-view="compact"] .candidate-card { display: block; }
.candidate-grid[data-view="compact"] .candidate-media,
.candidate-grid[data-view="compact"] .candidate-summary,
.candidate-grid[data-view="compact"] .candidate-program,
.candidate-grid[data-view="compact"] .card-details { display: none; }
.candidate-grid[data-view="compact"] .candidate-body { padding: 17px 18px; }
.candidate-grid[data-view="compact"] .candidate-meta { margin-bottom: 7px; }
.candidate-grid[data-view="compact"] .candidate-card h3 { font-size: 1.3rem; }
.candidate-grid[data-view="compact"] .party-name { margin-bottom: 5px; }
.candidate-grid[data-view="compact"] .factual-details { margin-top: 8px; }
.candidate-grid[data-view="compact"] .candidate-links { margin-top: 12px; }
.factual-item { min-width: 0; padding: 11px 12px; border: 1px solid #e1dbd1; border-radius: 10px; background: #fff; }
.factual-item-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.factual-item h4 { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .75rem; letter-spacing: 0; }
.factual-item p { margin: .45rem 0 0; color: #4c5862; font-size: .76rem; line-height: 1.45; }
.evidence-badge { flex: 0 0 auto; display: inline-flex; border-radius: 999px; padding: .2rem .42rem; font-size: .62rem; font-weight: 800; white-space: nowrap; }
.evidence-documented { background: #e2f0e9; color: #235f49; }
.evidence-declared { background: #e7edf7; color: #2f4e77; }
.evidence-partial { background: #fff0ce; color: #74500d; }
.evidence-review { background: #e4e8f4; color: #394d79; }
.evidence-limited { background: #ece9e3; color: #555b60; }
.factual-sources { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 11px; color: var(--muted); font-size: .7rem; }
.factual-sources a { border: 1px solid var(--line); border-radius: 999px; padding: .18rem .45rem; font-weight: 700; text-decoration: none; }
.solutions-panel { margin-top: 13px; }
.solutions-intro, .solutions-legend { margin: 0 0 12px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.solutions-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.candidate-card .solutions-grid { grid-template-columns: 1fr; }
.solution-item { min-width: 0; padding: 11px 12px; border: 1px solid #e1dbd1; border-radius: 10px; background: #fff; }
.solution-item-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.solution-badges { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.solution-item h4 { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .75rem; letter-spacing: 0; }
.solution-title { display: block; margin-top: .55rem; color: var(--ink); font-size: .79rem; line-height: 1.4; }
.solution-item p { margin: .35rem 0 0; color: #4c5862; font-size: .76rem; line-height: 1.45; }
.solution-comparison { display: grid; gap: 5px; margin-top: .65rem; padding-top: .6rem; border-top: 1px solid #ebe6dc; }
.solution-comparison > span:last-child { color: var(--muted); font-size: .71rem; line-height: 1.4; }
.agreement-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: .2rem .46rem; font-size: .64rem; font-weight: 800; }
.agreement-match { background: #dff1e7; color: #1f6748; }
.agreement-precise { background: #dce9f6; color: #174c78; }
.agreement-near { background: #fff0ce; color: #74500d; }
.agreement-diverge { background: #f8dedb; color: #8a2c31; }
.agreement-uncompared, .agreement-ignored { background: #ece9e3; color: #555b60; }
.source-status-badge, .candidacy-type-badge, .robustness-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: .22rem .48rem; font-size: .64rem; font-weight: 800; line-height: 1.25; }
.source-program { background: #dff1e7; color: #1f6748; }
.source-proposal { background: #dce9f6; color: #174c78; }
.source-statement, .source-party { background: #e9e4f4; color: #554279; }
.source-inference { background: #fff0ce; color: #74500d; }
.source-unmatched { background: #ffe7c2; color: #6a4300; }
.source-absent { background: #ece9e3; color: #555b60; }
.candidacy-government { background: #dce9f6; color: #174c78; }
.candidacy-influence { background: #e9e4f4; color: #554279; }
.candidacy-testimony { background: #f8e2e0; color: #7e3337; }
.candidacy-building { background: #fff0ce; color: #74500d; }
.robustness-robust { background: #dff1e7; color: #1f6748; }
.robustness-fair { background: #dce9f6; color: #174c78; }
.robustness-partial { background: #fff0ce; color: #74500d; }
.robustness-weak, .robustness-none { background: #ece9e3; color: #555b60; }
.solution-source { display: grid; gap: 2px; padding-top: .35rem; border-top: 1px dashed #e2ddd4; }
.solution-source a { width: fit-content; font-weight: 800; }
.solution-source span { color: var(--muted); font-size: .7rem; }
.documentary-source { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 8px; margin-top: .5rem; padding-top: .45rem; border-top: 1px dashed #e2ddd4; }
.documentary-source .documentary-level { grid-row: 1 / span 2; align-self: start; border: 1px solid #c7d6e0; border-radius: 999px; padding: .16rem .44rem; color: #355267; background: #f2f7fa; font-size: .66rem; font-weight: 800; white-space: nowrap; }
.documentary-source a { width: fit-content; font-weight: 800; }
.documentary-source small { color: var(--muted); font-size: .69rem; line-height: 1.45; }
.solution-precision, .position-precision { color: #354b5b !important; }
.solution-precision-block, .position-precision-block { margin-top: .5rem; padding-top: .45rem; border-top: 1px dashed #d9e1e7; }
.solution-precision-block .solution-precision, .position-precision-block .position-precision { margin: 0; }

.split-callout { display: grid; grid-template-columns: 1.7fr .7fr; gap: 50px; align-items: center; margin-bottom: 80px; padding-inline: clamp(25px, 5vw, 70px); border-radius: 24px; background: var(--ink); color: white; }
.split-callout .eyebrow { color: #f0c875; }
.split-callout p:not(.eyebrow) { color: #d6dde2; }
.button-stack { display: grid; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border: 1px solid transparent; border-radius: 10px; padding: .7rem 1rem; font-weight: 700; text-align: center; text-decoration: none; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-2); color: white; }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }
.split-callout .button-primary { background: #f1c96e; color: var(--ink); }
.split-callout .button-secondary { border-color: #65717b; background: transparent; color: white; }

.theme-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin-top: 40px; align-items: start; }
.theme-nav-card { position: sticky; top: 100px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.theme-nav { display: grid; gap: 4px; margin-top: 14px; }
.theme-nav button { border: 0; border-left: 3px solid transparent; background: transparent; color: var(--ink); padding: .48rem .65rem; text-align: left; font-size: .82rem; }
.theme-nav button:hover, .theme-nav button.active { border-color: var(--red); background: var(--surface-2); color: var(--blue); }
.theme-panel-header { padding: 28px; border-radius: var(--radius); background: var(--ink); color: white; }
.theme-panel-header p { color: #cbd4da; }
.theme-position-groups { display: grid; gap: 18px; margin-top: 18px; }
.position-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.position-group h3 { padding: 18px 20px 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1rem; letter-spacing: 0; }
.position-option-summary { margin: 0 20px; padding: 0 0 12px; border-bottom: 1px solid #ebe6dc; }
.position-option-summary > p { margin: .55rem 0 0; color: #4c5862; font-size: .82rem; line-height: 1.5; }
.position-option-summary .theme-option-more p { font-size: .82rem; }
.position-candidates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 10px; }
.position-row { padding: 12px; border-top: 1px solid #ebe6dc; }
.position-row strong { display: block; }
.position-row-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.position-row-badges { display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.position-row span { color: var(--muted); font-size: .79rem; }
.position-row .source-status-badge, .position-row .candidacy-type-badge, .result-candidate .candidacy-type-badge { font-size: .64rem; }
.position-row .source-program { color: #1f6748; }
.position-row .source-proposal { color: #174c78; }
.position-row .source-statement, .position-row .source-party { color: #554279; }
.position-row .source-inference { color: #74500d; }
.position-row .source-unmatched { color: #6a4300; }
.position-row .source-absent { color: #555b60; }
.position-row .candidacy-government, .result-candidate .candidacy-government { color: #174c78; }
.position-row .candidacy-influence, .result-candidate .candidacy-influence { color: #554279; }
.position-row .candidacy-testimony, .result-candidate .candidacy-testimony { color: #7e3337; }
.position-row .candidacy-building, .result-candidate .candidacy-building { color: #74500d; }
.position-row a { display: block; width: fit-content; margin-top: .35rem; font-size: .75rem; font-weight: 700; }
.position-row a.source-general { color: #5e6870; }
.position-row small { display: block; margin-top: .18rem; color: var(--muted); font-size: .69rem; }
.coherence-score { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 4px 9px; border: 1px solid currentColor; border-radius: 999px; background: #fff; color: #263b4b; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.coherence-score:hover, .coherence-score:focus-visible { box-shadow: 0 0 0 3px rgba(31,111,139,.16); transform: translateY(-1px); }
.coherence-score small { color: inherit; font-size: .66rem; font-weight: 700; }
.coherence-score.coherence-compact { min-width: 38px; min-height: 25px; justify-content: center; padding: 2px 7px; }
.coherence-0 { background: #f8d7da; color: #842029; }
.coherence-1 { background: #fff0c9; color: #755300; }
.coherence-2 { background: #e8f1f5; color: #28566b; }
.coherence-3 { background: #dcefe3; color: #1f6538; }
.coherence-dialog { width: min(1180px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 22px 70px rgba(11,29,43,.35); color: var(--ink); }
.coherence-dialog::backdrop { background: rgba(15,28,38,.68); backdrop-filter: blur(3px); }
.coherence-dialog-inner { position: relative; padding: clamp(20px, 4vw, 38px); }
.coherence-close { position: sticky; z-index: 2; top: 0; float: right; width: 38px; height: 38px; border: 1px solid #d6dfe4; border-radius: 50%; background: #fff; color: #33434e; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.coherence-dialog-title { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-right: 48px; }
.coherence-dialog-title h2 { margin: 0 0 .2rem; }
.coherence-dialog-title p { margin: 0; color: var(--muted); }
.coherence-summary { margin: 1rem 0 1.25rem; padding: 13px 15px; border-left: 4px solid var(--blue); background: #f2f7f9; line-height: 1.55; }
.coherence-table-wrap { overflow: auto; border: 1px solid #dfe6ea; border-radius: 10px; }
.coherence-table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: .78rem; line-height: 1.42; }
.coherence-table th { position: sticky; top: 0; padding: 9px; background: #1d6682; color: #fff; text-align: left; }
.coherence-table td { padding: 9px; border-top: 1px solid #e2e8eb; vertical-align: top; }
.coherence-table tbody tr:nth-child(even) { background: #f7f9fa; }
.coherence-table a { font-weight: 800; }
.coherence-table small { color: #66727a; line-height: 1.35; }
.vote-assessment { display: inline-block; margin-bottom: .35rem; border-radius: 999px; background: #e8edf0; padding: .18rem .45rem; color: #45525b; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.vote-concordant { background: #dcefe3; color: #1f6538; }
.vote-contradictory { background: #f8d7da; color: #842029; }
.coherence-empty { padding: 16px; border: 1px dashed #9db4c0; border-radius: 10px; background: #f7fafb; }
.coherence-method { margin-top: 1rem; padding: 12px 14px; border: 1px solid #e1dbd1; border-radius: 10px; background: #fffdf8; }
.coherence-method summary { cursor: pointer; font-weight: 800; }
.coherence-method li { margin: .25rem 0; }
.analysis-dialog { width: min(900px, calc(100% - 28px)); }
.analysis-dialog-title { display: flex; align-items: start; justify-content: space-between; gap: 22px; padding-right: 48px; }
.analysis-dialog-title > div { flex: 1; min-width: 0; }
.analysis-dialog-title h2 { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.15rem, 3vw, 1.55rem); letter-spacing: 0; line-height: 1.35; }
.analysis-dialog-title .rating-badge { flex-shrink: 0; white-space: nowrap; }
.analysis-dialog-body { margin-top: 1rem; }
.analysis-dialog .verification-more { padding-left: 0; }
.analysis-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin: 1.15rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; }
.analysis-dialog-footer a { font-weight: 800; }
.coverage-note { margin-top: 20px; color: var(--muted); font-size: .82rem; }

.quiz-intro { max-width: 870px; }
.privacy-badge { display: flex; gap: 14px; align-items: center; max-width: 720px; margin: 30px 0; padding: 18px; border: 1px solid #b7d6c5; border-radius: var(--radius); background: #eef8f2; }
.privacy-badge > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: white; }
.privacy-badge strong, .privacy-badge span { display: block; }
.privacy-badge div span { color: var(--muted); font-size: .87rem; }
.quick-completion-counter, .completion-counter { width: fit-content; margin: 12px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.quick-completion-counter strong, .completion-counter strong { color: var(--ink); }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: .32rem 0 .32rem 1.65rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.quiz-progress-wrap { max-width: 900px; margin-bottom: 28px; }
.quiz-progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; font-weight: 700; }
.quiz-progress { display: block; width: 100%; height: 8px; margin-top: 8px; overflow: hidden; border: 0; border-radius: 99px; background: var(--surface-2); appearance: none; }
.quiz-progress::-webkit-progress-bar { border-radius: 99px; background: var(--surface-2); }
.quiz-progress::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.quiz-progress::-moz-progress-bar { border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.question-card { max-width: 900px; margin: 0; padding: clamp(24px, 5vw, 46px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.question-card legend { width: 100%; padding: 0; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: clamp(1.75rem, 4vw, 2.65rem); font-weight: 700; line-height: 1.15; }
.question-context { color: var(--muted); }
.answer-options { display: grid; gap: 10px; margin: 26px 0; }
.answer-choice { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.answer-choice:has(input:checked) { border-color: var(--blue); background: #edf4fa; box-shadow: 0 0 0 2px rgba(23, 63, 110, .08); }
.answer-option { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; }
.answer-choice .answer-option { border: 0; border-radius: 0; background: transparent; }
.answer-choice:hover { border-color: var(--blue-2); }
.answer-option input { margin-top: .35rem; accent-color: var(--blue); }
.answer-option strong { display: block; font-size: .96rem; }
.answer-option span { display: block; color: var(--muted); font-size: .82rem; }
.answer-option .answer-summary { margin-top: .32rem; line-height: 1.45; }
.answer-option .answer-summary-label, .solution-detail-label { display: inline; color: #34454f; font-size: inherit; font-weight: 800; }
.more-details { border-top: 1px solid #e4ded4; padding: .55rem 15px .7rem 51px; }
.more-details summary { width: fit-content; cursor: pointer; color: var(--blue); font-size: .8rem; font-weight: 700; }
.more-details p { margin: .55rem 0 0; color: #46525d; font-size: .84rem; }
.more-details.solution-more, .more-details.position-more, .more-details.theme-option-more { padding: .45rem 0 .55rem; }
.more-details.level-two-more { border-left: 3px solid #b8cadd; padding-left: .65rem; }
.precision-panel { margin: 0 0 24px; padding: 17px; border: 1px solid #b8cadd; border-radius: 14px; background: #f1f6fa; }
.precision-heading { display: grid; gap: 3px; margin-bottom: 11px; }
.precision-heading strong { color: #183e62; }
.precision-heading small { color: var(--muted); font-size: .74rem; }
.precision-kicker { color: var(--red); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.precision-options { display: grid; gap: 7px; }
.precision-choice { display: grid; }
.analysis-reference { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin: .45rem .75rem .65rem 2.55rem; }
.analysis-reference a { font-size: .74rem; font-weight: 800; }
.analysis-reference small { color: var(--muted); font-size: .67rem; }
.precision-options label { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; padding: 9px 10px; border: 1px solid #d4e0e9; border-radius: 9px; background: white; cursor: pointer; }
.precision-options label:has(input:checked) { border-color: var(--blue-2); background: #e7f0f7; }
.precision-options input { margin-top: .28rem; accent-color: var(--blue); }
.precision-options span { color: #3f4d58; font-size: .8rem; }
.precision-more { margin: -1px 10px 6px 38px; padding: .45rem .55rem .55rem .7rem; border: 1px solid #d4e0e9; border-top-style: dashed; border-left: 3px solid #b8cadd; border-radius: 0 0 8px 8px; background: rgba(255,255,255,.76); }
.precision-more p { font-size: .79rem; line-height: 1.5; }
.importance { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.importance-title { display: flex; justify-content: space-between; font-weight: 700; }
.importance-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.importance-options label { text-align: center; }
.importance-options input { position: absolute; opacity: 0; }
.importance-options span { display: block; border: 1px solid var(--line); border-radius: 8px; padding: .52rem; font-size: .78rem; cursor: pointer; }
.importance-options input:checked + span { border-color: var(--red); background: #f8e9e8; color: #84252b; font-weight: 700; }
.quiz-actions { display: flex; justify-content: space-between; max-width: 900px; margin-top: 20px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.results-list { display: grid; gap: 12px; margin-top: 28px; }
.result-group-heading { margin: 28px 0 2px; padding: 16px 18px; border-left: 5px solid var(--blue); border-radius: 4px 12px 12px 4px; background: #eaf1f7; }
.result-group-heading:first-child { margin-top: 0; }
.result-group-heading h3 { margin: 0 0 .25rem; }
.result-group-heading p { margin: 0; color: var(--muted); font-size: .8rem; }
.result-group-partial { border-color: var(--gold); background: #fff7e3; }
.result-group-weak, .result-group-none { border-color: #8a8f93; background: #eeece7; }
.result-row { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.result-robustness-partial { border-color: #d9bd81; }
.result-robustness-weak, .result-robustness-none { border-style: dashed; }
.result-row-main { display: grid; grid-template-columns: minmax(210px, .9fr) minmax(220px, 1.4fr) 115px; gap: 18px; align-items: center; padding: 18px 20px; }
.result-candidate strong { display: block; }
.result-candidate span { color: var(--muted); font-size: .8rem; }
.result-candidate-name { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.result-candidate-name strong { font-size: 1rem; }
.result-candidate-name .status-badge, .position-row-badges .status-badge { padding: .22rem .48rem; font-size: .64rem; }
.result-bar { width: 100%; height: 12px; overflow: hidden; border: 0; border-radius: 99px; background: var(--surface-2); appearance: none; }
.result-bar::-webkit-progress-bar { border-radius: 99px; background: var(--surface-2); }
.result-bar::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.result-bar::-moz-progress-bar { border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.result-score { text-align: right; }
.result-score strong { color: var(--blue); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.65rem; }
.result-score span { display: block; color: var(--muted); font-size: .68rem; }
.result-evidence-line { display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: center; padding: 0 20px 14px; color: var(--muted); font-size: .7rem; }
.result-similarity-note { margin: 0 20px 14px; padding: 8px 10px; border-left: 3px solid #765b97; background: #f3eff7; color: #4e405e; font-size: .72rem; }
.result-profile-details, .result-solutions-details { border-top: 1px solid var(--line); padding: 11px 20px 15px; }
.method-details { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.method-details summary { cursor: pointer; font-weight: 700; }

.verification-list { display: grid; gap: 18px; }
.verification-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.verification-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 21px 22px 12px; }
.verification-head > div { flex: 1; min-width: 0; }
.verification-head .rating-badge { flex-shrink: 0; white-space: nowrap; }
.verification-head h2 { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.12rem; letter-spacing: 0; line-height: 1.35; }
.solution-summary { max-width: 760px; margin: .55rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.verification-more { margin-top: .65rem; border: 0; padding: 0; }
.verification-body { padding: 0 22px 22px; }
.verification-analysis { color: #43505a; }
.verification-level2 { margin-top: 4px; padding: 20px 22px 22px; border-top: 1px solid #cbd9e3; border-radius: 0 0 var(--radius) var(--radius); background: #f3f7fa; }
.verification-level2-heading { margin-bottom: 14px; }
.verification-level2-heading h3 { margin: .15rem 0 .3rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1rem; letter-spacing: 0; }
.verification-level2-heading > p:last-child { margin: 0; color: var(--muted); font-size: .78rem; }
.verification-precision-list { display: grid; gap: 12px; }
.verification-precision-card { overflow: hidden; border: 1px solid #c9d7e1; border-radius: 12px; background: var(--surface); }
.verification-precision-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding: 17px 18px 10px; }
.verification-precision-head > div { flex: 1; min-width: 0; }
.verification-precision-head h3 { margin: .2rem 0 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .96rem; letter-spacing: 0; line-height: 1.4; }
.verification-precision-head .rating-badge { flex-shrink: 0; white-space: nowrap; }
.verification-precision-body { padding: 0 18px 18px; }
.verification-filter-context { margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: .8rem; font-style: italic; }
.context-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: .28rem .58rem; background: #ece9e3; color: #555b60; font-size: .7rem; font-weight: 700; }
.verification-context-only > .verification-head { padding-bottom: 8px; }
.conditions { margin: 14px 0; padding: 12px 14px; border-radius: 8px; background: var(--surface-2); font-size: .86rem; }
.conditions-more { margin-top: .65rem; border-top: 1px solid #d9d2c7; padding-top: .55rem; }
.conditions-more summary { width: fit-content; cursor: pointer; color: var(--blue); font-size: .78rem; font-weight: 800; }
.conditions-more p { margin: .55rem 0 0; color: #46525d; font-size: .82rem; line-height: 1.55; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px; }
.source-link-item { display: grid; gap: 2px; max-width: 320px; border: 1px solid var(--line); border-radius: 10px; padding: .38rem .58rem; background: #fff; }
.source-link-item a { width: fit-content; font-size: .72rem; font-weight: 800; text-decoration: none; }
.source-link-item small { color: var(--muted); font-size: .65rem; line-height: 1.35; }
.verification-card:target, .verification-precision-card:target { scroll-margin-top: 90px; outline: 3px solid rgba(42, 112, 151, .24); outline-offset: 3px; }
.rating-credible { background: #dff1e7; color: #1f6748; }
.rating-conditional { background: #fff0ce; color: #74500d; }
.rating-risk { background: #f8dedb; color: #8a2c31; }
.rating-legal { background: #e4e8f4; color: #394d79; }
.rating-uncertain { background: #ece9e3; color: #555b60; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .6fr); gap: clamp(30px, 7vw, 90px); align-items: start; }
.contact-form { display: grid; gap: 18px; margin-top: 30px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: #46525d; font-size: .86rem; }
.consent input { margin-top: .32rem; accent-color: var(--blue); }
.form-status { min-height: 1.5rem; margin: 0; font-weight: 600; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }
.contact-aside { position: sticky; top: 110px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: white; }
.contact-aside h2 { font-size: 1.65rem; }
.contact-aside .small-print { color: #c5cdd2; }
.contact-aside .check-list li::before { color: #f0c875; }

.prose-page section { max-width: 940px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.prose-page section p { max-width: 850px; }
.in-page-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.in-page-nav a { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: .48rem .72rem; font-size: .8rem; font-weight: 700; text-decoration: none; }
.sources-list { display: grid; gap: 12px; }
.source-card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.source-card span { color: var(--muted); font-size: .75rem; }
.source-card strong { display: block; }
.source-card p { margin: .25rem 0; color: var(--muted); font-size: .83rem; }
.method-definition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.method-definition-card { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.method-definition-card strong { font-size: .86rem; }
.method-definition-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.method-vote-explainer { margin-top: 28px; padding: clamp(22px, 4vw, 32px); border: 1px solid #c8d7df; border-radius: 16px; background: #f1f6f8; }
.method-vote-explainer h3 { max-width: 720px; }
.method-vote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.method-vote-grid > div { padding: 16px; border: 1px solid #d4e0e5; border-radius: 11px; background: white; }
.method-vote-grid p { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; }
.source-list-tools { display: grid; grid-template-columns: minmax(260px, 520px) minmax(200px, 1fr); gap: 18px; align-items: end; margin: 22px 0 16px; }
.source-list-tools .field { margin: 0; }
.source-summary { margin: 0 0 .75rem; color: var(--muted); font-size: .8rem; text-align: right; }
.similarity-audit-list { display: grid; gap: 10px; margin-top: 18px; }
.similarity-audit-card { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(210px, .7fr) minmax(240px, 1.2fr); gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.similarity-audit-card > div:first-child { display: grid; }
.similarity-audit-card span { color: var(--muted); font-size: .72rem; }
.similarity-measures { display: flex; flex-wrap: wrap; gap: 6px; }
.similarity-measures span { border-radius: 999px; background: #eaf1f7; padding: .3rem .55rem; }
.similarity-audit-card p { margin: 0; color: var(--muted); font-size: .76rem; }

.site-footer { margin-top: 80px; padding-block: 50px 24px; border-top: 1px solid var(--line); background: #e9e4da; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-size: 1.4rem; }
.footer-grid a { display: block; width: fit-content; margin: .3rem 0; color: var(--ink); font-size: .84rem; }
.footer-grid .footer-support-link { margin-top: 1rem; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.footer-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid #d2cbbf; color: var(--muted); font-size: .76rem; }

.support-card { margin-top: 28px; padding: 22px; border: 1px solid #c7d7df; border-radius: 16px; background: #f4f8fa; }
.support-card h2 { margin-bottom: .65rem; font-size: 1.35rem; }
.support-card p { color: var(--muted); font-size: .84rem; }
.support-card .button { width: fit-content; margin: .45rem 0 .75rem; }
.support-card .support-unavailable { font-weight: 700; }

/* Accueil et parcours v0.11.4 */
.home-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: clamp(30px, 6vw, 76px); align-items: center; padding-top: clamp(66px, 9vw, 112px); padding-bottom: 36px; }
.home-hero-copy h1 { max-width: 900px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.home-actions .method-link { padding: .7rem .3rem; font-size: .84rem; font-weight: 800; }
.home-principles { padding: clamp(22px, 4vw, 34px); border-radius: 22px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.home-principles .eyebrow { color: #f0c875; }
.home-principles h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.home-principles .check-list { margin-bottom: 0; }
.home-principles .check-list li { color: #dce4e8; font-size: .87rem; }
.home-principles .check-list li::before { color: #f0c875; }
.home-stats { grid-column: 1 / -1; margin-top: 14px; }
.home-featured-facts { padding-top: clamp(50px, 7vw, 82px); }
.home-featured-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.home-featured-fact-loading { grid-column: 1 / -1; color: var(--muted); }
.home-featured-fact-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 34px rgba(24, 45, 57, .06); }
.home-featured-fact-indicator { margin: 0 0 9px; color: var(--red); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.home-featured-fact-card h3 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.42; }
.home-featured-fact-card dl { display: grid; gap: 7px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.home-featured-fact-card dl div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; font-size: .74rem; }
.home-featured-fact-card dt { color: var(--muted); font-weight: 800; text-transform: uppercase; }
.home-featured-fact-card dd { margin: 0; color: #43515b; }
.home-featured-fact-caution { color: #56636c; font-size: .78rem; line-height: 1.55; }
.home-featured-fact-card > a { font-size: .8rem; font-weight: 800; }
.home-featured-fact-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.home-candidacy-guide { padding-top: clamp(50px, 7vw, 82px); }
.candidacy-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.candidacy-guide-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-top: 5px solid #8fa9ba; border-radius: 15px; background: var(--surface); box-shadow: 0 6px 18px rgba(23, 33, 43, .05); }
.candidacy-guide-card[data-candidacy-type="government"] { border-top-color: #2f6f98; }
.candidacy-guide-card[data-candidacy-type="influence"] { border-top-color: #9a6a28; }
.candidacy-guide-card[data-candidacy-type="testimony"] { border-top-color: #6e5d8f; }
.candidacy-guide-card[data-candidacy-type="building"] { border-top-color: #557866; }
.candidacy-guide-card h3 { margin: .85rem 0 .45rem; font-size: 1.22rem; line-height: 1.15; }
.candidacy-guide-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.candidacy-guide-card small { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: #4d5962; font-size: .7rem; font-weight: 750; }
.candidacy-guide-note { max-width: 900px; margin: 20px 0 8px; color: #46525d; font-size: .86rem; }
.home-candidacy-guide > .method-link { font-size: .82rem; font-weight: 800; }

.vote-dispersion-section { border-block: 1px solid #cad5dc; background: #e9eff2; }
.vote-dispersion-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(30px, 6vw, 74px); align-items: center; }
.vote-dispersion-copy h2 { max-width: 760px; }
.vote-dispersion-copy .hero-lead { max-width: 790px; }
.vote-dispersion-points { display: grid; gap: 10px; max-width: 790px; margin: 24px 0 28px; padding: 0; list-style: none; }
.vote-dispersion-points li { position: relative; padding-left: 27px; color: #384752; }
.vote-dispersion-points li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.vote-example { padding: clamp(24px, 4vw, 34px); border-radius: 20px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.vote-example .eyebrow { color: #f0c875; }
.vote-example h3 { margin-bottom: .45rem; font-size: clamp(1.55rem, 3vw, 2.05rem); }
.vote-example > p { color: #dce4e8; font-size: .86rem; }
.vote-example-list { display: grid; gap: 7px; margin: 20px 0; }
.vote-example-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(90px, auto); gap: 10px; align-items: center; padding: 10px 12px; border-left: 4px solid #7f8b92; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.vote-example-row.is-qualified { border-left-color: #f0c875; background: rgba(240, 200, 117, .12); }
.vote-example-row span { min-width: 0; font-weight: 750; }
.vote-example-row strong { color: white; font-size: 1rem; }
.vote-example-row small { color: #cbd5da; font-size: .66rem; font-weight: 750; text-align: right; }
.vote-example-result { margin-bottom: 0 !important; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.vote-example-result strong { color: #f0c875; }
.vote-dispersion-caution { margin-top: 34px; padding: 16px 18px; border-left: 4px solid var(--blue-2); border-radius: 4px 11px 11px 4px; background: rgba(255, 255, 255, .65); color: #46525d; font-size: .8rem; }
.mode-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mode-card { display: flex; flex-direction: column; min-height: 100%; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 8px 26px rgba(23, 33, 43, .07); }
.mode-card-featured { border-color: #93b8c9; background: linear-gradient(145deg, #f7fbfd, #eef6f9); }
.mode-kicker { width: fit-content; border-radius: 999px; padding: .25rem .58rem; background: #e1edf3; color: var(--blue); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.mode-card h3 { margin: .85rem 0 .35rem; }
.mode-card p, .mode-card li { color: var(--muted); }
.mode-card ul { margin: .4rem 0 1.35rem; padding-left: 1.2rem; font-size: .82rem; }
.mode-card .button { width: fit-content; margin-top: auto; }
.quick-quiz-section { border-block: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, .48); }
.quick-intro { max-width: 900px; }
.quick-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.quick-toolbar .quiz-progress-wrap { flex: 1; margin: 0; }
.quick-theme-card { max-width: none; }
.quick-simple-question { margin: .15rem 0 .9rem; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 800; line-height: 1.35; }
.quick-guidance { margin: 0 0 18px; padding: 10px 12px; border-left: 3px solid var(--blue-2); background: #eef5f8; color: var(--muted); font-size: .8rem; }
.quick-statement-list { display: grid; gap: 16px; }
.quick-statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); gap: 18px 24px; padding: 18px; border: 1px solid #ded8ce; border-radius: 14px; background: #fff; }
.quick-statement-copy { min-width: 0; }
.quick-statement h3, .quick-statement h4 { margin: .45rem 0 .35rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; line-height: 1.35; }
.quick-statement h3 { font-size: 1rem; }
.quick-statement h4 { font-size: .88rem; }
.quick-statement-copy > p { margin: .3rem 0; color: #4c5862; font-size: .8rem; }
.quick-proposition-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 7px; }
.quick-proposition-heading h3, .quick-proposition-heading h4 { min-width: 0; }
.quick-inline-actions { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 4px; margin: .42rem 0 .32rem; }
.quick-inline-action { display: inline-grid; place-items: center; height: 25px; border: 1px solid #89a9bb; border-radius: 999px; padding: 0; background: #f1f7fa; color: #175b7a; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .66rem; font-weight: 850; line-height: 1; text-decoration: none; cursor: pointer; }
.quick-inline-action:hover { border-color: var(--blue); background: #e2f0f5; color: #124d68; }
.quick-inline-action:focus-visible { outline: 3px solid rgba(31,111,139,.25); outline-offset: 2px; }
.quick-inline-plus { width: 25px; font-size: .9rem; }
.quick-inline-doc { min-width: 36px; padding-inline: 7px; }
.quick-detail-dialog { width: min(680px, calc(100% - 28px)); }
.quick-detail-dialog h2 { margin: .15rem 42px .8rem 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.05rem, 3vw, 1.35rem); letter-spacing: 0; line-height: 1.35; }
.quick-detail-canonical, .quick-detail-implementation { margin: .65rem 0; padding: .65rem .75rem; border-left: 3px solid #9db9cc; background: #f2f6f9; color: #44515a; font-size: .82rem; line-height: 1.55; }
.quick-detail-implementation { margin-top: -.25rem; border-left-color: #c9b99a; background: #f7f4ef; }
.quick-detail-text { margin: 0; color: #44515a; font-size: .9rem; line-height: 1.72; }
.level-badge { display: inline-flex; width: fit-content; border-radius: 999px; padding: .2rem .48rem; background: #e7edf7; color: #2f4e77; font-size: .64rem; font-weight: 800; }
.quick-rating { min-width: 0; margin: 0; padding: 0; border: 0; }
.quick-rating legend { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: 0; }
.quick-rating-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 7px; }
.quick-rating-options input { position: absolute; opacity: 0; }
.quick-rating-options span { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .25rem; color: #4b5861; background: #fff; font-size: .64rem; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; }
.quick-rating-options input:focus-visible + span { outline: 3px solid rgba(31,111,139,.25); outline-offset: 2px; }
.quick-rating-options input:checked + span { border-color: var(--blue); background: #e7f0f7; color: #174c78; box-shadow: inset 0 0 0 1px var(--blue); }
.quick-rating-options label:first-child input:checked + span { border-color: #858c91; background: #ece9e3; color: #555b60; box-shadow: inset 0 0 0 1px #858c91; }
.quick-level-two-disclosure { grid-column: 1 / -1; border-top: 1px solid #d9e2e7; padding-top: 10px; }
.quick-level-two-disclosure > summary { display: flex; align-items: center; width: fit-content; gap: 8px; border-radius: 999px; padding: .42rem .72rem; background: #e8f1f5; color: #175b7a; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .75rem; font-weight: 850; cursor: pointer; list-style: none; }
.quick-level-two-disclosure > summary::-webkit-details-marker { display: none; }
.quick-level-two-disclosure > summary::before { content: '+'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 999px; background: #fff; font-size: .85rem; }
.quick-level-two-disclosure[open] > summary::before { content: '−'; }
.quick-level-two-disclosure > summary small { color: #5d6b73; font-size: .62rem; font-weight: 700; }
.quick-level-two-disclosure > summary:hover { background: #dcebf1; }
.quick-level-two-disclosure > summary:focus-visible { outline: 3px solid rgba(31,111,139,.25); outline-offset: 2px; }
.quick-level-two { margin-top: 10px; padding: 15px; border-left: 4px solid #9db9cc; border-radius: 10px; background: #f2f6f9; }
.quick-level-two-heading { display: flex; gap: 10px; align-items: start; margin-bottom: 10px; }
.quick-level-two-heading div { display: grid; gap: 2px; }
.quick-level-two-heading small { color: var(--muted); font-size: .72rem; }
.quick-level-two-list { display: grid; gap: 8px; }
.quick-statement-level-two { grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); padding: 12px 13px; border-color: #cbd9e2; box-shadow: none; }
.quick-answer-warning { max-width: 900px; margin-top: 16px; }
.exploration-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.exploration-card { display: flex; flex-direction: column; min-height: 230px; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.exploration-card:hover { transform: translateY(-3px); border-color: #9bb9c6; box-shadow: var(--shadow); }
.exploration-card > span { color: var(--red); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.65rem; font-weight: 800; }
.exploration-card h3 { margin: .45rem 0 .35rem; }
.exploration-card p { color: var(--muted); font-size: .84rem; }
.exploration-card strong { margin-top: auto; color: var(--blue); font-size: .8rem; }
.result-flash-details { border-top: 1px solid var(--line); padding: 11px 20px 15px; }
.result-flash-details > summary { width: fit-content; cursor: pointer; color: var(--blue); font-size: .82rem; font-weight: 800; }
.quick-result-detail { display: grid; gap: 8px; margin-top: 12px; }
.quick-result-theme { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid #e3ddd4; border-radius: 9px; background: #fff; }
.quick-result-theme > div:first-child { display: grid; gap: 2px; }
.quick-result-theme span, .quick-result-theme small { color: var(--muted); font-size: .72rem; }
.quick-result-ratings { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 500px; }
.quick-result-ratings small { flex-basis: 100%; text-align: right; }
.quick-rating-badge { display: inline-flex; border-radius: 999px; padding: .22rem .48rem; font-size: .65rem !important; font-weight: 800; }
.quick-rating-0 { background: #f8dedb; color: #8a2c31 !important; }
.quick-rating-1 { background: #ece9e3; color: #555b60 !important; }
.quick-rating-2 { background: #dce9f6; color: #174c78 !important; }
.quick-rating-3 { background: #dff1e7; color: #1f6748 !important; }
.result-missing-themes { margin: 0 20px 14px; padding: 8px 10px; border-left: 3px solid #8a8f93; background: #f3f1ed; color: #596168; font-size: .72rem; }
.quick-results-display-note { margin: 0 0 12px; color: var(--muted); font-size: .8rem; font-weight: 750; }
.quick-results-more { display: flex; justify-content: center; padding: 8px 0 4px; }

/* Fiche candidat plein écran sur ordinateur */
.desktop-popup-hint { margin: 14px 0 18px; color: var(--muted); font-size: .78rem; }
.candidate-open-visual { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border: 0; padding: 0; background: transparent; color: inherit; cursor: zoom-in; }
.candidate-open-visual:focus-visible { outline: 4px solid rgba(31,111,139,.48); outline-offset: -4px; }
.candidate-open-visual .candidate-photo { position: relative; z-index: 1; }
.candidate-open-name { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: zoom-in; }
.candidate-open-name:hover, .candidate-open-name:focus-visible { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.candidate-logo { z-index: 3; }
.candidate-dialog { width: min(1400px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 22px 70px rgba(11,29,43,.38); color: var(--ink); }
.candidate-dialog::backdrop { background: rgba(15,28,38,.72); backdrop-filter: blur(3px); }
.candidate-dialog-inner { position: relative; padding: clamp(22px, 4vw, 46px); }
.candidate-dialog-close { position: sticky; z-index: 8; top: 0; float: right; }
.candidate-dialog-header { display: grid; grid-template-columns: minmax(260px, .55fr) minmax(0, 1.45fr); gap: clamp(24px, 5vw, 58px); align-items: center; padding-right: 46px; }
.candidate-dialog-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #c9d3df, #ece7dd); }
.candidate-dialog-media .candidate-photo { position: relative; z-index: 1; }
.candidate-dialog-media .candidate-logo { z-index: 3; }
.candidate-dialog-media.has-photo .candidate-photo-note { display: none; }
.candidate-dialog-intro h2 { margin-bottom: .15rem; font-size: clamp(2rem, 5vw, 3.6rem); }
.candidate-dialog-intro .candidate-summary { max-width: 850px; font-size: .98rem; }
.candidate-dialog-intro .candidate-program { margin-top: 18px; }
.candidate-dialog-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.candidate-dialog-section > h3 { margin-bottom: 12px; }
.candidate-dialog-status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 24px; }
.candidate-dialog-status ul { margin: 0; color: #46525d; }
.candidate-dialog .factual-grid, .candidate-dialog .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.candidate-dialog-links { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav { position: fixed; inset: 81px 20px auto; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: .65rem .8rem; }
  .menu-button { display: block; }
  .theme-nav { display: none; }
  .theme-layout { grid-template-columns: 1fr; }
  .theme-nav-card { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .home-hero { grid-template-columns: 1fr; }
  .home-featured-fact-grid { grid-template-columns: 1fr; }
  .home-stats { grid-column: 1; }
  .candidacy-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vote-dispersion-grid { grid-template-columns: 1fr; }
  .exploration-cards { grid-template-columns: 1fr; }
  .exploration-card { min-height: 0; }
  .desktop-popup-hint { display: none; }
}

@media (max-width: 720px) {
  .coherence-dialog { width: calc(100% - 14px); max-height: calc(100dvh - 14px); }
  .coherence-dialog-inner { padding: 18px 14px; }
  .coherence-dialog-title { display: block; padding-right: 38px; }
  .coherence-dialog-title .coherence-score { margin-top: 10px; }
  .analysis-dialog-title { display: block; padding-right: 38px; }
  .analysis-dialog-title .rating-badge { margin-top: 10px; }
  .analysis-dialog-footer { align-items: flex-start; flex-direction: column; }
  .wrap { width: min(calc(100% - 24px), var(--wrap)); }
  .brand small { display: none; }
  .hero { padding-top: 62px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { display: block; }
  .filters { position: static; grid-template-columns: 1fr; }
  .directory-toolbar { align-items: stretch; flex-direction: column; }
  .view-control { align-items: stretch; flex-direction: column; gap: 6px; }
  .view-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .candidate-grid { grid-template-columns: 1fr; }
  .candidate-grid[data-view="compact"] { grid-template-columns: 1fr; }
  .split-callout { grid-template-columns: 1fr; margin-inline: 12px; }
  .position-candidates { grid-template-columns: 1fr; }
  .importance-options { grid-template-columns: repeat(2, 1fr); }
  .result-row-main { grid-template-columns: 1fr 80px; }
  .result-row-main .result-bar { grid-column: 1 / -1; grid-row: 2; }
  .result-row-main .result-score { grid-column: 2; grid-row: 1; }
  .factual-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .verification-head { display: block; }
  .verification-precision-head { display: block; }
  .rating-badge { margin-bottom: 10px; }
  .source-card { grid-template-columns: 1fr; gap: 4px; }
  .method-definition-grid { grid-template-columns: 1fr; }
  .method-vote-grid, .source-list-tools { grid-template-columns: 1fr; }
  .source-summary { margin: 0; text-align: left; }
  .similarity-audit-card { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .mode-cards { grid-template-columns: 1fr; }
  .candidacy-guide-grid { grid-template-columns: 1fr; }
  .vote-example-row { grid-template-columns: minmax(0, 1fr) auto; }
  .vote-example-row small { grid-column: 1 / -1; text-align: left; }
  .quick-toolbar { align-items: stretch; flex-direction: column; }
  .quick-statement, .quick-statement-level-two { grid-template-columns: 1fr; }
  .quick-rating-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-rating-options label:first-child { grid-column: 1 / -1; }
  .quick-result-theme { grid-template-columns: 1fr; }
  .quick-result-ratings { justify-content: flex-start; }
  .quick-result-ratings small { text-align: left; }
  .candidate-open-visual, .candidate-open-name { cursor: default; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  body { background: white; font-size: 10pt; }
  body::before, .site-header, .site-footer, .filters, .theme-nav-card, .quiz-actions, .button { display: none !important; }
  .wrap { width: 100%; }
  .candidate-grid { grid-template-columns: repeat(2, 1fr); }
  .candidate-card, .verification-card, .position-group { break-inside: avoid; box-shadow: none; }
}

/* Pourquoi ces idées ? — lecture causale */
.causes-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr); gap: clamp(28px, 6vw, 80px); align-items: end; }
.causes-hero-note { padding: clamp(24px, 4vw, 36px); border-top: 6px solid var(--gold); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.causes-hero-note h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.causes-hero-note a { font-weight: 800; }
.causes-stats { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; width: 100%; }

.causal-reader { padding-top: 30px; }
.causal-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.causal-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.causal-steps li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -25px; top: 50%; width: 20px; color: var(--red); font-size: 1.45rem; font-weight: 900; text-align: center; transform: translateY(-50%); }
.causal-steps li > span, .causal-flow-step > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--blue); color: white; font-weight: 800; }
.causal-steps strong { display: block; margin-bottom: 4px; }
.causal-steps p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }

.causal-layout { display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: 28px; align-items: start; }
.causal-nav-card { position: sticky; top: 94px; max-height: calc(100vh - 112px); overflow: auto; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 28px rgba(30,36,43,.07); }
.causal-nav-card .field { margin-bottom: 14px; }
.causal-theme-nav { display: grid; gap: 4px; }
.causal-theme-nav button { width: 100%; border: 0; border-left: 4px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); padding: .55rem .65rem; font-size: .78rem; font-weight: 700; text-align: left; }
.causal-theme-nav button:hover, .causal-theme-nav button[aria-current="true"] { border-left-color: var(--red); background: #eef3f7; color: var(--blue); }
.causal-nav-help { margin-top: 16px; padding: 14px; border-radius: 12px; background: #eaf1f7; font-size: .76rem; }
.causal-nav-help p { margin: .4rem 0 0; }
.causal-theme-panel { min-width: 0; }
.causal-theme-head { margin-bottom: 30px; padding: clamp(26px, 5vw, 48px); border-radius: var(--radius); background: var(--blue); color: white; }
.causal-theme-head .eyebrow { color: #f2cd7a; }
.causal-theme-head h2 { max-width: 850px; }
.causal-theme-head p:last-child { max-width: 780px; margin: 0; color: #e2ebf3; font-size: 1.02rem; }
.causal-voter-priority { margin: -10px 0 34px; padding: 22px 24px; border: 1px solid #c8d8e5; border-left: 6px solid var(--blue-2); border-radius: 14px; background: #f4f8fb; }
.causal-voter-priority h3 { margin-bottom: 8px; font-size: 1.3rem; }
.causal-priority-number { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.causal-priority-number strong { color: var(--blue); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; }
.causal-priority-number p { margin: 0; max-width: 680px; }
.causal-subheading { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin: 42px 0 20px; }
.causal-subheading h3 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.causal-subheading > p { max-width: 510px; color: var(--muted); }

.causal-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.causal-fact-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.causal-fact-indicator { margin: 0 0 7px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.causal-fact-card > strong { display: block; margin-bottom: 7px; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.27rem; line-height: 1.25; }
.causal-fact-card > p { color: #46525d; }
.causal-fact-text { margin: 0; font-size: .94rem; line-height: 1.62; }
.causal-fact-card dl { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 13px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.causal-fact-card dl div { display: flex; gap: 5px; font-size: .72rem; }
.causal-fact-card dt { color: var(--muted); font-weight: 700; }
.causal-fact-card dd { margin: 0; }
.causal-caution { padding: 10px 12px; border-radius: 8px; background: #fff5df; font-size: .76rem; line-height: 1.45; }
.causal-more-facts { margin-top: 16px; }
.causal-more-facts > summary { width: fit-content; margin-bottom: 14px; cursor: pointer; color: var(--blue); font-weight: 800; }

.causal-option-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.causal-option-overview-grid article { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 15px; background: var(--surface); }
.causal-option-overview-grid h4 { margin: 0 0 10px; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.3rem; line-height: 1.25; }
.causal-option-overview-grid p { color: #46525d; font-size: .86rem; line-height: 1.55; }
.causal-option-overview-grid a { margin-top: auto; padding-top: 8px; font-size: .8rem; font-weight: 800; }

.causal-option-list { display: grid; gap: 16px; }
.causal-option-card { scroll-margin-top: 100px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 5px 18px rgba(30,36,43,.05); }
.causal-option-card > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; cursor: pointer; list-style: none; }
.causal-option-card > summary::-webkit-details-marker { display: none; }
.causal-option-card > summary span:first-child { display: grid; }
.causal-option-card > summary small { color: var(--red); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.causal-option-card > summary strong { margin: 3px 0; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.45rem; line-height: 1.22; }
.causal-option-card > summary em { color: var(--muted); font-size: .88rem; font-style: normal; }
.causal-open-label { flex: 0 0 auto; color: var(--blue); font-size: .76rem; font-weight: 800; }
.causal-open-label::after { content: " +"; font-size: 1rem; }
.causal-option-card[open] .causal-open-label::after { content: " −"; }
.causal-option-body { padding: 0 24px 26px; border-top: 1px solid var(--line); }
.causal-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; margin: 24px 0; }
.causal-flow-step { min-width: 0; padding: 17px; border-radius: 13px; background: #f1f5f8; }
.causal-flow-step > span { width: 27px; height: 27px; margin-bottom: 9px; font-size: .75rem; }
.causal-flow-step small { color: var(--red); font-weight: 800; text-transform: uppercase; }
.causal-flow-step p { margin: 5px 0 0; font-size: .84rem; line-height: 1.52; }
.causal-flow-arrow { align-self: center; color: var(--red); font-size: 1.35rem; font-weight: 900; }
.causal-conclusion { margin: 20px 0; padding: 19px 20px; border-left: 5px solid var(--green); border-radius: 4px 12px 12px 4px; background: #e9f4ef; }
.causal-conclusion p:last-child { margin: 0; font-weight: 700; }
.causal-question-results { margin: 28px 0 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.causal-question-results > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.causal-question-results > header h3 { font-size: clamp(1.45rem, 2.7vw, 1.95rem); }
.causal-question-results > header > p { max-width: 360px; color: var(--muted); font-size: .82rem; }
.causal-question-test-list { display: grid; gap: 13px; }
.causal-question-test { padding: 19px; border: 1px solid var(--line); border-left: 5px solid var(--blue-2); border-radius: 13px; background: #fbfcfd; }
.causal-question-test > header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.causal-question-test h4 { margin: 2px 0 0; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.18rem; line-height: 1.3; }
.causal-question-test > p { color: #3f4d58; font-size: .86rem; line-height: 1.56; }
.question-test-number { margin: 0; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.causal-test-limit { padding: 11px 13px; border-radius: 9px; background: #f0f3f5; }
.causal-question-test-established { border-left-color: #1f6748; }
.causal-question-test-conditional { border-left-color: #8b6318; }
.causal-question-test-insufficient { border-left-color: #a45d1a; }
.causal-question-test-contradicted { border-left-color: #96373b; }
.causal-question-test-normative { border-left-color: #6d4a8e; }
.causal-deep-details { margin: 14px 0; }
.causal-deep-details > summary, .causal-sources > summary, .causal-all-details > summary, .causal-method-more > summary { width: fit-content; cursor: pointer; color: var(--blue); font-weight: 800; }
.causal-deep-details[open] { margin-top: 18px; padding: 16px; border: 1px solid #cbd9e4; border-radius: 12px; background: #f8fbfd; }
.causal-deep-intro { margin-top: 16px; }
.causal-deep-intro h5 { margin: 0 0 10px; font-size: 1rem; }
.causal-known-list { display: grid; gap: 10px; }
.causal-known-list article { padding: 12px 14px; border-left: 4px solid var(--green); border-radius: 4px 9px 9px 4px; background: white; }
.causal-known-list article > p:first-child { margin-top: 0; color: #394752; font-size: .82rem; line-height: 1.58; }
.causal-known-list article > p:last-child { margin-bottom: 0; }
.causal-card-actions { margin: 18px 0; }
.causal-card-actions a { display: inline-flex; border: 1px solid var(--blue); border-radius: 999px; padding: .55rem .8rem; font-size: .78rem; font-weight: 800; text-decoration: none; }
.causal-card-actions a:hover { background: var(--blue); color: white; }
.causal-return-link { margin: 15px 0; }
.causal-return-link a { font-size: .78rem; font-weight: 800; }

.causal-precisions { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.causal-precisions > header { max-width: 760px; }
.causal-precisions > header h3 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.causal-precision-list { display: grid; gap: 13px; }
.causal-precision-card { scroll-margin-top: 100px; padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: #fffefa; }
.causal-precision-card > header { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.causal-precision-card h4, .causal-related-card h4 { margin: 0; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.25rem; line-height: 1.25; }
.precision-kicker { margin: 0 0 3px; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.causal-status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; border: 1px solid currentColor; border-radius: 999px; padding: .3rem .58rem; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.causal-status > span { width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50%; background: currentColor; }
.causal-status-established { color: #1f6748; background: #e2f0e9; }
.causal-status-supported { color: #174c78; background: #dce9f6; }
.causal-status-conditional { color: #74500d; background: #fff0ce; }
.causal-status-uncertain { color: #71471b; background: #f7e9d8; }
.causal-status-unsupported { color: #8a2c31; background: #f8dedb; }
.causal-status-insufficient { color: #8a4c16; background: #f9e4cf; }
.causal-status-contradicted { color: #8a2c31; background: #f8dedb; }
.causal-status-normative { color: #60417d; background: #eee5f6; }
.causal-link { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #eef3f7; }
.causal-status-explanation { color: var(--muted); font-size: .8rem; }
.causal-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 13px 0; }
.causal-detail-list div { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.causal-detail-list dt { color: var(--red); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.causal-detail-list dd { margin: 4px 0 0; color: #46525d; font-size: .8rem; line-height: 1.5; }
.causal-detail-list-deep { grid-template-columns: 1fr; }
.causal-detail-list-deep div { background: white; }
.causal-detail-list-deep dd { font-size: .86rem; line-height: 1.62; }
.causal-sources { margin-top: 13px; font-size: .78rem; }
.causal-sources ul { display: grid; gap: 9px; margin: 12px 0 0; padding: 0; list-style: none; }
.causal-sources li { display: grid; padding: 10px 12px; border-left: 3px solid var(--blue-2); background: #f3f5f6; }
.causal-sources a { font-weight: 750; }
.causal-sources small, .causal-sources li > span { color: var(--muted); font-size: .68rem; }

.causal-related { margin-top: 60px; padding-top: 50px; border-top: 2px solid var(--ink); }
.causal-related-group { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: #f7f9fa; }
.causal-related-group > summary { padding: 18px 20px; cursor: pointer; color: var(--blue); font-weight: 850; }
.causal-related-group[open] > summary { border-bottom: 1px solid var(--line); }
.causal-related-group > .causal-related-grid { padding: 16px; }
.causal-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.causal-related-card, .causal-chain-card { min-width: 0; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.causal-related-card p:last-child, .causal-chain-card p:last-child { margin-bottom: 0; }
.causal-gap-card { border-style: dashed; background: #fff9ed; }
.chain-id { margin: 0 0 6px; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.causal-shortcut { padding: 12px; border-radius: 8px; background: #fff0ed; }

.featured-chains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.featured-chains .causal-chain-card { border-top: 5px solid var(--blue); }
.featured-chains h3 { font-size: 1.3rem; }
.causal-all-details { margin-top: 24px; }
.chain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }

.evidence-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.evidence-row { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.evidence-row header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.evidence-row header > strong { color: var(--muted); font-size: .74rem; }
.evidence-row p { margin: 12px 0; color: #46525d; font-size: .82rem; }
.evidence-track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.evidence-track span { display: block; height: 100%; border-radius: inherit; background: var(--blue-2); }

.causal-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.causal-method-grid > article, .causal-method-more article { padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.causal-method-grid h3, .causal-method-more h3 { font-size: 1.15rem; }
.causal-method-grid p, .causal-method-more p { margin: 0; color: #46525d; font-size: .82rem; }
.causal-method-more { grid-column: 1 / -1; }
.causal-method-more > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.causal-complete-sources { grid-column: 1 / -1; margin-top: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.causal-complete-sources > p { color: var(--muted); }

.question-evidence-section { padding-top: 30px; }
.question-test-overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.question-evidence-row { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.question-evidence-row header { display: grid; gap: 10px; }
.question-evidence-row header strong { font-size: .8rem; }
.question-evidence-row p { min-height: 5.2em; margin: 10px 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.question-evidence-row .causal-status { white-space: normal; }
.question-evidence-note { margin: 16px 0 0; padding: 15px 17px; border-left: 5px solid var(--gold); border-radius: 4px 10px 10px 4px; background: #fff6de; font-size: .86rem; }

@media (max-width: 1000px) {
  .causes-hero { grid-template-columns: 1fr; }
  .causes-stats { grid-column: 1; }
  .question-test-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .causal-layout { grid-template-columns: 1fr; }
  .causal-nav-card { position: static; max-height: none; }
  .causal-theme-nav { display: none; }
  .causal-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .causal-steps li:nth-child(2)::after { display: none; }
  .featured-chains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exploration-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .causes-stats { grid-template-columns: 1fr; }
  .exploration-cards { grid-template-columns: 1fr; }
  .causal-steps { grid-template-columns: 1fr; gap: 14px; }
  .causal-steps li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -20px; width: 20px; transform: translateX(-50%); }
  .causal-subheading { display: block; }
  .causal-fact-grid, .causal-option-overview-grid, .causal-related-grid, .featured-chains, .chain-list, .evidence-overview, .causal-method-grid, .causal-method-more > div { grid-template-columns: 1fr; }
  .causal-priority-number { grid-template-columns: 1fr; }
  .causal-option-card > summary { align-items: start; padding: 18px; }
  .causal-option-body { padding: 0 18px 20px; }
  .causal-open-label { width: 28px; overflow: hidden; white-space: nowrap; }
  .causal-open-label::after { margin-left: 6px; }
  .causal-flow { grid-template-columns: 1fr; }
  .causal-flow-arrow { justify-self: center; transform: rotate(90deg); }
  .causal-precision-card > header { display: grid; }
  .causal-detail-list { grid-template-columns: 1fr; }
  .causal-question-results > header, .causal-question-test > header { display: grid; }
  .question-test-overview { grid-template-columns: 1fr; }
  .question-evidence-row p { min-height: 0; }
  .evidence-row header { align-items: start; flex-direction: column; }
}

@media print {
  .causal-nav-card, .causal-card-actions, .causal-open-label { display: none !important; }
  .causal-layout { grid-template-columns: 1fr; }
  .causal-option-card { break-inside: avoid; }
  .causal-option-card[open] > .causal-option-body { display: block; }
}

/* Fiches thématiques v0.12.0 */
.theme-brief-link { display: inline-flex; margin-top: 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .55rem .8rem; color: white; font-size: .78rem; font-weight: 800; text-decoration: none; }
.theme-brief-link:hover { border-color: white; color: white; background: rgba(255,255,255,.09); }

.brief-index-hero { padding: clamp(70px, 9vw, 125px) 0 clamp(55px, 7vw, 90px); background: linear-gradient(135deg, #e6eef4 0%, #f5f2eb 58%, #f5e8e4 100%); }
.brief-index-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(285px, .65fr); gap: clamp(32px, 7vw, 90px); align-items: end; }
.brief-index-hero h1 { max-width: 880px; font-size: clamp(2.7rem, 6vw, 5.4rem); }
.brief-hero-actions, .brief-inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.brief-method-card { border-top: 6px solid var(--red); border-radius: var(--radius); padding: 28px; background: var(--surface); box-shadow: var(--shadow); }
.brief-method-card strong { display: block; color: var(--blue); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.65rem; line-height: 1.12; }
.brief-method-card p { margin: 12px 0; color: #46525d; font-size: .9rem; }
.brief-method-card span { color: var(--muted); font-size: .75rem; font-weight: 700; }
.brief-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.brief-index-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 6px 20px rgba(30,36,43,.05); transition: transform .18s, box-shadow .18s; }
.brief-index-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brief-index-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #dce4e9; }
.brief-index-image img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.82) contrast(.96); transition: transform .3s; }
.brief-index-card:hover .brief-index-image img { transform: scale(1.025); }
.brief-index-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.brief-index-card h3 { margin: 0 0 10px; font-size: 1.65rem; }
.brief-index-card h3 a { color: var(--ink); text-decoration: none; }
.brief-index-card h3 a:hover { color: var(--blue); }
.brief-index-card-body > p:not(.brief-kicker) { color: #4a5863; font-size: .88rem; }
.brief-kicker { margin: 0 0 7px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brief-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; }
.brief-card-meta a { font-weight: 800; text-decoration: none; }
.brief-index-method { padding: clamp(60px, 8vw, 100px) 0; border-block: 1px solid #284353; background: var(--ink); color: white; }
.brief-index-method p:not(.eyebrow) { color: #d5dde2; }
.brief-index-method a { color: #f4cd79; font-weight: 800; }

.brief-detail-hero { padding: 24px 0 clamp(54px, 8vw, 92px); background: linear-gradient(150deg, #eaf0f3 0%, #f5f2eb 60%, #f2e4df 100%); }
.brief-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px 0 38px; color: var(--muted); font-size: .78rem; }
.brief-breadcrumb a { font-weight: 800; }
.brief-detail-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(32px, 7vw, 90px); align-items: center; }
.brief-detail-hero h1 { font-size: clamp(3.1rem, 7vw, 6.5rem); }
.brief-detail-hero figure { margin: 0; overflow: hidden; border-radius: 22px; background: #dce4e9; box-shadow: 0 24px 60px rgba(23,33,43,.18); }
.brief-detail-hero figure img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; filter: saturate(.82) contrast(.96); }
.brief-detail-hero figcaption { padding: 10px 14px; background: rgba(255,255,255,.92); color: var(--muted); font-size: .68rem; }
.brief-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.brief-meta span { border: 1px solid rgba(23,63,110,.18); border-radius: 999px; padding: .32rem .58rem; background: rgba(255,255,255,.55); color: #3e4d58; font-size: .7rem; font-weight: 750; }

.brief-summary { display: grid; grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr); gap: clamp(25px, 7vw, 90px); align-items: start; }
.brief-summary ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: brief-summary; border-top: 2px solid var(--ink); }
.brief-summary li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); color: #35434d; font-size: 1.02rem; counter-increment: brief-summary; }
.brief-summary li::before { content: counter(brief-summary, decimal-leading-zero); color: var(--red); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.2rem; font-weight: 800; }

.brief-facts-section { padding-bottom: clamp(55px, 8vw, 95px); }
.brief-facts-section > details { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #edf2f5; }
.brief-facts-section > details > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 25px; color: var(--blue); cursor: pointer; list-style: none; }
.brief-facts-section > details > summary::-webkit-details-marker { display: none; }
.brief-facts-section > details > summary::after { content: '+'; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: white; font-size: 1.25rem; }
.brief-facts-section > details[open] > summary::after { content: '−'; }
.brief-facts-section > details > summary span:first-child { display: grid; }
.brief-facts-section > details > summary small { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.brief-facts-section > details > summary strong { font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.7rem; }
.brief-facts-section > details > summary > span:last-child { margin-left: auto; color: var(--muted); font-size: .72rem; font-weight: 800; }
.brief-facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 18px 18px; }
.brief-fact { min-width: 0; padding: 20px; border: 1px solid #d7e0e5; border-radius: 13px; background: var(--surface); }
.brief-fact-head { display: flex; align-items: baseline; gap: 9px; margin-bottom: 10px; }
.brief-fact-head span { color: var(--red); font-size: .65rem; font-weight: 850; }
.brief-fact-head strong { font-size: .88rem; }
.brief-fact > p { color: #3f4d57; font-size: .84rem; }
.brief-fact dl { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0; }
.brief-fact dl div { display: flex; gap: 6px; }
.brief-fact dt { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.brief-fact dd { margin: 0; color: #3e4c56; font-size: .7rem; }
.brief-limit { margin: 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: #fff8e6; }
.brief-source-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.brief-source-chips a { overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .52rem; background: white; color: var(--blue); font-size: .65rem; font-weight: 800; line-height: 1.3; text-decoration: none; }

.brief-explanation { padding-top: 15px; }
.brief-reading-section { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: clamp(20px, 4vw, 55px); max-width: 1000px; margin: 0 auto; padding: 34px 0; border-top: 1px solid var(--line); }
.brief-reading-section:last-child { border-bottom: 1px solid var(--line); }
.brief-reading-section > span { color: var(--red); font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.brief-reading-section h3 { font-size: clamp(1.75rem, 3vw, 2.45rem); }
.brief-reading-section p { color: #35434d; font-size: 1rem; line-height: 1.78; }

.brief-verdicts { padding: clamp(60px, 8vw, 100px) 0; background: var(--ink); color: white; }
.brief-verdicts .section-heading > p { color: #c9d2d8; }
.brief-verdict-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.brief-verdict-grid > section, .brief-misleading { padding: clamp(22px, 4vw, 34px); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.brief-verdict-grid h3, .brief-misleading h3 { color: white; }
.brief-argument-list { display: grid; gap: 10px; }
.brief-argument-list article { padding: 16px; border-radius: 11px; background: white; color: var(--ink); }
.brief-argument-list p { margin: 0; font-size: .88rem; }
.brief-established article { border-left: 5px solid var(--green); }
.brief-debated article { border-left: 5px solid var(--gold); }
.brief-misleading { margin-top: 22px; }
.brief-misleading > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brief-misleading article { padding: 18px; border-radius: 12px; background: #fff8f6; color: var(--ink); }
.brief-misleading h4 { margin: 8px 0; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.1rem; }
.brief-misleading p { color: #45525c; font-size: .8rem; }
.brief-status { display: inline-flex; border-radius: 999px; padding: .24rem .52rem; background: #f5dbd7; color: #84252b; font-size: .66rem; font-weight: 850; text-transform: uppercase; }
.brief-ethics-note { margin: 18px 0 0; color: #cbd4da; font-size: .78rem; }

.brief-candidate-groups { display: grid; gap: 11px; }
.brief-candidate-groups details { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.brief-candidate-groups summary { display: flex; align-items: center; padding: 16px 19px; color: var(--blue); cursor: pointer; list-style: none; }
.brief-candidate-groups summary::-webkit-details-marker { display: none; }
.brief-candidate-groups summary::after { content: '+'; margin-left: auto; font-size: 1.15rem; font-weight: 800; }
.brief-candidate-groups details[open] summary::after { content: '−'; }
.brief-candidate-groups summary span { display: grid; }
.brief-candidate-groups summary small { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.brief-candidate-groups details > p { margin: 0; padding: 0 19px 14px; color: var(--muted); font-size: .8rem; }
.brief-candidate-groups ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px 0 0; background: var(--line); list-style: none; }
.brief-candidate-groups li { min-width: 0; display: grid; padding: 12px 18px; background: #f8f6f1; }
.brief-candidate-groups li a { overflow-wrap: anywhere; font-size: .8rem; font-weight: 800; text-decoration: none; }
.brief-candidate-groups li span { color: var(--muted); font-size: .66rem; }

.brief-related { padding: clamp(55px, 7vw, 85px) 0; border-block: 1px solid #d1dae0; background: #e8eef2; }
.brief-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.brief-related-grid a { display: grid; min-width: 0; min-height: 145px; padding: 20px; border: 1px solid #cbd6dc; border-radius: 13px; background: var(--surface); color: var(--ink); text-decoration: none; }
.brief-related-grid a:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(30,36,43,.08); }
.brief-related-grid span { color: var(--red); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.brief-related-grid strong { margin: 8px 0; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: 1.3rem; line-height: 1.12; }
.brief-related-grid small { margin-top: auto; color: var(--blue); font-weight: 800; }

.brief-sources ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.brief-sources li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 17px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.brief-sources li div { min-width: 0; display: grid; }
.brief-sources li span { overflow-wrap: anywhere; color: #46525d; font-size: .78rem; }
.brief-sources li small { color: var(--muted); font-size: .67rem; }
.brief-sources li > a { font-size: .75rem; font-weight: 800; white-space: nowrap; }
.brief-next { padding: clamp(60px, 8vw, 100px) 0; background: #efe4d3; }
.brief-next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.brief-next-grid a { display: grid; gap: 5px; padding: 20px; border: 1px solid #d8c5aa; border-radius: 13px; background: var(--surface); color: var(--ink); text-decoration: none; }
.brief-next-grid a:hover { border-color: var(--red); }
.brief-next-grid strong { color: var(--blue); }
.brief-next-grid span { color: var(--muted); font-size: .8rem; }

.candidate-card-targeted {
  outline: 3px solid var(--red);
  outline-offset: 4px;
  box-shadow: 0 18px 45px rgba(25, 66, 91, .2);
}

@media (max-width: 1380px) {
  .main-nav { position: fixed; inset: 81px 20px auto; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: .65rem .8rem; }
  .menu-button { display: block; }
}

@media (max-width: 1000px) {
  .brief-index-hero-grid, .brief-detail-hero-grid, .brief-summary { grid-template-columns: 1fr; }
  .brief-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-detail-hero figure { max-width: 760px; }
  .brief-misleading > div, .brief-candidate-groups ul, .brief-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .brief-index-grid, .brief-facts-grid, .brief-verdict-grid, .brief-misleading > div, .brief-candidate-groups ul, .brief-related-grid, .brief-next-grid { grid-template-columns: 1fr; }
  .brief-index-hero h1, .brief-detail-hero h1 { font-size: clamp(2.55rem, 14vw, 4.1rem); }
  .brief-detail-hero-grid { gap: 28px; }
  .brief-breadcrumb { padding-bottom: 25px; }
  .brief-hero-actions, .brief-inline-actions { display: grid; }
  .brief-summary li { grid-template-columns: 34px 1fr; font-size: .93rem; }
  .brief-facts-section > details > summary > span:last-child { display: none; }
  .brief-facts-grid { padding-inline: 10px; }
  .brief-reading-section { grid-template-columns: 1fr; gap: 10px; }
  .brief-reading-section > span { font-size: 1.4rem; }
  .brief-sources li { grid-template-columns: 1fr; }
}

@media print {
  .brief-detail-hero { background: white; }
  .brief-detail-hero-grid, .brief-summary, .brief-verdict-grid { grid-template-columns: 1fr; }
  .brief-detail-hero figure { max-width: 560px; }
  .brief-facts-section > details > .brief-facts-grid { display: grid; }
  .brief-verdicts { background: white; color: var(--ink); }
  .brief-verdicts h2, .brief-verdict-grid h3, .brief-misleading h3 { color: var(--ink); }
  .brief-related, .brief-next { background: white; }
}

/* v0.12.6 — pages dédiées aux questionnaires */
.questionnaire-active [data-site-header],
.questionnaire-active [data-site-footer] { display: none; }
.questionnaire-focus-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.questionnaire-focus-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.questionnaire-page #contenu { min-height: 70vh; }
.questionnaire-page .question-card,
.questionnaire-page [aria-live="polite"] { scroll-margin-top: 20px; }
.questionnaire-page .questionnaire-alternative { margin: 18px 0; }
@media (max-width: 600px) {
  .questionnaire-focus-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
  .questionnaire-page .quiz-actions { gap: 12px; flex-wrap: wrap; }
  .questionnaire-page .quiz-actions .button { flex: 1; }
}
@media print { .questionnaire-focus-header { display: none; } }
/* Les intitulés du menu restent visibles quelle que soit la police disponible. */
.main-nav { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .brand { min-width: 0; white-space: normal; font-size: .9rem; gap: 8px; }
  .brand-mark { flex: 0 0 35px; }
  .menu-button { flex-shrink: 0; }
}
.mode-card h2 { font-size: 1.45rem; }
.questionnaire-active #contenu,
.questionnaire-focus-inner { max-width: 1000px; }
.skip-link:not(:focus) { clip-path: inset(50%); }

/* v0.12.7 — illustrations d’accueil et de partage des questionnaires */
[data-illustrated-quiz] .page-top { padding-top: clamp(24px, 4vw, 56px); }
.questionnaire-landing-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 3vw, 42px); align-items: center; margin-bottom: 28px; }
.questionnaire-landing-copy { min-width: 0; }
.questionnaire-landing-copy h1 { font-size: clamp(2rem, 3.2vw, 3.1rem); }
.questionnaire-landing-copy .hero-lead { font-size: 1.1rem; margin-bottom: 0; }
.questionnaire-illustration { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.questionnaire-illustration img { display: block; width: 100%; height: auto; }
@media (max-width: 800px) {
  .questionnaire-landing-hero { grid-template-columns: 1fr; gap: 22px; }
  .questionnaire-illustration { grid-row: 1; }
  .questionnaire-landing-copy h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
}

[data-illustrated-quiz] .quiz-intro { max-width: none; }
.questionnaire-start-action { margin: 0 0 24px; }

/* Partage disponible sur l’accueil, masqué avec l’introduction pendant le parcours. */
.questionnaire-share { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1rem; margin:1rem 0; }
.questionnaire-share a { font-weight:600; }
.questionnaire-share [data-share-status] { overflow-wrap:anywhere; font-size:.9rem; }
.candidate-watchlist { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:1rem; }
.candidate-watchlist .notice { display:block; margin:0; }
.candidate-watchlist h3 { margin-top:0; }

/* v0.13.0 : les trois portes d’entrée ont le même niveau visuel. */
.mode-cards-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-cards-three .mode-card { min-width: 0; padding: clamp(22px, 2.6vw, 32px); }
.mode-cards-three h2, .mode-cards-three h3 { font-size: 1.65rem; line-height: 1.18; }
.mode-cards-three .button { white-space: normal; }
@media (max-width: 1000px) { .mode-cards-three { grid-template-columns: 1fr; } }
