#sysbar {
  position: fixed;
  bottom: 0;
  left: 240px;
  right: 0;
  height: 40px;
  background: var(--sidebar);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
  z-index: 998;
  font-size: 0.72rem;
  overflow-x: auto;
}

#sysbar::-webkit-scrollbar {
  height: 0;
}

.sysbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.sysbar-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.6rem;
}

.sysbar-value {
  color: #fff;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
}

.sysbar-bar {
  width: 48px;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.sysbar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
  background: var(--green);
}

.sysbar-fill.warning {
  background: var(--orange);
}

.sysbar-fill.critical {
  background: var(--red);
}

.sysbar-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}

.sysbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  #sysbar {
    left: 0;
    padding: 0 0.75rem;
    gap: 0.75rem;
  }
}
