/* Outils de la leçon : écoute et fiche PDF */
.ec-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.ec-tools [hidden] { display: none !important; }
.ec-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; justify-content: center;
  background: #0f172a; color: #fff; border-radius: 16px; padding: .5rem .7rem; box-shadow: 0 18px 50px rgba(15, 23, 42, .35); max-width: calc(100vw - 24px); }
.ec-bar button { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 10px; font-size: 1rem; cursor: pointer; }
.ec-bar button:hover { background: rgba(255, 255, 255, .2); }
.ec-bar .ec-play { background: var(--brand); width: 46px; }
.ec-pos { font-size: .82rem; min-width: 4.5em; text-align: center; color: #cbd5e1; }
.ec-bar select { width: auto; margin: 0; padding: .3rem .4rem; border-radius: 8px; font-size: .8rem; background: #1e293b; color: #fff; border: 1px solid #334155; }
.ec-rate { font-size: .78rem; color: #cbd5e1; display: flex; gap: .3rem; align-items: center; font-weight: 400; margin: 0; }
.ec-voice { max-width: 170px; }
.ec-close { background: transparent !important; }
.ec-current { background: #fff6cc; box-shadow: 0 0 0 4px #fff6cc; border-radius: 4px; transition: background .2s; }
body.has-ec-bar { padding-bottom: 90px; }
.day-sheet { margin: -.2rem 0 .6rem; font-size: .9rem; }
@media (max-width: 560px) { .ec-voice { display: none; } .ec-bar { bottom: 8px; } }
