/* Le compteur des affaires apportées (Thomas, 10/11/2026), dans « Mes affaires ». Charte Fluidpilot : vert quand les outils sont ouverts, bleu posé en pause, jamais de rouge */
.apr { display: grid; gap: 12px; margin: 4px 0 18px; padding: 16px 20px; border: 1px solid #D5DEE6; border-left: 6px solid #00A7FF; border-radius: 16px; background: #FFFFFF; color: #00345E; box-shadow: 0 6px 18px rgba(0, 52, 94, .06); font-family: 'Montserrat', Arial, Helvetica, sans-serif; }
.apr--ouverts { border-left-color: #00D274; }
.apr--pause { border-left-color: #00345E; background: #F8FBFE; }
.apr__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.apr__titre { margin: 0; font-size: 16px; font-weight: 800; }
/* La bulle « comment ça compte » (Thomas, 10/11/2026), sur le modèle des réglages */
.apr__titre-ligne { display: flex; align-items: center; gap: 8px; }
.apr__aide { position: relative; display: inline-flex; flex: none; }
.apr__aide-bouton { width: 1.35rem; height: 1.35rem; padding: 0; border: 1.5px solid #00A7FF; border-radius: 50%; background: #FFFFFF; color: #00345E; font: inherit; font-size: .78rem; font-weight: 800; line-height: 1; cursor: help; }
.apr__aide-bouton:hover, .apr__aide--ouverte .apr__aide-bouton { background: #00A7FF; color: #FFFFFF; }
.apr__aide-bouton:focus-visible { outline: 2px solid #00A7FF; outline-offset: 2px; }
.apr__bulle { display: none; position: absolute; z-index: 20; left: -8px; top: calc(100% + 8px); width: min(380px, 80vw); padding: .75rem .9rem; border-radius: 10px; background: #00345E; color: #FFFFFF; font-size: .84rem; font-weight: 400; line-height: 1.45; box-shadow: 0 10px 28px rgba(0, 52, 94, .28); text-align: left; }
.apr__bulle::before { content: ''; position: absolute; left: 12px; top: -6px; width: 12px; height: 12px; background: #00345E; transform: rotate(45deg); }
.apr__bulle-ligne { display: block; }
.apr__bulle-ligne + .apr__bulle-ligne { margin-top: 5px; }
.apr__aide:hover .apr__bulle, .apr__aide:focus-within .apr__bulle, .apr__aide--ouverte .apr__bulle { display: block; }
.apr__periode { color: #5B6B7B; font-size: 12.5px; font-weight: 600; }
.apr__chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.apr__chiffre { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #F4F7FA; }
.apr__chiffre strong { font-size: 24px; font-weight: 800; line-height: 1.1; }
.apr__chiffre span { color: #3F5163; font-size: 12.5px; font-weight: 600; }
.apr__chiffre--vous { background: #E6FAF1; }
.apr__chiffre--regle { background: #E6F6FF; }
.apr__etat { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 14px; line-height: 1.5; }
.apr__pastille { padding: 2px 11px; border-radius: 999px; color: #00253F; background: #E6F6FF; font-size: 12px; font-weight: 800; }
.apr--ouverts .apr__pastille { background: #00D274; }
.apr--pause .apr__pastille { color: #FFFFFF; background: #00345E; }
.apr__charte { justify-self: start; color: #00345E; font-size: 13px; font-weight: 700; text-decoration: underline; text-decoration-color: #00A7FF; text-underline-offset: 3px; }
