/* mūe club pro, « En direct » (02/12/2026, refait le même jour pour ressembler aux vrais écrans) :
   le planning de pro (gestion.css .pj-col / .pj-ev, le formulaire « Jour et heure »), l'onglet Ma salle de l'appli
   en clair (ma-salle-resa.css .mm-cls), et Programmer dans mūe programmation. Données de démonstration. */

.lv-list { display: grid; gap: 22px; }
.lv { gap: 18px; }
.lv-txt { display: flex; flex-direction: column; gap: 6px; }
.lv-txt h3 { margin: 0; }
.lv-app-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--grey); border: 1px solid var(--line);
  font: 500 11.5px/1.2 var(--mono); letter-spacing: .02em; color: var(--muted); }
.lv-replay { align-self: flex-start; margin-top: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 500 13px/1 var(--text); color: var(--muted); cursor: pointer; }
.lv-replay:hover { color: var(--ink); border-color: var(--ink); }
.lv-stage { position: relative; border-radius: 20px; border: var(--stroke); padding: 14px; overflow: hidden; color: var(--ink);
  background-color: #FAFAF8; background-image: linear-gradient(rgba(10,10,10,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,10,.045) 1px, transparent 1px);
  background-size: 22px 22px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
@media (min-width: 860px) {
  .lv { display: grid; grid-template-columns: 1fr 1.9fr; align-items: center; gap: 28px; padding: 30px; }
  .lv-stage { padding: 18px; }
}

/* Le doigt */
.lv-cursor { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; z-index: 9;
  background: rgba(10,10,10,.16); border: 2px solid var(--ink); opacity: 0; pointer-events: none;
  transition: transform .9s cubic-bezier(.45,0,.2,1), opacity .4s; }   /* 02/12 : trajet plus lent et plus doux (Mario : « on dirait un hyperactif ») */
.lv-cursor.on { opacity: 1; }
.lv-cursor.tap { animation: lvTap .45s ease-in-out; }
@keyframes lvTap { 50% { scale: .68; background: rgba(10,10,10,.34); } }

/* Le message de confirmation */
.lv-toast { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 8; display: flex; gap: 10px; align-items: center;
  padding: 10px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; box-shadow: 3px 3px 0 var(--lime);
  opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; }
.lv-toast b { font-weight: 600; }
.lv-toast i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--ink); font-style: normal;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.lv-toast.on { opacity: 1; transform: none; }

