.formula { display: grid; gap: .6rem; }
.formula code { font-family: var(--font-type); font-size: 1.15rem; color: var(--ink); background: var(--surface-3); padding: .3rem .6rem; border-radius: 6px; display: inline-block; }
.formula .ex { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.formula .ex b { font-family: var(--font-head); font-size: 1.2rem; color: var(--ember-ink); white-space: nowrap; }
.bars { display: grid; gap: 1rem; }
.bar-row .lbl { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--muted); margin-bottom: .3rem; display: flex; justify-content: space-between; }
.stack { display: flex; height: 34px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--surface); }
.stack i { display: flex; align-items: center; justify-content: center; font-style: normal; font-family: var(--font-head); font-size: .9rem; color: #0d0a08; transition: flex-basis .4s ease; min-width: 0; overflow: hidden; white-space: nowrap; }
.stack i.m { background: var(--merchant); }
.stack i.s { background: var(--seam); }
:root[data-theme="light"] .stack i { color: #fff; }
.chart-card { padding: 1rem; }
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-wrap .grid line { stroke: var(--line); stroke-width: 1; }
.chart-wrap .axis text, .chart-wrap text.lab { fill: var(--muted); font-family: var(--font-body); font-size: 13px; }
.chart-wrap text.dl { fill: var(--ink); font-family: var(--font-head); font-size: 13px; }
.chart-wrap .hit { fill: transparent; cursor: crosshair; }
.chart-wrap .xh { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 3; }
.legend .sw::before { background: var(--c); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.3rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 3px var(--bg); }
.timeline .when { font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--ember-ink); }
.timeline h3 { margin: .1rem 0 .3rem; }
.timeline p { margin: 0 0 .3rem; }
