/* The comparison is the lead illustration on the invoice article. */
main.wrap:has(.rf-proof) > .article-hero {
  display: none;
}

.rf-proof {
  margin-block: 24px;
  padding: clamp(12px, 2.5vw, 24px);
  border: 1px solid #30313c;
  border-radius: 18px;
  background: #12121a;
  color: #ededf4;
  font-size: 14px;
  line-height: 1.5;
}

.rf-proof-result,
.rf-proof-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
}

.rf-proof-result strong,
.rf-proof-result span,
.rf-proof-sheet header span {
  display: block;
}

.rf-proof-result strong {
  color: #ffc47d;
  font-size: clamp(16px, 2vw, 19px);
}

.rf-proof-result span,
.rf-proof-next span {
  color: #c0c0ce;
}

.rf-proof .rf-proof-result a,
.rf-proof .rf-proof-next a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #c8bdff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rf-proof-sources {
  display: grid;
  align-items: start;
  gap: 12px;
  margin-block: 12px 8px;
}

.rf-proof-sheet {
  min-width: 0;
  padding: 16px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #f3f4f8;
  color: #222839;
}

.rf-proof-sheet header {
  padding-bottom: 10px;
  border-bottom: 1px solid #ccd2dd;
}

.rf-proof-sheet header strong {
  font-size: 16px;
}

.rf-proof-sheet header span,
.rf-proof-sheet dt {
  color: #505b70;
  font-size: 12px;
}

.rf-proof-sheet dl {
  display: grid;
  gap: 10px;
  margin: 12px 0 6px;
}

.rf-proof-sheet dd {
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}

.rf-proof-sheet mark {
  display: inline-block;
  padding: 0 4px;
  border-radius: 3px;
  background: #ffe5ac;
  color: #392507;
  font-weight: 700;
  white-space: nowrap;
}

.rf-proof-sheet details {
  margin-top: 10px;
  border-top: 1px solid #ccd2dd;
}

.rf-proof-sheet summary {
  padding-block: 11px;
  color: #3c3279;
  font-weight: 600;
  cursor: pointer;
}

.rf-proof :is(a, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (min-width: 680px) {
  .rf-proof-sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rf-proof-sheet {
    min-height: 224px;
  }
}
