.chartkit-ymap {
    height: 100%;

    &__wrapper {
        position: relative;
        width: 100%;
        height: 100%;

        .Pane1.vertical .Pane {
            height: 100%;
        }
    }

    & [class^='ymaps-'] {
        & [class*='copyright'] {
            display: none;
        }

        & [class$='balloon__content'] {
            padding: 0;
            margin: 0;
        }

        & [class$='balloon__tail'],
        & [class$='balloon__tail']:after {
            background-color: #000000;
            opacity: 0.8;
        }

        & [class$='balloon__close'] {
            filter: invert(1);
        }
    }

    & .chartkit-yandex-map-chips {
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--g-color-text-light-primary);

        &.active {
            border: 2px solid var(--g-color-text-light-primary);
            transform: translate(-2px, -2px);
        }

        &.inactive {
            filter: opacity(0.5) saturate(0);
        }
    }

    &__tooltip-container {
        .chartkit-tooltip {
            width: 100%;
            border: none;
            box-shadow: none;
            position: initial;

            &__cell_yandex-map {
                white-space: initial;
            }
        }
    }

    &_with-split-tooltip .chartkit-tooltip {
        &_yandex-map {
            display: none;
        }
    }

    &#{&}_with-split-tooltip {
        height: 100%;
    }
}
