:root {
  color-scheme: light;
  --navy: #00284b;
  --heading: #00284b;
  --surface-alt: #eaf1f4;
  --header: #ffffff;
  --table-head: #e6eef1;
  --hover: #edf5f7;
  --thumbnail: #d9e5e9;
  --neutral: #edf0f2;
  --navy-2: #0b3c62;
  --ink: #112536;
  --muted: #617181;
  --cyan: #32a2ba;
  --cyan-dark: #167a91;
  --cyan-pale: #e7f5f7;
  --paper: #f3f6f7;
  --card: #ffffff;
  --line: #dce4e8;
  --soft-line: #edf1f3;
  --green: #238469;
  --green-pale: #e5f4ed;
  --amber: #b56c15;
  --amber-pale: #fff0d8;
  --red: #b64a4a;
  --red-pale: #fbe8e8;
  --violet: #6756a8;
  --violet-pale: #eeeafd;
  --shadow: 0 12px 32px rgba(6, 45, 79, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -64px;
  padding: 10px 16px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface-alt);
  font: 11px ui-monospace, monospace;
}

#content { min-height: calc(100vh - 70px); padding: 34px clamp(20px, 4vw, 54px) 80px; outline: none; }
.page { max-width: 1500px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; padding: 0 0 24px 18px; border-bottom: 2px solid var(--line); border-left: 4px solid var(--cyan); }
.page-title { margin: 5px 0 0; color: var(--heading); font-size: clamp(30px, 3.8vw, 50px); font-weight: 860; line-height: 1.01; letter-spacing: -.042em; }
.page-lede { max-width: 720px; margin: 9px 0 0; color: var(--muted); line-height: 1.6; }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 500; }

.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  overflow: hidden;
  border-radius: 26px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}
