.research-figure {
  margin: 1.4rem 0 1.75rem;
  padding: clamp(.75rem, 3vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  color: #192a35;
  font-size: .875rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.research-figure figcaption {
  margin-bottom: .9rem;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.4;
}

.research-figure .figure-number {
  display: block;
  margin-bottom: .3rem;
  color: #527080;
  font-size: .75rem;
}

.research-figure .grid,
.research-figure .compare,
.research-figure .stack {
  display: grid;
  gap: .55rem;
}

.research-figure .grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
}

.research-figure .compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-figure .card {
  min-width: 0;
  padding: .75rem;
  border: 1px solid #dce4e8;
  border-radius: .5rem;
  background: #f8fafb;
}

.research-figure .blue {
  border-color: #c6dce9;
  background: #eff6fb;
}

.research-figure .green {
  border-color: #c1dfd7;
  background: #eef7f5;
}

.research-figure .warm {
  border-color: #e9d9bd;
  background: #fbf5ec;
}

.research-figure .card-title {
  margin-bottom: .4rem;
  font-size: .95rem;
  font-weight: 700;
}

.research-figure p {
  margin: .3rem 0 0;
  color: inherit;
}

.research-figure .muted {
  color: #596b77;
  font-size: .8125rem;
}

.research-figure .num {
  color: #245b75;
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.research-figure .small,
.research-figure .tag,
.research-figure .pill {
  font-size: .75rem;
  font-weight: 650;
}

.research-figure .small {
  color: #526a78;
}

.research-figure .tag {
  color: #216953;
}

.research-figure .pill {
  display: inline-block;
  margin-top: .25rem;
  padding: .1rem .4rem;
  border-radius: .25rem;
  background: #e2eeef;
  color: #35606c;
}

.research-figure .arrow {
  align-self: center;
  padding-block: .15rem;
  color: #527080;
  font-size: 1.15rem;
  line-height: 1.15;
  text-align: center;
}

.research-figure .flow {
  display: flex;
  gap: .5rem;
}

.research-figure .flow > .card {
  flex: 1;
}

.research-figure .findings {
  margin-top: .85rem;
}

.research-figure .line {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) minmax(0, 1fr);
  gap: .5rem;
  align-items: baseline;
  padding-block: .5rem;
  border-bottom: 1px solid var(--line);
  font-size: .8125rem;
}

.research-figure .line:last-child {
  border-bottom: 0;
}

.research-figure .index {
  color: #28718a;
  font-weight: 700;
}

.research-figure .line span:last-child {
  color: #596b77;
}

.research-figure .legend {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  color: #445b69;
  font-size: .8125rem;
}

.research-figure .dot {
  display: inline-block;
  width: .65rem;
  height: .65rem;
  margin-right: .3rem;
  border-radius: .15rem;
}

.research-figure .barrow {
  margin-top: .75rem;
}

.research-figure .rowtitle {
  font-weight: 650;
}

.research-figure .bar {
  display: grid;
  grid-template-columns: minmax(0, var(--shark-share)) minmax(0, var(--dyson-share));
  min-height: 1.8rem;
  margin-top: .3rem;
  border-radius: .3rem;
  overflow: hidden;
}

.research-figure [data-shark-share="91"] {
  --shark-share: 91fr;
  --dyson-share: 9fr;
}

.research-figure [data-shark-share="49"] {
  --shark-share: 49fr;
  --dyson-share: 51fr;
}

.research-figure [data-shark-share="12"] {
  --shark-share: 12fr;
  --dyson-share: 88fr;
}

.research-figure .bar > div {
  display: grid;
  place-items: center;
  color: white;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}

.research-figure .shark {
  background: #426d8b;
}

.research-figure .dyson {
  background: #197968;
}

.research-figure .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.research-figure .call {
  margin-top: .75rem;
  padding: .5rem .75rem;
  border-left: 3px solid #287c75;
  background: #f2f7f6;
}

.research-figure .foot {
  margin-top: .85rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line);
  color: #596b77;
  font-size: .75rem;
}

@media (max-width: 35rem) {
  .research-figure .compare {
    grid-template-columns: minmax(0, 1fr);
  }

  .research-figure .flow {
    flex-direction: column;
  }

  .research-figure .flow > .arrow {
    transform: rotate(90deg);
  }
}

@media (forced-colors: active) {
  .research-figure .dot,
  .research-figure .bar > div {
    forced-color-adjust: none;
  }
}