/* ---------- Le planning de pro (vue « Par jour ») ---------- */
.lv-pro { padding-bottom: 78px; }
.pv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pv-top b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.pv-seg { display: flex; padding: 3px; border-radius: 10px; border: 1px solid rgba(10,10,10,.14); background: #fff; flex: none; }
.pv-seg i { font-style: normal; font-size: 11px; padding: 4px 8px; border-radius: 7px; color: var(--muted); }
.pv-seg i.on { background: var(--ink); color: #fff; }
.pv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; align-items: start; }
.pv-col { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(10,10,10,.06), 0 6px 18px rgba(10,10,10,.06); transition: box-shadow .3s; }
.pv-col h4 { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 8px 10px; font-size: 11.5px; font-weight: 500;
  color: var(--muted); border-bottom: 1px solid rgba(10,10,10,.09); border-radius: 14px 14px 0 0; }
.pv-col h4 b { font-size: 17px; font-weight: 600; color: var(--ink); }
.pv-col.today { box-shadow: 0 0 0 2px var(--ink), 0 6px 18px rgba(10,10,10,.06); }
.pv-col.today h4 { align-items: center; }   /* choix de Mario du 02/12 : plus de bloc noir, le chiffre du jour en pastille lime */
.pv-col.today h4 b { background: var(--lime); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 8px; font-size: 14px; line-height: 1.35; }
.pv-col.hot { box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(215,245,126,.8); }
.pv-ev { position: relative; display: grid; grid-template-columns: 5px minmax(0, 1fr); gap: 8px; padding: 7px 8px 7px 0; border-top: 1px solid rgba(10,10,10,.07);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 34%, #fff) var(--fill, 0%), color-mix(in srgb, var(--c) 11%, #fff) var(--fill, 0%)); }
.pv-col h4 + .pv-ev { border-top: 0; }
.pv-col .pv-ev:last-child { border-radius: 0 0 14px 14px; }
.pv-ev > i { background: var(--c); border-radius: 0 2px 2px 0; }
.pv-ev > div { display: flex; flex-direction: column; min-width: 0; }
.pv-ev .t { font-family: var(--mono); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pv-ev .n { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 1px 0; }
.pv-ev .m { display: flex; justify-content: space-between; gap: 4px; font-size: 10.5px; color: var(--muted); }
.pv-ev .m em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-ev .m b { color: var(--ink); font-weight: 700; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pv-ev.full > i { background: #FF8C82; }
.pv-ev.full .m b { color: #D9483B; }
.pv-ev.sel { outline: 2px solid var(--ink); outline-offset: -2px; z-index: 2; }
.pv-ev.flying { z-index: 6; box-shadow: var(--hard); }
.pv-ev.landed { animation: pvLand .9s var(--ease); }
@keyframes pvLand { 0%, 30% { box-shadow: inset 0 0 0 2px var(--ink); } }
.pv-q { margin-top: 3px; font-size: 10.5px; color: #7A3E14; background: var(--peche); border-radius: 6px; padding: 2px 6px; align-self: flex-start;
  opacity: 0; transition: opacity .3s; }
.pv-q.on { opacity: 1; }
.pv-q:empty { display: none; }

/* Le panneau « Modifier la série » (le formulaire Jour et heure de pro) */
.pv-sheet { position: absolute; z-index: 7; top: 10px; right: 10px; bottom: 10px; width: min(290px, calc(100% - 20px)); box-sizing: border-box;
  padding: 16px; border-radius: 16px; background: #fff; border: var(--stroke); box-shadow: var(--hard);
  display: flex; flex-direction: column; gap: 6px; transform: translateX(calc(100% + 30px)); transition: transform .5s var(--ease); }
.pv-sheet.on { transform: none; }
.pv-sheet > small { font-size: 11.5px; color: var(--muted); }
.pv-sh-t { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.pv-l { margin-top: 6px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(10,10,10,.4); }
.pv-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pv-days i { height: 30px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(10,10,10,.18); font-style: normal; font-weight: 700; font-size: 12px;
  transition: background .2s, color .2s; }
.pv-days i.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.pv-in { padding: 5px 8px; border-radius: 9px; border: 1px solid rgba(10,10,10,.18); color: var(--ink); font-family: var(--mono); font-size: 12px; transition: border-color .2s, box-shadow .2s; }
.pv-in.focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(215,245,126,.8); }
.pv-sum { margin-top: 4px; padding: 9px 11px; border-radius: 12px; background: color-mix(in srgb, #D7F57E 22%, #fff); font-size: 12px; line-height: 1.4; }
.pv-sum small { color: var(--muted); font-size: 11px; }
.pv-cta { margin-top: auto; align-self: flex-start; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; }

/* ---------- L'appli mūe club, onglet Ma salle, en clair ---------- */
.ap-phone { position: relative; border-radius: 26px; border: var(--stroke); background: #fff; padding: 12px 10px 14px; box-shadow: var(--hard-sm);
  display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ap-notch { display: block; width: 56px; height: 7px; margin: 0 auto 4px; border-radius: 6px; background: var(--ink); }
.ap-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid rgba(10,10,10,.18); border-radius: 999px; }
.ap-seg i { font-style: normal; text-align: center; padding: 6px 0; border-radius: 999px; font-size: 11.5px; color: var(--muted); }
.ap-seg i.on { background: var(--ink); color: #fff; font-weight: 500; }
.ap-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ap-days i { font-style: normal; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 0; border-radius: 12px; border: 1px solid rgba(10,10,10,.18);
  font-size: 9.5px; text-transform: uppercase; color: var(--muted); }
.ap-days i b { font-family: var(--dots); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1; }
.ap-days i.sel { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.6); }
.ap-days i.sel b { color: #fff; }
.ap-cls { display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 16px; background: #fff; border: 1.5px solid #0A0A0A;
  transition: border-color .3s, background .3s; }
.ap-cls.is-me { border: 2px solid #35A36A; background: color-mix(in srgb, #35A36A 9%, #fff); }
.ap-h { width: 36px; flex: none; }
.ap-h b { display: block; font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; }
.ap-h small { font-size: 9px; color: var(--muted); }
.ap-x { flex: 1; min-width: 0; }
.ap-x b { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-x b i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ap-x small { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-bar { display: block; height: 3px; border-radius: 2px; background: rgba(10,10,10,.09); margin-top: 5px; overflow: hidden; }
.ap-bar i { display: block; height: 100%; background: #D7F57E; border-radius: 2px; transition: width .6s var(--ease); }
.ap-btn { flex: none; font-size: 10.5px; font-weight: 600; padding: 7px 10px; border-radius: 999px; background: #D7F57E; border: 1.5px solid #0A0A0A; white-space: nowrap; }
.ap-btn.ghost { background: transparent; border: 1px solid rgba(10,10,10,.18); font-weight: 500; }
.ap-act { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ap-flag { font-size: 10.5px; font-weight: 600; color: #1F7A4C; white-space: nowrap; }
.ap-btn.mini { font-size: 10px; padding: 4px 8px; background: transparent; border: 1.5px solid rgba(10,10,10,.3); color: rgba(10,10,10,.62); font-weight: 500; }
.ap-act.pop > * { animation: apPop .45s var(--ease); }
@keyframes apPop { from { opacity: 0; scale: .8; } }

.lv-resa { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; padding-bottom: 78px; }
.pv-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pv-side-l { font: 500 10.5px/1 var(--mono); letter-spacing: .04em; color: var(--muted); margin-left: 4px; }

/* ---------- mūe programmation, Programmer ---------- */
.st-steps { display: flex; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.st-steps i { font-style: normal; display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; color: var(--muted); transition: background .3s, color .3s; }
.st-steps i b { font-family: var(--mono); font-weight: 500; font-size: 10.5px; }
.st-steps i.on { background: var(--ink); color: #fff; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 14px; align-items: start; }
.st-dl { font-size: 12px; color: var(--muted); margin: 0 0 6px 4px; display: flex; align-items: baseline; gap: 5px; }
.st-dl b { font-family: var(--dots); font-weight: 700; font-size: 16px; color: var(--ink); background: #D7F57E; border-radius: 6px; padding: 0 4px; }
.st-card { position: relative; border-radius: 14px; background: #fff; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 14px 13px 13px;
  border: 1.5px dashed rgba(10,10,10,.3); transition: border-color .35s, box-shadow .35s; }
.st-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--peche); opacity: .6; transition: opacity .3s; }
.st-card > :not(.st-head) { transition: opacity .35s; opacity: .55; }
.st-card.val { border: 2px solid #D7F57E; box-shadow: 0 0 0 1px #B9DB52; }
.st-card.pub { border: 1.5px solid #0A0A0A; box-shadow: none; }
.st-card.val > *, .st-card.pub > * { opacity: 1; }
.st-card.val::before, .st-card.pub::before { opacity: 1; }
.st-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 4px; }
.st-head span { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.st-head span i { width: 8px; height: 8px; border-radius: 50%; background: #C6EB5E; }
.st-badge { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(10,10,10,.07); color: var(--muted); transition: background .3s, color .3s; }
.st-badge.val { background: #D7F57E; color: #0A0A0A; }
.st-badge.pub { background: color-mix(in srgb, #35A36A 16%, #fff); color: #1F7A4C; }
.st-k { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: #C2611F; }
.st-t { font-size: 15px; margin-bottom: 4px; }
.st-k2 { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: rgba(10,10,10,.42); }
.st-l { font-size: 12px; margin-bottom: 6px; }
.st-wod { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 12px; background: #FBF1E6; border: 1px solid #F1DDC8; font-size: 12px; }
.st-wod b { font-weight: 600; }
.st-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.st-cta { padding: 8px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; box-shadow: 0 3px 0 #D7F57E; transition: opacity .3s, background .3s, color .3s; }
.st-cta.off { opacity: .3; }
.st-cta.done { background: #D7F57E; color: var(--ink); box-shadow: none; }

.ap-wod { min-height: 250px; }
.ap-date { font-size: 11px; color: var(--muted); display: flex; align-items: baseline; gap: 5px; }
.ap-date b { font-family: var(--dots); font-weight: 700; font-size: 18px; color: var(--ink); }
.ap-empty { margin: 30px 4px 0; text-align: center; font-size: 11px; color: var(--muted); transition: opacity .3s; }
.ap-w { position: absolute; left: 10px; right: 10px; top: 52px; display: flex; flex-direction: column; gap: 7px; }
.ap-w-t { font-size: 17px; letter-spacing: -.03em; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.ap-part { display: flex; flex-direction: column; gap: 3px; padding: 8px 9px; border-radius: 13px; border: 1.5px solid rgba(10,10,10,.16); border-left: 3px solid #FF4FA3;
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.ap-part.dark { border: 1.5px solid #0A0A0A; border-left: 3px solid #0A0A0A; }
.ap-pk { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; color: #8A5A6E; }
.ap-part.dark .ap-pk { color: #0A0A0A; }
.ap-ft { font-size: 13px; font-weight: 600; }
.ap-ft i { font-style: normal; font-family: var(--dots); font-weight: 700; font-size: 12px; margin-left: 3px; }
.ap-pl { display: flex; justify-content: space-between; gap: 4px; font-size: 10.5px; }
.ap-pl b { font-weight: 400; }
.ap-pl em { font-style: normal; color: var(--muted); white-space: nowrap; }
.ap-w.on .ap-w-t, .ap-w.on .ap-part { opacity: 1; transform: none; }
.ap-w.on .ap-part[data-p="1"] { transition-delay: .2s; }
.ap-w.on .ap-part[data-p="2"] { transition-delay: .45s; }

/* ---------- Téléphone ---------- */
@media (max-width: 560px) {
  .lv-stage { padding: 12px; }
  .lv-pro { padding-bottom: 92px; }
  .pv-top b { font-size: 12.5px; }
  .pv-seg { display: none; }
  .pv-cols { gap: 5px; }
  .pv-cols .pv-ev { gap: 6px; padding-right: 5px; }
  .pv-cols .pv-ev .m em { display: none; }
  .pv-cols .pv-ev .m { justify-content: flex-end; }
  .lv-resa { grid-template-columns: 1fr; padding-bottom: 92px; }
  .lv-resa .ap-phone { max-width: 290px; width: 100%; margin: 0 auto; box-sizing: border-box; }
  .st-grid { grid-template-columns: 1fr; }
  .ap-wod { max-width: 240px; width: 100%; margin: 0 auto; box-sizing: border-box; min-height: 236px; }
}
.ap-ft small { font-weight: 400; font-size: 10.5px; color: var(--muted); }
.ap-fran { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #FFE3EF; border: 1px solid #F2B8CF; font-size: 10.5px; color: var(--ink); }
.ap-fran::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FF4FA3; margin-right: 4px; vertical-align: 1px; }
/* Contrôle du 02/12 : rien de rogné dans une fenêtre étroite */
.pv-sheet { overflow: hidden; }
.pv-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ap-wod { min-height: 300px; }
@media (max-width: 560px) { .ap-wod { min-height: 290px; } }

/* Téléphone de la scène réservation, copié sur l'appli réelle (capture de Mario du 02/12) */
.ap-real { display: flex; flex-direction: column; gap: 7px; }
.ap-nav { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.ap-arr { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(10,10,10,.15); font-size: 11px; color: rgba(10,10,10,.5); }
.ap-arr:last-child { margin-left: auto; }
.ap-auj { padding: 2px 7px; border-radius: 999px; border: 1.5px solid #0A0A0A; background: #D7F57E; font-size: 10px; font-weight: 500; white-space: nowrap; }
.ap-dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-days7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.ap-days7 i { font-style: normal; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 999px; border: 1px solid rgba(10,10,10,.15); font-size: 8.5px; color: rgba(10,10,10,.55); }
.ap-days7 i b { font-size: 13px; font-weight: 400; color: #0A0A0A; line-height: 1; }
.ap-days7 i.sel { background: #0A0A0A; border-color: #0A0A0A; color: rgba(255,255,255,.6); }
.ap-days7 i.sel b { color: #fff; }
.ap-chips { display: flex; gap: 4px; overflow: hidden; }
.ap-chips i { font-style: normal; flex: none; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(10,10,10,.15); background: rgba(10,10,10,.04); font-size: 9.5px; white-space: nowrap; }
.ap-chips i.on { background: #0A0A0A; color: #fff; border-color: #0A0A0A; }
.ap-real .ap-cls { border-radius: 16px; }
.ap-real .ap-btn:not(.ghost):not(.mini) { box-shadow: 2px 2px 0 #0A0A0A; }
.ap-who { display: flex; align-items: center; margin-top: 5px; }
.ap-who i { width: 17px; height: 17px; margin-left: -4px; border-radius: 50%; border: 1.5px solid #fff; display: grid; place-items: center; font-style: normal; font-size: 6.5px; font-weight: 700; background: #ECECEA; }
.ap-who i:first-child { margin-left: 0; }
.ap-who i.me { background: #D7F57E; }
.ap-who em { font-style: normal; margin-left: 5px; font-size: 9px; color: rgba(10,10,10,.5); }
.ap-tabs { display: flex; justify-content: space-between; margin-top: 2px; padding: 4px; border-radius: 999px; border: 1.5px solid #0A0A0A; font-size: 8px; color: rgba(10,10,10,.5); }
.ap-tabs i { font-style: normal; padding: 4px 5px; border-radius: 999px; }
.ap-tabs i.on { background: #0A0A0A; color: #fff; }

/* ===== Les chiffres de /pro qui s'animent (02/12/2026, demande de Mario) ===== */
/* 1. Le total des formules s'allume en lime quand les montants ont fini de monter */
.mp-total { padding: 1px 6px; border-radius: 6px; transition: background .5s; }
.ix.anim .tile.in .mp-total { animation: mpTotal 1s ease-out 1.3s both; }
@keyframes mpTotal { from { background: transparent; } to { background: var(--lime-pale); } }

/* 2. Le point mort : la pastille avance avec la barre et compte les jours, puis « ta box gagne » s'allume */
.ix.anim .mp-pm-track i { transition: width 1.3s cubic-bezier(.33,1,.68,1); }
.ix.anim .mp-pm-track .mark { left: 0; opacity: 0; transform: translate(-50%, 0); transition: left 1.3s cubic-bezier(.33,1,.68,1), opacity .3s; }
.ix.anim .tile.in .mp-pm-track .mark { left: var(--x); opacity: 1; }
.ix.anim .mp-pm-track::after { transition: opacity .6s 1.3s; }
.mp-win { padding: 1px 8px; border-radius: 999px; transition: background .5s 1.4s, color .5s 1.4s; }
.ix.anim .tile.in .mp-win, .ix:not(.anim) .mp-win { background: var(--lime-pale); color: var(--ink); }
.mp-pm-sum { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.mp-pm-sum b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* 3. Le Pilotage du haut, refait d'après le vrai écran : les chiffres montent, les courbes se dessinent */
.pl { padding: 22px 24px 24px; text-align: left; }
.pl-top { display: flex; justify-content: space-between; align-items: center; }
.pl-h { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.pl-bilan { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; }
.pl-chips, .pl-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pl-chips i, .pl-tabs i { font-style: normal; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pl-tabs i { padding: 8px 16px; font-size: 13.5px; }
.pl-chips i.on, .pl-tabs i.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pl-cmp { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.pl-cmp b { color: var(--ink); font-weight: 600; }
.pl-alert { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 18px; border-radius: 14px; background: #F7EDD5; border: 1px solid #EBD9AE; font-size: 13.5px; }
.pl-alert em { font-style: normal; font-weight: 600; color: #8A6A1F; white-space: nowrap; }
.pl-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pl-card { display: flex; flex-direction: column; gap: 5px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff 45%, var(--t)); min-height: 180px; }
.pl-l { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pl-n { font-size: 28px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-d { font-family: var(--mono); font-size: 11px; color: #2F8A5B; min-height: 14px; }
.pl-pill { align-self: flex-start; padding: 4px 9px; border-radius: 10px; background: #EFEFEA; border: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.pl-spark { margin-top: auto; width: 100%; height: 30px; overflow: visible; }
.pl-spark polyline { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ix.anim .pl .pl-card { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--k) * .09s); }
.ix.anim .pl.in .pl-card { opacity: 1; transform: none; }
.ix.anim .pl .pl-spark polyline { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease-out; transition-delay: calc(.5s + var(--k) * .12s); }
.ix.anim .pl.in .pl-spark polyline { stroke-dashoffset: 0; }
@media (max-width: 899px) {
  .pl { padding: 16px; }
  .pl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pl-card { min-height: 0; padding: 12px; }
  .pl-card:first-child { grid-column: 1 / -1; }
  .pl-n { font-size: 22px; }
  .pl-tabs i:nth-child(n+4), .pl-chips i:nth-child(2) { display: none; }
  .pl-alert { flex-direction: column; gap: 4px; font-size: 12.5px; }
  .pl-h { font-size: 24px; }
}
