.header-actions {
  align-items: center;
  gap: 3px;
}

.call-customer {
  border: 1px solid #bfd0f5;
  border-radius: 7px;
  background: #eef4ff;
  color: #1749b1;
  padding: 7px 10px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.call-customer:hover {
  background: #dfeaff;
}

.call-customer:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 820px) {
  .call-customer {
    padding: 7px 8px;
    font-size: 0;
  }

  .call-customer::before {
    content: "☎";
    font-size: 18px;
  }
}

/* The mobile inbox intentionally hides the desktop action group. Keep those
   controls hidden, but expose the call action as one compact touch target. */
body.master-mobile .header-actions {
  display: flex !important;
  flex: 0 0 38px;
  justify-content: center;
}

body.master-mobile .header-actions > :not(#callCustomerBtn) {
  display: none !important;
}

body.master-mobile #callCustomerBtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-size: 0;
}

body.master-mobile #callCustomerBtn::before {
  content: "☎";
  font-size: 18px;
  line-height: 1;
}

body.master-mobile #callCustomerBtn:disabled {
  background: #dbe5f7;
  border-color: #dbe5f7;
}
