.qs-queue-summary {
  margin-bottom: 18px;
}

/* ── Metric cards: status dot + count row, left-aligned copy, bottom share bar ── */
.qs-queue-summary--metric-cards {
  margin-bottom: 18px;
}

.qs-metric-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  box-sizing: border-box;
}

.qs-metric-card {
  flex: 1 1 200px;
  min-width: min(100%, 200px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.qs-metric-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.qs-metric-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.qs-metric-card-count {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.qs-metric-card-title {
  margin: 0 0 6px;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  text-align: left;
}

.qs-metric-card-lede {
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.45;
  color: #64748b;
  text-align: left;
  flex: 1;
}

.qs-metric-card-bar-track {
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  overflow: hidden;
  margin-top: auto;
}

.qs-metric-card-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: #0f172a;
  min-width: 0;
  transition: width 0.35s ease;
}

@media (max-width: 640px) {
  .qs-metric-grid {
    flex-direction: column;
  }

  .qs-metric-card {
    flex: 1 1 auto;
    min-width: 0;
  }
}
