.wdtransf-agg-widget .wdtransf-agg-shell {
    background: #f4f7fb;
    border: 1px solid #d8e3ee;
    border-radius: 12px;
    padding: 8px;
}

.wdtransf-agg-widget .wdtransf-agg-chart-wrap {
    background: #e8ecf1;
    border: 1px solid #d3dde8;
    border-radius: 16px;
    padding: 10px 12px;
}

.wdtransf-agg-widget .wdtransf-agg-title {
    margin: 0 0 8px;
    color: #00507c;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.wdtransf-agg-widget .wdtransf-agg-chart {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-legend {
    margin-bottom: 4px;
    color: #486680;
    font-size: 12px;
    font-weight: 600;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-legend-swatch {
    display: inline-block;
    width: 16px;
    height: 10px;
    border-radius: 2px;
    background: #0f678a;
}

.wdtransf-agg-widget .wdtransf-agg-vchart {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 8px;
    align-items: end;
    min-height: 195px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-axis {
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #57728b;
    font-size: 11px;
    text-align: right;
    padding-right: 2px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-plot {
    position: relative;
    height: 160px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-grid {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid #ced9e4;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-grid.grid-100 { top: 0; }
.wdtransf-agg-widget .wdtransf-agg-vchart-grid.grid-50 { top: 50%; }
.wdtransf-agg-widget .wdtransf-agg-vchart-grid.grid-0 { bottom: 0; }

.wdtransf-agg-widget .wdtransf-agg-vchart-bars {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 0 6px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-item {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-value {
    color: #1e4e71;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    min-height: 12px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-bar-wrap {
    width: 30px;
    height: 120px;
    display: flex;
    align-items: flex-end;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: #0f678a;
    min-height: 2px;
}

.wdtransf-agg-widget .wdtransf-agg-vchart-label {
    color: #3c5c75;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: rotate(-12deg);
    transform-origin: center top;
}

.wdtransf-agg-widget .wdtransf-agg-chart-empty {
    color: #4f6880;
    font-size: 12px;
    padding: 8px 0;
}

@media (max-width: 767px) {
    .wdtransf-agg-widget .wdtransf-agg-chart-wrap {
        padding: 8px;
    }

    .wdtransf-agg-widget .wdtransf-agg-title {
        font-size: 16px;
    }

    .wdtransf-agg-widget .wdtransf-agg-vchart {
        grid-template-columns: 1fr;
        min-height: 170px;
    }

    .wdtransf-agg-widget .wdtransf-agg-vchart-axis {
        display: none;
    }

    .wdtransf-agg-widget .wdtransf-agg-vchart-plot {
        height: 145px;
    }

    .wdtransf-agg-widget .wdtransf-agg-vchart-bar-wrap {
        height: 108px;
    }

    .wdtransf-agg-widget .wdtransf-agg-vchart-label {
        transform: none;
    }
}
