#hubspot-crm-entry-dialog { max-height: min(90dvh, 920px); overflow: auto; }
#hubspot-crm-entry-dialog > .modal-head,
#hubspot-crm-entry-dialog > [data-hubspot-entry-host] { margin: 0; padding: 20px 24px 0; }
#hubspot-crm-entry-dialog > .modal-actions { margin: 20px 0 0; }
.hubspot-customer-link { min-width: 0; color: var(--slate-800, #243746); }
.hubspot-customer-link h3 { margin: 0 0 8px; }
.hubspot-customer-link p { line-height: 1.5; overflow-wrap: anywhere; }
#hubspot-crm-entry-dialog .hubspot-link-reference { display: grid; gap: 10px; padding: 0; margin: 18px 0; }
.hubspot-link-reference label { display: grid; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; }
.hubspot-link-reference input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px; border: 1px solid var(--slate-300, #c8d2dc); border-radius: 7px; font: inherit; font-weight: 400; }
.hubspot-link-reference .button { justify-self: start; }
.hubspot-link-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hubspot-link-comparison article { min-width: 0; border: 1px solid var(--slate-200, #dce3e9); background: var(--white, #fff); border-radius: 10px; padding: 14px; }
.hubspot-link-comparison h4 { margin: 0 0 10px; font-size: 14px; }
.hubspot-link-comparison dl { margin: 0; display: grid; gap: 10px; }
.hubspot-link-comparison dt { color: var(--slate-600, #586d7f); font-size: 12px; }
.hubspot-link-comparison dd { margin: 3px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.hubspot-link-notice { border-left: 3px solid var(--orange-600, #b95626); padding: 9px 12px; background: var(--slate-50, #f7f9fb); }
.hubspot-link-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hubspot-link-meta { color: var(--slate-600, #586d7f); font-size: 12px; }
@media (max-width: 520px) {
  #hubspot-crm-entry-dialog > .modal-head,
  #hubspot-crm-entry-dialog > [data-hubspot-entry-host] { padding: 16px 16px 0; }
  #hubspot-crm-entry-dialog > .modal-actions { padding: 16px; }
  .hubspot-link-comparison { grid-template-columns: minmax(0, 1fr); }
  .hubspot-link-actions .button { width: 100%; }
}
