/* Blok Grafik/Chart — page builder */
.bk-chart {
    max-width: 100%;
}
.bk-chart-title {
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    margin: 0 0 12px;
    color: #212529;
}
.bk-chart-canvas-wrap {
    position: relative;
    width: 100%;
}
.bk-chart-desc {
    font-size: 13px;
    text-align: center;
    margin: 12px 0 0;
    color: #6c757d;
}

/* ── Grafik v2: bingkai kartu & angka ringkasan (opsi frame/summary) ── */
.bk-chart.bk-chart-card { padding: clamp(18px, 2.6vw, 28px); background: #fff; border: 1px solid #eaecf0; border-radius: 18px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .05), 0 14px 34px -20px rgba(16, 24, 40, .22); }
.bk-chart-card .bk-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.bk-chart-card .bk-chart-title { margin: 0; font-size: 17px; font-weight: 750; text-align: start; color: #101828; }
.bk-chart-card .bk-chart-desc { text-align: start; margin-top: 14px; }
.bk-chart-kpis { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 0 0 14px; }
.bk-chart-card .bk-chart-kpis { margin: 0; justify-content: flex-end; }
.bk-chart-kpi { display: flex; flex-direction: column; min-width: 120px; padding: 10px 14px; border-radius: 12px; background: #f9fafb; border: 1px solid #f2f4f7; }
.bk-chart-kpi span { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #667085; }
.bk-chart-kpi b { font-size: 20px; font-weight: 800; line-height: 1.25; color: #101828; }
.bk-chart-kpi small { font-size: 12px; color: var(--main-color, #b30202); font-weight: 700; }
@media (max-width: 575.98px) { .bk-chart-card .bk-chart-kpis { justify-content: flex-start; } .bk-chart-kpi { flex: 1; min-width: 0; } }
