#dash-playground .pg-voice-mic{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid var(--d-border);border-radius:50%;background:transparent;color:var(--d-muted);cursor:pointer}
#dash-playground .pg-voice-mic[aria-pressed=true]{color:var(--d-accent);border-color:var(--d-accent);background:var(--d-accent-soft)}
#dash-playground .pg-voice-mic:disabled{opacity:.4;cursor:default}
#dash-playground .pg-voice-bar{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 16px);min-height:36px;display:flex;align-items:center;gap:9px;padding:4px 12px;font-size:11px;color:var(--d-muted);background:var(--d-panel);border:1px solid var(--d-border);border-radius:20px;box-sizing:border-box;z-index:12;box-shadow:0 4px 16px #0002}
#dash-playground .pg-voice-bar[hidden]{display:none}
#dash-playground .pg-composer{position:relative}
#dash-playground .pg-voice-status{flex:1;min-width:0;line-height:1.4;max-height:28px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#dash-playground .pg-voice-bar time{min-width:3ch;text-align:right;font-variant-numeric:tabular-nums}
#dash-playground .pg-voice-bar button{border:0;background:transparent;color:var(--d-text);font:inherit;font-size:11px;cursor:pointer;min-height:30px;padding:4px}
#dash-playground .pg-voice-bar button[hidden]{display:none}
#dash-playground .pg-voice-level{display:flex;align-items:center;gap:2px;width:15px;height:18px;flex:none;opacity:0}
#dash-playground .pg-voice-level i{display:block;width:3px;height:16px;border-radius:2px;background:var(--d-accent);transform:scaleY(var(--voice-level,.15));transition:transform 100ms linear}
#dash-playground .pg-voice-level i:nth-child(2){height:10px}
#dash-playground .pg-voice-bar[data-phase=recording] .pg-voice-level{opacity:1}
.pg-voice-transcript{width:min(520px,calc(100vw - 40px));max-height:75dvh;border:1px solid var(--d-border,#555);border-radius:16px;background:var(--d-panel,#303030);color:var(--d-text,#f3f3ed);padding:22px}
.pg-voice-transcript::backdrop{background:#0008}.pg-voice-transcript h2{font-size:19px}.pg-voice-transcript p{font-size:12px;line-height:1.6}.pg-voice-transcript pre{font:inherit;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:40dvh;overflow:auto}.pg-voice-transcript button{padding:10px 14px;margin-right:8px;border:1px solid #555;border-radius:8px;background:transparent;color:inherit;cursor:pointer}
@media(prefers-reduced-motion:reduce){#dash-playground .pg-voice-level i{transition:none}}
