/* Mining View · mise en page (charte AGL : couleurs uniquement par var(--…), clair par défaut). 21/10/2026 */
* { box-sizing: border-box; }
body { font-size: 14px; min-height: 100vh; }
a { color: var(--acc); }
button, input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.petit { font-size: 12px; color: var(--mut); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 8px 16px;
  background: color-mix(in srgb, var(--panel) 70%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.entete img { height: 38px; }
.entete .nom-app { font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: 12px; }
.entete .espace { flex: 1; }
.btn-ico { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; cursor: pointer; }

/* Coquille : menu latéral + contenu */
.coquille { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 56px); }
nav.menu { background: var(--panel); border-right: 1px solid var(--line); padding: 12px 8px; }
nav.menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink);
  text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: .6px; }
nav.menu a:hover { background: var(--hl); }
nav.menu a.actif { background: var(--hl); color: var(--acc); font-weight: 700; box-shadow: inset 3px 0 0 var(--acc); }
#bouton-menu { display: none; }
main { padding: 20px 24px 40px; min-width: 0; }
@media (max-width: 760px) {
  .coquille { grid-template-columns: 1fr; }
  #bouton-menu { display: inline-block; }
  nav.menu { display: none; position: fixed; inset: 56px 0 auto 0; z-index: 15; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.menu.ouvert { display: block; }
  main { padding: 16px; }
}

/* Titre de vue */
.surtitre { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--acc); }
h1 { margin: 4px 0 0; font-size: 24px; }
h1 em { font-style: normal; color: var(--acc); }
h2 { font-size: 16px; margin: 0 0 12px; }
.tete { margin-bottom: 20px; }

/* Cartes et KPI (toute carte est un lien : tout clic mène en profondeur) */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
a.kpi { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow); min-height: 44px; }
a.kpi:hover { border-color: var(--acc); }
.kpi .lib { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.kpi .val { font-size: 28px; font-weight: 700; color: var(--acc); font-variant-numeric: tabular-nums; }
.kpi.bad .val { color: var(--bad); } .kpi.warn .val { color: var(--warn); } .kpi.ok .val { color: var(--ok); }

/* Tableaux */
.table-boite { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; min-height: 44px; text-align: left; border-bottom: 1px solid var(--line); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.clic { cursor: pointer; } tr.clic:hover td { background: var(--hl); }
.filtres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filtres input, .filtres select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.filtres input[type=search] { flex: 1; min-width: 180px; }

/* Badges, bandeaux, boutons */
.badge { display: inline-block; border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 9px; font-weight: 700; font-size: 12px; }
.badge.ok { color: var(--ok); } .badge.warn { color: var(--warn); } .badge.bad { color: var(--bad); } .badge.info { color: var(--info); }
.bandeau { padding: 10px 14px; border-radius: 8px; border: 1px solid; margin-bottom: 12px; }
.b-ok { border-color: var(--ok); color: var(--ok); } .b-warn { border-color: var(--warn); color: var(--warn); } .b-bad { border-color: var(--bad); color: var(--bad); }
.btn { min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--btn); background: var(--btn); color: var(--btn-ink);
  font-weight: 700; cursor: pointer; }
.btn.sec { background: transparent; color: var(--acc); border-color: var(--acc); }
.btn:disabled { opacity: .5; cursor: default; }
label.champ { display: block; margin-bottom: 12px; font-weight: 700; font-size: 12px; }
label.champ input, label.champ select { display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-weight: 400; font-size: 14px; }

/* Toast */
#toast { position: fixed; right: 16px; bottom: 16px; z-index: 50; max-width: min(420px, calc(100vw - 32px)); }
#toast div { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--acc); border-radius: 8px; padding: 10px 14px;
  margin-top: 8px; box-shadow: var(--shadow); }
#toast div.err { border-left-color: var(--bad); }

