/* Chat split reader control; shared menu and speech behavior stay unchanged. */
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls{--reader-btn-ink:#5c544d;--reader-btn-hover:#e1dcd5;--reader-btn-active:#ded9d2;display:inline-flex;align-items:center;gap:0;margin-inline-start:8px;border:0;border-radius:8px;background:#e9e4de;color:var(--reader-btn-ink);box-shadow:none;vertical-align:middle}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-play,
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-voice-caret,
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-tts-stop{box-sizing:border-box;position:static!important;display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:36px;width:auto;height:auto;margin:0;padding:0 10px;border:0!important;border-radius:0;background:transparent!important;color:inherit!important;opacity:1;transform:none;box-shadow:none;font:inherit;cursor:pointer}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls button:first-child{border-start-start-radius:8px;border-end-start-radius:8px}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls button:last-child{border-start-end-radius:8px;border-end-end-radius:8px}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-voice-caret{gap:9px;padding-inline:12px}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-tts-stop{border-inline-start:0!important}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls button::before{content:none!important}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-voice-name{display:inline;margin:0;color:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:inherit}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-voice-caret svg{width:14px;height:14px;stroke-width:2;flex:none}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-play svg{width:16px;height:16px}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls button:hover{background:var(--reader-btn-hover)!important}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls button:is(:active,:focus-visible,[aria-expanded=true],[aria-pressed=true]){background:var(--reader-btn-active)!important;outline:none!important}
:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls button:focus-visible{text-decoration:underline;text-underline-offset:3px;box-shadow:inset 0 -3px 0 var(--reader-btn-ink)!important}
[data-theme=dark] :is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls{--reader-btn-ink:#e2ded8;--reader-btn-hover:#48443f;--reader-btn-active:#565049;background:#36332f!important;color:var(--reader-btn-ink)!important;box-shadow:none}
@media(pointer:coarse),(max-width:600px){:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-play,:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-voice-caret,:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls .ss-tts-stop{min-height:44px;min-width:44px}}
@media(forced-colors:active){:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls{border:1px solid ButtonText}:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .chat-msg-actions .ss-reader-controls button:focus-visible{outline:2px solid Highlight!important;outline-offset:-3px}}

:is(#chat-app #chat-messages,#calm-prompt-modal #prompt-builder-chat) .ss-voice-caret .sk-reading-flag{transform:none!important;transition:none!important}
