.plot-shell {
  height: 390px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: radial-gradient(circle at 60% 35%, rgba(63, 126, 133, .11), transparent 55%), #0a2029;
  overflow: hidden
}

.plot-shell svg {
  display: block;
  width: 100%;
  height: 100%
}

.plot-corner {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #102c36;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em
}

.plot-corner strong {
  color: var(--accent);
  font-size: 15px;
  margin-left: 6px
}

.split-legend {
  padding: 14px 0 18px
}

.legend .curve {
  width: 17px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
  vertical-align: middle
}

.metric-row {
  margin-top: 3px
}

.test-stat {
  border-color: rgba(255, 210, 126, .25)
}

.test-stat strong {
  color: var(--amber)
}

.test-warning {
  margin-top: 14px;
  border-left: 2px solid var(--pink);
  background: rgba(255, 140, 155, .1);
  border-radius: 0 9px 9px 0;
  padding: 11px 13px;
  color: #ffd2d8;
  font-size: 12px
}

.split-strip {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: 4px
}

.split-strip span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--accent);
  opacity: .84
}

.split-strip span.validation {
  background: var(--blue)
}

.split-strip span.test {
  background: var(--amber)
}

.split-counts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 13px 0;
  color: var(--muted);
  font-size: 11px
}

.split-counts strong {
  color: var(--text)
}

.candidate-chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 9px;
  align-items: end;
  min-height: 168px
}

.candidate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--faint);
  padding: 0
}

.candidate-bar-wrap {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: end;
  background: #0b222b;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 4px
}

.candidate-bar {
  width: 100%;
  min-height: 7px;
  border-radius: 4px;
  background: #487480;
  transition: height .3s
}

.candidate.active .candidate-bar {
  background: linear-gradient(#9af2d5, #4ccaa9)
}

.candidate.best .candidate-bar-wrap {
  border-color: rgba(115, 230, 192, .5)
}

.candidate strong {
  font-size: 10px;
  color: var(--muted)
}

.candidate.active strong {
  color: var(--accent)
}

.candidate small {
  font-size: 9px
}

.final-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.protocol {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px
}

.protocol li {
  display: flex;
  gap: 11px;
  align-items: start
}

.protocol li>span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(115, 230, 192, .26);
  color: var(--accent);
  border-radius: 9px;
  font: 700 11px 'Space Grotesk', sans-serif;
  flex: none
}

.protocol strong {
  display: block;
  font-size: 12px
}

.protocol small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 2px
}

@media(max-width:700px) {
  .plot-shell {
    height: 290px
  }

  .split-strip {
    grid-template-columns: repeat(16, 1fr)
  }

  .candidate-chart {
    gap: 4px
  }

  .candidate-bar-wrap {
    height: 105px
  }

  .candidate-chart {
    min-height: 140px
  }
}

.error-definition {
  margin: 11px 0 0
}
