/* "Listen" voice reader (inc/voice-reader.php, js/voice-reader.js). Site palette: navy #071d33, blue #0b5fd8 / #2f7bf5, orange #ff8a3d. */
.ls-voice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; padding: 10px 12px; border: 1px solid #dce5ef; border-radius: 14px; background: #f8fbff; }
.ls-voice[hidden] { display: none; }
.ls-voice-play { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 6px; border: 0; border-radius: 999px; background: #0b5fd8; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
.ls-voice-play:hover { background: #0849a8; }
.ls-voice-play:focus-visible, .ls-voice-seg button:focus-visible, .ls-voice-stop:focus-visible { outline: 2px solid #071d33; outline-offset: 2px; }
.ls-voice-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.ls-voice-ico svg { width: 18px; height: 18px; fill: #0b5fd8; }
.ls-voice-ico .is-pause, .ls-voice.is-playing .ls-voice-ico .is-play { display: none; }
.ls-voice.is-playing .ls-voice-ico .is-pause { display: block; }
.ls-voice.is-playing .ls-voice-play { background: #071d33; }
.ls-voice.is-playing .ls-voice-ico svg { fill: #071d33; }
.ls-voice-time { color: #3b4d66; font-size: 13.5px; font-weight: 700; }
.ls-voice-time:empty { display: none; }
.ls-voice-opts { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.ls-voice-seg { display: inline-flex; padding: 3px; border: 1px solid #c3d3ea; border-radius: 999px; background: #fff; }
.ls-voice-seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #071d33; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.ls-voice-seg button[aria-pressed="true"] { background: #071d33; color: #fff; }
.ls-voice-rate { min-height: 40px; padding: 0 28px 0 10px; border: 1px solid #c3d3ea; border-radius: 10px; background-color: #fff; color: #071d33; font-size: 13.5px; font-weight: 700; }
.ls-voice-stop { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #ff8a3d; cursor: pointer; }
.ls-voice-stop[hidden] { display: none; }
.ls-voice-stop svg { width: 16px; height: 16px; fill: #071d33; }
.ls-voice-note { flex: 1 1 100%; color: #a64b0b; font-size: 12.5px; }
.ls-voice-note[hidden] { display: none; }
@media (max-width: 600px) {
    .ls-voice { gap: 10px; }
    .ls-voice-play { flex: 1 1 auto; justify-content: flex-start; }
    .ls-voice-opts { flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
}
