.workspace-topbar {
  max-width: 1680px;
  margin: 0 auto 18px;
  padding: 18px 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.workspace-topbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.workspace-topbar__logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
  flex-shrink: 0;
}

.workspace-topbar__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.workspace-topbar__desc {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
}

.workspace-topbar__tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.workspace-tab {
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: #eff6ff;
  color: #33537d;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.workspace-tab:hover {
  transform: translateY(-1px);
  background: #e5f0ff;
}

.workspace-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

@media (max-width: 1024px) {
  .workspace-topbar {
    padding: 16px;
  }

  .workspace-topbar__title {
    font-size: 20px;
  }

  .workspace-topbar__tabs {
    width: 100%;
  }

  .workspace-tab {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .workspace-topbar__brand {
    align-items: flex-start;
  }

  .workspace-topbar__tabs {
    flex-direction: column;
  }

  .workspace-tab {
    width: 100%;
  }
}