.buyer-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 14px;
}
.buyer-heading b,
.buyer-heading small {
  display: block;
}
.buyer-heading small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.buyer-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tint);
  font-weight: 700;
  color: var(--accent);
}
.buyer-chat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.buyer-chat p {
  max-width: 88%;
  padding: 12px 14px;
  margin: 0;
  border-radius: 4px 14px 14px;
  background: #eff3ee;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}
.buyer-chat .mine {
  align-self: flex-end;
  border-radius: 14px 4px 14px 14px;
  background: var(--tint);
}
.buyer-feedback {
  color: var(--muted);
  font-size: 12px;
  min-height: 18px;
  margin: 12px 0;
}
.buyer-accept {
  width: 100%;
  margin-bottom: 16px;
}
.buyer-accept small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}
.buyer-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}
.buyer-price-row input {
  width: 0;
  min-width: 0;
  flex: 1;
  text-align: right;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  min-height: 44px;
}
.buyer-price-row button {
  white-space: nowrap;
  min-height: 44px;
}
#buyer-counter-form > label {
  font-size: 13px;
  font-weight: 700;
}
#buyer-counter-form > small,
.buyer-invitation > small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.buyer-wait {
  margin: 16px 0 6px;
  width: 100%;
  font-size: 12px;
}
.buyer-close {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
  font-size: 13px;
}
.buyer-close summary {
  cursor: pointer;
  color: var(--muted);
}
.buyer-close p {
  margin: 10px 0;
}
.buyer-invitation {
  padding: 18px 0;
}
.buyer-invitation h3 {
  font-size: 19px;
  margin: 0 0 8px;
}
.buyer-invitation p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.buyer-invitation button {
  width: 100%;
  margin: 12px 0;
}
.negotiating #purchase-note {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) {
  .negotiating .listing {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px 16px;
  }
  .negotiating .listing-top,
  .negotiating .listed-price,
  .negotiating .reference,
  .negotiating #item-note {
    display: none;
  }
  .negotiating .item-art {
    grid-column: 1;
    grid-row: 1/3;
    width: 72px;
    max-width: 72px;
    margin: 0;
  }
  .negotiating .listing h2 {
    grid-column: 2;
    font-size: 18px;
    align-self: center;
    margin: 0;
  }
  .negotiating .deal-desk {
    padding-top: 16px;
  }
  .buyer-chat p {
    font-size: 13px;
  }
  .buyer-heading {
    margin-top: 10px;
  }
  .buyer-price-row button {
    padding: 8px 12px;
  }
}
