#notice[data-kind="success"] {
  color: #087443;
  background: #ecfdf4;
  border-color: #a7e2c2;
}

@media (max-width: 800px) {
  .contacts-list { overflow: visible; border: 0; background: transparent; }
  .contacts-table { display: block; min-width: 0; background: transparent; }
  .contacts-table thead { display: none; }
  .contacts-table tbody { display: grid; gap: 10px; }
  .contacts-table tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 15px;
    border: 1px solid #dfe7f0;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(24, 48, 75, 0.05);
  }
  .contacts-table td { display: block; min-width: 0; padding: 0; border: 0; }
  .contacts-table .contact-check { grid-column: 1; grid-row: 1; }
  .contacts-table .contact-name { grid-column: 2; grid-row: 1; }
  .contacts-table .contact-company { grid-column: 2; grid-row: 2; }
  .contacts-table .contact-phone { grid-column: 2; grid-row: 3; }
  .contacts-table .contact-mobile { grid-column: 2; grid-row: 4; }
  .contacts-table .contact-email { grid-column: 2; grid-row: 5; overflow-wrap: anywhere; }
  .contacts-table .contact-row-actions {
    grid-column: 3;
    grid-row: 1 / 6;
    display: flex;
    flex-direction: column;
    align-self: start;
  }
  .contacts-table .contact-company::before,
  .contacts-table .contact-phone::before,
  .contacts-table .contact-mobile::before,
  .contacts-table .contact-email::before {
    color: #71849b;
    font-size: 0.76rem;
    font-weight: 600;
  }
  .contacts-table .contact-company::before { content: "Company · "; }
  .contacts-table .contact-phone::before { content: "Phone · "; }
  .contacts-table .contact-mobile::before { content: "Mobile · "; }
  .contacts-table .contact-email::before { content: "Email · "; }
  .contacts-table tr:not(.contact-row-managed) .contact-name,
  .contacts-table tr:not(.contact-row-managed) .contact-company,
  .contacts-table tr:not(.contact-row-managed) .contact-phone,
  .contacts-table tr:not(.contact-row-managed) .contact-mobile,
  .contacts-table tr:not(.contact-row-managed) .contact-email { grid-column: 1 / 4; }
}
