.download-query-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.download-query-card {
  padding: 1rem 1.25rem;
  border: 1px solid #d9e1e8;
  border-radius: 12px;
  background: #fff;
}

.download-query-header {
  margin-bottom: 0.7rem;
}

.download-query-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.download-query-header p {
  margin: 0;
  max-width: 850px;
  color: #63778d;
  font-size: 0.95rem;
  line-height: 1.5;
}
.download-query-header::after {
  display: none;
}
.download-query-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 900px;
}

.download-query-controls input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
}

.download-query-controls input:focus {
  outline: none;
  border-color: #36bdb5;
  box-shadow: 0 0 0 3px rgba(54, 189, 181, 0.12);
}

.download-query-controls button {
  flex: 0 0 auto;
  min-width: 120px;
  height: 44px;
  padding: 0 1rem;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.download-query-hint {
  margin: 0.45rem 0 0;
  color: #7a8998;
  font-size: 0.85rem;
}

.download-query-error {
  display: none;
  margin: 0.45rem 0 0;
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 500;
}

.download-query-error.is-visible {
  display: block;
}

@media (max-width: 700px) {
  .download-query-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .download-query-controls button {
    width: 100%;
  }
}
