/* Workspace tabs are independent of the tabs inside each dashboard. */
.portal-workspace-tabs { position:sticky; top:0; z-index:900; background:#f6f7f9; display:flex; flex-wrap:nowrap; gap:6px; box-sizing:border-box; width:100%; max-width:100%; min-width:0; overflow-x:auto; overscroll-behavior-x:contain; padding:12px 0 8px; scrollbar-width:thin; }
.portal-workspace-tab { display:inline-flex; align-items:stretch; flex:0 0 auto; max-width:260px; border:1px solid #e5e7eb; border-radius:8px; background:#fff; }
.portal-workspace-tab > button { min-width:0; border:0; background:transparent; color:#4b5563; padding:10px 12px; margin:0; font:600 13px Arial,sans-serif; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-radius:7px; }
.portal-workspace-tab.is-active { border-color:#15803d; background:#f0fdf4; }
.portal-workspace-tab.is-active > button { color:#166534; }
.portal-workspace-tab > .portal-workspace-close { flex:0 0 36px; padding:8px; font-size:20px; }
.portal-workspace-tab > button:focus-visible { outline:2px solid #15803d; outline-offset:-3px; }
.portal-workspace-tabs[aria-busy=true] { cursor:progress; }
@media(max-width:720px) {
  .portal-workspace-tabs { gap:5px; padding-top:10px; }
  .portal-workspace-tab { max-width:210px; }
  .portal-workspace-tab > button { min-height:44px; padding:10px; }
  .portal-workspace-tab > .portal-workspace-close { flex-basis:44px; }
}
