.wrapper {
  position: relative;
  display: inline-flex;
}

.indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding: 0 4px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-dim);
  font-size: var(--fs-xs);
  line-height: 1;
  font-family: inherit;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.indicator:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}

.indicator:focus-visible {
  outline: 1px solid var(--accent-primary);
  outline-offset: 1px;
}

.indicator[aria-expanded="true"] {
  background: var(--hover-bg);
  color: var(--text-primary);
}

.bar {
  position: relative;
  width: 4px;
  height: 14px;
  background: var(--divider);
  border-radius: 2px;
  overflow: hidden;
}

.barFill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transition: height 0.3s ease, background 0.3s ease;
}

.readout {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.countdown {
  color: var(--status-stopped);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.exhausted .bar {
  background: color-mix(in srgb, var(--status-stopped) 25%, transparent);
}

/* Disabled state — Claude-family session with the experimental
   Claude Code Usage flag off. Same battery silhouette as the live
   meter, no fill, dimmed colors. Click navigates to Settings. */
.disabled {
  color: var(--text-dim);
  opacity: 0.55;
}

.disabled:hover {
  opacity: 0.85;
}

.disabled .bar {
  background: var(--divider);
}

.disabled .barFill {
  display: none;
}
