/* Winston V3 — delta pill. $ + sign + amount + arrow.
   NEVER color-alone — the sign and arrow carry the signal too. */

.delta-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 32px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--type-sm);
  font-weight: var(--weight-semi);
  font-variant-numeric: tabular-nums;
  border: 1px solid;
  white-space: nowrap;
}

.delta-pill[data-sign="up"] {
  background: var(--money-up-soft);
  color: var(--money-up);
  border-color: var(--money-up-line);
}
.delta-pill[data-sign="down"] {
  background: var(--money-down-soft);
  color: var(--money-down);
  border-color: var(--money-down-line);
}
.delta-pill[data-sign="flat"] {
  background: var(--surface-2);
  color: var(--ink-muted);
  border-color: var(--border);
}

.delta-pill-arrow {
  font-size: var(--type-xs);
  line-height: 1;
}
.delta-pill-amount { font-variant-numeric: tabular-nums; }
.delta-pill-percent { opacity: 0.85; font-weight: var(--weight-medium); }
/* #109: optional timeframe label (e.g. "today") so the chip carries
   its own scope rather than relying on a nearby eyebrow. Subordinate
   weight + spacing so it reads as a qualifier, not a value. */
.delta-pill-label {
  opacity: 0.75;
  font-weight: var(--weight-medium);
  font-size: calc(var(--type-xs));
  padding-left: 2px;
}
