/* Surfaces match the validated dark chart surface, so the chart colours keep
   the contrast they were checked against. */
:root {
    --bg: #141413;
    --surface: #1a1a19;
    --surface-hi: #242423;
    --line: #333331;
    --text: #ffffff;
    --muted: #c3c2b7;
    --faint: #85847c;

    /* Chart diverging pair: over the base rate vs under it. Validated for this
       surface (CVD ΔE 19.2, normal-vision ΔE 29.0, both >= 3:1). */
    --surplus: #e66767;
    --deficit: #3987e5;

    /* Status text only — good vs bad. 9.7:1 and 5.4:1 on the card surface.
       Never colour alone: the sign and the word say it as well. */
    --good: #7dd3a0;
    --bad: #e66767;

    --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
a { color: var(--deficit); }
