.blog-article .research-tool {
    --research-blue: #1a63e6;
    --research-teal: #148875;
    --research-red: #d33a45;
    --research-grid: #dce5f2;
    margin: 34px 0 38px;
    padding: 28px;
    border: 1px solid var(--blog-line);
    border-radius: 14px;
    background: var(--blog-card);
}

.blog-article .research-tool__eyebrow {
    margin: 0;
    color: var(--blog-blue);
    font: 700 11px/17px "Inter", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-article .research-tool h3 {
    margin: 7px 0 0;
    font-size: 23px;
    line-height: 31px;
}

.blog-article .research-tool__intro {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--blog-muted);
    font-size: 14px;
    line-height: 23px;
}

.blog-article .research-tool__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.blog-article .research-tool__controls button {
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid var(--blog-line);
    border-radius: 7px;
    background: transparent;
    color: var(--blog-muted);
    cursor: pointer;
    font: 600 12px/18px "Inter", sans-serif;
}

.blog-article .research-tool__controls button:hover,
.blog-article .research-tool__controls button.is-active {
    border-color: var(--blog-blue);
    background: var(--blog-blue);
    color: #fff;
}

.blog-article .research-chart__plot {
    position: relative;
    margin-top: 18px;
}

.blog-article .research-chart svg {
    display: block;
    overflow: visible;
    width: 100%;
    height: auto;
}

.blog-article .research-chart__grid line {
    stroke: var(--research-grid);
    stroke-width: 1;
}

.blog-article .research-chart__grid text,
.blog-article .research-chart__axis text {
    fill: var(--blog-muted);
    font: 11px "Inter", sans-serif;
}

.blog-article .research-chart__axis-title {
    font-weight: 600;
}

.blog-article .research-chart__line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.blog-article .research-chart__line--dc {
    stroke: var(--research-blue);
}

.blog-article .research-chart__line--isp {
    stroke: var(--research-teal);
}

.blog-article .research-chart__reference {
    fill: none;
    stroke: var(--blog-muted);
    stroke-dasharray: 6 6;
    stroke-width: 1.5;
}

.blog-article .research-chart__limit {
    stroke: var(--research-red);
    stroke-dasharray: 5 5;
    stroke-width: 1.5;
}

.blog-article .research-chart__limit-label {
    fill: var(--research-red);
    font: 600 11px "Inter", sans-serif;
}

.blog-article .research-chart__points circle {
    fill: var(--blog-card);
    stroke-width: 3;
    cursor: pointer;
}

.blog-article .research-chart__points circle[data-pool="dc"] {
    stroke: var(--research-blue);
}

.blog-article .research-chart__points circle[data-pool="isp"] {
    stroke: var(--research-teal);
}

.blog-article .research-chart__points circle:hover,
.blog-article .research-chart__points circle:focus {
    outline: none;
}

.blog-article .research-chart__points circle[data-pool="dc"]:hover,
.blog-article .research-chart__points circle[data-pool="dc"]:focus {
    fill: var(--research-blue);
}

.blog-article .research-chart__points circle[data-pool="isp"]:hover,
.blog-article .research-chart__points circle[data-pool="isp"]:focus {
    fill: var(--research-teal);
}

.blog-article .research-chart__bar-success {
    fill: var(--research-blue);
}

.blog-article .research-chart__bar-refused {
    fill: var(--research-red);
    opacity: 0.78;
}

.blog-article .research-chart__bar-hit {
    fill: transparent;
    cursor: pointer;
    stroke: transparent;
    stroke-width: 3;
}

.blog-article .research-chart__bar-hit:hover,
.blog-article .research-chart__bar-hit:focus {
    outline: none;
    stroke: var(--blog-ink);
    stroke-opacity: 0.45;
}

.blog-article .research-chart__pool-label {
    font-size: 9px;
}

.blog-article .research-chart__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 10px;
    color: var(--blog-muted);
    font: 12px/18px "Inter", sans-serif;
}

.blog-article .research-chart__legend[hidden] {
    display: none;
}

.blog-article .research-chart__legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.blog-article .research-chart__legend i {
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--research-blue);
}

.blog-article .research-chart__legend .is-isp {
    background: var(--research-teal);
}

.blog-article .research-chart__legend .is-refused {
    background: var(--research-red);
}

.blog-article .research-chart__legend .is-reference {
    height: 0;
    border-top: 2px dashed var(--blog-muted);
    background: transparent;
}

.blog-article .research-chart__legend .is-limit {
    height: 0;
    border-top: 2px dashed var(--research-red);
    background: transparent;
}

