/* PDF 압축 전용 스타일 — 결과 행은 common.css의 .result-item을 그대로 쓴다 */

.tool-controls input[type=number] {
  width: 8rem;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
}
#pdfc-target-wrap[hidden] { display: none; }

.tool-controls select {
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
}

.pdf-badge {
  width: 44px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--error) 12%, var(--surface));
  color: var(--error);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.result-item .detail {
  font-size: 0.78rem;
  color: var(--text-sub);
  word-break: keep-all;
}

.result-item.not-smaller .detail { color: var(--text); }
.result-item.target-missed .detail { color: var(--warning); font-weight: 600; }

.result-item .btn-download,
.result-item .btn-remove {
  min-height: 44px;
}
.result-item .btn-remove { min-width: 44px; }
.result-item .btn-download[hidden] { display: none; }

.pdfc-summary {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
}

.pdfc-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.pdfc-actions .btn-download-all { margin-top: 0; min-height: 44px; }

.btn-add {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-add:hover { border-color: var(--primary); }

@media (max-width: 480px) {
  .result-item { flex-wrap: wrap; }
  .result-item .info { flex-basis: calc(100% - 60px); }
  .result-item .actions { width: 100%; justify-content: flex-end; }
}
