#voicePanel[hidden]{display:none!important}
#voicePanel{position:fixed;z-index:95;right:20px;top:82px;width:330px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 180px);overflow:auto;box-sizing:border-box;padding:18px;background:#17252af5;color:#f5edda;border:1px solid #8ab7ac;border-radius:12px;box-shadow:0 8px 30px #0008;font:15px/1.45 system-ui,sans-serif}
#voicePanel header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#voicePanel button{min-width:44px;min-height:44px;border:1px solid #8ab7ac;border-radius:8px;background:#244541;color:#fff;font:inherit;cursor:pointer}
#voiceListen{width:100%;padding:10px}#voicePanel button:disabled{opacity:.6;cursor:default}
#voicePanel .voice-privacy{font-size:13px;color:#c4ceca}#voiceStatus{margin-bottom:0}
#voiceOpen.voice-listening{background:#783a2a;border-color:#ffa77a}
body.in-mill #voicePanel{top:182px;max-height:calc(100dvh - 202px)}
@media(max-width:600px){#voicePanel{top:72px;right:12px;width:calc(100vw - 24px);padding:14px}}
@media(max-width:740px){body.in-mill #voicePanel{top:264px;max-height:calc(100dvh - 282px)}}
@media(max-width:740px){body.journey-school .journey-goal{max-width:calc(100% - 225px)}}
@media(max-height:500px) and (orientation:landscape){#voicePanel,body.in-mill #voicePanel{left:174px;right:auto;top:90px;max-height:calc(100dvh - 170px);width:min(400px,calc(100vw - 380px))}}
