.parity-hero {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.94));
  color: #f8fafc;
}

.parity-hero h3 {
  margin: 8px 0;
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.parity-hero p {
  color: rgba(248, 250, 252, 0.72);
}

.parity-hero .eyebrow {
  color: rgba(248, 250, 252, 0.62);
}

.parity-group-card {
  display: grid;
  gap: 12px;
}

.parity-list,
.next-block-list {
  display: grid;
  gap: 12px;
}

.parity-item,
.next-block-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.74);
}

.parity-item-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.parity-item-head strong,
.parity-item-head span {
  display: block;
  min-width: 0;
}

.parity-item-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.parity-status {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
  white-space: nowrap;
}

.parity-done {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.parity-partial {
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
}

.parity-missing {
  background: rgba(239, 68, 68, 0.13);
  color: #b91c1c;
}

.parity-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.parity-columns div {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(226, 232, 240, 0.78);
}

.parity-columns small {
  display: block;
  color: var(--muted);
  font-weight: 950;
  font-size: 0.74rem;
  margin-bottom: 6px;
}

.parity-columns p {
  margin: 0;
  color: var(--text);
  line-height: 1.4;
  font-size: 0.88rem;
}

.next-block-card strong,
.next-block-card span {
  display: block;
}

.next-block-card span {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .parity-item-head,
  .parity-columns {
    grid-template-columns: 1fr;
  }

  .parity-status {
    width: fit-content;
  }
}