.gx .g-pied{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;margin-top:auto;padding-top:16px;border-top:1px solid var(--filet);font-size:13.5px;color:var(--gris)}
.gx .legende{display:flex;flex-wrap:wrap;gap:12px 28px;list-style:none;font-size:14.5px}
.gx .legende li{display:flex;align-items:center;gap:10px}
.gx .cle-m{display:inline-block;width:22px;height:16px;border-radius:4px 4px 0 0}
.gx .cle-m.g-prevu{border:1.5px dashed var(--encre);border-bottom:0}
.gx .cle-m.g-realise{background:var(--encre)}
.gx .cle-m.g-avant{border:1.5px dotted var(--gris);border-bottom:0}
.gx .cle-m.g-cible{height:10px;border:1.5px solid var(--encre);border-top:0;border-radius:0 0 3px 3px}
.gx .cle-m.g-toi{width:3px;height:18px;border-radius:2px;background:var(--accent);margin:0 9px}

.gx .niv{margin-top:36px;margin-bottom:28px}
.gx .niv-l{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:end;padding:18px 0 12px;border-top:1px solid var(--filet)}
.gx .niv-nom{font-weight:500;display:flex;flex-direction:column;line-height:1.3}
.gx .niv-nom span{font-weight:400;font-size:14px;color:var(--gris)}
.gx .niv-val{font-size:40px;line-height:1;font-weight:500;letter-spacing:-.04em}
.gx .niv-ech{grid-column:1/-1;position:relative;height:44px;margin-top:10px}
.gx .niv-c{position:absolute;top:28px;font-size:12.5px;color:var(--gris);white-space:nowrap}
.gx .niv-ech i{position:absolute;display:block}
.gx .niv-piste{left:0;right:0;top:13px;height:2px;border-radius:1px;background:var(--piste)}
.gx .niv-cible{top:13px;height:9px;border:1.5px solid var(--encre);border-top:0;border-radius:0 0 3px 3px}
.gx .niv-toi{top:3px;width:3px;height:22px;margin-left:-1.5px;border-radius:2px;background:var(--accent)}
.gx .niv-axe{display:flex;justify-content:space-between;font-size:12.5px;color:var(--gris);border-top:1px solid var(--filet);padding-top:10px}

.gx .sem{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(6px,1.4vw,16px);margin-top:48px;margin-bottom:28px}
.gx .sem-zone{position:relative;height:300px;border-bottom:1px solid var(--encre)}
.gx .sem-zone .b{position:absolute;left:0;right:0;bottom:0;display:block;border-radius:4px 4px 0 0}
.gx .b.g-prevu{border:1.5px dashed var(--encre);border-bottom:0}
.gx .b.g-realise{left:5px;right:5px;background:var(--encre)}
.gx .b.g-avant{border:1.5px dotted var(--gris);border-bottom:0;left:-4px;right:-4px}
.gx .repos{position:absolute;left:50%;bottom:8px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--gris)}
.gx .et{position:absolute;left:50%;transform:translate(-50%,-8px);white-space:nowrap;font-size:13px;font-weight:500;color:var(--encre);display:flex;align-items:center;gap:5px}
.gx .et s{color:var(--gris);text-decoration-thickness:1px}
.gx .et .g-pt{width:7px;height:7px;border-radius:50%;background:var(--accent);display:block}
.gx .sem-nom{text-align:center;font-size:13.5px;color:var(--gris);margin-top:10px;line-height:1.3}
.gx .sem-nom span{display:block;font-weight:400;font-size:12px;color:var(--gris)}
.gx .sem-j.auj .sem-nom{color:var(--encre);font-weight:600}

