.negotiationPanel {
  background: #f6f9ff;
  border: 1px solid #cbdcf5;
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
}
.negotiationPanel h3 {
  margin: 0 0 8px;
}
.negotiationSummary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.negotiationSummary dt {
  font-size: 13px;
  color: #60728c;
}
.negotiationSummary dd {
  margin: 0;
  font-weight: bold;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.negotiationChecks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.negotiationPanel .actions {
  flex-wrap: wrap;
}
.negotiationPanel .actions button {
  min-height: 44px;
}
.negotiationPanel details {
  margin-top: 16px;
}
.negotiationPanel summary {
  cursor: pointer;
  color: #075ee5;
  font-weight: bold;
  padding: 8px 0;
}
.negotiationPanel textarea {
  min-height: 80px;
}
.negotiationPanel .editError {
  margin-top: 12px;
}
@media (max-width: 520px) {
  .negotiationSummary {
    grid-template-columns: 1fr;
  }
  .negotiationPanel .actions button {
    width: 100%;
  }
}
.contact > .negotiationPanel {
  margin-bottom: 0;
  background: var(--soft-orange, #fff0e2);
  border-color: var(--line, #e8e4de);
}
.contact > .negotiationPanel summary {
  color: var(--green, #d94c05);
}
.contact > .endedNegotiation {
  background: var(--soft-navy, #eef1f6);
}
.endedAgreement {
  background: var(--soft-navy, #eef1f6);
  color: var(--ink, #101e35);
}
html[data-theme='night'] .contact > .negotiationPanel {
  background: #2c2521;
  border-color: #514138;
}
html[data-theme='night'] .contact > .endedNegotiation,
html[data-theme='night'] .endedAgreement {
  background: #222e40;
  color: #e8eef8;
}
html[data-theme='night'] .negotiationSummary dt {
  color: #b3c0d4;
}
