/* Scoped bottom-left workspace controls; existing shell/player remain unchanged. */
.sidebar .sidebar-foot.workspace-foot,#shell.sidebar-compact>.sidebar .sidebar-foot.workspace-foot{display:block;margin-top:auto;min-width:0;padding-top:12px}
.workspace-trigger{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:8px;background:transparent;border-color:transparent;text-align:left;color:var(--muted)}
.workspace-trigger:hover{background:var(--tint);color:var(--text)}
.workspace-trigger>svg{flex:0 0 20px}.workspace-label{display:grid;min-width:0;flex:1;line-height:1.4}.workspace-label small{font-size:10px}.workspace-label>span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-chevron{flex:0 0 14px}
.workspace-popover{position:fixed;z-index:1100;width:272px;max-width:calc(100vw - 16px);overflow:auto;padding:8px;background:var(--panel,#1a1a21);border:1px solid var(--line,#32323d);border-radius:10px;box-shadow:0 8px 24px #0006;text-align:left}
.workspace-popover[hidden]{display:none}.workspace-popover section+section{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.workspace-popover h3{font-size:11px;font-weight:500;color:var(--muted);margin:4px 8px 6px}.workspace-popover p{font-size:12px;color:var(--muted);margin:8px}.workspace-popover button{display:block;width:100%;text-align:left;padding:9px 8px;background:transparent;border-color:transparent;font-size:13px;overflow-wrap:anywhere}.workspace-popover button:hover,.workspace-row[aria-current="true"]{background:var(--tint);color:var(--accent)}
.workspace-setup{max-width:min(420px,calc(100vw - 32px));background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:24px}.workspace-setup h2{font-size:18px;margin-top:0}.workspace-setup p{font-size:14px;line-height:1.6}.workspace-setup::backdrop{background:#0008}
@media(min-width:651px){#shell.sidebar-compact .workspace-label,#shell.sidebar-compact .workspace-chevron{display:none}#shell.sidebar-compact .workspace-trigger{justify-content:center;padding:8px}}
@media(max-width:650px){.sidebar .sidebar-foot.workspace-foot{position:fixed;left:8px;bottom:calc(156px + var(--wave-extra,0px));z-index:1000;padding:0;width:40px}.workspace-foot .workspace-trigger{background:var(--panel);border:1px solid var(--line);width:40px;height:40px;justify-content:center;padding:8px}.workspace-foot .workspace-label,.workspace-foot .workspace-chevron{display:none}}
