.paired-results {
  container-type: inline-size;
  margin: 1.2rem 0;
  border: 1px solid var(--rule);
  border-radius: .55rem;
  overflow: hidden;
  background: white;
  color: var(--ink);
}
.paired-results figcaption {
  padding: .8rem 1rem;
  background: #edf4ee;
  color: var(--ink);
  font: 650 .93rem/1.4 var(--sans);
}
.paired-results .paired-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font: .86rem/1.4 var(--sans);
  font-variant-numeric: tabular-nums;
}
.paired-results .paired-table :is(th, td) {
  padding: .6rem .5rem;
  text-align: right;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid var(--rule);
}
.paired-results .paired-table thead th { color: var(--quiet); font-weight: 600; font-size: .8rem; }
.paired-results .paired-table tr > :first-child { text-align: left; padding-left: 1rem; }
.paired-results .paired-table tr > :last-child { padding-right: 1rem; }
.paired-results .paired-table tbody tr:last-child > * { border-bottom: 0; }
.paired-name { display: inline-flex; align-items: center; gap: .45rem; text-align: left; }
.paired-name img { display: inline-block; width: 1.05rem; height: 1.05rem; margin: 0; flex: none; object-fit: contain; }
.paired-results .paired-plot-cell { width: 29%; min-width: 6rem; }
.paired-axis { display: flex; justify-content: space-between; color: var(--quiet); font: .74rem/1.3 var(--mono); }
.paired-plot {
  position: relative;
  height: 1.2rem;
  border-inline: 1px solid var(--rule);
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--rule) calc(25% - 1px) 25%);
}
.paired-segment { position: absolute; top: calc(50% - 1.5px); left: var(--original); width: calc(var(--capped) - var(--original)); height: 3px; background: #82ae91; }
.paired-extended { left: var(--capped); width: max(0px, calc(var(--final) - var(--capped))); background: #c4dac8; }
.paired-dot {
  box-sizing: border-box;
  display: inline-block;
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
}
.paired-original { background: white; border: 1.5px solid #61786a; }
.paired-capped { background: var(--accent); }
.paired-final { background: #a4c5af; border: 1px solid #648b70; }
.paired-plot .paired-dot { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.paired-plot .paired-original { left: var(--original); }
.paired-plot .paired-capped { left: var(--capped); }
.paired-plot .paired-final { left: var(--final); }
.paired-stage { display: block; white-space: nowrap; }
.paired-stage .paired-dot { margin-inline-end: .22em; }
.paired-value { white-space: nowrap; }
.paired-change { color: var(--accent); font-weight: 650; }
.paired-mobile-label { display: none; }
@container (max-width: 39rem) {
  .paired-results .paired-table, .paired-results .paired-table tbody { display: block; }
  .paired-results .paired-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .paired-results .paired-table tbody tr {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem .4rem;
    align-items: start;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--rule);
  }
  .paired-results .paired-table tbody tr:last-child { border: 0; }
  .paired-results .paired-table tbody tr > * {
    display: block; width: auto; min-width: 0; border: 0; padding: 0; text-align: left;
  }
  .paired-results .paired-table tbody tr > th { grid-column: 1 / -1; }
  .paired-results .paired-table .paired-plot-cell { grid-column: 1 / -1; }
  .paired-mobile-label { display: block; margin-bottom: .18rem; color: var(--quiet); font-size: .75rem; font-weight: 500; line-height: 1.3; }
  .paired-mobile-label .paired-dot { width: .5rem; height: .5rem; margin-inline-end: .15rem; }
  .paired-plot::before, .paired-plot::after { color: var(--quiet); font: .7rem/1.2 var(--mono); }
  .paired-plot::before { content: "0%"; position: absolute; left: 0; bottom: 0; background: white; }
  .paired-plot::after { content: "80%"; position: absolute; right: 0; bottom: 0; background: white; }
}
@container (max-width: 23rem) {
  .paired-results .paired-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
