.rp-project-nav {
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.rp-project-nav-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  margin: 0;
  color: #6b6b6b;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background-color: #f5f5f5;
  border-right: 1px solid #e0e0e0;
  line-height: 1.2;
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all 0.15s ease-in-out;
}

.rp-project-nav-tab:last-child {
  border-right: none;
}

.rp-project-nav a.rp-project-nav-tab:hover {
  background-color: #e6f4ff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  text-decoration: none;
}

.rp-project-nav-tab.is-current {
  background: linear-gradient(to bottom, #ececec 0%, #dddddd 50%, #cfcfcf 100%);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
  color: #6b7280;
  cursor: default;
}

.edit-header .rp-project-nav {
  margin: 10px auto 0;
}

@media (max-width: 640px) {
  .rp-project-nav {
    justify-content: flex-start;
    width: 100%;
  }
}