/* Page de connexion */
.page-publique { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.boite { width: min(420px, 100%); }
.boite img.logo { height: 44px; margin-bottom: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .apparait { animation: apparait .35s ease-out both; }
  @keyframes apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* 21/10/2026 contrôle UX L0 : rien ne déborde à 360 px ; en-têtes 12 px ; cibles 44 px */
th { font-size: 12px; }
details.pli > summary { min-height: 44px; }
.liens-publics a { display: inline-flex; align-items: center; min-height: 44px; }
body { overflow-x: hidden; }
@media (max-width: 480px) {
  .entete { gap: 6px; padding: 6px 10px; }
  .entete .nom-app, #qui { display: none; }
  .entete img { height: 30px; }
}
@media (max-width: 760px) {
  table.cartes thead { display: none; }
  table.cartes tr { display: block; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; padding: 6px 0; }
  table.cartes td { display: block; border: 0; padding: 4px 12px; }
}

/* Tableau de bord (lot L3) : cartes 3 × 2, deux graphiques côte à côte, barres et anneau */
@media (min-width: 900px) { .kpis-3 { grid-template-columns: repeat(3, 1fr); } }
.grille-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.graphe { display: grid; gap: 6px; }
a.barre { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: 8px; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none; }
a.barre:hover .barre-lib { color: var(--acc); text-decoration: underline; }
.barre-fond { background: var(--chip); border-radius: 6px; height: 14px; overflow: hidden; }
.barre-remplie { display: block; height: 100%; border-radius: 6px; transition: width .8s ease-out; }
.barre-val { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 36px; text-align: right; }
.barre-lib { font-size: 12px; }
.anneau { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.legende { display: grid; gap: 4px; }
.legende a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--ink); }
.pastille { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
@media (prefers-reduced-motion: reduce) { .barre-remplie, circle { transition: none !important; } }

details.pli.card { padding: 4px 16px; margin-bottom: 8px; }
details.pli.card[open] { padding-bottom: 12px; }
@media (max-width: 760px) {
  table.cartes tr[hidden] { display: none; }
  table.cartes td[data-lib]::before { content: attr(data-lib) " : "; font-weight: 700; font-size: 12px; }
  table.cartes td.num { text-align: left; }
}
@media (max-width: 760px) { table.cartes td { min-height: 0; } }

/* Frise d'étapes (fiche dossier, lot L4) : pastilles 34 px, étape atteinte pleine accent, défile sur mobile */
.frise-boite { overflow-x: auto; }
ol.frise { display: flex; gap: 0; list-style: none; padding: 0; margin: 8px 0; min-width: 640px; }
ol.frise li { flex: 1; display: grid; justify-items: center; gap: 4px; text-align: center; position: relative; font-size: 12px; }
ol.frise li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
ol.frise li:first-of-type::before { display: none; }
ol.frise li.fait::before { background: var(--acc); }
ol.frise .point { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  border: 2px solid var(--line); background: var(--panel); font-weight: 700; }
ol.frise li.fait .point { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
ol.frise li.courant .point { border-color: var(--acc); color: var(--acc); }
textarea { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 8px; font: inherit; color: var(--ink); }

/* 22/10/2026 · Speed review : SVG, jauges, constats, frises animées (inspiration Translead 57-speed-review) */
.mv-svg { width: 100%; height: auto; display: block; overflow: visible; }
.mv-svg text { fill: var(--ink); font-size: 12px; font-family: var(--font); }
.mv-svg .mv-zone { fill: var(--hl); fill-opacity: 0; cursor: pointer; }
.mv-svg .mv-zone:hover, .mv-svg .mv-zone:focus { fill-opacity: .45; outline: none; }
.mv-jauge-val { font-size: 22px !important; font-weight: 700; fill: var(--ink); }
.mv-jauge-boite { display: grid; justify-items: center; gap: 2px; text-align: center; color: var(--ink); text-decoration: none; }
.mv-jauge { max-width: 190px; }
.mv-jauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.mv-bulle { position: absolute; pointer-events: none; background: var(--panel); color: var(--ink); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 9px; font-size: 12px; box-shadow: var(--shadow); white-space: nowrap; z-index: 5; transform: translate(-50%, -112%); }
.mv-mini { display: flex; flex-direction: column; gap: 10px; }
.mv-duo { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.mv-duo div { display: flex; flex-direction: column; }
.mv-duo strong { font-size: 24px; line-height: 1.1; color: var(--acc); font-variant-numeric: tabular-nums; }
.mv-duo span { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.mv-constat { font-size: 13px; line-height: 1.45; background: var(--panel2); border-left: 3px solid var(--c); border-radius: 6px; padding: 8px 10px; }
.mv-constats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 4px 0 16px; }
.mv-insight { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow); }
.mv-insight b { display: block; font-size: 14px; margin-bottom: 3px; }
.mv-insight span { font-size: 13px; line-height: 1.4; }
.mv-etiq { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.mv-etiq i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.carte-analyse h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.carte-analyse h2 small { font-size: 12px; font-weight: 400; }
.grille-analyses { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 16px; }
.grille-analyses .card { margin-bottom: 0; }
.mv-anim .mv-etire, .mv-anim.mv-etire { transform-box: fill-box; transform-origin: left; animation: mv-etire .7s cubic-bezier(.2,.8,.2,1) both; }
.mv-anim .mv-pousse { transform-box: fill-box; transform-origin: bottom; animation: mv-pousse .6s cubic-bezier(.2,.8,.2,1) both; }
.mv-anim .mv-trace { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: mv-trace 1.3s ease forwards; }
.mv-anim .mv-arc { animation: mv-apparait .6s ease both; }
.mv-jauge-arc.mv-anim { animation: mv-jauge 1.1s cubic-bezier(.2,.8,.2,1) both; }
.mv-anim .mv-insight { animation: mv-apparait .45s ease both; }
@keyframes mv-etire { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mv-pousse { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mv-trace { to { stroke-dashoffset: 0; } }
@keyframes mv-jauge { from { stroke-dasharray: 0 1000; } }
@keyframes mv-apparait { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.barre-remplie { display: block; }
/* Frises animées : pastilles remplies une à une, trait qui progresse */
ol.frise .frise-trait { display: none; }
ol.frise.mv-anim li.fait .point { animation: mv-remplit .35s ease both; animation-delay: calc(var(--i) * 160ms); }
ol.frise.mv-anim li.fait::before { transform-origin: left; animation: mv-etire .35s ease both; animation-delay: calc(var(--i) * 160ms - 80ms); }
ol.frise.mv-anim li.courant .point { animation: mv-pulse 1.6s ease-in-out 3; animation-delay: calc(var(--i) * 160ms); }
@keyframes mv-remplit { from { background: var(--panel); color: var(--ink); transform: scale(.7); } to { transform: scale(1); } }
@keyframes mv-pulse { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 6px var(--hl); } }
ol.frise.mini { min-width: 0; margin: 6px 0 0; }
ol.frise.mini .point { width: 20px; height: 20px; font-size: 10px; border-width: 2px; }
ol.frise.mini li::before { top: 10px; }
/* Liste des dossiers en cartes */
.dossiers-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.carte-dossier { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--c, var(--acc)); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.carte-dossier .entete-carte { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.carte-dossier .ref { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.carte-dossier .ref:hover { color: var(--acc); }
.carte-dossier .meta { font-size: 12px; }
.carte-dossier .pied { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; align-items: center; }
.compte-a-rebours { display: grid; gap: 3px; font-size: 12px; }
.compte-a-rebours .rail { height: 6px; background: var(--chip); border-radius: 4px; overflow: hidden; }
.compte-a-rebours .rail span { display: block; height: 100%; border-radius: 4px; }
.puces { display: flex; gap: 6px; flex-wrap: wrap; }
.puce { border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: 12px; background: var(--panel2); }
.puce.bad { border-color: var(--bad); color: var(--bad); } .puce.warn { border-color: var(--warn); color: var(--warn); }
@media (prefers-reduced-motion: reduce) { .mv-anim *, .mv-anim { animation: none !important; } }
.anneau svg.mv-svg { width: 140px; height: 140px; flex: none; }
.mv-jauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mv-jauges .mv-jauge { max-width: 150px; }
.carte-analyse .grille-2 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* 22/10/2026 · navigation en profondeur, filtres, exports, impression */
nav.ariane { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; margin-bottom: 6px; }
nav.ariane a { color: var(--acc); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
nav.ariane a:hover { text-decoration: underline; }
nav.ariane [aria-current] { font-weight: 700; }
.barre-titre { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.actions-export { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.panneau-filtres { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 10px 0; }
.panneau-filtres label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
.panneau-filtres select, .panneau-filtres input { min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-weight: 400; }
.puces-actives { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.puces-actives button { border: 1px solid var(--acc); color: var(--acc); background: var(--panel); border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; min-height: 32px; }
.flux-vertical { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.flux-vertical li { position: relative; padding: 4px 0 12px 18px; }
.flux-vertical li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); }
.flux-vertical li.prevu::before { background: var(--panel); border: 2px solid var(--acc); }
.flux-vertical li.abidjan::before { background: var(--ok); }
.mv-anim .flux-vertical li, .flux-vertical.mv-anim li { animation: mv-apparait .35s ease both; animation-delay: calc(var(--i) * 60ms); }
.nav-tc { display: flex; gap: 6px; flex-wrap: wrap; }
@media print {
  .entete, nav.menu, .actions-export, .filtres, .puces, .puces-actives, details.pli > summary::before, button, #toast { display: none !important; }
  .coquille { display: block; } main { padding: 0; }
  details.pli { display: block; } details.pli > * { display: block !important; }
  .card, .carte-dossier, a.kpi { box-shadow: none; break-inside: avoid; }
  body { background: var(--panel); }
}

/* 22/10/2026 · Control tower par client (inspirée de Control Tower Afrique) */
.tour-entete { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 16px; }
.monogramme { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; font-weight: 800;
  background: var(--agl-marine); color: var(--btn-ink); letter-spacing: 1px; }
:root[data-theme="dark"] .monogramme { background: var(--acc); color: var(--acc-ink); }
.tour-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.tour-actions select { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 0 10px; }
.tour-actions .actions-export { margin: 0; }
@media (min-width: 1100px) { .tuiles-tour { grid-template-columns: repeat(5, 1fr); } }
.kpi.tuile { border-left: 4px solid var(--acc); }
.kpi.tuile.bad { border-left-color: var(--bad); } .kpi.tuile.ok { border-left-color: var(--ok); }
.delta { display: block; font-size: 12px; font-weight: 700; margin-top: 4px; }
.delta.ok { color: var(--ok); } .delta.bad { color: var(--bad); }
.chaine-boite { overflow-x: auto; }
svg.chaine { width: 100%; min-width: 720px; height: auto; display: block; }
svg.chaine .maillon { cursor: pointer; }
svg.chaine .maillon:hover, svg.chaine .maillon:focus { outline: none; filter: drop-shadow(0 4px 8px rgba(10, 34, 64, .25)); }
.liste-exc { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.liste-exc li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.liste-exc a { color: var(--ink); text-decoration: none; } .liste-exc a:hover strong { color: var(--acc); }
@media (prefers-reduced-motion: no-preference) {
  .il-navire { animation: il-houle 3s ease-in-out infinite; } .il-camion { animation: il-roule 2.4s ease-in-out infinite; }
  .il-flux { animation: il-defile 1.4s linear infinite; } .il-route { animation: il-defile 1s linear infinite; }
  @keyframes il-houle { 50% { transform: translateY(4px); } } @keyframes il-roule { 50% { transform: translateX(6px); } }
  @keyframes il-defile { to { stroke-dashoffset: -24; } }
}
@media (max-width: 760px) { .tour-entete { grid-template-columns: auto 1fr; } .tour-actions { grid-column: 1 / -1; } }
:root { --sur-marine: #ffffff; }
/* Menu par sections avec icônes */
.menu-section { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 700; color: var(--acc); padding: 14px 12px 4px; }
.menu-sep { border-top: 1px solid var(--line); margin: 10px 8px; }
nav.menu a { gap: 10px; }
nav.menu .ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* SVG : conteneur dessiné, icônes de mode, chaîne avec maillon actif */
.tc-visuel { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.dessin-tc { flex: 0 0 240px; max-width: 100%; }
.dessin-tc svg { width: 100%; height: auto; display: block; }
.ico-mode { width: 18px; height: 18px; fill: var(--acc); vertical-align: -3px; }
.avec-actif svg.chaine .maillon.eteint { opacity: .3; }
.avec-actif svg.chaine .maillon { cursor: default; }
@media (prefers-reduced-motion: no-preference) { .avec-actif svg.chaine .maillon.actif { animation: il-pulse 1.6s ease-in-out infinite; } @keyframes il-pulse { 50% { opacity: .75; } } }
div.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); color: var(--ink); }
.kpi.tuile { border-left-width: 4px; }
/* Pastille de fraîcheur Kènè (en-tête) */
a.fraicheur { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid currentColor;
  font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
a.fraicheur::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
a.fraicheur.ok { color: var(--ok); } a.fraicheur.warn { color: var(--warn); } a.fraicheur.bad { color: var(--bad); }
@media (prefers-reduced-motion: no-preference) { a.fraicheur.ok::before { animation: il-pulse 2s ease-in-out infinite; } }
@media (max-width: 480px) { a.fraicheur { padding: 0 8px; } }

/* Frises : icône SVG par étape (22/10/2026) */
ol.frise .point { position: relative; width: 40px; height: 40px; color: var(--mut); }
ol.frise li.fait .point { color: var(--acc-ink); }
ol.frise li.courant .point { color: var(--acc); }
ol.frise li::before { top: 20px; }
.ico-etape { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
ol.frise .coche { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; background: var(--ok); color: var(--sur-marine); border: 2px solid var(--panel); }
ol.frise.mini .point { width: 26px; height: 26px; }
ol.frise.mini li::before { top: 13px; }
ol.frise.mini .ico-etape { width: 14px; height: 14px; }
ol.frise.mini .coche { display: none; }
a.fraicheur[hidden] { display: none; }
ol.frise:not(.mini) .point { width: 44px; height: 44px; }
ol.frise:not(.mini) li::before { top: 22px; }
ol.frise:not(.mini) .ico-etape { width: 22px; height: 22px; }

/* Frises : délai entre étapes, conteneurs passés (22/10/2026) */
ol.frise:not(.mini) { padding-top: 22px; }
ol.frise .delai { position: absolute; top: -2px; left: 0; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--acc);
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; white-space: nowrap; z-index: 2; }
ol.frise .delai.negatif { color: var(--mut); }
ol.frise .compte-tc { font-size: 12px; border-radius: 999px; padding: 0 8px; border: 1px solid var(--line); background: var(--panel2); }
ol.frise .compte-tc.complet { color: var(--ok); border-color: var(--ok); }
ol.frise li.partiel .point { background: linear-gradient(90deg, var(--acc) 50%, var(--panel) 50%); border-color: var(--acc); color: var(--ink); }
ol.frise li.partiel::before { background: var(--acc); opacity: .5; }

/* Barre de période globale (ATA) */
.colonne { min-width: 0; }
.barre-periode { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 24px; background: var(--panel);
  border-bottom: 1px solid var(--line); position: sticky; top: 56px; z-index: 10; }
.barre-periode[hidden] { display: none; }
.lib-periode { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--acc); }
.segments { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex-wrap: wrap; }
.segments button { border: 0; background: var(--panel); color: var(--ink); padding: 0 14px; min-height: 36px; font: inherit; font-size: 13px; cursor: pointer; }
.segments button + button { border-left: 1px solid var(--line); }
.segments button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); font-weight: 700; }
.dates-periode { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.dates-periode input { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; background: var(--panel); }
@media (max-width: 760px) { .barre-periode { padding: 8px 16px; top: 52px; } }

/* ETA par source (page TC) */
.bloc-eta { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 20px; border-left: 4px solid var(--acc); }
.bloc-eta.renforce { border-left-color: var(--warn); }
.eta-principale .lib { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.eta-date { font-size: 32px; font-weight: 800; color: var(--acc); line-height: 1.2; }
.eta-sources ul { margin: 6px 0; padding-left: 18px; }
.eta-sources li.retenue strong { color: var(--acc); }
@media (max-width: 760px) { .bloc-eta { grid-template-columns: 1fr; } }
/* 22/10/2026 : pas de débordement des tableaux dans les cartes d'analyse */
.grille-analyses > .card { min-width: 0; overflow: hidden; }
table.compact th, table.compact td { padding: 8px; }
.badge { white-space: nowrap; }
.badge-mini { font-size: 12px; padding: 0 7px; margin-top: 4px; }
/* Logos des lignes maritimes (repris de Kènè) */
.lg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; vertical-align: middle; }
.lg-logo { display: inline-grid; place-items: center; height: 20px; min-width: 24px; max-width: 64px; padding: 1px 4px; border-radius: 4px;
  background: #ffffff; box-shadow: inset 0 0 0 1px var(--line); flex: none; font-style: normal; }
.lg-logo img { display: block; height: 15px; width: auto; max-width: 56px; object-fit: contain; }
.lg-ico { display: inline-grid; place-items: center; min-width: 30px; height: 18px; padding: 0 4px; border-radius: 4px; font: 700 12px/1 Arial, sans-serif; font-style: normal; flex: none; }
h2 .lg { font-size: 13px; font-weight: 400; }
.logo-mv-app { height: 34px !important; }
nav.menu { display: flex; flex-direction: column; }
.menu-kene { margin-top: auto; display: flex; gap: 8px; align-items: center; padding: 16px 12px 8px; font-size: 12px; border-top: 1px solid var(--line); }
.menu-kene img { height: 26px; width: auto; }
@media (max-width: 760px) { nav.menu { display: none; } nav.menu.ouvert { display: flex; } }
ul.verif { margin: 4px 0 12px; padding-left: 18px; } ul.verif li.bad strong { color: var(--bad); } ul.verif li.warn strong { color: var(--warn); } ul.verif li.ok strong { color: var(--ok); }
