.pif-wrap #pif-form { margin: 1rem 0 1.25rem; }
.pif-wrap #pif-form input[type="text"] { width: 260px; margin-right: .5rem; }
.pif-wrap .pif-inline { margin-left: 12px; }

.pif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.pif-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.pif-thumb {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f7fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 6px;
}

.pif-meta {
  font-size: 12px;
  color: #4a5568;
  margin-top: 8px;
  line-height: 1.4;
  word-break: break-all;
}

.pif-row { display:flex; gap:6px; align-items:center; }
.pif-row strong { min-width:72px; }

.pif-actions { margin-top: 8px; display:flex; gap:8px; flex-wrap:wrap; }
