/* PC Keneo : ecran de salle sur grand ecran, outil de poche sur telephone. */
@font-face { font-family: "Catamaran"; src: url("/static/catamaran-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --fond: #fff; --plan: #fff; --carte: #fff; --trait: #e3e4ec; --texte: #111644; --muet: #66677b; --nuit: #111644; --creux: #f5f6fa; --r: 8px;
  --rouge: #d5303a; --orange: #f08c00; --vert: #60ffc7; --blanc: #fff; --bleu: #111644; --gris: #c9cbd8; --jaune: #f5c518; --menthe: #60ffc7;
  --haut: env(safe-area-inset-top, 0px); --bas: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--fond); color: var(--texte); }
body { font: 16px/1.4 "Catamaran", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: flex; flex-direction: column; height: 100dvh;
  -webkit-text-size-adjust: 100%; touch-action: manipulation; }
button, input { font: inherit; color: inherit; } button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
.bandeau-test { flex: none; background: var(--jaune); color: #1a1500; font-size: 11px; font-weight: 700; text-align: center;
  padding: calc(var(--haut) + 3px) 10px 3px; line-height: 1.25; }
.barre { flex: none; display: flex; align-items: center; gap: 14px; padding: 8px 14px; background: var(--nuit); color: #fff; border-bottom: 0; }
.barre .jours button, .barre .compteurs button, .barre .horloge { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.barre .marque small { color: rgba(255, 255, 255, .65); }
.barre .jours button.actif { background: var(--menthe); color: var(--nuit); border-color: var(--menthe); }
.barre .compteurs button.actif { outline: 2px solid var(--menthe); }
.barre .horloge small { color: rgba(255, 255, 255, .65); }
.c-rouge > .symb, .c-bleu > .symb, .symb.c-rouge, .symb.c-bleu { color: #fff; } .c-blanc > .symb, .symb.c-blanc { box-shadow: inset 0 0 0 1.5px #9a9bac; }
.bandeau-test { background: var(--nuit) !important; color: rgba(255, 255, 255, .55) !important; font-weight: 500 !important; letter-spacing: .04em; }
.marque { display: flex; align-items: center; gap: 10px; flex: none; } .marque img { border-radius: 8px; display: block; }
.marque b { display: block; font-size: 19px; letter-spacing: .02em; line-height: 1.1; } .marque small { color: var(--muet); font-size: 12px; }
.jours, .compteurs { display: flex; gap: 6px; flex-wrap: wrap; }
.compteurs { flex: 1; justify-content: center; }
.jours button, .compteurs button, .reglages button, .bouton { min-height: 40px; padding: 0 12px; border-radius: 8px; background: var(--carte);
  border: 1px solid var(--trait); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.jours button.actif { background: var(--texte); color: var(--fond); border-color: var(--texte); }
.jours button small { opacity: .7; font-weight: 500; }
.compteurs button b { font-size: 17px; font-variant-numeric: tabular-nums; }
.compteurs button.actif { outline: 2px solid var(--texte); }
.compteurs button.vide { opacity: .45; }
.symb { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #111644; font-weight: 900; font-size: 13px; flex: none; }
.c-rouge { --c: var(--rouge); } .c-orange { --c: var(--orange); } .c-vert { --c: var(--vert); } .c-blanc { --c: var(--blanc); }
.c-bleu { --c: var(--bleu); } .c-gris { --c: var(--gris); }
.horloge { flex: none; text-align: right; padding: 2px 10px; border-radius: 8px; border: 1px solid var(--trait); background: var(--carte); min-height: 44px; }
.horloge b { display: block; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; } .horloge small { color: var(--muet); font-size: 11.5px; }
.reglages { flex: none; background: var(--creux); border-bottom: 1px solid var(--trait); padding: 8px 14px; display: flex; flex-direction: column; gap: 8px; }
.reglages[hidden] { display: none; }
.reglages-ligne { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reglages-ligne[hidden] { display: none; }
.etiquette { color: var(--muet); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.reglages input[type=range] { flex: 1; min-width: 140px; accent-color: var(--menthe); height: 40px; }
.reglages select { min-height: 40px; border-radius: 8px; border: 1px solid var(--trait); background: var(--carte); color: var(--texte); padding: 0 8px; font-size: 16px; }
.reglages input[type=text] { min-height: 40px; border-radius: 8px; border: 1px solid var(--trait); background: var(--carte); padding: 0 10px; width: 150px; font-size: 16px; }

.plan { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 470px; }
.zone-carte { position: relative; min-width: 0; min-height: 0; padding: 8px; }
#carte { width: 100%; height: 100%; display: block; }
.dep { fill: #eceef5; stroke: #fff; stroke-width: 1.2; }
.encarts { position: absolute; left: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 8px; width: 250px; pointer-events: none; }
.encarts > * { pointer-events: auto; }
.encart, .legende { background: rgba(255, 255, 255, .95); border: 1px solid var(--trait); border-radius: 8px; padding: 8px; }
.encart[hidden] { display: none; }
.encart-titre { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muet); margin-bottom: 4px; }
#carte-idf { width: 100%; display: block; }
.legende { font-size: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.legende > span { display: flex; align-items: center; gap: 6px; } .legende .symb { width: 18px; min-width: 18px; height: 18px; font-size: 11px; }
.legende .note { grid-column: 1 / -1; color: var(--muet); }
.om { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 4px; border-radius: 8px; font-size: 13px; }
.past { cursor: pointer; } .past text { font-weight: 900; font-size: 13px; text-anchor: middle; dominant-baseline: central; fill: #111644; pointer-events: none; }
.past .seg { fill: none; stroke-width: 4; } .past .seg.vide { stroke: #cfd1de; } .past .seg.plein { stroke: var(--nuit); } .past.c-rouge text, .past.c-bleu text { fill: #fff; }
.past .nom { fill: var(--texte); font-size: 13px; font-weight: 700; text-anchor: start; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.rappel { stroke: #9a9bac; stroke-width: 1; stroke-dasharray: 3 3; }
.past.estompe { opacity: .22; }

.panneau { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--trait); background: var(--plan); }
.onglets-panneau { flex: none; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--trait); }
.onglets-panneau button { min-height: 46px; font-weight: 700; color: var(--muet); border-bottom: 3px solid transparent; }
.onglets-panneau button.actif { color: var(--texte); border-bottom-color: var(--menthe); }
.liste { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 8px 10px 20px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.plan[data-vue=fil] #liste, .plan:not([data-vue=fil]) #fil { display: none; }
.groupe { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muet); margin: 12px 4px 6px; display: flex; justify-content: space-between; }
.item { display: grid; grid-template-columns: 34px minmax(0, 1fr); background: var(--carte); border-radius: 8px; margin-bottom: 8px; overflow: hidden; border: 1px solid var(--trait); }
.item .rang { background: var(--creux); color: var(--nuit); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 900; font-size: 18px; }
.item .rang small { font-size: 13px; }
.item.c-rouge .rang { background: var(--c); color: #fff; } .item.c-orange .rang { background: var(--c); color: var(--nuit); }
.item.c-vert .rang span, .item.c-bleu .rang span, .item.c-blanc .rang span, .item.c-gris .rang span { width: 24px; height: 24px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-size: 13px; }
.item.c-bleu .rang span { color: #fff; } .item.c-blanc .rang span { box-shadow: inset 0 0 0 1.5px #9a9bac; }
.jour-frise { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--texte); background: var(--creux); border-radius: 8px; padding: 5px 9px; margin: 8px 0 2px; }
.avance { font-size: 12px; color: var(--muet); font-variant-numeric: tabular-nums; }
.item .cont { padding: 9px 10px; min-width: 0; cursor: pointer; }
.item .l1 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.item .l1 b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .ko { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.item .l2 { color: var(--muet); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .phrase { margin: 5px 0 7px; font-size: 14px; }
.item.c-rouge .phrase, .item.c-orange .phrase { font-weight: 600; }
.item .bas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.segs { display: inline-flex; gap: 3px; } .segs i { width: 12px; height: 6px; border-radius: 3px; background: #dcdee8; } .segs i.f { background: var(--nuit); }
.puce { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 8px; background: var(--creux); white-space: nowrap; }
.puce.alerte { background: transparent; box-shadow: inset 0 0 0 1px #b86a00; color: #b86a00; } .puce.ok { background: var(--creux); }
.item .actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.act { min-height: 44px; padding: 0 14px; border-radius: 8px; font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  background: var(--creux); color: var(--texte); }
.act:active { filter: brightness(1.25); transform: scale(.97); }
.act.appel { background: transparent; color: var(--texte); border: 1.5px solid var(--texte); font-size: 15.5px; } .act.prendre { background: var(--menthe); color: var(--nuit); } .act.plein { flex: 1; justify-content: center; background: var(--nuit); color: #fff; }
.ev { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 8px 6px; border-bottom: 1px solid var(--trait); width: 100%; text-align: left; }
.ev .hq { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muet); } .ev b { display: block; font-size: 14px; }
.ev span { font-size: 13.5px; } .ev.t-bloquant span { color: var(--rouge); font-weight: 700; } .ev.t-genant span { color: #b86a00; }
.ev.t-resolu span, .ev.t-pris span { color: var(--nuit); font-weight: 600; } .ev .j { font-size: 11px; color: var(--muet); font-weight: 500; display: block; }
.vide-liste { color: var(--muet); padding: 20px 8px; text-align: center; }

.nav-bas { display: none; }
.tiroir { position: fixed; inset: 0; z-index: 30; } .tiroir[hidden] { display: none; }
.tiroir-fond { position: absolute; inset: 0; background: rgba(17, 22, 68, .45); }
.tiroir-corps { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--plan); border-left: 1px solid var(--trait);
  display: flex; flex-direction: column; }
.f-tete { flex: none; padding: calc(var(--haut) + 12px) 14px 10px; border-bottom: 1px solid var(--trait); border-top: 6px solid var(--c); }
.f-tete .haut { display: flex; gap: 10px; align-items: flex-start; }
.f-tete h2 { margin: 0; font-size: 21px; line-height: 1.15; flex: 1; }
.f-fermer { flex: none; min-width: 48px; min-height: 44px; border-radius: 8px; background: var(--carte); border: 1px solid var(--trait); font-weight: 700; padding: 0 12px; }
.f-sous { color: var(--muet); font-size: 13.5px; margin-top: 3px; }
.f-etat { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid var(--c); font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
.f-onglets { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--trait); }
.f-onglets button { min-height: 46px; font-weight: 700; color: var(--muet); border-bottom: 3px solid transparent; font-size: 14.5px; }
.f-onglets button.actif { color: var(--texte); border-bottom-color: var(--menthe); }
.f-corps { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 12px 14px calc(24px + var(--bas)); overscroll-behavior: contain; }
.bloc { padding: 4px 0 8px; margin-bottom: 18px; }
.bloc-titre { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: var(--nuit); margin: 2px 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--trait); }
.bloc-titre::before { content: ""; flex: none; width: 9px; height: 18px; background: var(--menthe); transform: skewY(-32deg); }
.contact { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--trait); }
.contact:last-child { border-bottom: 0; padding-bottom: 0; } .contact:first-child { padding-top: 0; }
.contact-qui { flex: 1; min-width: 0; } .contact-role { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muet); }
.contact-nom { font-weight: 700; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-tel { color: var(--muet); font-size: 14px; font-variant-numeric: tabular-nums; }
.btn-appel { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 14px; border-radius: 8px; background: transparent; color: var(--texte); border: 2px solid var(--texte); font-weight: 800; font-size: 15.5px; text-decoration: none; }
.btn-appel:active { filter: brightness(.9); transform: scale(.97); }
.etapes { list-style: none; margin: 0; padding: 0; } .etapes li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--trait); }
.etapes li:last-child { border: 0; } .etapes .rond { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--trait); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; color: var(--muet); }
.etapes li.fait .rond { background: var(--nuit); border-color: var(--nuit); color: var(--menthe); } .etapes li.cours .rond { border-color: var(--nuit); color: var(--nuit); box-shadow: 0 0 0 3px var(--menthe); }
.etapes .nom { flex: 1; font-weight: 600; } .etapes .h { text-align: right; font-size: 13px; color: var(--muet); } .etapes .h b { color: var(--texte); display: block; font-size: 14.5px; }
.etapes .h b.retard { color: var(--rouge); }
.sig { border-left: 5px solid var(--c); background: var(--creux); border-radius: 0 10px 10px 0; padding: 9px 10px; margin-bottom: 8px; }
.sig:last-child { margin-bottom: 0; } .sig.resolu { opacity: .65; }
.n-bloquant { --c: var(--rouge); } .n-genant { --c: var(--orange); } .n-info { --c: var(--gris); }
.sig .niv { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muet); }
.sig .photos { display: flex; gap: 6px; margin: 6px 0; flex-wrap: wrap; } .sig .photos img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; display: block; background: var(--creux); }
.sig .statut { font-size: 13.5px; color: var(--muet); }
.sig .note { width: 100%; min-height: 44px; border-radius: 8px; border: 1px solid var(--trait); background: var(--carte); padding: 0 10px; font-size: 16px; margin-top: 8px; }
.grille-moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .grille-moments div { background: var(--creux); border-radius: 8px; padding: 8px; text-align: center; font-size: 12.5px; color: var(--muet); }
.grille-moments b { display: block; font-size: 18px; color: var(--texte); } .grille-moments .ko { color: var(--rouge); font-weight: 700; }
.ecart { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--trait); } .ecart:last-child { border: 0; }
.ecart small { display: block; color: var(--muet); } .ecart b { color: var(--rouge); white-space: nowrap; }
.info { padding: 8px 0; border-bottom: 1px solid var(--trait); } .info:last-child { border: 0; }
.info .k { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muet); }
.source { font-size: 12px; color: var(--muet); word-break: break-all; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + var(--bas)); max-width: 92vw; background: var(--nuit); color: #fff; border-radius: 8px;
  padding: 12px 16px; font-weight: 700; z-index: 60; box-shadow: 0 10px 30px rgba(17, 22, 68, .28); display: flex; gap: 12px; align-items: center; }
.toast[hidden] { display: none; } .toast button { color: var(--menthe); font-weight: 700; }

@media (max-width: 1100px) and (min-width: 821px) { .plan { grid-template-columns: minmax(0, 1fr) 400px; } .compteurs button span.lib { display: none; } }
@media (max-width: 820px) {
  .barre { flex-wrap: wrap; gap: 8px; padding: 8px 10px; }
  .marque { flex: 1; min-width: 0; } .marque b { font-size: 18px; } .marque img { width: 32px; height: 32px; }
  .horloge { order: 2; } .horloge b { font-size: 21px; }
  .jours { order: 3; width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
  .jours button { justify-content: center; padding: 0 2px; font-size: 12.5px; min-height: 42px; gap: 4px; }
  .compteurs { order: 4; width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .compteurs button { justify-content: center; padding: 0 2px; gap: 4px; min-height: 42px; } .compteurs button span.lib { display: none; }
  .reglages { padding: 8px 10px; } .reglages input[type=range] { flex-basis: 100%; order: 9; }
  .plan { display: block; position: relative; }
  .zone-carte, .panneau { position: absolute; inset: 0; border: 0; }
  .plan[data-vue=carte] .panneau, .plan:not([data-vue=carte]) .zone-carte { display: none; }
  .zone-carte { overflow-y: auto; padding: 6px 8px 16px; } #carte { height: auto; aspect-ratio: 1010 / 985; }
  .encarts { position: static; width: auto; margin-top: 8px; }
  .onglets-panneau { display: none; }
  .nav-bas { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--plan); border-top: 1px solid var(--trait); padding-bottom: var(--bas); }
  .nav-bas button { position: relative; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--muet); }
  .nav-bas svg { width: 23px; height: 23px; } .nav-bas button.actif { color: var(--nuit); box-shadow: inset 0 4px 0 var(--menthe); }
  .nav-bas i { position: absolute; top: 6px; left: 56%; min-width: 19px; height: 19px; border-radius: 8px; background: var(--rouge); color: #fff; font-size: 11.5px; font-style: normal; line-height: 19px; padding: 0 5px; }
  .nav-bas i[hidden] { display: none; }
  .tiroir-corps { width: 100%; border: 0; }
  .act { min-height: 48px; }
}

b, strong { font-weight: 700; } .item { box-shadow: 0 1px 2px rgba(17, 22, 68, .05); } .item .l2, .item .phrase { color: var(--muet); } .item.c-rouge .phrase, .item.c-orange .phrase { color: var(--nuit); }
.tiroir-corps { box-shadow: -12px 0 40px rgba(17, 22, 68, .18); } .f-tete { border-top: 0; background: var(--nuit); color: #fff; } .f-tete .f-sous { color: rgba(255, 255, 255, .75); }
.f-tete .f-fermer { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; } .f-etat { background: #fff; color: var(--nuit); border: 0; border-left: 5px solid var(--c); border-radius: 4px; }
.reglages { border-bottom: 1px solid var(--trait); }
.marque > span, .marque > div { min-width: 0; } .marque small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Theme « verre sombre » (reference video de Steeve, 03/12 22:20), palette Keneo ===== */
:root { --fond: #080b26; --plan: #0b0e2d; --carte: rgba(255, 255, 255, .07); --trait: rgba(255, 255, 255, .13); --texte: #f3f5ff; --muet: rgba(233, 236, 255, .62);
  --creux: rgba(255, 255, 255, .07); --blanc: rgba(255, 255, 255, .55); --bleu: #dfe3ff; --gris: rgba(255, 255, 255, .28); --rouge: #ff5a66; --orange: #ffae45; --encre: #07122b; }
body { background: radial-gradient(70% 45% at 85% -8%, rgba(78, 96, 228, .50), transparent 62%), radial-gradient(60% 40% at -8% 104%, rgba(96, 255, 199, .14), transparent 60%), #080b26; }
html { background: #080b26; }
.barre, .f-tete { background: rgba(14, 18, 58, .62); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--trait); }
.bandeau-test { background: transparent !important; color: rgba(255, 255, 255, .42) !important; }
.panneau { background: transparent; }
.jours button, .compteurs button, .reglages button, .bouton, .horloge { border-radius: 999px; }
.horloge { border-radius: 16px; }
.jours button.actif, .barre .jours button.actif { background: var(--menthe); color: var(--encre); border-color: var(--menthe); }
.item { border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 26px rgba(0, 0, 0, .22); }
.item .rang { color: #fff; }
.item.c-rouge .rang { color: #fff; } .item.c-orange .rang { color: #1a1200; }
.item.c-rouge .phrase, .item.c-orange .phrase, .bloc-titre, .ev.t-resolu span, .ev.t-pris span { color: #fff; }
.c-bleu > .symb, .symb.c-bleu, .item.c-bleu .rang span { color: var(--encre); }
.past.c-bleu text { fill: var(--encre); }
.act, .btn-appel, .f-fermer { border-radius: 999px; }
.act.appel, .act.plein, .btn-appel { background: rgba(255, 255, 255, .11); color: #fff; border: 1px solid rgba(255, 255, 255, .26); }
.act.prendre { background: var(--menthe); color: var(--encre); box-shadow: 0 8px 22px rgba(96, 255, 199, .26); }
.segs i.f { background: var(--menthe); }
.etapes li.fait .rond { background: var(--menthe); border-color: var(--menthe); color: var(--encre); }
.etapes li.cours .rond { border-color: #fff; color: #fff; box-shadow: 0 0 0 3px rgba(96, 255, 199, .6); }
.dep { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .20); }
.past .nom { fill: #fff; stroke: #080b26; }
.past .seg.plein { stroke: #fff; }
.encart, .legende { background: rgba(14, 18, 58, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 16px; }
.f-etat { background: rgba(255, 255, 255, .09); color: #fff; border-radius: 6px 14px 14px 6px; }
.sig { border-radius: 6px 16px 16px 6px; }
.reglages select, .reglages input[type=text], .sig .note { color: #fff; }
.nav-bas { background: rgba(8, 11, 38, .78) !important; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav-bas button.actif { color: var(--menthe) !important; }

/* Edition depuis le PC Keneo : infos du stade et inventaire d'envoi */
.champ { display: block; margin-bottom: 10px; } .champ span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muet); margin-bottom: 4px; }
.champ input, .champ textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; padding: 10px 12px; font: inherit; font-size: 16px; color-scheme: dark; }
.champ textarea { resize: vertical; } .champ input:focus, .champ textarea:focus { outline: 0; border-color: var(--menthe); }
.duo-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .duo-champs .champ { min-width: 0; }
.barre-edition { position: sticky; bottom: 0; padding: 10px 0 4px; background: linear-gradient(transparent, #0b0e2d 30%); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.envoi { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--trait); } .envoi > span { flex: 1; min-width: 0; font-weight: 600; }
.envoi small { display: block; color: var(--muet); font-weight: 500; } .envoi b { min-width: 30px; text-align: center; font-size: 19px; font-variant-numeric: tabular-nums; }
.envoi .pas { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 22px; font-weight: 700; }
.envoi .pas:active { background: var(--menthe); color: var(--encre); } .envoi.zero > span, .envoi.zero b { opacity: .45; }
