/* Signed percentage pill (pct-badge.js tags them): green for gains, red for losses, grey for zero. Same look as the
   Charting workspace's Market movers list. Sizes follow the surrounding text so it sits in tables, lists and cards. */
:root{--pill-up:#12834b;--pill-up-bg:#12834b17;--pill-dn:#c33b49;--pill-dn-bg:#c33b4917;--pill-flat:var(--muted);--pill-flat-bg:var(--soft)}
:root[data-theme="dark"]{--pill-up:#3fcf86;--pill-up-bg:#2fd27a1f;--pill-dn:#ff6b72;--pill-dn-bg:#ff5a5f1f}
.pct-pill{display:inline-block;padding:1px 4px;border-radius:4px;font-family:'JetBrains Mono',ui-monospace,monospace;font-variant-numeric:tabular-nums;
 font-weight:500;font-size:.95em;line-height:1.5;white-space:nowrap;vertical-align:baseline}
.pct-pill.up{color:var(--pill-up)!important;background:var(--pill-up-bg)}
.pct-pill.dn{color:var(--pill-dn)!important;background:var(--pill-dn-bg)}
/* Neutral: zero changes and unsigned figures in table cells — a light grey fill, the same treatment as the green/red pills
   (user, 1 Nov: "how it is light green, similarly"). */
:root{--pill-num-bg:#0a0a0a0f}
:root[data-theme="dark"]{--pill-num-bg:#ffffff14}
.pct-pill.flat,.pct-pill.num{color:var(--text)!important;background:var(--pill-num-bg)}
.pct-pill.num{font-weight:400}
