.query-context-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px auto 0;
  padding: 0 18px;
  max-width: 840px;
  color: var(--navy, #1a1a2e);
}

.query-context-chip,
.query-context-warning {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(26, 110, 122, 0.22);
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  box-shadow: 0 4px 18px rgba(28, 43, 58, 0.08);
}

.query-context-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #1a6e7a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.query-context-chip--parcel {
  border-color: rgba(132, 88, 33, 0.24);
}

.query-context-chip--parcel .query-context-icon {
  background: #845821;
}

.query-context-warning {
  border-color: rgba(170, 103, 22, 0.28);
  background: rgba(255, 248, 235, 0.88);
  color: #70460c;
}

.query-context-warning .query-context-icon {
  background: #aa6716;
}

@media (max-width: 600px) {
  .query-context-preview {
    padding: 0 8px;
  }
}
