.topbar-client-thermometer {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  margin-left: auto;
  color: var(--text);
  white-space: nowrap;
}

.topbar-client-thermometer > span {
  font-size: 12px;
  font-weight: 700;
}

.topbar-client-thermometer-scale {
  position: relative;
  flex: 0 0 108px;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, #dc2626 0%, #f97316 25%, #eab308 50%, #22c55e 75%, #14532d 100%);
}

.topbar-client-thermometer-scale i {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px #111;
  transform: translateX(-50%);
}

.topbar:has(.topbar-client-thermometer) .context-switchers {
  min-width: 0;
}

.topbar:has(.topbar-client-thermometer) .top-actions {
  margin-left: 0;
}

@media (max-width: 900px) {
  .topbar:has(.topbar-client-thermometer) {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 8px;
  }

  .topbar:has(.topbar-client-thermometer) .context-switchers {
    flex: 1 1 100%;
  }

  .topbar-client-thermometer-scale {
    flex-basis: 80px;
  }
}
