/* A single toolbar row at every width, including tablet and narrow desktop panes. */
#consoleView > .toolbar.single-row-toolbar { flex-wrap:nowrap; min-height:46px; gap:6px; }
#consoleView > .toolbar.single-row-toolbar > .project-identity { display:flex; flex:1 1 220px; min-width:min(220px, calc(100% - 60px)); gap:6px; }
#consoleView > .toolbar.single-row-toolbar .project-menu-toggle { min-width:0; max-width:45%; }
#consoleView > .toolbar.single-row-toolbar .project-menu-toggle::before { content:none; }
#consoleView > .toolbar.single-row-toolbar .project-title { display:block; min-height:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#consoleView > .toolbar.single-row-toolbar .project-conversation-switch { flex:1; min-width:0; max-width:320px; }
#consoleView > .toolbar.single-row-toolbar #projectConversationSelect { min-width:32px; width:0; flex:1; max-width:none; }
#consoleView > .toolbar.single-row-toolbar .toolbar-run-group[role="group"] { display:flex; flex:0 0 auto; max-width:none; margin-left:0; }
#consoleView > .toolbar.single-row-toolbar .toolbar-run-group #modelPicker { flex:none; width:210px; min-width:0; }
#consoleView > .toolbar.single-row-toolbar .toolbar-run-group #reasoningEffortPicker { flex:none; width:94px; min-width:0; }
#consoleView > .toolbar.single-row-toolbar > :is(.view-mode-switch,.icon-button) { flex-shrink:0; }
.toolbar-control-label { display:none; }
#workspaceMainMenu.has-toolbar-overflow { width:min(340px, calc(100vw - 16px)); }
#workspaceMainMenu .toolbar-overflow-group { display:flex; flex-wrap:wrap; gap:6px; padding:8px 0; border-top:1px solid var(--line); }
#workspaceMainMenu .toolbar-overflow-group h3 { flex-basis:100%; margin:0 4px 2px; font-size:11px; font-weight:500; color:var(--muted); }
#workspaceMainMenu .toolbar-overflow-group .toolbar-model-picker { display:flex; flex:1 1 100%; width:100%; max-width:100%; min-width:0; min-height:36px; padding:0 8px; }
#workspaceMainMenu .toolbar-control-label { display:inline; flex:0 0 auto; font-size:12px; }
#workspaceMainMenu .toolbar-model-picker > i { display:none; }
#workspaceMainMenu .toolbar-model-picker select { flex:1; width:0; min-width:0; font-size:13px; }
#workspaceMainMenu .toolbar-overflow-group :is(.icon-button,.fast-mode-button) { display:inline-flex; align-items:center; justify-content:center; width:auto; min-width:0; min-height:36px; gap:6px; padding:4px 9px; font-size:12px; color:var(--text); }
#workspaceMainMenu .toolbar-overflow-group .fast-mode-button.is-active { color:var(--accent); background:var(--panel-soft); }
#workspaceMainMenu .toolbar-overflow-group :is(.icon-button,.fast-mode-button,.view-mode-button) > span { display:inline; position:static; width:auto; height:auto; margin:0; padding:0; clip-path:none; overflow:visible; }
#workspaceMainMenu .view-mode-switch { display:flex; flex:1; flex-wrap:wrap; gap:2px; }
#workspaceMainMenu .view-mode-button { width:auto; min-width:34px; min-height:36px; flex:1 1 auto !important; gap:4px; padding:4px 8px; }
@media(max-width:620px) {
  #consoleView > .toolbar.single-row-toolbar { min-height:44px; }
  #consoleView > .toolbar.single-row-toolbar .project-title { font-size:12px; }
}
