.trend-legend { display:flex; align-items:center; flex-wrap:wrap; gap:1rem; margin:.75rem 0 .9rem; color:var(--muted,#506561); font-size:.78rem; }
.trend-legend span { display:inline-flex; align-items:center; gap:.4rem; }
.trend-legend span::before { content:""; width:.62rem; height:.62rem; border-radius:3px; }
.trend-credit::before,.trend-bar.credit { background:#1c7162; }
.trend-debit::before,.trend-bar.debit { background:#bc7b32; }
.trend-chart { --floor:1.6rem; display:flex; gap:.5rem; font-size:.72rem; font-variant-numeric:tabular-nums; color:var(--muted,#506561); }
.trend-axis { display:flex; flex-direction:column; justify-content:space-between; padding-bottom:var(--floor); min-width:1ch; line-height:1; }
.trend-plot { position:relative; display:grid; flex:1; min-width:0; grid-template-columns:repeat(7,minmax(0,1fr)); }
.trend-plot::before { content:""; position:absolute; inset:0 0 var(--floor); pointer-events:none; border-block:1px solid #dfe7e4; background:linear-gradient(transparent calc(50% - .5px),#e6ece9 50%,transparent calc(50% + .5px)); }
.trend-day { position:relative; min-width:0; }
.trend-bars { height:7.6rem; display:flex; align-items:flex-end; justify-content:center; gap:3px; }
.trend-bar { display:block; width:min(24%,16px); border-radius:3px 3px 0 0; }
.trend-date { display:block; height:var(--floor); padding-top:.35rem; text-align:center; font-size:clamp(.58rem,1vw,.75rem); white-space:nowrap; }
.trend-empty { position:absolute; pointer-events:none; top:38%; justify-self:center; padding:.1rem .55rem; background:#fff; color:var(--muted,#506561); }
.chart-accessible { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.activity-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.activity-account { min-width:0; overflow-wrap:anywhere; }
.activity-account strong,.activity-account small { display:block; }
.activity-account small { color:var(--muted,#506561); }
.activity-row time { font-size:.82rem; color:var(--muted,#506561); }
.activity-amount.debit { color:#87551a; }
