.space-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 4px 10px 15px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
}

.space-switcher a {
    min-width: 0;
    padding: 9px 7px;
    border-radius: 9px;
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}

.space-switcher a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.space-switcher a.is-active {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 5px 15px rgba(7, 18, 48, .2);
}

@media (max-width: 900px) {
    .space-switcher {
        margin-right: 8px;
        margin-left: 8px;
    }
}
