.overview-benchmarks {
  container-type: inline-size;
  position: relative;
  margin: 2rem 0 0;
  padding: 1.25rem 1.1rem 1rem;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  color: #242424;
}
.ov-benchmark-legend { display: grid; gap: .5rem; margin: 1.5rem 0 0; }
.ov-legend-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .7rem 1.1rem; }
.ov-legend-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .2rem 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #333;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  transition: opacity .2s, color .2s;
}
.ov-legend-item:hover, .ov-legend-item[aria-pressed="true"] { color: #174896; }
.ov-legend-item strong { font-weight: 700; }
.ov-swatch { display: inline-block; width: .65rem; height: .65rem; flex: 0 0 .65rem; border-radius: 1px; background: var(--ov-color); }
.ov-legend-logo { width: .875rem; height: .875rem; flex: 0 0 .875rem; object-fit: contain; mix-blend-mode: multiply; }
.ov-larger-label { color: #858585; font-size: .875rem; font-style: italic; white-space: nowrap; }
.ov-benchmark-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1.65rem; }
.ov-benchmark-panel { min-width: 0; }
.ov-benchmark-panel h3 { margin: 0; color: #242424; font-size: .875rem; font-weight: 700; line-height: 1.4; text-align: center; white-space: nowrap; }
.ov-benchmark-plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) .25rem repeat(2, minmax(0, 1fr));
  align-items: end;
  column-gap: .24rem;
  height: 10rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #d9d9d9;
}
.ov-bar {
  position: relative;
  display: block;
  width: 100%;
  height: var(--ov-height);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  appearance: none;
  isolation: isolate;
  transition: opacity .2s;
}
.ov-bar-fill { position: absolute; inset: 0 9%; border-radius: 4px; background: var(--ov-color); transform-origin: center bottom; transition: transform .23s cubic-bezier(.2,.7,.3,1), filter .23s, box-shadow .23s; }
.ov-bar-score { position: absolute; top: .24rem; left: 50%; color: var(--ov-score-color); font: 400 .71875rem/1.25 Arial, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.ov-bar-logo { position: absolute; bottom: calc(100% + .4rem); left: 50%; width: 1rem; height: 1rem; object-fit: contain; transform: translateX(-50%); pointer-events: none; mix-blend-mode: multiply; transition: transform .23s; }
.ov-bar-label { position: absolute; top: calc(100% + .35rem); left: 50%; color: #666; font: 400 .8125rem/1.3 Arial, sans-serif; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.ov-bar.is-sage .ov-bar-score, .ov-bar.is-short .ov-bar-score { top: auto; bottom: calc(100% + .25rem); }
.ov-bar.is-sage .ov-bar-score { font-size: .8125rem; font-weight: 700; }
.ov-bar.is-sage .ov-bar-logo { bottom: calc(100% + 1.45rem); width: 1.125rem; height: 1.125rem; }
.ov-bar.is-short .ov-bar-logo { bottom: calc(100% + 1.35rem); }
.ov-bar:hover, .ov-bar:focus-visible { z-index: 3; }
.ov-bar:hover .ov-bar-fill, .ov-bar:focus-visible .ov-bar-fill { filter: brightness(.95); transform: scale(1.08, 1.025); box-shadow: 0 6px 14px #1d2c4524; }
.ov-bar:hover .ov-bar-logo, .ov-bar:focus-visible .ov-bar-logo { transform: translate(-50%, -3px); }
.ov-bar:focus-visible { outline: 2px solid #7f9fce; outline-offset: 4px; }
.ov-bar.is-muted { opacity: .32; }
.ov-legend-item.is-muted { opacity: .42; }
.ov-benchmark-divider { align-self: end; justify-self: center; width: 1px; height: 79%; border-left: 1px dashed #c4c4c4; pointer-events: none; }
.ov-benchmark-tooltip {
  position: fixed;
  z-index: 80;
  display: grid;
  gap: .25rem;
  max-width: min(22rem, calc(100vw - 24px));
  padding: .6rem .75rem;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #fffffff5;
  box-shadow: 0 7px 26px #1d2c4520;
  color: #1d2c45;
  font-size: .8125rem;
  line-height: 1.5;
  pointer-events: none;
}
.ov-benchmark-tooltip[hidden] { display: none; }
.ov-benchmark-tooltip strong { font-weight: 600; overflow-wrap: anywhere; }
.ov-benchmark-tooltip span { color: #62718a; }
@container (max-width: 820px) {
  .ov-benchmark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.75rem; }
  .ov-benchmark-plot { column-gap: .5rem; height: 11rem; }
  .ov-legend-row { gap: .5rem 1rem; }
}
@container (max-width: 450px) {
  .ov-benchmark-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .ov-benchmark-plot { height: 11.5rem; column-gap: .55rem; }
  .ov-legend-row { justify-content: flex-start; gap: .5rem .9rem; }
  .ov-benchmark-panel h3 { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ov-bar-fill, .ov-bar-logo, .ov-bar, .ov-legend-item { transition: none; }
  .ov-bar:hover .ov-bar-fill, .ov-bar:focus-visible .ov-bar-fill { transform: none; }
  .ov-bar:hover .ov-bar-logo, .ov-bar:focus-visible .ov-bar-logo { transform: translateX(-50%); }
}
