:root{--bk-f12:12px}
@media (max-width:767px){:root{--bk-f12:13px}}
/* ════════════════════════════════════════════════════════════════════════════
   L'APPLI BANQUES (29/11/2026) · tout le CSS de l'appli Banque (banque.js), chargé à la place de banque.css.
   Modèle : la grille de Raveno, faite relevé de banque : héros sombre au solde champagne et histogramme miroir trente jours, anneau
   « en ordre », travail du jour (à rapprocher, agents), comptes en cartes bancaires. Couleur signature : champagne #f1f1f7, portée
   par le solde, les entrées et la carte choisie. Socle commun : fond noir, verre .045,
   filet .14, rayon 22, police système, boutons monochromes (blanc = action principale), rouge pour l'alerte seulement.
   Première partie : les écrans de la banque d'avant (fil, fiche, comptes…), l'or de la maison remplacé par le champagne.
   Seconde partie (.bk) : le tableau de bord.
   ════════════════════════════════════════════════════════════════════════════ */
/* ════ LA BANQUE, UNE VRAIE APPLI (14/11/2026) · menu de la banque à gauche, espace au centre, fiche d'une opération à droite.
   Noir uni, un seul vert pour l'argent qui entre, le jaune de la maison pour l'attention. Aucun dégradé. ════ */
