.workspace-tabs {
  min-width: 0;
  height: 38px;
  background: #f3f5f8;
  border-bottom: 1px solid #d9e0e8;
  overflow: hidden;
}
.workspace-tabs[hidden] { display: none; }
.workspace-tabs-strip {
  display: flex;
  align-items: end;
  gap: 3px;
  width: 100%;
  height: 100%;
  padding: 5px 8px 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.workspace-tab {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  min-width: 112px;
  max-width: 215px;
  height: 32px;
  color: #526174;
  background: #e7ebf0;
  border: 1px solid #d5dce5;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  overflow: hidden;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.workspace-tab:hover { color: #24364c; background: #edf1f5; }
.workspace-tab.is-active {
  color: var(--navy);
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 -1px 0 rgba(16,42,76,.02);
}
.workspace-tab-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 9px 0 11px;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.workspace-tab-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05px;
}
.workspace-tab-close {
  flex: 0 0 28px;
  width: 28px;
  padding: 0 2px 1px 0;
  color: #7a8797;
  background: transparent;
  border: 0;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.workspace-tab-close:hover { color: #9f2d2d; background: rgba(159,45,45,.06); }
.workspace-tab.is-active .workspace-tab-title { font-weight: 700; }
.workspace-tab.is-active::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  background: var(--blue);
}
@media (max-width: 760px) {
  .workspace-tabs { height: 36px; }
  .workspace-tabs-strip { padding-left: 5px; padding-right: 5px; }
  .workspace-tab { min-width: 104px; max-width: 165px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-tabs-strip { scroll-behavior: auto; }
  .workspace-tab { transition-duration: .01ms !important; }
}

.workspace-tab.is-entity {
  background: #eef2f6;
}
.workspace-tab.is-entity.is-active {
  background: #ffffff;
}
.workspace-tab-entity-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  margin-right: 5px;
  font-size: 12px;
  line-height: 1;
  opacity: .68;
}
.workspace-entity-detail {
  background: #ffffff;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  padding: 18px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .035);
}
.workspace-company-detail .company-detail-head {
  margin-bottom: 14px;
}
.workspace-company-detail .tabs {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  white-space: nowrap;
}
.workspace-company-detail [data-tab-content] {
  min-height: 180px;
}
@media (max-width: 760px) {
  .workspace-entity-detail { padding: 12px; border-radius: 8px; }
}
