/* The browser-like workspace tabs are the only application bar. */
/* hidden on one axis creates an unintended scroll container on the other.
   clip preserves horizontal containment without trapping sticky positioning. */
.app-shell>.main{overflow-x:clip;overflow-y:visible}
.workspace-bar{position:sticky;top:0;z-index:25;display:flex;align-items:stretch;width:100%;min-width:0;background:#f5f6f8;border-bottom:1px solid #dedfe3}
.workspace-bar #workspaceTabs.workspace-tabs{position:static;top:auto;z-index:auto;flex:1 1 auto;min-width:0;width:auto;border-bottom:0}
.workspace-bar>.menu-toggle{display:none}
/* Compact browser tabs, without a disabled toolbar on the home-only view. */
.workspace-bar #workspaceTabs.workspace-tabs{min-height:42px;padding:4px 12px 0;background:#edf1f7;gap:10px}
.workspace-bar .workspace-tabs-list{display:flex;flex:1 1 auto;min-width:0;gap:4px;overflow:hidden;align-items:stretch}
.workspace-bar .workspace-tab-wrap{flex:0 1 190px;min-width:90px;max-width:210px;height:38px;padding:2px 4px 0;border-radius:8px 8px 0 0}
.workspace-bar .workspace-tab-wrap:first-child:has([data-workspace-tab="view:dashboard"]){flex:0 0 102px;min-width:102px}
.workspace-bar .workspace-tab-wrap.active{background:#fff;border-color:#d7e1f0;box-shadow:inset 0 2px #246bfd}
.workspace-bar .workspace-tab-wrap:not(.active):hover{background:#e3eaf4}
.workspace-bar .workspace-tab{flex:1 1 auto;min-width:0;max-width:none;height:34px;padding:0 7px;gap:7px;background:transparent;font-size:12px}
.workspace-bar .workspace-tab-label{flex:1;min-width:0;max-width:none;font-weight:550;text-align:left}
.workspace-bar .workspace-tab.active{color:#246bfd}
.workspace-bar .workspace-overflow-entry:has(.workspace-tab-context) .workspace-tab{height:46px}
.workspace-bar .workspace-tab-context{display:block;margin-top:2px;color:#8a97aa;font-size:10px;line-height:14px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-bar .workspace-tab>span{width:21px;height:21px;flex:0 0 21px;background:transparent}
.workspace-bar .workspace-tab.active>span{background:#ecf3ff}
.workspace-bar .workspace-tab-close{flex:0 0 22px;width:22px;height:24px;padding:0;border-radius:5px;font-size:17px;color:#8994a5}
.workspace-bar .workspace-tab-close:hover{background:#dce7f8;color:#246bfd}
.workspace-bar .workspace-tabs-tools{flex:0 0 auto;margin:0;padding:0 0 3px 0;border:0;background:transparent}
.workspace-bar .workspace-tabs-tools:empty{display:none}
.workspace-bar .workspace-close-all,.workspace-bar .workspace-tabs-more>summary{height:27px;border:0;background:transparent;color:#718096}
.workspace-bar .workspace-close-all:hover,.workspace-bar .workspace-tabs-more>summary:hover{background:#e0e8f4;color:#246bfd}
.workspace-bar button:focus-visible,.workspace-bar summary:focus-visible{outline:2px solid #246bfd;outline-offset:-2px}
@media(max-width:760px){
  .app-shell>.sidebar.open{z-index:40}
  .workspace-bar{min-height:38px;padding-left:3px}
  .workspace-bar>.menu-toggle{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;align-self:center;padding:0;border:0;border-radius:6px;background:transparent;color:#5e6673;font-size:20px}
  .workspace-bar>.menu-toggle:hover{background:#e9edf3}
  .workspace-bar #workspaceTabs.workspace-tabs{min-height:38px;padding:2px 5px 0;gap:4px}
  .workspace-bar .workspace-tab-wrap{height:36px;min-width:80px;max-width:175px}
  .workspace-bar .workspace-tab-wrap:first-child:has([data-workspace-tab="view:dashboard"]){flex-basis:88px;min-width:88px}
}
