#speechWorkspaceRoot{max-width:760px;margin:auto;color:var(--text);line-height:1.6}
#speechWorkspaceRoot label{display:flex;flex-direction:column;gap:5px;margin:12px 0;min-width:0}
#speechWorkspaceRoot input,#speechWorkspaceRoot select,#speechWorkspaceRoot textarea{font:inherit;color:var(--text);background:var(--surface2,var(--surface));border:1px solid var(--border);border-radius:8px;padding:10px;min-height:44px;box-sizing:border-box;width:100%}
#speechWorkspaceRoot details{border:1px solid var(--border);border-radius:10px;padding:12px;margin:12px 0}
#speechWorkspaceRoot summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}
.speech-help{font-size:.9rem;color:var(--text2,var(--text))}.speech-gpu{font-weight:600;color:var(--accent,var(--text))}
.speech-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.speech-actions .ui-btn,#speechWorkspaceRoot button{min-height:44px;padding:10px 14px;cursor:pointer}
.speech-grid,.speech-voices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.speech-voices{border:1px solid var(--border);border-radius:8px;margin:12px 0}.speech-voices legend{font-weight:600;padding:0 5px}
#speechStatus{padding:12px;border-radius:8px;background:var(--surface2,var(--surface));overflow-wrap:anywhere;min-height:44px}
#speechReader{position:fixed;right:16px;bottom:18px;width:min(440px,calc(100vw - 32px));max-height:55vh;overflow:auto;z-index:12000;background:var(--surface,#fff);color:var(--text,#111);border:1px solid var(--border,#bbb);border-radius:14px;padding:16px;box-shadow:0 8px 36px #0003;box-sizing:border-box}
#speechReader p{margin:8px 0;overflow-wrap:anywhere}#speechReader .speech-actions{margin-bottom:0}#speechReader button{min-height:44px;font:inherit;border:1px solid var(--border,#bbb);border-radius:8px;background:var(--surface2,#eee);color:var(--text,#111);padding:8px 12px;cursor:pointer}
@media(max-width:480px){.speech-grid,.speech-voices{grid-template-columns:1fr}#speechReader{right:8px;bottom:8px;width:calc(100vw - 16px)}.speech-actions>*{flex:1 1 auto}}
