/* ==========================================================================
   Single-purpose helpers — text colors, alignment, typography, layout grids.
   ========================================================================== */

/* Verdict colors — applied to numbers signalling gain/loss */
.positive { color: var(--gain); }
.negative { color: var(--loss); }
.neutral  { color: var(--ink-mute); }

/* Text alignment / weight / muting */
.text-right { text-align: right; }
.text-muted { color: var(--ink-mute); }
.text-dust  { color: var(--ink-faint); }
.ink-quiet  { color: var(--ink-quiet); }
.text-small { font-size: 0.78rem; }

/* Typography helpers — tabular-figures monospace */
.mono {
    font-family: var(--font-mono);
    font-feature-settings: "tnum", "zero", "calt" 0;
    letter-spacing: -0.005em;
    font-weight: 500;
}

.num {
    font-family: var(--font-mono);
    font-feature-settings: "tnum", "zero";
    font-weight: 500;
    letter-spacing: -0.005em;
}

/* Layout grids — collapse to single column on narrow screens */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .two-col, .three-col { grid-template-columns: 1fr; }
}
