.list {
  display: grid;
  gap: 6px;
}

.item {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  padding: 7px 9px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.item.success {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.item.error {
  border-color: #fecaca;
  background: #fff1f2;
}

.item * {
  -webkit-user-select: none;
  user-select: none;
}

.item-main {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.item-title {
  min-width: 0;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.item-time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.item-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.item-meta .badge {
  padding: 1px 6px;
  font-size: 11px;
  line-height: 1.35;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 4px;
  justify-content: flex-end;
}

.item-action {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  padding: 4px 9px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(15, 118, 110, 0.14);
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.08s ease;
}
.item-action:active:not(:disabled) {
  transform: scale(0.98);
}
.item-action.danger {
  border-color: #f2b8b5;
  background: #fff5f3;
  color: var(--danger);
}
.item-action:disabled {
  opacity: 0.5;
  cursor: default;
}
