.rel-section {
  margin: 34px 0 18px;
}

.rel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.rel-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.rel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: .7275rem;
  letter-spacing: .09em;
}

.rel-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.rel-badge.is-pass,
.rel-stage strong.is-pass {
  color: var(--accent);
}

.rel-badge.is-warn,
.rel-stage strong.is-warn {
  color: #d9ad64;
}

.rel-badge.is-fail,
.rel-stage strong.is-fail {
  color: #c98080;
}

.rel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 0 13px;
  color: #60727a;
  font-family: "IBM Plex Mono", monospace;
  font-size: .7375rem;
}

.rel-meta strong {
  color: #aab9bf;
  font-weight: 500;
}

.rel-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.rel-stage {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.14);
}

.rel-stage > span,
.rel-stage > strong,
.rel-stage > small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
}

.rel-stage > span {
  color: #617984;
  font-size: .7175rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rel-stage > strong {
  margin-top: 10px;
  font-size: .8275rem;
  font-weight: 600;
}

.rel-stage > small {
  margin-top: 6px;
  color: #60727a;
  font-size: .6975rem;
  line-height: 1.45;
}

.rel-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 9px;
  color: #53676f;
  font-family: "IBM Plex Mono", monospace;
  font-size: .6975rem;
}

@media (max-width: 960px) {
  .rel-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .rel-stages {
    grid-template-columns: 1fr;
  }

  .rel-foot {
    flex-direction: column;
  }
}
