.view-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 6px;
  margin-bottom: 12px;
}

.view-tab {
  flex: 1 1 0;
  min-height: 42px;
  border: 1px solid transparent;
  border-bottom-color: transparent;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  margin-bottom: -1px;
  position: relative;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
}

.view-tab.is-active {
  border-color: var(--line);
  border-bottom-color: var(--panel);
  background: var(--panel);
  color: var(--primary-dark);
  z-index: 2;
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.04);
}

.view-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--panel);
}

.view-tab:not(.is-active):hover,
.view-tab:not(.is-active):focus {
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
  outline: 0;
}

.view-hidden {
  display: none !important;
}
