/* Bodies tab: the stored HTTP bodies, one card each */
.bodies-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.bodies-toolbar h2 {
  margin: 0 auto 0 0;
}

.bodies-toolbar input[type="search"] {
  max-width: 22rem;
  margin: 0;
}

.body-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.body-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  min-width: 0;
}

.body-card header,
.body-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
}

.body-meta {
  margin: 0;
  overflow-wrap: anywhere;
}

.body-thumb {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}
