/* Classic view navigation belongs below the constant shared header. */
#analysis-matrix-content > #viewSwitch {
    position: absolute;
    z-index: 100;
    top: var(--analysis-matrix-header-height, 4rem);
    left: 0;
    right: 0;
    height: 2.75rem;
    box-sizing: border-box;
    margin: 0;
    padding: .35rem .75rem;
    gap: .65rem;
    align-items: center;
    justify-content: safe center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(255, 255, 255, .96);
    pointer-events: auto;
}
#analysis-matrix-content > #viewSwitch[hidden] { display: none !important; }
#analysis-matrix-content > #viewSwitch .viewSwitchItem {
    flex: 0 0 auto;
    height: auto;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 1rem;
}
#analysis-matrix-content > #viewSwitch .viewSwitchItemSpan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    padding: 0;
    line-height: 1;
    font-size: 1.15rem;
}
#analysis-matrix-content.classic-view-switch-active > .analysis-matrix-meta-header {
    top: calc(var(--analysis-matrix-header-height, 4rem) + 2.75rem);
}

/* The legacy saved-view title overlaps the shared view navigation. */
.FavNameDiv { display: none !important; }
