/* Radar Pro — style « Éditorial clair », identique à solvanelabs.fr (6 octobre 2026).
   Chargé APRÈS les autres feuilles : ne change que couleurs et polices, jamais le fonctionnement.
   Fond porcelaine, texte presque noir, un seul accent bleu profond ; titres Instrument Serif, texte Inter (SIL OFL). */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root, :root[data-fond], :root[data-accent] {
  color-scheme: light;
  --bg: #f6f3ee; --t: #1a1916; --m: #57534c; --f: #6b665d;
  --line: rgba(26, 25, 22, .12); --line2: rgba(26, 25, 22, .22);
  --surface: #fffdf9; --panel: #fffdf9; --label: rgba(26, 25, 22, .85); --ring: 26, 25, 22;
  --accent: #1e3a8a; --accent-rgb: 30, 58, 138; --accent-ink: #ffffff;
  --display: "Instrument Serif", Georgia, serif; --text: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  /* écran de scan */
  --sl-bg: #f6f3ee; --sl-panel: #fffdf9; --sl-line: rgba(26, 25, 22, .12); --sl-line2: rgba(26, 25, 22, .24);
  --good: #1f7a4a; --mid: #9a6400; --bad: #b4412c;
}
body { -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--serif) !important; font-weight: 400 !important; letter-spacing: -.01em !important; }

/* Écran de scan : version claire */
.sl-log li.code { background: rgba(26, 25, 22, .04); }
.sl-alert { background: rgba(246, 243, 238, .97); }
.sl-verdict { background: var(--sl-bg); }
.sl-score b, .sl-verdict .big b { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.sl-verdict .big-text, .sl-id figcaption b { font-family: var(--serif); font-weight: 400; }
.sl-alert b { font-family: var(--serif); font-weight: 400; }
.console { background: #fffdf9; }

/* Textes à couleur fixe pensée pour le fond sombre : versions foncées lisibles (≥ 4,5:1) sur porcelaine */
.kept-del:hover { color: var(--bad); }
.danger-btn { color: var(--bad); border-color: rgba(180, 65, 44, .45); }
.danger-btn:hover { background: rgba(180, 65, 44, .08); border-color: var(--bad); }
.result.ok { border-color: rgba(31, 122, 74, .45); background: rgba(31, 122, 74, .06); }
.result.ko { border-color: rgba(180, 65, 44, .45); background: rgba(180, 65, 44, .05); }
/* Tableau de bord, téléphone : le bloc « ce que les IA rapportent » passe sur la Terre ; fond clair pour rester lisible */
@media (max-width: 760px) {
  .money { padding: 12px 14px; background: rgba(255, 253, 249, .94); border: 1px solid var(--line); border-radius: 12px; }
}
