html, body {
    margin: 0;
}
.charts-view {
    /* display: flex; */
}
.charts-view__chart {
    display: inline-block;
    margin: 5px 5px 50px 5px;
    max-width: 560px;
    min-width: 320px;
    width: 100%;
}

.kei-chart {
    border: 1px solid lightgray;
    position: relative;
}
.kei-chart__main-canvas {
    /*   background-color: lightcoral; */
    display: block;
}
.kei-chart__control-canvas {
    /*   background-color: lightblue; */
    display: block;
}
.kei-chart__grid-mask {
    background: linear-gradient(to right, white 50px, transparent 100px, transparent calc(100% - 100px) , white calc(100% - 50px));
    bottom: 100px;
    height: 28px;
    position: absolute;
    width: 100%;
}
.kei-chart__navi {
    bottom: 0;
    display: flex;
    height: 100px;
    left: 0;
    position: absolute;
    width: 100%;
}
.kei-chart__navi__rmask {
    background: linear-gradient(rgba(173, 216, 230, 0.3) 0, rgba(173, 216, 230, 0.3) 100%), linear-gradient(rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0.9) 100%);
    width: 0;
}
.kei-chart__navi__lmask {
    background: linear-gradient(rgba(173, 216, 230, 0.3) 0, rgba(173, 216, 230, 0.3) 100%), linear-gradient(rgba(255, 255, 255, 0.8) 0, rgba(255, 255, 255, 0.8) 100%);
    flex: 1;
}
.kei-chart__navi__lctrl, .kei-chart__navi__rctrl {
    background-color: rgba(173, 216, 230, 0.8);
    cursor: ew-resize;
    width: 10px;
}
.kei-chart__navi__lctrl:hover, .kei-chart__navi__rctrl:hover {
    background-color: rgba(173, 216, 230, 0.9);
}
.kei-chart__navi__win {
    border-color: rgba(173, 216, 230, 0.7);
    border-style: solid;
    border-width: 2px 0;
    cursor: move;
    display: flex;
    justify-content: space-between;
    width: 140px;
}
.kei-chart__buttons {
    display: flex;
}
.kei-chart__buttons input[type=checkbox] {
    display: none;
}
.kei-chart__buttons__btn {
    align-items: center;
    border: 1px solid lightgray;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    font-family: 'Verdana', sans-serif;
    font-size: 12px;
    height: 30px;
    margin: 10px 6px 0 0;
    padding: 0 12px;
    user-select: none;
}
.kei-chart__buttons__fake-checkbox {
    align-items: center;
    border-radius: 50%;
    border-style: solid;
    border-width: 1px;
    color: white;
    display: flex;
    font-size: 9px;
    /* font-weight: bold; */
    height: 16px;
    justify-content: center;
    margin: 0 7px 0 -5px;
    width: 16px;
}
input:not(:checked) ~ .kei-chart__buttons__fake-checkbox {
    background-color: white !important;
}
input:disabled ~ .kei-chart__buttons__fake-checkbox {
    background-color: lightgray !important;
    border-color: lightgray !important;
    color: lightgray;
}
input:disabled ~ .kei-chart__buttons__text {
    color: lightgray;
}
input:checked:disabled ~ .kei-chart__buttons__fake-checkbox {
    color: white;
}
@media (max-width: 320px) {
    .kei-chart__control-canvas {
        /* display: none; */
    }
    .kei-chart__navi {
        /* display: none; */
    }
    .kei-chart__buttons {
        /* display: none; */
    }
}
