.history-list,
.log-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.safety-card,
.history-item,
.log-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7e5;
}

.safety-card {
  display: grid;
  justify-content: stretch;
}

.safety-card span,
.history-item p,
.log-item p,
.history-item time,
.log-item time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.safety-card strong {
  font-size: 18px;
}

.history-item div,
.log-item div {
  min-width: 0;
}

.history-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.history-item strong,
.log-item strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
