/* The selected benchmark split compares its share of all Gold videos and clips. */
.bs-story {
  --bs-muted: #565550;
  --bs-train: #b34c27;
  --bs-val: #427671;
  --bs-test: #be9649;
  --bs-rule: #c6c5bf;
  color: var(--ink);
  background: var(--paper);
}
.bs-stage { width: 100%; padding: clamp(20px, 3vw, 48px); }
.bs-rule { height: 1px; background: var(--bs-rule); }
.bs-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(18px, 2.6vw, 32px);
}
.bs-headline {
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.06em;
}
.bs-headline-mask { display: block; overflow: hidden; }
.bs-headline-line { display: block; }
.bs-accent { color: var(--line); }
.bs-context { margin-top: 9px; font-size: clamp(12px, 1.05vw, 15px); color: var(--bs-muted); line-height: 1.5; }
.bs-acc { margin-top: clamp(18px, 2.6vw, 38px); border-top: 1px solid var(--bs-rule); }
.bs-item {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) auto;
  align-content: start;
  align-items: baseline;
  width: 100%;
  height: 59px;
  border: 0;
  border-bottom: 1px solid var(--bs-rule);
  padding: 17px 3px 0 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.bs-item.is-open { height: 78px; }
.bs-item:focus-visible, .bs-legend button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.bs-row-name { font-size: clamp(15px, 1.3vw, 19px); line-height: 21px; font-weight: 500; }
.bs-row-count { font-size: clamp(12px, 1vw, 15px); font-variant-numeric: tabular-nums; color: var(--bs-muted); }
.bs-item[data-name="Train"], .bs-legend [data-name="Train"] { --bs-color: var(--bs-train); }
.bs-item[data-name="Val"], .bs-legend [data-name="Val"] { --bs-color: var(--bs-val); }
.bs-item[data-name="Test"], .bs-legend [data-name="Test"] { --bs-color: var(--bs-test); }
.bs-item.is-open .bs-row-name { font-weight: 650; }
.bs-item.is-open .bs-row-count { color: var(--ink); }
.bs-marker, .bs-legend button::before {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--bs-color);
}
.bs-marker { margin-inline-start: 3px; }
.bs-item.is-open .bs-marker { outline: 1px solid var(--ink); outline-offset: 2px; }
.bs-desc { display: none; grid-column: 2 / -1; padding-top: 6px; color: var(--bs-muted); font-size: clamp(11px, .9vw, 13px); line-height: 15px; }
.bs-item.is-open .bs-desc { display: block; }

.bs-card {
  --bs-panel: #f4f1ea;
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 2.2vw, 32px);
  border: 1px solid #bdb6ac;
  border-radius: 9px;
  background: var(--bs-panel);
}
.bs-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2.1vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0 0 clamp(12px, 1.35vw, 18px);
  border-bottom: 1px solid #d4cec3;
  font-size: clamp(11px, .96vw, 14px);
  color: var(--bs-muted);
}
.bs-legend button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 5px;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.bs-legend button::before { content: ""; flex: none; }
.bs-legend .is-current { color: var(--ink); font-weight: 650; }
.bs-legend .is-current button::before { outline: 1px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) {
  .bs-legend button:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (pointer: coarse) {
  .bs-legend button { min-height: 44px; min-width: 44px; }
}
.bs-pies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.8vw, 24px);
  padding-top: clamp(14px, 2.1vw, 28px);
}
.bs-metric { display: grid; gap: 5px; justify-items: center; align-content: start; text-align: center; min-width: 0; }
.bs-metric > strong { font-size: clamp(12px, 1.15vw, 16px); font-weight: 600; line-height: 1.3; }
.bs-ratio { font-size: clamp(10px, .98vw, 14px); color: var(--bs-muted); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.4; }
.bs-card .bs-pie {
  display: grid;
  place-items: center;
  width: min(100%, 158px);
  aspect-ratio: 1;
  margin-bottom: 8px;
  border-radius: 50%;
}
.bs-card.has-pies .bs-pie { background: var(--pie-fill); }
.bs-pie-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bs-panel);
  color: var(--ink);
}
.bs-pie-center b { font-size: clamp(13px, 1.8vw, 24px); font-weight: 550; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.bs-pie-split { color: var(--bs-muted); font-size: clamp(10px, .85vw, 12px); line-height: 1; }
.bs-card noscript p { margin-top: 12px; font-size: 13px; line-height: 1.5; }
.bs-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 860px), (max-height: 544px) {
  .bs-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .bs-stage { padding: 20px 15px; }
  .bs-split { margin-top: 17px; gap: 16px; }
  .bs-acc { margin-top: 14px; }
  .bs-item { height: 47px; padding-top: 11px; }
  .bs-item.is-open { height: auto; min-height: 74px; padding-bottom: 10px; }
  .bs-card { padding: 14px 12px; }
  .bs-card .bs-pie { width: min(100%, 125px); margin-bottom: 5px; }
}
