.tactics-board-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  white-space: nowrap;
}

.tactics-board-link::before {
  content: "▦";
  font-size: 13px;
}

.landing-actions .tactics-board-link {
  color: inherit;
}

.product-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, max-content);
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.product-switcher :is(a, span) {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.product-switcher a:hover {
  color: var(--ink);
  background: rgba(17, 24, 39, 0.05);
}

.product-switcher .active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(24, 166, 106, 0.2);
}

@media (max-width: 760px) {
  .topbar-actions .product-switcher :is(a, span) {
    min-height: 26px;
    padding: 0 8px;
    font-size: 9px;
  }

  .topbar-actions .tactics-board-link {
    min-width: 38px;
    width: 38px;
    padding: 0;
    font-size: 0;
  }

  .topbar-actions .tactics-board-link::before {
    font-size: 15px;
  }
}
