/* Thème sombre. Variables de couleur partagées par tous les écrans. */
:root {
  --bg:            #0f0f0f;
  --surface:       #1a1a1a;
  --surface-alt:   #222222;
  --border:        #2e2e2e;
  --text:          #e8e8e8;
  --text-muted:    #8a8a8a;
  --accent:        #f0a500;
  --gain:          #3fb950;
  --loss:          #f85149;
  --warning:       #d29922;
  --invested:      #5b8ac6;
  --radius:        10px;
  --gap:           16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
}

a { color: var(--accent); text-decoration: none; }

.gain  { color: var(--gain); }
.loss  { color: var(--loss); }
.muted { color: var(--text-muted); }

/* Un cours périmé doit se voir : il fausse une décision d'investissement. */
.stale {
  color: var(--warning);
  cursor: help;
}
