/* Le mois en cours : ce qui reste, ou il part.

   .tot totaux, .vrem reste a vivre, .sb / .gl jauges, .env enveloppe de
   categorie, .exl / .exr lignes de depense, .clot-story recit de cloture. */
.tot{display:flex;justify-content:space-between;font-size:13px;font-weight:600;margin-top:12px;padding-top:10px;border-top:1px solid var(--bd)}.tot .a{font-family:var(--mono)}
.vrem{border-radius:10px;padding:12px 14px;margin-bottom:12px;border:1px solid var(--bd)}
.vrem.pos{background:var(--nw);border-color:var(--nwb)}
.vrem.neg{background:var(--fi);border-color:var(--no)}
.vrem-l{font-size:12px;font-weight:600;text-transform:none;color:var(--t2)}
.vrem-v{font-family:var(--mono);font-size:24px;font-weight:700;margin-top:2px}
.vrem.pos .vrem-v{color:var(--ok)}.vrem.neg .vrem-v{color:var(--no)}
.vrem-b{font-size:10.5px;color:var(--t2);margin-top:4px}
.vrem-al{background:var(--fi);border-color:var(--bd)}
.vrem-al .vrem-l{color:var(--t2)}
.vrem-al .vrem-v{color:var(--ink);font-size:20px}
.vrem-albar{height:6px;border-radius:4px;background:var(--b2);overflow:hidden;margin:8px 0 2px}
.vrem-albar>span{display:block;height:100%;background:var(--bl);border-radius:4px;transition:width .3s ease}
.cf{flex:1;display:flex;gap:5px;min-width:0}
/* Les parts etaient collees et se distinguaient par leur couleur. Deux
   pixels d ecart suffisent a les separer, ce qui libere la couleur : la
   rampe --c1..--c5 ordonne les postes au lieu de les identifier. Sans
   jointure a masquer, la piste et overflow:hidden n ont plus d objet. */
.sb{display:flex;gap:2px;height:10px;margin:8px 0 6px}
.sb span{display:block;height:100%;border-radius:3px;transition:width .25s}
.sbl{display:flex;gap:10px;font-size:10.5px;color:var(--t2);flex-wrap:wrap}.sbl b{font-weight:600;color:var(--ink);font-family:var(--mono)}
.gl{border:1px solid var(--bd);border-radius:var(--r);background:var(--sf);padding:14px;margin-bottom:10px}
.gl .gt{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:6px}
.gl .gb{height:8px;background:var(--b2);border-radius:5px;overflow:hidden}.gl .gb span{display:block;height:100%;background:var(--ok);border-radius:5px;transition:width .25s}
.gl .gf{display:flex;justify-content:space-between;font-size:10.5px;color:var(--t2);margin-top:5px}
.env{margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid var(--b2)}.env:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}
.env .eh{display:flex;gap:6px;align-items:flex-end;flex-wrap:wrap}.env .ec{width:82px;flex-shrink:0}
.env .ebar{height:6px;background:var(--b2);border-radius:4px;overflow:hidden;margin-top:7px}.env .ebar span{display:block;height:100%;border-radius:4px;transition:width .25s}
.env .elb{font-size:11px;margin-top:4px;display:flex;justify-content:space-between;color:var(--t2)}.env .elb b{font-weight:600}
.exl{margin-top:8px;padding:8px 10px;background:var(--fi);border-radius:8px;border:1px solid var(--bd)}
.exl-old{max-height:0;overflow:hidden;transition:max-height .3s ease}
.exl-old.open{max-height:2000px}
.exl-tgl{border:none;background:none;color:var(--t2);font-size:11px;font-weight:600;cursor:pointer;padding:6px 2px;margin-top:6px;display:none;align-items:center;gap:5px;font-family:var(--body);-webkit-tap-highlight-color:transparent}
.exl-tgl .chev{font-size:10px;transition:transform .25s;display:inline-block}
.exl-tgl.open .chev{transform:rotate(180deg)}
.exr{display:flex;gap:6px;align-items:center;margin-bottom:5px}.exr:last-child{margin-bottom:0}
.exr.sv input.f{background:var(--b2);border-color:var(--bd)}.exr.nw input.f{background:var(--nw);border-color:var(--nwb)}
.exe{font-size:11px;color:var(--t2)}.eph{font-size:11px;margin-top:5px;font-weight:500}
/* .K.alert posait une bordure orange sur la carte Depenses des que le
   rythme projetait un depassement. Le rouge — et l orange — se meritent :
   le constat devient une ligne a part, au lot 3. La classe reste posee par
   rDash(), elle ne peint plus rien. */
.clot-story{display:flex;flex-direction:column;gap:9px;margin-top:12px}
.clot-story p{margin:0;font-size:13px;line-height:1.55;color:var(--ink)}
.clot-story b{font-family:var(--mono);font-weight:600;white-space:nowrap}
.clot-story .up{color:var(--wa)}
.clot-story .dn{color:var(--ok)}