.hero-copy { z-index: 1; align-self: center; padding: clamp(36px, 6vw, 76px); }
.hero h1 { max-width: 760px; margin: 10px 0 18px; font-size: clamp(40px, 5.3vw, 78px); font-weight: 880; line-height: .95; letter-spacing: -.06em; }
.hero p { max-width: 650px; margin: 0; color: #c4d7e3; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }
.hero-art { position: relative; min-height: 330px; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.hero-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 80px 0 90px var(--navy); }
.hero-stamp {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: 142px;
  height: 142px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 50%;
  background: rgba(6,45,79,.8);
  text-align: center;
}
.hero-stamp strong { display: block; color: white; font-size: 31px; }
.hero-stamp span { display: block; max-width: 90px; color: #bfe8ef; font-size: 10px; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
}
.button:hover { background: var(--navy-2); }
.button.secondary { border-color: var(--line); background: var(--card); color: var(--ink); }
.button.secondary:hover { border-color: var(--cyan); color: var(--cyan-dark); }
.button.on-dark { border-color: white; background: white; color: var(--navy); }
.button.ghost-on-dark { border-color: rgba(255,255,255,.36); background: transparent; }
.button.small { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.text-link { color: var(--cyan-dark); font-weight: 750; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 18px 0 38px; }
.kpi { position: relative; overflow: visible; padding: 21px 20px 19px; border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 15px; background: var(--card); box-shadow: 0 4px 12px rgba(6,45,79,.03); }
.kpi .value { display: block; color: var(--heading); font-size: clamp(24px, 3vw, 38px); font-weight: 850; letter-spacing: -.04em; }
.kpi .label { display: flex; align-items: center; gap: 5px; margin-top: 7px; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.35; }

.section { margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-title { margin: 4px 0 0; color: var(--heading); font-size: clamp(23px, 2.7vw, 34px); font-weight: 830; letter-spacing: -.03em; }
.section-copy { max-width: 720px; margin: 7px 0 0; color: var(--muted); line-height: 1.55; }
.section-actions { display: flex; align-items: center; gap: 8px; }

.editorial-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.story-card, .panel, .chart-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 4px 14px rgba(6,45,79,.035);
}
.story-card { padding: clamp(22px, 3vw, 36px); }
.story-card.dark { background: var(--navy); color: white; border-color: var(--heading); }
.story-card h3 { margin: 9px 0 11px; color: var(--heading); font-size: clamp(24px, 3vw, 40px); font-weight: 830; line-height: 1.06; letter-spacing: -.04em; }
.story-card.dark h3 { color: white; }
.story-card p { color: var(--muted); line-height: 1.58; }
.story-card.dark p { color: #c4d7e3; }
.story-meta { display: flex; gap: 8px 14px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 12px; }
.dark .story-meta { color: #b6ccd9; }
.score-ring { width: 118px; height: 118px; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 10; }
.score-ring .base { stroke: var(--line); }
.score-ring .progress { stroke: var(--cyan); stroke-linecap: round; }
.ring-wrap { position: relative; width: 118px; margin-bottom: 10px; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label strong { font-size: 25px; }
.ring-label span { font-size: 10px; color: var(--muted); }

.metric-label { display: inline-flex; align-items: center; gap: 5px; }
.metric-intro { display: flex; align-items: center; gap: 6px; }
.info-tip { position: relative; display: inline-flex; flex: 0 0 auto; vertical-align: middle; }
.info-button {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-content: center;
  padding: 0;
  border: 1px solid #9ab1bd;
  border-radius: 50%;
  background: transparent;
  color: var(--cyan-dark);
  font: 750 11px/1 Georgia, serif;
  cursor: help;
}
.info-button:hover, .info-button:focus-visible { border-color: var(--cyan-dark); background: var(--cyan-pale); outline: 2px solid rgba(50,162,186,.2); outline-offset: 1px; }
.info-bubble {
  display: none;
  position: absolute;
  z-index: 80;
  left: 50%;
  bottom: calc(100% + 10px);
  width: min(300px, calc(100vw - 36px));
  transform: translate(-50%, 5px);
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: #07263e;
  color: #f5fbfd;
  box-shadow: 0 12px 30px rgba(3,27,44,.28);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.info-bubble::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #07263e; }
.info-tip:hover .info-bubble, .info-tip:focus-within .info-bubble, .info-tip.open .info-bubble { display: block; transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.data-table th .info-bubble { right: -10px; bottom: auto; left: auto; top: calc(100% + 10px); transform: translateY(-5px); }
.data-table th .info-bubble::after { right: 12px; bottom: 100%; left: auto; top: auto; margin: 0; border-top-color: transparent; border-bottom-color: #07263e; }
.data-table th .info-tip:hover .info-bubble, .data-table th .info-tip:focus-within .info-bubble, .data-table th .info-tip.open .info-bubble { transform: translateY(0); }
.hero .info-button, .dark .info-button { border-color: rgba(255,255,255,.48); color: white; }
.hero .info-button:hover, .hero .info-button:focus-visible, .dark .info-button:hover, .dark .info-button:focus-visible { background: rgba(255,255,255,.14); }

.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.take-mini { padding: 22px; border-top: 4px solid var(--cyan); }
.take-mini.realized { border-top-color: var(--green); }
.take-mini.partial { border-top-color: var(--amber); }
.take-mini.missed { border-top-color: var(--red); }
.take-mini blockquote { margin: 12px 0 16px; font-size: 18px; line-height: 1.4; font-weight: 720; }
.take-mini p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.toolbar {
  position: sticky;
  top: 82px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.filter-input, .filter-select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  color: var(--ink);
}
.filter-input { flex: 1 1 260px; min-width: 200px; padding: 9px 12px; }
.filter-select { max-width: 220px; padding: 8px 32px 8px 11px; }
.view-switch { display: flex; gap: 3px; margin-left: auto; padding: 3px; border: 1px solid var(--line); border-radius: 9px; }
.view-switch button { width: 35px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.view-switch button.active { background: var(--navy); color: white; }
.result-count { color: var(--muted); font-size: 12px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.episode-card { overflow: hidden; }
.episode-card .thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--thumbnail); }
.episode-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.episode-card:hover .thumb img { transform: scale(1.025); }
.duration { position: absolute; right: 9px; bottom: 8px; padding: 4px 7px; border-radius: 5px; background: rgba(5,22,35,.86); color: white; font-size: 11px; }
.episode-card-body { padding: 18px; }
.episode-card h3 { margin: 8px 0 14px; font-size: 19px; line-height: 1.28; letter-spacing: -.02em; }
.episode-card h3 a { text-decoration: none; }
.episode-card h3 a:hover { color: var(--cyan-dark); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 13px; border-top: 1px solid var(--soft-line); color: var(--muted); font-size: 12px; }
.mini-stats strong { color: var(--ink); }

.timeline { position: relative; display: grid; gap: 14px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 9px; bottom: 9px; width: 2px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 20px; padding: 20px; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 27px; width: 11px; height: 11px; border: 3px solid var(--paper); border-radius: 50%; background: var(--cyan); }
.timeline-date { color: var(--cyan-dark); font-size: 12px; font-weight: 800; }
.timeline-item h3 { margin: 0 0 8px; font-size: 20px; }
.timeline-item h3 a { text-decoration: none; }

.data-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { position: sticky; top: 0; z-index: 2; padding: 13px 14px; background: var(--table-head); color: var(--muted); text-align: left; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 13px 14px; border-top: 1px solid var(--soft-line); vertical-align: top; }
.data-table tbody tr:hover { background: var(--hover); }
.data-table .title-cell { min-width: 320px; font-weight: 700; line-height: 1.38; }
.data-table a { color: var(--ink); text-decoration: none; }
.data-table a:hover { color: var(--cyan-dark); text-decoration: underline; }
.number { font-variant-numeric: tabular-nums; white-space: nowrap; }

.tag { display: inline-block; padding: 5px 8px; border-radius: 7px; background: var(--cyan-pale); color: var(--cyan-dark); font-size: 11px; font-weight: 750; }
.tag.realisee, .tag.correcte { background: var(--green-pale); color: var(--green); }
.tag.partielle { background: var(--amber-pale); color: var(--amber); }
.tag.non-realisee { background: var(--red-pale); color: var(--red); }
.tag.ouverte { background: var(--violet-pale); color: var(--violet); }
.tag.non-scorable { background: var(--neutral); color: var(--muted); }

.take-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.take-card { padding: 22px; }
.take-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.take-card h3 { margin: 15px 0 13px; font-size: 20px; line-height: 1.38; letter-spacing: -.018em; }
.take-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.take-card details { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--soft-line); }
.take-card details summary { cursor: pointer; font-size: 13px; }
.take-card details p { margin-top: 10px; }
.take-card blockquote { margin: 12px 0; padding-left: 14px; border-left: 3px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.take-card details ul { padding-left: 20px; font-size: 13px; line-height: 1.6; }
.take-card details li + li { margin-top: 8px; }
.take-card details a { overflow-wrap: anywhere; }
.take-card-footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--soft-line); font-size: 12px; }

.kanban { display: grid; grid-template-columns: repeat(5, minmax(260px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.kanban-column { min-height: 280px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-alt); }
.kanban-column h3 { display: flex; justify-content: space-between; margin: 4px 3px 12px; font-size: 13px; }
.kanban-card { margin-bottom: 9px; padding: 13px; border-radius: 10px; background: var(--card); box-shadow: 0 2px 5px rgba(6,45,79,.06); }
.kanban-card p { margin: 7px 0 10px; font-size: 12px; line-height: 1.42; }
.kanban-card a { color: var(--cyan-dark); font-size: 11px; font-weight: 700; text-decoration: none; }

.paper-card { padding: 20px; }
.paper-card h3 { min-height: 52px; margin: 10px 0; font-size: 18px; line-height: 1.38; }
.paper-card h3 a { text-decoration: none; }
.paper-card h3 a:hover { color: var(--cyan-dark); }
.paper-authors { min-height: 36px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.citation-block { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0; }
.citation-block div { padding: 10px; border-radius: 9px; background: var(--surface-alt); }
.citation-block strong { display: block; font-size: 23px; color: var(--heading); }
.citation-block span { font-size: 10px; color: var(--muted); }
.compare-check { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }

.impact-map { position: relative; min-height: 650px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.impact-axis { position: absolute; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.impact-axis.x { left: 50%; bottom: 12px; transform: translateX(-50%); }
.impact-axis.y { left: 8px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; }
.impact-line { position: absolute; background: var(--soft-line); }
.impact-line.vertical { top: 24px; bottom: 40px; width: 1px; }
.impact-line.horizontal { left: 30px; right: 20px; height: 1px; }
.paper-dot { position: absolute; display: grid; place-content: center; border: 2px solid white; border-radius: 50%; background: var(--cyan); color: transparent; box-shadow: 0 1px 5px rgba(6,45,79,.25); cursor: pointer; transition: .15s ease; }
.paper-dot:hover, .paper-dot:focus { z-index: 3; transform: scale(1.35); outline: 2px solid var(--navy); }

.detail-hero { overflow: hidden; display: grid; grid-template-columns: minmax(320px,.8fr) minmax(0,1.2fr); border-radius: 24px; background: var(--navy); color: white; }
.detail-media { min-height: 330px; background: #102c3e; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { align-self: center; padding: clamp(28px, 4.5vw, 62px); }
.detail-copy h1 { margin: 9px 0 16px; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
.detail-copy p { color: #bfd3df; line-height: 1.55; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: none; color: var(--cyan-dark); }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: start; gap: 20px; margin-top: 24px; }
.detail-main { display: grid; gap: 18px; }
.detail-side { position: sticky; top: 86px; display: grid; gap: 14px; }
.panel { padding: 24px; }
.panel h2, .panel h3 { margin: 0 0 12px; }
.panel h2 { color: var(--heading); font-size: clamp(22px, 2.4vw, 30px); font-weight: 820; letter-spacing: -.025em; }
.panel h3 { color: var(--heading); font-weight: 800; }
.panel p { color: var(--muted); line-height: 1.62; }
.description-text, .transcript-text { white-space: pre-wrap; font-size: 14px; line-height: 1.65; }
.transcript-text mark { padding: 0 2px; background: #fff19f; color: #112536; }
.transcript-toolbar { display: flex; gap: 10px; margin: 15px 0; }
.transcript-toolbar input { flex: 1; }
.fact-list { display: grid; gap: 0; margin: 0; }
.fact-list div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--soft-line); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--muted); font-size: 12px; }
.fact-list dd { margin: 0; text-align: right; font-size: 12px; font-weight: 720; }
.audit-table { display: grid; gap: 0; }
.audit-row { display: grid; grid-template-columns: minmax(150px,.35fr) minmax(0,.65fr); gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--soft-line); }
.audit-row:last-child { border-bottom: 0; }
.audit-key { color: var(--muted); font-size: 12px; }
.audit-value { overflow-wrap: anywhere; font-size: 12px; line-height: 1.45; }

.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.chart-card { padding: 24px; }
.chart-card.wide { grid-column: 1 / -1; }
.chart-card h3 { margin: 0 0 4px; }
.chart-card > p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.bar-list { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(115px,.35fr) minmax(180px,1fr) auto; align-items: center; gap: 11px; font-size: 12px; }
.bar-track { height: 11px; overflow: hidden; border-radius: 6px; background: var(--surface-alt); }
.bar-fill { height: 100%; min-width: 3px; border-radius: 6px; background: var(--cyan); }
.bar-fill.green { background: var(--green); }
.bar-fill.amber { background: var(--amber); }
.bar-fill.red { background: var(--red); }
.bar-fill.violet { background: var(--violet); }
.sparkline { width: 100%; height: 120px; overflow: visible; }
.sparkline path { fill: none; stroke: var(--cyan); stroke-width: 3; vector-effect: non-scaling-stroke; }
.sparkline .area { fill: var(--cyan-pale); stroke: none; }
.sparkline circle { fill: var(--navy); }

.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.method-card { padding: 26px; }
.method-card h3 { margin: 10px 0; }
.method-card p, .method-card li { color: var(--muted); line-height: 1.6; }
.method-card ul { padding-left: 18px; }
.download-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.download-card { display: grid; gap: 5px; padding: 18px; text-decoration: none; }
.download-card:hover { border-color: var(--cyan); }
.download-card span { color: var(--muted); font-size: 12px; }

.search-dialog { width: min(760px, calc(100vw - 28px)); max-height: min(760px, calc(100vh - 40px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 26px 80px rgba(6,45,79,.3); }
.search-dialog::backdrop { background: rgba(2,21,35,.67); backdrop-filter: blur(3px); }
.search-head { display: flex; justify-content: space-between; padding: 18px 20px 10px; }
.search-head label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.search-head button { border: 0; background: transparent; font-size: 24px; cursor: pointer; }
.search-input-wrap { display: flex; gap: 10px; margin: 0 20px 10px; padding: 12px; border: 2px solid var(--cyan); border-radius: 12px; }
.search-input-wrap input { flex: 1; border: 0; outline: 0; font-size: 17px; }
.search-results { max-height: 560px; overflow-y: auto; padding: 6px 12px 16px; }
.search-result { display: grid; grid-template-columns: 74px 1fr auto; gap: 13px; align-items: center; padding: 11px; border-radius: 11px; text-decoration: none; }
.search-result:hover, .search-result.selected { background: var(--cyan-pale); }
.search-result img { width: 74px; aspect-ratio: 16/9; border-radius: 7px; object-fit: cover; background: var(--thumbnail); }
.search-result strong { display: block; font-size: 13px; line-height: 1.4; }
.search-result span { color: var(--muted); font-size: 11px; }
.search-help { padding: 10px 20px 16px; border-top: 1px solid var(--soft-line); color: var(--muted); font-size: 11px; }

.compare-dock { position: fixed; z-index: 40; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 12px; max-width: 900px; margin: auto; padding: 12px 14px; border: 1px solid var(--cyan); border-radius: 14px; background: var(--navy); color: white; box-shadow: 0 16px 40px rgba(6,45,79,.3); }
.compare-items { display: flex; gap: 8px; flex: 1; overflow: hidden; }
.compare-chip { max-width: 190px; overflow: hidden; padding: 7px 9px; border-radius: 7px; background: rgba(255,255,255,.1); white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.compare-modal-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; padding: 12px 20px 22px; }
.compare-column { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.compare-column h3 { min-height: 68px; margin: 0 0 14px; font-size: 15px; }

.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; transform: translateY(20px); padding: 11px 15px; border-radius: 9px; background: var(--navy); color: white; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.empty { padding: 54px 20px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); text-align: center; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1180px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .three-up { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr .65fr; }
}

@media (max-width: 880px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-art { min-height: 240px; order: -1; }
  .hero-art::after { box-shadow: inset 0 -80px 70px var(--navy); }
  .hero-copy { padding-top: 22px; }
  .editorial-grid, .detail-layout, .detail-hero { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-media { min-height: 240px; }
  .method-grid, .chart-grid { grid-template-columns: 1fr; }
  .chart-card.wide { grid-column: auto; }
  .compare-dock { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 620px) {
  #content { padding: 22px 14px 90px; }
  .global-search-trigger kbd { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi { padding: 15px; }
  .page-head, .section-head { align-items: flex-start; flex-direction: column; }
  .card-grid, .take-grid, .download-grid { grid-template-columns: 1fr; }
  .toolbar { top: 80px; }
  .view-switch { margin-left: 0; }
  .timeline { padding-left: 22px; }
  .timeline-item { grid-template-columns: 1fr; gap: 7px; }
  .timeline-item::before { left: -20px; }
  .three-up { grid-template-columns: 1fr; }
  .hero-stamp { width: 110px; height: 110px; }
  .hero h1 { font-size: 40px; }
  .audit-row { grid-template-columns: 1fr; gap: 4px; }
  .bar-row { grid-template-columns: 100px minmax(110px,1fr) auto; }
  .search-result { grid-template-columns: 54px 1fr; }
  .search-result img { width: 54px; }
  .search-result > :last-child { display: none; }
  .compare-items { display: none; }
  .compare-modal-grid { grid-template-columns: 1fr; }
}

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


/* Theme tokens cover editorial pages and historical exploration components. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --heading: #e3edf5;
  --ink: #dce7ef;
  --muted: #a7b7c6;
  --cyan: #46afc5;
  --cyan-dark: #79d0e0;
  --cyan-pale: #193945;
  --paper: #101b26;
  --card: #162533;
  --surface-alt: #1c2e3d;
  --header: #101b26;
  --table-head: #203444;
  --hover: #213a48;
  --thumbnail: #203747;
  --neutral: #293845;
  --line: #344958;
  --soft-line: #293d4b;
  --green: #83d7b8;
  --green-pale: #193c33;
  --amber: #efbf7a;
  --amber-pale: #42351f;
  --red: #f3a4a4;
  --red-pale: #452c32;
  --violet: #c2b0ee;
  --violet-pale: #352f4b;
  --shadow: 0 12px 32px #00000020;
}
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan-dark); outline-offset: 4px; }
html { scroll-padding-top: 100px; }
input, select, button { color: inherit; }
input::placeholder { color: var(--muted); opacity: 1; }
.search-dialog { color: var(--ink); background: var(--card); }
.search-input-wrap input { min-width: 0; background: transparent; color: var(--ink); }
[data-theme="dark"] .button:not(.secondary):not(.on-dark):not(.ghost-on-dark) { color: var(--navy); background: var(--cyan-dark); border-color: var(--cyan-dark); }
[data-theme="dark"] .button:not(.secondary):not(.on-dark):not(.ghost-on-dark):hover { background: #a2e0eb; }
[data-theme="dark"] .view-switch button.active { background: var(--cyan-pale); color: var(--cyan-dark); border-color: var(--cyan); }
.detail-copy .eyebrow { color: #b9dce9; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1500px; min-height: 82px; margin: auto; padding: 16px clamp(20px,4vw,54px); display: flex; align-items: center; gap: 16px; }
.site-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-right: 25px; }
.site-brand img { display: block; width: 44px; height: 44px; }
.home-logo .logo-dark, .site-brand .logo-dark { display: none; }
[data-theme="dark"] .home-logo .logo-light, [data-theme="dark"] .site-brand .logo-light { display: none; }
[data-theme="dark"] .home-logo .logo-dark, [data-theme="dark"] .site-brand .logo-dark { display: block; }
.main-navigation { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-navigation a { padding: 10px; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 6px; white-space: nowrap; }
.main-navigation a:hover { background: var(--hover); }
.main-navigation a.active { color: var(--heading); background: var(--cyan-pale); }
.global-search-trigger, .theme-toggle, .mobile-menu { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--card); color: var(--ink); cursor: pointer; }
.global-search-trigger:hover, .theme-toggle:hover { background: var(--hover); }
.global-search-trigger > span, .global-search-trigger kbd { display: none; }
.mobile-menu { display: none; }
.theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
.archive-context { max-width: 1500px; margin: 22px clamp(20px,4vw,54px) 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.archive-context-inner { padding: 17px 20px 12px; }
.archive-heading { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.archive-heading a { color: var(--heading); text-decoration: none; }
.archive-heading strong { margin-left: 10px; }
.archive-navigation { display: flex; gap: 6px; overflow-x: auto; padding-top: 14px; }
.archive-navigation a { padding: 9px 12px; border-radius: 7px; text-decoration: none; font-size: 13px; white-space: nowrap; }
.archive-navigation a.active { background: var(--cyan-pale); color: var(--cyan-dark); font-weight: 650; }
.archive-navigation a:hover { color: var(--cyan-dark); }
#content { min-height: calc(100vh - 200px); }
.site-footer { max-width: 1500px; margin: 0 auto; padding: 26px clamp(20px,4vw,54px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; }
.site-footer p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.site-footer a { text-underline-offset: 3px; }
.toolbar { top: 92px; }
.detail-side { top: 100px; }

/* Mixed publication feed: one lead story and two compact entries. */
.home-page { max-width: 1200px; }
.home-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; padding: 32px 0 42px; }
.home-intro h1 { margin: 0; color: var(--heading); font-size: clamp(36px,4vw,54px); line-height: 1.15; letter-spacing: -.04em; font-weight: 750; }
.home-logo img { display: block; width: 100%; max-width: 560px; height: auto; }
.home-intro p { margin: 0 0 12px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.home-intro .text-link { display: inline-block; margin-top: 6px; font-size: 14px; }
.home-publications { padding: 30px 0 0; border-top: 1px solid var(--line); }
.home-publications .section-title { font-size: 25px; font-weight: 700; }
.home-publications .section-head { align-items: center; margin-bottom: 24px; }
.publication-links { display: flex; gap: 22px; font-size: 14px; }
.publication-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 26px; align-items: stretch; }
.publication-side { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.publication-link { display: block; height: 100%; text-decoration: none; }
.publication-image { display: block; position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--thumbnail); }
.publication-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.publication-copy { padding: 17px 0 0; }
.publication-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: 12px; }
.publication-meta > span { color: var(--cyan-dark); font-weight: 600; }
.publication-card h3 { color: var(--heading); font-size: 18px; font-weight: 650; line-height: 1.4; margin: 8px 0 0; }
.publication-copy p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.publication-featured h3 { font-size: clamp(23px,2.2vw,29px); }
.publication-link:hover h3 { color: var(--cyan-dark); }
.publication-secondary .publication-link { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.publication-secondary .publication-copy { padding: 0; }
.publication-secondary h3 { font-size: 17px; }
.play-symbol { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 46px; height: 46px; padding-left: 3px; border-radius: 50%; color: white; background: #00284bcc; }
.publication-secondary .play-symbol { width: 30px; height: 30px; }
.publication-secondary .play-symbol svg { width: 17px; height: 17px; }
.publication-secondary .duration { font-size: 9px; padding: 2px 4px; right: 5px; bottom: 5px; }
.home-retrospective { display: grid; grid-template-columns: 80px minmax(0,1fr) auto; align-items: center; gap: 32px; margin-top: 45px; padding: 36px 32px; border: 1px solid #285675; border-left: 4px solid #79d0e0; border-radius: 10px; background: var(--navy); box-shadow: 0 8px 24px rgba(0,40,75,.12); }
.retrospective-icon { width: 80px; height: 80px; color: #79d0e0; }
.home-retrospective h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #f4f9fc; margin: 0 0 10px; }
.home-retrospective p { max-width: 650px; margin: 0; font-size: 15px; color: #c5dbe8; line-height: 1.65; }
.home-retrospective > a.button { flex-shrink: 0; font-size: 14px; background: #79d0e0; border-color: #79d0e0; color: var(--navy); }
.home-retrospective > a.button:hover { background: #a7e3ed; border-color: #a7e3ed; }
.veille-page { max-width: 1000px; }
.veille-page .plain-heading p { color: var(--muted); line-height: 1.7; }
.veille-list { max-width: 720px; margin-top: 32px; }
.veille-list .publication-link { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 28px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.veille-list .publication-copy { padding: 0; }
.veille-list h3 { font-size: 23px; }
.post-page { max-width: 900px; }
.post-heading h1 { margin: 24px 0 16px; font-size: clamp(30px,4vw,48px); color: var(--heading); line-height: 1.1; letter-spacing: -.035em; }
.post-heading p { color: var(--muted); line-height: 1.8; }
.post-heading .post-byline { font-size: 13px; }
.post-byline a { color: var(--cyan-dark); text-underline-offset: 3px; }
.post-cover { margin: 28px 0 38px; max-width: 620px; }
.post-cover img { width: 100%; display: block; border-radius: 10px; }
.reading-selection section { margin: 30px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.reading-selection h2 { color: var(--heading); font-size: 23px; font-weight: 650; }
.reading-selection ul { padding-left: 22px; }
.reading-selection li { padding: 8px 0; line-height: 1.65; overflow-wrap: anywhere; }
.reading-selection a { color: var(--cyan-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reference-link, .selection-kind { display: block; font-size: 12px; }
.selection-kind { color: var(--muted); }

/* Text pages */
.plain-heading h1 { margin: 22px 0 30px; color: var(--heading); font-size: clamp(30px,3.5vw,44px); font-weight: 750; line-height: 1.15; letter-spacing: -.035em; }
.prose-page { max-width: 800px; }
.about-page { max-width: 1040px; }
.prose { max-width: 800px; }
.prose-page p, .about-page p { color: var(--muted); line-height: 1.8; font-size: 16px; }
.prose-page h2, .about-page h2 { margin: 36px 0 14px; color: var(--heading); font-size: 25px; font-weight: 650; letter-spacing: -.02em; }
.prose-page a, .about-page a { color: var(--cyan-dark); text-underline-offset: 3px; }
.publication-empty { padding: 24px 0; margin-top: 30px; border-top: 1px solid var(--line); }
.publication-empty p { margin: 0 0 14px; }
.team-section { margin-top: 40px; border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 24px 0; }
.team-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.team-grid h3 { color: var(--heading); font-size: 19px; font-weight: 650; margin: 0 0 18px; }
.profile-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.about-next { margin-top: 40px; padding-top: 2px; border-top: 1px solid var(--line); }

@media (max-width: 1180px) {
  .header-inner { gap: 10px; }
  .site-brand { margin-right: 8px; }
  .site-brand img { width: 44px; height: 44px; }
  .main-navigation a { padding: 10px 7px; font-size: 13px; }
}
@media (max-width: 880px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 12px; }
  .site-brand { margin-right: auto; }
  .mobile-menu { display: inline-flex; }
  .main-navigation { display: none; order: 5; width: 100%; margin: 0; padding: 8px 0; }
  .menu-open .main-navigation { display: grid; gap: 4px; }
  .main-navigation a { padding: 12px; }
  .home-retrospective { grid-template-columns: 64px minmax(0,1fr); gap: 18px 24px; }
  .retrospective-icon { width: 64px; height: 64px; }
  .home-retrospective > a { grid-column: 2; justify-self: start; }
  .team-grid { gap: 14px; }
  .team-grid article { padding: 18px; }
  .toolbar { top: 82px; }
}
@media (max-width: 620px) {
  .header-inner { padding: 14px; gap: 8px; }
  .site-brand img { width: 36px; height: 36px; }
  .theme-toggle, .global-search-trigger, .mobile-menu { width: 34px; height: 34px; }
  .archive-context { margin: 16px 14px 0; }
  .archive-context-inner { padding: 14px 12px 10px; }
  .archive-navigation { gap: 4px; }
  .archive-heading { font-size: 11px; }
  #content { padding-bottom: 48px; }
  .home-intro { grid-template-columns: 1fr; gap: 18px; padding: 12px 0 28px; }
  .home-intro p { font-size: 15px; }
  .home-retrospective { margin-top: 30px; padding: 24px; grid-template-columns: 48px minmax(0,1fr); gap: 18px; }
  .retrospective-icon { width: 48px; height: 48px; }
  .home-retrospective > a { grid-column: 1 / -1; }
  .home-retrospective h2 { font-size: 23px; }
  .team-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 6px; padding: 22px 14px; }
  .transcript-toolbar { flex-wrap: wrap; }
  .transcript-toolbar input { min-width: 0; }
  .info-tip .info-bubble, .data-table th .info-bubble { position: fixed; inset: auto 18px 18px; width: auto; transform: none !important; }
  .info-bubble::after { display: none; }
}

.team-portrait { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 35%; margin: 0 0 24px; }
@media (min-width: 621px) {
  .team-grid article { text-align: center; }
  .team-grid .team-portrait { margin-left: auto; margin-right: auto; }
  .team-grid .profile-links { justify-content: center; }
}
@media (min-width: 1610px) {
  .archive-context { margin-left: auto; margin-right: auto; }
}
@media (max-width: 1100px) {
  .publication-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 22px; }
  .publication-secondary .publication-link { padding: 16px; gap: 14px; }
  .publication-secondary h3 { font-size: 15px; }
}
@media (max-width: 880px) {
  .home-intro { gap: 30px; grid-template-columns: 1fr 1fr; }
  .publication-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .publication-secondary .publication-link { grid-template-columns: 1fr; gap: 12px; }
  .publication-secondary .publication-image { max-height: 145px; }
}
@media (max-width: 620px) {
  .home-intro { grid-template-columns: 1fr; gap: 18px; }
  .home-publications { padding-top: 24px; }
  .home-publications .section-head { flex-direction: row; align-items: baseline; gap: 12px; }
  .home-publications .section-title { font-size: 22px; }
  .publication-links { gap: 12px; font-size: 12px; flex-shrink: 0; }
  .publication-grid { grid-template-columns: 1fr; gap: 24px; }
  .publication-side { gap: 16px; }
  .publication-secondary .publication-link { grid-template-columns: minmax(100px,.85fr) minmax(0,1.15fr); gap: 14px; }
  .publication-secondary h3 { font-size: 14px; }
  .publication-meta { font-size: 11px; gap: 4px 10px; }
  .veille-list .publication-link { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .post-cover { margin: 24px 0; }
  .team-grid article { display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; align-items: center; }
  .team-portrait { grid-row: span 2; margin: 0; width: 84px; height: 84px; }
  .team-grid h3 { margin: 0; }
}

/* Shared index for written and video publications. */
.publication-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.publication-filters a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-weight: 600; }
.publication-filters a:hover { background: var(--hover); }
.publication-filters [aria-current] { background: var(--heading); color: var(--card); border-color: var(--heading); }
.publications-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; }
.publications-list h3 { font-size: 21px; }
.publications-list .publication-copy p { font-size: 14px; }
@media (max-width: 1100px) { .publications-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .publications-list { grid-template-columns: 1fr; } }

.search-extension { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.search-extension button { border: 0; background: none; padding: 0; font: inherit; color: var(--cyan-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Compact reading selection, with accessible native disclosure controls. */
.reading-controls { margin: 32px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.reading-controls p { margin: 0; color: var(--muted); font-size: 14px; }
.reading-controls > div { display: flex; gap: 8px; }
.reading-selection .selection-list { list-style: none; padding: 0; }
.reading-selection .selection-item { padding: 0; border-bottom: 1px solid var(--line); }
.reading-details > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; color: var(--heading); font-weight: 600; list-style: none; }
.reading-details > summary::-webkit-details-marker { display: none; }
.reading-details > summary:hover { color: var(--cyan-dark); }
.reading-details > summary:focus-visible { outline: 2px solid var(--cyan-dark); outline-offset: 4px; border-radius: 4px; }
.reading-chevron { flex-shrink: 0; transition: transform .15s; }
.reading-details[open] > summary .reading-chevron { transform: rotate(180deg); }
.reading-content { padding: 0 0 26px; }
.reading-content > .reference-link { margin-bottom: 18px; display: inline-block; }
.reading-fiche { line-height: 1.75; }
.reading-fiche + .reading-fiche { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; }
.reading-fiche h3 { color: var(--heading); font-size: 21px; }
.reading-fiche p { margin: 0 0 18px; }
.reading-fiche li { padding: 3px 0; }
.reading-takeaway { border-left: 3px solid var(--cyan-dark); padding: 16px 20px; background: var(--cyan-pale); border-radius: 0 6px 6px 0; }
.reading-availability { color: var(--muted); }
.reading-figure { margin: 24px 0 0; }
.reading-figure img { display: block; width: 100%; height: auto; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.reading-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 620px) { .reading-details > summary { padding: 18px 0; gap: 12px; } .reading-takeaway { padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .reading-chevron { transition: none; } }

@media (max-width: 767px) {
  .takes-toolbar { position: static; }
}

.impact-summary { margin-bottom: 22px; min-width: 0; }
.impact-summary h3 { margin-top: 0; }
.impact-summary p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.impact-summary .data-table { table-layout: fixed; font-variant-numeric: tabular-nums; }
.impact-summary th { white-space: normal; letter-spacing: 0; text-transform: none; }
.impact-summary th:nth-child(n+3), .impact-summary td:nth-child(n+3) { text-align: right; }
.impact-summary th:first-child { width: 22%; }
.impact-summary th:nth-child(2) { width: 22%; }
.impact-summary th:nth-child(3) { width: 12%; }
.impact-summary th:nth-child(4) { width: 18%; }
.impact-summary th:nth-child(5) { width: 26%; }
@media (max-width: 600px) {
  .impact-summary th, .impact-summary td { padding: 10px 6px; font-size: 11px; overflow-wrap: anywhere; }
}

/* Grid gaps own the spacing between insight cards. */
.chart-grid > .impact-summary { margin-bottom: 0; }
@media (min-width: 881px) {
  .verdict-summary { display: flex; flex-direction: column; }
  .verdict-summary .bar-list { flex: 1; align-content: space-evenly; }
}

.selection-chart-scroll { overflow-x: auto; padding: 4px 0; }
.selection-chart-canvas { min-width: 680px; padding: 34px 28px 38px 44px; position: relative; }
.selection-axis-unit { position: absolute; top: 0; left: 0; color: var(--muted); font-size: 12px; }
.selection-plot { height: 200px; position: relative; }
.selection-plot svg { position: absolute; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.selection-gridline { position: absolute; width: 100%; border-top: 1px solid var(--line); pointer-events: none; }
.selection-gridline > span { position: absolute; right: calc(100% + 12px); transform: translateY(-50%); color: var(--muted); font-size: 12px; }
.selection-date { position: absolute; top: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; font-size: 11px; color: var(--muted); }
.selection-point { position: absolute; width: 36px; height: 40px; transform: translate(-50%, -50%); border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.selection-point > span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--ink); }
.selection-point:hover, .selection-point:focus-visible, .selection-point.active { background: var(--cyan-pale); z-index: 2; }
.selection-point:hover > span, .selection-point:focus-visible > span, .selection-point.active > span { width: 13px; height: 13px; }
.selection-point.special > span { border-radius: 2px; transform: rotate(45deg); width: 12px; height: 12px; background: var(--cyan-dark); }
.selection-special-label { position: absolute; top: -28px; transform: translateX(-50%); padding: 3px 8px; border-radius: 4px; background: var(--cyan-pale); color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.selection-chart > .selection-chart-detail { margin: 10px 0 8px; min-height: 2.8em; color: var(--ink); font-weight: 600; }
.selection-chart > .selection-chart-caption { margin-bottom: 0; }

.selection-date, .selection-special-label { pointer-events: none; }
@media (max-width: 880px) { .selection-point { width: 24px; height: 44px; } }
.selection-chart { min-width: 0; }

/* Nature indépendante du verdict, visible sur les fiches conservées. */
.statement-kind { display: inline-block; margin-right: .5rem; margin-bottom: .25rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
