:root {
  --paper: #FFFFFF;
  --paper-2: #F8F5F3;
  --paper-3: #EFE9E6;
  --ink: #1D1A1E;
  --ink-2: #4B464C;
  --ink-3: #6C666C;
  --rule: #E9E3E0;
  --rule-2: #D8D0CC;

  --accent: #7A1C2B;
  --accent-2: #5B1420;
  --accent-soft: #F7ECEE;
  --accent-ghost: #EBD3D8;
  --on-accent: #F3DDE1;

  --blue: #2D4A6B;
  --green: #3A6A4D;
  --ochre: #966617;
  --ochre-soft: #F5ECDD;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  border-top: 4px solid var(--accent);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.print-only { display: none; }

.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-2); transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.link:hover { color: var(--accent); text-decoration-color: currentColor; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 14px/1 var(--sans); padding: 12px 18px; border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; background: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--rule-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--accent-2); }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 9px 13px; font-size: 13px; }

/* ---------- Barre du haut ---------- */
.topbar { font-size: 12.5px; color: var(--ink-3); border-bottom: 1px solid var(--rule); }
.topbar-in { display: flex; align-items: center; gap: 14px; height: 34px; }
.topbar .sep { width: 1px; height: 12px; background: var(--rule-2); }
.topbar a:hover { color: var(--ink); }
.topbar .new { color: var(--accent); font-weight: 500; }
.topbar-right { margin-left: auto; display: flex; gap: 20px; }

/* ---------- Titre du journal ---------- */
.masthead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 24px; }
.edition { justify-self: end; text-align: right; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); padding-right: 28px; border-right: 1px solid var(--rule); }
.edition strong { display: block; font-weight: 500; font-size: 13px; color: var(--ink); }
.brandblock { text-align: left; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 600 46px/1 var(--serif); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.logo .logo-mark { width: 64px; height: 64px; flex: none; }
.logo-words { display: flex; flex-direction: column; gap: 8px; }
.logo-tag { font: 400 13px/1.3 var(--sans); letter-spacing: 0; color: var(--ink-3); }
.mast-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

/* Lire en tant que */
.as-role { position: relative; }
.as-role summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: 6px; background: var(--paper); white-space: nowrap; transition: border-color .2s var(--ease); }
.as-role summary::-webkit-details-marker { display: none; }
.as-role summary:hover, .as-role[open] summary { border-color: var(--ink); }
.as-role summary b { font-weight: 500; color: var(--accent); }
.as-role .asr-cur { display: none; }
body.has-role .as-role .asr-pick { display: none; }
body.has-role .as-role .asr-cur { display: inline; }
.as-role summary svg { width: 10px; height: 6px; transition: transform .2s var(--ease); }
.as-role[open] summary svg { transform: rotate(180deg); }
.as-role .menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; width: 280px; background: var(--paper); border: 1px solid var(--rule-2); border-radius: 8px; box-shadow: 0 14px 36px rgba(61, 18, 28, .12); padding: 6px; }
.as-role .menu p { font-size: 12px; color: var(--ink-3); padding: 8px 10px 6px; line-height: 1.45; }
.role-opt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: none; border: 0; border-radius: 5px; padding: 9px 10px; font-size: 14px; cursor: pointer; }
.role-opt:hover { background: var(--paper-2); }
.role-opt small { font-size: 12px; color: var(--ink-3); }
.role-opt[aria-checked="true"] { color: var(--accent); font-weight: 500; }
.role-opt[aria-checked="true"]::after { content: "✓"; font-size: 13px; }

