Description
This task concerns the following TODO in common.ts:

The legends are displayed in a very compact format when there is limited space:

However, with sufficient space, most domains scale up to become more readable:

At a minimum, we should ensure all domains scale similarly (see RHOB for reference).
Additionally, OHMM (under RD) is difficult to read despite having plenty of space. Some entries, like RS, use half of their vertical space just to display a dash. Consider whether it would be better to display labels like RD (OHMM) and RS on a single line when space permits.
Acceptance Criteria
- Ensure all domain legends scale consistently with available space.
- Evaluate and, if beneficial, update the layout to display labels like
RD (OHMM) and RS on a single line when space allows.