.gx .crb{margin-top:44px;margin-bottom:20px}
.gx .crb-zone{position:relative;height:260px;border-bottom:1px solid var(--encre)}
.gx .crb-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gx .crb-svg .l{fill:none;stroke:var(--encre);stroke-linejoin:round;stroke-linecap:round}
.gx .crb-svg .l.g-realise{stroke-width:2}
.gx .crb-svg .l.g-prevu{stroke-width:1.5;stroke-dasharray:5 4}
.gx .crb-svg .g-aire{fill:var(--piste);opacity:.55;stroke:none}
.gx .bande{position:absolute;left:0;right:0;display:block;border-top:1px solid var(--filet)}
.gx .bande.paire{background:color-mix(in oklab,var(--piste) 38%,transparent)}
.gx .crb-z{position:absolute;transform:translate(-30px,-50%);font-size:12px;color:var(--gris)}
.gx .g-seance .crb-zone,.gx .g-seance .crb-axe{margin-left:30px}
.gx .crb-axe{position:relative;height:28px;font-size:12.5px;color:var(--gris)}
.gx .crb-axe span{position:absolute;top:10px;transform:translateX(-50%)}
.gx .crb-axe span:first-child{transform:none}
.gx .crb-axe span.fin{transform:translateX(-100%)}
.gx .crb-pt{position:absolute;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:var(--encre);box-shadow:0 0 0 2px var(--surface)}
.gx .crb-pt.g-toi{width:9px;height:9px;margin:-4.5px 0 0 -4.5px;background:var(--accent)}
.gx .crb-et{position:absolute;white-space:nowrap;font-size:13px;font-weight:500;color:var(--encre)}
.gx .crb-et.haut{transform:translate(-88%,-30px)}
.gx .crb-et.droite{transform:translate(-100%,-26px)}
.gx .legende.mini{font-size:13.5px;gap:8px 24px;margin-bottom:24px;color:var(--encre-2)}
.gx .cle-l{display:inline-block;width:26px;height:0;border-top:2px solid var(--encre)}
.gx .cle-l.g-prevu{border-top:1.5px dashed var(--encre)}

.gx .niv-gr,.gx .niv-fait,.gx .grand,.gx .aire-r,.gx .crb-pt.mesure{display:none}

:root[data-g="b"] .gx .niv-val{font-size:60px;letter-spacing:-.05em}
:root[data-g="b"] .gx .niv-piste{top:10px;height:8px;border-radius:4px}
:root[data-g="b"] .gx .niv-fait{display:block;left:0;top:10px;height:8px;border-radius:4px 0 0 4px;background:var(--encre)}
:root[data-g="b"] .gx .niv-toi{top:2px;height:24px;width:4px;margin-left:-2px;box-shadow:0 0 0 2px var(--surface)}
:root[data-g="b"] .gx .niv-cible{top:20px}
:root[data-g="b"] .gx .b.g-realise{left:0;right:0}
:root[data-g="b"] .gx .grand{display:flex;align-items:baseline;gap:12px;margin-top:28px}
:root[data-g="b"] .gx .grand b{font-size:60px;line-height:1;font-weight:500;letter-spacing:-.05em}
:root[data-g="b"] .gx .grand span{font-size:14px;color:var(--gris);max-width:22ch;line-height:1.35}
:root[data-g="b"] .gx .grand + .sem{margin-top:28px}
:root[data-g="b"] .gx .crb-svg .aire-r{display:block;fill:var(--encre);opacity:.1;stroke:none}
:root[data-g="b"] .gx .crb-svg .l.g-realise{stroke-width:2.5}

:root[data-g="c"] .gx .niv-gr{display:block;left:0;right:0;top:8px;height:12px;background:repeating-linear-gradient(to right,var(--gris) 0 1px,transparent 1px 10%);border-right:1px solid var(--gris);opacity:.55}
:root[data-g="c"] .gx .niv-toi{top:8px;width:12px;height:12px;margin-left:-6px;border-radius:50%;box-shadow:0 0 0 3px var(--surface)}
:root[data-g="c"] .gx .b.g-prevu{left:calc(50% - 7px);right:auto;width:0;border:0;border-left:1.5px dashed var(--encre);border-radius:0}
:root[data-g="c"] .gx .b.g-prevu::before{content:"";position:absolute;left:-6.5px;top:-5px;width:9px;height:9px;border-radius:50%;border:1.5px solid var(--encre);background:var(--surface)}
:root[data-g="c"] .gx .b.g-realise{left:calc(50% + 5px);right:auto;width:2px;border-radius:0}
:root[data-g="c"] .gx .b.g-realise::before{content:"";position:absolute;left:-4.5px;top:-5px;width:11px;height:11px;border-radius:50%;background:var(--encre)}
:root[data-g="c"] .gx .b.g-avant{left:calc(50% - 7px);right:auto;width:0;border:0;border-left:1.5px dotted var(--gris);border-radius:0}
:root[data-g="c"] .gx .crb-svg .l.g-realise{stroke-width:1}
:root[data-g="c"] .gx .crb-pt.mesure{display:block;width:6px;height:6px;margin:-3px 0 0 -3px}
:root[data-g="c"] .gx .bande{border-top-style:dashed}

@media (max-width:900px){
  .gx .sem-zone{height:180px}
  .gx .crb-zone{height:200px}
  .gx .b.g-realise{left:3px;right:3px}
  .gx .et{font-size:12px}
}
