body.crm-app .migo-deal-relations-v85175 {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}
body.crm-app .migo-deal-rel-head-v85175 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.crm-app .migo-deal-rel-head-v85175 h3 {
  margin: 0;
  color: #172033;
  font-size: 15px;
  font-weight: 760;
}
body.crm-app .migo-deal-rel-head-v85175 > span {
  color: #98a2b3;
  font-size: 11px;
}
body.crm-app .migo-deal-rel-head-v85175 > span.is-error { color: #b42318; }
body.crm-app .migo-deal-rel-grid-v85175 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
body.crm-app .migo-deal-rel-card-v85175 {
  display: grid;
  grid-template-columns: 36px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e1e7ef;
  border-radius: 9px;
  background: #fbfcfe;
}
body.crm-app .migo-deal-rel-card-icon-v85175 {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #2563eb;
  background: #eef4ff;
}
body.crm-app .migo-deal-rel-icon-v85175 { width: 17px; height: 17px; }
body.crm-app .migo-deal-rel-copy-v85175 { min-width: 0; }
body.crm-app .migo-deal-rel-copy-v85175 > span,
body.crm-app .migo-deal-rel-copy-v85175 > strong,
body.crm-app .migo-deal-rel-copy-v85175 > small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app .migo-deal-rel-copy-v85175 > span { color: #7c8ba1; font-size: 10px; font-weight: 700; text-transform: uppercase; }
body.crm-app .migo-deal-rel-copy-v85175 > strong { margin-top: 2px; color: #172033; font-size: 12px; }
body.crm-app .migo-deal-rel-copy-v85175 > small { margin-top: 2px; color: #667085; font-size: 10px; }
body.crm-app .migo-deal-rel-actions-v85175 { display: flex; align-items: center; gap: 6px; }
body.crm-app .migo-deal-rel-actions-v85175 > button,
body.crm-app .migo-deal-rel-actions-v85175 > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #d7dfeb;
  border-radius: 7px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
body.crm-app .migo-deal-rel-actions-v85175 > a.migo-deal-rel-client-v85175 { color: #175cd3; background: #f5f8ff; border-color: #cddcff; }
body.crm-app .migo-deal-rel-empty-v85175 { grid-column: 1 / -1; margin: 0; padding: 12px; color: #98a2b3; text-align: center; font-size: 11px; }
@media (max-width: 980px) {
  body.crm-app .migo-deal-rel-grid-v85175 { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  body.crm-app .migo-deal-rel-card-v85175 { grid-template-columns: 36px minmax(0,1fr); }
  body.crm-app .migo-deal-rel-actions-v85175 { grid-column: 1 / -1; }
  body.crm-app .migo-deal-rel-actions-v85175 > button,
  body.crm-app .migo-deal-rel-actions-v85175 > a { flex: 1 1 auto; }
}
