.relationship-origin {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 20px;
  padding: clamp(15px, 2.7vw, 25px);
  border-bottom: 1px solid var(--line);
  background: #eef2fa;
}

.relationship-origin-facts { display: grid; gap: 13px; min-width: 0; }
.relationship-origin-facts dt { color: var(--muted); font-size: 12px; font-weight: 620; }
.relationship-origin-facts dd { margin-top: 3px; color: var(--ink); font-size: 15px; font-weight: 680; overflow-wrap: anywhere; }
.relationship-change { flex: 0 0 auto; font-size: 13px; }
.relationship-submit { justify-content: space-between; }
.relationship-submit .panel-note { margin-top: 0; }
.relationship-submit [data-contact-draft-status]:not([hidden]) { margin-top: 5px; }

.relationship-results-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 15px;
  min-height: 40px;
  margin-block: 10px 8px;
}
.relationship-results-heading .market-result-count { margin: 0; }
.relationship-list-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 15px clamp(14px, 2.3vw, 26px);
  border-bottom: 1px solid var(--line);
}
.relationship-list-heading .panel-title { font-size: 16px; }
.relationship-list-heading .panel-note { margin: 0; }
.relationship-inbox { border-top-color: var(--green); }
.relationship-inbox .relationship-list-heading { background: var(--green-light); }
.relationship-demo-note {
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.relationship-demo-caption { margin-bottom: 10px; }

@media (max-width: 510px) {
  .relationship-submit > div { flex: 1 1 100%; }
  .relationship-origin { gap: 8px; }
  .relationship-demo-note { padding-inline: 13px; }
}

.coop-thread { max-width: 860px; border-top: 2px solid #44574b; margin: 28px auto 16px; padding: 16px 0; color: #28352b; }
.coop-thread h2 { margin: 0; font: 600 25px/1.4 var(--font-title); }
.coop-thread header p, .coop-thread-status { margin: 5px 0; color: #536154; font-size: 14px; line-height: 1.5; }
.coop-thread ol { list-style: none; padding: 0; margin: 12px 0; }
.coop-thread li { border-top: 1px solid #d4d5c9; padding: 9px 0; }
.coop-thread li header { display: flex; align-items: baseline; gap: 12px; }
.coop-thread li p { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.coop-thread time { font-size: 13px; color: #65685f; }
.coop-thread form { display: grid; gap: 6px; margin-top: 12px; }
.coop-thread label { font-weight: 600; font-size: 14px; }
.coop-thread textarea { font: inherit; box-sizing: border-box; width: 100%; padding: 10px; border: 1px solid #a4ada1; border-radius: 3px; resize: vertical; background: #fffefa; }
.coop-thread button { justify-self: start; margin-top: 2px; }
