.aqs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.aqs__bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.aqs__row {
  display: grid;
  grid-template-columns: 6.5em 1fr 2.5em;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  padding: 2px var(--space-xs);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.aqs__row:hover {
  background: var(--color-surface-alt);
}

.aqs__row--active {
  background: var(--color-surface-alt);
}

.aqs__label {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.aqs__bar {
  height: 6px;
  background: var(--color-surface-alt);
  border-radius: 3px;
  overflow: hidden;
}

.aqs__fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.aqs__val {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.aqs__tooltip {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  padding: var(--space-xs) var(--space-sm);
  margin: 0 0 var(--space-xs);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  line-height: 1.4;
  animation: aqs-fade-in 0.15s ease;
}

@keyframes aqs-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