.blog-article .research-chart__tooltip {
    position: absolute;
    z-index: 2;
    display: grid;
    min-width: 180px;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid var(--blog-line);
    border-radius: 8px;
    background: var(--blog-card);
    box-shadow: 0 10px 30px rgba(13, 30, 58, 0.16);
    color: var(--blog-text);
    font: 12px/18px "Inter", sans-serif;
    pointer-events: auto;
    transform: translate(-50%, calc(-100% - 12px));
}

.blog-article .research-chart__tooltip[hidden] {
    display: none;
}

.blog-article .research-chart__tooltip strong {
    color: var(--blog-ink);
}

.blog-article .research-chart__tooltip-close {
    position: absolute;
    top: 5px;
    right: 6px;
    display: none;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--blog-muted);
    cursor: pointer;
    font: 500 20px/20px "Inter", sans-serif;
}

.blog-article .research-chart__note,
.blog-article .capacity-tool__note {
    margin: 10px 0 0;
    color: var(--blog-muted);
    font-size: 12px;
    line-height: 19px;
}

.blog-article .capacity-benchmark {
    display: grid;
    gap: 15px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--blog-line);
    border-radius: 10px;
    background: var(--blog-bg);
}

.blog-article .capacity-benchmark__row {
    display: grid;
    grid-template-columns: minmax(145px, 0.8fr) minmax(180px, 1.6fr) 58px;
    align-items: center;
    gap: 12px;
    color: var(--blog-muted);
    font: 12px/18px "Inter", sans-serif;
}

.blog-article .capacity-benchmark__track {
    overflow: hidden;
    height: 8px;
    border-radius: 5px;
    background: var(--blog-line);
}

.blog-article .capacity-benchmark__track i {
    display: block;
    width: var(--bar);
    height: 100%;
    border-radius: inherit;
    background: var(--research-blue);
}

.blog-article .capacity-benchmark__row.is-isp .capacity-benchmark__track i {
    background: var(--research-teal);
}

.blog-article .capacity-benchmark__row.is-burst .capacity-benchmark__track i {
    background: var(--research-red);
}

.blog-article .capacity-benchmark__row strong {
    color: var(--blog-ink);
    text-align: right;
}

.blog-article .capacity-tool__form {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(220px, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.blog-article .capacity-tool__field > label,
.blog-article .capacity-tool__field > span {
    display: block;
    margin-bottom: 8px;
    color: var(--blog-ink);
    font: 600 13px/20px "Inter", sans-serif;
}

.blog-article .capacity-tool__number {
    width: 100%;
    min-height: 42px;
    padding: 8px 11px;
    border: 1px solid var(--blog-line);
    border-radius: 7px;
    background: var(--blog-card);
    color: var(--blog-ink);
    font: 600 15px/22px "Inter", sans-serif;
}

.blog-article .capacity-tool__range {
    width: 100%;
    margin-top: 10px;
    accent-color: var(--blog-blue);
}

.blog-article .capacity-tool__refresh {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.blog-article .capacity-tool__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.blog-article .capacity-tool__result {
    padding: 15px;
    border: 1px solid var(--blog-line);
    border-radius: 10px;
    background: var(--blog-bg);
}

.blog-article .capacity-tool__result span {
    display: block;
    min-height: 36px;
    color: var(--blog-muted);
    font: 12px/18px "Inter", sans-serif;
}

.blog-article .capacity-tool__result strong {
    display: block;
    margin-top: 5px;
    color: var(--blog-ink);
    font: 700 27px/32px "Inter", sans-serif;
}

[data-theme="dark"] .blog-article .research-tool {
    --research-blue: #7fa8f0;
    --research-teal: #55c6af;
    --research-red: #f06f79;
    --research-grid: #2b3445;
}

@media (hover: none), (pointer: coarse) {
    .blog-article .research-chart__tooltip {
        padding-right: 34px;
    }

    .blog-article .research-chart__tooltip-close {
        display: inline-flex;
    }
}

@media (max-width: 700px) {
    .blog-article .research-tool {
        margin-right: -8px;
        margin-left: -8px;
        padding: 20px 14px;
    }

    .blog-article .research-tool h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .blog-article .research-tool__controls,
    .blog-article .capacity-tool__refresh {
        display: grid;
        grid-template-columns: 1fr;
    }

    .blog-article .capacity-tool__form,
    .blog-article .capacity-tool__results {
        grid-template-columns: 1fr;
    }

    .blog-article .capacity-benchmark__row {
        grid-template-columns: 120px 1fr 50px;
        gap: 8px;
    }

    .blog-article .research-chart__tooltip {
        min-width: 160px;
        font-size: 11px;
    }
}
