/* La vue « Temps réel » du back-office (assets/temps-reel.js, 21/11/2026), d'après la maquette validée par Julien. */
.page-tr { --tr-quiz: #3987e5; --tr-compte: #199e70; --tr-video: #9085e9; --tr-achat: #c98500; --tr-groupe: #d55181; --tr-points: #5fd59a; --tr-connexion: #a9a89f; --tr-agenda: #e0795a; }
.tr-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.tr-direct { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--fond-2); box-shadow: 0 0 0 1px var(--trait) inset; font-size: 14px; color: var(--doux); }
.tr-direct b { color: var(--texte); font-variant-numeric: tabular-nums; }
.tr-direct i { width: 9px; height: 9px; border-radius: 50%; background: #0ca30c; animation: tr-pouls 1.8s infinite; }
.tr-direct.en-pause i { background: var(--sourd); animation: none; }
.tr-direct button { border: 0; background: none; color: var(--texte); font: 600 13px var(--corps); cursor: pointer; padding: 0 0 0 10px; border-left: 1px solid var(--trait); }
@keyframes tr-pouls { 0% { box-shadow: 0 0 0 0 rgba(12,163,12,.55); } 70% { box-shadow: 0 0 0 9px rgba(12,163,12,0); } 100% { box-shadow: 0 0 0 0 rgba(12,163,12,0); } }
.tr-filtres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tr-filtres .bo-filtres button { display: inline-flex; align-items: center; gap: 8px; }
.tr-point { width: 8px; height: 8px; border-radius: 50%; }
.tr-point-quiz { background: var(--tr-quiz); } .tr-point-comptes { background: var(--tr-compte); } .tr-point-connexions { background: var(--tr-connexion); }
.tr-point-videos { background: var(--tr-video); } .tr-point-achats { background: var(--tr-achat); } .tr-point-groupe { background: var(--tr-groupe); } .tr-point-points { background: var(--tr-points); }
#tr-periode { min-height: 34px; padding: 0 12px; border: 1px solid var(--trait); border-radius: 999px; background: var(--fond-2); color: var(--texte); font: 500 13.5px var(--corps); }
.tr-bloc { border-radius: 14px; background: var(--fond-2); box-shadow: 0 0 0 1px var(--trait) inset; }
.tr-bloc > h2 { margin: 0; padding: 18px 22px 6px; font-size: 22px; }
.tr-flux { list-style: none; margin: 0; padding: 6px 10px 12px; }
.tr-jour { padding: 14px 12px 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sourd); font-weight: 600; }
.tr-jour::first-letter { text-transform: uppercase; }
.tr-vide { padding: 16px 12px; color: var(--doux); }
.tr-ev { display: grid; grid-template-columns: 52px 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: inherit; text-decoration: none; }
.tr-ev[href]:hover { background: rgba(255,255,255,.035); }
.tr-ev.sans-lien { cursor: default; }
.tr-ev.nouveau { animation: tr-arrivee 2.4s ease-out; }
@keyframes tr-arrivee { 0% { background: rgba(57,135,229,.24); transform: translateY(-6px); opacity: 0; } 15% { opacity: 1; transform: none; } 100% { background: transparent; } }
.tr-heure { color: var(--sourd); font-size: 13px; font-variant-numeric: tabular-nums; }
.tr-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--carte); }
.tr-ic svg { width: 17px; height: 17px; fill: var(--tr-quiz); }
.tr-ic-compte svg { fill: var(--tr-compte); } .tr-ic-connexion svg { fill: var(--tr-connexion); } .tr-ic-video svg { fill: var(--tr-video); }
.tr-ic-achat svg { fill: var(--tr-achat); } .tr-ic-groupe svg { fill: var(--tr-groupe); } .tr-ic-points svg, .tr-ic-trophee svg { fill: var(--tr-points); }
.tr-point-agenda { background: var(--tr-agenda); } .tr-ic-agenda svg { fill: var(--tr-agenda); }
/* les pages de présentation et de vente (22/11/2026) */
.page-tr { --tr-page: #36b3c4; }
.tr-point-pages { background: var(--tr-page); } .tr-ic-page svg { fill: var(--tr-page); }
.tr-txt { min-width: 0; font-size: 14.5px; }
.tr-txt > span { display: block; }
.tr-txt b { font-weight: 600; }
.tr-txt small { display: block; color: var(--doux); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-barre { display: inline-block; width: 70px; height: 5px; margin-left: 8px; border-radius: 3px; background: var(--carte-2); vertical-align: middle; overflow: hidden; }
.tr-barre i { display: block; height: 100%; background: var(--tr-video); }
.tr-pastille { padding: 2px 9px; border-radius: 999px; background: var(--carte-2); color: var(--doux); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tr-pastille.argent { background: rgba(201,133,0,.16); color: #e7b25c; }
.tr-pastille.reco { background: rgba(57,135,229,.16); color: #8fbdf3; }
@media (max-width: 700px) {
  .tr-ev { grid-template-columns: 42px 30px minmax(0, 1fr); }
  .tr-ev .tr-pastille { grid-column: 3; justify-self: start; }
  .tr-bloc > h2 { padding: 16px 16px 4px; }
}
/* les notes des programmes terminés (22/11/2026) */
.page-tr { --tr-avis: #e8c96a; }
.tr-point-avis { background: var(--tr-avis); } .tr-ic-avis svg { fill: var(--tr-avis); }