.bnq{--bq-plus:#7fdcab;--bnq-ease:cubic-bezier(.23,1,.32,1);display:grid;grid-template-columns:216px minmax(0,1fr);column-gap:36px;align-items:start;max-width:1440px}
.bnq.fiche{grid-template-columns:216px minmax(0,1fr) 372px;column-gap:28px}
.bnq-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bnq svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bnq .plus{color:var(--bq-plus)}
.bnq-gris{color:#8a8a92!important}
.bnq-l{font-size:var(--bk-f12);letter-spacing:.04em;color:var(--ecx-mute)}

/* le menu de la banque */
.bnq-nav{position:sticky;top:22px;display:flex;flex-direction:column;gap:18px}
.bnq-nav-t h1{margin:0;font-size:22px;font-weight:640;letter-spacing:-.025em}
.bnq-nav-t small{display:block;margin-top:3px;font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-nav nav{display:flex;flex-direction:column;gap:2px}
.bnq-nav nav button{appearance:none;display:flex;align-items:center;gap:11px;height:38px;padding:0 11px;border:0;border-radius:9px;background:none;color:var(--ecx-mute);font:500 14px var(--font);text-align:left;cursor:pointer;transition:background .15s ease,color .15s ease}
.bnq-nav nav button span{flex:1;min-width:0;white-space:nowrap}
.bnq-nav nav button i{font-style:normal;font-size:var(--bk-f12);font-weight:600;font-variant-numeric:tabular-nums;min-width:20px;height:20px;padding:0 6px;border-radius:10px;display:grid;place-items:center;background:var(--ecx-card2);color:#c9c9cf}
.bnq-nav nav button.on{background:var(--ecx-card2);color:var(--text);font-weight:600}
.bnq-nav nav button.on i{background:#f1f1f7;color:#17171d}
.bnq-nav nav button:focus-visible,.bnq-op:focus-visible,.bnq-carte:focus-visible,.bnq-cl:focus-visible,.bnq-ab:focus-visible,.bnq-bm:focus-visible{outline:2px solid #f1f1f7;outline-offset:2px}
.bnq-nav-b{display:flex;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid var(--ecx-line)}
.bnq-nav-b .btn{justify-content:center;gap:7px}
.bnq-nav-b .pl-lien{align-self:flex-start;margin:4px 0 0;font-size:var(--bk-f12);color:#8a8a92}
.bnq-navm{display:none}
.bnq-main{min-width:0}

/* têtes d'espace, outils */
.bnq-tete{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.bnq-tete h2{margin:0;font-size:22px;font-weight:640;letter-spacing:-.025em}
.bnq-tete p{margin:4px 0 0;font-size:14px;color:var(--ecx-mute)}
.bnq-tete .btn{gap:7px}
.bnq select,.bnq-regf input,.bnq-ch textarea{appearance:none;height:38px;padding:0 12px;border:1px solid var(--ecx-line);border-radius:10px;background:var(--ecx-card);color:var(--text);font:13.5px var(--font)}
.bnq select{padding-right:30px;background:var(--ecx-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9aa2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center/14px;cursor:pointer;max-width:100%}
.bnq select:focus-visible,.bnq input:focus-visible,.bnq textarea:focus-visible{outline:2px solid #f1f1f7;outline-offset:1px}
.bnq-outils{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bnq-q{flex:1 1 240px}
.bnq-puce{appearance:none;height:38px;padding:0 13px;border:1px solid var(--ecx-line);border-radius:10px;background:var(--ecx-card);color:var(--ecx-mute);font:500 13px var(--font);cursor:pointer;transition:border-color .15s ease,color .15s ease}
.bnq-puce.on{border-color:#f1f1f7;color:#f1f1f7}
.bnq-tot{display:flex;gap:22px;flex-wrap:wrap;margin:16px 2px 0;font-size:var(--bk-f12);color:var(--ecx-mute)}
.bnq-tot b{margin-left:6px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text)}
.bnq-tot b.plus{color:var(--bq-plus)}
.bnq-aide{max-width:68ch;margin:0 0 16px;font-size:14px;line-height:1.55;color:var(--ecx-mute)}
.bnq-pied{margin:22px 2px 0;font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-esp{margin-top:30px}

/* vue d'ensemble */
.bnq-haut{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:1px;border:1px solid var(--ecx-line);border-radius:18px;overflow:hidden;background:var(--ecx-line)}
.bnq-solde{display:flex;flex-direction:column;gap:6px;padding:26px 28px;background:var(--ecx-card)}
.bnq-solde b{font-size:32px;line-height:1.05;font-weight:620;letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap}
.bnq-solde small,.bnq-flux small{font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-flux{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--ecx-line)}
.bnq-flux>div{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:20px 22px;background:var(--ecx-card);min-width:0}
.bnq-flux b{font-size:22px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.bnq-prev{grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--ecx-line);border-radius:18px;overflow:hidden}
.bnq-faire{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.bnq-carte{appearance:none;display:flex;flex-direction:column;gap:2px;padding:16px 18px;border:1px solid var(--ecx-line);border-radius:14px;background:var(--ecx-card);color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .16s var(--bnq-ease)}
.bnq-carte b{font-size:32px;font-weight:620;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.bnq-carte span{font-size:14px;color:#d5d5da}
.bnq-carte small{font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-carte.zero b{color:#6c6c74}
.bnq-carte:active{transform:scale(.985)}
.bnq-bloc{margin-top:30px}
.bnq-2col .bnq-bloc{margin-top:0}
.bnq-bloc-t{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.bnq-bloc-t h3{margin:0;font-size:16px;font-weight:620;letter-spacing:-.012em}
.bnq-bloc-t .pl-lien{margin:0;font-size:var(--bk-f12)}
.bnq-leg{display:flex;align-items:center;gap:6px;font-size:var(--bk-f12);color:var(--ecx-mute)}
.bnq-leg i{width:9px;height:9px;border-radius:2px;background:#4a4a52;margin-left:10px}
.bnq-leg i.plus{background:var(--bq-plus)}
.bnq-barres{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;height:190px;padding:18px 18px 12px;border:1px solid var(--ecx-line);border-radius:16px;background:var(--ecx-card)}
.bnq-bm{appearance:none;display:flex;flex-direction:column;gap:8px;min-width:0;padding:0;border:0;border-radius:6px;background:none;color:var(--ecx-faint);font:inherit;cursor:pointer}
.bnq-bm span{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:3px}
.bnq-bm i{width:min(14px,38%);min-height:2px;border-radius:3px 3px 0 0;background:#4a4a52;transition:opacity .15s ease}
.bnq-bm i.plus{background:var(--bq-plus)}
.bnq-bm small{font-size:var(--bk-f12);text-align:center;text-transform:capitalize}
.bnq-2col{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:36px;margin-top:30px}
.bnq-cl{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 4px;border:0;border-bottom:1px solid var(--ecx-line);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.bnq-cl b{display:block;font-size:14px;font-weight:500}
.bnq-cl small{font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-cl i{font-style:normal;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}

/* une opération */
.bnq-jour{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:22px 2px 4px;font-size:var(--bk-f12);font-weight:500;color:var(--ecx-mute)}
.bnq-jour i{font-style:normal;font-variant-numeric:tabular-nums;color:var(--ecx-faint)}
.bnq-op{appearance:none;display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:14px;width:100%;min-height:58px;padding:8px 8px;border:0;border-bottom:1px solid var(--ecx-line);border-radius:0;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:background .12s ease}
.bnq-op.on{background:var(--ecx-card2);border-radius:10px;border-bottom-color:transparent}
.bnq-ic{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ecx-card2);color:var(--ecx-mute)}
.bnq-ic svg{width:16px;height:16px}
.bnq-op-t{min-width:0}
.bnq-op-t b{display:block;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bnq-op-t small{display:block;font-size:var(--bk-f12);color:var(--ecx-faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bnq-marques{display:flex;gap:8px;color:#77777f}
.bnq-marques i{display:grid}.bnq-marques i.ok{color:var(--bq-plus)}
.bnq-marques svg{width:15px;height:15px}
.bnq-m{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.bnq-suite{margin-top:18px}

/* la fiche d'une opération */
.bnq-fiche{position:sticky;top:22px;max-height:calc(100dvh - 44px);overflow-y:auto;display:flex;flex-direction:column;gap:16px;padding:20px 22px 26px;border:1px solid var(--ecx-line);border-radius:18px;background:var(--ecx-card);animation:bnqFiche .22s var(--bnq-ease) both}
.bnq-fiche[hidden]{display:none}
@keyframes bnqFiche{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:none}}
.bnq-f-t{display:flex;align-items:center;gap:10px;font-size:var(--bk-f12);color:var(--ecx-mute)}
.bnq-x{appearance:none;display:grid;place-items:center;width:32px;height:32px;margin-left:-6px;border:0;border-radius:8px;background:none;color:var(--ecx-mute);cursor:pointer}
.bnq-f-m{font-size:32px;font-weight:620;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.05}
.bnq-fiche h3{margin:-8px 0 0;font-size:16px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.bnq-f-c{margin:-10px 0 0;font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-f-fac{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid #2f4a3a;border-radius:11px;font-size:14px;color:var(--bq-plus)}
.bnq-f-fac .pl-lien{margin:0;font-size:var(--bk-f12);color:#8a8a92}
.bnq-ch{display:flex;flex-direction:column;gap:6px}
.bnq-ch>span{font-size:var(--bk-f12);letter-spacing:.03em;color:var(--ecx-mute)}
.bnq-ch select{width:100%;background-color:var(--ecx-card2)}
.bnq-ch small{font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-ch small:empty{display:none}
.bnq-ch textarea{height:auto;padding:10px 12px;background:var(--ecx-card2);line-height:1.5;resize:vertical}
.bnq-regle{appearance:none;align-self:flex-start;margin-top:-8px;padding:0;border:0;background:none;color:#a9a9b1;font:500 12.5px var(--font);text-align:left;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#4a4a52;cursor:pointer;overflow-wrap:anywhere}
.bnq-depot{display:flex;flex-direction:column;gap:3px;padding:16px;border:1px dashed #4a4a52;border-radius:12px;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.bnq-depot b{font-size:14px;font-weight:600}
.bnq-depot.sur{border-color:#f1f1f7;background:var(--ecx-card2)}
.bnq-piece{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid var(--ecx-line);border-radius:11px}
.bnq-piece .pl-lien,.bnq-ch>.pl-lien{margin:0;font-size:var(--bk-f12);text-align:left;overflow-wrap:anywhere}
.bnq-coche{display:flex;align-items:flex-start;gap:10px;font-size:14px;cursor:pointer}
.bnq-coche input{width:17px;height:17px;margin:2px 0 0;accent-color:#f1f1f7}
.bnq-coche small{display:block;font-size:var(--bk-f12);color:var(--ecx-faint)}

/* comptes */
.bnq-cptes{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.bnq-cpt{display:flex;flex-direction:column;gap:4px;padding:20px 22px;border:1px solid var(--ecx-line);border-radius:16px;background:var(--ecx-card)}
.bnq-cpt h3{margin:2px 0 0;font-size:16px;font-weight:600;overflow-wrap:anywhere}
.bnq-cpt>b{margin:8px 0 6px;font-size:32px;font-weight:620;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.bnq-cpt small{font-size:var(--bk-f12);color:var(--ecx-faint);font-variant-numeric:tabular-nums}
.bnq-cpt-b{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--ecx-line)}
.bnq-cpt-b .pl-lien{margin:0;font-size:var(--bk-f12)}

/* à encaisser */
.bnq-rap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:16px 18px;margin-bottom:10px;border:1px solid var(--ecx-line);border-radius:14px;background:var(--ecx-card)}
.bnq-rap b{display:block;font-size:14px;font-weight:600}
.bnq-rap small{font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-rap em{font-style:normal;color:#f1f1f7}
.bnq-rap-c{grid-column:1/-1}
.bnq-rap-c p{max-width:70ch;margin:4px 0 0;font-size:var(--bk-f12);line-height:1.5;color:var(--ecx-mute)}
.bnq-cand{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-top:8px;padding-top:10px;border-top:1px solid var(--ecx-line);font-size:var(--bk-f12);color:#c9c9cf}
.bnq-cand b{display:inline;font-size:var(--bk-f12);color:var(--bq-plus)}
.bnq-pay{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:12px 4px;border-bottom:1px solid var(--ecx-line)}
.bnq-pay b{display:block;font-size:14px;font-weight:500}
.bnq-pay small{font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-pay .pl-lien{margin:0;font-size:var(--bk-f12)}
.bnq-pay i{font-style:normal;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}

/* justificatifs */
.bnq-jauge{height:6px;margin:-6px 0 16px;border-radius:3px;background:var(--ecx-card2);overflow:hidden}
.bnq-jauge i{display:block;height:100%;border-radius:3px;background:var(--bq-plus)}

/* catégories */
.bnq-tab{border:1px solid var(--ecx-line);border-radius:16px;background:var(--ecx-card);overflow:hidden}
.bnq-tr{display:grid;grid-template-columns:minmax(150px,1.5fr) repeat(6,minmax(0,1fr)) minmax(0,1.1fr);align-items:center;gap:8px;min-height:44px;padding:0 18px;border-bottom:1px solid var(--ecx-line);font-size:14px;font-variant-numeric:tabular-nums}
.bnq-tr:last-child{border-bottom:0}
.bnq-tr>*{text-align:right;white-space:nowrap}
.bnq-tr>:first-child{text-align:left;overflow:hidden;text-overflow:ellipsis}
.bnq-tr.th{min-height:38px;font-size:var(--bk-f12);color:var(--ecx-mute)}.bnq-cap{text-transform:capitalize}
.bnq-tr.tot{font-weight:600;background:var(--ecx-card2)}
.bnq-tr button{appearance:none;margin:0;padding:6px 0;border:0;background:none;color:#c9c9cf;font:inherit;cursor:pointer}
.bnq-tr button:disabled{color:#55555c;cursor:default}
.bnq-tr button.pl-lien{color:var(--text);font-weight:500;text-decoration:none}
.bnq-regf{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.bnq-regf input{flex:1 1 240px}
.bnq-regf .btn{gap:7px}
.bnq-reg{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:12px 4px;border-bottom:1px solid var(--ecx-line);font-size:14px;color:#c9c9cf}
.bnq-reg b{color:var(--text);font-weight:600}
.bnq-reg i{font-style:normal;font-size:var(--bk-f12);color:var(--ecx-mute)}
.bnq-reg .pl-lien{margin:0;font-size:var(--bk-f12)}

/* dépenses récurrentes */
.bnq-ab{appearance:none;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 4px;gap:8px 16px;align-items:center;width:100%;padding:14px 4px;border:0;border-bottom:1px solid var(--ecx-line);background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.bnq-ab span b{display:block;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bnq-ab span small{display:block;font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-ab>b{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.bnq-ab>b small{font-size:var(--bk-f12);font-weight:400;color:var(--ecx-faint)}
.bnq-ab>i{grid-column:1/-1;grid-row:2;position:relative;height:4px;border-radius:2px;background:#232327}
.bnq-ab>i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--p);border-radius:2px;background:#d8d8de}

/* prévision */
.bnq-courbe{margin:12px 0 16px;padding:18px 18px 10px;border:1px solid var(--ecx-line);border-radius:16px;background:var(--ecx-card)}
.bnq-courbe svg{display:block;width:100%;height:170px;overflow:visible}
.bnq-courbe path{fill:none;stroke:#e9e9ee;stroke-width:1.8}
.bnq-courbe line{stroke:#f1f1f7;stroke-width:1;stroke-dasharray:4 4}
.bnq-courbe div{display:flex;justify-content:space-between;margin-top:10px;font-size:var(--bk-f12);color:var(--ecx-faint)}
.bnq-ev{display:grid;grid-template-columns:62px minmax(0,1fr) auto 110px;align-items:center;gap:14px;padding:11px 4px;border-bottom:1px solid var(--ecx-line)}
.bnq-ev time{font-size:var(--bk-f12);color:var(--ecx-mute)}
.bnq-ev b{display:block;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bnq-ev small{font-size:var(--bk-f12);color:var(--ecx-faint);font-variant-numeric:tabular-nums}
.bnq-ev>small{text-align:right}
.bnq-ev i{font-style:normal;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}

.bnq-vide{max-width:520px;margin:20px 0;padding:30px;border:1px solid var(--ecx-line);border-radius:18px;background:var(--ecx-card)}
.bnq-vide b{display:block;font-size:22px;font-weight:620;letter-spacing:-.015em}
.bnq-vide p{margin:8px 0 20px;font-size:14px;line-height:1.55;color:var(--ecx-mute)}

@media (hover:hover) and (pointer:fine){
  .bnq-nav nav button:hover{color:var(--text)}.bnq-op:hover{background:var(--ecx-card)}.bnq-carte:hover{border-color:#4a4a52}.bnq-x:hover{background:var(--ecx-card2);color:var(--text)}
  .bnq-cl:hover b,.bnq-ab:hover span b{text-decoration:underline;text-underline-offset:3px}.bnq-bm:hover i{opacity:.75}.bnq-tr button:not(:disabled):hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}.bnq-depot:hover{border-color:#8a8a92}.bnq-regle:hover{color:var(--text)}
}
@media (prefers-reduced-motion:reduce){.bnq-fiche{animation:none}.bnq-carte{transition:none}}
@media (max-width:1280px){.bnq.fiche{grid-template-columns:216px minmax(0,1fr)}
  .bnq-fiche{position:fixed;z-index:60;top:0;right:0;bottom:0;width:min(400px,100vw);max-height:none;border-radius:18px 0 0 18px;border-width:0 0 0 1px;box-shadow:-24px 0 60px rgba(0,0,0,.5)}}
@media (max-width:1100px){.bnq-faire{grid-template-columns:repeat(2,minmax(0,1fr))}.bnq-2col{grid-template-columns:1fr;gap:0}.bnq-2col .bnq-bloc{margin-top:30px}.bnq-prev{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){
  .bnq,.bnq.fiche{grid-template-columns:minmax(0,1fr)}
  .bnq-nav{position:static;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
  .bnq-nav nav{display:none}.bnq-nav-b{flex-direction:row;padding:0;border:0}.bnq-nav-b .pl-lien{display:none}
  .bnq-navm{display:block;margin-bottom:22px}.bnq-navm select{width:100%;height:46px;font-size:16px;font-weight:600}
  .bnq-haut{grid-template-columns:1fr}.bnq-solde b{font-size:32px}
  .bnq-tr{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));padding:0 14px}.bnq-tr>:nth-child(2),.bnq-tr>:nth-child(3),.bnq-tr>:nth-child(4){display:none}
}
@media (max-width:560px){
  .bnq-flux,.bnq-prev{grid-template-columns:1fr}.bnq-flux>div{padding:15px 18px}.bnq-faire{gap:8px}.bnq-carte{padding:14px}
  .bnq-barres{height:150px;padding:14px 10px 10px;gap:3px}.bnq-bm small{font-size:var(--bk-f12)}.bnq-bm:nth-child(odd) small{visibility:hidden}
  .bnq-outils>label:not(.bnq-q),.bnq-outils>.et-seg,.bnq-outils>.bnq-puce{flex:1 1 calc(50% - 4px)}.bnq-outils select{width:100%}.bnq-outils .et-seg{display:flex}.bnq-outils .et-seg button{flex:1}
  .bnq select,.bnq-regf input,.bnq-ch textarea,.bnq-q input{font-size:16px}
  .bnq-op{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:8px 2px}.bnq-ic{width:30px;height:30px}.bnq-marques{display:none}.bnq-m{font-size:14px}
  .bnq-fiche{width:100vw;border-radius:0;border:0;padding:16px 18px 40px}
  .bnq-ev{grid-template-columns:52px minmax(0,1fr) auto}.bnq-ev>small{display:none}
  .bnq-pay{grid-template-columns:minmax(0,1fr) auto}.bnq-pay>.pl-lien,.bnq-pay>small{grid-column:1;grid-row:2}
  .bnq-tete .btn,.bnq-cand .btn,.bnq-regf .btn{width:100%;justify-content:center}
  .bnq-reg{grid-template-columns:minmax(0,1fr) auto}.bnq-reg i{grid-column:1;grid-row:2}
}

/* ════ PLUS D'AIR ET LE FIL FAÇON INDY (14/11, 0 h 30) · François : « encore plus aéré, mieux, plus de fonctions, facilité de
   profondeur ». Tout respire davantage ; une ligne du fil porte son étiquette de couleur, son trombone et son montant. ════ */
.bnq{grid-template-columns:228px minmax(0,1fr);column-gap:56px;padding-top:38px}
.bnq.fiche{grid-template-columns:228px minmax(0,1fr) 392px;column-gap:36px}
.bnq-nav{gap:26px;top:30px}
.bnq-nav-t h1{font-size:32px}
.bnq-nav nav{gap:4px}
.bnq-nav nav button{height:42px;padding:0 13px;gap:13px;font-size:14px;border-radius:11px}
.bnq-tete{margin-bottom:30px}
.bnq-tete h2{font-size:32px;letter-spacing:-.03em}
.bnq-tete p{margin-top:7px;font-size:14px}
.bnq-tete .btn.on{border-color:#f1f1f7;color:#f1f1f7}
.bnq-haut{border-radius:22px}.bnq-solde{padding:32px 34px;gap:9px}.bnq-solde b{font-size:32px}
.bnq-flux>div{padding:26px 26px;gap:9px}.bnq-flux b{font-size:22px}
.bnq-faire{gap:14px;margin-top:16px}.bnq-carte{padding:22px 24px;gap:4px;border-radius:18px}.bnq-carte b{font-size:32px}.bnq-carte span{font-size:14px}
.bnq-bloc{margin-top:46px}.bnq-bloc-t{margin-bottom:14px}.bnq-bloc-t h3{font-size:16px}
.bnq-barres{height:230px;padding:26px 26px 16px;border-radius:20px;gap:10px}
.bnq-2col{gap:56px;margin-top:46px}
.bnq-cl{padding:16px 4px}.bnq-cl b{font-size:14px}
.bnq-aide{margin-bottom:22px;font-size:14px;line-height:1.6}
.bnq-esp{margin-top:52px}

/* les onglets du fil */
.bnq-onglets{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}
.bnq-onglets button{appearance:none;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 15px;border:1px solid transparent;border-radius:19px;background:none;color:var(--ecx-mute);font:500 14px var(--font);cursor:pointer;transition:background .15s ease,color .15s ease}
.bnq-onglets button i{font-style:normal;font-size:var(--bk-f12);font-weight:600;font-variant-numeric:tabular-nums;min-width:20px;height:20px;padding:0 6px;border-radius:10px;display:grid;place-items:center;background:var(--ecx-card2);color:#c9c9cf}
.bnq-onglets button.on{background:#f5f5f7;color:#0b0b0d;font-weight:600}
.bnq-onglets button.on i{background:#0b0b0d;color:#f5f5f7}
.bnq-onglets button:focus-visible{outline:2px solid #f1f1f7;outline-offset:2px}
.bnq-outils{gap:10px;align-items:flex-start}
.bnq-outils>label,.bnq-q{height:42px}.bnq select,.bnq-regf input{height:42px}
.bnq-filtres{flex:0 0 auto}
.bnq-filtres summary{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;border:1px solid var(--ecx-line);border-radius:10px;background:var(--ecx-card);color:var(--ecx-mute);font:500 13.5px var(--font);cursor:pointer;list-style:none;user-select:none}
.bnq-filtres summary::-webkit-details-marker{display:none}
.bnq-filtres summary i{font-style:normal;font-size:var(--bk-f12);font-weight:600;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;background:#f1f1f7;color:#17171d}
.bnq-filtres[open]{flex:1 1 100%}.bnq-filtres[open] summary{color:var(--text)}
.bnq-filtres>div{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:12px;padding:16px 18px;border:1px solid var(--ecx-line);border-radius:14px;background:var(--ecx-card)}
.bnq-filtres>div label{display:flex;flex-direction:column;gap:6px;font-size:var(--bk-f12);color:var(--ecx-mute)}
.bnq-filtres>div select{background-color:var(--ecx-card2)}
.bnq-filtres>div .pl-lien{margin:0 0 12px;font-size:var(--bk-f12)}
.bnq-tot{margin:22px 2px 0;gap:28px;font-size:14px}

/* une ligne du fil */
.bnq-mois{display:flex;align-items:baseline;gap:18px;margin:44px 2px 0;padding-bottom:12px;border-bottom:1px solid var(--ecx-line2);font-size:22px;font-weight:620;letter-spacing:-.015em}
.bnq-mois:first-child{margin-top:26px}
.bnq-mois span{flex:1}
.bnq-mois i{font-style:normal;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--ecx-mute)}
.bnq-jour{margin:26px 2px 6px;font-size:var(--bk-f12);font-weight:500;letter-spacing:.02em;color:var(--ecx-faint)}
.bnq-op{display:flex;grid-template-columns:none;align-items:center;gap:16px;min-height:72px;padding:12px 12px;border-bottom:1px solid var(--ecx-line);border-radius:0;cursor:pointer;outline:0;transition:background .12s ease}
.bnq-op.on{background:var(--ecx-card2);border-radius:14px;border-bottom-color:transparent}
.bnq-op.sel{background:rgba(247,246,240,.07);border-radius:14px}
.bnq-op.sur{background:var(--ecx-card2);border-radius:14px;box-shadow:inset 0 0 0 1.5px #f1f1f7}
.bnq-ck{flex:none;width:18px;height:18px;margin:0;accent-color:#f1f1f7;cursor:pointer}
.bnq-ic{position:relative;flex:none;width:40px;height:40px}
.bnq-ic em{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--bq-plus);color:#0b0b0d;box-shadow:0 0 0 2.5px #0b0b0d}
.bnq-ic em svg{width:10px;height:10px;stroke-width:3}
.bnq-op-t{flex:1 1 0;min-width:0}
.bnq-op-t b{font-size:16px;font-weight:540}
.bnq-op-t small{margin-top:2px;font-size:var(--bk-f12)}
.bnq-op-t small:empty{display:none}
.bnq-mcat{display:none}
.bnq-chip{appearance:none;flex:none;display:inline-flex;align-items:center;gap:8px;max-width:230px;height:32px;padding:0 13px;border:1px solid var(--ecx-line);border-radius:16px;background:var(--ecx-card);color:#d5d5da;font:500 13px var(--font);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:border-color .15s ease,color .15s ease,background .15s ease}
button.bnq-chip{cursor:pointer}
.bnq-chip i{flex:none;width:8px;height:8px;border-radius:50%}
.bnq-chip.vide{border-style:dashed;border-color:#5a5a62;color:#f1f1f7;background:none}
.bnq-chip.vide i{display:none}
.bnq-chip.fac{border-color:#2f4a3a;color:var(--bq-plus)}.bnq-chip.fac i{background:var(--bq-plus)}
.bnq-clip,.bnq-clip0{flex:none;width:34px;height:34px}
.bnq-clip{appearance:none;display:grid;place-items:center;padding:0;border:0;border-radius:9px;background:none;color:#5f5f67;cursor:pointer;transition:background .15s ease,color .15s ease}
.bnq-clip.ok{color:var(--bq-plus)}
.bnq-clip:focus-visible,.bnq-chip:focus-visible,.bnq-op:focus-visible{outline:2px solid #f1f1f7;outline-offset:2px}
.bnq-m{flex:none;min-width:118px;text-align:right;font-size:16px}
.bnq-suite{margin-top:26px}
.bnq-rien{padding:54px 20px;text-align:center}
.bnq-rien b{display:block;font-size:22px;font-weight:620;letter-spacing:-.015em}
.bnq-rien p{margin:8px 0 0;font-size:14px;color:var(--ecx-mute)}

/* la fenêtre des catégories, sous l'étiquette */
.bnq-choix{position:fixed;z-index:80;width:280px;padding:10px;border:1px solid var(--ecx-line2,rgba(255,255,255,.14));border-radius:16px;background:#17171a;color:#f5f5f7;box-shadow:0 22px 60px rgba(0,0,0,.55);animation:bnqChoix .16s cubic-bezier(.23,1,.32,1) both}
@keyframes bnqChoix{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
.bnq-choix input{width:100%;height:38px;padding:0 12px;margin-bottom:8px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#0f0f11;color:inherit;font:14px var(--font)}
.bnq-choix input:focus-visible{outline:2px solid #f1f1f7;outline-offset:1px}
.bnq-choix>div{display:flex;flex-direction:column;gap:1px;max-height:min(360px,50vh);overflow-y:auto}
.bnq-choix button{appearance:none;display:flex;align-items:center;gap:11px;height:38px;padding:0 10px;border:0;border-radius:9px;background:none;color:#d5d5da;font:500 14px var(--font);text-align:left;cursor:pointer}
.bnq-choix button[hidden]{display:none}
.bnq-choix button i{flex:none;width:9px;height:9px;border-radius:50%}
.bnq-choix button.on{background:#232327;color:#fff}
.bnq-choix button:focus-visible{outline:2px solid #f1f1f7;outline-offset:-2px}

/* la barre de sélection multiple */
.bnq-lot{position:sticky;bottom:18px;z-index:30;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px;padding:12px 14px 12px 20px;border:1px solid var(--ecx-line2);border-radius:16px;background:#1c1c20;box-shadow:0 18px 50px rgba(0,0,0,.5)}
.bnq-lot[hidden]{display:none}
.bnq-lot b{font-size:14px;font-weight:600}
.bnq-lot .pl-lien{margin:0 6px 0 0;font-size:var(--bk-f12)}

/* la fiche, plus posée */
.bnq-fiche{top:30px;max-height:calc(100dvh - 60px);gap:20px;padding:24px 26px 30px;border-radius:22px}
.bnq-f-t em{display:inline-flex;align-items:center;gap:5px;margin-left:auto;font-style:normal;font-size:var(--bk-f12);font-weight:600;color:var(--bq-plus)}
.bnq-f-t em svg{width:13px;height:13px;stroke-width:2.6}
.bnq-f-m{font-size:32px}
.bnq-fiche h3{font-size:16px}
.bnq-ch{gap:8px}
.bnq-ch .pl-lien{align-self:flex-start;margin:0;font-size:var(--bk-f12)}
.bnq-vl{display:grid;grid-template-columns:minmax(0,1fr) 96px 32px;gap:6px;margin-bottom:6px}
.bnq-vl input{height:42px;padding:0 10px;border:1px solid var(--ecx-line);border-radius:10px;background:var(--ecx-card2);color:var(--text);font:13.5px var(--font);font-variant-numeric:tabular-nums;text-align:right;min-width:0}
.bnq-vl .bnq-x{margin:5px 0 0;width:32px}.bnq-vl .bnq-x:disabled{opacity:.3;cursor:default}
.bnq-vp{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px}
.bnq-vp small{font-size:var(--bk-f12);color:var(--bq-plus)}.bnq-vp small.ko{color:#f1f1f7}
.bnq-sem{padding-top:18px;border-top:1px solid var(--ecx-line)}
.bnq-sem p{margin:0 0 4px;font-size:14px;color:#d5d5da}
.bnq-sem button[data-sem]{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:10px;height:36px;padding:0 2px;border:0;border-bottom:1px solid var(--ecx-line);background:none;color:var(--ecx-mute);font:13px var(--font);font-variant-numeric:tabular-nums;cursor:pointer}
.bnq-sem button[data-sem] i{font-style:normal;color:var(--text);font-weight:500}

/* catégories, comptes, récurrentes : plus d'air aussi */
.bnq-cptes{gap:16px}.bnq-cpt{padding:26px 28px;border-radius:20px}.bnq-cpt>b{font-size:32px;margin:12px 0 8px}
.bnq-tab{border-radius:20px}.bnq-tr{min-height:54px;padding:0 24px;font-size:14px}.bnq-tr.th{min-height:44px}
.bnq-tc{display:inline-flex!important;align-items:center;gap:10px;color:var(--text)!important;font-weight:500!important}
.bnq-tc i{flex:none;width:8px;height:8px;border-radius:50%}
.bnq-ab{padding:20px 4px;gap:10px 18px}.bnq-ab span b{font-size:16px}
.bnq-rap{padding:22px 24px;margin-bottom:14px;border-radius:18px}.bnq-rap b{font-size:16px}
.bnq-pay,.bnq-reg,.bnq-ev{padding:16px 4px}
.bnq-courbe{margin:16px 0 22px;padding:26px 26px 14px;border-radius:20px}.bnq-courbe svg{height:200px}
.bnq-prev{border-radius:22px}

@media (hover:hover) and (pointer:fine){
  .bnq-op:hover{background:var(--ecx-card);border-radius:14px}.bnq-onglets button:not(.on):hover{background:var(--ecx-card2);color:var(--text)}
  button.bnq-chip:hover{border-color:#8a8a92;color:var(--text)}.bnq-chip.vide:hover{border-color:#f1f1f7;background:rgba(247,246,240,.08)}
  .bnq-clip:hover{background:var(--ecx-card2);color:var(--text)}.bnq-choix button:hover{background:#232327;color:#fff}.bnq-filtres summary:hover{color:var(--text)}
  .bnq-sem button[data-sem]:hover{color:var(--text)}.bnq-tc:hover{text-decoration:underline;text-underline-offset:3px}
}
@media (prefers-reduced-motion:reduce){.bnq-choix{animation:none}}
@media (max-width:1280px){.bnq.fiche{grid-template-columns:228px minmax(0,1fr)}.bnq-fiche{top:0;max-height:none;border-radius:22px 0 0 22px}}
@media (max-width:1100px){.bnq,.bnq.fiche{column-gap:36px}.bnq-chip{max-width:170px}}
@media (max-width:900px){.bnq,.bnq.fiche{grid-template-columns:minmax(0,1fr);padding-top:22px}.bnq-tete h2{font-size:32px}.bnq-solde b{font-size:32px}.bnq-2col{gap:0}
  .bnq-tr{padding:0 16px}}
@media (max-width:560px){
  .bnq-onglets{gap:4px}.bnq-onglets button{height:36px;padding:0 12px;font-size:14px}
  .bnq-outils>label:not(.bnq-q){flex:1 1 calc(50% - 5px)}.bnq-filtres{flex:1 1 calc(50% - 5px)}.bnq-filtres summary{width:100%;justify-content:center}.bnq-filtres>div label{flex:1 1 100%}
  .bnq-op{gap:12px;min-height:66px;padding:11px 2px}.bnq-ic{width:36px;height:36px}.bnq-chip,.bnq-clip,.bnq-clip0{display:none}.bnq-mcat{display:block}
  .bnq-m{min-width:0;font-size:14px}.bnq-op-t b{font-size:14px}
  .bnq-mois{font-size:16px;margin-top:34px;flex-wrap:wrap;gap:4px 14px}.bnq-mois span{flex:1 1 100%}
  .bnq-lot{bottom:10px;padding:12px}.bnq-lot b{flex:1 1 100%}.bnq-lot .btn{flex:1 1 auto;justify-content:center}
  .bnq-choix{left:8px!important;right:8px;width:auto}
  .bnq-carte{padding:16px}.bnq-carte b{font-size:32px}.bnq-barres{height:160px;padding:16px 10px 10px;gap:3px}.bnq-cpt{padding:20px}
  .bnq-fiche{border-radius:0;padding:18px 18px 44px}
}
@media (max-width:1100px){.bnq-2col{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.bnq-tete{margin-bottom:20px;gap:10px}.bnq-tete .btn{width:auto;flex:1 1 0}.bnq-q{flex:1 1 100%}.bnq-nav{margin-bottom:10px}.bnq-navm{margin-bottom:18px}.bnq-tot{margin-top:16px;gap:6px 22px}}

/* ════ LA BARRE DE GAUCHE EST CELLE DE L'APPLI (14/11, 1 h) · plus de colonne de banque dans la page : le menu vit dans la barre du
   Studio (barreModule), avec « Accueil » en haut. La page n'a plus que l'espace choisi et, à droite, la fiche d'une opération. ════ */
.bnq,.bnq.fiche{grid-template-columns:minmax(0,1fr);column-gap:40px;max-width:1320px}
.bnq.fiche{grid-template-columns:minmax(0,1fr) 392px}
.bnq:not(.fiche) .bnq-main{width:100%;max-width:1080px;margin:0 auto}
@media (max-width:1280px){.bnq.fiche{grid-template-columns:minmax(0,1fr)}}

/* ════ LE TABLEAU DE BORD (29/11/2026, refait après le juge) ═══════════════════
   Un relevé, pas l'accueil : héros sombre au solde champagne et histogramme miroir, anneau « en ordre », travail du jour juste
   dessous, comptes en cartes bancaires. Le champagne est la seule couleur ; le gris dit la sortie ; le rouge, le retard. */
.bnq{--bk-ch:#f1f1f7;--bk-ch2:#d8d8de;--bk-ink:#1d1a14;--bk-v:rgba(255,255,255,.045);--bk-l:rgba(255,255,255,.14);--bk-l2:rgba(255,255,255,.08);
  --bk-t:#f3f3f6;--bk-m:rgba(243,243,246,.64);--bk-f:rgba(243,243,246,.44);--bk-well:rgba(255,255,255,.035);--bk-e:cubic-bezier(.22,1,.36,1);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",system-ui,sans-serif}
body #view .ecx-page.bnq{display:grid;grid-template-columns:minmax(0,1fr);column-gap:28px;padding-top:6px;max-width:1440px}
body #view .ecx-page.bnq.fiche{grid-template-columns:minmax(0,1fr) 372px}
.bnq::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(620px 420px at 82% 0%,rgba(241,241,247,.09),transparent 70%),radial-gradient(520px 420px at 12% 100%,rgba(120,130,160,.06),transparent 70%)}
.bnq button{font-family:inherit}
.bk{display:flex;flex-direction:column;gap:16px;min-width:0}
.bk svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* en-tête : titre court, une phrase insécable, deux boutons monochromes */
.bk-tete{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:0 0 4px}
body #view .ecx-page .bk-tete h2{margin:0;font-size:22px;line-height:1.1;font-weight:620;letter-spacing:-.025em;color:var(--bk-t)}
.bk-tete p{margin:5px 0 0;font-size:var(--bk-f12);color:var(--bk-m)}
.bk-tb{display:flex;gap:8px}
.bk-src{font-size:var(--bk-f12);color:var(--bk-f);padding:1px 6px;border:1px solid var(--bk-l2);border-radius:6px;cursor:help;white-space:nowrap}
.bk-b{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border:1px solid var(--bk-l);border-radius:11px;background:rgba(255,255,255,.06);color:var(--bk-t);font-weight:600;font-size:var(--bk-f12);line-height:1;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s ease,transform .12s ease}
.bk-b:hover{background:rgba(255,255,255,.11)}
.bk-b:active{transform:scale(.97)}
.bk-b1{background:#f4f4f6;border-color:#f4f4f6;color:#0b0b0d}.bk-b1:hover{background:#fff}
.bk-bs{height:28px;padding:0 11px;border-radius:9px;font-size:var(--bk-f12);gap:6px}
.bk-b:disabled,.bk-oui:disabled{opacity:.5;cursor:default}
.bk-lien{appearance:none;border:0;background:none;padding:2px 0;color:var(--bk-t);font-weight:600;font-size:var(--bk-f12);font-family:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.bk-lien:hover{text-decoration-color:var(--bk-t)}
.bk-ico{appearance:none;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:10px;background:none;color:var(--bk-t);cursor:pointer;flex:none}
.bk-ico:hover{background:rgba(255,255,255,.08)}
.bk-oui{appearance:none;height:28px;padding:0 14px;border:0;border-radius:9px;background:#f4f4f6;color:#0b0b0d;font-weight:700;font-size:var(--bk-f12);line-height:1;font-family:inherit;cursor:pointer;flex:none;transition:transform .12s ease,background .15s ease}
.bk-oui:hover{background:#fff}.bk-oui:active{transform:scale(.96)}
.bk :focus-visible{outline:2px solid var(--bk-ch);outline-offset:2px}

/* les écrans de la banque en pastilles : seulement là où la barre de gauche n'est pas (téléphone) */
.bk-sous{display:none}
.bk-sous button{appearance:none;flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 13px;border:1px solid var(--bk-l);border-radius:99px;background:rgba(255,255,255,.04);color:var(--bk-m);font-weight:560;font-size:var(--bk-f12);line-height:1;font-family:inherit;white-space:nowrap;cursor:pointer}
.bk-sous button.on{background:#f4f4f6;border-color:#f4f4f6;color:#0b0b0d}
.bk-sous button i{font-style:normal;font-size:var(--bk-f12);font-weight:700;min-width:18px;height:18px;padding:0 5px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.1);color:var(--bk-t);font-variant-numeric:tabular-nums}
.bk-sous button.on i{background:#0b0b0d;color:#f4f4f6}

/* les cartes de verre */
.bk-c{position:relative;min-width:0;padding:18px 20px;border:1px solid var(--bk-l);border-radius:22px;background:var(--bk-v)}
.bk-ct{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.bk-ct>div{flex:1;min-width:0}
body #view .ecx-page .bk-ct h3,body #view .ecx-page .bk-sect h3{margin:0;font-size:14px;line-height:1.25;font-weight:600;letter-spacing:-.01em;color:var(--bk-t)}
.bk-ct p{margin:3px 0 0;font-size:var(--bk-f12);color:var(--bk-m);line-height:1.4}
.bk-vide{margin:6px 0 0;font-size:var(--bk-f12);color:var(--bk-f)}
.bk-g1{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:16px}
.bk-g2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:16px;align-items:stretch}
.bk-g3{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:16px}

/* LE HÉROS · sombre, un halo champagne, le solde en champagne, l'histogramme miroir au cœur */
.bk-hero{display:flex;flex-direction:column;padding:20px 22px 16px;background:radial-gradient(120% 90% at 0% 0%,rgba(241,241,247,.11),rgba(241,241,247,0) 55%),var(--bk-v);border-color:rgba(241,241,247,.24)}
.bk-h1{display:flex;align-items:flex-start;gap:20px;justify-content:space-between}
.bk-hg{display:flex;flex-direction:column;gap:6px;min-width:0}
.bk-hl{font-size:var(--bk-f12);font-weight:500;color:var(--bk-m)}
.bk-hv{font-size:32px;line-height:1;font-weight:620;letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--bk-ch)}
.bk-hv small{font-size:22px;font-weight:560;letter-spacing:-.02em;color:rgba(241,241,247,.55)}
.bk-hd{display:flex;margin-top:4px;align-items:center;gap:8px;flex-wrap:wrap;font-size:var(--bk-f12);color:var(--bk-m)}
.bk-hd i,.bk-cbd i{font-style:normal;font-size:var(--bk-f12);font-weight:700;padding:2px 7px;border-radius:99px;background:rgba(241,241,247,.16);color:var(--bk-ch);font-variant-numeric:tabular-nums;white-space:nowrap}
.bk-hd i.bas,.bk-cbd i.bas{background:rgba(255,255,255,.08);color:var(--bk-m)}
.bk-hs{display:flex;margin:0;flex:none}
.bk-hs>div{display:flex;flex-direction:column;padding:0 0 0 14px;margin-left:18px;border-left:1px solid var(--bk-l2);min-width:0}
.bk-hs dd{margin:0;font-size:22px;line-height:1.1;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--bk-t)}
.bk-hs dt{order:2;margin-top:5px;font-size:var(--bk-f12);color:var(--bk-f);white-space:nowrap}

/* l'histogramme miroir : entrées en champagne vers le haut, sorties en gris vers le bas, aujourd'hui plein */
.bk-mvt{display:flex;flex-direction:column;flex:1 1 auto;margin-top:18px;padding-top:14px;border-top:1px solid var(--bk-l2)}
.bk-mt{display:flex;align-items:center;gap:16px;margin:0 0 12px;font-size:var(--bk-f12);color:var(--bk-m);flex-wrap:wrap}
.bk-mt>span{display:inline-flex;align-items:center;gap:6px}
.bk-mt b{color:var(--bk-t);font-weight:600;font-variant-numeric:tabular-nums}
.bk-mt i{width:9px;height:9px;border-radius:3px;background:var(--bk-ch)}.bk-mt i.s{background:#8b8b93}
.bk-mf{margin-left:auto;color:var(--bk-f)}
.bk-mf b{color:var(--bk-ch)}
.bk-x{appearance:none;width:22px;height:22px;display:grid;place-items:center;border:0;border-radius:7px;background:rgba(255,255,255,.08);color:var(--bk-t);cursor:pointer}
.bk .bk-x svg{width:12px;height:12px}
.bk-mt small{flex-basis:100%;margin-top:-6px;font-size:var(--bk-f12);color:var(--bk-f);text-align:right}
.bk-histo{display:flex;gap:4px;flex:1 1 auto;min-height:200px;padding-bottom:20px;position:relative;background:linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.16)) 0 calc(50% - 10px)/100% 1px no-repeat}
.bk-j{appearance:none;position:relative;flex:1;min-width:0;display:flex;flex-direction:column;border:0;padding:0;background:none;cursor:pointer;border-radius:6px}
.bk-j:hover{background:rgba(255,255,255,.04)}
.bk-up,.bk-dn{flex:1;display:flex;padding:0 14%}
.bk-up{align-items:flex-end;padding-bottom:1px}.bk-dn{align-items:flex-start;padding-top:1px}
.bk-up i,.bk-dn i{display:block;width:100%;max-width:20px;margin:0 auto}
.bk-up i{border-radius:5px 5px 1px 1px;background:rgba(241,241,247,.78)}
.bk-dn i{border-radius:1px 1px 5px 5px;background:rgba(139,139,147,.55)}
.bk-j:hover .bk-up i,.bk-j.auj .bk-up i{background:var(--bk-ch)}
.bk-j:hover .bk-dn i,.bk-j.auj .bk-dn i{background:#a3a3ab}
.bk-up i.coupe,.bk-dn i.coupe{-webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat,linear-gradient(#000 0 0) bottom/100% 5px no-repeat;mask:linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat,linear-gradient(#000 0 0) bottom/100% 5px no-repeat}
.bk-dn i.coupe{-webkit-mask-position:bottom,top;mask-position:bottom,top}
.bk-jl{position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);font-size:var(--bk-f12);line-height:14px;color:var(--bk-f);font-variant-numeric:tabular-nums;white-space:nowrap}
.bk-j:first-child .bk-jl{left:0;transform:none}
.bk-j:last-child .bk-jl{left:auto;right:0;transform:none;color:var(--bk-ch);font-weight:700}

/* la bulle d'info, à l'intérieur du graphe, calée à gauche pour les premiers jours et à droite pour les derniers */
.bk-tip{position:absolute;z-index:5;left:50%;top:4px;transform:translate(-50%,4px);display:flex;flex-direction:column;gap:2px;padding:7px 10px;border-radius:9px;background:#f3f3f6;color:#0b0b0d;font-size:var(--bk-f12);line-height:1.3;white-space:nowrap;text-align:left;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s ease,transform .15s var(--bk-e);box-shadow:0 10px 24px -8px rgba(0,0,0,.6)}
.bk-tip b{font-size:var(--bk-f12);font-weight:700}
.bk-tip em{font-style:normal;font-weight:600;font-variant-numeric:tabular-nums}
.bk-tip small{color:rgba(11,11,13,.6)}
.bk-j:hover>.bk-tip,.bk-j:focus-visible>.bk-tip{opacity:1;visibility:visible;transform:translate(-50%,0)}
.bk-j:nth-child(-n+3) .bk-tip{left:0;transform:translate(0,4px)}
.bk-j:nth-last-child(-n+3) .bk-tip{left:auto;right:0;transform:translate(0,4px)}
.bk-j:nth-child(-n+3):hover .bk-tip,.bk-j:nth-last-child(-n+3):hover .bk-tip{transform:translate(0,0)}

/* LA TENUE DES COMPTES · l'anneau en quatre parts, sa légende, les factures à encaisser */
.bk-tenue{display:flex;flex-direction:column;background:var(--bk-well)}
.bk-anneau{position:relative;width:168px;height:168px;margin:2px auto 14px}
.bk .bk-anneau svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.bk-arc0{fill:none;stroke:rgba(255,255,255,.06);stroke-width:12}
.bk-arc{fill:none;stroke-width:12;stroke-linecap:butt;transition:stroke-width .2s var(--bk-e)}
.bk-arc.a,.bk-lg2 i.a{stroke:var(--bk-ch);background:var(--bk-ch)}
.bk-arc.b,.bk-lg2 i.b{stroke:var(--bk-ch2);background:var(--bk-ch2)}
.bk-arc.c,.bk-lg2 i.c{stroke:#8b8b93;background:#8b8b93}
.bk-arc.d,.bk-lg2 i.d{stroke:rgba(255,255,255,.24);background:rgba(255,255,255,.24)}
.bk-anc{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.bk-anc b{font-size:22px;font-weight:620;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--bk-t)}
.bk-anc small{font-size:var(--bk-f12);color:var(--bk-f)}
.bk-lg2{display:flex;flex-direction:column}
.bk-lg2 button{appearance:none;display:grid;grid-template-columns:10px minmax(0,1fr) auto 38px;align-items:center;gap:10px;padding:8px 4px;border:0;border-top:1px solid var(--bk-l2);background:none;color:var(--bk-t);font-size:var(--bk-f12);text-align:left;cursor:pointer}
.bk-lg2 button:first-child{border-top:0}
.bk-lg2 button:hover{background:rgba(255,255,255,.03)}
.bk-lg2 i{width:10px;height:10px;border-radius:3px}
.bk-lg2 span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--bk-m)}
.bk-lg2 b{font-weight:600;font-variant-numeric:tabular-nums}
.bk-lg2 small{text-align:right;font-size:var(--bk-f12);color:var(--bk-f);font-variant-numeric:tabular-nums}
.bk-pied{appearance:none;display:flex;align-items:center;gap:10px;margin:auto 0 0;padding:12px 12px;border:1px solid var(--bk-l2);border-radius:12px;background:rgba(255,255,255,.03);color:var(--bk-t);font-size:var(--bk-f12);text-align:left;cursor:pointer}
.bk-pied span{flex:1;color:var(--bk-m)}
.bk-pied b{font-weight:600;font-variant-numeric:tabular-nums}
.bk-pied:hover{background:rgba(255,255,255,.06)}
.bk-tenue .bk-lg2{margin-bottom:12px}
.bk-rond{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:50%;background:#f4f4f6;color:#0b0b0d}
.bk-rond svg{width:15px;height:15px;stroke-width:2}

/* LES COMPTES EN CARTES BANCAIRES · la choisie devient une carte champagne */
.bk-sect{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:6px 2px 12px}
.bk-sect p{margin:0;font-size:var(--bk-f12);color:var(--bk-m)}
.bk-cartes{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.bk-cb{appearance:none;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:12px;min-width:0;aspect-ratio:1.75;min-height:168px;padding:18px 20px 0;border:1px solid var(--bk-l);border-radius:20px;color:var(--bk-t);text-align:left;cursor:pointer;
  background:linear-gradient(135deg,rgba(255,255,255,.075) 0%,rgba(255,255,255,.03) 46%,rgba(255,255,255,.05) 100%);transition:background .2s ease,box-shadow .2s ease,transform .15s ease}
.bk-cb::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.05) 45%,transparent 60%)}
.bk-cb:hover{border-color:rgba(255,255,255,.22)}
.bk-cb:active{transform:scale(.985)}
.bk-cb1{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.bk-cbb{display:flex;flex-direction:column;gap:2px;min-width:0}
.bk-cbb b{font-size:14px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-cbb small{font-size:var(--bk-f12);color:var(--bk-f);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-puce{width:34px;height:26px;flex:none;border-radius:6px;background:linear-gradient(135deg,#f6f6fc,#e1e1e7);position:relative;box-shadow:inset 0 0 0 1px rgba(29,26,20,.25)}
.bk-puce::before,.bk-puce::after,.bk-puce i{content:"";position:absolute;background:rgba(29,26,20,.28)}
.bk-puce::before{left:0;right:0;top:50%;height:1px}
.bk-puce::after{top:0;bottom:0;left:50%;width:1px}
.bk-puce i{left:30%;right:30%;top:28%;bottom:28%;border-radius:3px;background:none;box-shadow:inset 0 0 0 1px rgba(29,26,20,.28)}
.bk-cbv{font-size:22px;line-height:1.1;font-weight:620;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;margin-top:auto}
.bk-cbv small{font-size:var(--bk-f12);font-weight:560;color:var(--bk-f)}
.bk-cb2{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;font-size:var(--bk-f12);color:var(--bk-f)}
.bk-cbn{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:var(--bk-f12);letter-spacing:.08em;white-space:nowrap}
.bk-cbd{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-width:0;overflow:hidden;font-variant-numeric:tabular-nums}
.bk .bk-cbs{display:block;width:calc(100% + 40px);height:44px;margin:0 -20px;flex:none;overflow:visible}
.bk-spl{fill:none;stroke:var(--bk-ch);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.bk-spa{fill:var(--bk-ch);opacity:.1}
.bk-cb.on{background:linear-gradient(135deg,#f8f8fe 0%,var(--bk-ch) 48%,#dfdfe5 100%);border-color:transparent;color:var(--bk-ink);box-shadow:0 2px 6px rgba(0,0,0,.45),0 30px 60px -28px rgba(0,0,0,.9)}
.bk-cb.on .bk-cbb small,.bk-cb.on .bk-cb2,.bk-cb.on .bk-cbv small{color:rgba(29,26,20,.6)}
.bk-cb.on .bk-cbd i{background:var(--bk-ink);color:var(--bk-ch)}
.bk-cb.on .bk-cbd i.bas{background:rgba(29,26,20,.14);color:var(--bk-ink)}
.bk-cb.on .bk-spl{stroke:var(--bk-ink)}.bk-cb.on .bk-spa{fill:var(--bk-ink);opacity:.12}
.bk-cb.on .bk-puce{background:linear-gradient(135deg,#2a2a30,#1d1a14)}
.bk-cb.on .bk-puce::before,.bk-cb.on .bk-puce::after{background:rgba(241,241,247,.35)}
.bk-cb.on .bk-puce i{box-shadow:inset 0 0 0 1px rgba(241,241,247,.35)}

/* À RAPPROCHER · lignes à avatar */
.bk-rap{display:flex;flex-direction:column}
.bk-rl{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:9px 10px;margin:0 -10px;border-radius:12px}
.bk-rl:hover{background:rgba(255,255,255,.04)}
.bk-av{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.08);font-size:var(--bk-f12);font-weight:700;color:var(--bk-t)}
.bk-rt{appearance:none;border:0;background:none;padding:0;text-align:left;color:var(--bk-t);cursor:pointer;min-width:0;display:flex;flex-direction:column;gap:2px}
.bk-rt b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-rt small{font-size:var(--bk-f12);color:var(--bk-m);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-rt em{font-style:normal;color:#ff6b6b}
.bk-rc{display:flex;align-items:center;gap:10px;min-width:0}
.bk-rc small{font-size:var(--bk-f12);color:var(--bk-f);white-space:nowrap}
.bk-rien{display:flex;align-items:center;gap:12px;padding:16px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.12)}
.bk-rien>span:last-child{display:flex;flex-direction:column;gap:3px}
.bk-rien b{font-size:14px;font-weight:600}.bk-rien small{font-size:var(--bk-f12);color:var(--bk-m)}
.bk-rd{margin:auto 0 0;padding-top:14px;font-size:var(--bk-f12);color:var(--bk-f)}
.bk-rd b{color:var(--bk-m);font-weight:600}
.bk-st{margin:16px 0 6px;font-size:var(--bk-f12);font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--bk-f)}
.bk-vr{appearance:none;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;width:calc(100% + 20px);padding:8px 10px;margin:0 -10px;border:0;border-radius:12px;background:none;color:var(--bk-t);text-align:left;cursor:pointer}
.bk-vr:hover{background:rgba(255,255,255,.04)}
.bk-vr>span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0}
.bk-vr b{font-size:var(--bk-f12);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-vr small{font-size:var(--bk-f12);color:var(--bk-f);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-vr i{font-style:normal;font-size:var(--bk-f12);font-weight:600;font-variant-numeric:tabular-nums;color:var(--bk-ch);white-space:nowrap}

/* LES AGENTS · une carte par agent : qui, ce qu'il a fait, ce qui attend ton Oui, pastille vivante */
.bk-ag{padding-bottom:20px}
.bk-ags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bk-a{display:flex;flex-direction:column;gap:12px;min-width:0;padding:14px;border:1px solid var(--bk-l2);border-radius:16px;background:rgba(255,255,255,.03)}
.bk-a header{display:flex;align-items:center;gap:10px;min-width:0}
.bk-am{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:rgba(241,241,247,.14);color:var(--bk-ch);font-size:var(--bk-f12);font-weight:700;box-shadow:inset 0 0 0 1px rgba(241,241,247,.22)}
.bk-an{display:flex;flex-direction:column;min-width:0;flex:1}
.bk-an b{font-size:14px;font-weight:600;line-height:1.25}
.bk-an small{font-size:var(--bk-f12);color:var(--bk-m)}
.bk-ae{display:inline-grid;place-items:center;width:18px;height:18px;flex:none;align-self:flex-start;margin-top:2px}
.bk-aq{margin:-4px 0 0;font-size:var(--bk-f12);color:var(--bk-f)}
.bk-a:has(.bk-ae.vif) .bk-aq{color:var(--bk-ch)}
.bk-ae i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.28)}
.bk-ae.vif{color:var(--bk-ch)}
.bk-ae.vif i{background:var(--bk-ch);animation:bk-pouls 1.8s var(--bk-e) infinite}
@keyframes bk-pouls{0%{box-shadow:0 0 0 0 rgba(241,241,247,.55)}70%{box-shadow:0 0 0 7px rgba(241,241,247,0)}100%{box-shadow:0 0 0 0 rgba(241,241,247,0)}}
.bk-af{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.bk-af li{display:flex;align-items:baseline;gap:8px;font-size:var(--bk-f12);line-height:1.4;color:var(--bk-m);min-width:0}
.bk-af li span{flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bk-af li b{color:var(--bk-t);font-weight:600}
.bk-af li time{flex:none;font-size:var(--bk-f12);color:var(--bk-f);white-space:nowrap}
.bk-af li.vide{color:var(--bk-f)}
.bk-ao{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto;padding-top:10px;border-top:1px solid var(--bk-l2)}
.bk-a0{flex-basis:100%;margin:0 0 2px;font-size:var(--bk-f12);color:var(--bk-f)}
.bk-ay{flex-basis:100%;display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:4px;font-size:var(--bk-f12);color:var(--bk-m)}
.bk-ay b{color:var(--bk-t)}

/* OÙ PART L'ARGENT · barre segmentée et légende à filets */
.bk-sgm{display:flex;gap:3px;height:12px;margin:2px 0 14px}
.bk-sgm i{display:block;border-radius:4px;min-width:6px}
/* 30/11/2026 : ces cinq classes n'étaient pas préfixées et coloraient aussi l'arbre de la bibliothèque (.ecx-noeud.n1) */
:is(.bk-sgm,.bk-lg,.bk-lg2) .n0{background:var(--bk-ch)}:is(.bk-sgm,.bk-lg,.bk-lg2) .n1{background:#d5d5db}:is(.bk-sgm,.bk-lg,.bk-lg2) .n2{background:#7f7f85}:is(.bk-sgm,.bk-lg,.bk-lg2) .n3{background:rgba(255,255,255,.34)}:is(.bk-sgm,.bk-lg,.bk-lg2) .n4{background:rgba(255,255,255,.16)}
.bk-lg{display:flex;flex-direction:column}
.bk-lg button{appearance:none;display:grid;grid-template-columns:10px minmax(0,1fr) auto 40px;align-items:center;gap:12px;padding:10px 4px;border:0;border-top:1px solid var(--bk-l2);background:none;color:var(--bk-t);font-size:var(--bk-f12);text-align:left;cursor:pointer}
.bk-lg button:first-child{border-top:0}
.bk-lg button:hover{background:rgba(255,255,255,.03)}
.bk-lg i{width:10px;height:10px;border-radius:3px}
.bk-lg span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-lg b{font-weight:600;font-variant-numeric:tabular-nums}
.bk-lg small{text-align:right;font-size:var(--bk-f12);color:var(--bk-f);font-variant-numeric:tabular-nums}
.bk-rec{appearance:none;display:grid;grid-template-columns:minmax(0,1fr) auto 76px;align-items:center;gap:12px;width:100%;padding:8px 4px;border:0;border-top:1px solid var(--bk-l2);background:none;color:var(--bk-t);font-size:var(--bk-f12);text-align:left;cursor:pointer}
.bk-rec:hover{background:rgba(255,255,255,.03)}
.bk-rec span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-rec small{font-size:var(--bk-f12);color:var(--bk-f)}
.bk-rec b{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.bk-plus{margin-top:10px}

/* DERNIÈRES OPÉRATIONS · les lignes du fil, posées dans la carte */
.bk-der .bnq-op{margin:0 -10px;min-height:54px;padding:8px 10px;gap:12px}
.bk-der .bnq-ic{width:32px;height:32px}
.bk-der .bnq-op:last-child{border-bottom:0}
.bk-rien0{display:flex;align-items:center;gap:14px;padding:22px}
.bk-rien0>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.bk-rien0 b{font-size:14px;font-weight:600}.bk-rien0 small{font-size:var(--bk-f12);color:var(--bk-m)}

/* le socle sur les écrans hérités de l'appli : titres à 22 px, chiffres à 22 px au plus, texte à 13 px */
.bnq .bnq-op-t b{font-size:14px;font-weight:560}
.bnq .bnq-op-t small{font-size:var(--bk-f12)}
.bnq .bnq-m{font-size:14px;min-width:96px}
.bnq .bnq-chip{height:28px;padding:0 11px;font-size:var(--bk-f12);border-radius:14px}
body #view .ecx-page.bnq .bnq-tete h2{font-size:22px;letter-spacing:-.02em}
.bnq .bnq-tete p{font-size:var(--bk-f12);margin-top:5px}
.bnq .bnq-tete{margin-bottom:20px}
.bnq .bnq-bloc,.bnq .bnq-cpt,.bnq .bnq-rap,.bnq .bnq-vide,.bnq .bnq-haut,.bnq .bnq-courbe{border-color:var(--bk-l);border-radius:22px;background:var(--bk-v)}
.bnq .bnq-flux b,.bnq .bnq-cpt b,.bnq .bnq-cpt>b{font-size:22px}
.bnq .bnq-f-m,.bnq .bnq-solde b,.bnq .bnq-carte b{font-size:22px;letter-spacing:-.02em}
.bnq .bnq-nav nav button,.bnq .bnq-nav-t small{font-size:var(--bk-f12)}
.bnq .bnq-nav-t h1{font-size:22px}
.bnq .bnq-jour,.bnq .bnq-mois{font-size:var(--bk-f12)}
.bnq .btn{font-size:var(--bk-f12)}

@media (hover:none){.bk-tip{display:none}}
@media (prefers-reduced-motion:reduce){.bk-ae.vif i{animation:none}.bk-tip,.bk-arc{transition:none}}
@media (max-width:1280px){body #view .ecx-page.bnq.fiche{grid-template-columns:minmax(0,1fr)}}
@media (max-width:1200px){
  .bk-g1,.bk-g2,.bk-g3{grid-template-columns:minmax(0,1fr)}
  .bk-tenue{display:grid;grid-template-columns:168px minmax(0,1fr);column-gap:28px;align-items:center}
  .bk-tenue .bk-ct{grid-column:1/-1}
  .bk-tenue .bk-anneau{grid-row:2/4;margin:0}
  .bk-tenue .bk-lg2{margin-bottom:10px}
  .bk-tenue .bk-pied{grid-column:2}
  .bk-cartes{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .bk-cb{aspect-ratio:auto;min-height:168px;padding:16px 16px 0}.bk .bk-cbs{width:calc(100% + 32px);margin:0 -16px}
}
@media (max-width:860px){
  .bk-sous{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 -16px;padding:0 16px 2px;-webkit-mask:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 24px),transparent)}
  .bk-sous::-webkit-scrollbar{display:none}
  .bnq-tete+.bk-sous{margin-top:-8px;margin-bottom:16px}
}
@media (max-width:720px){
  .bk{gap:12px}
  .bk-tete{align-items:flex-start}.bk-tete .ecx-sp{display:none}.bk-tete>div{flex-basis:100%}
  .bk-tb{flex-basis:100%}.bk-tb .bk-b{flex:1 1 0;height:40px}
  .bk-c{padding:16px;border-radius:20px}
  .bk-h1{flex-direction:column;gap:14px}
  .bk-hv{font-size:32px}.bk-hv small{font-size:16px}
  .bk-hs{width:100%}.bk-hs>div{flex:1;margin-left:0;padding-left:10px}.bk-hs>div:first-child{border-left:0;padding-left:0}
  .bk-hs dd{font-size:16px}.bk-hs dt{white-space:normal}
  .bk-histo{gap:2px;min-height:170px}.bk-up,.bk-dn{padding:0 8%}
  .bk-mf{flex-basis:100%;margin-left:0}
  .bk-tenue{grid-template-columns:120px minmax(0,1fr);column-gap:16px}
  .bk-anneau{width:120px;height:120px}
  .bk-lg2 button{grid-template-columns:10px minmax(0,1fr) auto;gap:8px}.bk-lg2 small{display:none}
  .bk-tenue .bk-pied{grid-column:1/-1;margin-top:6px}
  .bk-cartes{grid-template-columns:minmax(0,1fr)}
  .bk-cb{aspect-ratio:1.9;min-height:0}
  .bk-ags{grid-template-columns:minmax(0,1fr)}
  .bk-mt{gap:4px 14px}.bk-mt small{text-align:left;margin-top:0}
  .bk-rl{grid-template-columns:34px minmax(0,1fr);row-gap:6px}.bk-rc{grid-column:2;justify-content:space-between}
}

@media (max-width:1200px){#bkRap>.bk-vr:nth-of-type(n+5){display:none}}
/* le toast « Annuler » dans la Banque : bouton monochrome, sombre sur le toast clair (jamais de couleur sur un bouton) */
body[data-page="banques"] .toast.with-action .toast-btn{background:#0b0b0d;color:#f4f4f6;border:0}

/* ════ ERGONOMIE (29/11/2026, charte commune) · François : « faut que tout soit ergonomique, simple à trouver, que j'aime passer du temps
   dedans ». Premier écran : en-tête, « À valider », un grand bloc (ce qui attend d'être rangé), quatre chiffres ; le reste sous la
   flottaison ; les agents repliés tout en bas sur une ligne « Fait pour toi ». Cinq tailles seulement : 12, 14, 16, 22, 32. */
body.s3 #view .ecx-page.bnq .bk-tete h1,.bk-tete h1{margin:0;font-size:22px;line-height:1.15;font-weight:620;letter-spacing:-.025em;color:var(--bk-t);display:inline-block;position:relative;padding-bottom:7px}
.bk-tete h1::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:var(--bk-ch);opacity:.9}
.bk-tete{align-items:center;margin:0}
.bk-tete p{margin-top:4px;font-size:var(--bk-f12)}
.bk-tb{align-items:center;gap:8px}
.bk-b{height:40px;padding:0 16px;border-radius:12px;font-size:14px;font-weight:600}
.bk-b1{background:#f4f4f6;color:#0b0b0d}
.bk-bs{height:32px;padding:0 12px;border-radius:10px;font-size:var(--bk-f12)}
.bk-oui{height:40px;padding:0 18px;border-radius:12px;font-size:14px;font-weight:700}
.bk-lien{font-size:var(--bk-f12);font-weight:600;text-decoration:none;color:var(--bk-t)}
.bk-lien:hover{text-decoration:underline}
.bk-q{display:flex;align-items:center;gap:8px;width:280px;height:40px;padding:0 14px;border:1px solid var(--bk-l);border-radius:12px;background:rgba(255,255,255,.04);color:var(--bk-f);cursor:text}
.bk-q:focus-within{border-color:rgba(241,241,247,.5);background:rgba(255,255,255,.06)}
body #view .bk-q input{flex:1;min-width:0;height:100%;padding:0;border:0;border-radius:0;outline:0;background:none;box-shadow:none;color:var(--bk-t);font:inherit;font-size:14px}
.bk-q input::placeholder{color:var(--bk-f)}
.bk-q input::-webkit-search-cancel-button{display:none}
.bk-src{font-size:var(--bk-f12)}
body #view .ecx-page .bk h2{margin:0;font-size:16px;line-height:1.25;font-weight:620;letter-spacing:-.01em;color:var(--bk-t)}
.bk-ct p,.bk-vt0 p{margin:3px 0 0;font-size:var(--bk-f12);color:var(--bk-m);line-height:1.4}
.bk-nb{font-style:normal;display:inline-grid;place-items:center;min-width:22px;height:20px;margin-left:6px;padding:0 6px;border-radius:10px;background:rgba(241,241,247,.16);color:var(--bk-ch);font-size:var(--bk-f12);font-weight:700;vertical-align:2px;font-variant-numeric:tabular-nums}
.bk-coche{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:50%;background:rgba(241,241,247,.14);color:var(--bk-ch)}
.bk-coche svg{width:16px;height:16px;stroke-width:2.2}

/* un bandeau d'une ligne quand les agents ne répondent plus */
.bk-panne{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 16px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.05);font-size:var(--bk-f12);color:var(--bk-m)}
.bk-panne span{flex:1;min-width:0}
#bkPanne:empty{display:none}

/* À VALIDER · la même carte que partout : quoi, pour qui, échéance, « Ouvrir » puis « Oui » */
.bk-val{padding:16px 20px}
.bk-val.vide{display:flex;align-items:center;gap:14px;padding:14px 20px}
.bk-vt0{flex:1;min-width:0}
.bk-val .bk-ct{margin-bottom:10px;align-items:center}
.bk-vl{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--bk-l2);border-radius:14px;background:rgba(255,255,255,.025)}
.bk-vl+.bk-vl{margin-top:8px}
.bk-vt{display:flex;flex-direction:column;gap:3px;min-width:0}
.bk-vt b{font-size:14px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bk-vt small{font-size:var(--bk-f12);color:var(--bk-m)}
.bk-vt em{font-style:normal;color:var(--bk-ch);font-weight:600}
.bk-vb{display:flex;gap:8px}

/* LE GRAND BLOC · la seule surface vedette : noir teinté de champagne à 8 %, bordure d'un pixel */
.bk-gb{padding:18px 20px 10px;background:linear-gradient(rgba(241,241,247,.08),rgba(241,241,247,.08)),#0e0e11;border:1px solid rgba(241,241,247,.3)}
.bk-gb.vide{display:flex;align-items:center;gap:14px;padding:16px 20px}
.bk-gb .bk-ct{margin-bottom:12px;align-items:center}
.bk-gbt{display:flex;gap:8px;margin:0 0 6px;overflow-x:auto;scrollbar-width:none}
.bk-gbt::-webkit-scrollbar{display:none}
.bk-gbt button{appearance:none;flex:none;display:inline-flex;align-items:baseline;gap:6px;height:36px;padding:0 14px;border:1px solid var(--bk-l);border-radius:99px;background:rgba(255,255,255,.04);color:var(--bk-m);font-family:inherit;font-size:var(--bk-f12);line-height:34px;cursor:pointer;white-space:nowrap}
.bk-gbt button b{font-size:14px;font-weight:700;color:var(--bk-t);font-variant-numeric:tabular-nums}
.bk-gbt button.on{background:#f4f4f6;border-color:#f4f4f6;color:#3a3a40}
.bk-gbt button.on b{color:#0b0b0d}
.bk-gbl .bnq-op{margin:0 -10px;min-height:56px;padding:8px 10px;gap:12px;border-bottom:1px solid var(--bk-l2)}
.bk-gbl .bnq-op:last-child{border-bottom:0}
.bk-gbl .bnq-ic{width:32px;height:32px}
.bk-gbl .bnq-op-t b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* QUATRE CHIFFRES sur une rangée, chacun s'ouvre */
.bk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bk-k{appearance:none;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:16px 18px;border:1px solid var(--bk-l);border-radius:18px;background:var(--bk-v);color:var(--bk-t);font-family:inherit;text-align:left;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.bk-k:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.22)}
.bk-kl{font-size:var(--bk-f12);font-weight:600;color:var(--bk-m)}
.bk-kv{font-size:22px;line-height:1.1;font-weight:640;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.bk-kv small{font-size:14px;font-weight:560;color:var(--bk-m)}
.bk-k:first-child .bk-kv{color:var(--bk-ch)}.bk-k:first-child .bk-kv small{color:rgba(241,241,247,.6)}
.bk-k>small{display:flex;flex-direction:column;gap:6px;width:100%;font-size:var(--bk-f12);color:var(--bk-f)}
.bk-kb{display:block;height:4px;border-radius:2px;background:rgba(255,255,255,.1);overflow:hidden}
.bk-kb i{display:block;height:100%;border-radius:2px;background:var(--bk-ch)}

/* sous la flottaison : les mouvements (le cœur de l'appli, en champagne), où part l'argent, les comptes en cartes */
.bk-hero{padding:18px 20px 14px}
.bk-hero .bk-ct{margin-bottom:4px}
.bk-hero .bk-mvt{margin-top:0;padding-top:0;border-top:0}

/* FAIT POUR TOI · les agents repliés en une ligne, tout en bas */
.bk-fpt{padding:0}
.bk-fpt>summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:56px;padding:0 20px;cursor:pointer}
.bk-fpt>summary::-webkit-details-marker{display:none}
.bk-fpt-t{font-size:14px;font-weight:620;color:var(--bk-t)}
.bk-fpt-s{flex:1;min-width:0;font-size:var(--bk-f12);color:var(--bk-m);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bk-fpt>summary>i{color:var(--bk-f);transition:transform .2s var(--bk-e)}
.bk-fpt[open]>summary>i{transform:rotate(90deg)}
.bk-fpt>div{padding:0 20px 20px}

/* l'iPad : le rail porte un libellé court, toujours visible (charte 15) */
@media (min-width:861px) and (max-width:1180px){
  body[data-page="banques"] #stuSide .ecx-nav .stu-long[data-court]{font-size:0!important}
  body[data-page="banques"] #stuSide .ecx-nav .stu-long[data-court]::after{content:attr(data-court);font-size:12px;letter-spacing:-.01em}
}
/* le tactile : boutons et champs à 44 px, 16 px dans les champs */
@media (max-width:1180px){
  .bk-b,.bk-oui,.bk-q{height:44px}
  body #view .bk-q input{font-size:16px}
  .bk-gbt button{height:44px;line-height:42px}
  .bk-bs{height:44px}
}
@media (max-width:1200px){.bk-q{width:220px}}
@media (max-width:860px){
  .bk-sous{position:sticky;top:var(--bk-haut,64px);z-index:5;padding-top:8px;padding-bottom:8px;background:linear-gradient(#0b0b0e 70%,rgba(11,11,14,0))}
}
@media (max-width:720px){
  .bk-tete{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;align-items:start}
  .bk-ht{display:contents}.bk-tete .ecx-sp{display:none}
  .bk-ret{display:inline-flex;grid-column:1;grid-row:1;justify-self:start}
  .bk-tete h1{grid-column:1;grid-row:2;justify-self:start}
  .bk-tete #bnqSync{grid-column:2;grid-row:1/span 2;align-self:center}
  .bk-tete p{grid-column:1/-1;grid-row:3;margin:6px 0 12px}
  .bk-q{grid-column:1/-1;grid-row:4;width:auto}
  body[data-page="banques"] #stuMenuBtn{visibility:hidden;pointer-events:none}
  .bk-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .bk-k{padding:14px}
  .bk-vl{grid-template-columns:32px minmax(0,1fr);padding:12px}
  .bk-vb{grid-column:1/-1}.bk-vb button{flex:1}
  .bk-gb{padding:16px 16px 8px}
  .bk-fpt>summary{padding:0 16px;flex-wrap:wrap;row-gap:0;min-height:64px}
  .bk-fpt-s{white-space:normal}
  .bk-fpt>div{padding:0 16px 16px}
  body[data-page="banques"] #view{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
}

.bk-ret{display:none;align-items:center;gap:4px;height:32px;padding:0;border:0;background:none;color:var(--bk-t);font-family:inherit;font-size:14px;font-weight:560;cursor:pointer}
.bk-ret svg{width:18px;height:18px;stroke-width:2}
body.verre #view .bk-q input[type=search],body #view .bk-q input[type=search]{padding:0;border:0;border-radius:0;background:none;box-shadow:none;height:100%}
/* l'iPad : le rail de l'appli, libellé court sur deux lignes au plus, jamais coupé ; le compte en pastille à côté de l'icône */
@media (min-width:861px) and (max-width:1180px){
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"]{padding-left:4px;padding-right:4px}
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"] .ecx-nav{overflow:visible}
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"] .ecx-nav>button{position:relative;width:68px;min-height:60px;padding:6px 0;margin-left:-7px}
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"] .ecx-nav>button>span:not(.ecx-nb){max-width:68px;white-space:normal;overflow:visible;text-overflow:clip;font-size:12px;line-height:1.15;text-align:center}
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"] .ecx-nav>button>.ecx-nb{position:absolute!important;top:2px!important;left:calc(50% + 4px)!important;right:auto!important;margin:0;min-width:18px;height:18px;padding:0 4px;border-radius:9px;display:grid;place-items:center;background:var(--bk-ch,#f1f1f7);color:#17171d;font-size:12px;font-weight:700;line-height:18px}
}
@media (max-width:720px){.bk-tete .bk-ret{display:inline-flex}}
body #view .bnq .bnq-op-t small,body #view .bnq .bnq-mcat{font-size:var(--bk-f12)}
/* le Studio met tout « small » à 13 px : dans la Banque, le petit texte reste à 12 (13 sous 768 px) */
body.stu-on #view .bnq small{font-size:var(--bk-f12)}
body.stu-on #view .bnq .bk-kv small,body.stu-on #view .bnq .bk-cbv small{font-size:14px}
body.stu-on #view .bnq .bk-hv small{font-size:16px}
.bk-gbl .bnq-mcat{display:none!important}

/* ════ JUGE (29/11/2026) · ce qui restait de la charte après le tour ergonomie */
/* charte 4 : rien de volumineux avant la flottaison ; les mouvements, « où part l'argent » et les comptes se replient en une ligne */
.bk-plus[open]{padding:0;background:none;border-color:transparent;box-shadow:none}
.bk-plus[open]>summary{border:1px solid var(--bk-l);border-radius:18px;background:var(--bk-v)}
.bk-plus-c{display:flex;flex-direction:column;gap:16px;margin-top:16px}
.bk-plus-c .bk-comptes{margin:0}
/* les boutons de l'agent qui renvoient au Oui unique */
.bk-a0l{appearance:none;border:0;background:none;padding:0;margin:0 0 10px;font-family:inherit;font-size:var(--bk-f12);font-weight:600;color:var(--bk-ch);cursor:pointer;text-align:left}
.bk-a0l:hover{text-decoration:underline}
/* un libellé sans espace (« Godaddy#4231748601 ») passe sur deux lignes au lieu d'être coupé (charte 13) */
.bk-gbl .bnq-op-t b,.bk-vt b{overflow-wrap:anywhere}
/* cinq tailles seulement : les restes à 12,5, 13 et 13,5 px des sous-pages */
body #view .bnq .bnq-filtres summary,body #view .bnq .sv-vide,body #view .bnq select,body #view .bnq .bnq-regf input,body #view .bnq .bnq-ch textarea{font-size:14px}
body #view .bnq .bnq-puce{font-size:14px}
body #view .bnq .bnq-regle{font-size:var(--bk-f12)}
/* le tactile : tout ce qui se touche fait 44 px, 8 px entre deux voisins, 16 px dans les champs (charte 12) */
@media (max-width:1180px){
  .bk-sous button{height:44px}
  .bk-ret{height:44px}
  .bk-lien{display:inline-flex;align-items:center;min-height:44px}
  .bk-rec{min-height:44px}
  body #view .bnq .bnq-puce,body #view .bnq select,body #view .bnq .bnq-regf input,body #view .bnq .bnq-filtres summary,body #view .bnq .btn{min-height:44px}
  body #view .bnq select,body #view .bnq .bnq-regf input,body #view .bnq .bnq-ch textarea,body #view .bnq input[type=search]{font-size:16px}
  /* l'étiquette et le trombone gardent leur dessin, leur zone de toucher passe à 44 px */
  body #view .bnq .bnq-chip,body #view .bnq .bnq-clip{position:relative}
  body #view .bnq .bnq-chip::after{content:"";position:absolute;inset:-8px -4px}
  body #view .bnq .bnq-clip::after{content:"";position:absolute;inset:-5px}
}
/* l'iPad : la pastille sort de l'icône, et le retour garde son libellé comme les autres entrées (charte 15) */
@media (min-width:861px) and (max-width:1180px){
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"] .ecx-nav>button>.ecx-nb{left:calc(50% + 8px)!important;top:-4px!important}
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"] .lin-retour{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:68px;min-height:60px;margin-left:-7px;padding:6px 0}
  body.stu-on.lin.rail-on:has(.bnq) .stu-side[data-mode="projet"] .lin-retour>span{display:block!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;opacity:1!important;font-size:12px!important;line-height:1.15;text-align:center}
}
@media (max-width:720px){
  .bk-pl{display:none}
  .bk-fpt>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-content:center;padding:12px 16px}
  .bk-fpt>summary>i{grid-column:2;grid-row:1/span 2}
  .bk-fpt-s{grid-column:1}
}
.bk-plus>.bk-plus-c{padding:0}
@media (max-width:1180px){
  body #view .bnq .bk-lg button,body #view .bnq .bnq-tr button,body #view .bnq .bnq-onglets button{min-height:44px}
  body #view .bnq .et-seg button,body #view .bnq .bnq-cpt-b .pl-lien{position:relative}
  body #view .bnq .et-seg button::after{content:"";position:absolute;inset:-10px 0}
  body #view .bnq .bnq-cpt-b .pl-lien::after{content:"";position:absolute;inset:-14px -6px}
}

/* vague 2 (29/11) : « À valider » est la carte commune de la coque (STU.oui), posée dans #bkVal */
.bk-val0{min-width:0}
.bk-val0:empty{display:none}
