/* Dense contact-card layout: roughly half the desktop footprint, no hidden actions. */
html body #root .inspector-admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)) !important;
  gap: 10px !important;
  align-items: start;
}
html body #root .inspector-admin-card {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  padding: 10px !important;
  gap: 6px 8px !important;
  align-content: start;
}
html body #root .inspector-admin-card > div:first-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
  gap: 8px !important;
}
html body #root .inspector-admin-card > div:first-child > :first-child {
  width: 30px !important;
  height: 30px !important;
  font-size: 12px !important;
}
html body #root .inspector-admin-card > div:first-child > span:last-child > span:first-child {
  font-size: 14px !important;
  line-height: 1.25 !important;
}
html body #root .inspector-admin-card .tiny {
  font-size: 11px !important;
  line-height: 14px !important;
}
html body #root .inspector-admin-card > div:nth-child(2),
html body #root .inspector-admin-card > div:nth-child(3) { gap: 2px !important; }
html body #root .inspector-admin-card > div:nth-child(2) > div[aria-hidden] { display: none; }
html body #root .inspector-admin-card select {
  height: 30px !important;
  font-size: 12px !important;
  padding-left: 7px !important;
  border-radius: 7px !important;
}
html body #root .inspector-admin-card > div:last-child {
  padding-top: 6px !important;
  gap: 5px !important;
}
html body #root .inspector-admin-card > div:last-child .btn {
  padding: 4px 7px !important;
  min-height: 30px !important;
  font-size: 12px !important;
  border-radius: 7px !important;
}
@media (max-width: 480px) {
  html body #root .inspector-admin-card { grid-template-columns: minmax(0, 1fr) !important; }
}
