/* 百分比环形图与占比条 */
.chart-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-around;
}
.ring {
    --pct: 0;
    --color: #1565c0;
    --track: #e8eaf0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: conic-gradient(var(--color) calc(var(--pct) * 1%), var(--track) 0);
    display: grid;
    place-items: center;
    position: relative;
    flex-shrink: 0;
}
.ring::before {
    content: "";
    width: 72%;
    height: 72%;
    background: #fff;
    border-radius: 50%;
    grid-area: 1 / 1;
}
.ring-inner {
    grid-area: 1 / 1;
    z-index: 1;
    text-align: center;
    line-height: 1.2;
}
.ring-inner .pct {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1a237e;
}
.ring-inner .lbl {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}
.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
}
.chart-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pct-bar {
    height: 10px;
    background: #eceff1;
    border-radius: 999px;
    overflow: hidden;
}
.pct-bar > i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #42a5f5, #1565c0);
}
.mini-map-box {
    height: 360px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #e8eef5;
    z-index: 1;
}
@media (max-width: 768px) {
    .ring { width: 90px; height: 90px; }
    .ring-inner .pct { font-size: 18px; }
    .mini-map-box { height: 280px; }
}
