.ql-cloud {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 2px 0;
}

.ql-row {
  display: grid;
  grid-template-columns: 8.75rem minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

.ql-label {
  margin: 0;
  padding-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #6b7280;
}

.ql-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ql-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #e6e8ec;
  border-radius: 999px;
  background: #f6f7f9;
  color: #374151;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ql-tag:hover {
  border-color: #1c93d1;
  background: #1c93d1;
  color: #fff;
}

.ql-tag:focus-visible {
  outline: 2px solid #1c93d1;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .ql-cloud { gap: 14px; }
  .ql-row {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
  .ql-label { padding-top: 0; }
}

.ql-tag--active,
.ql-tag--active:hover {
  background: #147db3;
  border-color: #147db3;
  color: #fff;
}
