.app > main { min-width: 0; background: var(--bg); }
.topbar { position: sticky; top: 0; z-index: 30; }
.workspace-tabs {
  position: sticky;
  top: 64px;
  z-index: 25;
  min-height: 47px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  padding: 7px 18px 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #dfe4ed;
  background: #edf1f7;
  scrollbar-width: thin;
  scrollbar-color: #c6cedd transparent;
}
.workspace-tabs::before { content: ""; flex: 0 0 1px; }
.workspace-tab-shell {
  height: 40px;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #dce2ed;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f8f9fc;
  color: #64718a;
  transition: background .16s, border-color .16s, color .16s;
}
.workspace-tab-shell:hover { background: #fff; color: #2f4162; }
.workspace-tab-shell.active { border-color: #b8c8f4; background: #fff; color: #2d62e7; box-shadow: 0 -3px 0 #4774ff inset; }
.workspace-tab-shell.fixed .workspace-tab-main { padding-right: 16px; }
.workspace-tab-main, .workspace-tab-close { border: 0; background: transparent; color: inherit; cursor: pointer; }
.workspace-tab-main { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 8px 0 13px; }
.workspace-tab-main i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #8793a9; background: #e9edf4; font-size: 11px; font-style: normal; font-weight: 800; }
.workspace-tab-shell.active .workspace-tab-main i { color: #fff; background: #4774ff; }
.workspace-tab-main span { max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.workspace-tab-close { width: 29px; padding: 0 8px 1px 4px; color: #9aa4b7; font-size: 17px; line-height: 1; }
.workspace-tab-close:hover { color: #e05263; }
.content { width: 100%; }
@media (max-width: 980px) { .workspace-tabs { padding-left: 12px; padding-right: 12px; }.workspace-tab-main span { max-width: 100px; } }
@media (max-width: 650px) { .workspace-tabs { top: 64px; min-height: 44px; padding: 5px 8px 0; gap: 5px; }.workspace-tab-shell { height: 38px; }.workspace-tab-main { padding-left: 10px; }.workspace-tab-main span { max-width: 92px; } }
