/* V6: analyses, account kinds. */
:root { --c-income: var(--ink-2); --c-invest: #8b5cf6; }

/* Labels & numbers */
.num { font-variant-numeric: tabular-nums; }
.label { font-size: 12px; color: var(--ink-3); font-weight: 600; }
small.block, .block { display: block; }

/* Deltas */
.delta.good { color: var(--pos); }
.delta.bad { color: var(--neg); }
.delta.flat { color: var(--ink-3); }
.delta span[aria-hidden] { font-size: 9px; }

/* Charts */
.series-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.series-dot { stroke: var(--surface); stroke-width: 2; }
.target-line { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 5; }
.bar-income { fill: var(--c-income); }
.ybar.is-partial rect:not(.hit) { opacity: .55; }
.ybar.is-on .hit { fill: var(--surface-2); }
.chart .tick.on { fill: var(--ink-1); font-weight: 700; }
.sw-line.dashed { background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px) !important; }
.spark { display: block; overflow: visible; }
.cols { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; padding-top: 18px; }
.col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.col-bar { width: 100%; max-width: 34px; min-height: 2px; border-radius: 6px 6px 2px 2px; }
.col-val { font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.col-label { font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* Analyses */
.analyses .view-head { flex-wrap: wrap; align-items: center; }
.analyses .view-head .seg { flex: 0 1 auto; }
.period-note { margin-top: -6px; }
.insight-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.insight-list li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.45; }
.ins-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transform: translateY(-1px); }
.ins-good .ins-dot { background: var(--st-good); }
.ins-warning .ins-dot { background: var(--st-warning); }
.trends td { vertical-align: middle; }
.trend-name { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
.trends .col-spark { width: 110px; }
@media (max-width: 560px) { .trends .col-last { display: none; } .trends .col-spark { width: 70px; } .trends .col-spark svg { width: 64px; } }

/* Accounts */
.kind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kind-opt { display: flex; align-items: center; gap: 8px; justify-content: flex-start; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); font-weight: 600; font-size: 14px; }
.kind-opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink-1); box-shadow: inset 0 0 0 1px var(--accent); }
.nw-split { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 12px; }
.nw-split > div { display: flex; flex-direction: column; }
.nw-split strong { font-size: 17px; }
