.sb-range {
  font-size: 14px;
}
.data-table--buyers {
  font-size: 14px;
}
.sb-col-name {
  width: 28%;
}
.sb-col-phone {
  width: 176px;
}
.sb-col-email {
  width: 27%;
}
.data-table--buyers td {
  padding-top: 17px;
  padding-bottom: 17px;
}
.data-table--buyers td {
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.data-table--buyers td:nth-child(3) {
  white-space: nowrap;
}
.data-table--buyers tbody tr {
  cursor: pointer;
  transition: background-color 0.15s;
}
.data-table--buyers tbody tr:hover,
.data-table--buyers tbody tr:focus-within {
  background: #f2f6fd;
}
.sb-name {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.sb-name:hover,
.data-table--buyers tbody tr:hover .sb-name {
  color: var(--blue);
}
.sb-name:focus-visible {
  outline-offset: 3px;
  border-radius: 3px;
}
.sb-modal {
  max-width: 780px;
  background: var(--bg);
}
.sb-modal-head {
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
}
.sb-modal-head > div {
  min-width: 0;
}
.sb-modal h2 {
  font-size: 24px;
  overflow-wrap: anywhere;
}
.sb-buyer-company {
  font-size: 14px;
  margin-top: 6px;
}
.sb-modal-scroll {
  min-height: 0;
}
.sb-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 28px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sb-record-section + .sb-record-section {
  margin-top: 26px;
}
.sb-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sb-section-heading .muted {
  font-size: 14px;
}
.sb-records {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sb-record.notice,
.sb-record.notice:nth-last-child(-n + 2) {
  grid-column: auto;
  grid-template-columns: 32px minmax(0, 1fr);
  padding: 20px;
  gap: 12px;
  min-width: 0;
}
.sb-record {
  transition: box-shadow 0.15s;
}
.sb-record:hover {
  color: var(--text);
  box-shadow: 0 0 0 1px #cad8ee;
}
.sb-record .notice-icon {
  color: var(--blue);
  width: 32px;
  height: 32px;
}
.sb-record h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  align-self: center;
}
.sb-record.notice p {
  min-height: 42px;
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sb-record.notice .muted {
  grid-column: 1/-1;
  font-size: 13px;
  margin: 0;
  white-space: normal;
}
.sb-record.notice .btn {
  grid-column: 1/-1;
  grid-row: auto;
  justify-self: start;
  height: 34px;
  padding: 0 16px;
  font-size: 14px;
  margin-top: 2px;
}
.sb-record:hover .btn {
  background: var(--blue);
  color: var(--white);
}
.sb-no-records {
  margin: 0;
  grid-column: 1/-1;
  padding: 20px;
  border-radius: 18px;
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 599px) {
  .data-table--buyers {
    --table-min-width: 850px;
  }
  .sb-modal h2 {
    font-size: 20px;
  }
  .sb-modal .modal-head {
    padding: 22px 20px 14px;
  }
  .sb-contact-details {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
  }
  .sb-records {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sb-record.notice,
  .sb-record.notice:nth-last-child(-n + 2) {
    padding: 16px;
    gap: 10px;
  }
  .sb-record.notice p {
    min-height: 0;
  }
}
