.bottleneck {
  --bottleneck-length: 80%;
  padding: clamp(16px, 3.5vw, 28px);
  margin-block: 22px 30px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  background: #f0f4eb;
  color: var(--ink);
  font-family: var(--sans);
}
.bottleneck figcaption {
  font: 400 clamp(25px, 4vw, 31px)/1.15 var(--serif);
}
.bottleneck .bottleneck-assumption {
  margin: 8px 0 20px;
  color: var(--text);
  font: 400 15px/1.55 var(--sans);
}
.bottleneck .bottleneck-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  gap: 12px 25px;
}
.bottleneck .bottleneck-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.bottleneck .bottleneck-label span {
  color: var(--green);
  white-space: nowrap;
}
.bottleneck input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  accent-color: var(--green);
}
.bottleneck .bottleneck-comparison {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  padding-block: 14px;
  border-block: 1px solid #c9d4c4;
}
.bottleneck .bottleneck-row {
  display: grid;
  grid-template-columns: 83px minmax(30px, 1fr) 71px;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.bottleneck .bottleneck-row > :last-child { text-align: right; }
.bottleneck .bottleneck-track {
  overflow: hidden;
  height: 9px;
  border-radius: 3px;
  background: #d8e1d4;
}
.bottleneck .bottleneck-original { height: 100%; background: #758a74; }
.bottleneck .bottleneck-adjusted {
  width: var(--bottleneck-length);
  height: 100%;
  background: var(--green);
}
.bottleneck .bottleneck-result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-size: 14px;
}
.bottleneck .bottleneck-result strong { color: var(--green); font-size: 18px; }
@media print {
  .bottleneck { break-inside: avoid; }
  .bottleneck input[type="range"] { display: none; }
}