/* Navigation */
.navbar { position: sticky; top: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.navbar-in { position: relative; display: flex; align-items: center; justify-content: center; height: 50px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; padding: 15px 0; color: var(--ink-2); transition: color .2s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mini, .nav-cta { position: absolute; top: 50%; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.nav-mini { left: var(--gutter); transform: translate(0, -40%); display: flex; align-items: center; gap: 8px; font: 600 18px/1 var(--serif); letter-spacing: -.02em; }
.nav-mini .logo-mark { width: 26px; height: 26px; }
.nav-cta { right: var(--gutter); transform: translate(0, -40%); }
.navbar.is-stuck .nav-mini, .navbar.is-stuck .nav-cta { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.menu-btn { display: none; background: none; border: 1px solid var(--rule-2); border-radius: 6px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.drawer { display: none; }

/* Barre de lecture par rôle */
.role-bar { display: none; background: var(--accent-soft); border-bottom: 1px solid var(--accent-ghost); color: var(--accent-2); font-size: 13.5px; }
body.has-role .role-bar { display: block; }
.role-bar-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 42px; padding-top: 8px; padding-bottom: 8px; }
.role-bar strong { font-weight: 500; }
.role-bar button { margin-left: auto; background: none; border: 0; padding: 0; color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13.5px; }
.fy { display: none; align-items: center; gap: 6px; font: 500 12px/1 var(--sans); color: var(--accent); }
.fy::before { content: ""; width: 14px; height: 2px; background: var(--accent); }
.is-for-you .fy { display: inline-flex; }

/* Fil d'état */
.statusline { border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.statusline-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 3px var(--ochre-soft); flex: none; }
.statusline strong { font-weight: 500; }
.statusline .muted { color: var(--ink-3); }
.statusline a { margin-left: auto; font-weight: 500; color: var(--accent); }

/* Photos */
.ph { margin: 0; }
.ph-frame { position: relative; overflow: hidden; background: var(--paper-3); aspect-ratio: var(--r, 3 / 2); }
.ph-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.04); transition: transform .7s var(--ease); }
.ph-frame::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: multiply; opacity: .07; pointer-events: none; }
a:hover .ph-frame img { transform: scale(1.025); }
.ph figcaption { font-size: 12px; line-height: 1.45; color: var(--ink-3); margin-top: 9px; }

.kicker { font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.meta { font-size: 13px; color: var(--ink-3); }
.meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag-law { color: var(--accent); }
.tag-anssi { color: var(--blue); }
.tag-good { color: var(--green); }
.tag-news { color: var(--ink-2); }
.tag-wait { color: var(--ochre); }

/* ---------- Accueil ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 52px; padding-top: 36px; padding-bottom: 64px; }
.lead .ph { margin-bottom: 26px; }
.lead h1 { font: 600 clamp(30px, 3.3vw, 44px)/1.1 var(--serif); letter-spacing: -.022em; max-width: 24ch; }
.standfirst { font: 400 19px/1.58 var(--serif); color: var(--ink-2); margin-top: 16px; max-width: 64ch; }

.tracker { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 34px 0 0; }
.tracker li { position: relative; padding: 24px 10px 0 0; }
.tracker li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--rule-2); }
.tracker li.done::before { background: var(--ink); }
.tracker li::after { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--rule-2); }
.tracker li.done::after { background: var(--ink); border-color: var(--ink); }
.tracker li.now::after { background: var(--ochre); border-color: var(--ochre); box-shadow: 0 0 0 4px var(--ochre-soft); }
.t-date { display: block; font-size: 12px; color: var(--ink-3); }
.t-label { display: block; font-size: 13.5px; line-height: 1.35; margin-top: 3px; }
.tracker li.now .t-date { color: var(--ochre); font-weight: 500; }
.tracker li:not(.done):not(.now) .t-label { color: var(--ink-3); }
.lead-more { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; color: var(--ink-3); }
.lead-more a { font-size: 15px; font-weight: 500; color: var(--ink); }
.lead-more a:hover { color: var(--accent); }

.brief { border-top: 2px solid var(--ink); padding-top: 14px; align-self: start; position: sticky; top: 74px; }
.brief-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.brief-head h2 { font: 600 23px/1.2 var(--serif); }
.brief-head span { font-size: 12.5px; color: var(--ink-3); }
.brief-news { font-size: 12.5px; color: var(--accent); padding-top: 10px; min-height: 1.6em; }
.brief-list { list-style: none; counter-reset: b; }
.brief-list li { counter-increment: b; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 3px 10px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.brief-list li::before { content: counter(b); grid-row: span 3; font: 600 18px/1.25 var(--serif); color: var(--accent); }
.b-title { font-weight: 500; font-size: 14.5px; line-height: 1.4; }
.b-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.b-new { display: none; font-size: 11.5px; font-weight: 500; color: var(--accent); }
.brief-list li.is-new .b-new { display: block; }
.brief-done { display: flex; align-items: center; gap: 10px; padding-top: 14px; font-size: 13.5px; color: var(--green); }
.brief-done svg { width: 18px; height: 18px; flex: none; }
.brief-done span { color: var(--ink-3); }

/* Bandeau référence */
.band-ref { background: var(--accent); color: #fff; }
.band-ref-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; padding-top: 76px; padding-bottom: 76px; align-items: center; }
.band-ref .kicker { color: var(--on-accent); }
.band-ref h2 { font: 600 clamp(30px, 3.4vw, 46px)/1.06 var(--serif); letter-spacing: -.022em; max-width: 16ch; }
.band-ref p.lede { color: var(--on-accent); font-size: 16.5px; line-height: 1.6; margin-top: 18px; max-width: 52ch; }
.band-ref .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.ref-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid rgba(255,255,255,.28); }
.ref-stats div { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.ref-stats div:nth-child(odd) { padding-right: 26px; border-right: 1px solid rgba(255,255,255,.28); }
.ref-stats div:nth-child(even) { padding-left: 26px; }
.ref-stats dt { font: 500 46px/1 var(--serif); letter-spacing: -.03em; }
.ref-stats dd { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--on-accent); }

/* Sections */
.section { padding-top: 68px; padding-bottom: 68px; }
.section + .section { padding-top: 0; }
.sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.sec-head h2 { font: 600 28px/1.1 var(--serif); letter-spacing: -.012em; white-space: nowrap; }
.sec-head .line { flex: 1; height: 1px; background: var(--rule-2); }
.sec-head .more { font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }

.dec-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 52px; }
.story h3 { font: 600 21px/1.25 var(--serif); letter-spacing: -.005em; margin: 10px 0 8px; }
.story h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.story h3 a:hover { background-size: 100% 1px; }
.story .dek { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.story-lead .ph { margin-bottom: 20px; }
.story-lead h3 { font-size: 31px; line-height: 1.14; letter-spacing: -.018em; }
.story-lead .dek { font-size: 16px; }
.story-row { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.story-row:first-child { padding-top: 0; }
.story-row:last-child { border-bottom: 0; }
.story-row .ph-frame { --r: 1 / 1; border-radius: 4px; }
.story-row h3 { font-size: 19px; }

.dossier { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dossier-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; padding-top: 72px; padding-bottom: 72px; align-items: center; }
.dossier .ph-frame { --r: 4 / 3.4; border-radius: 4px; }
.dossier h2 { font: 600 clamp(28px, 3vw, 38px)/1.12 var(--serif); letter-spacing: -.018em; }
.dossier .dek { font: 400 18px/1.6 var(--serif); color: var(--ink-2); margin-top: 16px; }
.dossier-toc { list-style: none; counter-reset: t; margin: 24px 0 28px; border-top: 1px solid var(--rule-2); }
.dossier-toc li { counter-increment: t; display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 9px 0; border-bottom: 1px solid var(--rule-2); font-size: 14.5px; }
.dossier-toc li::before { content: counter(t); font: 600 15px/1.45 var(--serif); color: var(--accent); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

.position-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pull { margin: 0 0 28px; font: italic 500 clamp(28px, 3vw, 40px)/1.18 var(--serif); letter-spacing: -.015em; color: var(--accent); }
.pull cite { display: block; margin-top: 14px; font: 400 13px/1.4 var(--sans); font-style: normal; color: var(--ink-3); }
.position-body > p { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.position-list { list-style: none; margin: 22px 0 26px; border-top: 1px solid var(--rule); }
.position-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; transition: color .2s var(--ease); }
.position-list a:hover { color: var(--accent); }
.position-list .meta { white-space: nowrap; }

.roles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.role-col { padding: 22px 24px 24px; border-right: 1px solid var(--rule); transition: opacity .3s var(--ease), box-shadow .3s var(--ease); }
.role-col:first-child { padding-left: 0; }
.role-col:last-child { border-right: 0; padding-right: 0; }
.role-col h3 { font: 600 21px/1.2 var(--serif); }
.role-col .q { font: italic 400 17px/1.45 var(--serif); color: var(--ink-2); margin: 10px 0 16px; min-height: 4.4em; }
.role-col ul { list-style: none; margin-bottom: 16px; }
.role-col li a { display: block; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.4; transition: color .2s var(--ease); }
.role-col li a:hover { color: var(--accent); }
.as-btn { background: none; border: 0; padding: 0; font-size: 13.5px; font-weight: 500; color: var(--accent); cursor: pointer; }
body.has-role .role-col:not(.is-for-you) { opacity: .42; }
.role-col.is-for-you { box-shadow: inset 0 3px 0 var(--accent); }

.cal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 64px; }
.cal-intro p { color: var(--ink-2); margin-top: 12px; max-width: 38ch; }
.cal-intro .btn { margin-top: 22px; }
.cal-list { list-style: none; }
.cal-list li { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--rule); }
.cal-list li:last-child { border-bottom: 1px solid var(--rule); }
.cal-date { font-size: 13.5px; color: var(--ink-2); }
.cal-what { font-size: 15px; }
.cal-state { font-size: 12.5px; color: var(--ink-3); }
.cal-list li.past .cal-what, .cal-list li.past .cal-date { color: var(--ink-3); }
.cal-list li.pending .cal-state { color: var(--ochre); font-weight: 500; }

/* Lettre */
.letter { background: var(--ink); color: #fff; }
.letter-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 80px; padding-top: 76px; padding-bottom: 76px; align-items: center; }
.letter h2 { font: 600 clamp(28px, 3vw, 38px)/1.12 var(--serif); letter-spacing: -.015em; max-width: 17ch; }
.letter .lede { color: #CFC9CE; margin-top: 16px; font-size: 15.5px; max-width: 46ch; }
.letter-form { margin-top: 28px; max-width: 480px; }
.letter-form label { display: block; font-size: 13px; color: #CFC9CE; margin-bottom: 8px; }
.field-row { display: flex; gap: 8px; }
.field-row input { flex: 1; min-width: 0; background: #fff; color: var(--ink); border: 1px solid transparent; border-radius: 6px; padding: 12px 14px; font-size: 15px; }
.field-row input::placeholder { color: #8C868B; }
.field-row input[aria-invalid="true"] { border-color: #E6A4AE; }
.form-msg { font-size: 13.5px; margin-top: 10px; min-height: 1.4em; }
.form-msg.error { color: #F2B8C1; }
.form-msg.ok { color: #BFE0C9; }
.form-note { font-size: 12.5px; color: #A9A2A8; }
.form-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.issue { background: #fff; color: var(--ink); border-radius: 8px; padding: 28px 30px 26px; border-top: 4px solid var(--accent); }
.issue-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.issue-top strong { color: var(--ink); font: 600 17px/1.2 var(--serif); }
.issue ol { list-style: none; counter-reset: i; margin: 4px 0 0; }
.issue li { counter-increment: i; display: grid; grid-template-columns: 22px minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.45; }
.issue li::before { content: counter(i); font: 600 15px/1.4 var(--serif); color: var(--accent); }
.issue-codir { margin-top: 16px; font: italic 400 16px/1.5 var(--serif); color: var(--ink-2); }
.issue-codir span { display: block; font: 500 12px/1 var(--sans); font-style: normal; color: var(--accent); margin-bottom: 8px; }

/* Pied de page */
.site-footer { padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand .logo { font-size: 24px; }
.foot-brand .logo .logo-mark { width: 36px; height: 36px; }
.foot-brand p { color: var(--ink-3); font-size: 14px; margin-top: 14px; max-width: 36ch; }
.foot-col h3 { font: 500 13px/1.4 var(--sans); color: var(--ink-3); margin-bottom: 12px; }
.foot-col ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.foot-col a:hover { color: var(--accent); }
.foot-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Pages de lecture ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
.page-head { padding-top: 44px; }
.crumbs { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-head .kicker { margin-top: 24px; }
.page-head h1 { font: 600 clamp(32px, 4.3vw, 52px)/1.06 var(--serif); letter-spacing: -.025em; max-width: 22ch; }
.page-head .dek { font: 400 21px/1.55 var(--serif); color: var(--ink-2); margin-top: 18px; max-width: 62ch; }
.byline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.byline .meta span + span::before { content: "·"; margin: 0 8px; }
.page-hero { margin-top: 32px; }
.page-hero .ph-frame { --r: 21 / 9; }

.depth { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.depth-label { font-size: 13px; color: var(--ink-3); }
.depth-group { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 7px; padding: 3px; background: var(--paper); }
.depth-group button { background: none; border: 0; border-radius: 5px; padding: 8px 14px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.depth-group button:hover { color: var(--ink); }
.depth-group button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.show-sm { display: none; }

.article-layout { display: grid; grid-template-columns: 210px minmax(0, 700px); gap: 72px; justify-content: center; padding: 44px var(--gutter) 24px; }
.toc { position: sticky; top: 88px; align-self: start; font-size: 13.5px; }
.toc > p { font-weight: 500; color: var(--ink-3); font-size: 12.5px; margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); line-height: 1.35; transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--accent); border-left-color: var(--accent); }
.toc li.toc-sep { margin: 10px 0 4px 14px; font-size: 12px; color: var(--ink-3); }
.toc .toc-actions { margin-top: 22px; display: grid; gap: 8px; }

.prose { font: 400 19px/1.68 var(--serif); color: var(--ink); }
.prose > * + *, .prose section > * + * { margin-top: 22px; }
.prose h2 { font: 600 30px/1.18 var(--serif); letter-spacing: -.012em; margin-top: 56px; }
.prose h2 .ch { display: block; font: 500 13px/1 var(--sans); color: var(--accent); letter-spacing: 0; margin-bottom: 12px; }
.prose h3 { font: 600 21px/1.3 var(--serif); margin-top: 36px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 600; }
.prose .tag { font-family: var(--sans); display: flex; margin-bottom: -12px; }

.box-30s { background: var(--paper-2); border-left: 3px solid var(--accent); padding: 26px 30px; }
.box-title { font: 500 13px/1 var(--sans); color: var(--accent); margin-bottom: 12px; }
.box-30s p:not(.box-title) { font: 400 19px/1.62 var(--serif); }

.functions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; margin-top: 28px; font-family: var(--sans); }
.functions div { padding: 18px 0; border-top: 1px solid var(--rule); }
.functions .n { font: 600 16px/1 var(--serif); color: var(--accent); }
.functions h3 { font: 600 17px/1.3 var(--sans); margin: 8px 0 6px; }
.functions p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

.table-wrap { overflow-x: auto; margin-top: 26px; }
.prose table, table.data { width: 100%; min-width: 560px; border-collapse: collapse; font: 400 14px/1.5 var(--sans); }
.prose th, .prose td, table.data th, table.data td { text-align: left; vertical-align: top; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--rule); }
.prose thead th, table.data thead th { font-weight: 500; color: var(--ink-3); font-size: 13px; border-bottom-color: var(--rule-2); }
.prose tbody th, table.data tbody th { font-weight: 500; width: 25%; }
.table-note { font: 400 13px/1.5 var(--sans); color: var(--ink-3); margin-top: 12px; }

.for-you > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.for-you { font-family: var(--sans); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.fy-block { background: var(--paper); padding: 20px 22px; transition: opacity .3s var(--ease); }
.fy-block h3 { font: 600 17px/1.3 var(--serif); margin: 0 0 10px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fy-block ul { list-style: none; padding: 0; }
.fy-block li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; }
.fy-block li + li { margin-top: 8px; }
.fy-block li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--ink); }
body.has-role .fy-block:not(.is-for-you), body.has-role .fy-block:not(.is-for-you) h3 { color: var(--ink-3); }
body.has-role .fy-block:not(.is-for-you) li::before { background: var(--rule-2); }
.fy-block.is-for-you { order: -1; background: var(--accent-soft); }

.codir { list-style: none; padding: 0 !important; }
.codir li { font: italic 400 21px/1.5 var(--serif); padding: 16px 0 16px 22px; border-left: 2px solid var(--accent); }
.codir li + li { margin-top: 12px !important; }

.continue { display: none; font-family: var(--sans); text-align: center; padding: 36px 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.continue p { font-size: 15px; color: var(--ink-2); max-width: 46ch; margin: 0 auto 18px; }

.sources { list-style: none; padding: 0 !important; font: 400 14.5px/1.5 var(--sans); }
.sources li { padding: 12px 0; border-top: 1px solid var(--rule); }
.sources li + li { margin-top: 0 !important; }
.sources .meta { display: block; margin-top: 2px; }

.end-box { font-family: var(--sans); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--paper-2); padding: 26px 28px; margin-top: 56px !important; }
.end-box p { font-size: 15px; }
.end-box p span { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.disclaimer { font: 400 13px/1.55 var(--sans); color: var(--ink-3); }

body[data-depth="1"] .prose [data-level="2"],
body[data-depth="1"] .prose [data-level="3"],
body[data-depth="2"] .prose [data-level="3"] { display: none; }
body[data-depth="1"] .continue[data-only="1"],
body[data-depth="2"] .continue[data-only="2"] { display: block; }
body[data-depth="1"] .toc [data-level="2"] a,
body[data-depth="1"] .toc [data-level="3"] a,
body[data-depth="2"] .toc [data-level="3"] a { color: #A39DA2; }

/* ---------- Page des exigences ---------- */
.ref-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; background: var(--ochre-soft); padding: 18px 22px; margin-top: 32px; font-size: 14.5px; line-height: 1.55; color: #4E3A12; }
.notice .dot { margin-top: 7px; }
.notice strong { font-weight: 500; color: #3B2B0B; }

.keyfigs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 40px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.keyfigs div { padding: 20px 20px 22px 0; }
.keyfigs div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.keyfigs b { display: block; font: 500 40px/1 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.keyfigs span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }

.ref-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding-top: 48px; padding-bottom: 32px; }
.ref-body { max-width: 820px; }
.ref-sec { padding-top: 12px; }
.ref-sec + .ref-sec { margin-top: 64px; padding-top: 52px; border-top: 1px solid var(--rule); }
.ref-sec > h2 { font: 600 clamp(26px, 2.6vw, 34px)/1.12 var(--serif); letter-spacing: -.015em; display: flex; gap: 16px; align-items: baseline; }
.ref-sec > h2 .num { font: 500 15px/1 var(--sans); color: var(--accent); flex: none; transform: translateY(-4px); }
.ref-sec > .intro { font: 400 18px/1.6 var(--serif); color: var(--ink-2); margin-top: 14px; max-width: 64ch; }
.ref-sec h3.sub { font: 600 20px/1.25 var(--serif); margin: 36px 0 14px; }

.avis { position: relative; margin-top: 22px; padding: 16px 20px 16px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent); font: italic 400 17px/1.55 var(--serif); color: var(--ink); }
.avis::before { content: "Notre avis"; display: block; font: 500 12px/1 var(--sans); font-style: normal; color: var(--accent); margin-bottom: 8px; }

.conds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 26px; border-top: 1px solid var(--ink); }
.conds div { padding: 18px 22px 20px 0; }
.conds div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.conds b { font: 600 16px/1 var(--serif); color: var(--accent); }
.conds h4 { font: 600 18px/1.3 var(--serif); margin: 8px 0 6px; }
.conds p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

.sectors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 10px; }
.sectors h4 { font: 500 13px/1.4 var(--sans); color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.sectors ol { list-style: none; counter-reset: s; }
.sectors ol.annex2 { counter-reset: s 11; }
.sectors li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 11px 0; border-bottom: 1px solid var(--rule); }
.sectors li::before { content: counter(s); font: 600 14px/1.5 var(--serif); color: var(--accent); }
.sectors li strong { display: block; font-weight: 500; font-size: 15px; }
.sectors li span { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }

.matrix { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2); margin-top: 26px; font-size: 14px; }
.matrix > div { background: var(--paper); padding: 16px 18px; }
.matrix .mh { background: var(--paper-2); font-size: 13px; color: var(--ink-2); font-weight: 500; }
.matrix .mh small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.matrix .ee { background: var(--accent); color: #fff; font: 600 18px/1.2 var(--serif); }
.matrix .ei { background: var(--accent-soft); color: var(--accent-2); font: 600 18px/1.2 var(--serif); }
.matrix .nc { background: var(--paper); color: var(--ink-3); }
.matrix .ee small, .matrix .ei small { display: block; font: 400 12.5px/1.4 var(--sans); margin-top: 4px; }
.matrix .ee small { color: var(--on-accent); }
.matrix .ei small { color: var(--accent); }

.always { list-style: none; margin-top: 18px; border-top: 1px solid var(--rule); }
.always li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.always li span { font-size: 13px; font-weight: 500; color: var(--accent); white-space: nowrap; }

.compare { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14.5px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font: 500 13px/1.4 var(--sans); color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.compare tbody th { font-weight: 500; width: 26%; }
.compare td.diff { color: var(--accent); font-weight: 500; }
.compare td.av { font: italic 400 15px/1.5 var(--serif); color: var(--ink-2); width: 34%; }

.obj-tools { position: sticky; top: 50px; z-index: 10; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: 26px; padding: 12px 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 7px; padding: 3px; }
.seg button { background: none; border: 0; border-radius: 5px; padding: 8px 13px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.obj-count { font-size: 13px; color: var(--ink-3); }
.text-btn { background: none; border: 0; padding: 0; font-size: 13.5px; font-weight: 500; color: var(--accent); cursor: pointer; }

.pillar { margin-top: 34px; }
.pillar-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.pillar-head h3 { font: 600 22px/1.2 var(--serif); }
.pillar-head p { font-size: 13.5px; color: var(--ink-3); }

details.obj { border-bottom: 1px solid var(--rule); }
details.obj > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 18px; gap: 16px; align-items: start; padding: 18px 0; transition: padding .25s var(--ease), box-shadow .25s var(--ease); }
details.obj > summary::-webkit-details-marker { display: none; }
details.obj > summary:hover .o-title { color: var(--accent); }
.o-num { font: 500 26px/1 var(--serif); color: var(--accent); letter-spacing: -.02em; padding-top: 2px; }
.o-title { font: 600 19px/1.3 var(--serif); transition: color .2s var(--ease); }
.o-sub { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.scope { font-size: 12px; font-weight: 500; padding: 5px 9px; border-radius: 4px; white-space: nowrap; margin-top: 2px; }
.scope-all { color: var(--accent-2); background: var(--accent-soft); }
.scope-ee { color: #fff; background: var(--accent); }
.chev { width: 14px; height: 14px; margin-top: 6px; transition: transform .25s var(--ease); color: var(--ink-3); }
details.obj[open] .chev { transform: rotate(180deg); }
.o-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; padding: 0 0 24px 62px; }
.o-body .blk h4 { font: 500 12.5px/1.4 var(--sans); color: var(--ink-3); margin-bottom: 6px; }
.o-body .blk p { font-size: 15px; line-height: 1.6; }
.o-body .clair p { font: 400 18px/1.5 var(--serif); }
.o-body .avis { grid-column: 1 / -1; margin-top: 18px; font-size: 16px; }
body.scope-ei details.obj[data-scope="ee"] { display: none; }

dfn.g { font-style: normal; border-bottom: 1px dotted var(--ink-3); cursor: help; position: relative; }
dfn.g::after { content: attr(data-def); position: absolute; left: 0; bottom: calc(100% + 8px); width: max-content; max-width: 280px; padding: 10px 12px; background: var(--ink); color: #fff; font: 400 13px/1.45 var(--sans); border-radius: 6px; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 20; white-space: normal; }
dfn.g:hover::after, dfn.g:focus::after { opacity: 1; transform: none; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-top: 2px solid var(--ink); }
.timeline div { padding: 18px 18px 6px 0; }
.timeline div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.timeline b { display: block; font: 500 34px/1 var(--serif); letter-spacing: -.02em; color: var(--accent); }
.timeline h4 { font: 600 16px/1.3 var(--serif); margin: 10px 0 6px; }
.timeline p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--rule-2); border: 1px solid var(--rule-2); margin-top: 24px; }
.duo > div { background: var(--paper); padding: 22px 24px; }
.duo h4 { font: 600 19px/1.25 var(--serif); }
.duo .amount { font: 500 34px/1 var(--serif); color: var(--accent); letter-spacing: -.02em; margin: 14px 0 4px; }
.duo ul { list-style: none; margin-top: 14px; }
.duo li { font-size: 14.5px; padding: 9px 0; border-top: 1px solid var(--rule); line-height: 1.5; }

.unknown { list-style: none; margin-top: 20px; counter-reset: u; }
.unknown li { counter-increment: u; display: grid; grid-template-columns: 30px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.55; }
.unknown li::before { content: counter(u); font: 600 16px/1.5 var(--serif); color: var(--ochre); }
.unknown li strong { font-weight: 500; }

.changelog { list-style: none; margin-top: 18px; font-size: 14px; }
.changelog li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.changelog time { color: var(--ink-3); }

/* ---------- Page externaliser ---------- */
.principles { list-style: none; counter-reset: p; margin-top: 26px; border-top: 1px solid var(--ink); font-family: var(--sans); padding: 0 !important; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding: 20px 0; border-bottom: 1px solid var(--rule); }
.principles li + li { margin-top: 0 !important; }
.principles li::before { content: counter(p); font: 500 28px/1 var(--serif); color: var(--accent); }
.principles h3 { font: 600 20px/1.3 var(--serif); margin: 0 0 6px; }
.principles p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 13.5px; white-space: nowrap; }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 2px; flex: none; }
.chip-in { color: var(--accent); }
.chip-in::before { background: var(--accent); }
.chip-mix { color: var(--accent); }
.chip-mix::before { background: linear-gradient(90deg, var(--accent) 50%, var(--accent-ghost) 50%); }
.chip-out { color: var(--ink-2); }
.chip-out::before { border: 1.5px solid var(--ink-2); }

.provider { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; padding: 34px 0; border-top: 1px solid var(--rule); font-family: var(--sans); transition: background-color .3s var(--ease); }
.provider.first { border-top: 1px solid var(--ink); }
.provider h3, .prose .provider h3 { font: 600 24px/1.2 var(--serif); margin: 0; }
.provider .when { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; }
.provider .fy { margin-top: 12px; }
.provider dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px 20px; margin: 0; }
.provider dt { font-size: 13px; font-weight: 500; color: var(--ink-3); padding-top: 2px; }
.provider dd { margin: 0; font-size: 15px; line-height: 1.55; }
.provider dd ul { list-style: none; padding: 0; }
.provider dd li { position: relative; padding-left: 16px; }
.provider dd li + li { margin-top: 4px; }
.provider dd li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 1px; background: var(--ink); }
.prose .provider > * { margin-top: 0; }
.provider .avis, .prose .provider > .avis { grid-column: 1 / -1; margin-top: 4px; }
.b-flags { display: flex; gap: 12px; flex-wrap: wrap; }
.provider.is-for-you { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); padding-left: 20px; padding-right: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .edition { display: none; }
  .masthead { grid-template-columns: auto minmax(0, 1fr) auto; }
}

@media (max-width: 960px) {
  :root { --gutter: 22px; }
  .masthead { grid-template-columns: minmax(0, 1fr) auto; padding-top: 16px; padding-bottom: 16px; }
  .edition, .logo-tag { display: none; }
  .brandblock { text-align: left; }
  .logo { font-size: 30px; }
  .logo .logo-mark { width: 44px; height: 44px; }
  .mast-actions .as-role { display: none; }
  .mast-actions .sub-btn { padding: 9px 13px; font-size: 13px; }
  .menu-btn { display: inline-flex; }
  .navbar { display: none; }
  .drawer.is-open { display: block; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); background: var(--paper); }
  .drawer nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16px; font-weight: 500; }
  .drawer-roles { padding: 16px 0 20px; }
  .drawer-roles p { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
  .drawer-roles div { display: flex; gap: 8px; flex-wrap: wrap; }
  .drawer .role-opt { width: auto; border: 1px solid var(--rule-2); padding: 8px 12px; font-size: 14px; }
  .drawer .role-opt small { display: none; }
  .drawer .role-opt[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
  .drawer .role-opt[aria-checked="true"]::after { content: none; }
  .hero, .dec-grid, .dossier-in, .position-grid, .cal, .letter-in, .band-ref-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .brief { position: static; }
  .roles-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .role-col { padding: 20px 20px 22px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .role-col:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .article-layout, .ref-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .obj-tools { top: 0; }
  .provider { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .keyfigs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .keyfigs div, .keyfigs div + div { padding: 16px 12px 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .keyfigs div:nth-child(1), .keyfigs div:nth-child(2) { border-top: 0; }
  .keyfigs div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .keyfigs div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .topbar .hide-sm, .topbar .sep, .topbar-right { display: none; }
  .mast-actions .btn { padding: 9px 12px; font-size: 13px; }
  .lead h1 { font-size: 29px; }
  .standfirst { font-size: 17.5px; }
  .tracker { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .tracker li { padding: 0 0 16px 26px; }
  .tracker li::before { top: 6px; bottom: -6px; left: 5px; right: auto; width: 1px; height: auto; }
  .tracker li:last-child::before { display: none; }
  .tracker li::after { top: 3px; }
  .t-date, .t-label { display: inline; }
  .t-date::after { content: " · "; }
  .statusline-in { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 6px; align-items: start; padding-top: 10px; padding-bottom: 10px; }
  .statusline .dot { margin-top: 7px; }
  .statusline .muted { display: none; }
  .statusline a { grid-column: 2; margin-left: 0; }
  .logo { font-size: 26px; gap: 10px; }
  .logo .logo-mark { width: 38px; height: 38px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .sec-head h2 { font-size: 24px; }
  .sec-head .line { display: none; }
  .sec-head { justify-content: space-between; }
  .story-lead h3 { font-size: 25px; }
  .story-row { grid-template-columns: minmax(0, 1fr) 92px; gap: 16px; }
  .band-ref-in, .dossier-in, .letter-in { padding-top: 52px; padding-bottom: 52px; }
  .ref-stats dt { font-size: 36px; }
  .ref-stats div:nth-child(odd) { padding-right: 14px; }
  .ref-stats div:nth-child(even) { padding-left: 14px; }
  .roles-grid { grid-template-columns: minmax(0, 1fr); }
  .role-col, .role-col:nth-child(even) { padding: 20px 0; border-left: 0; }
  .role-col .q { min-height: 0; }
  .cal-list li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .cal-date { grid-column: 1 / -1; }
  .field-row { flex-direction: column; }
  .issue { padding: 22px 20px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding-top: 28px; }
  .page-head .dek { font-size: 18.5px; }
  .page-hero .ph-frame { --r: 4 / 3; }
  .depth-group { width: 100%; }
  .depth-group button { flex: 1; padding: 9px 6px; font-size: 13px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 25px; margin-top: 48px; }
  .box-30s { padding: 22px 20px; }
  .box-30s p:not(.box-title) { font-size: 18px; }
  .functions, .for-you { grid-template-columns: minmax(0, 1fr); }
  .codir li { font-size: 19px; }
  .end-box { grid-template-columns: minmax(0, 1fr); }
  .keyfigs b { font-size: 32px; }
  .conds, .sectors, .duo, .timeline { grid-template-columns: minmax(0, 1fr); }
  .conds div, .conds div + div, .timeline div, .timeline div + div { padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .conds div:first-child, .timeline div:first-child { border-top: 0; }
  .matrix { grid-template-columns: .9fr 1fr 1fr; font-size: 12.5px; }
  .matrix > div { padding: 12px 10px; }
  .matrix .ee, .matrix .ei { font-size: 15px; }
  details.obj > summary { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 12px; }
  details.obj > summary .scope { grid-column: 2; grid-row: 2; justify-self: start; }
  details.obj > summary .chev { grid-column: 3; grid-row: 1; }
  .o-num { font-size: 22px; }
  .o-body { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-left: 0; }
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .compare th, .compare td { border: 0; padding: 4px 8px 4px 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; font-size: 15px; }
  .compare td.av { grid-column: 1 / -1; width: auto; }
  .compare td[data-l]::before { content: attr(data-l); display: block; font: 500 11.5px/1.4 var(--sans); color: var(--ink-3); }
  .changelog li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .provider dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .provider dd { margin-bottom: 10px; }
  .provider.is-for-you { padding-left: 14px; padding-right: 14px; }
}

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

/* ---------- Impression ---------- */
@media print {
  @page { margin: 11mm 13mm; }
  body { border-top: 0; font-size: 10.5pt; }
  .topbar, .mast-actions, .navbar, .drawer, .role-bar, .statusline, .ref-actions, .toc, .obj-tools, .letter, .site-footer, .no-print, .progress, .menu-btn { display: none !important; }
  .print-only { display: block !important; }
  .masthead { display: block; padding: 0 0 8pt; border-bottom: 1px solid #000; }
  .brandblock { text-align: left; }
  .logo-tag { display: none; }
  .ref-layout { display: block; padding-top: 12pt; }
  .page-hero { display: none; }
  .ph-frame::after { display: none; }
  .keyfigs, .matrix, .duo, .timeline, .conds, .compare tr, details.obj, .avis, .sectors li { break-inside: avoid; }
  .ref-sec + .ref-sec { margin-top: 18pt; padding-top: 12pt; }
  details.obj > summary { padding: 8pt 0; }
  .chev { display: none; }
  .o-body { padding-left: 46px; padding-bottom: 10pt; }
  a { color: inherit; text-decoration: none; }
  dfn.g { border: 0; }
  dfn.g::after { display: none; }
  .print-head { font: 9pt/1.4 var(--sans); color: #444; margin-bottom: 12pt; }
}

/* ---------- v3 : légendes, articles, badges ---------- */
.ph figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ph .cap { font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.ph .credit { font-size: 10px; line-height: 1.4; color: var(--ink-3); white-space: nowrap; letter-spacing: .01em; }

.prose .box-30s ul { list-style: none; padding: 0; margin-top: 0; }
.box-30s li { position: relative; padding-left: 20px; font: 400 17px/1.55 var(--serif); }
.box-30s li + li { margin-top: 10px; }
.box-30s li::before { content: ""; position: absolute; left: 0; top: 12px; width: 9px; height: 2px; background: var(--accent); }

.kicker-s { font-size: 12.5px; font-weight: 500; color: var(--accent); }
.page-head .kicker-row { margin-top: 24px; margin-bottom: 12px; }
.page-head .kicker-row .kicker { margin: 0; }

.obj-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.obj-label { font-size: 12.5px; color: var(--ink-3); margin-right: 4px; }
.badge { display: inline-flex; align-items: center; font: 500 12.5px/1 var(--sans); color: var(--accent-2); background: var(--accent-soft); border: 1px solid var(--accent-ghost); padding: 7px 10px; border-radius: 4px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.badge:hover { background: #fff; border-color: var(--accent); }
.badge-alt { color: var(--ink-2); background: var(--paper-2); border-color: var(--rule-2); }
.badge-alt:hover { border-color: var(--ink-3); }

.o-related { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; }
.o-related h4 { width: 100%; margin: 0 0 2px; font: 500 12.5px/1.4 var(--sans); color: var(--ink-3); }
.o-related a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-ghost); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); }
.o-related a:hover { text-decoration-color: currentColor; }
.o-related .o-all { color: var(--ink-3); text-decoration-color: var(--rule-2); }

.list-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.list-tools label { font-size: 13px; color: var(--ink-3); }
.list-tools select {
  appearance: none; -webkit-appearance: none; min-width: 280px; max-width: 100%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234B464C' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--rule-2); border-radius: 6px; padding: 9px 32px 9px 12px; font-size: 14px; color: var(--ink); cursor: pointer;
}
.list-tools select:hover { border-color: var(--ink); }
.list-count { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.list-section { padding-top: 44px; }
.empty { color: var(--ink-2); margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 44px; }
.card[hidden] { display: none; }
.card .ph { margin-bottom: 18px; }
.card .ph-frame { border-radius: 4px; }
.card h3 { font: 600 24px/1.2 var(--serif); letter-spacing: -.01em; margin: 10px 0 8px; }
.card .dek { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.card h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.card h3 a:hover { background-size: 100% 1px; }

.more-reads ul { list-style: none; padding: 0 !important; font-family: var(--sans); border-top: 1px solid var(--ink); }
.more-reads li { border-bottom: 1px solid var(--rule); margin: 0 !important; }
.more-reads a { display: block; padding: 14px 0; font: 600 19px/1.35 var(--serif); transition: color .2s var(--ease); }
.more-reads a:hover { color: var(--accent); }
.more-reads .kicker-s { display: block; font-family: var(--sans); margin-bottom: 4px; }

.provider .chips { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

@media (max-width: 760px) {
  .cards { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .card h3 { font-size: 22px; }
  .list-count { margin-left: 0; width: 100%; }
  .list-tools select { min-width: 0; width: 100%; }
}
@media (max-width: 640px) {
  .ph figcaption { flex-direction: column; gap: 3px; }
  .box-30s li { font-size: 16.5px; }
}

details.obj { scroll-margin-top: 140px; }
@media (max-width: 960px) { details.obj { scroll-margin-top: 80px; } }
.position-body > .kicker { color: var(--accent); font-size: 13px; line-height: 1.6; }

/* ---------- v4 : couleurs par rôle ---------- */
:root { --role: var(--accent); --role-soft: var(--accent-soft); --role-line: var(--accent-ghost); }
body[data-role="ceo"]  { --role: #2C5AA0; --role-soft: #EAF0FA; --role-line: #BCD0EC; }
body[data-role="drh"]  { --role: #B5561A; --role-soft: #FCEFE5; --role-line: #F0CBAF; }
body[data-role="rssi"] { --role: #6A3E9E; --role-soft: #F2ECF9; --role-line: #D6C6EB; }
body[data-role="dsi"]  { --role: #2F7A4C; --role-soft: #E8F3EC; --role-line: #BFDCC9; }
body[data-role="daf"]  { --role: #0E6F7A; --role-soft: #E4F2F3; --role-line: #B3D9DC; }

.role-opt { display: grid; grid-template-columns: 10px auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px; }
.role-opt small { justify-self: end; }
.role-opt i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); align-self: center; }
.role-opt[data-set-role="ceo"] i { background: #2C5AA0; }
.role-opt[data-set-role="drh"] i { background: #B5561A; }
.role-opt[data-set-role="rssi"] i { background: #6A3E9E; }
.role-opt[data-set-role="dsi"] i { background: #2F7A4C; }
.role-opt[data-set-role="daf"] i { background: #0E6F7A; }
.role-opt[data-set-role="all"] i { background: transparent; border: 1px solid var(--ink-3); }
.drawer .role-opt { grid-template-columns: 10px auto; }

body.has-role .as-role summary b { color: var(--role); }
body.has-role .as-role summary { border-color: var(--role-line); }
.role-bar { background: var(--role-soft); border-bottom-color: var(--role-line); color: var(--role); }
.role-bar button { color: var(--role); }
.role-swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--role); flex: none; }
.fy { color: var(--role); }
.fy::before { background: var(--role); }
.role-col.is-for-you { box-shadow: inset 0 2px 0 var(--role); }
.fy-block.is-for-you { background: var(--role-soft); }
.provider.is-for-you { background: var(--role-soft); box-shadow: none; border-radius: 8px; }
.page-head.is-for-you .kicker-row .fy { font-size: 12.5px; }

/* ---------- Frise : estimations ---------- */
.tracker li.est::before { background: repeating-linear-gradient(90deg, var(--rule-2) 0 4px, transparent 4px 8px); }
.tracker li.est::after { border-style: dashed; border-color: var(--ink-3); }
.tracker li.est .t-date { color: var(--ink-2); font-style: italic; }
.tracker-note { margin-top: 14px; font-size: 12px; color: var(--ink-3); }

/* ---------- Bande chiffres ---------- */
.figures { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-top: 56px; padding-bottom: 48px; }
.fig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--ink); }
.fig-grid div { padding: 22px 22px 8px 0; }
.fig-grid div + div { padding-left: 22px; border-left: 1px solid var(--rule-2); }
.fig-grid dt { font: 500 44px/1 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.fig-grid dd { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fig-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-3); max-width: 90ch; }

/* ---------- Accueil : secteurs et échéances ---------- */
.home-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding-top: 0; }
.home-split .sec-head h2 { font-size: 24px; }
.sector-list { list-style: none; border-top: 1px solid var(--ink); }
.sector-list a { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); transition: color .2s var(--ease); }
.sector-list a:hover .sl-title { color: var(--accent); }
.sl-name { font-size: 13px; font-weight: 500; color: var(--accent); }
.sl-title { font: 600 17px/1.35 var(--serif); transition: color .2s var(--ease); }
.sector-list .fy { grid-column: 2; }
.next-dates { list-style: none; border-top: 1px solid var(--ink); margin-bottom: 22px; }
.next-dates li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2px 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.nd-date { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.next-dates li.pending .nd-date { font-style: italic; color: var(--ink-2); font-weight: 400; }
.nd-what { font-size: 15px; }
.nd-kind { grid-column: 2; font-size: 12px; color: var(--ink-3); }

/* ---------- Page calendrier ---------- */
.countdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.countdown div { padding: 20px 22px 22px 0; }
.countdown div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.countdown b { display: block; font: 500 38px/1 var(--serif); letter-spacing: -.02em; color: var(--accent); }
.countdown span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.cal-page { padding-top: 40px; padding-bottom: 24px; }
.cal-tools { position: sticky; top: 50px; z-index: 5; background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.cal-legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-3); }
.lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lg-past::before { background: var(--ink-3); }
.lg-future::before { background: var(--accent); }
.lg-est::before { border: 1.5px dashed var(--accent); }
.tl-year { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 32px; padding-top: 36px; }
.tl-year h2 { font: 500 44px/1 var(--serif); letter-spacing: -.03em; color: var(--accent); position: sticky; top: 120px; align-self: start; }
.tl { list-style: none; position: relative; border-left: 1px solid var(--rule-2); }
.tl > li { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 24px; padding: 0 0 26px 28px; }
.tl > li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.tl > li.past::before { background: var(--ink-3); }
.tl > li.est::before { background: var(--paper); border: 1.5px dashed var(--accent); }
.tl-date { font-size: 14px; font-weight: 500; color: var(--ink); padding-top: 1px; }
.tl > li.past .tl-date { color: var(--ink-3); }
.tl > li.est .tl-date { font-style: italic; color: var(--accent); }
.tl-tags { display: flex; gap: 8px; margin-bottom: 6px; }
.ktag { font-size: 11.5px; font-weight: 500; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--rule); padding: 3px 7px; border-radius: 3px; }
.ktag-est { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-ghost); }
.tl-body h3 { font: 600 19px/1.3 var(--serif); }
.tl-body p:not(.tl-tags) { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin-top: 4px; }
.tl > li.past .tl-body h3 { color: var(--ink-2); }
.tl > li.today { padding-bottom: 30px; }
.tl > li.today::before { background: var(--ochre); box-shadow: 0 0 0 4px var(--ochre-soft); }
.tl > li.today .tl-date { color: var(--ochre); font-weight: 600; }
.tl > li.today .tl-body { border-top: 1px dashed var(--ochre); padding-top: 4px; }
.tl > li.today .tl-body p { color: var(--ochre); font-size: 13px; }
.tl > li[hidden] { display: none; }
.cal-sources { padding-top: 32px; padding-bottom: 40px; }
.cal-sources h2 { font: 600 24px/1.2 var(--serif); margin-bottom: 14px; }

/* ---------- Page lettre ---------- */
.lettre-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-top: 44px; padding-bottom: 64px; }
.lettre-hero .kicker { margin-top: 24px; }
.lettre-hero h1 { font: 600 clamp(32px, 4vw, 48px)/1.08 var(--serif); letter-spacing: -.025em; }
.lettre-hero .dek { font: 400 19px/1.55 var(--serif); color: var(--ink-2); margin-top: 16px; }
.lettre-points { list-style: none; margin: 24px 0 8px; border-top: 1px solid var(--rule); }
.lettre-points li { padding: 11px 0 11px 20px; border-bottom: 1px solid var(--rule); position: relative; font-size: 15px; }
.lettre-points li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 2px; background: var(--accent); }
.lettre-points strong { font-weight: 500; }
.letter-form-light label { color: var(--ink-2); }
.letter-form-light .field-row input { border-color: var(--rule-2); }
.letter-form-light .form-note { color: var(--ink-3); margin-top: 10px; }
.letter-form-light .form-note a { color: var(--accent); }
.letter-form-light .form-msg.error { color: var(--law); }
.letter-form-light .form-msg.ok { color: var(--green); }
.issue-light { border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(61, 18, 28, .08); }
.issue-foot { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.faq h2 { font: 600 28px/1.15 var(--serif); margin-bottom: 18px; }
.faq dl { margin: 0; border-top: 1px solid var(--ink); }
.faq dt { font: 600 18px/1.35 var(--serif); padding-top: 18px; }
.faq dd { margin: 6px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.letter-short { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.letter-short .letter-form { margin-top: 0; }

/* ---------- Rubriques et pages de liste ---------- */
.rub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip-btn { background: var(--paper); border: 1px solid var(--rule-2); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.feature-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 32px; }
.feature { display: grid; gap: 6px; background: var(--paper-2); padding: 22px 24px; transition: background-color .2s var(--ease); }
.feature:hover { background: var(--accent-soft); }
.feature strong { font: 600 21px/1.25 var(--serif); }
.about h2 { scroll-margin-top: 90px; }
.matrix .nc small { display: block; font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); margin-top: 4px; }
.matrix .nc { color: var(--ink-2); font-weight: 500; }

@media (max-width: 960px) {
  .fig-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fig-grid div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-2); }
  .fig-grid div:nth-child(4) { border-top: 1px solid var(--rule-2); }
  .home-split, .lettre-hero, .letter-short { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tl-year { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tl-year h2 { position: static; font-size: 36px; }
  .cal-tools { top: 0; }
}
@media (max-width: 640px) {
  .fig-grid dt { font-size: 34px; }
  .fig-grid div, .fig-grid div + div { padding: 16px 12px 8px 0; }
  .fig-grid div:nth-child(even) { padding-left: 14px; }
  .countdown { grid-template-columns: minmax(0, 1fr); }
  .countdown div, .countdown div + div { padding: 16px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .countdown div:first-child { border-top: 0; }
  .countdown b { font-size: 30px; }
  .tl > li { grid-template-columns: minmax(0, 1fr); padding-left: 22px; }
  .sector-list a { grid-template-columns: minmax(0, 1fr); }
  .sector-list .fy { grid-column: 1; }
  .next-dates li { grid-template-columns: minmax(0, 1fr); }
  .nd-kind { grid-column: 1; }
  .feature-links { grid-template-columns: minmax(0, 1fr); }
  .cal-legend { display: none; }
}

/* Barre de rôle : pastille alignée sur la première ligne du texte, bouton dessous sur mobile */
.role-bar-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 4px; }
.role-bar button { margin-left: 0; }
@media (max-width: 640px) {
  .role-bar-in { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .role-swatch { margin-top: 6px; }
  .role-bar button { grid-column: 2; justify-self: start; }
}

/* ---------- v5 : marque, finitions ---------- */

/* Logo : léger relief teinté bordeaux, jamais d'ombre noire */
.logo-mark { display: block; border-radius: 23%; filter: drop-shadow(0 3px 8px rgba(122, 28, 43, .22)); }
.logo { gap: 18px; }
.logo:hover .logo-mark { filter: drop-shadow(0 4px 12px rgba(122, 28, 43, .30)); }
.logo .logo-mark { transition: filter .3s var(--ease); }
.nav-mini .logo-mark, .foot-brand .logo-mark { filter: none; }
.foot-brand .logo { gap: 12px; }

/* Étiquettes d'objectif : filet fin, numéro en accent, plus de pastille pleine */
.badge { gap: 8px; color: var(--ink-2); background: var(--paper); border-color: var(--rule-2); padding: 7px 11px; border-radius: 3px; }
.badge-n { color: var(--accent); font-weight: 500; padding-right: 8px; border-right: 1px solid var(--rule-2); }
.badge:hover { background: var(--paper); border-color: var(--accent); color: var(--ink); }
.badge-alt { background: var(--paper-2); }

/* Photos : un étalonnage commun pour accorder les images au bordeaux */
.ph-frame img { filter: saturate(.72) contrast(1.05) brightness(.99); transition: transform .8s var(--ease), filter .5s var(--ease); }
.ph-frame::after { opacity: .1; }
a:hover .ph-frame img { filter: saturate(.88) contrast(1.05); }

/* Retour tactile des boutons */
.btn { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease); }
.btn:active, .chip-btn:active, .seg button:active { transform: translateY(1px); }

/* Brèves : « Nouveau » en petite étiquette avec point */
.b-new { position: relative; padding-left: 12px; letter-spacing: .01em; }
.b-new::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); }

/* Sélection de texte aux couleurs du site */
::selection { background: var(--accent-ghost); color: var(--ink); }

/* Rubriques : onglets de presse soulignés plutôt que pastilles */
.rub-chips { gap: 0 26px; margin-top: 30px; border-bottom: 1px solid var(--rule); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.rub-chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; background: none; border: 0; border-radius: 0; padding: 12px 0 13px; margin-bottom: -1px; font-size: 14.5px; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.chip-btn:hover { color: var(--ink); border-bottom-color: var(--rule-2); }
.chip-btn[aria-pressed="true"] { background: none; color: var(--ink); font-weight: 500; border-bottom-color: var(--accent); }
.chip-btn:active { transform: none; }
.rub-chips + .list-tools { margin-top: 0; border-top: 0; }

/* Page 404 */
.nf-links { list-style: none; margin-top: 34px; border-top: 1px solid var(--ink); max-width: 560px; }
.nf-links li { border-bottom: 1px solid var(--rule); }
.nf-links a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font: 500 19px/1.35 var(--serif); transition: color .2s var(--ease); }
.nf-links a:hover { color: var(--accent); }

/* ---------- v6 : menu des rôles, calendrier ---------- */

/* Menu « Lire en tant que » : liste sobre, filet de couleur aligné sur chaque intitulé */
.as-role .menu { width: 210px; padding: 6px 0; border: 1px solid var(--ink); border-radius: 3px; box-shadow: 0 12px 28px rgba(61, 18, 28, .10); }
.role-opt { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 16px; border-radius: 0; font-size: 14.5px; line-height: 1.2; color: var(--ink); }
.role-opt:hover { background: var(--paper-2); }
.role-opt i { width: 3px; height: 16px; border-radius: 0; border: 0; background: var(--rule-2); align-self: center; flex: none; }
.role-opt[data-set-role="all"] i { background: var(--rule-2); border: 0; }
.role-opt[aria-checked="true"] { color: var(--ink); font-weight: 600; }
.role-opt[aria-checked="true"]::after { content: ""; margin-left: auto; width: 9px; height: 5px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.role-opt small { display: none; }
.drawer .role-opt { padding: 10px 0; }
.drawer-roles div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.role-swatch { width: 3px; height: 16px; border-radius: 0; }

/* Calendrier : aller à aujourd'hui */
.today-btn { margin-right: auto; }
.tl > li.today { scroll-margin-top: 140px; outline: none; }
.tl > li.today.is-flash .tl-body { animation: today-flash 1.6s var(--ease); }
@keyframes today-flash { 0% { background: var(--ochre-soft); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .tl > li.today.is-flash .tl-body { animation: none; } }
@media (max-width: 640px) { .today-btn { margin-right: 0; } }

/* ---------- v7 : moins de tics de gabarit ---------- */
.byline .meta span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 11px; background: var(--rule-2); vertical-align: -1px; }
.meta { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 2px; }
.fy::before { display: none; }
.fy { font-weight: 600; letter-spacing: .01em; }
a:hover .ph-frame img { transform: none; }
.brief-list { counter-reset: none; }
.brief-list li { counter-increment: none; grid-template-columns: 52px minmax(0, 1fr); }
.brief-list li::before { content: none; }
.b-date { grid-row: span 3; font: 500 13px/1.6 var(--sans); color: var(--ink-3); }

/* ---------- v8 : secteurs, fiches, test, glossaire, carte ---------- */
.picto { width: 24px; height: 24px; flex: none; color: var(--accent); }
.byline .meta .format { color: var(--accent); font-weight: 600; }

/* Recherche de secteur */
.finder-head h1 { max-width: none; }
.finder-test { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.finder-section { padding-top: 36px; }
.finder label { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 10px; }
.finder input[type="search"] { width: 100%; max-width: 760px; font: 400 24px/1.3 var(--serif); color: var(--ink); padding: 16px 18px; border: 1px solid var(--ink); border-radius: 3px; background: var(--paper); -webkit-appearance: none; appearance: none; }
.finder input[type="search"]::placeholder { color: var(--ink-3); }
.finder input[type="search"]:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.finder-status { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; min-height: 1.5em; }
.finder-empty { margin-top: 28px; padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--paper-2); max-width: 760px; font-size: 15.5px; line-height: 1.6; }
.finder-empty p + p { margin-top: 10px; }

.si { margin-top: 44px; }
.si-group + .si-group { margin-top: 56px; }
.si-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.si-head h2 { font: 600 26px/1.2 var(--serif); letter-spacing: -.01em; }
.si-head p { font-size: 13px; color: var(--ink-3); }
.si-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.si-row a { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 3px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.si-picto { width: 32px; height: 32px; grid-row: span 3; margin-top: 2px; }
.si-name { font: 600 20px/1.25 var(--serif); letter-spacing: -.005em; transition: color .2s var(--ease); }
.si-row a:hover .si-name { color: var(--accent); }
.si-sub { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.si-meta { display: flex; flex-wrap: wrap; column-gap: 14px; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.si-state.is-full { color: var(--accent); font-weight: 600; }

/* Accueil : votre secteur */
.finder-mini label { margin-bottom: 8px; }
.finder-row { display: flex; gap: 8px; }
.finder-row input { flex: 1; min-width: 0; font: 400 16px/1.3 var(--sans); padding: 11px 14px; border: 1px solid var(--rule-2); border-radius: 3px; }
.finder-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.sector-quick { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin-top: 22px; border-top: 1px solid var(--ink); }
.sector-quick a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font: 600 16.5px/1.3 var(--serif); transition: color .2s var(--ease); }
.sector-quick a:hover { color: var(--accent); }
.sector-more { display: flex; gap: 22px; margin-top: 16px; font-size: 14px; }

/* Fiche secteur */
.fiche-head { padding-top: 44px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.fiche-title { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.picto-xl { width: 96px; height: 96px; padding: 18px; border: 1px solid var(--rule-2); border-radius: 3px; stroke-width: 1.2; background: var(--paper); }
.fiche-annexe { font-size: 13.5px; color: var(--accent); font-weight: 500; }
.fiche-head h1 { font: 600 clamp(34px, 4.6vw, 56px)/1.04 var(--serif); letter-spacing: -.025em; margin-top: 8px; }
.fiche-head .dek { font: 400 20px/1.55 var(--serif); color: var(--ink-2); margin-top: 16px; max-width: 64ch; }
.fiche-head .byline { margin-top: 24px; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fiche-layout { display: grid; grid-template-columns: 340px minmax(0, 700px); gap: 64px; padding-top: 44px; padding-bottom: 24px; align-items: start; }
.fiche-card { position: sticky; top: 76px; background: var(--paper-2); border-top: 3px solid var(--accent); padding: 22px 24px 8px; font-family: var(--sans); }
.fiche-card h2 { font: 600 20px/1.25 var(--serif); margin-bottom: 8px; }
.fiche-card dl > div { padding: 13px 0; border-top: 1px solid var(--rule-2); }
.fiche-card dt { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.fiche-card dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.fiche-card dd ul { margin: 0; padding-left: 16px; }
.fiche-card dd li + li { margin-top: 6px; }
.fiche-card dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.fiche-body > :first-child { margin-top: 0; }
.fiche-pending { font: 400 18px/1.6 var(--serif); color: var(--ink-2); padding: 20px 24px; border-left: 3px solid var(--rule-2); background: var(--paper-2); }
.fiche-dates .next-dates { margin-top: 18px; font-family: var(--sans); font-size: 15px; }
.fiche-ics { font: 400 14px/1.5 var(--sans); color: var(--ink-3); }
.fiche-arts h3 { font: 600 17px/1.3 var(--sans); margin-top: 26px; }
.art-links { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--ink); font-family: var(--sans); }
.art-links li { margin: 0; }
.art-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.art-links .kicker-s { grid-column: 1 / -1; font-size: 12.5px; }
.art-links .al-title { font: 600 18px/1.35 var(--serif); color: var(--ink); transition: color .2s var(--ease); }
.art-links a:hover .al-title { color: var(--accent); }
.art-links .al-min { font-size: 13px; color: var(--ink-3); align-self: end; }
.prose table.prio { min-width: 0; margin-top: 18px; }
.prose table.prio td:first-child { width: 34%; font-weight: 500; }
.prose table.prio a { color: var(--accent); text-decoration: none; }
.prose table.prio a:hover { text-decoration: underline; }

/* Test « Suis-je concerné ? » */
.test-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1100px; }
.test fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.test legend { font: 600 21px/1.3 var(--serif); margin-bottom: 12px; padding: 0; }
.test select { width: 100%; font: 400 16px/1.3 var(--sans); padding: 12px 14px; border: 1px solid var(--ink); border-radius: 3px; background: var(--paper); color: var(--ink); }
.test .opt { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid var(--rule-2); border-radius: 3px; margin-top: 8px; font-size: 15px; line-height: 1.45; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.test .opt:hover { border-color: var(--ink-3); }
.test .opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.test .opt input { margin-top: 3px; accent-color: var(--accent); }
.test-help { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; }
.test-result { position: sticky; top: 80px; background: var(--paper-2); border-top: 3px solid var(--ink); padding: 22px 24px 26px; }
.test-result[data-statut="ee"], .test-result[data-statut="ei"] { border-top-color: var(--accent); }
.tr-kicker { font-size: 13px; color: var(--ink-3); }
.test-result h2 { font: 600 26px/1.2 var(--serif); margin-top: 6px; letter-spacing: -.01em; }
.tr-body { margin-top: 14px; font-size: 15px; line-height: 1.6; }
.tr-body p + p, .tr-body ul + p { margin-top: 12px; }
.tr-body h3 { font: 600 15px/1.4 var(--sans); margin-top: 16px; }
.tr-body ul { padding-left: 18px; margin-top: 6px; }
.tr-body li + li { margin-top: 6px; }
.tr-note { font-size: 14px; color: var(--ink-2); padding-left: 12px; border-left: 2px solid var(--rule-2); }
.tr-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }

/* Glossaire */
.gl { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--ink-3); text-underline-offset: 3px; position: relative; cursor: help; }
.gl::after { content: attr(data-def); position: absolute; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 300px; transform: translate(-50%, 4px); padding: 10px 12px; background: var(--ink); color: #fff; font: 400 13px/1.45 var(--sans); border-radius: 3px; opacity: 0; visibility: hidden; pointer-events: none; z-index: 40; transition: opacity .15s var(--ease), transform .15s var(--ease); text-align: left; }
.gl:hover::after, .gl:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.glossary div { padding: 18px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.glossary div:first-child { border-top: 1px solid var(--ink); }
.glossary dt { font: 600 20px/1.3 var(--serif); }
.glossary dd { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.glossary div:target { background: var(--accent-soft); box-shadow: -12px 0 0 var(--accent-soft), 12px 0 0 var(--accent-soft); }

/* Carte de la transposition */
.eu-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: start; }
.eu-lede { font: 400 20px/1.55 var(--serif); }
.eu-legend { list-style: none; display: flex; gap: 22px; margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.eu-legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 2px; }
.sw-on { background: var(--paper-3); }
.sw-off { background: var(--accent); }
.eu-recent { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.eu-map .note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(7, 50px); grid-auto-rows: 50px; gap: 4px; }
.tile { display: flex; align-items: center; justify-content: center; border-radius: 2px; font: 600 13px/1 var(--sans); letter-spacing: .02em; cursor: default; }
.tile.is-vigueur { background: var(--paper-3); color: var(--ink-2); }
.tile.is-absente { background: var(--accent); color: #fff; }
.tile.is-fr { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Calendrier : barre d'outils */
.today-btn { margin-right: 0; }
.cal-tools .ics-btn { margin-right: auto; }

@media (max-width: 960px) {
  .fiche-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fiche-card { position: static; }
  .test-layout { grid-template-columns: minmax(0, 1fr); }
  .test-result { position: static; }
  .eu-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
  .si-list, .sector-quick { grid-template-columns: minmax(0, 1fr); }
  .si-head { flex-direction: column; gap: 2px; }
  .fiche-title { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .picto-xl { width: 64px; height: 64px; padding: 12px; }
  .finder input[type="search"] { font-size: 19px; padding: 13px 14px; }
  .tiles { grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile { aspect-ratio: 1; font-size: 11px; }
  .cal-tools .ics-btn { margin-right: 0; }
  .gl::after { display: none; }
}

/* Impression d'une fiche secteur : une page A4 */
@media print {
  .page-fiche .fiche-layout { display: block; padding: 0; }
  .page-fiche .fiche-head { padding: 0 0 10pt; }
  .page-fiche .fiche-title { grid-template-columns: 48pt minmax(0, 1fr); gap: 12pt; margin-top: 0; }
  .page-fiche .picto-xl { width: 48pt; height: 48pt; padding: 8pt; }
  .page-fiche .fiche-head h1 { font-size: 24pt; }
  .page-fiche .fiche-head .dek { font-size: 10.5pt; margin-top: 6pt; }
  .page-fiche .fiche-actions, .page-fiche .fiche-arts, .page-fiche .fiche-ics, .page-fiche .crumbs, .page-fiche .fiche-pending { display: none !important; }
  .page-fiche .fiche-card { position: static; background: none; border-top: 2pt solid #000; padding: 6pt 0 0; columns: 2; column-gap: 18pt; }
  .page-fiche .fiche-card h2 { column-span: all; font-size: 12pt; }
  .page-fiche .fiche-card dl > div { break-inside: avoid; padding: 5pt 0; }
  .page-fiche .fiche-card dd { font-size: 9pt; }
  .page-fiche .fiche-body { font-size: 9.5pt; line-height: 1.45; }
  .page-fiche .fiche-body h2 { font-size: 12pt; margin-top: 10pt; }
  .page-fiche .fiche-body > *:not(.box-30s):not(.fiche-dates):not(h2#referentiel):not(table.prio) { display: none; }
  .page-fiche .fiche-dates .next-dates { font-size: 9pt; }
  .page-fiche .gl::after { display: none; }
  .gl { text-decoration: none; }
}
.page-head .crumbs + h1 { margin-top: 26px; }
.fiche-head { border-bottom: 0; padding-bottom: 0; }
.fiche-head::after { content: ""; display: block; height: 1px; background: var(--rule); margin-top: 36px; }
.si-list { display: block; columns: 2; column-gap: 48px; }
.si-row { break-inside: avoid; }
.test-layout { max-width: var(--wrap); }
.test-layout .test { max-width: 640px; }
@media (max-width: 640px) { .si-list { columns: 1; } }
@media print {
  .page-fiche .fiche-head::after, .page-fiche .fiche-head .byline { display: none !important; }
  .page-fiche .fiche-head .dek { font-size: 9.5pt !important; line-height: 1.4 !important; }
  .page-fiche .fiche-card { margin-top: 8pt; }
  .page-fiche .fiche-card dl > div { padding: 3pt 0 !important; }
  .page-fiche .fiche-card dt { font-size: 7.5pt !important; }
  .page-fiche .fiche-card dd, .page-fiche .fiche-card dd li { font-size: 8.5pt !important; line-height: 1.35 !important; }
  .page-fiche .fiche-card dd li + li { margin-top: 1pt; }
  .page-fiche .box-30s { margin: 8pt 0 0 !important; padding: 6pt 10pt !important; }
  .page-fiche .box-30s li, .page-fiche .box-30s p { font-size: 9pt !important; line-height: 1.35 !important; }
  .page-fiche .box-30s li + li { margin-top: 2pt !important; }
  .page-fiche .fiche-body h2 { font-size: 11pt !important; margin: 8pt 0 2pt !important; }
  .page-fiche table.prio, .page-fiche table.prio td, .page-fiche table.prio th { font-size: 8.5pt !important; line-height: 1.3 !important; padding: 3pt 6pt 3pt 0 !important; }
  .page-fiche table.prio { margin-top: 2pt !important; }
  .page-fiche .fiche-dates .next-dates { margin-top: 2pt !important; }
  .page-fiche .fiche-dates .next-dates li { padding: 2pt 0 !important; font-size: 8.5pt !important; grid-template-columns: 110pt minmax(0, 1fr) !important; }
}
@media print {
  .page-fiche .fiche-card .row-prio { display: none; }
  .page-fiche .next-dates span { font-size: 8.5pt !important; line-height: 1.3 !important; }
  .page-fiche .fiche-head h1 { font-size: 22pt !important; }
  .page-fiche .fiche-title { gap: 10pt !important; }
}
@media print {
  .page-fiche .fiche-head .dek { display: none !important; }
  .page-fiche table.prio thead { display: none; }
  .page-fiche .fiche-card h2 { margin-bottom: 2pt !important; }
}
@media print {
  .page-fiche .fiche-dates .next-dates { display: block; columns: 2; column-gap: 18pt; border-top: 1pt solid #000; }
  .page-fiche .fiche-dates .next-dates li { break-inside: avoid; display: block; padding: 3pt 0 !important; }
  .page-fiche .fiche-dates .next-dates .nd-date { display: block; font-weight: 600; }
}
@media print {
  .page-fiche .masthead { padding-bottom: 4pt; border-bottom: 0; }
  .page-fiche .masthead .logo { font-size: 15pt; gap: 6pt; }
  .page-fiche .masthead .logo .logo-mark { width: 20pt; height: 20pt; filter: none; }
  .page-fiche .edition { display: none; }
  .page-fiche .fiche-title { margin-top: 4pt; }
  .page-fiche .picto-xl { width: 40pt; height: 40pt; padding: 6pt; }
  .page-fiche table.prio td { font-size: 8pt !important; padding: 2pt 6pt 2pt 0 !important; }
}
@media print {
  .page-fiche .box-30s li, .page-fiche .box-30s p { font-size: 8.5pt !important; }
  .page-fiche .box-30s { padding: 4pt 10pt !important; }
  .page-fiche .fiche-body h2 { margin: 6pt 0 2pt !important; }
  .page-fiche .fiche-card { margin-top: 4pt; padding-top: 4pt; }
  .page-fiche .fiche-card dd { margin-top: 1pt !important; }
  .page-fiche .fiche-dates .next-dates li { padding: 1.5pt 0 !important; }
  .page-fiche .fiche-head { padding-bottom: 4pt; }
}
@media print {
  .page-fiche .picto-xl { display: none; }
  .page-fiche .fiche-title { display: block; }
  .page-fiche .fiche-card dd, .page-fiche .fiche-card dd li { font-size: 8pt !important; line-height: 1.3 !important; }
  .page-fiche .box-30s .box-title { margin-bottom: 1pt !important; }
}

/* ---------- v9 : calendrier en une seule vue, badges ---------- */
.cal-tools .today-btn { margin-right: 0; }
.ktag { display: inline-flex; align-items: center; gap: 6px; }
.flag { width: 16px; height: 11px; flex: none; border-radius: 1px; box-shadow: 0 0 0 1px rgba(29, 26, 30, .12); }
.ktag-anssi { color: var(--paper); background: var(--ink); border-color: var(--ink); letter-spacing: .02em; }

/* Recherche de secteur : liste de suggestions */
.combo { position: relative; max-width: 760px; }
.finder-row .combo { flex: 1; min-width: 0; max-width: none; }
.finder-row .combo input { width: 100%; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: 6px 0; max-height: 392px; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border: 1px solid var(--ink); border-radius: 3px; box-shadow: 0 16px 36px rgba(61, 18, 28, .12); text-align: left; }
.sugg [role="option"] { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 1px; padding: 10px 16px; cursor: pointer; }
.sugg [role="option"][hidden] { display: none; }
.sugg .sg-picto { width: 22px; height: 22px; grid-row: span 3; margin-top: 2px; }
.sg-name { font: 600 17px/1.3 var(--serif); color: var(--ink); }
.sg-sub { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-hit { font-size: 12.5px; color: var(--accent); font-weight: 500; }
.sg-hit:empty { display: none; }
.sugg [role="option"]:hover, .sugg [role="option"].is-active { background: var(--paper-2); }
.sugg [role="option"].is-active .sg-name { color: var(--accent); }
.sg-empty { padding: 12px 16px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* Carte d'identité : défile seule quand elle dépasse la hauteur de l'écran */
@media (min-width: 961px) {
  .fiche-card { max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }
  .fiche-card::-webkit-scrollbar { width: 6px; }
  .fiche-card::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 3px; }
}
.prose figure.ph { margin: 40px 0; }
.prose figure.ph .ph-frame { border-radius: 2px; }

/* Infobulles : absentes de la mise en page tant qu'elles ne sont pas affichées (évite tout débordement) */
.g::after, .gl::after { display: none; }
.g:hover::after, .g:focus::after, .g:focus-visible::after, .gl:hover::after, .gl:focus-visible::after { display: block; }
@media (max-width: 640px) { .gl:hover::after, .gl:focus-visible::after { display: none; } }
.sectors li strong a { text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.sectors li strong a:hover { color: var(--accent); text-decoration-color: currentColor; }

/* Carte de la transposition : image */
.eu-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.eu-figure { margin: 0; }
.eu-figure img { width: 100%; height: auto; display: block; }
.sw-on { background: #DDDEDB; }
.sw-off { background: #7E1F36; }
@media (max-width: 960px) { .eu-grid { grid-template-columns: minmax(0, 1fr); } }
@media print { .eu-figure img { max-width: 70%; } }

/* ---------- v10 : composants éditoriaux des articles ---------- */
/* Ouverture : premier paragraphe un peu plus grand */
.prose .lead { font-size: 20.5px; line-height: 1.62; margin-top: 34px; }

/* Le chiffre : un nombre qui porte l'argument, avec sa source */
.chiffre { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 30px; align-items: center; margin: 38px 0 !important; padding: 24px 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.chiffre-n { font: 400 76px/.9 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.035em; color: var(--accent); white-space: nowrap; }
.chiffre-n small { font-size: .42em; letter-spacing: -.01em; margin-left: .12em; }
.chiffre figcaption { font: 400 17px/1.5 var(--serif); color: var(--ink); max-width: 40ch; }
.chiffre figcaption span { display: block; margin-top: 8px; font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); }

/* Étapes : uniquement pour une vraie séquence dans le temps */
.prose .etapes { list-style: none; padding: 0; margin-top: 30px; }
.etapes li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 40px; padding-bottom: 24px; }
.prose .etapes li + li { margin-top: 0; }
.etapes li::before { content: ""; position: absolute; left: 132px; top: 14px; bottom: -10px; width: 1px; background: var(--accent-ghost); }
.etapes li:last-child { padding-bottom: 0; }
.etapes li:last-child::before { display: none; }
.etapes li::after { content: ""; position: absolute; left: 128.5px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--accent); }
.etapes b { font: 600 17px/1.45 var(--sans); color: var(--accent); text-align: right; }
.etapes p { font: 400 17.5px/1.55 var(--serif); }
.etapes p strong { font-weight: 600; }

/* Ce que dit le texte : citation exacte de la directive ou du référentiel */
.prose blockquote.texte { margin: 44px 0; padding: 0; }
.texte::before { content: ""; display: block; width: 44px; height: 2px; background: var(--accent); margin-bottom: 20px; }
.texte p { font: italic 400 23px/1.5 var(--serif); font-variation-settings: "opsz" 36; letter-spacing: -.005em; color: var(--ink); }
.texte footer { margin-top: 12px; font: 400 13px/1.4 var(--sans); color: var(--ink-3); }

/* Comparaison en deux colonnes */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 30px !important; border-top: 1px solid var(--ink); }
.versus > div { padding: 18px 26px 0 0; }
.versus > div + div { padding: 18px 0 0 26px; border-left: 1px solid var(--rule); }
.versus h3 { font: 600 19px/1.3 var(--serif); margin: 0 0 6px !important; }
.versus h3 small { display: block; font: 400 13px/1.4 var(--sans); color: var(--ink-3); margin-top: 3px; }
.prose .versus ul { list-style: none; padding: 0; margin-top: 8px; }
.versus li { font: 400 15.5px/1.5 var(--sans); color: var(--ink-2); padding: 10px 0; border-top: 1px solid var(--rule); }
.prose .versus li + li { margin-top: 0; }
.versus li b { color: var(--ink); font-weight: 500; }

/* Pièces à présenter : liste de documents, cases à cocher */
.pieces { background: var(--paper-2); padding: 24px 28px 26px; margin-top: 30px !important; }
.prose .pieces ul { list-style: none; padding: 0; margin-top: 4px; }
.pieces li { position: relative; padding: 10px 0 10px 32px; font: 400 15.5px/1.5 var(--sans); border-top: 1px solid var(--rule-2); }
.pieces li:first-child { border-top: 0; }
.prose .pieces li + li { margin-top: 0; }
.pieces li::before { content: ""; position: absolute; left: 0; top: 13px; width: 15px; height: 15px; border: 1.5px solid var(--accent); border-radius: 2px; background: var(--paper); }

/* Un cas réel, daté */
.cas { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 28px; margin: 36px 0 !important; padding-top: 18px; border-top: 1px solid var(--rule-2); }
.cas-date { font: 400 13px/1.3 var(--sans); color: var(--ink-3); }
.cas-date b { display: block; font: 400 38px/1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.02em; color: var(--accent); margin-top: 4px; }
.cas h3 { font: 600 17px/1.35 var(--sans) !important; margin: 0 !important; }
.cas p { font: 400 17px/1.58 var(--serif); color: var(--ink-2); margin-top: 6px !important; }


/* Repères : blocs courts côte à côte, séparés par des filets */
.points { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 36px; margin-top: 26px !important; }
.points > div { padding: 18px 0 22px; border-top: 1px solid var(--rule-2); }
.prose .points h3 { font: 600 18px/1.3 var(--serif); margin: 0 0 6px; }
.points p { font: 400 16.5px/1.55 var(--serif); color: var(--ink-2); }

/* Petit tableau de chiffres, sans largeur minimale */
.prose table.mini { min-width: 0; margin-top: 24px; }
.prose table.mini tbody th { width: 34%; }

/* Définitions : terme à gauche, explication à droite */
.defs { margin-top: 28px !important; border-top: 1px solid var(--rule-2); }
.defs > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 28px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.defs dt { font: 600 21px/1.3 var(--serif); color: var(--accent); }
.defs dd { margin: 0; font: 400 17.5px/1.58 var(--serif); }

/* Plusieurs chiffres d'une même source */
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 34px 0 !important; border-top: 1px solid var(--rule-2); }
.chiffres > div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--rule); }
.chiffres > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
.chiffres b { display: block; font: 400 50px/1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.03em; color: var(--accent); }
.chiffres span { display: block; margin-top: 8px; font: 400 15.5px/1.45 var(--serif); color: var(--ink-2); }
.chiffres-src { grid-column: 1 / -1; padding: 10px 0 0 !important; border: 0 !important; font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); }

/* Barres : une répartition lisible d'un coup d'œil */
.barres { margin: 32px 0 !important; padding: 22px 0 6px; border-top: 1px solid var(--rule-2); }
.barres-t { font: 600 17px/1.35 var(--serif); margin-bottom: 14px; }
.barres ul { list-style: none; padding: 0 !important; }
.prose .barres li + li { margin-top: 14px; }
.barres li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; font: 400 15px/1.4 var(--sans); }
.barres li i { grid-column: 1 / -1; display: block; height: 10px; background: var(--paper-3); border-radius: 1px; overflow: hidden; }
.barres li i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--accent); }
.barres li b { font: 500 15px/1 var(--sans); color: var(--accent); font-variant-numeric: tabular-nums; }
.barres li small { display: block; font-size: 13px; color: var(--ink-3); }
.barres figcaption { margin-top: 14px; font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); }

@media (max-width: 640px) {
  .chiffres b { font-size: 40px; }
  .chiffres > div { padding-right: 14px; }
  .chiffres > div:nth-child(even) { padding-left: 14px; }
  .defs > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .prose .lead { font-size: 19px; }
  .chiffre { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .chiffre-n { font-size: 60px; }
  .etapes li { grid-template-columns: minmax(0, 1fr); padding-left: 26px; gap: 4px; }
  .etapes li::before { left: 4px; top: 16px; }
  .etapes li::after { left: 0; top: 7px; }
  .etapes b { text-align: left; }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .versus > div, .versus > div + div { padding: 16px 0 6px; border-left: 0; }
  .versus > div + div { border-top: 1px solid var(--rule-2); }
  .pieces { padding: 20px 18px; }
  .cas { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cas-date b { display: inline; font-size: 28px; margin-left: 6px; }
  .texte p { font-size: 20px; }
}
@media print {
  .chiffre, .etapes li, .texte, .versus, .pieces, .cas, .points > div, .defs > div, .chiffres, .barres { break-inside: avoid; }
  .barres li i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- v11 : test « Suis-je concerné ? » enrichi et lettre personnalisée ---------- */
.test { counter-reset: q; }
.test fieldset:not([hidden]) { counter-increment: q; }
.test legend { position: relative; display: block; padding-left: 36px; }
.test legend::before { content: counter(q); position: absolute; left: 0; top: 2px; font: 500 13px/1 var(--sans); color: var(--accent); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--accent-ghost); border-radius: 50%; }
.test fieldset { padding-bottom: 28px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.test fieldset:last-child { border-bottom: 0; }
.test-help, .test fieldset > .opt, .test .opt-row { margin-left: 36px; }
.test select { margin-left: 36px; width: calc(100% - 36px); }
.test-help-top { margin: 0 0 4px 36px; }
.opt-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt-row .opt { margin-top: 0; }
.test .opt { align-items: center; }
.test .opt input { margin-top: 0; }

.test-side { position: sticky; top: 80px; display: grid; gap: 16px; max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }
.test-side .test-result { position: static; }
.tr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tr-progress { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tr-steps { padding-left: 20px !important; }
.tr-steps li::marker { color: var(--accent); font-weight: 500; }
.tr-links .btn { font-size: 13.5px; }

.perso { background: var(--paper); border: 1px solid var(--rule-2); border-top: 3px solid var(--accent); padding: 22px 24px 24px; }
.perso h2 { font: 600 21px/1.25 var(--serif); letter-spacing: -.01em; }
.perso-sum { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.perso-topics { border: 0; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.chk input { margin-top: 3px; accent-color: var(--accent); flex: none; width: 15px; height: 15px; }
.perso-fields { display: grid; gap: 6px; margin-top: 16px; }
.perso-fields label { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-top: 6px; }
.perso-fields label span { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.perso-fields input { font: 400 15px/1.3 var(--sans); padding: 11px 12px; border: 1px solid var(--rule-2); border-radius: 4px; background: var(--paper); color: var(--ink); width: 100%; }
.perso-fields input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.perso-fields input[aria-invalid="true"] { border-color: #A3241B; }
.perso-consent { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.perso .btn { margin-top: 16px; width: 100%; justify-content: center; }
.perso .form-msg { margin-top: 10px; font-size: 13.5px; line-height: 1.5; }
.perso .form-msg:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Accueil : entrée dans le test */
.test-cta { background: var(--accent-soft); border-top: 1px solid var(--accent-ghost); border-bottom: 1px solid var(--accent-ghost); }
.test-cta-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.test-cta h2 { font: 600 32px/1.15 var(--serif); letter-spacing: -.015em; }
.test-cta p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; max-width: 52ch; }
.test-cta form label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.test-cta .field-row { display: flex; gap: 10px; }
.test-cta select { flex: 1; min-width: 0; font: 400 15px/1.3 var(--sans); padding: 12px 14px; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); color: var(--ink); }
.test-cta .cta-note { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.letter .form-note a + a { margin-left: 4px; }

@media (max-width: 960px) {
  .test-side { position: static; max-height: none; overflow: visible; }
  .test-cta-in { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 32px; padding-bottom: 32px; }
  .test-cta h2 { font-size: 26px; }
}
@media (max-width: 640px) {
  .opt-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-help, .test fieldset > .opt, .test .opt-row, .test-help-top { margin-left: 0; }
  .test select { margin-left: 0; width: 100%; }
  .test-cta .field-row { flex-direction: column; }
}
.nav-links .nav-test { color: var(--accent); }
.nav-links .nav-test:hover, .nav-links .nav-test[aria-current="page"] { color: var(--accent-2); }
.drawer nav a.nav-test { color: var(--accent); }
.tr-jump { display: none; }
@media (max-width: 960px) {
  .tr-jump:not([hidden]) { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; background: var(--ink); color: #fff; border-radius: 6px; font-size: 14px; box-shadow: 0 10px 30px rgba(29, 26, 30, .25); }
  .tr-jump b { font-weight: 500; color: var(--on-accent); white-space: nowrap; }
}

/* ---------- v12 : liste des décryptages, une ouverture puis des rangées alternées ---------- */
.cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card { grid-column: span 3; }
.cards:not(.is-filtered) .card[data-shape="une"] { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 44px; align-items: center; padding-bottom: 52px; border-bottom: 1px solid var(--rule); }
.cards:not(.is-filtered) .card[data-shape="une"] .ph { margin-bottom: 0; }
.cards:not(.is-filtered) .card[data-shape="une"] h3 { font-size: 34px; line-height: 1.12; letter-spacing: -.015em; margin: 12px 0 12px; }
.cards:not(.is-filtered) .card[data-shape="une"] .dek { font: 400 18px/1.55 var(--serif); }
.cards:not(.is-filtered) .card[data-shape="texte"] { grid-column: span 2; padding-top: 20px; border-top: 2px solid var(--ink); }
.cards:not(.is-filtered) .card[data-shape="texte"] > a:first-child { display: none; }
.cards:not(.is-filtered) .card[data-shape="texte"] h3 { font-size: 21px; line-height: 1.25; margin-top: 8px; }
.cards:not(.is-filtered) .card[data-shape="texte"] .dek { font-size: 14.5px; }
@media (max-width: 960px) {
  .cards:not(.is-filtered) .card[data-shape="une"] { grid-template-columns: minmax(0, 1fr); }
  .cards:not(.is-filtered) .card[data-shape="une"] .ph { margin-bottom: 18px; }
  .cards:not(.is-filtered) .card[data-shape="une"] h3 { font-size: 28px; }
  .cards:not(.is-filtered) .card[data-shape="texte"] { grid-column: span 3; }
}
@media (max-width: 760px) {
  .card, .cards:not(.is-filtered) .card[data-shape="texte"] { grid-column: 1 / -1; }
}

/* ---------- v13 : estimation du coût d'un arrêt ---------- */
.bia { scroll-margin-top: 70px; }
.bia-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; border-top: 1px solid var(--ink); padding-top: 36px; }
.bia h2 { font: 600 30px/1.18 var(--serif); letter-spacing: -.012em; }
.bia-text p { font: 400 17px/1.6 var(--serif); color: var(--ink-2); margin-top: 12px; max-width: 60ch; }
.bia-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; }
.bia-form label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.bia-field { display: flex; align-items: center; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); }
.bia-field:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.bia-field input { flex: 1; min-width: 0; border: 0; background: none; font: 400 17px/1.3 var(--sans); padding: 12px 0 12px 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.bia-field input:focus { outline: none; }
.bia-field span { padding: 0 14px; font-size: 14px; color: var(--ink-3); }
.bia-out { background: var(--paper-2); padding: 24px 26px; border-top: 3px solid var(--accent); }
.bia-t { font-size: 13px; color: var(--ink-3); }
.bia-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border-top: 1px solid var(--rule-2); }
.bia-res > div { padding: 16px 14px 16px 0; }
.bia-res > div + div { padding-left: 14px; border-left: 1px solid var(--rule-2); }
.bia-res b { display: block; font: 400 26px/1.1 var(--serif); font-variation-settings: "opsz" 48; letter-spacing: -.02em; color: var(--accent); overflow-wrap: anywhere; }
.bia-res span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.bia-note { font-size: 13px; line-height: 1.55; color: var(--ink-2); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule-2); }
.tr-arret { margin-top: 14px !important; font-size: 14.5px; }
@media (max-width: 960px) {
  .bia-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .bia h2 { font-size: 25px; }
  .bia-form { grid-template-columns: minmax(0, 1fr); }
  .bia-res b { font-size: 21px; }
  .bia-out { padding: 20px 16px; }
}

/* ---------- v14 : cases du test, style plus actuel ---------- */
.test .opt { position: relative; gap: 14px; padding: 15px 16px; border: 1px solid var(--rule-2); border-radius: 10px; background: var(--paper); font-size: 15px; transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease); }
.test .opt:hover { border-color: var(--ink-3); background: var(--paper-2); }
.test .opt:active { transform: translateY(1px); }
.test .opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent), 0 8px 20px rgba(122, 28, 43, .10); }
.test .opt:has(input:checked) span { color: var(--accent-2); font-weight: 500; }
.test .opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.test .opt input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--rule-2); border-radius: 50%; background: var(--paper); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.test .opt:hover input[type="radio"] { border-color: var(--ink-3); }
.test .opt input[type="radio"]:checked { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 9px var(--accent); }
.test .opt input[type="radio"]:focus { outline: none; }
.opt-row { gap: 10px; }
.test select { appearance: none; -webkit-appearance: none; border: 1px solid var(--rule-2); border-radius: 10px; padding: 14px 44px 14px 16px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237A1C2B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.test select:hover { border-color: var(--ink-3); }
.test select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ghost); }
.chk input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 17px; height: 17px; margin-top: 2px; border: 1.5px solid var(--rule-2); border-radius: 4px; background: var(--paper) no-repeat center; cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.chk input[type="checkbox"]:checked { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.8 2.8L9 1.5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E"); }
.chk input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.perso, .test-result, .bia-out { border-radius: 10px; }
.perso-fields input, .bia-field { border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .test .opt, .test select, .chk input { transition: none; } .test .opt:active { transform: none; } }
.bia-long { display: grid; gap: 4px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--rule-2); }
.bia-long p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-2); }
.bia-long b { font: 400 19px/1.3 var(--serif); color: var(--ink); }
.bia-more { margin-top: 44px; }
.bia-more h3 { font: 600 22px/1.25 var(--serif); letter-spacing: -.01em; }
.bia-more > p { font: 400 16.5px/1.6 var(--serif); color: var(--ink-2); margin-top: 10px; max-width: 72ch; }
.bia-more .points { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.bia-more .points h4 { font: 600 17px/1.3 var(--serif); margin-bottom: 6px; }
.bia-more .points p { font-size: 15.5px; }
.bia-q .pieces { margin-top: 18px; border-radius: 10px; max-width: 820px; }
.bia-cta { font-size: 15.5px !important; }
@media (max-width: 960px) { .bia-more .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bia-more .points { grid-template-columns: minmax(0, 1fr); } }
.bia-q .pieces ul { list-style: none; padding: 0; margin: 0; }

/* ---------- v15 : fil de l'actualité ---------- */
.brief-more { padding-top: 14px; font-size: 14px; }
.fil-page > * { max-width: 860px; }
.fil-mois + .fil-mois { margin-top: 48px; }
.fil-mois h2 { font: 600 26px/1.2 var(--serif); letter-spacing: -.01em; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.fil { list-style: none; padding: 0; }
.fil li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 80px; }
.fil time { font: 500 14px/1.6 var(--sans); color: var(--accent); }
.fil-rub { font-size: 12.5px; color: var(--ink-3); }
.fil h3 { font: 600 21px/1.28 var(--serif); letter-spacing: -.005em; margin-top: 4px; }
.fil-txt { font: 400 17px/1.6 var(--serif); color: var(--ink-2); margin-top: 8px; max-width: 64ch; }
.fil-src { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.fil-src a:not(.link) { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .fil li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- v16 : vues par rôle enrichies ---------- */
body[data-role="achats"] { --role: #8C6414; --role-soft: #F7F0E1; --role-line: #E5D3A8; }
body[data-role="jur"]    { --role: #8A3D74; --role-soft: #F7ECF4; --role-line: #E8CBDF; }
body[data-role="prod"]   { --role: #5C6B22; --role-soft: #F0F2E3; --role-line: #D2D8AE; }
.role-opt[data-set-role="achats"] i { background: #8C6414; }
.role-opt[data-set-role="jur"] i { background: #8A3D74; }
.role-opt[data-set-role="prod"] i { background: #5C6B22; }

/* Menu : intitulé de la fonction et titres couverts */
.as-role .menu { width: 268px; }
.role-opt span { display: flex; flex-direction: column; gap: 2px; }
.role-opt small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); line-height: 1.3; }
.role-opt i { align-self: stretch; height: auto; min-height: 16px; }
.drawer .role-opt small { display: block; }

/* Bloc « Votre espace » sur l'accueil */
.espace { display: none; background: var(--role-soft); border-bottom: 1px solid var(--role-line); }
body.has-role .espace { display: block; }
.espace .wrap { padding-top: 22px; padding-bottom: 26px; }
.espace-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--role-line); }
.espace-titre { font: 600 20px/1.2 var(--serif); }
.espace-titre span { display: inline-block; margin-left: 12px; font: 400 13px/1 var(--sans); color: var(--role); }
.espace-titre span b { font-weight: 500; }
.espace-head .text-btn { font-size: 13px; }
.espace-role { display: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; padding-top: 16px; }
body[data-role="ceo"] [data-espace="ceo"], body[data-role="dsi"] [data-espace="dsi"], body[data-role="rssi"] [data-espace="rssi"],
body[data-role="drh"] [data-espace="drh"], body[data-role="daf"] [data-espace="daf"], body[data-role="achats"] [data-espace="achats"],
body[data-role="jur"] [data-espace="jur"], body[data-role="prod"] [data-espace="prod"] { display: grid; }
.esp-t { font: 500 12.5px/1.3 var(--sans); color: var(--role); margin-bottom: 8px; }
.esp-col p:not(.esp-t) { font: 400 15.5px/1.55 var(--serif); color: var(--ink); }
.esp-demande p:not(.esp-t) { font-size: 16.5px; }
.esp-lire { list-style: none; padding: 0; counter-reset: esp; }
.esp-lire li { counter-increment: esp; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid var(--role-line); font-size: 14.5px; line-height: 1.4; }
.esp-lire li:first-child { border-top: 0; padding-top: 0; }
.esp-lire li::before { content: counter(esp); font: 600 14px/1.4 var(--serif); color: var(--role); }
.esp-lire a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--role-line); text-underline-offset: 3px; }
.esp-lire a:hover { text-decoration-color: var(--role); }
.esp-date { font: 600 18px/1.3 var(--serif) !important; color: var(--role) !important; margin-bottom: 4px; }
@media (max-width: 960px) {
  .espace-role { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Ligne « Pour vous » dans les articles */
.pour-vous { display: none; margin-top: 20px; padding: 12px 16px 13px; border-radius: 8px; background: var(--role-soft); font: 400 16px/1.55 var(--serif); color: var(--ink); max-width: 62ch; }
.pour-vous span { display: block; font: 500 12.5px/1.3 var(--sans); color: var(--role); margin-bottom: 4px; }
body[data-role="ceo"] .pour-vous[data-pv="ceo"], body[data-role="dsi"] .pour-vous[data-pv="dsi"], body[data-role="rssi"] .pour-vous[data-pv="rssi"],
body[data-role="drh"] .pour-vous[data-pv="drh"], body[data-role="daf"] .pour-vous[data-pv="daf"], body[data-role="achats"] .pour-vous[data-pv="achats"],
body[data-role="jur"] .pour-vous[data-pv="jur"], body[data-role="prod"] .pour-vous[data-pv="prod"] { display: block; }
@media print { .espace, .pour-vous { display: none !important; } }
body.has-role .role-bar:has(+ .espace) { display: none; }
/* Exigences : objectifs pilotés en tête de leur pilier */
.obj-mine { margin-top: 18px; padding: 10px 14px; border-radius: 8px; background: var(--role-soft); font: 500 15px/1.4 var(--sans); color: var(--ink); max-width: 64ch; }
.obj-mine:empty { display: none; }
body.has-role .pillar { display: flex; flex-direction: column; }
body.has-role .pillar > .pillar-head { order: -2; }
body.has-role details.obj.is-pilot { order: -1; }
body.has-role details.obj:not(.is-for-you) > summary { opacity: .55; }
@media print { body.has-role .pillar { display: block; } body.has-role details.obj > summary { opacity: 1; } }

/* ---------- v17 : passages qui vous concernent, notes par fonction ---------- */
/* Filet fin dans la marge, sans décaler le texte ; mention dans la marge droite sur grand écran */
body.has-role .prose > [data-for].is-for-you:not(.note-role) { position: relative; }
body.has-role .prose > [data-for].is-for-you:not(.note-role)::before { content: ""; position: absolute; left: -26px; top: .45em; bottom: .45em; width: 2px; border-radius: 2px; background: var(--role); opacity: .55; }
body.has-role .prose > .is-for-you + [data-for].is-for-you:not(.note-role)::before { top: calc(-22px - .45em); }
body.has-role .prose > [data-for].is-for-you:not(.note-role)::after { content: none; }
@media (min-width: 1320px) {
  body.has-role .prose > [data-for].is-for-you:not(.note-role)::after { content: "Vous concerne"; position: absolute; top: .3em; right: -148px; width: 120px; font: 500 12px/1.3 var(--sans); color: var(--role); opacity: .85; }
  body.has-role .prose > .is-for-you + [data-for].is-for-you:not(.note-role)::after { content: none; }
}

/* Notes réservées à une fonction */
.note-role { display: none; margin: 18px 0 26px !important; padding: 14px 18px 15px; background: var(--role-soft); border-radius: 8px; }
.note-role p { font: 400 16.5px/1.55 var(--serif); color: var(--ink); }
.note-role::before { display: block; margin-bottom: 5px; font: 500 12.5px/1.3 var(--sans); color: var(--role); }
body[data-role="ceo"] .note-role[data-for~="ceo"], body[data-role="dsi"] .note-role[data-for~="dsi"], body[data-role="rssi"] .note-role[data-for~="rssi"],
body[data-role="drh"] .note-role[data-for~="drh"], body[data-role="daf"] .note-role[data-for~="daf"], body[data-role="achats"] .note-role[data-for~="achats"],
body[data-role="jur"] .note-role[data-for~="jur"], body[data-role="prod"] .note-role[data-for~="prod"] { display: block; }
body[data-role="ceo"] .note-role::before { content: "Note pour la direction"; }
body[data-role="dsi"] .note-role::before { content: "Note pour l'informatique"; }
body[data-role="rssi"] .note-role::before { content: "Note pour la sécurité"; }
body[data-role="drh"] .note-role::before { content: "Note pour les ressources humaines"; }
body[data-role="daf"] .note-role::before { content: "Note pour la finance"; }
body[data-role="achats"] .note-role::before { content: "Note pour les achats"; }
body[data-role="jur"] .note-role::before { content: "Note pour le juridique"; }
body[data-role="prod"] .note-role::before { content: "Note pour la production"; }

/* Compteur en tête d'article et repères dans le sommaire */
.passages { margin-top: 12px; font: 500 14px/1.5 var(--sans); color: var(--role); }
.passages[hidden] { display: none; }
.toc li.has-for-you a { color: var(--ink); }
.toc li.has-for-you a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--role); vertical-align: 1px; }

/* Fiches secteur : lignes du tableau qui concernent la fonction */
body.has-role .prose table.prio tr.is-for-you td { background: var(--role-soft); }

@media (max-width: 640px) {
  body.has-role .prose > [data-for].is-for-you:not(.note-role)::before { left: -11px; }
}
@media print {
  .note-role, .passages { display: none !important; }
  body.has-role .prose > [data-for].is-for-you::before, body.has-role .prose > [data-for].is-for-you::after { display: none !important; }
}

/* ---------- v18 : allègement des filets et encadrés ---------- */
.box-30s { border-left: 0; border-radius: 10px; }
.avis { border-left: 0; border-radius: 8px; }
.finder-empty { border-left: 0; border-radius: 10px; }
.fiche-card { border-top: 0; border-radius: 10px; }
.test-result { border-top: 0; }
.perso { border-top-width: 1px; }
.bia-out { border-top: 0; }
.brief, .keyfigs, .timeline, .fig-grid, .countdown, .cards:not(.is-filtered) .card[data-shape="texte"] { border-top-width: 1px; }
.pillar-head, .si-head { border-bottom-width: 1px; }
.role-swatch { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- v19 : repères « Pour vous » fermés, sans filet ---------- */
/* Étiquette : un point de la couleur de la vue, comme dans le menu */
.fy { gap: 6px; font-weight: 500; letter-spacing: 0; }
.fy::before { display: inline-block; content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--role); flex: none; }

/* Listes : la ligne concernée devient un fond doux arrondi ; les filets voisins s'effacent */
.brief-list li.is-for-you, .fil li.is-for-you { margin: 4px -12px; padding-left: 12px; padding-right: 12px; border-radius: 10px; background: var(--role-soft); border-bottom-color: transparent; }
.brief-list li:has(+ li.is-for-you), .fil li:has(+ li.is-for-you) { border-bottom-color: transparent; }
.position-list li.is-for-you a, .sector-list li.is-for-you a { margin: 4px -12px; padding-left: 12px; padding-right: 12px; border-radius: 10px; background: var(--role-soft); border-bottom-color: transparent; }
.position-list li:has(+ li.is-for-you) a, .sector-list li:has(+ li.is-for-you) a { border-bottom-color: transparent; }

/* Tableaux des fiches secteur : rangée teintée aux bouts arrondis */
body.has-role .prose table.prio { border-collapse: separate; border-spacing: 0; }
body.has-role .prose table.prio th:first-child, body.has-role .prose table.prio td:first-child { padding-left: 12px; }
body.has-role .prose table.prio tr.is-for-you td { border-bottom-color: transparent; }
body.has-role .prose table.prio tr.is-for-you td:first-child { border-radius: 10px 0 0 10px; }
body.has-role .prose table.prio tr.is-for-you td:last-child { border-radius: 0 10px 10px 0; }
body.has-role .prose table.prio tr:has(+ tr.is-for-you) td { border-bottom-color: transparent; }
body.has-role .prose table.prio tr.is-for-you + tr.is-for-you td { box-shadow: inset 0 3px 0 var(--paper); }

/* Objectifs pilotés : en-tête teinté ; les autres objectifs concernés restent nets, les autres s'estompent */
body.has-role details.obj.is-pilot > summary { margin: 6px -14px; padding-left: 14px; padding-right: 14px; border-radius: 10px; background: var(--role-soft); }
body.has-role details.obj.is-pilot:not([open]) { border-bottom-color: transparent; }
.fil-rub { display: flex; align-items: center; gap: 12px; }

/* ---------- v20 : activités reconnues par la recherche de secteur ---------- */
.sugg { border-color: var(--rule-2); border-radius: 10px; }
.sugg .sg-act .sg-picto { grid-row: span 4; }
.sg-out { display: block; width: 14px; height: 14px; margin: 6px 0 0 4px; border: 1.5px solid var(--ink-3); border-radius: 50%; }
.sg-note { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 3px; }
.sg-act .sg-sub { white-space: normal; }
.sugg .sg-act + [role="option"]:not(.sg-act) { border-top: 1px solid var(--rule); }
.finder-note { margin-top: 12px; max-width: 760px; padding: 14px 18px; border-radius: 10px; background: var(--paper-2); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.finder-note b { color: var(--ink); font-weight: 600; }
.finder-note[hidden] { display: none; }

/* ---------- v21 : carte des retardataires ---------- */
.sw-on { background: #E7C2C9; }
.sw-out { background: #DCDCDA; }
.eu-legend { flex-wrap: wrap; gap: 10px 22px; }
.eu-n { font-weight: 600; color: var(--accent); }

/* ---------- v22 : appel à la newsletter personnalisée ---------- */
.head-cta { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 24px; }
.head-cta span { font-size: 14px; color: var(--ink-3); }
.perso { scroll-margin-top: 90px; }

/* ---------- v23 : mention de mise à jour d'un article ---------- */
.prose .maj { padding: 10px 14px; border-radius: 8px; background: var(--paper-2); font: 400 14.5px/1.5 var(--sans); color: var(--ink-2); }
.prose .maj b { font-weight: 600; color: var(--ink); }

/* ---------- v24 : test, newsletter et outil d'arrêt séparés ---------- */
.perso-band { background: var(--accent-soft); border-top: 1px solid var(--accent-ghost); border-bottom: 1px solid var(--accent-ghost); padding: 48px 0 52px; margin-top: 24px; }
.perso-band .perso { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: start; background: var(--paper); border: 0; border-radius: 12px; padding: 32px 36px 34px; box-shadow: 0 1px 0 var(--accent-ghost); scroll-margin-top: 90px; }
.perso-step { font: 500 13px/1.3 var(--sans); color: var(--accent); margin-bottom: 8px; }
.perso-band .perso h2 { font: 600 26px/1.2 var(--serif); }
.perso-band .perso-sum { font-size: 15px; margin-top: 12px; }
.perso-note { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
.perso-band .perso-topics { margin-top: 0; }
.perso-band .perso .btn { width: auto; }
.bia-band { border-top: 1px solid var(--rule); margin-top: 0; }
.bia-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1.3 var(--sans); color: var(--ink-3); margin-bottom: 18px; }
.bia-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.bia-band .bia-in { border-top: 0; padding-top: 0; }
@media (max-width: 860px) {
  .perso-band { padding: 32px 0 36px; }
  .perso-band .perso { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 26px; }
  .perso-band .perso .btn { width: 100%; }
}

/* v25 — actions du résultat du test */
.tr-actions { display: grid; gap: 14px; justify-items: start; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); }
.tr-cta { width: 100%; justify-content: center; text-align: center; border-radius: 8px; padding: 14px 18px; font-size: 15px; }
.tr-role { --c: var(--ink-2); --cs: var(--paper); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 0; border-radius: 999px; background: var(--cs); color: var(--c); font: 500 13px/1.3 var(--sans); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.tr-role:hover { text-decoration: underline; text-underline-offset: 3px; }
.tr-role:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.tr-role-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.tr-role[data-set-role="ceo"]    { --c: #2C5AA0; --cs: #EAF0FA; }
.tr-role[data-set-role="drh"]    { --c: #B5561A; --cs: #FCEFE5; }
.tr-role[data-set-role="rssi"]   { --c: #6A3E9E; --cs: #F2ECF9; }
.tr-role[data-set-role="dsi"]    { --c: #2F7A4C; --cs: #E8F3EC; }
.tr-role[data-set-role="daf"]    { --c: #0E6F7A; --cs: #E4F2F3; }
.tr-role[data-set-role="achats"] { --c: #8C6414; --cs: #F7F0E1; }
.tr-role[data-set-role="jur"]    { --c: #8A3D74; --cs: #F7ECF4; }
.tr-role[data-set-role="prod"]   { --c: #5C6B22; --cs: #F0F2E3; }
