/* One navigation row, one work surface, a persistent status separate from output. */
#right-workspace-panel .workspace-heading{display:flex;align-items:center;gap:6px;min-width:0}
#right-workspace-panel .workspace-heading .workspace-tabs{flex:1;min-width:0}
#right-workspace-panel .workspace-heading .activity-close{flex:none;width:34px;min-height:36px;padding:0;border:0;background:transparent;font-size:22px;color:var(--rd-muted,#52665f)}
#right-workspace-panel .context-tabs{gap:4px;margin-bottom:12px;padding-bottom:10px}
#right-workspace-panel .workspace-bar{justify-content:space-between}
#right-workspace-panel .workspace-bar .panel-calendar{display:inline-flex;align-items:center;gap:6px}
.panel-calendar svg{width:16px;height:16px}
.bio-connection{display:flex;align-items:flex-start;gap:6px;position:relative;min-width:0;margin-bottom:10px}
.bio-workbench .bio-location{margin:0;flex:1;min-width:0;background:var(--rd-surface,#fff)}
.bio-workbench .bio-location>summary{padding:8px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;min-height:20px;line-height:20px;cursor:pointer}
.bio-workbench .bio-resources{flex:none;margin:0;padding:0;border:0;background:transparent}
.bio-resources>summary{padding:8px 10px;border:1px solid var(--rd-border,#d7e3de);border-radius:8px;min-height:20px;line-height:20px;list-style:none;font-size:12px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bio-resources>summary::-webkit-details-marker{display:none}
.bio-workbench .bio-resources[open]{position:absolute;right:0;top:0;width:min(380px,100%);z-index:5;padding:12px;box-sizing:border-box;background:var(--rd-surface,#fff);border:1px solid var(--rd-border,#d7e3de);border-radius:10px;box-shadow:0 8px 28px #102a2820}
.bio-resources[open]>summary{border:0;max-width:none;padding:0 0 10px;font-weight:650}
.bio-workbench .bio-tabs{gap:2px;margin:0 0 12px;padding:3px;background:var(--rd-canvas,#f2f6f4);border-radius:8px;flex-wrap:nowrap}
.bio-workbench .bio-tabs button{min-height:34px;border:0;background:transparent;color:var(--rd-muted,#52665f);border-radius:6px;font-size:13px}
.bio-workbench .bio-tabs button[aria-pressed=true]{background:var(--rd-surface,#fff);color:var(--rd-primary,#126254);box-shadow:0 1px 3px #12302c18}
.codebench-terminal-view,.codebench-shell-view{min-width:0;display:grid;gap:10px}
.codebench-terminal-view>[hidden]{display:none!important}
.terminal-view-switch{display:flex;gap:12px;border-bottom:1px solid var(--rd-border,#d7e3de);margin-bottom:2px}
.terminal-view-switch button{padding:6px 2px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--rd-muted,#52665f);font-size:12px;min-height:32px}
.terminal-view-switch button[aria-pressed=true]{border-bottom-color:var(--rd-primary,#126254);color:var(--rd-primary,#126254);font-weight:650}
#right-workspace-panel .codebench-ai-commands .command-log{margin-bottom:0}
#right-workspace-panel .codebench-ai-commands .command-log header h3{font-size:12px}
#right-workspace-panel .codebench-ai-commands .command-log-scroll{height:min(var(--codebench-commands,320px),65dvh)}
.bio-workbench .bio-message{margin:0 0 8px;padding:7px 9px;border-radius:6px;background:var(--rd-canvas,#f2f6f4);font-size:12px}
.bio-content .bio-local-tools{font-size:12px}
.work-status-dock{margin:0 0 8px;font-size:12px;min-width:0}
.work-status-dock[hidden]{display:none}
.work-status-current{display:flex;align-items:center;gap:10px;border:1px solid var(--rd-border,#d7e3de);border-left:3px solid var(--rd-primary,#126254);background:var(--rd-primary-soft,#eaf5f1);padding:9px 11px;border-radius:8px}
.work-status-copy{flex:1;min-width:0}
.work-status-copy strong{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.5;flex-wrap:wrap}
.work-status-copy time{font-variant-numeric:tabular-nums;color:var(--rd-muted,#52665f);font-weight:400}
.work-status-copy>span{display:block;line-height:1.5;color:var(--rd-muted,#52665f);margin-top:2px}
.work-status-actions{display:flex;flex:none;align-items:center;gap:4px;flex-wrap:wrap;max-width:160px}
.work-status-actions button{padding:5px 7px;min-height:32px;border:1px solid var(--rd-border,#d7e3de);border-radius:6px;background:var(--rd-surface,#fff);font-size:12px;white-space:nowrap}
.work-status-current[data-state=awaiting_confirmation],.work-status-current[data-state=blocked]{border-left-color:#ac6a10;background:var(--rd-warning-soft,#fff5de)}
.work-pulse{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--rd-primary,#126254)}
.other-work{margin-top:5px;border:1px solid var(--rd-border,#d7e3de);border-radius:7px;background:var(--rd-surface,#fff)}
.other-work>summary{padding:8px 10px;cursor:pointer;font-size:12px;min-height:18px}
.other-work .work-pulse{margin-right:6px}
.other-work>div{max-height:160px;overflow:auto;padding:0 6px 6px}
.other-work button{display:flex;justify-content:space-between;gap:10px;width:100%;text-align:left;padding:8px;border:0;border-radius:5px;background:transparent;font-size:12px}
.other-work button:hover{background:var(--rd-canvas,#f2f6f4)}
.other-work button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.other-work small{color:var(--rd-muted,#52665f)}
.chat-workspace .message h3{font-size:14px}
.chat-workspace .message .actions{gap:8px;flex-wrap:wrap}
.chat-workspace .chat-execution{border:1px solid var(--rd-border,#d7e3de);border-radius:9px;background:var(--rd-surface,#fff)}
.chat-workspace .chat-execution>summary{padding:0 12px;font-size:13px;line-height:1.5}
.chat-workspace .chat-execution [data-inline-log]{padding:0 8px 8px}
.chat-workspace .chat-execution .command-log{margin-bottom:0}
@media(max-width:800px){
 #right-workspace-panel .workspace-heading .activity-close{width:40px;min-height:44px}
 .bio-workbench .bio-tabs button,.terminal-view-switch button,.bio-workbench .bio-location>summary,.bio-resources>summary{min-height:28px}
 .bio-workbench .bio-tabs button,.terminal-view-switch button{min-height:40px}
 .work-status-current{align-items:flex-start;padding:8px;gap:6px}
 .work-status-actions{max-width:92px;justify-content:flex-end}
 .work-status-actions button{min-height:36px}
 .work-status-copy>span{font-size:11px}
 .other-work button{flex-direction:column;gap:3px}
}

.execution-control-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0 10px;font-size:12px;color:var(--rd-muted,#52665f)}
.execution-control-row button{font-size:12px;min-height:32px;padding:4px 8px}
