.bnd-rp-chart, .bnd-rp-chart * { box-sizing: border-box; }
.bnd-rp-chart { width: 100%; font-family: "Museosans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.bnd-rp-chart__card { background: #FCFAF7; border-radius: 16px; padding: 28px 28px 24px; max-width: 960px; margin: 0 auto; }
.bnd-rp-chart__header { display: block; }
.bnd-rp-chart__header--split { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bnd-rp-chart__header-main { min-width: 0; }
.bnd-rp-chart__title { font-family: "MuseoSlab", "Museosans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; font-weight: 500; color: #333333; margin: 0 0 4px; }
.bnd-rp-chart__subtitle { font-size: 12px; color: #595959; margin: 0 0 20px; }
.bnd-rp-chart__header--split .bnd-rp-chart__subtitle { margin-bottom: 20px; }
.bnd-rp-chart__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.bnd-rp-chart__toggle { display: flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 20px; border: 1.5px solid; font-size: 12px; font-weight: 500; cursor: pointer; transition: opacity 0.15s; background: transparent; font-family: inherit; line-height: 1.4; appearance: none; }
.bnd-rp-chart__toggle.is-off { text-decoration: line-through; }
.bnd-rp-chart__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.bnd-rp-chart__line-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; font-size: 12px; color: #595959; align-items: center; }
.bnd-rp-chart__header--split .bnd-rp-chart__line-legend { margin-bottom: 0; }
.bnd-rp-chart__line-legend-item { display: flex; align-items: center; gap: 7px; }
.bnd-rp-chart__outer { position: relative; width: 100%; }
.bnd-rp-chart__wrap { position: relative; width: 100%; height: 340px; }
.bnd-rp-chart--variant-sparen .bnd-rp-chart__wrap { height: 320px; }
.bnd-rp-chart__end-values { display: grid; grid-template-columns: repeat(var(--bnd-rp-end-value-columns, 4), 1fr); gap: 10px; margin-top: 16px; }
.bnd-rp-chart__end-value { border-radius: 8px; border: 1.5px solid; padding: 10px 12px; transition: opacity 0.15s; background: transparent; }
.bnd-rp-chart__end-value--header { flex-shrink: 0; min-width: 110px; margin-left: 0; background: #FCFAF7; }
.bnd-rp-chart__end-value.is-off { border-style: dashed; text-decoration: line-through; }
.bnd-rp-chart__end-value-label { font-size: 9px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: #595959; margin-bottom: 4px; line-height: 1; }
.bnd-rp-chart__end-value-name { font-size: 12px; color: #555555; margin-bottom: 4px; font-weight: 500; line-height: 1; }
.bnd-rp-chart__end-value-amount { font-size: 20px; font-weight: 700; color: #333333; line-height: 1; margin-bottom: 5px; }
.bnd-rp-chart__end-value-inflation { font-size: 12px; color: #595959; line-height: 1; }
.bnd-rp-chart__header--return { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.bnd-rp-chart__header--return .bnd-rp-chart__title { margin-bottom: 0; }
.bnd-rp-chart__return-controls { display: inline-flex; gap: 8px; align-items: center; }
.bnd-rp-chart__return-button { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #c9c7c1; background: transparent; font-family: inherit; font-size: 12px; font-weight: 500; color: #555555; cursor: pointer; line-height: 1; transition: background 0.15s, border-color 0.15s, color 0.15s; appearance: none; }
.bnd-rp-chart__return-button:hover { border-color: #888888; color: #333333; }
.bnd-rp-chart__return-button.is-active { background: #07568A; border-color: #07568A; color: #ffffff; }
.bnd-rp-chart__return-button.is-active:hover { border-color: #07568A; color: #ffffff; }
.bnd-rp-chart--variant-rendement-3jaar .bnd-rp-chart__wrap, .bnd-rp-chart--variant-rendement-15jaar .bnd-rp-chart__wrap { height: 420px; }
.bnd-rp-chart__return-legend { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 18px; font-size: 12px; color: #555555; align-items: center; }
.bnd-rp-chart__return-legend-item { display: flex; align-items: center; gap: 7px; }
.bnd-rp-chart__return-legend-square { width: 11px; height: 11px; border-radius: 2px; }
.bnd-rp-chart__return-legend-line { width: 18px; height: 2.5px; background: #333333; border-radius: 2px; }
.bnd-rp-chart__comparison-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.bnd-rp-chart__comparison-heading { flex-basis: 100%; }
.bnd-rp-chart__comparison-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #555555; align-items: center; }
.bnd-rp-chart__comparison-legend-item { display: flex; align-items: center; gap: 8px; }
.bnd-rp-chart__comparison-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.bnd-rp-chart__comparison-end-values { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.bnd-rp-chart__comparison-end-value { border-radius: 4px; border: 1.5px solid; padding: 8px 12px; background: transparent; }
.bnd-rp-chart__comparison-end-value-label { font-size: 9px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: #595959; margin-bottom: 3px; }
.bnd-rp-chart__comparison-end-value-name { font-size: 11px; color: #555555; margin-bottom: 3px; font-weight: 500; }
.bnd-rp-chart__comparison-end-value-amount { font-size: 18px; font-weight: 700; color: #333333; line-height: 1; }
.bnd-rp-chart--variant-duurzaam-vs-standaard .bnd-rp-chart__card { border-radius: 8px; }
.bnd-rp-chart--variant-duurzaam-vs-standaard .bnd-rp-chart__wrap { height: 360px; }
@media (max-width: 640px) {
    .bnd-rp-chart__header--split { display: block; }
    .bnd-rp-chart__header--return { flex-direction: column; align-items: flex-start; }
    .bnd-rp-chart__comparison-header { flex-direction: column; align-items: flex-start; }
    .bnd-rp-chart__comparison-end-values { justify-content: flex-start; }
    .bnd-rp-chart__return-controls { width: 100%; flex-wrap: wrap; }
    .bnd-rp-chart__header--split .bnd-rp-chart__line-legend { margin-bottom: 12px; }
    .bnd-rp-chart__end-value--header { margin-bottom: 12px; }
    .bnd-rp-chart__end-values { grid-template-columns: repeat(2, 1fr); }
    .bnd-rp-chart__wrap, .bnd-rp-chart--variant-sparen .bnd-rp-chart__wrap { height: 260px; }
    .bnd-rp-chart--variant-rendement-3jaar .bnd-rp-chart__wrap, .bnd-rp-chart--variant-rendement-15jaar .bnd-rp-chart__wrap { height: 360px; }
    .bnd-rp-chart--variant-duurzaam-vs-standaard .bnd-rp-chart__wrap { height: 280px; }
    .bnd-rp-chart__card { padding: 20px 16px 18px; }
}
