/* ── 포인트빌더 ──────────────────────────────────────────── */
.pb-group-card {
  background: var(--s3);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.pb-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pb-pattern-input {
  width: 100%;
}

.pb-attr-checkboxes {
  display: flex;
  gap: 14px;
  margin: 6px 0;
  flex-wrap: wrap;
}

.pb-attr-checkboxes label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--t1);
  cursor: pointer;
}

.pb-custom-attr-inputs {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.pb-custom-attr-inputs .inp {
  flex: 1;
  min-width: 0;
  width: auto;
}

.pb-datatype-select {
  max-width: 260px;
}

@media (max-width: 900px) {
  .pb-custom-attr-inputs { flex-direction: column; }
}

/* ── 포인트빌더 미리보기 ───────────────────────────────────── */
.pb-preview {
  background: var(--s3);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 14px 16px;
  margin-top: 10px;
}

.pb-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 13px;
}

.pb-preview-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pb-preview table th:first-child,
.pb-preview table td:first-child {
  width: 36px;
  text-align: center;
}

.pb-preview table input[type="checkbox"] {
  cursor: pointer;
  width: 15px;
  height: 15px;
}

.pb-preview .group-badge {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--ag);
  color: var(--a);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pb-preview-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .pb-preview-actions { flex-wrap: wrap; }
}
