.brin-growth-chart {
    --brin-growth-frame: var(--rf-primary, #315cff);
    --brin-growth-card: var(--rf-white, #fff);
    --brin-growth-title: var(--rf-text, #555);
    --brin-growth-value: var(--rf-black, #0b0b0b);
    --brin-growth-line: var(--rf-black, #0b0b0b);
    --brin-growth-axis: var(--rf-text, #555);
    --brin-growth-grid: var(--rf-primary, #315cff);
    --brin-growth-grid-opacity: .4;
    --brin-growth-badge-bg: var(--rf-black, #0b0b0b);
    --brin-growth-badge-text: #9ff0c5;
    --brin-growth-frame-radius: 36px;
    --brin-growth-card-radius: 30px;
    --brin-growth-line-width: 5px;
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    padding: 72px;
    border-radius: var(--brin-growth-frame-radius);
    background: var(--brin-growth-frame);
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
}

.brin-growth-chart,
.brin-growth-chart * {
    box-sizing: border-box;
}

.brin-growth-chart__card {
    min-width: 0;
    padding: 48px 48px 34px;
    border-radius: var(--brin-growth-card-radius);
    background: var(--brin-growth-card);
    overflow: hidden;
}

.brin-growth-chart__header {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.brin-growth-chart__title {
    margin: 0 0 10px;
    color: var(--brin-growth-title);
    font-family: var(--rf-font-body, inherit);
    font-size: clamp(18px, 2.2vw, 30px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.brin-growth-chart__metric-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(14px, 2vw, 24px);
    min-width: 0;
}

.brin-growth-chart__value {
    color: var(--brin-growth-value);
    font-family: var(--rf-font-display, var(--rf-font-body, inherit));
    font-size: clamp(54px, 8.2vw, 92px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.05em;
    white-space: nowrap;
}

.brin-growth-chart__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--brin-growth-badge-bg);
    color: var(--brin-growth-badge-text);
    font-family: var(--rf-font-body, inherit);
    font-size: clamp(17px, 2vw, 25px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.brin-growth-chart__plot {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 290px;
    min-width: 0;
    margin-top: clamp(18px, 3vw, 34px);
}

.brin-growth-chart__svg {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    overflow: visible;
}

.brin-growth-chart__grid-line {
    stroke: var(--brin-growth-grid);
    stroke-width: 2.5;
    stroke-dasharray: 5 7;
    stroke-linecap: round;
    opacity: var(--brin-growth-grid-opacity);
    vector-effect: non-scaling-stroke;
}

.brin-growth-chart__line {
    fill: none;
    stroke: var(--brin-growth-line);
    stroke-width: var(--brin-growth-line-width);
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.brin-growth-chart__marker {
    fill: var(--brin-growth-card);
    stroke: var(--brin-growth-line);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.brin-growth-chart__axis {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
    width: 100%;
    padding-top: 8px;
}

.brin-growth-chart__axis-label {
    min-width: 0;
    color: var(--brin-growth-axis);
    font-family: var(--rf-font-body, inherit);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.025em;
    text-align: center;
    white-space: nowrap;
}

.brin-growth-chart__sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1024px) {
    .brin-growth-chart {
        padding: 52px;
    }

    .brin-growth-chart__card {
        padding: 40px 40px 30px;
    }

    .brin-growth-chart__plot {
        height: 260px;
    }
}

@media (max-width: 767px) {
    .brin-growth-chart {
        padding: 24px 20px;
        border-radius: min(var(--brin-growth-frame-radius), 26px);
    }

    .brin-growth-chart__card {
        padding: 28px 22px 22px;
        border-radius: min(var(--brin-growth-card-radius), 22px);
    }

    .brin-growth-chart__title {
        margin-bottom: 8px;
    }

    .brin-growth-chart__metric-row {
        gap: 12px;
    }

    .brin-growth-chart__badge {
        min-height: 38px;
        padding: 7px 14px;
    }

    .brin-growth-chart__plot {
        height: 220px;
        margin-top: 14px;
    }

    .brin-growth-chart__axis-label {
        font-size: 22px;
    }
}

@media (max-width: 479px) {
    .brin-growth-chart__value {
        font-size: clamp(46px, 18vw, 66px);
    }

    .brin-growth-chart__axis-label {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brin-growth-chart *,
    .brin-growth-chart *::before,
    .brin-growth-chart *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
