.stock-bars {
  display: flex;
  align-items: end;
  gap: 14px;
  min-height: 160px;
  height: 160px;
  margin-top: auto;
}

.stock-bar-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.stock-bar-wrap {
  width: 100%;
  height: 122px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-top: 22px;
}

.stock-bar {
  width: 100%;
  max-width: 52px;
  min-height: 14px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #3f7a60 0%, #285943 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  text-align: center;
  position: relative;
}

.stock-bar-label {
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.15;
}

.stock-bar-value {
  color: #f9f4ec;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.stock-bar-compact {
  background: linear-gradient(180deg, #5d8f79 0%, #3a6c56 100%);
}

.stock-bar-value-outside {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-strong);
  background: rgba(255, 250, 243, 0.95);
  border: 1px solid rgba(216, 207, 191, 0.9);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(28, 42, 34, 0.08);
}
