/* MacTips OEIL — pages de lecture seulement (body.mtp-lecture : articles, astuces, actualités, fiches d'incident et de panne,
   services, rubriques, pages). Chargée après oeil.css (commun). Règles reprises telles quelles de oeil.css, dans leur ordre d'origine. */

/* Fiche d'incident */
.oe-fiche-tete { padding: 28px clamp(16px, 3vw, 32px); background: var(--oe-surface); border-bottom: 1px solid var(--oe-bord-2); }
.oe-fiche-tete > div { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.oe-chiffres { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.oe-chiffres > div { padding: 12px 14px; border: 1px solid var(--oe-bord-2); border-radius: 14px; background: var(--oe-surface-2); }
.oe-chiffres dt { font-size: 12.5px; color: var(--oe-faible); }
.oe-chiffres dd { margin: 3px 0 0; font-weight: 700; font-size: 18px; color: var(--oe-encre); }
.oe-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; }
.oe-etapes li { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--oe-bord-2); background: var(--oe-surface-2); font-size: 14px; }
.oe-etapes li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--oe-bord-2); }
.oe-etapes li.fait::before { background: var(--oe-encre); }
.oe-etapes li.actuel { background: rgba(200, 40, 29, .22); border-color: rgba(255, 122, 110, .55); }
.oe-etapes li.actuel::before { background: #D03B3B; }
.oe-etapes li span { font: 500 12.5px var(--oe-mono); color: var(--oe-faible); }
.oe-chrono { list-style: none; margin: 0; padding: 0 0 0 16px; display: flex; flex-direction: column; gap: 10px; border-left: 2px solid var(--oe-bord-2); }
.oe-chrono li { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.oe-chrono li::before { content: ""; position: absolute; left: -23px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--oe-fond); border: 3px solid var(--oe-c, #94A3B8); }
.oe-chrono time { font: 600 13px var(--oe-mono); color: var(--oe-encre); }
.oe-chrono small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--oe-c, #AAB8C9); }
.oe-encart-sombre { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px; background: rgba(8, 13, 20, .92); border: 1px solid var(--oe-bord); color: #DCE4F2; }
.oe-encart-sombre h2 { margin: 0; font-size: 18px; color: #fff; }
.oe-encart-sombre .oe-signal label { color: #fff; }
.oe-encart-sombre .oe-mini { color: #AEBBD0; }

/* Service */
.oe-jours { display: flex; gap: 2px; height: 44px; }
.oe-jours span { flex: 1 1 0; min-width: 2px; border-radius: 3px; }

/* Pages de texte (méthode, alertes) */
.oe-prose { max-width: 820px; font-size: 16.5px; line-height: 1.7; }
.oe-prose h2 { margin: 28px 0 8px; font-size: 22px; color: var(--oe-encre); }
.oe-prose li { margin: 4px 0; }

/* Articles, rubriques et pages du magazine (style.css) : même version sombre (variables du magazine redéfinies dans oeil.css). */
body.oeil-site :is(.pill.rumor, .tip-head .pill, .share a, .share button, .post-nav a, .page-links a, .page-links > .post-page-numbers, .pagination .page-numbers, .comment-respond, .err-links a, .author-box, .apropos-sommaire a) { background: var(--oe-surface); color: var(--oe-texte); }
body.oeil-site :is(.findform input[type=search], .nl-row input, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea) { background: var(--oe-champ); color: var(--oe-encre); border-color: var(--oe-bord-3); }
body.oeil-site :is(.findform button, .skip-link, .btn, .tip ol li::before, .pagination .page-numbers.current, .page-links .current, .prose .wp-block-button__link, .comment-form .submit) { background: var(--oe-accent-fort); color: #fff; }
body.oeil-site :is(.btn, .prose .wp-block-button__link, .comment-form .submit):hover { background: #0B6870; color: #fff; }
body.oeil-site .pagination .page-numbers.current, body.oeil-site .page-links .current { border-color: var(--oe-accent-fort); }
body.oeil-site .newsletter { background: #0B3C42; color: #fff; }
body.oeil-site .newsletter p.lede { color: #D5E3E5; }
body.oeil-site .nl-form { background: var(--oe-surface); color: var(--oe-texte); }
body.oeil-site .nl-row button { background: #F6D77A; color: #1D1B26; }
body.oeil-site :is(kbd, .keycap, .keycap.cmd) { color: #1D1B26; }
body.oeil-site .keycap.cmd .glyph { color: #312A9E; }
body.oeil-site :is(.tip aside, .shortcuts div) { background: rgba(255, 255, 255, .06); }
body.oeil-site .rub-empty { background: rgba(255, 255, 255, .05); border-color: var(--oe-bord-3); }
body.oeil-site .feature ul, body.oeil-site .feature li { border-color: var(--oe-bord); }
body.oeil-site .dot { color: var(--oe-faible); }
body.oeil-site .tagline { color: var(--oe-discret); }
body.oeil-site :is(.media-ph svg, .logo .key) { filter: none; }
body.oeil-site .prose pre { background: #0B1118; color: #E8EEF6; border: 1px solid var(--oe-bord); }
body.oeil-site .prose :not(pre) > code { background: rgba(130, 170, 200, .16); color: var(--oe-encre); }
body.oeil-site .prose mark { color: #fff; }
body.oeil-site :is(.prose table th, .prose table td) { border-color: var(--oe-bord); }

@media (max-width: 760px) {
	.oe-chrono li { grid-template-columns: 1fr; gap: 2px; }
	.oe-chrono small, .oe-chrono time { font-size: 13px; }

	/* Articles et pages du magazine */
	body.oeil-site .prose { font-size: 17px; }
	body.oeil-site .prose :is(img, figure, video, iframe) { max-width: 100%; height: auto; }
	body.oeil-site .prose table, body.oeil-site .prose .wp-block-table table { min-width: 0; width: 100%; table-layout: fixed; font-size: .9rem; }
	body.oeil-site .prose :is(td, th) { overflow-wrap: anywhere; word-break: break-word; padding: 8px 6px; }
	body.oeil-site .prose pre { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: hidden; }
	body.oeil-site .prose :not(pre) > code { overflow-wrap: anywhere; }
	body.oeil-site :is(.share a, .share button, .page-links a, .page-links > .post-page-numbers, .pagination .page-numbers, .err-links a, .apropos-sommaire a, .findform button, .nl-row button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
	body.oeil-site :is(.btn, .comment-form .submit, .post-nav a, .findform input[type=search], .nl-row input) { min-height: 44px; }
	body.oeil-site :is(.share, .page-links, .pagination, .err-links) { gap: 10px; }
}

/* Articles et pages du magazine : mode clair */
html[data-theme="light"] body.oeil-site :is(.tip aside, .shortcuts div) { background: rgba(15, 27, 45, .04); }
html[data-theme="light"] body.oeil-site .rub-empty { background: rgba(15, 27, 45, .03); }
html[data-theme="light"] body.oeil-site .prose pre { background: #EEF3FA; color: #0F1B2D; }
html[data-theme="light"] body.oeil-site .prose mark { color: var(--oe-encre); }

/* Actualités de pannes (/actualites/) : puces années et thèmes, cartes de fiches, fiche d'une panne. Variables --oe-* seulement (mode clair compris). */
.oe-actu-puces { gap: 8px; }
.oe-actu-puces .oe-puce-btn { min-height: 44px; }
.oe-actu-section { display: flex; flex-direction: column; gap: 12px; }
.oe-actu-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.oe-actu-case { display: flex; flex-direction: column; gap: 6px; min-height: 44px; text-decoration: none; color: var(--oe-encre) !important; }
.oe-actu-case b { font-size: 17px; }
.oe-actu-grand { font-size: 28px !important; font-weight: 700; letter-spacing: -.01em; }
.oe-actu-carte { display: flex; flex-direction: column; gap: 8px; }
.oe-actu-titre { margin: 0; font-size: 17px; line-height: 1.3; color: var(--oe-encre); }
.oe-actu-titre a { color: var(--oe-encre) !important; text-decoration: none; }
.oe-actu-titre a:hover { text-decoration: underline; }
.oe-actu-date { font: 600 12.5px var(--oe-mono); color: var(--oe-discret); }
.oe-actu-etiquettes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.oe-actu-etiquette { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--oe-bleu-clair); color: var(--oe-texte) !important; font-size: 12.5px; font-weight: 600; text-decoration: none; }
a.oe-actu-etiquette { min-height: 32px; }
.oe-actu-brouillon { background: transparent; border: 1.5px dashed var(--oe-bord-3); }
.oe-actu-averif { border-left: 4px solid #FAB219; display: flex; flex-direction: column; gap: 6px; }
.oe-actu-tete { display: flex; flex-direction: column; gap: 10px; }
.oe-actu-texte { color: var(--oe-texte); font-size: 16.5px; line-height: 1.65; }
.oe-actu-texte > :first-child { margin-top: 0; }
.oe-actu-texte h2 { margin: 1.4em 0 .5em; font-size: 21px; font-weight: 700; color: var(--oe-encre); }
.oe-actu-texte :is(ul, ol) { padding-left: 1.3em; }
.oe-actu-texte li + li { margin-top: .35em; }
.oe-actu-texte strong { color: var(--oe-encre); }
.oe-actu-texte a { overflow-wrap: anywhere; }
.oe-actu-bloc { display: flex; flex-direction: column; gap: 8px; }
.oe-actu-bloc ul { margin: 0; padding-left: 18px; }
.oe-actu-bloc li + li { margin-top: 6px; }
/* Fiche d'une panne : encadré En bref, chronologie, terme expliqué, état en direct, FAQ ; pages année et thème : intro et tableau. */
.oe-actu-fiche { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.oe-actu-maj { margin: 0; }
.oe-actu-texte h3 { margin: 1.1em 0 .4em; font-size: 17.5px; font-weight: 700; color: var(--oe-encre); }
.mtp-panne-bref, .mtp-panne-terme { margin: 0 0 1.2em; padding: 14px 16px; border-radius: 12px; background: var(--oe-surface-2); border: 1px solid var(--oe-bord); }
.mtp-panne-bref-titre, .mtp-panne-terme-titre { margin: 0 0 8px; font-weight: 700; color: var(--oe-encre); }
.mtp-panne-terme-titre span { display: block; font: 600 12px var(--oe-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--oe-bleu-fonce); }
.mtp-panne-terme p:last-child { margin-bottom: 0; }
.mtp-panne-bref table, .mtp-recap { width: 100%; border-collapse: collapse; font-size: 15px; }
.mtp-panne-bref th, .mtp-panne-bref td, .mtp-recap th, .mtp-recap td { padding: 8px 10px 8px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--oe-bord-2); }
.mtp-panne-bref tr:first-child :is(th, td) { border-top: 0; }
.mtp-panne-bref th { width: 34%; color: var(--oe-discret); font-weight: 600; }
.mtp-panne-chrono { list-style: none; padding-left: 0 !important; border-left: 2px solid var(--oe-bord-3); }
.mtp-panne-chrono li { position: relative; padding-left: 16px; }
.mtp-panne-chrono li::before { content: ""; position: absolute; left: -6px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--oe-bleu); }
.mtp-panne-directs { display: flex; flex-direction: column; gap: 10px; margin: 0 0 1em; }
.mtp-panne-direct { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mtp-panne-direct-etat { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--oe-texte); }
.mtp-panne-point { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #0CA30C; }
.mtp-panne-direct-alerte .mtp-panne-point { background: var(--oe-rouge-marque); }
.mtp-panne-direct .oe-bouton, .mtp-panne-astuce a { min-height: 44px; display: inline-flex; align-items: center; }
.mtp-panne-astuce { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.mtp-panne-astuce b { flex-basis: 100%; color: var(--oe-encre); }
.mtp-faq { padding: 2px 0 6px; border-top: 1px solid var(--oe-bord-2); }
.mtp-faq-r p { margin: 0 0 .6em; }
.mtp-panne-liens { margin-top: 12px; }
.mtp-panne-liens a.oe-actu-etiquette { min-height: 44px; }
.mtp-actu-intro { max-width: 860px; color: var(--oe-texte); font-size: 16px; line-height: 1.65; }
.mtp-actu-intro p { margin: 0 0 .8em; }
.mtp-recap-defile { max-width: 100%; overflow-x: auto; }
.mtp-recap { min-width: 560px; }
.mtp-recap caption { text-align: left; padding: 0 0 8px; font-weight: 700; color: var(--oe-encre); }
.mtp-recap thead th { color: var(--oe-discret); font-size: 13px; font-weight: 600; border-top: 0; }
.mtp-recap td a { color: var(--oe-encre); }

/* Actualités des pannes (/actualites/), pages de confiance */
.oe-actu { display: flex; flex-direction: column; gap: 18px; }
.oe-actu-article { display: flex; flex-direction: column; gap: 22px; max-width: 860px; }
.oe-actu-tete { display: flex; flex-direction: column; gap: 12px; }
.oe-actu-date { margin: 0; font-size: 14px; color: var(--oe-discret); }
.oe-actu-date a, .oe-actu-liens a, .oe-actu-nuage a, .oe-actu-astuce a { color: var(--oe-bleu-fonce); }
.oe-actu-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.oe-actu-statut { background: var(--oe-surface-3); color: var(--oe-encre); }
.oe-actu-visuel { margin: 4px 0 0; }
.oe-actu-visuel img { display: block; width: 100%; height: auto; border-radius: var(--oe-rayon); border: 1px solid var(--oe-bord); }
.oe-actu-bloc { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.65; }
.oe-actu-bloc p, .oe-actu-fin p { margin: 0; }
.oe-actu-fin { border-color: var(--oe-bord-3); }
.oe-actu-liens { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.oe-actu-liens a { display: inline-block; min-height: 44px; padding: 10px 0; }
.oe-actu-liens small { color: var(--oe-faible); }
.oe-actu-lire { display: flex; flex-direction: column; gap: 10px; }
.oe-actu-filtres { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.oe-actu-filtres label, .oe-actu-contact label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--oe-texte-2); }
.oe-actu-filtres select, .oe-actu-contact input, .oe-actu-contact textarea { min-height: 44px; max-width: 100%; padding: 8px 10px; border: 1px solid var(--oe-bord-3); border-radius: 10px; background: var(--oe-champ); color: var(--oe-encre); font: inherit; }
.oe-actu-filtres .oe-bouton { min-height: 44px; }
.oe-actu-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.oe-actu-carte-titre { font-size: 15px; line-height: 1.45; color: var(--oe-encre); }
.oe-actu-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.oe-actu-nuage { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.oe-actu-nuage a { display: inline-block; min-height: 44px; padding: 10px 0; }
.oe-actu-contact { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.oe-actu-contact .oe-bouton { align-self: flex-start; min-height: 44px; }
.oe-actu-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oe-actu-astuce { margin-top: 28px; padding: 14px 18px; border: 1px solid var(--oe-bord); border-radius: 12px; }
.oe-actu-astuce ul { margin: 6px 0 0; padding-left: 20px; }
@media (max-width: 760px) {
	.oe-actu-filtres label { flex: 1 1 140px; }
	.oe-actu-filtres select { width: 100%; }
	.oe-actu .oe-chiffres { grid-template-columns: 1fr 1fr; }
}

/* ---------- Actualités de pannes : liste compacte, frise des mois, pastilles, pagination ---------- */
.oe-actu-chiffres small { font-size: 12.5px; font-weight: 500; color: var(--oe-faible); }
.oe-actu-chiffres dd a { color: var(--oe-encre); }
.oe-actu-puces { align-items: center; }
.oe-actu-puces-t { font: 700 12.5px var(--oe-sans); color: var(--oe-faible); text-transform: uppercase; letter-spacing: .06em; }
.oe-actu-recherche { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.oe-actu-recherche .oe-champ { flex: 1 1 220px; max-width: 420px; min-width: 0; }
.oe-actu-mineurs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.oe-actu-etat { margin: 0; }
.oe-actu-etat a { display: inline-block; min-height: 44px; line-height: 44px; }
.oe-frise ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.oe-frise a, .oe-frise-vide { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; min-height: 76px; padding: 6px 2px; border: 1px solid var(--oe-bord-2); border-radius: 10px; background: var(--oe-surface); color: var(--oe-texte) !important; text-decoration: none; font-size: 12.5px; }
.oe-frise a:hover { border-color: var(--oe-bleu); }
.oe-frise a[aria-current] { background: var(--oe-bleu); border-color: var(--oe-bleu); color: #0B1118 !important; }
.oe-frise-vide { opacity: .55; }
.oe-frise-barre { display: flex; align-items: flex-end; width: 100%; height: 26px; padding: 0 30%; box-sizing: border-box; }
.oe-frise-barre i { display: block; width: 100%; min-height: 0; border-radius: 3px 3px 0 0; background: var(--oe-bleu); }
.oe-frise a[aria-current] .oe-frise-barre i { background: #0B1118; }
.oe-frise b { font-weight: 700; }
.oe-frise-n { font: 700 13px var(--oe-mono); }
.oe-mois { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.oe-actu-pages .oe-puce-btn { min-width: 44px; min-height: 44px; justify-content: center; }
.oe-actu-points { color: var(--oe-faible); }
.oe-actu-top { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.oe-actu-top a { display: inline-block; min-height: 32px; line-height: 32px; color: var(--oe-encre); }
.oe-actu-case .oe-lien-fin { display: inline-flex; align-items: center; min-height: 44px; }
.oe-actu-tab-defile { max-width: 100%; overflow-x: auto; border: 1px solid var(--oe-bord-2); border-radius: 14px; background: var(--oe-surface); }
.oe-actu-tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.oe-actu-tab caption { text-align: left; padding: 8px 12px; }
.oe-actu-tab th, .oe-actu-tab td { padding: 6px 10px; text-align: center; border-top: 1px solid var(--oe-bord-2); }
.oe-actu-tab thead th { font-size: 12.5px; font-weight: 600; vertical-align: bottom; min-width: 84px; }
.oe-actu-tab th:first-child { text-align: left; position: sticky; left: 0; background: var(--oe-surface); min-width: 64px; }
.oe-actu-tab a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--oe-encre); font-weight: 700; }
.oe-actu-tab thead a { min-height: 0; font-weight: 600; }
@media (max-width: 760px) {
	.oe-actu-puces { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.oe-actu-puces > * { flex: none; }
	.oe-frise ol { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Page d'une rubrique (/rubrique/{cat}/) ---------- */
.oe-rubp { --oe-ok-fond: #0F3D24; --oe-ok-texte: #86EFAC; --oe-ok-bord: #0CA30C; --oe-pe-fond: #43350B; --oe-pe-texte: #FDE68A; --oe-pa-fond: #4C1519; --oe-pa-texte: #FCA5A5; }
html[data-theme="light"] .oe-rubp { --oe-ok-fond: #DCFCE7; --oe-ok-texte: #14532D; --oe-ok-bord: #16A34A; --oe-pe-fond: #FEF3C7; --oe-pe-texte: #78350F; --oe-pa-fond: #FEE2E2; --oe-pa-texte: #991B1B; }
.oe-rubp .oe-ariane a { display: inline-flex; align-items: center; min-height: 44px; }
.oe-rubp-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.oe-rubp-intro { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.oe-rubp-compteur { flex: none; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 20px; }
.oe-rubp-compteur b { font: 700 44px/1 var(--oe-sans); color: var(--oe-encre); }
.oe-rubp-compteur span { display: flex; flex-direction: column; gap: 2px; font-weight: 700; color: var(--oe-encre); }
.oe-rubp-compteur small { font-size: 13px; font-weight: 500; color: var(--oe-faible); }
.oe-rubp-compteur-inc { border-color: var(--oe-rouge-marque); }
.oe-rubp-ok { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; border: 1px solid var(--oe-ok-bord); border-radius: 14px; background: var(--oe-ok-fond); color: var(--oe-ok-texte); font-size: 16px; font-weight: 700; }
.oe-rubp-ok .oe-pt { background: var(--oe-ok-bord); }
.oe-rubp-bloc { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.oe-rubp-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.oe-rubp-svc { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px; }
.oe-rubp-svc-pannes { grid-column: 1 / -1; }
.oe-rubp-svc-tete { display: flex; align-items: center; gap: 12px; min-width: 0; }
.oe-rubp-nom { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; min-height: 44px; color: var(--oe-encre); font-size: 16px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.oe-rubp-nom:hover { text-decoration: underline; }
.oe-rubp-etat { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.oe-rubp-etat-ok { background: var(--oe-ok-fond); color: var(--oe-ok-texte); }
.oe-rubp-etat-perturbe { background: var(--oe-pe-fond); color: var(--oe-pe-texte); }
.oe-rubp-etat-panne { background: var(--oe-pa-fond); color: var(--oe-pa-texte); }
.oe-rubp-pannes { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.oe-rubp-pannes li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 0; border-top: 1px solid var(--oe-bord-2); font-size: 14px; line-height: 1.5; min-width: 0; }
.oe-rubp-hist { padding: 4px 16px; border: 1px solid var(--oe-bord); border-radius: var(--oe-rayon); background: var(--oe-surface); }
.oe-rubp-hist li:first-child { border-top: 0; }
.oe-rubp-qui { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.oe-rubp-qui a { display: inline-flex; align-items: center; min-height: 44px; color: var(--oe-encre); font-weight: 700; text-decoration: none; }
.oe-rubp-titre { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; color: var(--oe-encre); font-size: 15px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.oe-rubp-titre:hover, .oe-rubp-qui a:hover { text-decoration: underline; }
.oe-rubp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--oe-faible); }
.oe-rubp-actu { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; font-weight: 600; }
.oe-rubp-suite { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.oe-rubp-suite .oe-bouton { min-height: 44px; max-width: 100%; box-sizing: border-box; white-space: normal; text-align: left; }
.oe-rubp-autres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.oe-rubp-autres a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--oe-bord-3); border-radius: 999px; color: var(--oe-texte); font-size: 14px; font-weight: 600; text-decoration: none; }
.oe-rubp-autres a:hover { background: var(--oe-surface-3); }
@media (max-width: 760px) {
	.oe-rubp-tete { align-items: stretch; }
	.oe-rubp-compteur { flex: 1 1 auto; padding: 12px 16px; }
	.oe-rubp-compteur b { font-size: 36px; }
	.oe-rubp-svc { padding: 12px; }
	.oe-rubp-svc-tete { flex-wrap: wrap; }
	.oe-rubp-hist { padding: 2px 12px; }
}

/* ==========================================================================================================
   PAGES DE LECTURE (body.mtp-lecture : astuces, articles, actualités, fiches de pannes, services, pages) :
   fond uni, cartes opaques, texte confortable (17 px, interligne 1,65, colonne ~70 caractères), aucun effet animé sous le texte.
   Les pages radar (body.mtp-radar : accueil, /carte/, /incidents/) gardent leur style (oeil-radar.css).
   Contrastes (texte sur carte) : sombre #E8EDF4 sur #172133 = 13,7:1, secondaire #AEB9C8 = 8,1:1 ;
   clair #1A2230 sur #FFFFFF = 16:1, secondaire #4A5568 = 7,5:1.
   ========================================================================================================== */
html { --mtp-plus: 0px; }
html[data-lecture="grand"] { --mtp-plus: 2px; }

body.mtp-lecture {
	--oe-page: #0F1623;
	--oe-fond: #0F1623;
	--oe-surface: #172133;
	--oe-surface-2: #1C2940;
	--oe-surface-3: #243350;
	--oe-bord: #2C3B54;
	--oe-bord-2: #2C3B54;
	--oe-bord-3: #44587A;
	--oe-encre: #F4F7FB;
	--oe-texte: #E8EDF4;
	--oe-texte-2: #D3DBE6;
	--oe-discret: #AEB9C8;
	--oe-faible: #AEB9C8;
	--oe-champ: #0F1623;
	--oe-lien: #7FE0E6;
	--paper: #172133;
	--paper-2: #1C2940;
	--paper-3: #243350;
	--ink: #F4F7FB;
	--ink-2: #D3DBE6;
	--muted: #AEB9C8;
	--rule: #2C3B54;
	--accent: #7FE0E6;
	--accent-deep: #7FE0E6;
}
html[data-theme="light"] body.mtp-lecture {
	--oe-page: #F7F8FA;
	--oe-fond: #F7F8FA;
	--oe-surface: #FFFFFF;
	--oe-surface-2: #F1F4F8;
	--oe-surface-3: #E4EAF2;
	--oe-bord: #D3DAE5;
	--oe-bord-2: #D3DAE5;
	--oe-bord-3: #9AA7BB;
	--oe-encre: #111826;
	--oe-texte: #1A2230;
	--oe-texte-2: #2D3748;
	--oe-discret: #4A5568;
	--oe-faible: #4A5568;
	--oe-champ: #FFFFFF;
	--oe-lien: #0A5F67;
	--paper: #FFFFFF;
	--paper-2: #F1F4F8;
	--paper-3: #E4EAF2;
	--ink: #111826;
	--ink-2: #2D3748;
	--muted: #4A5568;
	--rule: #D3DAE5;
	--accent: #0A5F67;
	--accent-deep: #0A5F67;
}

/* Aucun flou ni transparence derrière du texte, aucune animation dans le contenu (le bandeau et le fil du haut ne sont pas touchés). */
body.mtp-lecture #contenu, body.mtp-lecture #contenu *, body.mtp-lecture #contenu *::before, body.mtp-lecture #contenu *::after {
	animation: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	text-shadow: none !important;
	background-attachment: scroll;
}
body.mtp-lecture #contenu :is(.oe-carte, .oe-articles-liste a, .card, .tip, .mtp-as-carte, .mtp-as-theme, .mtp-as-cote, .oe-panne, .oe-fiche-tete, .oe-actu-bloc, .oe-etapes li, .oe-selection, .oe-filtres, .oe-compteur, .oe-savoir > div, .oe-chiffres > div, .mtp-statut, .oe-lignes, .oe-rubp-hist, .oe-actu-tab-defile, .oe-bandeau-info) {
	background-image: none;
	background-color: var(--oe-surface);
	border: 1px solid var(--oe-bord);
	box-shadow: none;
	transition: none;
}
body.mtp-lecture #contenu :is(.oe-carte, .oe-articles-liste a, .card, .mtp-as-carte)::after { display: none; }
body.mtp-lecture #contenu :is(.mtp-as-carte, .card, .oe-inc):hover { transform: none; box-shadow: none; border-color: var(--oe-bord-3); }
body.mtp-lecture #contenu :is(.tip)::before { content: none; }

/* Typographie de lecture */
body.mtp-lecture #contenu {
	font-family: var(--oe-sans);
	font-size: calc(17px + var(--mtp-plus));
	line-height: 1.65;
	color: var(--oe-texte);
}
body.mtp-lecture #contenu :is(p, li, dd, dt, td, th, blockquote, figcaption, .prose, .oe-prose, .tip-body, .tip-dek, .mtp-as-intro, .oe-actu-bloc, .mtp-as-carte p, .oe-rubp-pannes li, .oe-ligne-titre) {
	font-family: var(--oe-sans);
	font-size: calc(17px + var(--mtp-plus));
	line-height: 1.65;
}
body.mtp-lecture #contenu :is(.prose, .oe-prose, .entry-content, .tip-body, .tip-dek, .mtp-as-intro, .oe-actu-bloc, .oe-actu-liens) { max-width: 70ch; }
body.mtp-lecture #contenu :is(.prose, .oe-prose, .entry-content, .tip-body, .oe-actu-bloc) :is(p, ul, ol, blockquote) { max-width: 70ch; }
body.mtp-lecture #contenu :is(p, li) { color: var(--oe-texte); }
body.mtp-lecture #contenu :is(small, .oe-mini, .mtp-statut-maj, .oe-rubp-meta, .oe-ligne-date, .oe-ligne-duree, .oe-ligne-theme, .pill, .mtp-as-nb, .mtp-as-fam, .mtp-as-compte, .mtp-as-barre-lib, .tip-foot, .meta, .byline, time, .oe-source-txt) {
	color: var(--oe-discret);
	font-size: calc(14px + var(--mtp-plus));
	line-height: 1.5;
}
body.mtp-lecture #contenu :is(.oe-source-txt) { font-style: normal; }
body.mtp-lecture #contenu :is(p, li, .prose, .oe-prose, .oe-actu-bloc) a:not(.btn):not(.oe-bouton) { color: var(--oe-lien); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.mtp-lecture #contenu :is(p, li, .prose, .oe-prose, .oe-actu-bloc) a:not(.btn):not(.oe-bouton):hover { text-decoration-thickness: 2px; }
body.mtp-lecture #contenu a:not(.btn):not(.oe-bouton):hover { text-decoration: underline; }
body.mtp-lecture #contenu :is(.mtp-as-tout, .mtp-as-theme-nb, .mtp-as-surtitre) { color: var(--oe-lien) !important; }

/* Titres : sans-serif semi-gras partout ; le serif reste sur le grand titre H1 seulement. */
body.mtp-lecture #contenu :is(h2, h3, h4, h5, h6, .oe-h2, .tip-more-title, .mtp-as-carte-titre, .mtp-as-theme-titre, .mtp-as-section-tete h2, .mtp-as-famille, .mtp-as-cote-titre, .section-head, .related h2, .share-title, .facts strong, .shortcuts dt b, .mostread a, .feature li b, .nl-soon-title, .oe-rubp-nom, .oe-rubp-titre) {
	font-family: var(--oe-sans);
	font-style: normal;
	font-weight: 600;
	font-variation-settings: normal;
	letter-spacing: 0;
	color: var(--oe-encre);
}
body.mtp-lecture #contenu :is(h2, .mtp-as-section-tete h2, .mtp-as-famille) { font-size: calc(24px + var(--mtp-plus)); line-height: 1.3; }
body.mtp-lecture #contenu :is(h3, .mtp-as-theme-titre, .tip-more-title) { font-size: calc(20px + var(--mtp-plus)); line-height: 1.35; }
body.mtp-lecture #contenu :is(.mtp-as-carte-titre) { font-size: calc(18px + var(--mtp-plus)); line-height: 1.4; }
body.mtp-lecture #contenu :is(h4, h5, h6) { font-size: calc(17px + var(--mtp-plus)); line-height: 1.4; }
body.mtp-lecture #contenu .prose :is(h2, h3, h4) { margin-top: 1.6em; margin-bottom: .5em; }
body.mtp-lecture #contenu .prose blockquote, body.mtp-lecture #contenu blockquote { font-family: var(--oe-sans); font-style: normal; font-size: calc(17px + var(--mtp-plus)); }
body.mtp-lecture #contenu .mostread li::before { font-family: var(--oe-sans); font-style: normal; }
body.mtp-lecture #contenu .article .prose > p:first-of-type::first-letter, body.mtp-lecture #contenu .hero .dek::first-letter { float: none; font-family: var(--oe-sans); font-size: inherit; line-height: inherit; padding: 0; color: inherit; }
/* H1 : seul endroit où le serif reste. */
body.mtp-lecture #contenu h1 { font-family: var(--serif, "Fraunces", Georgia, serif); line-height: 1.2; color: var(--oe-encre); }

/* Listes : plus d'air entre les éléments et séparateurs clairs. */
body.mtp-lecture #contenu :is(.prose, .oe-prose, .tip-body, .oe-actu-bloc) li { margin: 0 0 11px; }
body.mtp-lecture #contenu :is(.mtp-as-theme-liens, .mtp-as-derniers, .oe-rubp-pannes, .oe-actu-top) { gap: 0; }
body.mtp-lecture #contenu :is(.mtp-as-theme-liens, .mtp-as-derniers) li { padding: 6px 0; }
body.mtp-lecture #contenu :is(.mtp-as-theme-liens, .mtp-as-derniers, .oe-lignes) li + li { border-top: 1px solid var(--oe-bord-3); }
body.mtp-lecture #contenu :is(.mtp-as-cartes, .mtp-as-themes) { gap: 16px; }
body.mtp-lecture #contenu :is(.mtp-as-carte, .mtp-as-theme) { padding: 18px; gap: 10px; }
body.mtp-lecture #contenu hr { border: 0; border-top: 1px solid var(--oe-bord-3); margin: 1.8em 0; }
body.mtp-lecture #contenu .prose :is(p, ul, ol) { margin-top: 0; margin-bottom: 1.1em; }

/* Défilement du fil d'incidents du haut : en pause au survol et au clavier (déjà), arrêt si mouvement réduit (déjà). */
body.mtp-lecture .oe-fil:hover .oe-fil-piste, body.mtp-lecture .oe-fil:focus-within .oe-fil-piste { animation-play-state: paused; }

@media (max-width: 760px) {
	body.mtp-lecture #contenu, body.mtp-lecture #contenu :is(p, li, dd, dt, td, th, blockquote, figcaption, .prose, .oe-prose, .tip-body, .tip-dek, .mtp-as-intro, .oe-actu-bloc, .mtp-as-carte p, .oe-rubp-pannes li, .oe-ligne-titre) { font-size: calc(16px + var(--mtp-plus)); }
	body.mtp-lecture #contenu :is(h2, .mtp-as-section-tete h2, .mtp-as-famille) { font-size: calc(22px + var(--mtp-plus)); }
	body.mtp-lecture #contenu :is(h3, .mtp-as-theme-titre, .tip-more-title) { font-size: calc(19px + var(--mtp-plus)); }
	body.mtp-lecture #contenu :is(.mtp-as-carte-titre) { font-size: calc(17px + var(--mtp-plus)); }
	body.mtp-lecture #contenu :is(h4, h5, h6) { font-size: calc(16px + var(--mtp-plus)); }
}

/* Fiche d'incident : notre explication et la citation unique de la source. Bloc de lecture, sans effet au survol. */
.oe-explication { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.oe-explication:hover { transform: none; }
.oe-explication h3 { margin: 10px 0 0; font-size: 18px; line-height: 1.35; color: var(--oe-encre); }
.oe-explication p, .oe-explication li { margin: 0; max-width: 820px; font-size: 16.5px; line-height: 1.7; }
.oe-explication ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.oe-citation { margin: 0; padding: 12px 16px; border-left: 4px solid var(--oe-bord-2); background: var(--oe-surface); border-radius: 0 12px 12px 0; }
.oe-citation blockquote { margin: 0; }
.oe-citation blockquote p { margin: 0; font-style: italic; overflow-wrap: anywhere; }
.oe-citation figcaption { margin-top: 6px; font-size: 14px; color: var(--oe-discret); }
#pub-article .ad-leader { margin: clamp(18px, 3vw, 28px) auto clamp(26px, 4vw, 40px); }
