/* Gabarit « décryptage » : feuille à part, chargée après style.css (21 oct. 2026). Toutes les pages refaites en dépendent : ne pas vider. */

/* Articles « décryptage » : barre d'ancres, sections numérotées, encadré « À retenir » (remis une 2e fois le 21 oct. 2026 : bloc disparu de la feuille) */
.vac-nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e3e7ef; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.vac-nav .n-wrap { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.vac-nav .n-wrap::-webkit-scrollbar { display: none; }
.vac-nav a { padding: 1rem 0 .85rem; border-bottom: 3px solid transparent; font: 700 .84rem var(--titre); color: var(--nuit); text-decoration: none; }
.vac-nav a:hover, .vac-nav a:focus-visible, .vac-nav a.vac-nav--ici { border-bottom-color: var(--dore); }
.vac-corps { grid-template-columns: minmax(0, 1fr) !important; }
.vac-corps .proto-texte { max-width: 52rem; margin: 0 auto; }
.vac-sec { padding: 2.4rem 0 2.2rem; border-bottom: 1px solid #e3e7ef; scroll-margin-top: 4.5rem; }
.vac-sec:last-child { border-bottom: 0; }
.proto-texte .vac-sec > h2 { margin-top: .2rem; }
.proto-texte p.vac-kicker { margin: 0 0 .5rem; font-family: var(--titre) !important; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .13em; text-transform: uppercase; color: var(--or-texte, #8c6a2f); }
.proto-texte .vac-sec p.vac-fort { font-family: var(--titre) !important; font-size: 1.18rem !important; font-weight: 600 !important; line-height: 1.55 !important; color: var(--nuit); }
.proto-texte .vac-comprendre { margin: 1.6rem 0 .4rem; padding: 1.1rem 1.4rem; border-left: 4px solid var(--dore); background: #f6f4ef; border-radius: 0 8px 8px 0; }
.proto-texte .vac-comprendre p { margin: 0; font-size: .97rem !important; line-height: 1.65 !important; }
.proto-texte .vac-comprendre .n-etiquette { margin-bottom: .35rem; }
.proto-texte p.vac-sous { margin: 1.6rem 0 .4rem; font-family: var(--titre) !important; font-size: 1.02rem !important; font-weight: 700 !important; color: var(--nuit); }
.vac-sec.n-retenir { padding: 2rem 1.6rem; border-bottom: 0; margin: 2.4rem 0; }
.vac-sec.n-retenir p.vac-kicker { color: var(--dore); }
.vac-sec.n-sources .vac-kicker { margin-bottom: .2rem; }
@media (max-width: 600px) { .vac-nav .n-wrap { gap: 1.1rem; } .vac-sec { padding: 1.8rem 0 1.6rem; } .proto-texte .vac-sec p.vac-fort { font-size: 1.06rem !important; } .vac-sec.n-retenir { padding: 1.4rem 1rem; } }

/* Logements vacants : page refaite en visuels (21 oct. 2026) */
.vx-mots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.2rem 0; }
.vx-mot { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 5px solid var(--c); }
.vx-mot--loue { --c: var(--nuit); } .vx-mot--vacant { --c: var(--dore); } .vx-mot--hors { --c: #8a93a6; }
.proto-texte .vx-mot p { margin: 0; font-size: .9rem; line-height: 1.45; color: #4a5164; }
.proto-texte .vx-mot p.vx-mot__t { font: 800 1.15rem var(--titre); color: var(--nuit); }
.proto-texte .vx-mot p.vx-mot__n { margin-top: auto; padding-top: .5rem; font: 800 1.6rem var(--titre); color: var(--nuit); }
.vx-mot--vacant p.vx-mot__n { color: #8c6a2f !important; }
.vx-mot--hors p.vx-mot__n { color: #5b6378 !important; }
@media (max-width: 640px) { .vx-mots { grid-template-columns: 1fr; } .proto-texte .vx-mot p.vx-mot__n { font-size: 1.35rem; } }

.vx-cent { display: grid; grid-template-columns: minmax(0, 20rem) 1fr; gap: 1.6rem; align-items: center; margin: 1.2rem 0 1.4rem; }
.vx-grille { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.vx-grille i { aspect-ratio: 1; border-radius: 3px; }
.vx-c--loue { background: var(--nuit); } .vx-c--vacant { background: var(--dore); } .vx-c--hors { background: #b9c0cf; }
.vx-grille i.vx-c--vacant { box-shadow: 0 0 0 3px #f3e3bf; }
.proto-texte .vx-cent__leg p { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .5rem; font-size: 1rem; color: #4a5164; }
.vx-cent__leg i { width: .9rem; height: .9rem; border-radius: 3px; display: inline-block; flex: none; }
.vx-cent__leg b { font: 800 1.7rem var(--titre); color: var(--nuit); min-width: 2.4rem; }
.vx-cent__leg small { font-size: .78rem; color: #7a8297; }
.proto-texte .vx-cent__leg p.vx-cent__note { display: block; margin-top: .8rem; font-size: .78rem; color: #7a8297; }
@media (max-width: 640px) { .vx-cent { grid-template-columns: 1fr; } .vx-grille { max-width: 18rem; } }

.vx-verdict { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.2rem 0 0; }
.proto-texte .vx-verdict p { display: grid; gap: .2rem; margin: 0; padding: .9rem 1rem; border-radius: 8px; background: var(--nuit); color: #fff; font-size: .86rem; line-height: 1.4; }
.vx-verdict b { font: 800 1.5rem var(--titre); color: var(--dore); }
.vx-verdict span { color: #dfe3ec; }
@media (max-width: 640px) { .vx-verdict { grid-template-columns: 1fr; } }

.vx-ombre { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; margin: 1.2rem 0; }
.vx-ombre__gros { display: grid; align-content: center; padding: 1.2rem; border-radius: 10px; background: repeating-linear-gradient(45deg, #eef0f4 0 10px, #e3e7ef 10px 20px); }
.vx-ombre__gros b { font: 800 2.3rem/1 var(--titre); color: var(--nuit); }
.vx-ombre__gros span { margin-top: .4rem; font-size: .84rem; color: #4a5164; }
.vx-ombre__cases { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.vx-ombre__cases span { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 8px; border: 2px dashed #c3cbda; font: 600 .9rem/1.3 var(--titre); color: var(--nuit); }
.vx-ombre__cases b { flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--dore); color: var(--nuit); font: 800 1rem var(--titre); }
@media (max-width: 640px) { .vx-ombre, .vx-ombre__cases { grid-template-columns: 1fr; } }
.proto-texte ol.vx-q { counter-reset: q; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .4rem 0 1.2rem; padding: 0; }
.proto-texte ol.vx-q li { counter-increment: q; display: flex; gap: .7rem; align-items: baseline; margin: 0; padding: .8rem 1rem; border-radius: 8px; background: #f4f6fa; font-size: .95rem; line-height: 1.4; color: #2a3247; }
.proto-texte ol.vx-q li::before { content: counter(q, decimal-leading-zero); position: static; width: auto; height: auto; background: none; border: 0; font: 800 .9rem var(--titre); color: #8c6a2f; }
@media (max-width: 640px) { .proto-texte ol.vx-q { grid-template-columns: 1fr; } }
.proto-texte p.vx-pourquoi { font-size: .9rem; color: #4a5164; }

.vx-frise { position: relative; margin: 2rem .4rem 5.6rem; }
.vx-frise__axe { position: relative; height: 12px; border-radius: 6px; background: #e3e7ef; }
.vx-frise__plein { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: repeating-linear-gradient(45deg, #b3261e 0 8px, #c9473f 8px 16px); }
.vx-frise__ici { position: absolute; top: -1.8rem; transform: translateX(-50%); font: 700 .7rem var(--titre); color: #b3261e; white-space: nowrap; }
.vx-frise__ici::after { content: ""; position: absolute; left: 50%; top: 1.2rem; height: 1.6rem; border-left: 2px solid #b3261e; }
.vx-frise__pts { position: relative; height: 0; }
.vx-frise__pts > div { position: absolute; top: .5rem; display: grid; gap: .1rem; width: 8.5rem; transform: translateX(-50%); text-align: center; }
.vx-frise__pts > div:first-child { transform: none; text-align: left; }
.vx-frise__pts > div:last-child { transform: translateX(-100%); text-align: right; }
.vx-frise__pts > div::before { content: ""; justify-self: center; width: 14px; height: 14px; margin-top: -1.15rem; margin-bottom: .2rem; border-radius: 50%; background: #fff; border: 3px solid var(--nuit); }
.vx-frise__pts > div:first-child::before { justify-self: start; } .vx-frise__pts > div:last-child::before { justify-self: end; }
.vx-frise__pts b { font: 800 1rem var(--titre); color: var(--nuit); }
.vx-frise__pts span { font-size: .74rem; line-height: 1.3; color: #5b6070; }
@media (max-width: 640px) {
  .vx-frise { margin: 1rem 0 1rem; padding-left: 1.6rem; }
  .vx-frise__axe { position: absolute; left: .3rem; top: 0; bottom: 0; width: 10px; height: auto; }
  .vx-frise__plein { width: 100% !important; bottom: auto; height: 81.8%; background: repeating-linear-gradient(-45deg, #b3261e 0 8px, #c9473f 8px 16px); }
  .vx-frise__ici { display: none; }
  .vx-frise__pts { height: auto; display: grid; gap: 1rem; }
  .vx-frise__pts > div, .vx-frise__pts > div:first-child, .vx-frise__pts > div:last-child { position: static; transform: none; width: auto; text-align: left; }
  .vx-frise__pts > div::before { display: none; }
  .vx-frise__pts span br { display: none; }
}
.vx-budget { display: grid; gap: .5rem; margin: 0 0 1rem; }
.proto-texte p.vx-budget__t { margin: 0; font: 700 .74rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.vx-budget > div { display: grid; grid-template-columns: 3rem 1fr 5rem; gap: .7rem; align-items: center; font: 700 .86rem var(--titre); color: var(--nuit); }
.vx-budget__p { height: 16px; border-radius: 3px; background: #eef1f6; }
.vx-budget__p span { display: block; height: 100%; border-radius: 3px; background: var(--nuit); }
.vx-budget--or .vx-budget__p span { background: #b3261e; }
.vx-budget b { text-align: right; font-size: 1rem; }

.vx-quatre { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; }
.vx-quatre > div { display: grid; gap: .3rem; align-content: start; padding: 1rem; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.vx-quatre b { font: 800 1.45rem var(--titre); color: var(--dore); }
.vx-quatre span { font-size: .84rem; line-height: 1.4; color: #dfe3ec; }
@media (max-width: 760px) { .vx-quatre { grid-template-columns: 1fr 1fr; } }

/* France / Europe : page passée au thème du site (21 oct. 2026) */
.fe-split { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.fe-split__l { display: grid; grid-template-columns: 9rem 1fr; gap: .8rem; align-items: center; }
.fe-split__pays { font: 700 .9rem var(--titre); color: var(--nuit); }
.fe-split__barre { display: flex; gap: 2px; height: 2.4rem; border-radius: 4px; overflow: hidden; }
.fe-split__barre > span { display: flex; align-items: center; padding: 0 .7rem; font: 800 .92rem var(--titre); white-space: nowrap; }
.fe-proprio { background: var(--nuit); color: #fff; }
.fe-loc { background: var(--dore); color: var(--nuit); justify-content: flex-end; }
.fe-proprio--ue { background: #5b6b8c; }
.fe-loc--ue { background: #e4cf9f; }
.proto-texte.fe p.fe-split__leg { display: flex; gap: 1.2rem; margin: .2rem 0 0 9.8rem; font-size: .84rem !important; color: #4a5164; }
.fe-split__leg span { display: inline-flex; align-items: center; gap: .4rem; }
.fe-split__leg i { width: .8rem; height: .8rem; border-radius: 2px; display: inline-block; }
@media (max-width: 640px) { .fe-split__l { grid-template-columns: 1fr; gap: .3rem; } .proto-texte.fe p.fe-split__leg { margin-left: 0; } }

.fe-gros { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0 .4rem; }
.fe-gros > div { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; border-radius: 10px; background: var(--nuit); }
.fe-gros b { font: 800 2.4rem/1 var(--titre); color: var(--dore); }
.fe-gros span { font-size: .9rem; color: #dfe3ec; }
.fe-gros .fe-gros--gris { background: #f4f6fa; }
.fe-gros .fe-gros--gris b { color: var(--nuit); }
.fe-gros .fe-gros--gris span { color: #4a5164; }
@media (max-width: 640px) { .fe-gros { grid-template-columns: 1fr; } .fe-gros b { font-size: 2rem; } }

.n-rang.fe-moy .n-rang__plein { background: var(--dore); }
.n-rang.fe-moy .n-rang__nom { font-style: italic; }

.fe-evo { display: grid; gap: .3rem; margin: .4rem 0; }
.proto-texte.fe .fe-evo p { display: flex; justify-content: space-between; margin: 0; padding: .35rem 0; border-bottom: 1px solid #eef0f4; font-size: .92rem !important; }
.fe-evo b { font: 800 1.1rem var(--titre); color: var(--nuit); }
.proto-texte.fe p.fe-petit { margin: .4rem 0 0; font-size: .78rem !important; color: #7a8297; }

.fe-div { display: grid; gap: .5rem; margin: .6rem 0 .4rem; }
.fe-div > div { display: grid; grid-template-columns: 8rem 1fr 4rem; gap: .8rem; align-items: center; font-size: .9rem; color: #4a5164; }
.fe-div__nom { font: 600 .88rem var(--titre); color: var(--nuit); }
.fe-div__axe { position: relative; height: 18px; background: linear-gradient(90deg, #f2f3f6 0 70%, #f7f8fa 70%); }
.fe-div__axe::after { content: ""; position: absolute; left: 70%; top: -4px; bottom: -4px; border-left: 2px solid var(--nuit); }
.fe-div__neg { position: absolute; right: 30%; top: 0; bottom: 0; max-width: 70%; background: #8a93a6; border-radius: 3px 0 0 3px; }
.fe-div__pos { position: absolute; left: 70%; top: 0; bottom: 0; background: var(--dore); border-radius: 0 3px 3px 0; }
.fe-div--fort .fe-div__neg { background: #b3261e; }
.fe-div--fort .fe-div__nom, .fe-div--fort b { color: #b3261e; }
.fe-div b { text-align: right; font: 800 1rem var(--titre); color: var(--nuit); }
@media (max-width: 640px) { .fe-div > div { grid-template-columns: 5.5rem 1fr 3.4rem; gap: .5rem; } }

.proto-texte.fe .n-deux p.n-deux__titre { font-family: var(--titre) !important; font-size: 1.45rem !important; font-weight: 800 !important; line-height: 1.2 !important; }
.proto-texte.fe .n-retenir h2.n-retenir__titre { color: #fff !important; }
.proto-texte.fe .vx-quatre b { font-size: 1.3rem; }

/* Ancols sous-investissement : article refait en visuels, même gabarit que vacants / France-Europe (21 oct. 2026) */
.si .vx-cent { grid-template-columns: minmax(0, 26rem) 1fr; }
.si-grille { grid-template-columns: repeat(28, 1fr) !important; gap: 2px !important; }
.si-grille i { border-radius: 2px !important; }
.si-c--3ans { background: #b3261e; } .si-c--2024 { background: var(--dore); } .si-c--ok { background: #d5dae4; }
.vx-cent__leg i.si-c--3ans, .vx-cent__leg i.si-c--2024, .vx-cent__leg i.si-c--ok { width: .9rem; height: .9rem; border-radius: 3px; display: inline-block; flex: none; }
.si-dix { grid-template-columns: minmax(0, 18rem) 1fr !important; margin-top: 1.6rem; }
.vx-grille--dix { grid-template-columns: repeat(10, 1fr) !important; gap: 5px !important; }
.vx-grille--dix i { aspect-ratio: 1; clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%); border-radius: 0 !important; }
.si-c--peut { background: #1f8a5b; } .si-c--pas { background: #d5dae4; }
.proto-texte.si .si-dix .vx-cent__leg p { font-size: 1.05rem !important; }
.proto-texte.si .si-dix .vx-cent__leg b { color: #1f8a5b; }

.si-ou { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; margin: .6rem 0 .4rem; }
.si-ou > div { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; border-radius: 10px; background: var(--nuit); }
.si-ou > div:last-child { background: #f4f6fa; }
.si-ou b { font: 800 2.3rem/1 var(--titre); color: var(--dore); }
.si-ou > div:last-child b { color: var(--nuit); }
.si-ou > div span { font-size: .9rem; color: #dfe3ec; }
.si-ou > div:last-child span { color: #4a5164; }
.si-ou__ou { font: 800 .8rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #9aa0ae; }
@media (max-width: 640px) { .si-ou { grid-template-columns: 1fr; } .si-ou__ou { justify-self: center; } .si-ou b { font-size: 1.9rem; } }

.si-ans { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: .5rem; align-items: stretch; margin: 1rem 0; }
.si-ans > div { display: grid; gap: .4rem; padding: .8rem; border-radius: 8px; background: #fbeeed; border: 2px solid #b3261e; text-align: center; }
.si-ans > div span { font: 800 1.1rem var(--titre); color: #b3261e; }
.si-ans > div i { height: 8px; border-radius: 4px; background: repeating-linear-gradient(45deg, #b3261e 0 6px, #d4524a 6px 12px); }
.proto-texte.si .si-ans p { display: grid; align-content: center; margin: 0; padding: .8rem 1rem; border-radius: 8px; background: var(--nuit); color: #dfe3ec; font-size: .88rem !important; line-height: 1.4 !important; }
.si-ans p b { font: 800 1.5rem var(--titre); color: var(--dore); }
@media (max-width: 640px) { .si-ans { grid-template-columns: repeat(3, 1fr); } .proto-texte.si .si-ans p { grid-column: 1 / -1; } }

.si-cmp { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.si-cmp__l { display: grid; grid-template-columns: 13rem 1fr 6.5rem; gap: .8rem; align-items: center; font: 600 .88rem/1.3 var(--titre); color: var(--nuit); }
.si-cmp__p { position: relative; height: 22px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.si-cmp__p > span { position: absolute; top: 0; bottom: 0; left: 0; }
.si-cmp__fonds { background: #1f8a5b; }
.si-cmp__min { background: #b3261e; }
.si-cmp__besoin { background: repeating-linear-gradient(45deg, #b3261e 0 6px, #f0c9c5 6px 12px); }
.si-cmp__l b { text-align: right; font: 800 1rem var(--titre); }
@media (max-width: 640px) { .si-cmp__l { grid-template-columns: 1fr auto; gap: .3rem .6rem; } .si-cmp__p { grid-column: 1 / -1; grid-row: 2; } }

.si-demandes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0; }
.si-demandes > div { display: grid; gap: .5rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 4px solid var(--dore); }
.si-demandes b { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--nuit); color: var(--dore); font: 800 1rem var(--titre); }
.proto-texte.si .si-demandes p { margin: 0; font-size: .92rem !important; line-height: 1.5 !important; }
@media (max-width: 760px) { .si-demandes { grid-template-columns: 1fr; } }
.proto-texte.si .n-deux p.n-deux__titre { font-family: var(--titre) !important; font-size: 1.45rem !important; font-weight: 800 !important; line-height: 1.2 !important; }
.proto-texte.si .n-retenir h2.n-retenir__titre { color: #fff !important; }

/* Gabarit « décryptage » commun (vx) : règles partagées par toutes les pages refaites (21 oct. 2026) */
.proto-texte.vx .n-deux p.n-deux__titre { font-family: var(--titre) !important; font-size: 1.45rem !important; font-weight: 800 !important; line-height: 1.2 !important; }
.proto-texte.vx .n-retenir h2.n-retenir__titre { color: #fff !important; }
.proto-texte.vx .si-demandes p { margin: 0; font-size: .92rem !important; line-height: 1.5 !important; }
.proto-texte.vx .si-ans p { font-size: .88rem !important; }
.proto-texte.vx p.vx-pourquoi { font-size: .9rem !important; }
.proto-texte.vx > aside.n-savoir:first-child { margin-top: 2rem; }
.proto-texte.vx .n-cta { margin-top: 1.4rem; }

/* Accès : calculateur de plafonds */
.ac2-calc { margin: 1rem 0 .6rem; padding: 1.2rem; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ac2-foyers { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.ac2-foyers button { display: grid; gap: .05rem; padding: .55rem .3rem; border: 1px solid #e3e7ef; border-radius: 8px; background: #f4f6fa; color: var(--nuit); cursor: pointer; font-family: var(--titre); }
.ac2-foyers button b { font-size: 1.35rem; font-weight: 800; }
.ac2-foyers button span { font-size: .7rem; color: #5b6070; }
.ac2-foyers button[aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.ac2-foyers button[aria-selected="true"] b { color: var(--dore); }
.ac2-foyers button[aria-selected="true"] span { color: #dfe3ec; }
.proto-texte.vx p.ac2-equiv { margin: .8rem 0 .6rem; font-size: .88rem !important; color: #5b6070; }
.ac2-barres { display: grid; gap: .6rem; }
.ac2-barres > div { display: grid; grid-template-columns: 11rem 1fr 7rem; gap: .8rem; align-items: center; }
.ac2-nom { display: grid; }
.ac2-nom b { font: 800 1rem var(--titre); color: var(--nuit); }
.ac2-nom small { font-size: .72rem; color: #7a8297; }
.ac2-piste { height: 26px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.ac2-piste > span { display: block; height: 100%; border-radius: 4px; background: var(--c, var(--nuit)); transition: width .35s ease; }
.ac2-barres .c-plai .ac2-piste > span { background: var(--plai, #101b34); }
.ac2-barres .c-plus .ac2-piste > span { background: var(--plus, #3d5a8a); }
.ac2-barres .c-pls .ac2-piste > span { background: var(--pls, #c9a35b); }
.ac2-barres .c-pli .ac2-piste > span { background: var(--pli, #8a93a6); }
.ac2-val { text-align: right; font: 800 1.1rem var(--titre); color: var(--nuit); white-space: nowrap; }
.proto-texte.vx p.ac2-plus { margin: .9rem 0 0; font-size: .8rem !important; color: #5b6070; }
.ac2-tableaux { margin-top: 1rem; }
@media (max-width: 640px) {
  .ac2-foyers { grid-template-columns: repeat(3, 1fr); }
  .ac2-barres > div { grid-template-columns: 1fr auto; gap: .3rem .6rem; }
  .ac2-piste { grid-column: 1 / -1; grid-row: 2; height: 20px; }
}

/* Attente */
.at-evo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; height: 13rem; margin: 1rem 0 .4rem; padding: 0 .5rem; border-bottom: 2px solid var(--nuit); }
.at-evo > div { position: relative; display: flex; flex-direction: column-reverse; align-items: center; height: 100%; }
.at-evo > div > span:first-child { position: absolute; bottom: -1.7rem; font: 700 .82rem var(--titre); color: var(--nuit); white-space: nowrap; }
.at-evo__b { position: relative; width: min(6rem, 80%); border-radius: 6px 6px 0 0; background: #8a98b4; }
.at-evo--fort .at-evo__b { background: var(--nuit); }
.at-evo--or .at-evo__b { background: var(--dore); }
.at-evo__b b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: .3rem; font: 800 1.1rem var(--titre); color: var(--nuit); white-space: nowrap; }
.at-evo + .n-legende { margin-top: 2.4rem !important; }
.at-filtre { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0; }
.at-filtre span { padding: .6rem 1rem; border-radius: 999px; background: #f4f6fa; border: 1px solid #e3e7ef; font: 700 .9rem var(--titre); color: var(--nuit); }
.at-filtre i { font: 800 1.1rem var(--titre); font-style: normal; color: #9aa0ae; }
.at-filtre span.at-filtre--or { background: var(--nuit); border-color: var(--nuit); color: var(--dore); }
.at-perdu { background: #c3cbda; color: var(--nuit); justify-content: flex-end; }
.at .fe-split__l { grid-template-columns: 1fr; }
.at .fe-split__barre { height: 3rem; }
.at-raisons > div b { font-size: 1.1rem; }

/* Habitat indigne */
.hi-entonnoir { display: grid; gap: .5rem; margin: 1rem 0 1.4rem; }
.hi-entonnoir > div { display: grid; grid-template-columns: var(--w) 1fr; gap: .8rem; align-items: center; }
.hi-entonnoir b { display: flex; align-items: center; height: 3rem; padding: 0 .9rem; border-radius: 6px; background: var(--nuit); color: #fff; font: 800 1.3rem var(--titre); white-space: nowrap; min-width: 5.5rem; box-sizing: border-box; }
.hi-entonnoir--or b { background: var(--dore) !important; color: var(--nuit) !important; }
.hi-entonnoir span { font-size: .9rem; color: #4a5164; }
.hi-entonnoir > div:first-child { grid-template-columns: 1fr; }
.hi-entonnoir > div:first-child span { order: -1; }
.hi-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0 .4rem; }
.hi-trois > div { display: grid; gap: .3rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 5px solid var(--c); }
.hi-c--secu { --c: var(--dore); } .hi-c--insa { --c: var(--nuit); } .hi-c--plomb { --c: #b3261e; }
.hi-trois b { font: 800 2rem/1 var(--titre); color: var(--nuit); }
.hi-trois span { font-size: .88rem; line-height: 1.45; color: #4a5164; }
@media (max-width: 640px) { .hi-trois { grid-template-columns: 1fr; } }
.hi-condamnations > div b { width: auto; height: auto; padding: .25rem .6rem; border-radius: 999px; justify-self: start; font-size: .9rem; }
.hi-info { margin: 1.6rem 0; }
.hi-info img { display: block; width: 100%; height: auto; margin-top: 1rem; border: 1px solid #e3e7ef; }

/* SRU */
.sru-qui > div b { font-size: 1rem; }
.proto-texte.vx p.sru-leg { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-bottom: .4rem !important; }
.sru-leg span { display: inline-flex; align-items: center; gap: .35rem; }
.sru-leg i { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; }
.sru-i--taux { background: var(--nuit); }
.sru-i--obj { width: 3px !important; height: 1rem !important; background: var(--dore); }
.sru-barres { display: grid; gap: .45rem; margin: .6rem 0 .4rem; }
.sru-l { display: grid; grid-template-columns: 11rem 1fr 4.6rem; gap: .8rem; align-items: center; }
.sru-l__nom { display: grid; font: 700 .88rem/1.25 var(--titre); color: var(--nuit); }
.sru-l__nom small { font: 400 .72rem var(--texte, inherit); color: #7a8297; }
.sru-l__piste { position: relative; height: 18px; border-radius: 3px; background: #eef1f6; }
.sru-l__taux { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--nuit); }
.sru-l__piste i { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: var(--dore); }
.sru-l b { text-align: right; font: 800 .95rem var(--titre); color: var(--nuit); }
.sru-l--rouge .sru-l__taux { background: #b3261e; }
.sru-l--rouge b, .sru-l--rouge .sru-l__nom small { color: #b3261e; }
.sru-l--fort .sru-l__taux { background: var(--dore); }
.sru-l--fort .sru-l__nom { color: var(--nuit); }
@media (max-width: 640px) { .sru-l { grid-template-columns: 1fr auto; gap: .2rem .6rem; } .sru-l__piste { grid-column: 1 / -1; grid-row: 2; } }
.sru-jauges { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0 .4rem; }
.sru-jauges > div { display: grid; gap: .35rem; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; }
.sru-jauges .sru-j--paris { background: var(--nuit); border-color: var(--nuit); }
.sru-j--paris b, .sru-j--paris .n-etiquette { color: var(--dore) !important; }
.sru-j--paris small { color: #dfe3ec !important; }
.sru-j { position: relative; display: block; height: 14px; border-radius: 3px; background: #eef1f6; }
.sru-j > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--nuit); }
.sru-j--paris .sru-j { background: rgba(255,255,255,.15); }
.sru-j--paris .sru-j > span { background: var(--dore); }
.sru-j--rouge .sru-j > span { background: #b3261e; }
.sru-j i { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--dore); }
.sru-jauges b { font: 800 1.6rem var(--titre); color: var(--nuit); }
.sru-j--rouge b { color: #b3261e; }
.sru-jauges small { font-size: .82rem; line-height: 1.4; color: #4a5164; }
@media (max-width: 640px) { .sru-jauges { grid-template-columns: 1fr; } }
.sru-mots { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin: 1rem 0; }
.sru-mots > div { display: grid; gap: .3rem; align-content: start; padding: .9rem; border-radius: 8px; background: #f4f6fa; border-top: 3px solid var(--dore); }
.sru-mots b { font: 800 .98rem var(--titre); color: var(--nuit); }
.proto-texte.vx .sru-mots p { margin: 0; font-size: .84rem !important; line-height: 1.45 !important; }
@media (max-width: 900px) { .sru-mots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sru-mots { grid-template-columns: 1fr; } }

/* Attente : maquette refaite pour être lisible par tous (21 oct. 2026) */
.proto-texte.vx p.at-q { margin: 1.2rem 0 .6rem; padding-left: .8rem; border-left: 3px solid var(--dore); font-family: var(--titre) !important; font-size: 1rem !important; font-weight: 700 !important; color: var(--nuit); }
.at-temps { display: grid; gap: .7rem; margin: .4rem 0; }
.at-temps > div { display: grid; grid-template-columns: 10rem 1fr 8.5rem; gap: .8rem; align-items: center; }
.at-temps__qui { font: 700 .9rem var(--titre); color: var(--nuit); }
.at-temps__axe { height: 26px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.at-temps__axe span { display: block; height: 100%; border-radius: 4px; background: #8a98b4; }
.at-temps--fort .at-temps__axe span { background: var(--nuit); }
.at-temps b { font: 800 1.05rem var(--titre); color: var(--nuit); text-align: right; white-space: nowrap; }
@media (max-width: 640px) { .at-temps > div { grid-template-columns: 1fr auto; gap: .25rem .6rem; } .at-temps__axe { grid-column: 1 / -1; grid-row: 2; } }
.at-cent { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: .6rem 0 .4rem; }
.at-cent > div { display: grid; gap: .5rem; padding: 1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; }
.at-cent > div.at-cent--fort { background: var(--nuit); border-color: var(--nuit); }
.proto-texte.vx .at-cent p { margin: 0; font-family: var(--titre) !important; font-size: .85rem !important; font-weight: 700 !important; color: var(--nuit); }
.at-cent--fort p { color: #dfe3ec !important; }
.at-cent__g { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.at-cent__g i { aspect-ratio: 1; border-radius: 2px; background: #e3e7ef; }
.at-cent__g i.on { background: var(--dore); }
.at-cent--fort .at-cent__g i { background: rgba(255,255,255,.14); }
.at-cent--fort .at-cent__g i.on { background: var(--dore); }
.at-cent b { font: 800 1.4rem var(--titre); color: var(--nuit); }
.at-cent--fort b { color: var(--dore); }
@media (max-width: 640px) { .at-cent { grid-template-columns: 1fr 1fr; } .at-cent > div.at-cent--fort { grid-column: 1 / -1; } }
.at-raisons2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .6rem 0; }
.at-raisons2 > div { display: grid; gap: .45rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 4px solid var(--dore); }
.proto-texte.vx .at-raisons2 p { margin: 0; font-size: .9rem !important; line-height: 1.5 !important; }
.proto-texte.vx .at-raisons2 p.at-raisons2__t { font-family: var(--titre) !important; font-size: 1rem !important; font-weight: 800 !important; color: var(--nuit); }
.at-duo { display: grid; grid-template-columns: 1fr; gap: .2rem; font-size: .8rem; color: #4a5164; }
.at-duo { grid-template-columns: 1fr 3rem; }
.at-duo > span:first-child { grid-column: 1 / -1; }
.at-duo__p { height: 14px; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.at-duo__p span { display: block; height: 100%; background: var(--nuit); }
.at-duo--or .at-duo__p span { background: var(--dore); }
.at-duo b { text-align: right; font: 800 .95rem var(--titre); color: var(--nuit); }
@media (max-width: 640px) { .at-raisons2 { grid-template-columns: 1fr; } }
.at-une { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; margin: 1rem 0 .4rem; padding: 1.1rem 1.3rem; border-radius: 12px; background: var(--nuit); }
.at-une b { font: 800 2.6rem/1 var(--titre); color: var(--dore); }
.proto-texte.vx .at-une p { margin: 0; color: #dfe3ec; font-size: .95rem !important; }
.at-une p strong { color: #fff; }
.at-sortie { display: flex; gap: 3px; margin: .6rem 0 .4rem; border-radius: 8px; overflow: hidden; }
.at-sortie > div { display: grid; gap: .15rem; align-content: center; min-width: 0; padding: .9rem 1rem; }
.at-sortie__oui { background: var(--nuit); }
.at-sortie__oui b { color: var(--dore); }
.at-sortie__oui span { color: #dfe3ec; }
.at-sortie__non { background: #c3cbda; }
.at-sortie__non b { color: var(--nuit); }
.at-sortie b { font: 800 1.5rem var(--titre); }
.at-sortie span { font-size: .84rem; line-height: 1.35; }
.at-sortie__non span { color: #2a3247; }
@media (max-width: 520px) { .at-sortie b { font-size: 1.2rem; } .at-sortie > div { padding: .7rem; } }
/* retouches reprises de style.css */
.proto-texte.vx .vx-mot p.vx-mot__t { font-family: var(--titre) !important; font-size: 1.15rem !important; font-weight: 800 !important; color: var(--nuit); }
.proto-texte.vx .vx-mot p.vx-mot__n { font-family: var(--titre) !important; font-size: 1.7rem !important; font-weight: 800 !important; line-height: 1.1 !important; margin-top: auto; padding-top: .5rem; }
.proto-texte.vx .vx-mot--vacant p.vx-mot__n { color: #8c6a2f; }
.proto-texte.vx .vx-mot--hors p.vx-mot__n { color: #5b6378; }
.proto-texte.vx .vx-mot p:not(.vx-mot__t):not(.vx-mot__n) { font-size: .92rem !important; line-height: 1.45 !important; }
.proto-texte.vx p.vx-budget__t { font-family: var(--titre) !important; font-size: .74rem !important; font-weight: 700 !important; }
.proto-texte.vx p.vac-sous { font-family: var(--titre) !important; font-size: 1.05rem !important; font-weight: 700 !important; }
.proto-texte.vx .vx-verdict p { font-size: .88rem !important; line-height: 1.4 !important; }
.proto-texte.vx .vx-cent__leg p { font-size: 1rem !important; }
.proto-texte.vx .vx-cent__leg p.vx-cent__note { font-size: .8rem !important; }
.proto-texte.vx ol.vx-q li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); }
@media (max-width: 640px) { .proto-texte.vx .vx-mot p.vx-mot__n { font-size: 1.4rem !important; } }
.at-evo { margin-top: 2.6rem !important; }
.proto-texte.vx .at-une p { display: block !important; } .proto-texte.vx .at-une p strong { color: #fff !important; display: inline !important; }
.at-file__gens i { position: relative; -webkit-mask: none !important; mask: none !important; background: none !important; --p: #c3cbda; }
.at-file__gens i.at-p--oui { --p: var(--dore); }
.at-file__gens i::before { content: ""; position: absolute; left: 50%; top: 0; width: 46%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--p); }
.at-file__gens i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; border-radius: 1.2rem 1.2rem .3rem .3rem; background: var(--p); }

/* Climatisation (cl-) et gel des loyers (gl-) : gabarit décryptage (21 oct. 2026) */
.cl-feux { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: .6rem 0 1rem; }
.cl-feu { display: grid; gap: .55rem; align-content: start; padding: 1rem 1.1rem; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; border-top: 6px solid var(--f); }
.cl-feu--vert { --f: #1f8a5b; } .cl-feu--orange { --f: #d08a1e; } .cl-feu--rouge { --f: #b3261e; }
.proto-texte.vx .cl-feu p { margin: 0; }
.proto-texte.vx .cl-feu p.cl-feu__t { display: flex; align-items: center; gap: .5rem; font-family: var(--titre) !important; font-size: 1rem !important; font-weight: 800 !important; line-height: 1.25 !important; color: var(--nuit); }
.cl-feu__t i { flex: none; width: 1rem; height: 1rem; border-radius: 50%; background: var(--f); box-shadow: 0 0 0 3px color-mix(in srgb, var(--f) 22%, transparent); }
.proto-texte.vx .cl-feu p.cl-feu__q { display: grid; gap: .1rem; padding: .5rem .7rem; border-radius: 8px; background: #f4f6fa; font-size: .8rem !important; line-height: 1.3 !important; color: #5b6070; }
.cl-feu__q b { font: 800 .95rem var(--titre); color: var(--f); }
.proto-texte.vx .cl-feu p.cl-feu__n { font-size: .82rem !important; line-height: 1.45 !important; color: #4a5164; }
@media (max-width: 760px) { .cl-feux { grid-template-columns: 1fr; } }
.cl-non > div b { background: #b3261e !important; color: #fff !important; }
.cl-dossier > div b { font-size: .92rem; }
.cl-passif { margin-bottom: 1rem; }
.cl-passif span { background: #eef7f2; border-color: #cfe8db; color: #146b45; }
.cl-risques b { font-size: 1.25rem !important; line-height: 1.2 !important; }
.cl-info, .gl-info { margin: 1.6rem 0; }
.cl-info img { display: block; width: 100%; height: auto; margin-top: 1rem; border: 1px solid #e3e7ef; }

.gl-frise { display: grid; grid-template-columns: auto auto auto; justify-content: start; gap: 1rem; align-items: center; margin: .4rem 0 1rem; }
.gl-frise > div { display: grid; gap: .15rem; padding: .8rem 1.1rem; border-radius: 10px; background: #f4f6fa; }
.gl-frise span { font: 700 .74rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #7a8297; }
.gl-frise b { font: 800 1.4rem var(--titre); color: var(--nuit); }
.gl-frise > div.gl-frise--rouge { background: #fbeeed; }
.gl-frise--rouge b { color: #b3261e; }
.gl-frise > i { font: 800 1.4rem var(--titre); font-style: normal; color: #b3261e; }
@media (max-width: 520px) { .gl-frise { grid-template-columns: 1fr; } .gl-frise > i { transform: rotate(90deg); justify-self: start; margin-left: 1rem; } }
.gl-duel { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .6rem 0 1rem; }
.gl-duel > div { display: grid; gap: .5rem; align-content: start; padding: 1.1rem 1.2rem; border-radius: 12px; }
.gl-duel--non { background: #fbeeed; border: 1px solid #f0c9c5; }
.gl-duel--oui { background: #eef7f2; border: 1px solid #cfe8db; }
.proto-texte.vx .gl-duel p.gl-duel__t { margin: 0; font-family: var(--titre) !important; font-size: 1.15rem !important; font-weight: 800 !important; color: var(--nuit); }
.proto-texte.vx .gl-duel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.proto-texte.vx .gl-duel li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .4rem; margin: 0; padding: 0; font-size: .9rem !important; line-height: 1.45 !important; }
.proto-texte.vx .gl-duel li::before { content: none !important; display: none !important; }
.gl-duel li b { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; font: 800 .95rem var(--titre); color: #fff; }
.gl-duel--non li b { background: #b3261e; } .gl-duel--oui li b { background: #1f8a5b; }
@media (max-width: 640px) { .gl-duel { grid-template-columns: 1fr; } }
.gl-montage > div b { color: var(--nuit); }
@media (max-width: 520px) { .gl .n-rang { grid-template-columns: 6.2rem minmax(0, 1fr) 6rem; } .gl .n-rang__val { white-space: nowrap; } }

/* Budget 2027 (bu-) et loyers HLM (lo-) : gabarit décryptage (21 oct. 2026) */
.bu-cle { margin: 1rem 0 .4rem; padding: 1.2rem 1.4rem; border-radius: 12px; background: var(--nuit); }
.bu-cle > b { display: block; font: 800 1.6rem/1.2 var(--titre); color: var(--dore); }
.proto-texte.vx .bu-cle p { margin: .5rem 0 0; color: #dfe3ec; font-size: .98rem !important; }
.bu-cle p strong { color: #fff; }
.bu-duo { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .6rem 0 .4rem; }
.bu-duo__g { display: grid; gap: .5rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; }
.proto-texte.vx .bu-duo p.bu-duo__t { margin: 0; font-family: var(--titre) !important; font-size: 1.1rem !important; font-weight: 800 !important; color: var(--nuit); }
.bu-duo__t small { display: block; font: 400 .74rem var(--texte, inherit); color: #7a8297; }
.proto-texte.vx .bu-duo p.bu-duo__d { margin: .2rem 0 0; font-family: var(--titre) !important; font-size: .95rem !important; font-weight: 800 !important; color: #1e6b3a; }
.bu-l { display: grid; grid-template-columns: 7.5rem 1fr 5rem; gap: .7rem; align-items: center; font: 700 .84rem var(--titre); color: var(--nuit); }
.bu-duo .bu-l { grid-template-columns: 3rem 1fr 4.6rem; }
.bu-l__p { height: 22px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.bu-l__p span { display: block; height: 100%; border-radius: 4px; background: var(--nuit); }
.bu-l--or .bu-l__p span { background: var(--dore); }
.bu-l--gris .bu-l__p span { background: #8a93a6; }
.bu-l--clair .bu-l__p span { background: #c3cbda; }
.bu-l b { text-align: right; font: 800 1rem var(--titre); white-space: nowrap; }
.bu-avap { display: grid; gap: .55rem; margin: .6rem 0 .4rem; }
.bu-pas { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; margin: .6rem 0 .4rem; }
.bu-pas > div { display: grid; gap: .3rem; padding: 1.1rem 1.2rem; border-radius: 10px; }
.bu-pas__non { background: #f4f6fa; }
.bu-pas__oui { background: var(--nuit); }
.bu-pas b { font: 800 2.2rem/1 var(--titre); color: var(--nuit); }
.bu-pas__oui b { color: var(--dore); }
.proto-texte.vx .bu-pas p { margin: 0; font-size: .92rem !important; line-height: 1.45 !important; color: #4a5164; }
.proto-texte.vx .bu-pas__oui p { color: #dfe3ec; }
.bu-pas__oui strong { color: #fff; }
.bu-pas .si-ou__ou { font-size: 1.6rem; }
@media (max-width: 640px) {
  .bu-duo, .bu-pas { grid-template-columns: 1fr; }
  .bu-pas .si-ou__ou { justify-self: center; }
  .bu-l { grid-template-columns: 1fr auto; gap: .25rem .6rem; }
  .bu-l__p { grid-column: 1 / -1; grid-row: 2; }
  .bu-duo .bu-l { grid-template-columns: 3rem 1fr 4.4rem; }
  .bu-duo .bu-l__p { grid-column: auto; grid-row: auto; }
}

.lo-cmp { display: grid; gap: .7rem; margin: .6rem 0 .4rem; }
.lo-cmp__l { display: grid; grid-template-columns: 9.5rem 1fr 6rem; grid-template-rows: auto auto; gap: .1rem .8rem; align-items: center; }
.lo-cmp__nom { font: 700 .9rem var(--titre); color: var(--nuit); grid-row: 1 / 3; }
.lo-cmp__p { height: 34px; border-radius: 5px; background: #eef1f6; overflow: hidden; grid-row: 1 / 3; }
.lo-cmp__p span { display: block; height: 100%; border-radius: 5px; background: var(--nuit); }
.lo-cmp--pri .lo-cmp__p span { background: #b3261e; }
.lo-cmp__l b { font: 800 1.35rem var(--titre); color: var(--nuit); text-align: right; white-space: nowrap; }
.lo-cmp--pri b { color: #b3261e; }
.lo-cmp__l small { font-size: .72rem; color: #7a8297; text-align: right; }
@media (max-width: 640px) {
  .lo-cmp__l { grid-template-columns: 1fr auto; }
  .lo-cmp__nom { grid-row: 1; } .lo-cmp__l b { grid-row: 1; } .lo-cmp__p { grid-column: 1 / -1; grid-row: 2; height: 26px; } .lo-cmp__l small { grid-column: 1 / -1; grid-row: 3; text-align: left; }
}
.lo-seuil { margin: .8rem 0 .6rem; }
.lo-seuil__axe { display: grid; grid-template-columns: 50% 15% 35%; height: 3rem; border-radius: 6px; overflow: hidden; }
.lo-seuil__axe span { display: flex; align-items: center; padding: 0 .7rem; font: 700 .8rem/1.2 var(--titre); }
.lo-seuil__ok { background: #e7f2ea; color: #1e6b3a; }
.lo-seuil__mid { background: #f7eedb; color: #7a5a14; justify-content: center; text-align: center; }
.lo-seuil__sls { background: #b3261e; color: #fff; }
.proto-texte.vx p.lo-seuil__leg { display: grid; grid-template-columns: 50% 15% 35%; margin: .3rem 0 0; font-size: .72rem !important; color: #7a8297; }
.lo-seuil__leg span { text-align: right; padding-right: .3rem; border-right: 2px solid var(--nuit); }
.lo-seuil__leg span:nth-child(2) { border-right-color: #b3261e; }
@media (max-width: 640px) { .lo-seuil__axe { height: 3.6rem; } .lo-seuil__axe span { font-size: .66rem; padding: 0 .4rem; } }
.lo-sim .sim-loyer { margin-top: .8rem; }
.proto-texte.vx .bu-cle p, .proto-texte.vx .bu-pas p { display: block !important; }
.proto-texte.vx .bu-cle p strong, .proto-texte.vx .bu-pas__oui p strong { color: #fff !important; display: inline !important; }
.proto-texte.vx .bu-pas__non p strong { color: var(--nuit) !important; display: inline !important; }

/* Objectif 30 % (ob-) et Panorama ANCOLS (pa-) : gabarit décryptage (21 oct. 2026) */
.ob-jauge { margin: .8rem 0 .4rem; padding: 0 .2rem 4.8rem; }
.ob-jauge__piste { position: relative; height: 22px; border-radius: 4px; background: #eef1f6; }
.ob-jauge__plein { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--nuit); }
.ob-jauge__piste i { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1px; background: #8a93a6; }
.ob-jauge__piste i.ob-jauge__or { background: var(--dore); width: 4px; }
.ob-jauge__lib { position: relative; height: 0; }
.ob-jauge__lib span { position: absolute; top: .6rem; display: grid; transform: translateX(-50%); text-align: center; font-size: .74rem; color: #5b6070; white-space: nowrap; }
.ob-jauge__lib b { font: 800 1.05rem var(--titre); color: var(--nuit); }
.ob-jauge__ici { transform: translateX(-100%) !important; text-align: right !important; padding-right: .4rem; }
.ob-jauge__sru { top: 2.2rem !important; }
.ob-jauge__cible b { color: #8c6a2f; }
.ob-besoin .n-rang__plein { background: #b3261e !important; }
.ob-pile { margin: .6rem 0 .4rem; }
.ob-pile__barre { display: flex; gap: 2px; border-radius: 8px; overflow: hidden; }
.ob-pile__barre > span { display: grid; gap: .1rem; align-content: center; min-width: 0; padding: .8rem .8rem; font-size: .78rem; line-height: 1.3; }
.ob-pile__barre b { font: 800 1.2rem var(--titre); }
.ob-pile__a { background: var(--nuit); color: #dfe3ec; }
.ob-pile__a b { color: var(--dore); }
.ob-pile__b { background: #5b6b8c; color: #eef1f6; }
.ob-pile__b b { color: #fff; }
.ob-pile__manque { background: repeating-linear-gradient(45deg, #fbeeed 0 8px, #f5d9d6 8px 16px); color: #b3261e; border: 2px dashed #b3261e; border-radius: 0 8px 8px 0; }
.proto-texte.vx p.ob-pile__cible { display: flex; justify-content: space-between; margin: .4rem 0 0; font-family: var(--titre) !important; font-size: .85rem !important; font-weight: 700 !important; color: var(--nuit); }
@media (max-width: 640px) { .ob-pile__barre { flex-direction: column; border-radius: 8px; } .ob-pile__barre > span { flex: none !important; } .ob-pile__manque { border-radius: 0 0 8px 8px; } }
.ob-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: .6rem 0; }
.ob-trois > div { display: grid; gap: .3rem; align-content: start; padding: 1rem 1.1rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; border-top: 5px solid var(--nuit); }
.ob-trois > div.ob-trois--rouge { border-top-color: #b3261e; }
.ob-trois > div.ob-trois--gris { border-top-color: #8a93a6; }
.ob-trois b { font: 800 1.9rem/1 var(--titre); color: var(--nuit); }
.ob-trois--rouge b { color: #b3261e; }
.ob-trois span { font-size: .85rem; line-height: 1.4; color: #4a5164; }
@media (max-width: 640px) { .ob-trois { grid-template-columns: 1fr; } }
.ob-moyens { grid-template-columns: 1fr 1fr !important; }
@media (max-width: 640px) { .ob-moyens { grid-template-columns: 1fr !important; } }
.proto-texte.vx p.ob-nuance { margin: 1rem 0 0; color: #dfe3ec; font-size: .92rem !important; }

.proto-texte.vx p.pa-st { margin: -.2rem 0 1rem; font-size: .86rem !important; color: #7a8297; }
.pa-grille { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.pa-q { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem 1rem; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; border-top: 4px solid var(--dore); }
.proto-texte.vx .pa-q p { margin: 0; }
.proto-texte.vx p.pa-q__n { position: absolute; top: .8rem; right: 1rem; font-family: var(--titre) !important; font-size: 1.5rem !important; font-weight: 800 !important; line-height: 1 !important; color: #e3e7ef; }
.proto-texte.vx h3.pa-q__t { margin: 0 2.4rem 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 1rem !important; line-height: 1.3 !important; }
.proto-texte.vx h3.pa-q__t::before, .proto-texte.vx h3.pa-q__t::after { content: none !important; }
.proto-texte.vx p.pa-q__gros { display: grid; gap: .1rem; }
.pa-q__gros b { font: 800 1.9rem/1.05 var(--titre); color: var(--nuit); }
.pa-q__gros span { font-size: .84rem; line-height: 1.35; color: #4a5164; }
.proto-texte.vx ul.pa-q__petits { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.proto-texte.vx ul.pa-q__petits li { display: grid; gap: .05rem; margin: 0; padding: .5rem .6rem; border-radius: 6px; background: #f4f6fa; font-size: .74rem !important; line-height: 1.3 !important; color: #5b6070; }
.proto-texte.vx ul.pa-q__petits li::before { content: none !important; }
.pa-q__petits b { font: 800 1rem var(--titre); color: var(--nuit); }
.proto-texte.vx p.pa-q__txt { font-size: .88rem !important; line-height: 1.5 !important; color: #2a3247; }
.pa-q__plus { margin-top: auto !important; }
.proto-texte.vx .pa-q__plus p { margin: .6rem 0 !important; font-size: .86rem !important; }
.pa-q__plus figure { margin: .4rem 0 0; }
.pa-q__plus img { display: block; width: 100%; height: auto; border: 1px solid #e3e7ef; }
.pa-q__plus figcaption { margin-top: .3rem; font-size: .72rem; color: #7a8297; }
@media (max-width: 760px) { .pa-grille { grid-template-columns: 1fr; } }
.pa-droit { display: grid; gap: .6rem; margin: .4rem 0; }
.pa-droit__l { display: grid; grid-template-columns: 15rem 1fr 4rem; gap: .8rem; align-items: center; font: 600 .86rem/1.3 var(--titre); color: var(--nuit); }
.pa-droit__p { height: 22px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.pa-droit__p span { display: block; height: 100%; background: #8a98b4; }
.pa-droit--fort .pa-droit__p span { background: var(--nuit); }
.pa-droit__l b { text-align: right; font: 800 1.1rem var(--titre); }
@media (max-width: 640px) { .pa-droit__l { grid-template-columns: 1fr auto; gap: .25rem .6rem; } .pa-droit__p { grid-column: 1 / -1; grid-row: 2; } }
.vx-quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .vx-quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vx-quatre > div { min-width: 0; }
.vx-quatre b { overflow-wrap: anywhere; hyphens: auto; }
.pa .vx-quatre b { font-size: 1.15rem; }

/* Gabarit décryptage : barre d'ancres et sections numérotées (vac-*). Ces règles ont de nouveau disparu de style.css
   (seul le commentaire est resté) : remises ici pour toutes les pages qui les utilisent. */
.vac-nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e3e7ef; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.vac-nav .n-wrap { display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.vac-nav .n-wrap::-webkit-scrollbar { display: none; }
.vac-nav a { padding: 1rem 0 .85rem; border-bottom: 3px solid transparent; font: 700 .84rem var(--titre); color: var(--nuit); text-decoration: none; }
.vac-nav a:hover, .vac-nav a:focus-visible, .vac-nav a.vac-nav--ici { border-bottom-color: var(--dore); }
.vac-corps { grid-template-columns: minmax(0, 1fr) !important; }
.vac-corps .proto-texte { max-width: 52rem; margin: 0 auto; }
.vac-sec { padding: 2.4rem 0 2.2rem; border-bottom: 1px solid #e3e7ef; scroll-margin-top: 4.5rem; }
.vac-sec:last-child { border-bottom: 0; }
.proto-texte .vac-sec > h2 { margin-top: .2rem; }
.proto-texte p.vac-kicker { margin: 0 0 .5rem; font-family: var(--titre) !important; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .13em; text-transform: uppercase; color: var(--or-texte, #8c6a2f); }
.proto-texte .vac-sec p.vac-fort { font-family: var(--titre) !important; font-size: 1.18rem !important; font-weight: 600 !important; line-height: 1.55 !important; color: var(--nuit); }
.proto-texte .vac-comprendre { margin: 1.6rem 0 .4rem; padding: 1.1rem 1.4rem; border-left: 4px solid var(--dore); background: #f6f4ef; border-radius: 0 8px 8px 0; }
.proto-texte .vac-comprendre p { margin: 0; font-size: .97rem !important; line-height: 1.65 !important; }
.proto-texte .vac-comprendre .n-etiquette { margin-bottom: .35rem; }
.proto-texte p.vac-sous { margin: 1.6rem 0 .4rem; font-family: var(--titre) !important; font-size: 1.02rem !important; font-weight: 700 !important; color: var(--nuit); }
.vac-sec.n-retenir { padding: 2rem 1.6rem; border-bottom: 0; margin: 2.4rem 0; }
.vac-sec.n-retenir p.vac-kicker { color: var(--dore); }
.vac-sec.n-sources .vac-kicker { margin-bottom: .2rem; }
@media (max-width: 600px) { .vac-nav .n-wrap { gap: 1.1rem; } .vac-sec { padding: 1.8rem 0 1.6rem; } .proto-texte .vac-sec p.vac-fort { font-size: 1.06rem !important; } .vac-sec.n-retenir { padding: 1.4rem 1rem; } }

/* Logement intermédiaire : 4 fiches au lieu du tableau comparatif, barres par arrondissement (21 oct. 2026) */
.pli-fiches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: .4rem 0 .6rem; }
.pli-f { --c: var(--plai); display: flex; flex-direction: column; border-radius: 12px; background: #fff; border: 1px solid #e3e7ef; overflow: hidden; }
.pli-f--plus { --c: var(--plus); } .pli-f--pls { --c: var(--pls); } .pli-f--pli { --c: #8a93a6; }
.ac p.pli-f__code, p.pli-f__code { display: grid; gap: .1rem; margin: 0; padding: .8rem 1rem; background: var(--c); color: #fff; font: 800 1.3rem/1.1 var(--titre); }
.pli-f--pls .pli-f__code { color: var(--nuit); }
.pli-f__code small { font: 600 .74rem var(--titre); opacity: .9; }
.pli-f dl { display: grid; gap: .1rem; margin: 0; padding: .4rem 1rem .2rem; }
.pli-f dl > div { display: grid; gap: .15rem; padding: .5rem 0; border-bottom: 1px solid #eef0f4; }
.pli-f dt { font: 700 .72rem var(--titre); letter-spacing: .03em; text-transform: uppercase; color: #7a8297; }
.pli-f dt small { margin-left: .3rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.pli-f dd { margin: 0; display: grid; gap: .25rem; }
.pli-f dd b { font: 800 1.15rem var(--titre); color: var(--nuit); }
.pli-f dd small { font-size: .72rem; color: #7a8297; }
.pli-f__j { display: block; height: 6px; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.pli-f__j span { display: block; height: 100%; border-radius: 3px; background: var(--c); }
.pli-f__sru { margin: auto 1rem .9rem; padding: .35rem .6rem; border-radius: 999px; background: #e7f2ea; color: #1e6b3a; font: 700 .74rem var(--titre); text-align: center; }
.pli-f__sru--non { background: #fbeeed; color: #b3261e; }
@media (max-width: 900px) { .pli-fiches { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pli-fiches { grid-template-columns: 1fr; } }

.pli-a--plai { background: var(--plai); } .pli-a--plus { background: var(--plus); } .pli-a--pls { background: var(--pls); } .pli-a--pli { background: #c2410c; }
p.pli-a__leg { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; margin: .2rem 0 .5rem; font-size: .8rem; color: #4a5164; }
.pli-a__leg span { display: inline-flex; align-items: center; gap: .35rem; }
.pli-a__leg i { width: .75rem; height: .75rem; border-radius: 2px; display: inline-block; }
.pli-a__leg .pli-a__leg-d { margin-left: auto; font: 600 .7rem var(--titre); text-transform: uppercase; letter-spacing: .04em; color: #9aa0ae; }
ul.pli-a { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
ul.pli-a li { display: grid; grid-template-columns: 2.6rem 1fr 4rem 3.6rem; gap: .6rem; align-items: center; margin: 0; padding: 0; }
ul.pli-a li::before { content: none !important; }
.pli-a__n { font: 700 .84rem var(--titre); color: var(--nuit); }
.pli-a__p { display: flex; gap: 1px; height: 16px; border-radius: 3px; overflow: hidden; background: #f4f6fa; }
.pli-a__p > span { height: 100%; }
.pli-a__t { text-align: right; font: 700 .82rem var(--titre); color: var(--nuit); font-variant-numeric: tabular-nums; }
.pli-a__pli { justify-self: end; padding: .1rem .4rem; border-radius: 999px; background: #fdf0e7; color: #c2410c; font: 800 .74rem var(--titre); }
.pli-a__det { margin-top: .8rem; }
@media (max-width: 520px) { ul.pli-a li { grid-template-columns: 2.2rem 1fr 3.2rem; } .pli-a__t { display: none; } .pli-a__leg .pli-a__leg-d { display: none; } }

/* Plafonds de ressources (page accès) : tableaux plus lisibles, petite barre sous chaque montant (21 oct. 2026) */
.n-plafonds, .n-plafonds-zones { border-collapse: separate !important; border-spacing: 0; width: 100%; background: #fff; border: 1px solid #e3e7ef !important; border-radius: 12px; overflow: hidden; }
.n-plafonds thead th, .n-plafonds-zones thead th { padding: .8rem .9rem !important; background: #f4f6fa !important; color: var(--nuit) !important; border: 0 !important; border-bottom: 1px solid #e3e7ef !important; font: 800 .8rem var(--titre) !important; letter-spacing: .03em; text-transform: none !important; }
.n-plafonds thead th.c-plai, .n-plafonds thead th.c-plus, .n-plafonds thead th.c-pls, .n-plafonds thead th.c-pli { position: relative; text-align: right; }
.n-plafonds thead th[class^="c-"]::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .4rem; border-radius: 50%; background: var(--c); vertical-align: -.05rem; }
.n-plafonds .c-plai { --c: var(--plai); } .n-plafonds .c-plus { --c: var(--plus); } .n-plafonds .c-pls { --c: var(--pls); } .n-plafonds .c-pli { --c: #8a93a6; }
.n-plafonds tbody th, .n-plafonds-zones tbody th { padding: .75rem .9rem !important; font: 700 .9rem/1.3 var(--titre) !important; color: var(--nuit); border-bottom: 1px solid #eef0f4 !important; background: #fff; }
.n-plafonds tbody th small, .n-plafonds-zones tbody th small { display: block; font: 400 .74rem var(--texte, inherit); color: #7a8297; }
.n-plafonds td.num, .n-plafonds-zones td.num { position: relative; padding: .75rem .9rem 1.1rem !important; font: 700 .95rem var(--titre) !important; color: var(--nuit); border-bottom: 1px solid #eef0f4 !important; background: #fff; white-space: nowrap; }
.n-plafonds td.num::after, .n-plafonds-zones td.num::after { content: ""; position: absolute; right: .9rem; bottom: .5rem; width: calc((100% - 1.8rem) * var(--p, 0) / 100); height: 4px; border-radius: 2px; background: var(--c, var(--nuit)); opacity: .85; }
.n-plafonds td[data-col="PLAI"] { --c: var(--plai); } .n-plafonds td[data-col="PLUS"] { --c: var(--plus); } .n-plafonds td[data-col="PLS"] { --c: var(--pls); } .n-plafonds td[data-col="PLI"] { --c: #8a93a6; }
.n-plafonds tbody tr:hover th, .n-plafonds tbody tr:hover td, .n-plafonds-zones tbody tr:hover th, .n-plafonds-zones tbody tr:hover td { background: #f8f9fc; }
.n-plafonds tr.total th, .n-plafonds tr.total td, .n-plafonds-zones tbody tr:last-child th, .n-plafonds-zones tbody tr:last-child td { background: #f4f6fa !important; border-bottom: 0 !important; }
.n-plafonds tr.total td::after, .n-plafonds-zones tbody tr:last-child td::after { display: none; }
.n-plafonds-zones td.num:nth-child(2) { color: var(--nuit); }
.n-plafonds-zones td.num:not(:nth-child(2)) { color: #4a5164; font-weight: 600 !important; }
@media (max-width: 640px) {
  .n-plafonds tbody th, .n-plafonds-zones tbody th { font-size: .82rem !important; }
  .n-plafonds td.num, .n-plafonds-zones td.num { font-size: .85rem !important; padding: .6rem .5rem 1rem !important; }
}

/* Page accès, plafonds : version épurée (21 oct. 2026, demande : onglets plus grands, moins d'infos dans les titres) */
[data-page="acces-logement-social-paris"] .n-plafonds td.num::after, [data-page="acces-logement-social-paris"] .n-plafonds-zones td.num::after { display: none; }
[data-page="acces-logement-social-paris"] .n-plafonds td.num, [data-page="acces-logement-social-paris"] .n-plafonds-zones td.num { padding: .85rem 1rem !important; font-size: 1rem !important; }
[data-page="acces-logement-social-paris"] .n-plafonds tbody th small, [data-page="acces-logement-social-paris"] .n-plafonds-zones tbody th small { display: none; }
[data-page="acces-logement-social-paris"] .n-plafonds tbody th, [data-page="acces-logement-social-paris"] .n-plafonds-zones tbody th { padding: .85rem 1rem !important; font-size: .95rem !important; }
[data-page="acces-logement-social-paris"] .n-plafonds-zones td.num:nth-child(2), [data-page="acces-logement-social-paris"] .n-plafonds-zones thead th:nth-child(2) { background: #fbf6ec !important; color: var(--nuit) !important; font-weight: 800 !important; }
[data-page="acces-logement-social-paris"] .n-plafonds-zones thead th:nth-child(2)::after { content: "Paris"; display: block; margin-top: .15rem; font: 700 .62rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #8c6a2f; }
[data-page="acces-logement-social-paris"] p.n-cat-panneau__nom { display: none !important; }
p.ac2-equiv-tab { margin: .2rem 0 .9rem !important; padding: .6rem .9rem; border-radius: 8px; background: #f4f6fa; font-size: .85rem !important; line-height: 1.5 !important; color: #4a5164; }
p.ac2-equiv-tab b { color: var(--nuit); }
/* gros onglets */
[data-page="acces-logement-social-paris"] .n-cat-onglets { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; width: 100%; margin: .6rem 0 1rem; padding: 0; background: none; overflow: visible; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button { --c: var(--plai); display: grid; gap: .15rem; justify-items: start; padding: .9rem 1rem !important; border: 2px solid #e3e7ef !important; border-top: 5px solid var(--c) !important; border-radius: 10px; background: #fff !important; color: var(--nuit) !important; font: 800 1.2rem/1.1 var(--titre) !important; text-align: left; white-space: normal !important; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLUS"] { --c: var(--plus); }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLS"] { --c: var(--pls); }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLI"] { --c: #8a93a6; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button::after { font: 600 .74rem/1.3 var(--titre); color: #7a8297; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLAI"]::after { content: "les plus modestes"; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLUS"]::after { content: "revenus modestes"; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLS"]::after { content: "revenus moyens"; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLI"]::after { content: "au-dessus du social"; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[aria-selected="true"] { background: var(--c) !important; border-color: var(--c) !important; color: #fff !important; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[data-nom="PLS"][aria-selected="true"] { color: var(--nuit) !important; }
[data-page="acces-logement-social-paris"] .n-cat-onglets button[aria-selected="true"]::after { color: inherit; opacity: .85; }
@media (max-width: 640px) {
  [data-page="acces-logement-social-paris"] .n-cat-onglets { grid-template-columns: 1fr 1fr; }
  [data-page="acces-logement-social-paris"] .n-plafonds td.num, [data-page="acces-logement-social-paris"] .n-plafonds-zones td.num { padding: .7rem .5rem !important; font-size: .85rem !important; }
}
[data-page="acces-logement-social-paris"] .n-plafonds-zones thead th:nth-child(2)::after { content: none !important; display: none !important; }

/* Carte des opérations : tableau plus visuel, toutes les colonnes gardées (21 oct. 2026) */
[data-page="cartedesopration"] .ls-tab--ops { font-size: .86rem; }
[data-page="cartedesopration"] .ls-tab--ops thead th { padding: .75rem .7rem !important; background: #f4f6fa !important; border-bottom: 2px solid var(--nuit) !important; }
[data-page="cartedesopration"] .ls-tab--ops thead th button { font: 800 .72rem var(--titre) !important; letter-spacing: .04em; text-transform: uppercase; color: #4a5164 !important; }
[data-page="cartedesopration"] .ls-tab--ops tbody td { padding: .7rem .7rem !important; vertical-align: top; }
[data-page="cartedesopration"] .ls-tab--ops tbody tr:nth-child(even) td { background: #fbfcfd; }
[data-page="cartedesopration"] .ls-tab--ops tbody tr:hover td { background: #f4f6fa; }
[data-page="cartedesopration"] .ls-tab--ops .op-rue a { font: 800 .92rem/1.3 var(--titre); color: var(--nuit); }
[data-page="cartedesopration"] .ls-tab--ops .op-cp { font-size: .74rem; color: #7a8297; }
[data-page="cartedesopration"] .ls-tab--ops .op-nom { font-size: .74rem; }
[data-page="cartedesopration"] .ls-tab--ops .op-btns { display: flex !important; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
[data-page="cartedesopration"] .ls-tab--ops .op-fiche-btn { padding: .2rem .55rem !important; border: 0 !important; border-radius: 999px !important; background: var(--nuit) !important; color: #fff !important; font: 700 .7rem var(--titre) !important; min-height: 0 !important; }
[data-page="cartedesopration"] .ls-tab--ops .op-gmaps-btn { background: #eef1f6 !important; color: var(--nuit) !important; }
[data-page="cartedesopration"] .op-chip { display: inline-block; margin: 0 .25rem .25rem 0; padding: .15rem .5rem; border-radius: 999px; font: 700 .72rem/1.3 var(--titre); white-space: normal; }
.op-chip--neuf { background: #e7f2ea; color: #1e6b3a; }
.op-chip--climat { background: #e3f1ef; color: #1d6b62; }
.op-chip--acquis { background: #e8edf6; color: #2f4a7a; }
.op-chip--aqs { background: #f1f2f5; color: #4a5164; }
.op-chip--rehab { background: #f7eedb; color: #7a5a14; }
[data-page="cartedesopration"] .ls-tab--ops td[data-col="Travaux"] small { display: block; margin-top: .1rem; font-size: .7rem; color: #9aa0ae; }
.op-ph { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .55rem; border-radius: 999px; font: 700 .74rem var(--titre); white-space: nowrap; }
.op-ph::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.op-ph--etudes { background: #f1f2f5; color: #5b6070; }
.op-ph--montage { background: #e8edf6; color: #2f4a7a; }
.op-ph--travaux { background: #f7eedb; color: #7a5a14; }
.op-ph--livree { background: #e7f2ea; color: #1e6b3a; }
.op-ph--autre { background: #fbeeed; color: #b3261e; }
[data-page="cartedesopration"] .op-occ-txt { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; color: #4a5164; }
[data-page="cartedesopration"] .ls-tab--ops td[data-col="Financement"], [data-page="cartedesopration"] .ls-tab--ops td[data-col="Livraison"] { font: 700 .82rem var(--titre); color: var(--nuit); white-space: nowrap; }
[data-page="cartedesopration"] .ls-tab--ops td[data-col="Mise à jour"] { font-size: .74rem; color: #9aa0ae; white-space: nowrap; }
.op-du { display: block; width: 4.5rem; height: 6px; margin: 0 0 .3rem auto; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.op-du > span { display: block; height: 100%; background: #8a98b4; border-radius: 3px; }
.op-du--long > span { background: #b3261e; }
[data-page="cartedesopration"] .ls-tab--ops td[data-col="Durée"] { font: 700 .8rem var(--titre); white-space: nowrap; }
.op-bu { display: block; width: 5rem; height: 6px; margin: .3rem 0 0 auto; border-radius: 3px; background: #eef1f6; overflow: hidden; }
.op-bu > span { display: block; height: 100%; background: var(--dore); border-radius: 3px; }
[data-page="cartedesopration"] .ls-tab--ops td[data-col="Logements"] b { font: 800 1rem var(--titre); }
@media (max-width: 760px) { .op-du, .op-bu { margin-left: 0; } }
@media (min-width: 761px) {
  [data-page="cartedesopration"] .ls-tab--ops { min-width: 0 !important; width: 100%; table-layout: auto; font-size: .8rem; }
  [data-page="cartedesopration"] .ls-tab--ops thead th { padding: .6rem .45rem !important; }
  [data-page="cartedesopration"] .ls-tab--ops thead th button { font-size: .64rem !important; letter-spacing: .02em; white-space: normal; text-align: left; }
  [data-page="cartedesopration"] .ls-tab--ops tbody td { padding: .6rem .45rem !important; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Adresse"] { width: 13rem; max-width: 13rem; }
  [data-page="cartedesopration"] .ls-tab--ops .op-rue a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .84rem; }
  [data-page="cartedesopration"] .ls-tab--ops .op-nom { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Travaux"] { min-width: 8rem; max-width: 10rem; }
  [data-page="cartedesopration"] .op-chip { font-size: .66rem; }
  [data-page="cartedesopration"] .op-occ-txt { font-size: .74rem; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Occupation"] { max-width: 8rem; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Financement"], [data-page="cartedesopration"] .ls-tab--ops td[data-col="Livraison"] { white-space: normal; font-size: .76rem; min-width: 5.5rem; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Architecte"] { max-width: 8rem; font-size: .74rem; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Mise à jour"] { white-space: normal; font-size: .7rem; }
  [data-page="cartedesopration"] .op-ph { font-size: .68rem; padding: .12rem .45rem; }
  [data-page="cartedesopration"] .op-du { width: 3.6rem; } [data-page="cartedesopration"] .op-bu { width: 4rem; }
}
@media (min-width: 1200px) { [data-page="cartedesopration"] .n-wrap { max-width: min(1440px, calc(100vw - 48px)) !important; } }
@media (min-width: 761px) {
  [data-page="cartedesopration"] .ls-tab--ops .op-avant { white-space: normal !important; }
  [data-page="cartedesopration"] .ls-tab--ops tr > :first-child { min-width: 11rem !important; }
}
@media (min-width: 761px) {
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Durée"] { white-space: normal !important; max-width: 4.6rem; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Architecte"] { max-width: 6.5rem !important; overflow-wrap: anywhere; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Travaux"] { min-width: 7rem !important; max-width: 8rem !important; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Occupation"] { max-width: 7rem !important; }
  [data-page="cartedesopration"] .ls-tab--ops td[data-col="Adresse"] { width: 11.5rem !important; max-width: 11.5rem !important; }
}
@media (min-width: 761px) { [data-page="cartedesopration"] .ls-tab--ops tbody td, [data-page="cartedesopration"] .ls-tab--ops thead th { padding-left: .32rem !important; padding-right: .32rem !important; } }
[data-page="cartedesopration"] .op-occ-txt { white-space: normal !important; align-items: flex-start !important; } [data-page="cartedesopration"] .op-occ-txt .op-occ { flex: none; margin-top: .2rem; }
@media (min-width:761px){[data-page="cartedesopration"] .ls-tab--ops thead th:last-child{min-width:5.9rem}}
/* cartedesopration — version calme (21 oct. 2026) : liens texte, pastilles sans fond */
[data-page="cartedesopration"] .ls-tab--ops .op-btns { gap: .7rem !important; margin-top: .3rem !important; }
[data-page="cartedesopration"] .ls-tab--ops .op-fiche-btn, [data-page="cartedesopration"] .ls-tab--ops .op-gmaps-btn { padding: 0 !important; min-height: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: #8a6d2f !important; font: 600 .72rem var(--titre) !important; text-decoration: underline; text-decoration-color: rgba(201,163,91,.5); text-underline-offset: 2px; }
[data-page="cartedesopration"] .ls-tab--ops .op-fiche-btn:hover, [data-page="cartedesopration"] .ls-tab--ops .op-gmaps-btn:hover { color: var(--nuit) !important; }
[data-page="cartedesopration"] .op-chip { background: none !important; padding: 0 !important; margin: 0 0 .2rem !important; display: block !important; font: 600 .74rem/1.3 var(--titre) !important; }
[data-page="cartedesopration"] .op-chip::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .35rem; border-radius: 50%; background: currentColor; vertical-align: .05rem; }
[data-page="cartedesopration"] .op-ph { background: none !important; padding: 0 !important; font: 600 .76rem var(--titre) !important; }
[data-page="cartedesopration"] .ls-tab--ops td[data-col="Arr."] span, [data-page="cartedesopration"] .ls-tab--ops td[data-col="Arr."] b { border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
[data-page="cartedesopration"] .ls-tab--ops tbody td { padding-top: .55rem !important; padding-bottom: .55rem !important; }
[data-page="cartedesopration"] .ls-tab--ops thead th { padding-top: .55rem !important; padding-bottom: .55rem !important; }
[data-page="cartedesopration"] .op-du > span, [data-page="cartedesopration"] .op-bu > span { opacity: .85; }
[data-page="cartedesopration"] .op-du, [data-page="cartedesopration"] .op-bu { height: 3px !important; }
[data-page="cartedesopration"] .ls-tab--ops .ls-tab__arr { border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; font: 700 .82rem var(--titre) !important; color: var(--nuit) !important; }
/* cartedesopration — ordinateur : une carte par opération (21 oct. 2026) */
@media (min-width: 761px) {
  [data-page="cartedesopration"] .table-scroll { overflow: visible !important; border: 0 !important; box-shadow: none !important; background: none !important; }
  [data-page="cartedesopration"] table.ls-tab--ops, [data-page="cartedesopration"] table.ls-tab--ops thead, [data-page="cartedesopration"] table.ls-tab--ops tbody { display: block !important; width: 100% !important; min-width: 0 !important; border: 0 !important; background: none !important; }
  /* en-tête = barre de tri */
  [data-page="cartedesopration"] table.ls-tab--ops thead tr { display: flex !important; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .9rem; padding: 0; border: 0; background: none !important; }
  [data-page="cartedesopration"] table.ls-tab--ops thead tr::before { content: "Trier par"; margin-right: .3rem; font: 700 .72rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #7a8297; }
  [data-page="cartedesopration"] table.ls-tab--ops thead th { display: block; padding: 0 !important; border: 0 !important; background: none !important; min-width: 0 !important; position: static !important; box-shadow: none !important; }
  [data-page="cartedesopration"] table.ls-tab--ops thead tr > th:first-child { min-width: 0 !important; width: auto !important; }
  [data-page="cartedesopration"] table.ls-tab--ops thead th button { display: inline-flex; gap: .3rem; padding: .32rem .75rem !important; border: 1px solid #dde1ea !important; border-radius: 999px; background: #fff !important; color: var(--nuit) !important; font: 600 .78rem var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; transition: border-color .15s, background .15s; }
  [data-page="cartedesopration"] table.ls-tab--ops thead th button:hover { border-color: var(--dore) !important; }
  [data-page="cartedesopration"] table.ls-tab--ops thead th button[aria-sort] { background: var(--nuit) !important; border-color: var(--nuit) !important; color: #fff !important; }
  [data-page="cartedesopration"] table.ls-tab--ops thead th button[aria-sort]::after { color: var(--dore); }
  /* la carte */
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr {
    display: grid !important; position: relative;
    grid-template-columns: minmax(0, 2fr) minmax(0, .6fr) minmax(0, .75fr) minmax(0, .95fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, .8fr) minmax(0, .85fr);
    grid-template-areas: "adr trav trav trav fin liv bud bud" "adr log ph occ du du arch maj";
    gap: 1rem 1.3rem; margin: 0 0 .75rem; padding: 2.3rem 1.4rem 1.15rem 1.6rem;
    border: 1px solid #e3e6ee; border-radius: 14px; background: #fff !important;
    box-shadow: 0 1px 2px rgba(16, 27, 52, .04); transition: box-shadow .2s, border-color .2s;
  }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--dore); opacity: .55; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr.op-ligne--bouge::before { background: #b3261e; opacity: 1; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover { border-color: #cfd5e2; box-shadow: 0 8px 24px rgba(16, 27, 52, .08); }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td, [data-page="cartedesopration"] table.ls-tab--ops tbody tr:nth-child(even) td, [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover td {
    display: block !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
    width: auto !important; min-width: 0 !important; max-width: none !important; text-align: left !important; white-space: normal !important; font-size: .86rem; line-height: 1.4; color: var(--nuit);
  }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-vide] { display: block !important; color: #b8bdc9; }
  /* 27 oct. 2026 (demande) : un trait vertical entre les colonnes (travaux et logements · dates et durée · budget et architecte),
     continu sur les deux lignes de la carte : pas d'écart vertical entre les lignes, l'air vient du padding de la 2e ligne */
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr { row-gap: 0 !important; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Logements"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Phase"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Occupation"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Durée"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Architecte"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Mise à jour"] { padding-top: 1rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Financement"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Durée"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Budget"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Architecte"] { margin-left: -.65rem !important; padding-left: .65rem !important; border-left: 1px solid #e3e6ee !important; }
  /* étiquettes */
  [data-page="cartedesopration"] table.ls-tab--ops tbody td:not([data-col="Adresse"]):not([data-col="Arr."])::before { content: attr(data-col); display: block; margin-bottom: .22rem; font: 700 .62rem/1.2 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #8b92a5; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody td[data-col="Financement"]::before { content: "Financé"; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody td[data-col="Durée"]::before { content: "Durée du financement à la livraison"; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody td[data-col="Mise à jour"]::before { content: "Fiche mise à jour"; }
  /* zones */
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col] { width: auto !important; min-width: 0 !important; max-width: none !important; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Adresse"] { grid-area: adr; padding-right: 1.2rem !important; border-right: 1px solid #eef0f4 !important; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Arr."] { position: absolute !important; top: 1rem; left: 1.6rem; font: 700 .7rem var(--titre) !important; letter-spacing: .08em; text-transform: uppercase; color: #8a6d2f !important; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Arr."] .ls-tab__arr { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font: inherit !important; color: inherit !important; cursor: pointer; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Arr."] .ls-tab__arr::after { content: " arrondissement"; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Arr."] .ls-tab__arr:hover { text-decoration: underline; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Travaux"] { grid-area: trav; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Logements"] { grid-area: log; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Phase"] { grid-area: ph; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Occupation"] { grid-area: occ; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Financement"] { grid-area: fin; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Livraison"] { grid-area: liv; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Durée"] { grid-area: du; align-self: start; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Budget"] { grid-area: bud; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Architecte"] { grid-area: arch; font-size: .8rem !important; color: #4a5164 !important; overflow-wrap: anywhere; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Mise à jour"] { grid-area: maj; font-size: .78rem !important; color: #7a8297 !important; }
  /* adresse */
  [data-page="cartedesopration"] table.ls-tab--ops .op-rue a { display: inline !important; -webkit-line-clamp: unset !important; font: 800 .9rem/1.3 var(--titre) !important; color: var(--nuit) !important; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-cp { margin-top: .25rem; font-size: .78rem !important; color: #5b6275 !important; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-nom { display: block !important; -webkit-line-clamp: unset !important; margin-top: .1rem; font-size: .76rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-btns { margin-top: .7rem !important; gap: .45rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-fiche-btn, [data-page="cartedesopration"] table.ls-tab--ops .op-gmaps-btn { padding: .28rem .7rem !important; border: 1px solid #dde1ea !important; border-radius: 999px !important; background: #fff !important; color: var(--nuit) !important; font: 600 .74rem var(--titre) !important; text-decoration: none !important; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-fiche-btn:hover, [data-page="cartedesopration"] table.ls-tab--ops .op-gmaps-btn:hover { border-color: var(--dore) !important; background: #fbf7ee !important; color: var(--nuit) !important; }
  /* chiffres */
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Logements"] b { font: 800 1.3rem/1 var(--titre) !important; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Budget"] b { font: 800 1.3rem/1.1 var(--titre) !important; color: var(--nuit); }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Budget"] .op-bu { display: block; width: 100% !important; height: 4px !important; margin-top: .45rem; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Financement"], [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Livraison"] { font: 700 .92rem var(--titre) !important; }
  [data-page="cartedesopration"] table.ls-tab--ops td.op-change { margin: -.4rem -.55rem !important; padding: .4rem .55rem !important; border-radius: 8px; background: #fdf1ef !important; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Durée"] { font: 700 .9rem var(--titre) !important; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Durée"] .op-du { display: block; width: 100% !important; max-width: 16rem; height: 6px !important; margin: .1rem 0 .35rem; border-radius: 3px; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-chip { font-size: .82rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Travaux"] small { font-size: .76rem; color: #7a8297; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-ph { font-size: .84rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-occ-txt { font-size: .84rem !important; color: var(--nuit) !important; }
}
@media (max-width: 760px) {
  [data-page="cartedesopration"] table.ls-tab--ops .op-btns { gap: .4rem !important; margin-top: .55rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops .op-fiche-btn, [data-page="cartedesopration"] table.ls-tab--ops .op-gmaps-btn { padding: .26rem .7rem !important; border: 1px solid #dde1ea !important; border-radius: 999px !important; background: #fff !important; color: var(--nuit) !important; font: 600 .74rem var(--titre) !important; text-decoration: none !important; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr { border-radius: 14px !important; gap: .7rem 1rem !important; }
}
/* logement-agents-publics-france-paris (21 oct. 2026) */
.ap-leg { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 .2rem; font: 600 .8rem var(--titre); color: var(--nuit); }
.ap-leg span { display: inline-flex; align-items: center; gap: .4rem; }
.ap-leg i { width: .85rem; height: .85rem; border-radius: 3px; }
.ap-leg--pub { background: var(--nuit); } .ap-leg--pri { background: #b9c2d3; }
.ap-duos { display: grid; gap: .3rem; margin-top: .6rem; }
.ap-duo { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; align-items: center; padding: .7rem .9rem; border-radius: 10px; }
.ap-duo:nth-child(odd) { background: #f6f7fa; }
.ap-duo--fort { background: #fbf6ea !important; box-shadow: inset 3px 0 0 var(--dore); }
.proto-texte.vx p.ap-duo__nom { margin: 0 !important; font: 700 .9rem/1.25 var(--titre) !important; color: var(--nuit); }
.ap-duo__nom small { display: block; font: 400 .72rem var(--texte); color: #7a8297; }
.ap-duo__barres { display: grid; gap: .3rem; }
.ap-duo__l { display: grid; grid-template-columns: 1fr 3.4rem; gap: .6rem; align-items: center; }
.ap-duo__p { display: block; height: .8rem; border-radius: 99px; background: rgba(16, 27, 52, .06); overflow: hidden; }
.ap-duo__p > span { display: block; height: 100%; border-radius: 99px; }
.ap-duo__l--pub .ap-duo__p > span { background: var(--nuit); }
.ap-duo__l--pri .ap-duo__p > span { background: #b9c2d3; }
.ap-duo__l b { font: 800 .92rem var(--titre); color: var(--nuit); text-align: right; }
.ap-duo__l--pri b { font-weight: 600; color: #6b7387; }
@media (max-width: 560px) { .ap-duo { grid-template-columns: 1fr; gap: .45rem; padding: .65rem .7rem; } }
.ap-hlm { margin-top: 1.4rem; }
.ap-ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0 0; }
.ap-ages > div { display: flex; flex-direction: column; }
.ap-ages__zone { display: flex; align-items: flex-end; height: 12rem; padding: 0 .4rem; border-bottom: 2px solid var(--nuit); }
.ap-ages__col { position: relative; display: block; width: 100%; height: var(--h); border-radius: 10px 10px 0 0; background: #b9c2d3; }
.ap-ages > div:nth-child(2) .ap-ages__col { background: #5a76a6; }
.ap-ages--fort .ap-ages__col { background: var(--nuit) !important; }
.ap-ages__col b { position: absolute; top: .6rem; left: 0; right: 0; text-align: center; font: 800 1.35rem var(--titre); color: #fff; }
.ap-ages > div:first-child .ap-ages__col b { color: var(--nuit); }
.proto-texte.vx .ap-ages p { margin: .55rem 0 0 !important; text-align: center; font: 600 .84rem/1.3 var(--titre) !important; color: var(--nuit); }
@media (max-width: 560px) { .ap-ages__zone { height: 9rem; } .ap-ages__col b { font-size: 1.05rem; } }
/* cartedesopration — onglets par type d'opération (21 oct. 2026) */
.op-types { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; }
.op-types__b { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.05rem; border: 1px solid #dde1ea; border-radius: 999px; background: #fff; color: var(--nuit); font: 700 .92rem var(--titre); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.op-types__b:hover { border-color: var(--dore); box-shadow: 0 4px 12px rgba(16, 27, 52, .07); }
.op-types__b::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #b9c2d3; }
.op-types__b--tout::before { display: none; }
.op-types__b--neuf::before { background: #16895a; } .op-types__b--rehab::before { background: #5a76a6; }
.op-types__b--achat::before { background: #c9a35b; } .op-types__b--aqs::before { background: #8b92a5; }
.op-types__b--travaux::before { background: #d9822b; } .op-types__b--livre::before { background: #101b34; }
.op-types__n { min-width: 1.7rem; padding: .08rem .45rem; border-radius: 999px; background: #eef1f6; font: 700 .76rem var(--titre); color: #5b6275; text-align: center; }
.op-types__b[aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.op-types__b[aria-selected="true"]::before { box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.op-types__b--livre[aria-selected="true"]::before { background: var(--dore); }
.op-types__b[aria-selected="true"] .op-types__n { background: var(--dore); color: var(--nuit); }
.op-types__b:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
@media (max-width: 760px) {
  .op-types { flex-wrap: nowrap; overflow-x: auto; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem .3rem; scrollbar-width: none; }
  .op-types::-webkit-scrollbar { display: none; }
  .op-types__b { flex: none; padding: .5rem .85rem; font-size: .84rem; }
}
[data-page="cartedesopration"] .ls-erp--ops .ls-erp__table { max-height: none !important; overflow: visible !important; border: 0 !important; }
@media (min-width: 761px) { .op-types { gap: .4rem; } .op-types__b { padding: .5rem .85rem; font-size: .86rem; gap: .45rem; } }
/* cartedesopration — chiffres d'abord, filtres repliés (21 oct. 2026) */
[data-page="cartedesopration"] .ls-erp--ops .ls-erp__kpi { margin-bottom: 1rem; }   /* fond blanc comme avant (21 oct. 2026, demande) */
[data-page="cartedesopration"] .op-toutes .ls-erp__filtres:not(.op-ouvert) { grid-template-columns: minmax(0, 1fr) auto !important; align-items: end; padding: .8rem 1rem; }
[data-page="cartedesopration"] .ls-erp__filtres:not(.op-ouvert) > label:not(.ls-erp__cherche) { display: none !important; }
[data-page="cartedesopration"] .op-toutes .ls-erp__filtres.op-ouvert .ls-erp__cherche { grid-column: 1 / -2; }
.op-plus { align-self: end; height: 2.75rem; padding: 0 1.1rem; border: 1px solid #dde1ea; border-radius: 999px; background: #fff; color: var(--nuit); font: 700 .86rem var(--titre); white-space: nowrap; cursor: pointer; }
.op-plus:hover { border-color: var(--dore); }
.op-plus[aria-expanded="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
[data-page="cartedesopration"] .ls-erp--ops .ls-erp__aide { margin-top: .5rem; }
[data-page="cartedesopration"] .ls-erp--ops .ls-erp__barre { margin-top: .3rem; }
@media (max-width: 760px) { [data-page="cartedesopration"] .op-toutes .ls-erp__filtres:not(.op-ouvert) { grid-template-columns: 1fr !important; } .op-plus { justify-self: start; height: 2.4rem; } [data-page="cartedesopration"] .op-toutes .ls-erp__filtres.op-ouvert .ls-erp__cherche { grid-column: 1 / -1; } }
@media (min-width: 761px) { [data-page="cartedesopration"] .ls-erp--ops .ls-erp__kpi { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
[data-page="cartedesopration"] .op-toutes .ls-erp__filtres:not(.op-ouvert) .ls-erp__cherche { grid-column: 1 !important; }
@media (max-width: 760px) { [data-page="cartedesopration"] .op-toutes .ls-erp__filtres:not(.op-ouvert) .ls-erp__cherche { grid-column: 1 / -1 !important; } }

/* ==========================================================================
   autorisations-urbanisme-paris (26 oct. 2026) : thèmes en tuiles, chiffres d'abord,
   une question par visuel, carte des arrondissements, dossiers en fiches
   ========================================================================== */
[data-page="autorisations-urbanisme-paris"] { --ur-vert: #16895a; --ur-rouge: #b3261e; }

/* --- Thèmes : des tuiles avec le nombre de dossiers --- */
[data-page="autorisations-urbanisme-paris"] .ls25 .ls-onglets.ls-onglets--plusieurs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 0 0 1.6rem; padding: 0; border: 0; background: none; box-shadow: none; }
[data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs [data-onglet] { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: .3rem; min-height: 4.6rem; margin: 0; padding: .7rem .85rem; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; color: var(--nuit); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
[data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs [data-onglet]::after { content: none !important; }
[data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs [data-onglet]:hover { border-color: var(--dore); box-shadow: 0 6px 16px rgba(16, 27, 52, .07); }
[data-page="autorisations-urbanisme-paris"] .ur-th__nom { font: 700 .86rem/1.25 var(--titre); }
[data-page="autorisations-urbanisme-paris"] .ur-th__n { font: 800 1.05rem var(--titre); color: var(--dore-texte); }
[data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs [data-onglet][aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
[data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs [data-onglet][aria-selected="true"] .ur-th__n { color: var(--dore); }
[data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs [data-onglet]:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
@media (max-width: 960px) { [data-page="autorisations-urbanisme-paris"] .ls25 .ls-onglets.ls-onglets--plusieurs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  [data-page="autorisations-urbanisme-paris"] .ls-onglets-choix { display: none !important; }
  [data-page="autorisations-urbanisme-paris"] .ls25 .ls-onglets.ls-onglets--plusieurs { display: flex !important; gap: .45rem; overflow-x: auto; margin-inline: calc(-1 * var(--gouttiere, 1.25rem)); padding: 0 var(--gouttiere, 1.25rem) .3rem; scrollbar-width: none; }
  [data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs::-webkit-scrollbar { display: none; }
  [data-page="autorisations-urbanisme-paris"] .ls-onglets--plusieurs [data-onglet] { flex: 0 0 auto; width: 9.5rem; min-height: 4.2rem; }
}

/* --- Chiffres d'abord --- */
[data-page="autorisations-urbanisme-paris"] .ur-vue .ls-vue__titre { margin-bottom: .2rem; }
[data-page="autorisations-urbanisme-paris"] .ur-vue .ls-lead { max-width: 52rem; }
.ur-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0 1.4rem; border-radius: 16px; background: var(--nuit); overflow: hidden; }
.ur-chiffres > div { padding: 1.1rem 1.3rem 1.15rem; border-left: 1px solid rgba(255, 255, 255, .1); }
.ur-chiffres > div:first-child { border-left: 0; }
.ur-chiffres span { display: block; font: 700 .66rem var(--titre); letter-spacing: .1em; text-transform: uppercase; color: #aab3c7; }
.ur-chiffres b { display: block; margin: .3rem 0 .15rem; font: 800 1.85rem/1.1 var(--titre); color: var(--dore); }
.ur-chiffres small { font-size: .76rem; color: #c9cfdc; }
@media (max-width: 640px) {
  .ur-chiffres { grid-template-columns: 1fr; }
  .ur-chiffres > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 .8rem; padding: .8rem 1rem; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .ur-chiffres > div:first-child { border-top: 0; }
  .ur-chiffres b { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 1.45rem; }
}

/* --- Les quatre visuels --- */
.ur-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 860px) { .ur-grille { grid-template-columns: 1fr; } }
[data-page="autorisations-urbanisme-paris"] .ur-grille .ls-titre { font-size: 1.12rem !important; }
.ur-carte svg { display: block; width: 100%; height: auto; margin-top: .4rem; }
.ur-carte path { stroke: #fff; stroke-width: 1.5; cursor: pointer; transition: opacity .15s; }
.ur-carte path:hover, .ur-carte path:focus { opacity: .8; outline: none; stroke: var(--dore); stroke-width: 2.5; }
.ur-carte text { font: 700 11px var(--titre); fill: var(--nuit); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.ur-carte text.ur-carte__clair { fill: #fff; }
.ur-carte__leg { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .5rem 0 0 !important; font: 600 .72rem var(--titre) !important; color: #6b7387; }
.ur-carte__leg span { display: inline-flex; align-items: center; gap: .3rem; }
.ur-carte__leg i { display: inline-block; width: .9rem; height: .9rem; border-radius: 3px; }
.ur-bloc--carte .n-rangs { margin-top: .8rem; }
.ur-tous-arr { margin-top: .4rem !important; }

/* --- La liste : filtres repliés --- */
.ur-plus { align-self: end; height: 2.75rem; padding: 0 1.1rem; border: 1px solid #dde1ea; border-radius: 999px; background: #fff; color: var(--nuit); font: 700 .86rem var(--titre); white-space: nowrap; cursor: pointer; }
.ur-plus:hover { border-color: var(--dore); }
.ur-plus[aria-expanded="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
[data-page="autorisations-urbanisme-paris"] .ls-erp__filtres:not(.ur-ouvert) { grid-template-columns: minmax(0, 1fr) auto !important; align-items: end; }
[data-page="autorisations-urbanisme-paris"] .ls-erp__filtres:not(.ur-ouvert) > label:not(.ls-erp__cherche) { display: none !important; }
[data-page="autorisations-urbanisme-paris"] .ls-erp__filtres:not(.ur-ouvert) > .ls-erp__cherche { grid-column: 1 !important; }
[data-page="autorisations-urbanisme-paris"] .ls-erp__filtres.ur-ouvert > .ls-erp__cherche { grid-column: 1 / -2; }
[data-page="autorisations-urbanisme-paris"] .ls-erp__filtres.ur-ouvert > label[hidden] { display: none !important; }
@media (max-width: 760px) {
  [data-page="autorisations-urbanisme-paris"] .ls-erp__filtres:not(.ur-ouvert) { grid-template-columns: 1fr !important; }
  [data-page="autorisations-urbanisme-paris"] .ls-erp__filtres.ur-ouvert > .ls-erp__cherche { grid-column: 1 / -1; }
  .ur-plus { justify-self: start; height: 2.4rem; }
}

/* --- Décision en pastille --- */
.ur-dec { display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .6rem; border-radius: 999px; font: 700 .76rem/1.3 var(--titre); }
.ur-dec::before { content: ""; flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.ur-dec--fav { background: #e7f4ee; color: var(--ur-vert); }
.ur-dec--def { background: #fdeceb; color: var(--ur-rouge); }
.ur-dec--autre { background: #eef1f6; color: #4a5164; }
.ur-dec--aucune { background: #f4f5f8; color: #7a8297; font-weight: 600; }

/* --- Les dossiers en fiches (ordinateur) --- */
@media (min-width: 761px) {
  [data-page="autorisations-urbanisme-paris"] .ls-erp__table { max-height: none !important; overflow: visible !important; border: 0 !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur, [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead, [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody { display: block !important; width: 100% !important; min-width: 0 !important; border: 0 !important; background: none !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead tr { display: flex !important; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .9rem; background: none !important; border: 0; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead tr::before { content: "Trier par"; margin-right: .3rem; font: 700 .72rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #7a8297; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead th { display: block; padding: 0 !important; border: 0 !important; background: none !important; min-width: 0 !important; width: auto !important; position: static !important; box-shadow: none !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead th:last-child { display: none; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead th button { display: inline-flex; gap: .3rem; padding: .32rem .75rem !important; border: 1px solid #dde1ea !important; border-radius: 999px; background: #fff !important; color: var(--nuit) !important; font: 600 .78rem var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead th button:hover { border-color: var(--dore) !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur thead th button[aria-sort] { background: var(--nuit) !important; border-color: var(--nuit) !important; color: #fff !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody tr {
    display: grid !important; position: relative;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.4fr) minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "adr desc dossier dec" "adr desc dep delai";
    gap: .8rem 1.4rem; margin: 0 0 .65rem; padding: 2.1rem 1.4rem 1.05rem 1.6rem;
    border: 1px solid #e3e6ee; border-radius: 14px; background: #fff !important; box-shadow: 0 1px 2px rgba(16, 27, 52, .04);
  }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody tr::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 0 3px 3px 0; background: var(--dore); opacity: .55; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody tr:hover { border-color: #cfd5e2; box-shadow: 0 8px 22px rgba(16, 27, 52, .07); }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody tr td, [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody tr td[data-col] {
    display: block !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
    width: auto !important; min-width: 0 !important; max-width: none !important; text-align: left !important; white-space: normal !important; font-size: .86rem; line-height: 1.45; color: var(--nuit); }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody td:not([data-col="Adresse"]):not([data-col="Arr."]):not([data-col="Description"])::before { content: attr(data-col); display: block; margin-bottom: .22rem; font: 700 .62rem/1.2 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #8b92a5; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody td[data-col="Dépôt"]::before { content: "Déposé le"; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody td[data-col="Délai"]::before { content: "Délai de réponse"; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Adresse"] { grid-area: adr; padding-right: 1rem !important; border-right: 1px solid #eef0f4 !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Description"] { grid-area: desc; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Dossier"] { grid-area: dossier; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Décision"] { grid-area: dec; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Dépôt"] { grid-area: dep; font: 700 .9rem var(--titre) !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Délai"] { grid-area: delai; font: 700 .9rem var(--titre) !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur tbody tr td[data-col="Arr."] { position: absolute !important; top: .85rem; left: 1.6rem; font: 700 .7rem var(--titre) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--dore-texte) !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Arr."] .ls-tab__arr { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font: inherit !important; color: inherit !important; cursor: pointer; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Arr."] .ls-tab__arr::after { content: " arrondissement"; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur .op-rue { display: block; font: 800 .98rem/1.3 var(--titre); color: var(--nuit); }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur .op-btns { display: flex; margin-top: .55rem; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur .op-gmaps-btn { padding: .26rem .7rem !important; border: 1px solid #dde1ea !important; border-radius: 999px !important; background: #fff !important; color: var(--nuit) !important; font: 600 .74rem var(--titre) !important; text-decoration: none !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur .op-gmaps-btn:hover { border-color: var(--dore) !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Description"] > span { font-size: .92rem; line-height: 1.5; color: #2d3346; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Dossier"] { font: 700 .86rem/1.3 var(--titre) !important; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td small { display: block; margin-top: .15rem; font: 400 .74rem var(--texte); color: #7a8297; }
  [data-page="autorisations-urbanisme-paris"] table.ls-tab--ur td[data-col="Décision"] small { margin-top: .3rem; }
}
@media (max-width: 700px) { [data-page="autorisations-urbanisme-paris"] .ls25 .ls-onglets.ls-onglets--plusieurs { flex-wrap: nowrap !important; } }
/* les chiffres du thème sont déjà en haut : pas de second bandeau au-dessus de la liste */
[data-page="autorisations-urbanisme-paris"] [data-ur-erp] .ls-erp__kpi { display: none !important; }
/* Graphiques / Adresses dans chaque thème (26 oct. 2026) */
.ur-mode { display: inline-flex; gap: 3px; margin: 0 0 1.2rem; padding: 4px; border-radius: 999px; background: #e9edf3; }
.ur-mode button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1.3rem; border: 0; border-radius: 999px; background: none; font: 700 .92rem var(--titre); color: #4a5164; cursor: pointer; }
.ur-mode button span { padding: .05rem .5rem; border-radius: 999px; background: rgba(16, 27, 52, .08); font-size: .76rem; }
.ur-mode button[aria-selected="true"] { background: #fff; color: var(--nuit); box-shadow: 0 1px 3px rgba(16, 27, 52, .15); }
.ur-mode button[aria-selected="true"] span { background: var(--dore); color: var(--nuit); }
.ur-mode button:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
html:not(.ur-js) .ur-mode { display: none; }
html.ur-js:not(.ur-mode-liste) [data-page="autorisations-urbanisme-paris"] #dossiers { display: none; }
html.ur-mode-liste [data-page="autorisations-urbanisme-paris"] .ur-vue .ur-grille,
html.ur-mode-liste [data-page="autorisations-urbanisme-paris"] .ur-vue .n-savoir { display: none; }
html.ur-mode-liste [data-page="autorisations-urbanisme-paris"] #dossiers { margin-top: 0; }
@media (max-width: 640px) { .ur-mode { display: flex; } .ur-mode button { flex: 1; justify-content: center; padding-inline: .6rem; } }

/* Autorisations d'urbanisme : vue Carte (26 oct. 2026), même cadre que la carte des préemptions, plus haute pour Paris entier */
[data-page="autorisations-urbanisme-paris"] .ur-plan { height: clamp(26rem, 70vh, 44rem); margin: .4rem 0 .8rem; }
[data-page="autorisations-urbanisme-paris"] .ur-plan[hidden], [data-page="autorisations-urbanisme-paris"] .ls-erp__table[hidden], [data-page="autorisations-urbanisme-paris"] .ls-erp__pages[hidden] { display: none !important; }
[data-page="autorisations-urbanisme-paris"] .ur-vues { display: flex; width: max-content; }
.ur-plan .leaflet-popup-content p { margin: 0 0 .35rem; }
.ur-plan .ur-pop__dos { font-size: .78rem; color: #4a5164; }
.ur-plan .ur-pop__desc { font-size: .8rem; max-height: 8rem; overflow: auto; }
.ur-pt { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); vertical-align: -.05rem; }
/* amas de points en bleu nuit : le vert et le rouge restent réservés aux décisions */
.ur-plan .marker-cluster { background: rgba(16, 27, 52, .22); }
.ur-plan .marker-cluster div { background: var(--nuit); color: #fff; font: 700 .72rem/30px var(--titre); }
.ur-plan .marker-cluster span { line-height: 30px; }
@media (max-width: 640px) { [data-page="autorisations-urbanisme-paris"] .ur-plan { height: 26rem; } }
/* Nature des travaux (26 oct. 2026) : mêmes pastilles que la carte des opérations (.op-chip) */
[data-page="autorisations-urbanisme-paris"] .op-chip { display: inline-block; margin: 0 .25rem .25rem 0; padding: .15rem .5rem; border-radius: 999px; font: 700 .72rem/1.3 var(--titre); white-space: normal; }
[data-page="autorisations-urbanisme-paris"] .ur-puces { display: block; margin: 0 0 .3rem; }
[data-page="autorisations-urbanisme-paris"] .ur-bloc--travaux { grid-column: 1 / -1; }
[data-page="autorisations-urbanisme-paris"] .ur-bloc--travaux .n-rang { cursor: pointer; }
[data-page="autorisations-urbanisme-paris"] .ur-bloc--travaux .n-rang:hover .n-rang__nom, [data-page="autorisations-urbanisme-paris"] .ur-bloc--travaux .n-rang:focus-visible .n-rang__nom { text-decoration: underline; }

/* logements-sociaux-finances-paris, onglet « Les chiffres » (27 oct. 2026) : chiffres d'abord, questions, carte, tableaux repliés */
[data-fe-vue="chiffres"] > .pp-h3 { display: none; }   /* les blocs portent désormais leur question en titre */
.fe-chiffres { margin: 0 0 1rem; }
.fe-grille2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; margin-top: 1rem; }
.fe-grille2 > .fe-bloc { margin: 0 !important; }
@media (max-width: 860px) { .fe-grille2 { grid-template-columns: 1fr; } }
.fe-carte-arr { margin: .2rem 0 .6rem; }
.fe-carte-arr path.fe-arr--choisi { stroke: var(--dore); stroke-width: 3; }
.fe-replie { margin: 1rem 0 0 !important; }
.fe-replie > summary { font: 700 .86rem var(--titre); color: var(--nuit); }
.fe-replie[open] > summary { margin-bottom: .6rem; }
.fe-replie .fe-classement { margin-top: .2rem; }
/* 27 oct. 2026 (2) : sans trous sur ordinateur — arrondissements en pleine largeur (carte | classement), puis trois blocs de même hauteur */
.fe-arr-duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.fe-arr-duo .fe-carte-arr { margin: 0; }
@media (max-width: 760px) { .fe-arr-duo { grid-template-columns: 1fr; } }
.fe-grille3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; margin-top: 1rem; }
.fe-grille3 > .fe-bloc { margin: 0 !important; }
@media (max-width: 1000px) { .fe-grille3 { grid-template-columns: 1fr; } }

/* étiquettes des colonnes sur une ligne (« LOGEMENTS » ne se coupe plus), 27 oct. 2026 */
@media (min-width: 761px) { [data-page="cartedesopration"] table.ls-tab--ops tbody td::before { letter-spacing: .03em !important; white-space: nowrap; } }
@media (min-width: 761px) { [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Financement"], [data-page="cartedesopration"] table.ls-tab--ops td[data-col="Livraison"] { overflow-wrap: normal !important; word-break: normal !important; hyphens: none; } }
/* Opérations : fenêtre « Logements » (financements et tailles), 27 oct. 2026 */
[data-page="cartedesopration"] .op-log-plus { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-left: .4rem; padding: 0; border: 1px solid #dde1ea; border-radius: 50%; background: #fff; font: 700 .85rem/1 var(--titre); color: var(--nuit); vertical-align: .2em; cursor: pointer; }
[data-page="cartedesopration"] .op-log-plus:hover, [data-page="cartedesopration"] .op-log-plus:focus-visible { border-color: var(--dore); background: #fbf7ee; outline: none; }
.op-modale { width: min(30rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 20px 60px rgba(16, 27, 52, .3); color: var(--nuit); }
.op-modale::backdrop { background: rgba(16, 27, 52, .45); }
.op-modale__boite { position: relative; padding: 1.4rem 1.5rem 1.3rem; }
.op-modale__x { position: absolute; top: .6rem; right: .7rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: #f1f3f7; font-size: 1.3rem; line-height: 1; color: var(--nuit); cursor: pointer; }
.op-modale__sur { margin: 0 2rem 0 0; font: 700 .7rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #8a6d2f; }
.op-modale__titre { margin: .2rem 2rem .3rem 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font: 800 1.1rem/1.3 var(--titre) !important; color: var(--nuit) !important; text-transform: none !important; letter-spacing: 0 !important; }
.op-modale__titre::before, .op-modale__titre::after { content: none !important; }
.op-modale__tot { margin: 0 0 .9rem; font-size: .9rem; color: #4a5164; }
.op-modale__tot b { font: 800 1.4rem var(--titre); color: var(--nuit); }
.op-modale__h { margin: .9rem 0 .4rem !important; padding: 0 !important; border: 0 !important; background: none !important; font: 700 .72rem var(--titre) !important; letter-spacing: .06em !important; text-transform: uppercase !important; color: #8b92a5 !important; }
.op-modale__h::before, .op-modale__h::after { content: none !important; }
.op-modale__l { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.op-modale__l li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .1rem .8rem; margin: 0 !important; padding: .4rem 0 !important; border-bottom: 1px solid #eef0f4; font-size: .88rem; }
.op-modale__l li::before, .op-modale__l li::marker { content: none !important; display: none !important; }
.op-modale__l li small { color: #7a8297; }
.op-modale__l li b { font: 700 .95rem var(--titre); text-align: right; }
.op-modale__barre { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: #eef1f6; overflow: hidden; }
.op-modale__barre > span { display: block; height: 100%; background: var(--dore); }
.op-modale__src { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin: 1rem 0 0; font-size: .78rem; color: #7a8297; }
.op-modale__src .op-fiche-btn { padding: .3rem .75rem; border: 0; border-radius: 999px; background: var(--nuit); color: #fff; font: 700 .74rem var(--titre); cursor: pointer; }
/* (27 oct. 2026) téléphone : les anciennes dates barrées passent à la ligne (elles faisaient déborder la page) */
@media (max-width: 760px) { [data-page="cartedesopration"] .ls-tab--ops .op-avant, [data-page="cartedesopration"] .ls-tab--ops .op-avant s { white-space: normal !important; overflow-wrap: anywhere; } }
[data-page="cartedesopration"] table.ls-tab--ops td[data-col="Logements"] b { white-space: nowrap; } [data-page="cartedesopration"] .op-log-plus { margin-left: .3rem; }
/* 27 oct. 2026 (demande) : « mise à jour » en petit sous les boutons de l'adresse ; boutons plus petits ; la colonne Architecte prend la place */
[data-page="cartedesopration"] table.ls-tab--ops td[data-col="Mise à jour"] { display: none !important; }
[data-page="cartedesopration"] table.ls-tab--ops .op-maj-l { display: block; margin-top: .45rem; font-size: .7rem !important; color: #8a91a2 !important; }
[data-page="cartedesopration"] table.ls-tab--ops .op-btns { margin-top: .55rem !important; gap: .35rem !important; }
[data-page="cartedesopration"] table.ls-tab--ops .op-fiche-btn, [data-page="cartedesopration"] table.ls-tab--ops .op-gmaps-btn { padding: .16rem .55rem !important; font-size: .68rem !important; }
@media (min-width: 761px) {
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr { grid-template-areas: "adr trav trav trav fin liv bud bud" "adr log ph occ du du arch arch" !important; }
}
[data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Mise à jour"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr.op-ligne--bouge td[data-col="Mise à jour"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover td[data-col="Mise à jour"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr:nth-child(even) td[data-col="Mise à jour"] { display: none !important; }
/* 27 oct. 2026 (demande) : colonne Budget un peu plus étroite, la place rendue aux autres colonnes ; un peu plus d'écart entre les colonnes */
@media (min-width: 761px) {
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr { grid-template-columns: minmax(0, 2.05fr) minmax(0, .66fr) minmax(0, .82fr) minmax(0, 1.02fr) minmax(0, .98fr) minmax(0, .98fr) minmax(0, .62fr) minmax(0, .62fr) !important; column-gap: 1.8rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Financement"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Durée"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Budget"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Architecte"] { margin-left: -.9rem !important; padding-left: .9rem !important; }
}
@media (min-width: 761px) and (max-width: 1199px) {
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr { column-gap: 1.3rem !important; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Financement"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Durée"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Budget"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Architecte"] { margin-left: -.65rem !important; padding-left: .65rem !important; }
}
@media (min-width: 761px) and (max-width: 1199px) { [data-page="cartedesopration"] table.ls-tab--ops tbody tr { grid-template-columns: minmax(0, 1.75fr) minmax(0, .7fr) minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, .98fr) minmax(0, .98fr) minmax(0, .62fr) minmax(0, .62fr) !important; } }

/* ---------- Opérations : filtres (27 oct. 2026, maquette validée) ---------- */
[data-page="cartedesopration"] table.ls-tab--ops thead { display: none !important; }   /* le tri passe dans « Trier par » */
[data-page="cartedesopration"] .op-zone { margin: 0 0 .2rem; }
[data-page="cartedesopration"] .op-cherche { position: relative; display: block; margin: 0 0 .7rem; }
[data-page="cartedesopration"] .op-cherche svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8c6a2f; }
[data-page="cartedesopration"] .op-cherche input { width: 100%; box-sizing: border-box; min-height: 3.1rem; padding: .7rem 1rem .7rem 2.8rem; border: 1px solid #cfd5e2; border-radius: 12px; background: #fff; font: 400 1rem var(--texte, inherit); color: var(--nuit); }
[data-page="cartedesopration"] .op-cherche input:focus { outline: none; border-color: var(--dore); box-shadow: 0 0 0 3px rgba(201, 163, 91, .25); }
[data-page="cartedesopration"] .op-filtres { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
[data-page="cartedesopration"] .op-f { position: relative; }
[data-page="cartedesopration"] .op-f__b { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border: 1px solid #dde1ea; border-radius: 999px; background: #fff; font: 600 .84rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="cartedesopration"] .op-f__b::after { content: "▾"; font-size: .7rem; color: #8b92a5; }
[data-page="cartedesopration"] .op-f__b:hover { border-color: #c3cbda; }
[data-page="cartedesopration"] .op-f__b--actif { border-color: var(--dore); background: #fbf6ea; }
[data-page="cartedesopration"] .op-f__n { padding: 0 .4rem; border-radius: 999px; background: var(--dore); font-size: .7rem; color: var(--nuit); }
[data-page="cartedesopration"] .op-pan { position: absolute; top: calc(100% + .4rem); left: 0; z-index: 30; width: 22rem; max-width: calc(100vw - 2rem); padding: 1rem; border: 1px solid #e3e7ef; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(16, 27, 52, .15); }
[data-page="cartedesopration"] .op-pan[hidden] { display: none; }
[data-page="cartedesopration"] .op-pan__t { margin: 0 0 .5rem; font: 700 .72rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #8b92a5; }
[data-page="cartedesopration"] .op-pan__choix { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .9rem; }
[data-page="cartedesopration"] .op-pan__choix button { padding: .35rem .6rem; border: 1px solid #dde1ea; border-radius: 999px; background: #fff; font: 600 .8rem var(--titre); color: var(--nuit); cursor: pointer; }
[data-page="cartedesopration"] .op-pan__choix button small { margin-left: .15rem; font-weight: 600; color: #8b92a5; }
[data-page="cartedesopration"] .op-pan__choix button[aria-pressed="true"] { border-color: var(--nuit); background: var(--nuit); color: #fff; }
[data-page="cartedesopration"] .op-pan__choix button[aria-pressed="true"] small { color: var(--dore); }
[data-page="cartedesopration"] .op-pan__choix button:disabled { opacity: .4; cursor: default; }
[data-page="cartedesopration"] .op-pan__pied { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: .7rem 0 0; border-top: 1px solid #eef0f4; background: none; }
[data-page="cartedesopration"] .op-pan__pied button { border: 0; background: none; font: 600 .82rem var(--titre); color: #5b6275; cursor: pointer; }
[data-page="cartedesopration"] .op-pan__pied .op-pan__ok { padding: .45rem .9rem; border-radius: 999px; background: var(--nuit); color: #fff; }
[data-page="cartedesopration"] .op-puces { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .7rem; }
[data-page="cartedesopration"] .op-puces__l { display: contents; }
[data-page="cartedesopration"] .op-puces:not(:has(.op-puce)) { display: none; }
[data-page="cartedesopration"] .op-puce { display: inline-flex; gap: .35rem; padding: .25rem .65rem; border: 1px solid #ead9b3; border-radius: 999px; background: #fbf6ea; font: 600 .78rem var(--titre); color: var(--nuit); cursor: pointer; }
[data-page="cartedesopration"] .op-effacer { border: 0; background: none; font: 600 .78rem var(--titre); color: #8c6a2f; text-decoration: underline; cursor: pointer; }
[data-page="cartedesopration"] .op-res { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin: 1.2rem 0 1rem; padding-top: 1rem; border-top: 1px solid #eef0f4; }
[data-page="cartedesopration"] .op-res__n { font: 800 1.05rem var(--titre); color: var(--nuit); }
[data-page="cartedesopration"] .op-res__tri { display: inline-flex; gap: .4rem; align-items: center; font: 600 .84rem var(--titre); color: #5b6275; }
[data-page="cartedesopration"] .op-res__tri select { padding: .35rem .6rem; border: 1px solid #dde1ea; border-radius: 8px; background: #fff; font: 600 .84rem var(--titre); color: var(--nuit); }
[data-page="cartedesopration"] .op-res__vues { margin: 0 0 0 auto !important; }
[data-page="cartedesopration"] .op-csv { border: 0; background: none; font: 600 .82rem var(--titre); color: var(--nuit); text-decoration: underline; cursor: pointer; }
@media (max-width: 700px) {
  [data-page="cartedesopration"] .op-filtres { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
  [data-page="cartedesopration"] .op-filtres::-webkit-scrollbar { display: none; }
  [data-page="cartedesopration"] .op-f { position: static; flex: none; }
  [data-page="cartedesopration"] .op-pan { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1000; width: auto; max-width: none; max-height: 75vh; overflow-y: auto; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(16, 27, 52, .25); }
  [data-page="cartedesopration"] .op-res__vues { margin-left: 0 !important; }
}

/* cartedesopration — panneaux de filtres plus fins (27 oct. 2026) : liste à cases au lieu de grosses pastilles */
[data-page="cartedesopration"] .op-pan { width: 17.5rem; padding: .85rem .8rem .7rem; border-color: #e6e9f0; border-radius: 12px; box-shadow: 0 12px 32px rgba(16, 27, 52, .12); }
[data-page="cartedesopration"] .op-pan__t { margin: .2rem .5rem .35rem; font: 600 .78rem var(--texte); letter-spacing: 0; text-transform: none; color: #7a8297; }
[data-page="cartedesopration"] .op-pan__choix { display: grid; gap: 1px; margin: 0 0 .6rem; }
[data-page="cartedesopration"] .op-pan__choix button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .42rem .5rem; border: 0; border-radius: 8px; background: none; font: 500 .86rem/1.3 var(--texte); color: var(--nuit); text-align: left; }
[data-page="cartedesopration"] .op-pan__choix button::before { content: ""; flex: none; width: .95rem; height: .95rem; border: 1.5px solid #c3cbda; border-radius: 4px; background: #fff center / .65rem no-repeat; transition: background-color .12s, border-color .12s; }
[data-page="cartedesopration"] .op-pan__choix button:hover { background: #f4f6fa; }
[data-page="cartedesopration"] .op-pan__choix button small { margin-left: auto; font: 400 .76rem var(--texte); color: #9aa0ae; }
[data-page="cartedesopration"] .op-pan__choix button[aria-pressed="true"] { background: none; color: var(--nuit); font-weight: 600; }
[data-page="cartedesopration"] .op-pan__choix button[aria-pressed="true"]::before { border-color: var(--nuit); background-color: var(--nuit); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
[data-page="cartedesopration"] .op-pan__choix button[aria-pressed="true"] small { color: #8c6a2f; }
[data-page="cartedesopration"] .op-pan__choix button:focus-visible { outline: 2px solid var(--dore); outline-offset: -2px; }
/* arrondissements : une petite grille de 5 colonnes, sans case */
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan { width: 19rem; }
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan__choix { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .25rem; }
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan__choix button { flex-direction: column; gap: 0; padding: .35rem 0 .3rem; border: 1px solid #e6e9f0; border-radius: 8px; text-align: center; font-weight: 600; }
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan__choix button::before { content: none; }
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan__choix button small { margin: 0; font-size: .68rem; }
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan__choix button[aria-pressed="true"] { border-color: var(--nuit); background: var(--nuit); color: #fff; }
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan__choix button[aria-pressed="true"] small { color: var(--dore); }
/* pied plus discret */
[data-page="cartedesopration"] .op-pan__pied { padding: .55rem .3rem 0; border-top-color: #f0f2f6; }
[data-page="cartedesopration"] .op-pan__pied button { font: 500 .8rem var(--texte); color: #7a8297; }
[data-page="cartedesopration"] .op-pan__pied button:hover { color: var(--nuit); }
[data-page="cartedesopration"] .op-pan__pied .op-pan__ok { padding: .38rem .8rem; font: 600 .8rem var(--titre); }
@media (max-width: 700px) {
  [data-page="cartedesopration"] .op-pan, [data-page="cartedesopration"] [data-op-f="arr"] .op-pan { width: auto; padding: 1rem 1rem .9rem; }
  [data-page="cartedesopration"] .op-pan__choix button { padding: .6rem .5rem; font-size: .95rem; }
}
[data-page="cartedesopration"] [data-op-f="arr"] .op-pan__choix button:nth-child(21) { grid-column: span 2; }
/* Opérations › bouton Programme (27 oct. 2026) : deux colonnes, travaux à gauche (couleurs de la liste), programme à droite */
[data-page="cartedesopration"] [data-op-f="prog"] .op-pan { width: 33rem; }
[data-page="cartedesopration"] [data-op-f="prog"] .op-pan__cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 .8rem; }
[data-page="cartedesopration"] [data-op-f="prog"] .op-pan__g + .op-pan__g { padding-left: .8rem; border-left: 1px solid #f0f2f6; }
[data-page="cartedesopration"] .op-pan__pt { display: inline-flex; align-items: center; gap: .4rem; background: none !important; font-weight: 600; }
[data-page="cartedesopration"] .op-pan__pt i { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
@media (max-width: 700px) {
  [data-page="cartedesopration"] [data-op-f="prog"] .op-pan { width: auto; }
  [data-page="cartedesopration"] [data-op-f="prog"] .op-pan__cols { grid-template-columns: minmax(0, 1fr); }
  [data-page="cartedesopration"] [data-op-f="prog"] .op-pan__g + .op-pan__g { padding-left: 0; border-left: 0; }
}
/* Programme : la 3e liste (Phase) se range sous Programme, dans la colonne de droite */
[data-page="cartedesopration"] [data-op-f="prog"] .op-pan__cols { grid-template-rows: auto 1fr; }
[data-page="cartedesopration"] [data-op-f="prog"] .op-pan__g:first-child { grid-row: 1 / span 2; }
[data-page="cartedesopration"] [data-op-f="prog"] .op-pan__g:nth-child(3) { padding-left: .8rem; border-left: 1px solid #f0f2f6; }
@media (max-width: 700px) {
  [data-page="cartedesopration"] [data-op-f="prog"] .op-pan__g:first-child { grid-row: auto; }
  [data-page="cartedesopration"] [data-op-f="prog"] .op-pan__g:nth-child(3) { padding-left: 0; border-left: 0; }
}
/* Opérations : 4 familles de travaux, 4 couleurs bien distinctes, identiques dans le tableau et le bouton « Travaux » (27 oct. 2026) */
[data-page="cartedesopration"] .op-chip--neuf { color: #1e7a4a !important; }
[data-page="cartedesopration"] .op-chip--rehab, [data-page="cartedesopration"] .op-chip--climat { color: #b5651d !important; }
[data-page="cartedesopration"] .op-chip--acquis { color: #2f5f9e !important; }
[data-page="cartedesopration"] .op-chip--aqs { color: #7b4fa0 !important; }
/* Panneaux de filtres : « Voir les opérations » garde son texte blanc au survol (il devenait bleu nuit sur bleu nuit), 27 oct. 2026 */
[data-page="cartedesopration"] .op-pan__pied .op-pan__ok:hover, [data-page="cartedesopration"] .op-pan__pied .op-pan__ok:focus-visible { color: #fff !important; background: #2a3a5c; }
/* la case cochée n'a plus de cadre doré après un clic à la souris (il reste pour la navigation au clavier) */
[data-page="cartedesopration"] .op-pan__choix button:focus:not(:focus-visible) { outline: none; }
/* Opérations (27 oct. 2026) : le trait gris à droite de l'adresse sur toutes les cartes (il disparaissait sur les lignes paires et au survol) */
@media (min-width: 761px) {
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr td[data-col="Adresse"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr:nth-child(even) td[data-col="Adresse"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover td[data-col="Adresse"] { border-right: 1px solid #e3e6ee !important; }
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr:nth-child(even) td[data-col="Financement"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr:nth-child(even) td[data-col="Durée"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr:nth-child(even) td[data-col="Budget"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr:nth-child(even) td[data-col="Architecte"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover td[data-col="Financement"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover td[data-col="Durée"],
  [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover td[data-col="Budget"], [data-page="cartedesopration"] table.ls-tab--ops tbody tr:hover td[data-col="Architecte"] { border-left: 1px solid #e3e6ee !important; }
}

/* budget-paris (27 oct. 2026, demande : simplifier) */
/* 1. pas de répétition : les tuiles « sous-total / total » redisaient les chiffres du bandeau et du tableau */
[data-page="budget-paris"] .be-vue > .ls-tuiles { display: none; }
/* 2. « Sources : thème » : une simple ligne repliée, pas une grande carte vide */
[data-page="budget-paris"] details.be-methode { padding: .7rem 1.2rem !important; }
[data-page="budget-paris"] details.be-methode > summary { font: 600 .84rem var(--titre); color: #5b6070; }
/* 3. bas de page : « Comment lire ces chiffres » et « Sources » en petites notes, sans encadrés */
[data-page="budget-paris"] .be-lire { margin: 1.4rem 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
[data-page="budget-paris"] .be-lire .bg-etiquette { margin: 0 0 .25rem; font: 700 .72rem var(--titre); letter-spacing: .06em; color: #8c6a2f; }
[data-page="budget-paris"] .be-lire p:not(.bg-etiquette), [data-page="budget-paris"] .ls-sources .ls-note { font-size: .8rem !important; line-height: 1.55; color: #5b6070; }
[data-page="budget-paris"] .ls-sources { margin: .9rem 0 0 !important; padding: .9rem 0 0 !important; border: 0 !important; border-top: 1px solid #e3e7ef !important; background: none !important; box-shadow: none !important; }
[data-page="budget-paris"] .ls-sources h3 { margin: 0 0 .25rem !important; padding: 0 !important; background: none !important; font: 700 .72rem var(--titre) !important; letter-spacing: .06em; text-transform: uppercase; color: #8c6a2f !important; }
[data-page="budget-paris"] .ls-sources h3::before, [data-page="budget-paris"] .ls-sources h3::after { content: none !important; }

/* budget-paris : tableaux plus lisibles (27 oct. 2026) — en-tête léger, pas de rayures, dernière année mise en avant,
   sous-total et total marqués par un filet, évolution en pastille */
[data-page="budget-paris"] .ls25 .be-tab__defile { border: 1px solid #e3e7ef; border-radius: 12px; overflow: auto; }
[data-page="budget-paris"] .ls25 table.be-table thead th { padding: .7rem .55rem .55rem !important; background: #fff !important; color: #6b7387 !important; font: 700 .74rem var(--titre) !important; border-bottom: 2px solid var(--nuit) !important; }
[data-page="budget-paris"] .ls25 table.be-table thead th:first-child { color: var(--nuit) !important; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr th, [data-page="budget-paris"] .ls25 table.be-table tbody tr td,
[data-page="budget-paris"] .ls25 table.be-table tbody tr:nth-child(odd) th, [data-page="budget-paris"] .ls25 table.be-table tbody tr:nth-child(odd) td,
[data-page="budget-paris"] .ls25 table.be-table tbody tr:nth-child(even) th, [data-page="budget-paris"] .ls25 table.be-table tbody tr:nth-child(even) td { background: #fff !important; border-top: 1px solid #eef0f4 !important; box-shadow: none; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr:hover th, [data-page="budget-paris"] .ls25 table.be-table tbody tr:hover td { background: #f7f8fb !important; }
/* la dernière année connue, colonne repère */
[data-page="budget-paris"] .ls25 table.be-table thead th:nth-last-child(2) { color: var(--nuit) !important; background: #fbf3dc !important; border-radius: 6px 6px 0 0; }
[data-page="budget-paris"] .ls25 table.be-table tbody td:nth-last-child(2) { background: #fdf8ea !important; font-weight: 700; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr:hover td:nth-last-child(2) { background: #fbf0d4 !important; }
/* sous-total et total : un filet au-dessus, en gras ; pas de fond */
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--fort th, [data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--fort td,
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--total th, [data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--total td { border-top: 1.5px solid var(--nuit) !important; font-weight: 700 !important; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--total th, [data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--total td { border-top-width: 2.5px !important; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--total td { font-size: .9rem; }
/* lignes « pour comparer » : discrètes */
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--sous th, [data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--sous td { color: #7a8297 !important; font-size: .78rem !important; font-weight: 400 !important; }
/* ligne choisie pour le graphique */
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--on th, [data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--on td { background: #f4f6fa !important; }
/* évolution : pastille */
[data-page="budget-paris"] .ls25 table.be-table td.be-evo { white-space: nowrap; }
[data-page="budget-paris"] .be-evo > span { display: inline-block; padding: .12rem .45rem; border-radius: 999px; font: 700 .72rem var(--titre); }
[data-page="budget-paris"] .be-evo--haut > span { background: #e9edf5; color: var(--nuit); }
[data-page="budget-paris"] .be-evo--bas > span { background: #fbf0d8; color: #7a5a1e; }
[data-page="budget-paris"] .be-evo--egal > span { color: #8b92a5; }
@media (max-width: 760px) { [data-page="budget-paris"] .ls25 .be-table thead th:first-child { background: #fff !important; } }
[data-page="budget-paris"] .ls25 table.be-table tbody tr td:nth-last-child(2):nth-last-child(2) { background: #fdf8ea !important; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr:hover td:nth-last-child(2):nth-last-child(2) { background: #fbf0d4 !important; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--on th, [data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--on td:not(:nth-last-child(2)) { background: #fff !important; }
[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--on th { box-shadow: inset 3px 0 0 var(--dore) !important; }

/* ===== 27 oct. 2026 — budget-paris : tableaux repensés (maquette : groupes, pictos, mini-graphiques, variation annuelle). JS : js/budget-erp.js ===== */
html body .be-tab__titre { margin: 0 0 .2rem; font: 700 1.15rem/1.3 var(--titre, inherit); color: var(--nuit, #101b34); }
html body .be-tab__aide { display: flex; gap: .45rem; align-items: flex-start; margin: 0 0 .9rem; font-size: .8rem; line-height: 1.4; color: #5c6680; }
html body .be-tab__aide::before { content: "i"; flex: 0 0 auto; width: 1.05rem; height: 1.05rem; border: 1.5px solid #8a93a8; border-radius: 50%; font: 700 .68rem/1rem Georgia, serif; text-align: center; color: #5c6680; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table { border-collapse: separate !important; border-spacing: 0 !important; background: transparent !important; font-size: .9rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead th { background: var(--nuit, #101b34) !important; color: #fff !important; padding: .8rem .6rem !important; font: 700 .8rem var(--titre, inherit) !important; border: 0 !important; box-shadow: none !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead th:first-child { border-radius: 10px 0 0 0; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead th:last-child { border-radius: 0 10px 0 0; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--grp.be-table.be-table.be-table--grp thead th.be-grp { background: transparent !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--grp.be-table.be-table.be-table--grp thead th.be-grp + th { border-radius: 10px 0 0 0; }
/* lignes : blanc, filet fin, pas de zébrure */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr th { background: #fff !important; border-top: 1px solid #e6e9f0 !important; padding-top: .7rem !important; padding-bottom: .7rem !important; vertical-align: middle !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody th { font-size: .9rem !important; color: var(--nuit, #101b34) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr { cursor: pointer; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table td.num { color: var(--nuit, #101b34); line-height: 1.15; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table td:nth-last-child(2):nth-last-child(2) { background: inherit; }
/* case à cocher */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-choix { gap: .8rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-choix i { width: 1.15rem; height: 1.15rem; border: 1.5px solid #c3c9d6; border-radius: 4px; background: #fff; position: relative; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-choix[aria-pressed="true"] i { border-color: transparent; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-choix[aria-pressed="true"] i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-choix span small { display: block; margin-top: .15rem; font-size: .78rem; font-weight: 400; color: #5c6680; }
/* pictogrammes */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-ico { flex: 0 0 1.6rem; width: 1.6rem; height: 1.6rem; color: #3d4b6b; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-ico svg { width: 100%; height: 100%; display: block; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-l--grand .be-ico { color: #b8892f; }
/* groupes */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp { width: 10.5rem; min-width: 9rem; padding: 1rem .9rem !important; border: 0 !important; text-align: left !important; vertical-align: top !important; cursor: default; white-space: normal !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp--vide { background: transparent !important; border: 0 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp--a { background: #eef3fb !important; border-radius: 12px 0 0 12px; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp--b { background: #fbf4e6 !important; border-radius: 12px 0 0 12px; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp b { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; margin-bottom: .45rem; border-radius: 50%; background: #3f5a8e; color: #fff; font-size: .85rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp--b b { background: #b8892f; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp span { display: block; font: 700 .95rem/1.25 var(--titre, inherit); color: var(--nuit, #101b34); }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--a th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--a td:not(.be-grp) { box-shadow: inset 0 0 0 0 transparent; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--a.be-l--total th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--a.be-l--total td { background: #eef3fb !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--b.be-l--total th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--b.be-l--total td { background: #fbf4e6 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--debut > * { border-top: 2px solid #fff !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table:not(.be-table--grp) tr.be-g th { box-shadow: inset 4px 0 0 #9fb2d6; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table:not(.be-table--grp) tr.be-g--b th { box-shadow: inset 4px 0 0 #dcc08a; }
/* sous-totaux et total général */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--total th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--total td, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--fort th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--fort td { font-weight: 700 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--grand th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--grand td { background: #f6ead0 !important; border-top: 2px solid #c9a35b !important; border-bottom: 2px solid #c9a35b; font-size: .98rem !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--grand th { border-left: 0; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--grand td:last-child { border-radius: 0 0 10px 0; }
/* ligne « pour comparer » et lignes « dont » */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--comp th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--comp td { color: #4a5570 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-l--sous:not(.be-l--comp) th { padding-left: 2.2rem !important; font-size: .82rem !important; color: #4a5570 !important; }
/* survol / choisi */
@media (hover: hover) { html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr:hover th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr:hover td:not(.be-grp) { background: #fdf8ee !important; } }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on td:not(.be-grp) { background: #fbf1dc !important; }
/* variation d'une année sur l'autre */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-var { display: block; margin-top: .2rem; font-size: .68rem; font-weight: 600; letter-spacing: .01em; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-var--haut { color: #1f7a52; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-var--bas { color: #b0412e; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-var--egal { color: #8a93a8; }
/* mini-graphique */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr .be-spk, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr .be-spk { width: 5rem; padding-left: 1rem !important; padding-right: .4rem !important; text-align: center !important; }
html body .be-spark { width: 64px; height: 24px; display: block; margin: 0 auto; }
html body .be-spark rect { fill: #d4b06a; }
html body .be-spark--total rect { fill: #3f5a8e; }
html body .be-spark--grand rect { fill: #b8892f; }
html body .be-spark--sous rect { fill: #b9c3d8; }
html body .be-spark rect.vide { fill: #c3c9d6; }
/* colonne « Évol. » sobre, comme la maquette */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-evo span { background: none !important; padding: 0 !important; font-weight: 700; color: var(--nuit, #101b34) !important; white-space: nowrap; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-evo { font-weight: 700; }
/* mobile : le bloc de groupe devient un liseré coloré, pas de mini-graphique */
@media (max-width: 760px) {
  html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-grp, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr .be-spk, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr .be-spk { display: none !important; }
  html body[data-page="budget-paris"] .ls25 table.be-table.be-table--grp.be-table.be-table.be-table--grp thead th:nth-child(2) { border-radius: 10px 0 0 0; }
  html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--a th { box-shadow: inset 4px 0 0 #7d95c4 !important; }
  html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tr.be-g--b th { box-shadow: inset 4px 0 0 #c9a35b !important; }
  html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-ico { display: none; }
  html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody th { font-size: .8rem !important; }
}

/* le tableau prend toute la largeur, le graphique passe dessous */
html body[data-page="budget-paris"] .be-duo { grid-template-columns: minmax(0, 1fr) !important; }
html body[data-page="budget-paris"] .ls25 .be-duo table.be-table { font-size: .9rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead th:first-child:not(.be-grp) { width: auto; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody th { width: 34%; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-spk { min-width: 5.6rem; width: 5.6rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-spark { width: 64px !important; min-width: 64px; max-width: none !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-grp { width: 11rem !important; max-width: 12rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr th { width: auto; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on td { background: #fff !important; box-shadow: none !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on.be-g--a.be-l--total > *:not(.be-grp) { background: #eef3fb !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on.be-g--b.be-l--total > *:not(.be-grp) { background: #fbf4e6 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on.be-l--grand > * { background: #f6ead0 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--comp th { padding-left: .6rem !important; }
@media (hover: hover) { html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr:hover > *:not(.be-grp) { background: #fdf8ee !important; } }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr th.be-grp { width: 11rem !important; min-width: 9rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr th:first-child:not(.be-grp) { width: 36% !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--grp thead tr th.be-grp + th { width: 30% !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--comp .be-choix { padding-left: 0; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--comp th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--comp td { font-size: .86rem !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--grand > td.be-grp--vide, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr > td.be-grp--vide { background: transparent !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr th:nth-last-child(2) { border-radius: 0 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--grand.be-l--grand > th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--grand.be-l--grand > td:not(.be-grp) { background: #f6ead0 !important; }

/* 27 oct. 2026 (v2, « simple ») : présentation « facture » — lignes, Sous-total sous un trait, Total en bas bien marqué ; pas de bloc à gauche ni de mini-graphique */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-g.be-l--total > th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-g.be-l--total > td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--total > th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--total > td { background: #f4f6fa !important; border-top: 1.5px solid var(--nuit, #101b34) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--grand.be-l--grand > th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--grand.be-l--grand > td { background: #f6ead0 !important; border-top: 3px double var(--nuit, #101b34) !important; border-bottom: 0 !important; font-size: 1rem !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on > th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--on > td { box-shadow: none !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--plus > th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--plus > td { border-top: 1px solid #e6e9f0 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr th:last-child { white-space: nowrap; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-evo { border-left: 1px solid #e6e9f0; padding-left: .9rem !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table .be-var { font-weight: 500 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-g > th, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-g--b > th { box-shadow: none !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr > td:nth-last-child(2):nth-last-child(2) { font-weight: inherit; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr th:last-child, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr td.be-evo { width: 7.5rem; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table thead tr th:first-child { width: 40% !important; }
/* Budget (27 oct. 2026) : flèche de hausse / baisse à côté du montant */
.be-fl { display: inline-block; margin-left: .3rem; font-size: .62em; vertical-align: .15em; cursor: help; }
.be-fl--haut { color: #1e7a4a; }
.be-fl--bas { color: #b3261e; }
/* Budget › Recettes (27 oct. 2026) : un seul tableau (intertitres par partie), les deux graphiques côte à côte */
.be-table--fusion tr.be-sep th { padding: .9rem .75rem .45rem !important; background: #f4f6fa !important; font: 700 .78rem var(--titre) !important; letter-spacing: .04em; text-transform: uppercase; color: #5b6275 !important; text-align: left !important; border-top: 1px solid #e3e6ee; }
.be-duo__graph--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.be-duo__graph--2 > .be-graph { margin: 0; min-width: 0; }
@media (max-width: 900px) { .be-duo__graph--2 { grid-template-columns: minmax(0, 1fr); } }
/* Budget (27 oct. 2026, demande) : titre des tableaux plus petit, à droite (au-dessus des années) */
body[data-page="budget-paris"] .be-tab__titre { margin: 0 0 .4rem !important; text-align: right !important; font: 600 .78rem var(--texte) !important; color: #7a8297 !important; }
/* Budget (27 oct. 2026, demande) : intertitres du tableau réuni sur fond gris clair */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody tr.be-sep th,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody tr.be-sep:hover th { background: #eef1f6 !important; }
/* Budget (27 oct. 2026, demande) : un espace blanc entre chaque bloc du tableau réuni */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody + tbody tr.be-sep th { border-top: 1.4rem solid #fff !important; background-clip: padding-box; }
/* Budget (27 oct. 2026, demande) : intertitres sans fond gris, le titre en couleur (or foncé du site) */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody tr.be-sep th,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody tr.be-sep:hover th { background: #fff !important; color: #8c6a2f !important; border-bottom: 2px solid #ead9b3 !important; }
/* Budget (27 oct. 2026, demande) : une couleur par intertitre (bleu, or, vert, violet) */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+1) tr.be-sep th { color: #2f5f9e !important; border-bottom-color: #c9d6ea !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+2) tr.be-sep th { color: #8c6a2f !important; border-bottom-color: #ead9b3 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+3) tr.be-sep th { color: #1e7a4a !important; border-bottom-color: #c6e3d2 !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+4) tr.be-sep th { color: #7b4fa0 !important; border-bottom-color: #ddcdea !important; }

/* Budget (27 oct. 2026, demande) : les sous-totaux prennent la couleur de leur bloc, en transparence */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--total td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--total th,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--fort td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--fort th { background: rgba(47, 95, 158, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--total td, html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--total th { border-top-color: #2f5f9e !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--total td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--total th,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--fort td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--fort th { background: rgba(140, 106, 47, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--total td, html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--total th { border-top-color: #8c6a2f !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--total td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--total th,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--fort td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--fort th { background: rgba(30, 122, 74, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--total td, html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--total th { border-top-color: #1e7a4a !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--total td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--total th,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--fort td,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--fort th { background: rgba(123, 79, 160, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--total td, html body[data-page="budget-paris"] .ls25 table.be-table.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--total th { border-top-color: #7b4fa0 !important; }
/* (suite) sélecteur renforcé : la couleur du bloc l'emporte aussi sur les lignes cochées et les groupes */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--total.be-l--total.be-l--total > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--fort.be-l--fort.be-l--fort > * { background: rgba(47, 95, 158, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--total.be-l--total.be-l--total > * { border-top-color: #2f5f9e !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--total.be-l--total.be-l--total > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--fort.be-l--fort.be-l--fort > * { background: rgba(140, 106, 47, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--total.be-l--total.be-l--total > * { border-top-color: #8c6a2f !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--total.be-l--total.be-l--total > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--fort.be-l--fort.be-l--fort > * { background: rgba(30, 122, 74, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--total.be-l--total.be-l--total > * { border-top-color: #1e7a4a !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--total.be-l--total.be-l--total > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--fort.be-l--fort.be-l--fort > * { background: rgba(123, 79, 160, .1) !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--total.be-l--total.be-l--total > * { border-top-color: #7b4fa0 !important; }
/* Budget (27 oct. 2026, demande) : les lignes en gras d'un bloc sans fond coloré (seuls les sous-totaux en ont un) */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody tr.be-l--fort.be-l--fort.be-l--fort:not(.be-l--total) > *,
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--fort.be-l--fort:not(.be-l--total):not(.be-l--on) > * { background: #fff !important; }
/* Budget (27 oct. 2026) : total remis sous son détail, avec un trait au-dessus comme les sous-totaux */
html body[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--bas > th, html body[data-page="budget-paris"] .ls25 table.be-table tbody tr.be-l--bas > td { border-top: 1.5px solid var(--nuit) !important; }
/* Budget (27 oct. 2026, demande) : toute ligne qui ferme un bloc (son total) prend la couleur du bloc, comme à Écoles et crèches */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--total.be-l--total.be-l--total.be-l--total:last-child > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+1) tr.be-l--fort.be-l--fort.be-l--fort.be-l--fort:last-child > * { background: rgba(47, 95, 158, .1) !important; border-top: 1.5px solid #2f5f9e !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--total.be-l--total.be-l--total.be-l--total:last-child > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+2) tr.be-l--fort.be-l--fort.be-l--fort.be-l--fort:last-child > * { background: rgba(140, 106, 47, .1) !important; border-top: 1.5px solid #8c6a2f !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--total.be-l--total.be-l--total.be-l--total:last-child > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+3) tr.be-l--fort.be-l--fort.be-l--fort.be-l--fort:last-child > * { background: rgba(30, 122, 74, .1) !important; border-top: 1.5px solid #1e7a4a !important; }
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--total.be-l--total.be-l--total.be-l--total:last-child > *, html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table.be-table--fusion.be-table--fusion tbody:nth-of-type(4n+4) tr.be-l--fort.be-l--fort.be-l--fort.be-l--fort:last-child > * { background: rgba(123, 79, 160, .1) !important; border-top: 1.5px solid #7b4fa0 !important; }
/* Budget (27 oct. 2026, demande) : montants des lignes de détail un peu plus foncés et un peu plus gros */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l--sous td.num { color: #3d4457 !important; font-size: .86rem !important; }
/* Budget (27 oct. 2026, demande) : une ligne sur deux sur un fond très léger (les totaux gardent leur couleur) */
html body[data-page="budget-paris"] .ls25 table.be-table.be-table.be-table tbody tr.be-l:nth-child(even):not(.be-l--total):not(.be-l--bas) > * { background: #fafbfd !important; }

/* ---------- cartedesopration : carte par défaut, repères, regroupements, fiche par-dessus (28 oct. 2026, demande) ---------- */
/* Arrondissement en accès direct, à côté de la recherche */
[data-page="cartedesopration"] .op-cherche-l { display: flex; gap: .6rem; margin: 0 0 .7rem; }
[data-page="cartedesopration"] .op-cherche-l .op-cherche { flex: 1 1 auto; min-width: 0; margin: 0; }
[data-page="cartedesopration"] .op-arr { position: relative; flex: 0 0 18.5rem; }
[data-page="cartedesopration"] .op-arr svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: #8c6a2f; pointer-events: none; }
[data-page="cartedesopration"] .op-arr select { width: 100%; box-sizing: border-box; min-height: 3.1rem; padding: .7rem 2.2rem .7rem 2.5rem; border: 1px solid #cfd5e2; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238b92a5' stroke-width='1.6'/%3E%3C/svg%3E") right .95rem center / .7rem no-repeat; -webkit-appearance: none; appearance: none; font: 600 .95rem var(--titre); color: var(--nuit); cursor: pointer; }
[data-page="cartedesopration"] .op-arr select:focus { outline: none; border-color: var(--dore); box-shadow: 0 0 0 3px rgba(201, 163, 91, .25); }
[data-page="cartedesopration"] .op-arr select.op-arr--actif { border-color: var(--dore); background-color: #fbf6ea; }
@media (max-width: 600px) {
  [data-page="cartedesopration"] .op-cherche-l { flex-direction: column; }
  [data-page="cartedesopration"] .op-arr { flex: none; }
}
/* La carte prend toute la largeur et plus de hauteur ; la fiche ne réserve plus de colonne */
[data-page="cartedesopration"] .ls-erp--ops .ls-erp__carte:not([hidden]) { display: block; }
[data-page="cartedesopration"] .ls-erp--ops .ls-erp__carte-plan { padding: .5rem; }
[data-page="cartedesopration"] .op-carte__boite { position: relative; }
[data-page="cartedesopration"] .op-carte__boite .ls-plan { height: clamp(30rem, 78vh, 52rem); border-radius: 6px; }
/* Fiche : carte flottante à droite, se ferme d'un × */
[data-page="cartedesopration"] .ls-erp--ops .op-carte__fiche { position: absolute; top: .75rem; right: .75rem; z-index: 900; width: 21rem; max-height: calc(100% - 1.5rem); box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.1rem; border: 1px solid #e3e7ef; border-radius: 12px; box-shadow: 0 12px 32px rgba(16, 27, 52, .18); }
[data-page="cartedesopration"] .ls-erp--ops .op-carte__fiche[hidden] { display: none; }
[data-page="cartedesopration"] .op-carte__fiche .ls-erp__info-adr { padding-right: 2rem; }
[data-page="cartedesopration"] .op-carte__x { position: absolute; top: .5rem; right: .5rem; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; border-radius: 50%; background: #f1f3f7; font: 400 1.35rem/1 var(--texte); color: var(--nuit); cursor: pointer; }
[data-page="cartedesopration"] .op-carte__x:hover, [data-page="cartedesopration"] .op-carte__x:focus-visible { background: var(--nuit); color: #fff; outline: none; }
/* Repères : petits, de même taille ; la boîte autour sert de zone à toucher */
[data-page="cartedesopration"] .op-pin { display: flex; align-items: flex-end; justify-content: center; background: none; border: 0; }
[data-page="cartedesopration"] .op-pin svg { width: 16px; height: 21px; overflow: visible; filter: drop-shadow(0 1px 1.5px rgba(16, 27, 52, .35)); transform-origin: 50% 100%; transition: transform .12s; }
[data-page="cartedesopration"] .op-pin path { fill: var(--nuit); stroke: #fff; stroke-width: 1.6; }
[data-page="cartedesopration"] .op-pin circle { fill: #fff; }
[data-page="cartedesopration"] .op-pin--amel path { fill: #5f7398; }
[data-page="cartedesopration"] .op-pin--bouge path { stroke: #b3261e; stroke-width: 2.2; }
[data-page="cartedesopration"] .op-pin:hover svg, [data-page="cartedesopration"] .op-pin:focus-visible svg { transform: scale(1.2); }
[data-page="cartedesopration"] .op-pin:focus-visible { outline: none; }
[data-page="cartedesopration"] .op-pin--choisi svg { width: 24px; height: 31px; filter: drop-shadow(0 2px 4px rgba(16, 27, 52, .45)); }
[data-page="cartedesopration"] .op-pin--choisi path { stroke: var(--or); stroke-width: 2.4; }
[data-page="cartedesopration"] .op-pin--choisi circle { fill: var(--or); }
/* Regroupements : rond bleu nuit chiffré */
[data-page="cartedesopration"] .op-grappe { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(16, 27, 52, .16); }
[data-page="cartedesopration"] .op-grappe span { display: flex; align-items: center; justify-content: center; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: var(--nuit); box-shadow: 0 0 0 2px #fff; font: 700 .8rem var(--titre); color: #fff; }
[data-page="cartedesopration"] .op-grappe:hover span { background: #24345a; }
/* Légende : les pastilles prennent la forme des repères */
[data-page="cartedesopration"] .ls-erp--ops .ls-opcarte__leg i:not(.op-leg-grappe) { width: .7rem; height: .7rem; border-radius: 50% 50% 50% 0 !important; transform: rotate(-45deg); }
[data-page="cartedesopration"] .ls-opcarte__leg .op-leg-grappe { display: inline-flex; align-items: center; justify-content: center; width: 1.35rem; height: 1.35rem; border-radius: 50% !important; background: var(--nuit); font: 700 .6rem var(--titre); font-style: normal; color: #fff; }
/* Mobile : carte haute, fiche en bas de la carte (la carte reste visible au-dessus) */
@media (max-width: 760px) {
  [data-page="cartedesopration"] .op-carte__boite .ls-plan { height: max(25rem, 66svh); }
  [data-page="cartedesopration"] .ls-erp--ops .ls-erp__carte-plan { padding: .35rem; }
  [data-page="cartedesopration"] .ls-erp--ops .op-carte__fiche { top: auto; left: .5rem; right: .5rem; bottom: .5rem; width: auto; max-height: 50%; border-radius: 14px; box-shadow: 0 -8px 28px rgba(16, 27, 52, .22); }
}
/* cartedesopration (28 oct. 2026, demande) : onglets Carte / Liste à gauche, nombre d'opérations à droite */
[data-page="cartedesopration"] .op-res .op-res__vues { order: -1; margin: 0 !important; }
[data-page="cartedesopration"] .op-res .op-res__n { order: 10; margin-left: auto; }
/* cartedesopration (28 oct. 2026, demande) : repères aux 4 couleurs des travaux de la liste ; légende très fine */
[data-page="cartedesopration"] .op-pin--neuf path { fill: #1e7a4a; }
[data-page="cartedesopration"] .op-pin--rehab path { fill: #b5651d; }
[data-page="cartedesopration"] .op-pin--acquis path { fill: #2f5f9e; }
[data-page="cartedesopration"] .op-pin--aqs path { fill: #7b4fa0; }
[data-page="cartedesopration"] .ls-erp--ops .ls-opcarte__leg { display: flex; flex-wrap: wrap; gap: .15rem .9rem; margin: .45rem .2rem 0; font: 400 .72rem/1.4 var(--texte); color: #6b7286; }
[data-page="cartedesopration"] .ls-erp--ops .ls-opcarte__leg span { display: inline-flex; align-items: center; gap: .35rem; margin: 0; }
[data-page="cartedesopration"] .ls-erp--ops .ls-opcarte__leg i:not(.op-leg-grappe) { width: .5rem; height: .5rem; margin: 0; }
[data-page="cartedesopration"] .ls-erp--ops .ls-opcarte__leg .op-leg-grappe { width: 1rem; height: 1rem; font-size: .5rem; }
[data-page="cartedesopration"] .ls-erp--ops .ls-opcarte__taille { flex-basis: 100%; color: #8b92a5; }
/* cartedesopration (28 oct. 2026, demande) : l'aide de la carte sous la ligne « 262 opérations / Exporter », à droite */
[data-page="cartedesopration"] .op-carte__aide { margin: -.6rem 0 .5rem; font: 400 .76rem var(--texte); color: #8b92a5; text-align: right; }
@media (max-width: 700px) { [data-page="cartedesopration"] .op-carte__aide { margin-top: -.4rem; } }
/* cartedesopration (28 oct. 2026, demande) : « Exporter (CSV) » en bas, sous la carte ou la liste */
[data-page="cartedesopration"] .op-bas { margin: .8rem 0 0; text-align: right; }
/* cartedesopration (28 oct. 2026, demande) : un rond touché liste ses opérations dans la fiche ; bouton « Tout Paris » */
[data-page="cartedesopration"] .op-lot { list-style: none; margin: .5rem 0 0; padding: 0; }
[data-page="cartedesopration"] .op-lot li { margin: 0; padding: 0; border-top: 1px solid #eef0f4; }
[data-page="cartedesopration"] .op-lot li::before { content: none; }
[data-page="cartedesopration"] .op-lot button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .6rem .2rem; border: 0; background: none; text-align: left; cursor: pointer; color: var(--nuit); }
[data-page="cartedesopration"] .op-lot button:hover, [data-page="cartedesopration"] .op-lot button:focus-visible { background: #f4f6fa; outline: none; }
[data-page="cartedesopration"] .op-lot button > span:nth-child(2) { flex: 1; min-width: 0; }
[data-page="cartedesopration"] .op-lot b { display: block; font: 700 .86rem/1.3 var(--titre); }
[data-page="cartedesopration"] .op-lot small { display: block; font: 400 .74rem/1.35 var(--texte); color: #6b7286; }
[data-page="cartedesopration"] .op-lot button > span:last-child { font-size: 1.1rem; color: #8b92a5; }
[data-page="cartedesopration"] .op-lot__pt { flex: none; width: .6rem; height: .6rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--nuit); }
[data-page="cartedesopration"] .op-lot__pt.op-pin--neuf { background: #1e7a4a; }
[data-page="cartedesopration"] .op-lot__pt.op-pin--rehab { background: #b5651d; }
[data-page="cartedesopration"] .op-lot__pt.op-pin--acquis { background: #2f5f9e; }
[data-page="cartedesopration"] .op-lot__pt.op-pin--aqs { background: #7b4fa0; }
[data-page="cartedesopration"] .op-carte__retour { display: block; margin: 0 0 .5rem; padding: 0; border: 0; background: none; font: 600 .8rem var(--titre); color: #8c6a2f; cursor: pointer; }
[data-page="cartedesopration"] .op-carte__retour:hover { text-decoration: underline; }
[data-page="cartedesopration"] .op-tout button { display: block; padding: .35rem .6rem; border: 0; border-radius: 4px; background: #fff; font: 600 .76rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="cartedesopration"] .op-tout button:hover { background: #f4f4f4; }
/* ---------- cartedesopration : liste à gauche + carte à droite, comme Airbnb (28 oct. 2026, demande) ---------- */
[data-page="cartedesopration"] .op-carte__grille { display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: .6rem; }
[data-page="cartedesopration"] .op-cote { height: clamp(30rem, 78vh, 52rem); overflow-y: auto; overscroll-behavior: contain; padding: 0 .35rem 0 .15rem; scrollbar-width: thin; }
[data-page="cartedesopration"] .op-cote__tete { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0 .5rem; background: #fff; }
[data-page="cartedesopration"] .op-cote__tete .op-carte__retour { margin: 0; }
[data-page="cartedesopration"] .op-cote__tete .op-carte__x { position: static; flex: none; }
[data-page="cartedesopration"] .op-cote__n { margin: 0; font: 600 .9rem var(--titre); color: var(--nuit); }
[data-page="cartedesopration"] .op-cote__n b { font-weight: 800; }
[data-page="cartedesopration"] .op-cote__l { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
[data-page="cartedesopration"] .op-cote__l li { margin: 0; padding: 0; }
[data-page="cartedesopration"] .op-cote__l li::before { content: none; }
[data-page="cartedesopration"] .op-c { display: grid; gap: .15rem; width: 100%; padding: .7rem .85rem; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; color: var(--nuit); transition: border-color .12s, box-shadow .12s; }
[data-page="cartedesopration"] .op-c:hover, [data-page="cartedesopration"] .op-c--survol, [data-page="cartedesopration"] .op-c:focus-visible { border-color: #c3cbda; box-shadow: 0 4px 14px rgba(16, 27, 52, .08); outline: none; }
[data-page="cartedesopration"] .op-c--on { border-color: var(--dore); background: #fffaf0; }
[data-page="cartedesopration"] .op-c__fam { display: flex; align-items: center; gap: .45rem; font: 400 .76rem var(--texte); color: #6b7286; }
[data-page="cartedesopration"] .op-c__adr { font: 700 .95rem/1.3 var(--titre); }
[data-page="cartedesopration"] .op-c__sous { font: 400 .78rem/1.4 var(--texte); color: #6b7286; }
[data-page="cartedesopration"] .op-c__bud { margin-top: .15rem; font: 800 .9rem var(--titre); color: var(--nuit); }
[data-page="cartedesopration"] .op-c__bud small { font: 400 .72rem var(--texte); color: #8b92a5; }
[data-page="cartedesopration"] .op-cote__vide, [data-page="cartedesopration"] .op-cote__note { margin: .8rem 0; font: 400 .8rem/1.4 var(--texte); color: #6b7286; }
[data-page="cartedesopration"] .op-cote__fiche { padding: .2rem .1rem 1rem; font-size: .84rem; }
[data-page="cartedesopration"] .op-cote__fiche p { margin: 0 0 .4rem; }
[data-page="cartedesopration"] .op-cote__fiche .ls-erp__info-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .8rem 0; }
[data-page="cartedesopration"] .op-pin.op-pin--survol svg { transform: scale(1.35); }
[data-page="cartedesopration"] .op-zone-btn { position: absolute; top: .75rem; left: 50%; z-index: 850; transform: translateX(-50%); padding: .5rem 1rem; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 4px 16px rgba(16, 27, 52, .22); font: 700 .82rem var(--titre); color: var(--nuit); cursor: pointer; white-space: nowrap; }
[data-page="cartedesopration"] .op-zone-btn[hidden] { display: none; }
[data-page="cartedesopration"] .op-zone-btn:hover { background: var(--nuit); color: #fff; }
[data-page="cartedesopration"] .op-carte__fiche .op-cote__l { margin-top: .5rem; }
@media (max-width: 760px) {
  [data-page="cartedesopration"] .op-carte__grille { grid-template-columns: 1fr; }
  [data-page="cartedesopration"] .op-cote { order: 2; height: auto; max-height: 34rem; padding: 0; }
}
@media (max-width: 760px) { [data-page="cartedesopration"] .op-zone-btn { left: auto; right: .5rem; transform: none; padding: .45rem .8rem; font-size: .76rem; } }
/* cartedesopration (28 oct. 2026) : fond beige du plan IGN au lieu du gris de Leaflet, le temps qu'une tuile arrive */
[data-page="cartedesopration"] .op-carte__boite .leaflet-container { background: #f1ede4; }
/* cartedesopration (28 oct. 2026, demande) : repères un peu plus grands */
[data-page="cartedesopration"] .op-pin svg { width: 20px; height: 26px; }
[data-page="cartedesopration"] .op-pin--choisi svg { width: 28px; height: 36px; }
/* cartedesopration (28 oct. 2026, demande) : petit bouton « Voir le détail » sur chaque carte de la liste */
[data-page="cartedesopration"] .op-c__pied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .3rem; }
[data-page="cartedesopration"] .op-c__pied .op-c__bud { margin: 0; }
[data-page="cartedesopration"] .op-c__voir { flex: none; padding: .25rem .65rem; border: 1px solid #dde1ea; border-radius: 999px; font: 600 .74rem var(--titre); color: var(--nuit); white-space: nowrap; transition: background .12s, color .12s, border-color .12s; }
[data-page="cartedesopration"] .op-c:hover .op-c__voir, [data-page="cartedesopration"] .op-c:focus-visible .op-c__voir { border-color: var(--nuit); background: var(--nuit); color: #fff; }
/* cartedesopration (28 oct. 2026) : bouton vers la page de l’opération sous nos fiches écrites */
.op-tiroir__corps > p.fi-officiel { margin: 1.2rem 0 .6rem; }
.op-tiroir__corps > p.fi-officiel a.fi-officiel__lien { padding: .6rem 1.1rem; border: 0; border-radius: 999px; background: var(--nuit); color: #fff; }

/* ===== 28 oct. 2026 — fiche d'opération « plus sympa » (js/fiche-nuit.js : jolie()) + carte du panneau latéral ===== */
.fi.fj { --fj-fond: #f6f4ee; --fj-bleu: #eef2f8; --fj-or: #c9a35b; --fj-nuit: var(--nuit, #101b34); --fj-gris: #5b6478; }
.fi.fj .op-adresse { margin: 0 0 .55rem !important; font: 800 1.45rem/1.2 var(--titre) !important; color: var(--fj-nuit) !important; }
.fi.fj p.fj-pils { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .5rem; }
.fi.fj .fj-pil { display: inline-block; padding: .22rem .65rem; border-radius: 999px; background: var(--fj-bleu); color: #2c3e63; font: 600 .74rem/1.3 var(--titre); }
.fi.fj .fj-pil--phase { background: var(--fj-nuit); color: #fff; }
.fi.fj p.fj-meta { margin: 0 0 1.2rem; font-size: .76rem; color: var(--fj-gris); }
/* grands chiffres */
.fi.fj .fj-kpis { display: grid; gap: .6rem; margin: 0 0 1.8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fi.fj .fj-kpis--1 { grid-template-columns: 1fr; } .fi.fj .fj-kpis--2 { grid-template-columns: 1fr 1fr; } .fi.fj .fj-kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fi.fj .fj-kpis .fi-kpi { padding: .9rem 1rem; border: 0 !important; border-radius: 14px; background: var(--fj-fond); }
.fi.fj .fj-kpis .fi-kpi:first-child { background: var(--fj-nuit); }
.fi.fj .fj-kpis .fi-kpi:first-child .fi-kpi__lib { color: #d9c08a; }
.fi.fj .fj-kpis .fi-kpi:first-child .fi-kpi__val, .fi.fj .fj-kpis .fi-kpi:first-child .fi-kpi__note { color: #fff; }
.fi.fj .fj-kpis .fi-kpi__lib { font: 600 .72rem/1.3 var(--titre); letter-spacing: 0; text-transform: none; color: var(--fj-gris); }
.fi.fj .fj-kpis .fi-kpi__val { font: 800 1.5rem/1.1 var(--titre); }
/* titres de section */
.fi.fj h3.op-section { display: flex; align-items: baseline; gap: .6rem; margin: 2rem 0 .8rem !important; padding: 0 !important; background: none !important; border: 0 !important; font: 800 1.05rem/1.3 var(--titre) !important; color: var(--fj-nuit) !important; }
.fi.fj h3.op-section::before { content: none !important; }
.fi.fj .fj-compte { padding: .1rem .5rem; border-radius: 999px; background: var(--fj-fond); font: 600 .72rem var(--titre); color: var(--fj-gris); }
/* avancement */
.fi.fj .fj-suite { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .8rem; margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--fj-bleu); }
.fi.fj .fj-suite__barre { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: #d5ddeb; overflow: hidden; }
.fi.fj .fj-suite__barre span { display: block; height: 100%; border-radius: inherit; background: var(--fj-nuit); }
.fi.fj p.fj-suite__txt { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--fj-gris); }
.fi.fj p.fj-suite__txt b { color: var(--fj-nuit); }
.fi.fj p.fj-suite__next { margin: 0; padding: .7rem .8rem; border-radius: 10px; background: #fff; font-size: .82rem; color: var(--fj-gris); }
.fi.fj p.fj-suite__next span { display: block; margin-bottom: .15rem; font: 600 .7rem var(--titre); color: #5a76a6; }
.fi.fj p.fj-suite__next b { color: var(--fj-nuit); font-family: var(--titre); }
.fi.fj p.fj-suite__next--fin span { color: #a07a2e; }
.fi.fj p.fj-suite__next:only-of-type { grid-column: 1 / -1; }
.fi.fj .fi-frise__pas--prochain .fi-frise__etape, .fi.fj .fi-frise__pas--prochain .fi-frise__date { color: #2f55a0 !important; }
.fi.fj .fi-frise__pas--prochain::before { background: #fff !important; border-color: #2f55a0 !important; box-shadow: 0 0 0 4px rgba(47, 85, 160, .18); }
/* travaux */
.fi.fj .fj-trav { display: grid; gap: .5rem; }
.fi.fj .fj-trav__g { border-radius: 12px; background: var(--fj-fond); }
.fi.fj .fj-trav__g > summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 1rem; cursor: pointer; list-style: none; }
.fi.fj .fj-trav__g > summary::-webkit-details-marker { display: none; }
.fi.fj .fj-trav__g > summary::after { content: ""; flex: 0 0 auto; width: .5rem; height: .5rem; border: solid var(--fj-nuit); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -.25rem; transition: transform .2s; }
.fi.fj .fj-trav__g[open] > summary::after { transform: rotate(-135deg); margin-top: .2rem; }
.fi.fj .fj-trav__t { flex: 1; font: 700 .9rem/1.3 var(--titre); color: var(--fj-nuit); }
.fi.fj .fj-trav__t small { display: block; font: 400 .76rem var(--texte, inherit); color: var(--fj-gris); }
.fi.fj .fj-trav__n { padding: .1rem .5rem; border-radius: 999px; background: #fff; font: 700 .72rem var(--titre); color: var(--fj-gris); }
.fi.fj ul.fj-trav__l { margin: 0 !important; padding: 0 1rem .8rem !important; list-style: none !important; }
.fi.fj > ul.fj-trav__l, .fi.fj .fj-trav > ul.fj-trav__l { padding: .3rem 0 0 !important; }
.fi.fj ul.fj-trav__l li { display: flex; gap: .55rem; margin: 0 !important; padding: .42rem 0 !important; border-top: 1px solid rgba(16, 27, 52, .07); font-size: .84rem; line-height: 1.45; color: #2a3348; }
.fi.fj ul.fj-trav__l li::before { content: none !important; }
.fi.fj ul.fj-trav__l li:first-child { border-top: 0; }
.fi.fj ul.fj-trav__l svg { flex: 0 0 1rem; width: 1rem; height: 1rem; margin-top: .15rem; color: var(--fj-or); }
/* logements */
.fi.fj ul.fj-log__barres { display: grid; gap: .45rem; margin: 0 0 .9rem !important; padding: 0 !important; list-style: none !important; }
.fi.fj ul.fj-log__barres li { display: grid; grid-template-columns: 4.5rem 1fr 2.5rem; align-items: center; gap: .7rem; margin: 0 !important; padding: 0 !important; font-size: .84rem; }
.fi.fj ul.fj-log__barres li::before { content: none !important; }
.fi.fj .fj-log__lib { font: 700 .82rem var(--titre); color: var(--fj-nuit); }
.fi.fj .fj-log__b { height: .75rem; border-radius: 999px; background: var(--fj-fond); overflow: hidden; }
.fi.fj .fj-log__b span { display: block; height: 100%; border-radius: inherit; background: var(--fj-or); }
.fi.fj ul.fj-log__barres b { text-align: right; font-family: var(--titre); color: var(--fj-nuit); }
.fi.fj ul.fj-log__barres small { grid-column: 2 / -1; margin-top: -.3rem; font-size: .72rem; color: var(--fj-gris); }
.fi.fj p.fj-log__autres { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.fi.fj .fj-chip { padding: .35rem .7rem; border-radius: 10px; background: var(--fj-bleu); font-size: .8rem; color: #2c3e63; }
.fi.fj .fj-chip b { font-family: var(--titre); color: var(--fj-nuit); }
/* équipe */
.fi.fj ul.fj-eq { display: grid; gap: .4rem; margin: 0 0 1.4rem !important; padding: 0 !important; list-style: none !important; }
.fi.fj ul.fj-eq li { display: flex; justify-content: space-between; gap: 1rem; margin: 0 !important; padding: .6rem .9rem !important; border-radius: 10px; background: var(--fj-fond); font-size: .84rem; }
.fi.fj ul.fj-eq li::before { content: none !important; }
.fi.fj ul.fj-eq li span { color: var(--fj-gris); }
.fi.fj ul.fj-eq li b { text-align: right; color: var(--fj-nuit); }
/* lien officiel */
.fi.fj .fi-officiel__lien { display: inline-flex; padding: .6rem 1.1rem !important; border: 0 !important; border-radius: 999px !important; background: var(--fj-nuit) !important; color: #fff !important; font: 700 .82rem var(--titre) !important; text-decoration: none !important; }
.fi.fj .op-auto-note { font-size: .74rem !important; color: var(--fj-gris) !important; }
@media (max-width: 520px) {
  .fi.fj .fj-kpis { grid-template-columns: 1fr 1fr; }
  .fi.fj .fj-kpis .fi-kpi:first-child { grid-column: 1 / -1; }
  .fi.fj .fj-suite { grid-template-columns: 1fr; }
}

/* Carte d'une opération (panneau à côté du plan, et bulle sur le plan) */
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-adr { margin: 0 0 .15rem !important; font: 800 1.25rem/1.2 var(--titre) !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous { margin: 0 0 .3rem !important; font-size: .82rem; color: #5b6478; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) p.ls-erp__info-sous.op-cp { margin-bottom: .1rem !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: .45rem !important; margin: .9rem 0 1rem !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div { padding: .6rem .75rem; border-radius: 12px; background: #f6f4ee; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:nth-child(-n+2) { background: #eef2f8; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dt { margin: 0 0 .15rem; font: 600 .7rem/1.3 var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; color: #5b6478 !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd { margin: 0 !important; font: 800 1.15rem/1.2 var(--titre) !important; color: var(--nuit) !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl dd.ls-erp__info-bs { display: flex; align-items: center; gap: .35rem; font-size: .9rem !important; font-weight: 700 !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) .ls-erp__info-dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns { display: flex; gap: .5rem; margin: .4rem 0 0 !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns .op-fiche-btn { flex: 1; justify-content: center; margin: 0; padding: .6rem .9rem !important; border: 1.5px solid var(--nuit) !important; border-radius: 999px !important; font: 700 .85rem var(--titre) !important; text-decoration: none; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns button.op-fiche-btn { background: var(--nuit) !important; color: #fff !important; }
[data-page="cartedesopration"] :is(.op-cote__fiche, .op-carte__fiche) p.op-btns a.op-gmaps-btn { background: #fff !important; color: var(--nuit) !important; }

/* ===== 28 oct. 2026 — « Le logement social en 25 questions » (panorama-logement-social-ancols-2026.html) : même présentation que chiffres-cles.html.
   Le chapitre n'est plus une carte : son titre est posé sur le fond gris, et chaque question devient une carte blanche du site
   (filet fin, coins 10 px, titre avec le petit trait doré), deux par deux, avec de l'air entre les blocs. ===== */
body[data-page="panorama-logement-social-ancols-2026"] .pa > section.ls-bloc[id^="chapitre"] { margin-top: 2.6rem; padding: 0; background: none; border: 0; box-shadow: none; }
body[data-page="panorama-logement-social-ancols-2026"] .pa > section.ls-bloc[id^="chapitre"] > .n-etiquette { margin: 0 0 .3rem; }
body[data-page="panorama-logement-social-ancols-2026"] .proto-texte.vx > section[id^="chapitre"] > p.pa-st { margin: .6rem 0 1.2rem; }
body[data-page="panorama-logement-social-ancols-2026"] .pa-grille { gap: 1.2rem; align-items: stretch; }
body[data-page="panorama-logement-social-ancols-2026"] .pa-grille > .pa-q { gap: .6rem; padding: 1.4rem 1.5rem 1.2rem; border: 1px solid #e3e7ef; border-top: 1px solid #e3e7ef; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
body[data-page="panorama-logement-social-ancols-2026"] .proto-texte.vx .pa-grille h3.pa-q__t { margin: 0 2.6rem .3rem 0 !important; font-size: 1.05rem !important; }
body[data-page="panorama-logement-social-ancols-2026"] .proto-texte.vx .pa-grille h3.pa-q__t::after { content: "" !important; display: block; width: 1.6rem; height: 3px; margin-top: .65rem; background: var(--dore, #c9a35b); }
body[data-page="panorama-logement-social-ancols-2026"] .proto-texte.vx .pa-grille p.pa-q__n { top: 1.2rem; right: 1.2rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 1px solid #e3e7ef; border-radius: 6px; font-size: .85rem !important; color: var(--nuit) !important; }
body[data-page="panorama-logement-social-ancols-2026"] .proto-texte.vx .pa-grille ul.pa-q__petits li { background: var(--gris-n, #f2f3f6); }
body[data-page="panorama-logement-social-ancols-2026"] .pa-grille .pa-q__plus { padding-top: .8rem; border-top: 1px solid var(--trait-n, #e3e5eb); }
/* une question seule en fin de chapitre : la carte prend toute la largeur, chiffres à gauche et texte à droite (pas de trou) */
@media (min-width: 761px) {
  body[data-page="panorama-logement-social-ancols-2026"] .pa-grille > .pa-q:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; align-content: start; }
  body[data-page="panorama-logement-social-ancols-2026"] .pa-grille > .pa-q:last-child:nth-child(odd) > * { grid-column: 1; }
  body[data-page="panorama-logement-social-ancols-2026"] .pa-grille > .pa-q:last-child:nth-child(odd) > .pa-q__txt { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  body[data-page="panorama-logement-social-ancols-2026"] .pa-grille > .pa-q:last-child:nth-child(odd) > .pa-q__plus { grid-column: 1 / -1; }
}
/* « L'essentiel » garde sa carte ; le dernier chapitre et les sources respirent aussi */
body[data-page="panorama-logement-social-ancols-2026"] .pa > section#essentiel { margin-bottom: .6rem; }
body[data-page="panorama-logement-social-ancols-2026"] .pa > section.ls-bloc:not([id^="chapitre"]):not(#essentiel) { margin-top: 2.6rem; }

/* ===== 28 oct. 2026 — presidentielle-2027.html, refonte « on comprend rien, brouillon, pas dynamique » (outils/presidentielle-2027-simple.py) ===== */
[data-page="presidentielle-2027"] .ps-plan a.ps-plan--on { background: var(--nuit); border-color: var(--nuit); color: #fff; }
[data-page="presidentielle-2027"] .ps-plan + .ps-bandeau { margin: 0 0 2rem; }
[data-page="presidentielle-2027"] .ps-sec { margin-bottom: 2.6rem; }
/* « Et moi ? » : les sujets du profil en cartes, deux ou trois par ligne */
[data-page="presidentielle-2027"] .ps-mcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin-top: 1.2rem; }
[data-page="presidentielle-2027"] .ps-mc { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem 1rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
[data-page="presidentielle-2027"] .ps-mc__t { margin: 0; font: 800 1rem/1.3 var(--titre); color: var(--nuit); }
[data-page="presidentielle-2027"] .ps-mc__t::after { content: ""; display: block; width: 1.6rem; height: 3px; margin-top: .5rem; background: var(--dore, #c9a35b); }
[data-page="presidentielle-2027"] .ps-mc__clair { margin: 0; font-size: .88rem; line-height: 1.55; color: #2b3242; }
[data-page="presidentielle-2027"] .ps-mc__paris { margin: 0; font-size: .8rem; color: var(--texte-n2); }
[data-page="presidentielle-2027"] .ps-mc__paris a { color: #8c6a2f; }
[data-page="presidentielle-2027"] .ps-mc__voir { margin-top: auto; align-self: flex-start; padding: .45rem .8rem; border: 1px solid var(--nuit); border-radius: 6px; background: #fff; font: 700 .78rem var(--titre); color: var(--nuit); cursor: pointer; text-align: left; }
[data-page="presidentielle-2027"] .ps-mc__voir b { display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; margin-right: .2rem; border-radius: 4px; background: var(--nuit); color: #fff; font-size: .7rem; }
[data-page="presidentielle-2027"] .ps-mc__voir:hover { background: var(--nuit); color: #fff; }
[data-page="presidentielle-2027"] .ps-mc__voir:hover b { background: #fff; color: var(--nuit); }
[data-page="presidentielle-2027"] .ps-mc__rien { margin-top: auto; font-size: .8rem; font-style: italic; color: var(--texte-n2); }
/* sources repliées */
[data-page="presidentielle-2027"] .ps-meth-d > summary { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid var(--nuit); border-radius: 6px; background: #fff; font: 700 .82rem var(--titre); color: var(--nuit); cursor: pointer; list-style: none; }
[data-page="presidentielle-2027"] .ps-meth-d > summary::-webkit-details-marker { display: none; }
[data-page="presidentielle-2027"] .ps-meth-d > summary::after { content: "+"; font-size: 1rem; }
[data-page="presidentielle-2027"] .ps-meth-d[open] > summary::after { content: "–"; }
[data-page="presidentielle-2027"] .ps-meth-d[open] > .ps-meth { margin-top: 1.2rem; }

/* 28 oct. 2026 — presidentielle-2027.html : « Qui veut quoi ? » en cartes (une par question : oui / non, les autres comptés) */
[data-page="presidentielle-2027"] .rq-cs { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; margin-top: 1.2rem; align-items: start; }
[data-page="presidentielle-2027"] .rq-c { display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem 1.2rem 1rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
[data-page="presidentielle-2027"] .rq-c__q { display: flex; align-items: center; gap: .6rem; margin: 0; font: 800 1rem/1.3 var(--titre); color: var(--nuit); }
[data-page="presidentielle-2027"] .rq-c__q svg { flex: 0 0 auto; width: 2rem; height: 2rem; padding: .4rem; border-radius: 50%; background: #f6efe0; color: #8c6a2f; }
[data-page="presidentielle-2027"] .rq-camp { padding: .7rem .75rem .6rem; border-radius: 8px; background: #eef6f1; }
[data-page="presidentielle-2027"] .rq-camp--non { background: #fbefec; }
[data-page="presidentielle-2027"] .rq-camp__t { margin: 0 0 .5rem; font: 800 .74rem var(--titre); letter-spacing: .05em; text-transform: uppercase; color: #1f6b45; }
[data-page="presidentielle-2027"] .rq-camp--non .rq-camp__t { color: #a83d2d; }
[data-page="presidentielle-2027"] .rq-camp__t b { display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; margin-left: .2rem; border-radius: 4px; background: currentColor; }
[data-page="presidentielle-2027"] .rq-camp__t b { color: #fff; background: #1f6b45; }
[data-page="presidentielle-2027"] .rq-camp--non .rq-camp__t b { background: #a83d2d; }
[data-page="presidentielle-2027"] .rq-camp__l { display: flex; flex-wrap: wrap; gap: .35rem; }
[data-page="presidentielle-2027"] .rr-c { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .6rem .22rem .22rem; border: 1px solid #dfe3ec; border-radius: 999px; background: #fff; font: 700 .78rem var(--titre); color: var(--nuit); cursor: pointer; }
[data-page="presidentielle-2027"] .rr-c i { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--cc, #5a76a6); color: #fff; font: 800 .58rem var(--titre); font-style: normal; }
[data-page="presidentielle-2027"] .rr-c small { padding: .05rem .35rem; border-radius: 4px; background: #eef0f4; font: 700 .62rem var(--titre); color: #5b6478; }
[data-page="presidentielle-2027"] .rr-c.rr--parti { border-style: dashed; border-color: #9aa3b5; background: transparent; }
[data-page="presidentielle-2027"] .rr-c.rr--ancien { opacity: .7; }
[data-page="presidentielle-2027"] .rr-c:hover, [data-page="presidentielle-2027"] .rr-c.rr--on { border-color: var(--cc, var(--nuit)); box-shadow: 0 0 0 2px var(--cc, var(--nuit)) inset; }
[data-page="presidentielle-2027"] .rq-c__rien { margin: auto 0 0; padding-top: .6rem; border-top: 1px solid var(--trait-n, #e3e5eb); font-size: .76rem; color: var(--texte-n2); }
[data-page="presidentielle-2027"] .rq-leg { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-top: 1rem; font-size: .76rem; color: var(--texte-n2); }
[data-page="presidentielle-2027"] .rq-leg .rr-c { pointer-events: none; margin-right: .3rem; }

/* 28 oct. 2026 — presidentielle-2027.html : pas de trous blancs (28 oct. 2026) */
/* « Qui veut quoi ? » : 2 colonnes larges, les noms s'alignent côte à côte (cartes plus courtes et proches en hauteur) ;
   cartes d'une même ligne à la même hauteur, « N autres : rien trouvé » en bas */
[data-page="presidentielle-2027"] .rq-cs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); align-items: stretch; }
@media (min-width: 900px) { [data-page="presidentielle-2027"] .rq-cs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-page="presidentielle-2027"] .rq-camp__l .rr-c { max-width: 100%; }
/* « Par sujet » : cartes d'une même ligne à la même hauteur, « Voir le détail » en bas de carte */
[data-page="presidentielle-2027"] .ps-cs { align-items: stretch; gap: 1rem; }
[data-page="presidentielle-2027"] .ps-cs > .ps-cc { display: flex; flex-direction: column; margin: 0; }
[data-page="presidentielle-2027"] .ps-cs > .ps-cc > .ps-cc__corps { display: flex; flex-direction: column; flex: 1; }
[data-page="presidentielle-2027"] .ps-cs > .ps-cc .ps-plus { margin-top: auto; padding-top: .3rem; }
/* « Et moi ? » : cartes de même hauteur ; la dernière ligne s'élargit pour finir la ligne (grille de 6) */
[data-page="presidentielle-2027"] .ps-mcs { grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; }
[data-page="presidentielle-2027"] .ps-mcs > .ps-mc { grid-column: span 2; }
[data-page="presidentielle-2027"] .ps-mcs > .ps-mc:nth-child(3n+1):nth-last-child(2), [data-page="presidentielle-2027"] .ps-mcs > .ps-mc:nth-child(3n+2):last-child { grid-column: span 3; }
[data-page="presidentielle-2027"] .ps-mcs > .ps-mc:nth-child(3n+1):last-child { grid-column: 1 / -1; }
@media (max-width: 900px) {
  [data-page="presidentielle-2027"] .ps-mcs { grid-template-columns: 1fr 1fr; }
  [data-page="presidentielle-2027"] .ps-mcs > .ps-mc, [data-page="presidentielle-2027"] .ps-mcs > .ps-mc:nth-child(n) { grid-column: auto; }
  [data-page="presidentielle-2027"] .ps-mcs > .ps-mc:nth-child(odd):last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { [data-page="presidentielle-2027"] .ps-mcs > .ps-mc:nth-child(n) { grid-column: 1 / -1; } }
/* « Par personnalité » : cartes d'une même ligne à la même hauteur */
[data-page="presidentielle-2027"] .ps-fs { align-items: stretch; }
/* « Combien de logements construire par an ? » : bloc blanc à part, les trois groupes côte à côte (28 oct. 2026, demande) */
[data-page="presidentielle-2027"] .ps-sec--obj h2 { margin-top: 0; }
[data-page="presidentielle-2027"] .ps-ogs { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 1000px) { [data-page="presidentielle-2027"] .ps-ogs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
[data-page="presidentielle-2027"] .ps-ogs .ps-og { margin: 0; }
[data-page="presidentielle-2027"] .ps-ogs .ps-o { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .6rem; align-items: baseline; }
[data-page="presidentielle-2027"] .ps-ogs .ps-o__p { grid-column: 1 / -1; grid-row: 2; }
[data-page="presidentielle-2027"] .ps-ogs .ps-o__v { text-align: right; }
[data-page="presidentielle-2027"] .ps-ogs .ps-o__v small { max-width: 11rem; margin-left: auto; }
[data-page="presidentielle-2027"] .ps-ogs .ps-os { gap: .9rem; }
/* Synthèses en puces, une idée par ligne (28 oct. 2026, demande) */
[data-page="presidentielle-2027"] .ps-y__l { margin: 0; padding: 0; list-style: none; }
[data-page="presidentielle-2027"] .ps .ps-y__l > li { position: relative; margin: 0; padding: .12rem 0 .12rem 1rem; border: 0; font-size: inherit; line-height: 1.45; color: inherit; }
[data-page="presidentielle-2027"] .ps .ps-y__l > li::before { content: ""; position: absolute; left: .15rem; top: .72em; width: .38rem; height: .38rem; border-radius: 50%; background: var(--cc, var(--dore)); }
[data-page="presidentielle-2027"] .ps-y--parti .ps-y__l > li::before { background: transparent; border: 1.5px solid #9aa0ae; }
[data-page="presidentielle-2027"] .ps-y__th { margin: .4rem 0 .1rem; font: 800 .7rem var(--titre); letter-spacing: .05em; text-transform: uppercase; color: #8c6a2f; }
/* Fiches des personnalités : panneau qui glisse depuis la droite (28 oct. 2026, demande) */
.ps-tiroir { position: fixed; inset: 0; z-index: 1000; }
.ps-tiroir[hidden] { display: none; }
.ps-tiroir__fond { position: absolute; inset: 0; background: rgba(16, 27, 52, .45); opacity: 0; transition: opacity .25s ease; }
.ps-tiroir__boite { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(38rem, 100vw); background: #fff; border-left: 5px solid var(--cc, var(--nuit)); box-shadow: -8px 0 30px rgba(16, 27, 52, .18); transform: translateX(100%); transition: transform .25s ease; outline: none; }
.ps-tiroir--on .ps-tiroir__fond { opacity: 1; }
.ps-tiroir--on .ps-tiroir__boite { transform: none; }
.ps-tiroir__tete { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; border-bottom: 1px solid #eef0f4; }
.ps-tiroir__tete > i { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--cc, var(--nuit)); color: #fff; font: 800 .74rem var(--titre); font-style: normal; }
.ps-tiroir__tete > div { flex: 1; min-width: 0; }
.ps-tiroir__t { margin: 0; font: 800 1.15rem/1.2 var(--titre); color: var(--nuit); }
.ps-tiroir__s { margin: .1rem 0 0; font-size: .78rem; color: #7a8297; }
.ps-tiroir__n { display: flex; align-items: center; gap: .3rem; }
.ps-tiroir__n b { display: grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .3rem; border-radius: 999px; background: #f6efe1; color: #8c6a2f; font: 800 .72rem var(--titre); }
.ps-tiroir__x { flex: none; width: 2.2rem; height: 2.2rem; border: 1px solid #dfe3ec; border-radius: 6px; background: #fff; font-size: 1.3rem; line-height: 1; color: var(--nuit); cursor: pointer; }
.ps-tiroir__x:hover { border-color: var(--nuit); }
.ps-tiroir__corps { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .2rem 1.2rem 1.5rem; }
.ps-tiroir__corps .ps-f__corps { padding: 0; }
html.ps-tiroir-ouvert { overflow: hidden; }
[data-page="presidentielle-2027"] .ps-f--actif { box-shadow: 0 0 0 2px var(--cc, var(--nuit)); }
@media (prefers-reduced-motion: reduce) { .ps-tiroir__fond, .ps-tiroir__boite { transition: none; } }
@media (max-width: 600px) { .ps-tiroir__boite { border-left: 0; border-top: 5px solid var(--cc, var(--nuit)); } .ps-tiroir__tete { padding: .8rem 1rem; } .ps-tiroir__corps { padding: .2rem 1rem 1.5rem; } }
.ps-tiroir__corps.ps { padding: .2rem 1.2rem 1.5rem; background: #fff; }   /* classe .ps : mêmes styles de listes que dans la page */
@media (max-width: 600px) { .ps-tiroir__corps.ps { padding: .2rem 1rem 1.5rem; } }
/* Partie 6 « Sources » : les liens, personnalité par personnalité (28 oct. 2026) */
[data-page="presidentielle-2027"] .ps-srcs { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 760px) { [data-page="presidentielle-2027"] .ps-srcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { [data-page="presidentielle-2027"] .ps-srcs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
[data-page="presidentielle-2027"] .ps-srcs__c { padding: .9rem 1rem; border: 1px solid #e3e7ef; border-top: 3px solid var(--cc, var(--nuit)); border-radius: 10px; background: #fff; }
[data-page="presidentielle-2027"] .ps-srcs__n { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; font: 800 .92rem var(--titre); color: var(--nuit); }
[data-page="presidentielle-2027"] .ps-srcs__n i { display: grid; place-items: center; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--cc, var(--nuit)); color: #fff; font: 800 .6rem var(--titre); font-style: normal; }
[data-page="presidentielle-2027"] .ps-srcs__n small { margin-left: auto; font: 600 .7rem var(--titre); color: #7a8297; }
[data-page="presidentielle-2027"] .ps .ps-srcs__c li { padding: .4rem 0; border-top: 1px solid #f0f2f6; font-size: .82rem; line-height: 1.35; }
[data-page="presidentielle-2027"] .ps-srcs__c li a { color: var(--nuit); font-weight: 600; text-decoration: none; }
[data-page="presidentielle-2027"] .ps-srcs__c li a:hover { color: #8c6a2f; text-decoration: underline; }
[data-page="presidentielle-2027"] .ps-srcs__c li small { display: block; margin-top: .1rem; font-size: .7rem; color: #9aa0ae; }
[data-page="presidentielle-2027"] .ps-srcs { display: block; columns: 3 17rem; column-gap: 1rem; }   /* colonnes qui se suivent : pas de blanc sous les cartes courtes */
[data-page="presidentielle-2027"] .ps-srcs__c { break-inside: avoid; margin: 0 0 1rem; }
/* Sources en menus déroulants (28 oct. 2026) */
[data-page="presidentielle-2027"] .ps-srcs__c { padding: 0; }
[data-page="presidentielle-2027"] summary.ps-srcs__n { margin: 0; padding: .75rem 1rem; cursor: pointer; list-style: none; }
[data-page="presidentielle-2027"] summary.ps-srcs__n::-webkit-details-marker { display: none; }
[data-page="presidentielle-2027"] summary.ps-srcs__n::after { content: ""; flex: none; width: .5rem; height: .5rem; margin-left: .2rem; border-right: 2px solid #8c6a2f; border-bottom: 2px solid #8c6a2f; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
[data-page="presidentielle-2027"] .ps-srcs__c[open] > summary.ps-srcs__n::after { transform: rotate(-135deg) translateY(-2px); }
[data-page="presidentielle-2027"] .ps-srcs__c > ul { margin: 0; padding: 0 1rem .7rem; }
[data-page="presidentielle-2027"] .ps .ps-srcs__c li.ps-srcs__site a { color: #8c6a2f; font-weight: 700; }
/* Panneau « qui propose quoi » d'un sujet (« Et moi ? », 28 oct. 2026) */
.ps-tiroir__clair { margin: .8rem 0 .9rem; padding: .7rem .9rem; border-radius: 8px; background: #f2f5fa; font-size: .88rem; line-height: 1.5; color: #2a3247; }
.ps-tiroir__clair b { display: block; margin-bottom: .15rem; font: 800 .68rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: #8c6a2f; }
.ps-tiroir .ps-moi__ls { display: grid; gap: .6rem; }
.ps-tiroir .ps-cc--ligne { grid-template-columns: 1fr; gap: .45rem; }
.ps-tiroir .ps-cc--ligne .ps-cc__nom { flex-wrap: nowrap; }

/* ===== 28 oct. 2026 — presidentielle-2027.html : panneau d'une personnalité « plus joli » (CSS seul, le panneau est fait par js/presidentielle-simple.js) ===== */
.ps-tiroir .ps-tiroir__boite { background: #f4f6fa; }
.ps-tiroir .ps-tiroir__tete { position: relative; padding: 1.4rem 1.3rem 1.2rem; border-bottom: 0; background: linear-gradient(135deg, var(--cc, var(--nuit)) 0%, color-mix(in srgb, var(--cc, var(--nuit)) 70%, #101b34) 100%); color: #fff; }
.ps-tiroir .ps-tiroir__tete > i { width: 3rem; height: 3rem; background: #fff; color: var(--cc, var(--nuit)); font-size: .95rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.ps-tiroir .ps-tiroir__t { font-size: 1.35rem; color: #fff; }
.ps-tiroir .ps-tiroir__s { color: rgba(255, 255, 255, .8); font-size: .82rem; }
.ps-tiroir .ps-tiroir__n b { min-width: auto; height: auto; padding: .3rem .65rem; background: rgba(255, 255, 255, .18); color: #fff; font-size: .78rem; }
.ps-tiroir .ps-tiroir__n small { padding: .25rem .55rem; border: 1px dashed rgba(255, 255, 255, .6); border-radius: 999px; color: #fff; }
.ps-tiroir .ps-tiroir__x { border: 0; background: rgba(255, 255, 255, .18); color: #fff; }
.ps-tiroir .ps-tiroir__x:hover { background: rgba(255, 255, 255, .3); }
.ps-tiroir .ps-tiroir__corps.ps { padding: 1rem 1.1rem 1.6rem; background: #f4f6fa; }
.ps-tiroir .ps-f__corps { display: grid; gap: .8rem; }
/* un sujet = une carte */
.ps-tiroir .ps-f__th { margin: 0 !important; padding: 1rem 1.1rem .8rem !important; border: 1px solid #e3e7ef !important; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); }
.ps-tiroir .ps-f__th > p:first-child { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .7rem !important; padding: .28rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--cc, var(--nuit)) 10%, #fff); font: 800 .72rem var(--titre) !important; letter-spacing: .04em; text-transform: uppercase; color: var(--cc, var(--nuit)) !important; }
.ps-tiroir .ps-f__th > p:first-child::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.ps-tiroir .ps-f__y .ps-y { margin: 0; padding: 0; background: none; border: 0; }
.ps-tiroir ul.ps-y__l { display: grid; gap: .45rem; margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps ul.ps-y__l > li { position: relative; margin: 0 !important; padding: 0 0 0 1.6rem !important; font-size: .92rem; line-height: 1.45; color: #1f2638; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps ul.ps-y__l > li::before { content: "" !important; position: absolute; left: 0 !important; top: .15rem !important; width: 1.05rem !important; height: 1.05rem !important; border: 0 !important; border-radius: 50%; background: color-mix(in srgb, var(--cc, var(--nuit)) 14%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' fill='none' stroke='%23101b34' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat !important; }
.ps-tiroir .ps-y--parti { margin-top: .7rem !important; padding: .6rem .75rem !important; border: 1px dashed #c3c9d6 !important; border-radius: 8px; background: #fafbfd !important; }
.ps-tiroir .ps-y--rien { font-size: .82rem; font-style: italic; color: #7a8297; }
/* « Voir le détail » : un bouton discret en bas de la carte */
.ps-tiroir .ps-f__th > details.ps-plus { margin: .8rem 0 0 !important; padding-top: .6rem; border-top: 1px solid #eef0f4; }
.ps-tiroir .ps-f__th > details.ps-plus > summary { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border: 1px solid #dfe3ec; border-radius: 6px; font: 700 .76rem var(--titre); color: var(--nuit) !important; cursor: pointer; list-style: none; }
.ps-tiroir .ps-f__th > details.ps-plus > summary::-webkit-details-marker { display: none; }
.ps-tiroir .ps-f__th > details.ps-plus > summary::before { content: "+"; font-size: .9rem; }
.ps-tiroir .ps-f__th > details.ps-plus[open] > summary::before { content: "–"; }
.ps-tiroir .ps-f__th > details.ps-plus > summary:hover { border-color: var(--nuit); }
.ps-tiroir .ps-f__th > details.ps-plus > ul { margin: .7rem 0 0 !important; padding: 0 !important; }
.ps-tiroir .ps-f__th > details.ps-plus > ul > li { margin: 0 0 .5rem !important; padding: .6rem .7rem !important; border-radius: 8px; background: #f6f7fa; list-style: none; }
.ps-tiroir .ps-f__th > details.ps-plus > ul > li::before { content: none !important; }
.ps-tiroir .ps-f__rien { margin: 0; padding: .8rem 1rem; border-radius: 10px; background: #fbf5e7; font-size: .86rem; color: #5b4a22; }
@media (max-width: 600px) { .ps-tiroir .ps-tiroir__tete { padding: 1rem; } .ps-tiroir .ps-tiroir__corps.ps { padding: .8rem .8rem 1.4rem; } }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps .ps-y--parti ul.ps-y__l > li::before { background: #fff !important; border: 1.5px dashed #9aa0ae !important; }

/* ===== 28 oct. 2026 — presidentielle-2027.html : code couleur par sujet et cartes « Et moi ? » plus lisibles (js/presidentielle-simple.js, fin) ===== */
[data-page="presidentielle-2027"] .ps-th__i { display: inline-grid; place-items: center; flex: 0 0 auto; color: var(--th); }
[data-page="presidentielle-2027"] .ps-th__i svg { width: 100%; height: 100%; }
/* boutons de sujet : picto de couleur ; choisi = fond de la couleur du sujet */
[data-page="presidentielle-2027"] .ps-s.ps-th { display: inline-flex; align-items: center; gap: .4rem; }
[data-page="presidentielle-2027"] .ps-s.ps-th .ps-th__i { width: 1rem; height: 1rem; }
[data-page="presidentielle-2027"] .ps-s.ps-th:hover { border-color: var(--th); }
[data-page="presidentielle-2027"] .ps-s.ps-th[aria-pressed="true"] { background: var(--th) !important; border-color: var(--th) !important; color: #fff !important; }
[data-page="presidentielle-2027"] .ps-s.ps-th[aria-pressed="true"] .ps-th__i { color: #fff; }
[data-page="presidentielle-2027"] .ps-res.ps-th .ps-res__t b { color: var(--th); }
/* cartes « Et moi ? » */
[data-page="presidentielle-2027"] .ps-mc.ps-th { position: relative; gap: .7rem; padding: 1.2rem 1.25rem 1.1rem; border: 1px solid #e3e7ef; border-top: 4px solid var(--th); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
[data-page="presidentielle-2027"] .ps-mc.ps-th:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 27, 52, .1); }
[data-page="presidentielle-2027"] .ps-mc.ps-th .ps-mc__t { display: flex; align-items: center; gap: .65rem; font-size: 1.05rem; }
[data-page="presidentielle-2027"] .ps-mc.ps-th .ps-mc__t::after { content: none; }
[data-page="presidentielle-2027"] .ps-mc.ps-th .ps-mc__t .ps-th__i { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 10px; background: color-mix(in srgb, var(--th) 12%, #fff); }
[data-page="presidentielle-2027"] .ps-mc.ps-th .ps-mc__clair { color: #3a4256; }
[data-page="presidentielle-2027"] .ps-mc.ps-th .ps-mc__voir { display: flex; align-items: center; justify-content: space-between; gap: .6rem; align-self: stretch; margin-top: auto; padding: .65rem .85rem; border: 0; border-radius: 8px; background: color-mix(in srgb, var(--th) 9%, #fff); color: var(--nuit); }
[data-page="presidentielle-2027"] .ps-mc.ps-th .ps-mc__voir b { display: inline; min-width: 0; height: auto; margin: 0; padding: 0; background: none; color: var(--th); font: 800 1.35rem var(--titre); }
[data-page="presidentielle-2027"] .ps-mc__n { font: 600 .82rem var(--texte, inherit); color: #4a5164; }
[data-page="presidentielle-2027"] .ps-mc__go { font: 700 .8rem var(--titre); color: var(--th); white-space: nowrap; }
[data-page="presidentielle-2027"] .ps-mc.ps-th:hover .ps-mc__voir { background: var(--th); }
[data-page="presidentielle-2027"] .ps-mc.ps-th:hover .ps-mc__voir b, [data-page="presidentielle-2027"] .ps-mc.ps-th:hover .ps-mc__n, [data-page="presidentielle-2027"] .ps-mc.ps-th:hover .ps-mc__go { color: #fff; }
/* panneau ouvert depuis un sujet : picto dans le rond */
[data-page="presidentielle-2027"] .ps-tiroir__tete > i svg { width: 1.4rem; height: 1.4rem; }
@media (prefers-reduced-motion: reduce) { [data-page="presidentielle-2027"] .ps-mc.ps-th { transition: none; } [data-page="presidentielle-2027"] .ps-mc.ps-th:hover { transform: none; } }
.ps-tiroir .ps-tiroir__n b { display: block; text-align: center; line-height: 1.1; border-radius: 999px; padding: .3rem .8rem; }
.ps-tiroir .ps-tiroir__n b small { display: block; font: 600 .66rem var(--titre); opacity: .9; }
.ps-tiroir .ps-tiroir__n b small { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; }
/* Panneau « qui propose quoi » : « Voir le détail » comme le bouton des fiches */
.ps-tiroir .ps-cc__voir { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; padding: .3rem .7rem; border: 1px solid #dfe3ec; border-radius: 6px; background: #fff; font: 700 .76rem var(--titre); color: var(--nuit); text-decoration: none; }
.ps-tiroir .ps-cc__voir:hover { border-color: var(--nuit); }

/* ===== 28 oct. 2026 — presidentielle-2027.html : « Par personnalité » en cartes, et panneau d'un sujet plus clair ===== */
html body[data-page="presidentielle-2027"] .ps-fs { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
html body[data-page="presidentielle-2027"] details.ps-f { margin: 0 !important; border: 1px solid #e3e7ef !important; border-left: 1px solid #e3e7ef !important; border-top: 4px solid var(--cc) !important; border-radius: 12px !important; background: #fff; box-shadow: 0 1px 2px rgba(16, 27, 52, .05); transition: transform .15s ease, box-shadow .15s ease; }
html body[data-page="presidentielle-2027"] details.ps-f:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 27, 52, .1); }
html body[data-page="presidentielle-2027"] details.ps-f > summary { display: grid !important; grid-template-columns: auto 1fr; grid-template-areas: "i nom" "su su" "pied pied"; align-items: center; gap: .8rem .75rem !important; height: 100%; padding: 1.1rem 1.15rem 1rem !important; list-style: none; cursor: pointer; }
html body[data-page="presidentielle-2027"] details.ps-f > summary::-webkit-details-marker { display: none; }
html body[data-page="presidentielle-2027"] details.ps-f > summary::after { content: none !important; }
html body[data-page="presidentielle-2027"] details.ps-f > summary > i { grid-area: i; width: 2.8rem !important; height: 2.8rem !important; font-size: .85rem !important; }
html body[data-page="presidentielle-2027"] .ps-f__nom { grid-area: nom; min-width: 0; font: 800 1.05rem/1.2 var(--titre) !important; }
html body[data-page="presidentielle-2027"] .ps-f__nom small { display: block; margin-top: .15rem; overflow: hidden; font: 400 .78rem var(--texte, inherit) !important; color: #6b7387 !important; white-space: nowrap; text-overflow: ellipsis; }
html body[data-page="presidentielle-2027"] .ps-f__sujets { grid-area: su; display: flex !important; flex-wrap: wrap; gap: .35rem; margin: 0 !important; text-align: left !important; }
html body[data-page="presidentielle-2027"] .ps-pil { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--th) 11%, #fff); font: 700 .72rem/1.25 var(--titre); color: var(--th); }
html body[data-page="presidentielle-2027"] .ps-pil::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--th); }
html body[data-page="presidentielle-2027"] .ps-f__pied { grid-area: pied; display: flex; align-items: center; gap: .6rem; align-self: end; padding-top: .75rem; border-top: 1px solid #eef0f4; font-size: .8rem; color: #4a5164; }
html body[data-page="presidentielle-2027"] .ps-f__n b { font: 800 1.15rem var(--titre); color: var(--nuit); }
html body[data-page="presidentielle-2027"] .ps-f__n--0 { font-style: italic; color: #7a8297; }
html body[data-page="presidentielle-2027"] .ps-f__p { padding: .1rem .45rem; border: 1px dashed #b5bccb; border-radius: 999px; font: 700 .7rem var(--titre); color: #5b6478; }
html body[data-page="presidentielle-2027"] .ps-f__go { margin-left: auto; font: 700 .8rem var(--titre); color: var(--cc); }

/* Panneau d'un sujet : une ligne par personnalité, nom à gauche, mesures à droite, sans cadres empilés */
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-moi__ls { gap: 0 !important; overflow: hidden; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc--ligne { display: grid !important; grid-template-columns: 10.5rem minmax(0, 1fr) !important; gap: .9rem !important; margin: 0 !important; padding: 1rem 1.1rem !important; border: 0 !important; border-top: 1px solid #eef0f4 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc--ligne:first-child { border-top: 0 !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc--ligne .ps-cc__nom { display: flex !important; flex-wrap: wrap !important; align-items: center; align-content: flex-start; gap: .25rem .5rem; font: 800 .88rem/1.25 var(--titre); color: var(--nuit); text-decoration: none; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc--ligne .ps-cc__nom > span { flex: 1 1 5rem; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc--ligne .ps-cc__nom > b, html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc--ligne .ps-cc__nom > small { display: none; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc__corps { min-width: 0; font-size: .9rem; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc__corps .ps-y--rien { margin: 0 0 .3rem; font-size: .8rem; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc__corps .ps-y--parti { margin-top: .3rem !important; padding: .5rem .65rem !important; border: 0 !important; border-left: 3px solid #c3c9d6 !important; border-radius: 0 6px 6px 0 !important; background: #f6f7fa !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y__qui { display: block; margin-bottom: .3rem; font: 700 .68rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #6b7387; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc__voir { display: inline-block; margin-top: .45rem; font: 700 .74rem var(--titre); color: #6b7387 !important; text-decoration: none !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc__voir:hover { color: var(--nuit) !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir__clair { margin: 0 0 1rem !important; border-left: 4px solid var(--cc) !important; border-radius: 0 10px 10px 0 !important; background: #fff !important; }
@media (max-width: 600px) {
  html body[data-page="presidentielle-2027"] .ps-tiroir .ps-cc--ligne { grid-template-columns: 1fr !important; gap: .5rem !important; }
}
html body[data-page="presidentielle-2027"] details.ps-f .ps-f__sujets { max-width: none !important; width: auto !important; flex: none !important; }
html body[data-page="presidentielle-2027"] details.ps-f .ps-pil { white-space: nowrap; }
html body[data-page="presidentielle-2027"] details.ps-f .ps-f__n { display: inline-flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
html body[data-page="presidentielle-2027"] details.ps-f .ps-f__n b { display: inline !important; min-width: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; border-radius: 0 !important; background: none !important; }
html body[data-page="presidentielle-2027"] details.ps-f .ps-f__p, html body[data-page="presidentielle-2027"] details.ps-f .ps-f__go { white-space: nowrap; }
html body[data-page="presidentielle-2027"] details.ps-f .ps-f__pied { flex-wrap: wrap; }
/* carte seule sur la dernière ligne : elle prend toute la largeur, tout sur une ligne (pas de trou) */
@media (min-width: 1000px) {
  html body[data-page="presidentielle-2027"] .ps-fs > details.ps-f:nth-child(3n+1):last-child { grid-column: 1 / -1; }
  html body[data-page="presidentielle-2027"] .ps-fs > details.ps-f:nth-child(3n+1):last-child > summary { grid-template-columns: auto minmax(12rem, 16rem) 1fr auto; grid-template-areas: "i nom su pied"; }
  html body[data-page="presidentielle-2027"] .ps-fs > details.ps-f:nth-child(3n+1):last-child .ps-f__pied { padding: 0 0 0 1rem; border-top: 0; border-left: 1px solid #eef0f4; align-self: center; }
}
html body[data-page="presidentielle-2027"] details.ps-f > summary > b, html body[data-page="presidentielle-2027"] details.ps-f > summary > small { display: none !important; }
/* Panneau « qui propose quoi » en lignes (28 oct. 2026, maquette) : nom à gauche, idées à droite, un trait entre chaque personnalité */
.ps-tiroir .ps-moi__ls { gap: 0; margin: 0 -.2rem; border-radius: 10px; background: #fff; border: 1px solid #e3e7ef; }
.ps-tiroir .ps-moi__ls > .ps-cc--ligne { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .3rem 1rem; margin: 0; padding: 1rem 1.1rem; border: 0; border-bottom: 1px solid #eef0f4; border-radius: 0; background: none; box-shadow: none; }
.ps-tiroir .ps-moi__ls > .ps-cc--ligne:last-child { border-bottom: 0; }
.ps-tiroir .ps-moi__ls .ps-cc__nom { align-self: start; flex-wrap: nowrap; gap: .55rem; font-size: .88rem; line-height: 1.2; }
.ps-tiroir .ps-moi__ls .ps-cc__nom > b, .ps-tiroir .ps-moi__ls .ps-cc__nom > .ps-cc__parti { display: none; }
.ps-tiroir .ps-moi__ls .ps-y--parti { border: 0; border-left: 3px solid color-mix(in srgb, var(--cc, var(--nuit)) 45%, #fff); border-radius: 0 6px 6px 0; background: #f7f8fb; }
.ps-tiroir .ps-moi__ls .ps-cc__voir { margin-top: .35rem; padding: 0; border: 0; background: none; font: 700 .74rem var(--titre); color: #5b6478; }
.ps-tiroir .ps-moi__ls .ps-cc__voir:hover { color: var(--nuit); text-decoration: underline; }
@media (max-width: 600px) { .ps-tiroir .ps-moi__ls > .ps-cc--ligne { grid-template-columns: 1fr; } }

/* ===== 28 oct. 2026 — presidentielle-2027.html : « Par sujet » en liste claire (une ligne par personnalité : nom à gauche, mesures à droite) — fini les cartes vides ===== */
html body[data-page="presidentielle-2027"] #sujet .ps-cs { display: block !important; columns: auto !important; overflow: hidden; border: 1px solid #e3e7ef; border-radius: 12px; background: #fff; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc { display: grid !important; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.2rem; margin: 0 !important; padding: 1.1rem 1.3rem !important; border: 0 !important; border-top: 1px solid #eef0f4 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; animation: none !important; transition: background .15s; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc:first-child { border-top: 0 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc:hover { background: #fafbfd !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom { display: flex !important; align-items: center; align-self: start; gap: .6rem; padding: 0 !important; border: 0 !important; outline: 0; font: 800 .95rem/1.25 var(--titre); color: var(--nuit); text-decoration: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom:focus-visible { outline: 2px solid var(--cc); outline-offset: 3px; border-radius: 6px; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom > i { flex: 0 0 auto; width: 2.3rem !important; height: 2.3rem !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom > span { flex: 1; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom > b, html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom > small { display: none !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__corps { display: block !important; min-width: 0; font-size: .92rem; }
html body[data-page="presidentielle-2027"] #sujet .ps .ps-y__l > li::before, html body[data-page="presidentielle-2027"] #sujet .ps-y__l > li::before { background: var(--cc) !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y--rien { margin: 0 0 .3rem !important; font-size: .8rem; }
html body[data-page="presidentielle-2027"] #sujet .ps-y--parti { margin-top: .4rem !important; padding: .55rem .7rem !important; border: 0 !important; border-left: 3px solid #c3c9d6 !important; border-radius: 0 6px 6px 0 !important; background: #f6f7fa !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y__qui { display: block; margin-bottom: .3rem; font: 700 .68rem var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #6b7387; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus { margin: .5rem 0 0 !important; padding: 0 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary { display: inline-flex; align-items: center; gap: .3rem; font: 700 .76rem var(--titre); color: #6b7387 !important; cursor: pointer; list-style: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary::-webkit-details-marker { display: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary::before { content: "+"; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus[open] > summary::before { content: "–"; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary:hover { color: var(--nuit) !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-res__t { margin: 1.4rem 0 .8rem; }
@media (max-width: 700px) {
  html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc { grid-template-columns: 1fr; gap: .6rem; padding: 1rem !important; }
}
/* Panneau « qui propose quoi » : une petite carte par personnalité, avec un petit espace entre elles (28 oct. 2026, demande ;
   même sélecteur renforcé que la règle « sans cadres empilés » ci-dessus, qu'elle remplace) */
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-moi__ls { gap: .55rem !important; overflow: visible; border: 0; border-radius: 0; background: none; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-moi__ls > .ps-cc--ligne { padding: .85rem 1rem !important; border: 1px solid #e3e7ef !important; border-left: 3px solid var(--cc, var(--nuit)) !important; border-radius: 10px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(16, 27, 52, .04) !important; }

/* ===== 28 oct. 2026 — presidentielle-2027.html : « Par sujet » en colonnes (v2) : cartes à leur hauteur naturelle, empilées en colonnes, sans trou ===== */
html body[data-page="presidentielle-2027"] #sujet .ps-cs { display: block !important; columns: 3 19rem !important; column-gap: 1rem !important; overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc { display: block !important; break-inside: avoid; margin: 0 0 1rem !important; padding: 1rem 1.1rem .9rem !important; border: 1px solid #e3e7ef !important; border-top: 4px solid var(--cc) !important; border-radius: 12px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(16, 27, 52, .05) !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc:first-child { border-top: 4px solid var(--cc) !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc:hover { background: #fff !important; box-shadow: 0 8px 20px rgba(16, 27, 52, .09) !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom { margin: 0 0 .75rem !important; padding: 0 0 .7rem !important; border-bottom: 1px solid #eef0f4 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom > b { display: inline-grid !important; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .35rem; border-radius: 999px; background: color-mix(in srgb, var(--cc) 12%, #fff); color: var(--cc); font: 800 .75rem var(--titre); }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom > small { display: inline-block !important; padding: .1rem .45rem; border: 1px dashed #b5bccb; border-radius: 999px; font: 700 .66rem var(--titre); color: #5b6478; white-space: nowrap; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__corps { font-size: .9rem; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus { margin: .7rem 0 0 !important; padding-top: .55rem !important; border-top: 1px solid #eef0f4; }
@media (max-width: 700px) { html body[data-page="presidentielle-2027"] #sujet .ps-cs { columns: 1 !important; } }
/* Partie 6 : liste des programmes et sites officiels (28 oct. 2026) */
[data-page="presidentielle-2027"] .ps-prog__t { margin: 1.2rem 0 .3rem; font: 800 1.05rem var(--titre); color: var(--nuit); }
[data-page="presidentielle-2027"] .ps-prog__chapo { margin: 0 0 .7rem; font-size: .86rem; color: #5b6478; }
[data-page="presidentielle-2027"] .ps .ps-prog { display: grid; gap: .45rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
[data-page="presidentielle-2027"] .ps .ps-prog > li { display: grid; grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr) auto; align-items: center; gap: .4rem 1rem; padding: .6rem .9rem; border: 1px solid #e3e7ef; border-left: 3px solid var(--cc, var(--nuit)); border-radius: 10px; background: #fff; font-size: .86rem; }
[data-page="presidentielle-2027"] .ps .ps-prog > li::before { content: none; }
[data-page="presidentielle-2027"] .ps-prog__nom { display: flex; align-items: center; gap: .55rem; font: 800 .88rem var(--titre); color: var(--nuit); }
[data-page="presidentielle-2027"] .ps-prog__nom i { display: grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--cc, var(--nuit)); color: #fff; font: 800 .6rem var(--titre); font-style: normal; }
[data-page="presidentielle-2027"] .ps-prog__nom small, [data-page="presidentielle-2027"] .ps-prog__doc small { display: block; font: 500 .72rem var(--texte, inherit); color: #7a8297; }
[data-page="presidentielle-2027"] .ps-prog__doc a { font-weight: 700; color: var(--nuit); text-decoration: none; }
[data-page="presidentielle-2027"] .ps-prog__doc a:hover { color: #8c6a2f; text-decoration: underline; }
[data-page="presidentielle-2027"] .ps-prog__rien { font-style: italic; color: #7a8297; }
[data-page="presidentielle-2027"] .ps-prog__site { font: 700 .76rem var(--titre); color: #8c6a2f; white-space: nowrap; }
@media (max-width: 700px) { [data-page="presidentielle-2027"] .ps .ps-prog > li { grid-template-columns: 1fr; } }
html body[data-page="presidentielle-2027"] .ps h3.ps-prog__t { margin: 1.2rem 0 .3rem; padding: 0; border: 0; background: none; color: var(--nuit); font: 800 1.05rem var(--titre); text-transform: none; letter-spacing: 0; }
html body[data-page="presidentielle-2027"] .ps h3.ps-prog__t::before, html body[data-page="presidentielle-2027"] .ps h3.ps-prog__t::after { content: none; }

/* ===== 28 oct. 2026 — presidentielle-2027.html : « Par sujet » moins chargé (sous-titres discrets, bloc parti allégé) ===== */
html body[data-page="presidentielle-2027"] #sujet .ps-y__th--meme { display: none !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y__th { display: flex; align-items: center; gap: .4rem; margin: .7rem 0 .25rem !important; font: 600 .74rem var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; color: #6b7387 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y__th::after { content: ""; flex: 1; height: 1px; background: #eef0f4; }
html body[data-page="presidentielle-2027"] #sujet .ps-y:first-child > .ps-y__th:first-child { margin-top: 0 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y + .ps-y:not(.ps-y--parti) { margin-top: 0 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y__l > li { padding-top: .14rem !important; padding-bottom: .14rem !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y--parti { margin-top: .8rem !important; padding: .6rem .75rem .5rem !important; border-left: 0 !important; border-radius: 8px !important; background: #f6f7fa !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y--parti .ps-y__qui { font: 600 .7rem var(--titre) !important; letter-spacing: 0 !important; text-transform: none !important; color: #6b7387 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-y--parti .ps-y__l > li { color: #4a5164; font-size: .86rem; }
/* ===== 28 oct. 2026 (v3, demande) — « Par sujet » : cartes de même hauteur, un extrait, « Voir le détail » ouvre le panneau ===== */
html body[data-page="presidentielle-2027"] #sujet .ps-cs { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; columns: auto !important; gap: 1rem !important; align-items: stretch !important; }
@media (max-width: 1100px) { html body[data-page="presidentielle-2027"] #sujet .ps-cs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 700px) { html body[data-page="presidentielle-2027"] #sujet .ps-cs { grid-template-columns: 1fr !important; } }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc { display: flex !important; flex-direction: column; margin: 0 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__corps { display: flex; flex-direction: column; flex: 1; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__extrait { position: relative; max-height: 11.5rem; overflow: hidden; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__extrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2rem; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus { margin: auto 0 0 !important; padding-top: .6rem !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border: 1px solid #dfe3ec; border-radius: 6px; font: 700 .76rem var(--titre); color: var(--nuit); cursor: pointer; list-style: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary::-webkit-details-marker { display: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary::before { content: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary::after { content: " →"; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus > summary:hover { border-color: var(--cc, var(--nuit)); color: var(--cc, var(--nuit)); }
/* contenu du panneau ouvert depuis une carte */
.ps-tiroir__carte { margin: .8rem 0 0; padding: 1rem 1.1rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; }
.ps-tiroir__carte > .ps-y:first-child { margin-top: 0; }
.ps-tiroir__h { margin: 1.1rem 0 .4rem; font: 800 .7rem var(--titre); letter-spacing: .06em; text-transform: uppercase; color: #7a8297; }
.ps-tiroir__corps .ps-tiroir__mes { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.ps-tiroir__corps .ps-tiroir__mes > li { margin: 0; padding: .75rem .9rem; border: 1px solid #e3e7ef; border-radius: 10px; background: #fff; font-size: .86rem; line-height: 1.45; }
.ps-tiroir__corps .ps-tiroir__mes > li::before { content: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc > .ps-cc__corps { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cs > .ps-cc > .ps-cc__corps > .ps-plus { margin-top: auto !important; }
/* « Par sujet » v3 bis (28 oct. 2026) : moins de blanc, fondu seulement si le texte est coupé */
html body[data-page="presidentielle-2027"] #sujet .ps-cc__nom { margin: 0 0 .5rem !important; padding: 0 0 .55rem !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__extrait { max-height: 8.6rem; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__extrait > .ps-y:first-child, html body[data-page="presidentielle-2027"] #sujet .ps-cc__extrait > .ps-y:first-child > .ps-y__th:first-child { margin-top: 0 !important; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__extrait::after { display: none; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc__extrait.ps-coupe::after { display: block; }
html body[data-page="presidentielle-2027"] #sujet .ps-cc .ps-plus { padding-top: .5rem !important; }
/* Panneaux latéraux plus aérés (28 oct. 2026, demande « tout n'est pas obligé d'être collé ») */
html body[data-page="presidentielle-2027"] .ps-tiroir__corps { padding-top: .4rem !important; padding-bottom: 2rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir__carte { margin-top: 1rem; padding: 1.3rem 1.4rem; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y + .ps-y, html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y + .ps-y--parti { margin-top: 1.1rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y__th { margin: 1.1rem 0 .45rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y > .ps-y__th:first-child, html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y__qui + .ps-y__th { margin-top: .2rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y__l > li { padding-top: .32rem !important; padding-bottom: .32rem !important; line-height: 1.5 !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y--parti { padding: .9rem 1rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-y__qui { margin-bottom: .55rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir__h { margin: 1.8rem 0 .7rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir__corps .ps-tiroir__mes { gap: .8rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir__corps .ps-tiroir__mes > li { padding: 1rem 1.1rem !important; line-height: 1.55 !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir__corps .ps-tiroir__mes .ps-tag { display: inline-block; margin: .45rem 0 0 0 !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir__corps .ps-tiroir__mes .ps-tag + .ps-src, html body[data-page="presidentielle-2027"] .ps-tiroir__corps .ps-tiroir__mes .ps-src { margin-top: .45rem !important; }
/* fiche d'une personnalité : un peu plus d'espace entre les sujets et dans chaque sujet */
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-f__th { margin-bottom: 1rem !important; padding: 1.2rem 1.3rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-f__th > p:first-child { margin-bottom: .8rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-f__th > details.ps-plus { margin-top: 1rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-moi__ls { gap: .8rem !important; }
html body[data-page="presidentielle-2027"] .ps-tiroir .ps-moi__ls > .ps-cc--ligne { padding: 1.1rem 1.2rem !important; }
/* cartedesopration : carte et liste tiennent dans l'écran sur ordinateur (29 oct. 2026) */
@media (min-width: 761px) {
  [data-page="cartedesopration"] .op-cote, [data-page="cartedesopration"] .op-carte__boite .ls-plan { height: min(40rem, calc(100vh - 6.5rem)) !important; min-height: 26rem !important; }
}
html body[data-page="cartedesopration"] .op-cote__tete .op-carte__retour, html body[data-page="cartedesopration"] .op-carte__retour { font-size: .9rem !important; font-weight: 700 !important; }
