/* ============================================================
   GPS · preferencias-chips.css
   Sprint 6 · Fase A — Filosofia Necessidades + Desejos
   Só classes próprias .pc-* + reutiliza .pn-input.
   Tokens: --ink, --ink-muted, --cream, --cream-border, --accent,
           --accent-bg, --r, --font-xs/sm/base.
   ============================================================ */

.pc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--r);
  margin-bottom: 12px;
}

.pc-header {
  margin-bottom: 4px;
}
.pc-titulo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--font-base);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.pc-hint {
  font-size: var(--font-xs);
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 4px;
}

.pc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 4px 5px 12px;
  background: white;
  border: 1px solid var(--cream-border);
  border-radius: 16px;
  font-size: var(--font-sm);
  color: var(--ink);
  line-height: 1;
}
.pc-chip-rm {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background .15s, color .15s;
}
.pc-chip-rm:hover {
  background: var(--cream-dark);
  color: var(--ink);
}

.pc-add {
  display: flex;
  gap: 6px;
}
.pc-input {
  font-size: var(--font-sm);
}

.pc-sugestoes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px dashed var(--cream-border);
}
.pc-sug {
  padding: 4px 10px;
  background: transparent;
  border: 1px dashed var(--cream-border);
  border-radius: 14px;
  font-size: var(--font-xs);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}
.pc-sug:hover {
  border-style: solid;
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}
