/* Thème de nuit (14/11/2026) — retouches à la main, en plus de css/nuit.css (généré).
   Seulement à l'écran : le PDF et l'impression restent clairs. */
@media screen {
  html.nuit { color-scheme: dark; }
  html.nuit .interrupteur:not(.on) { background: #2B4A7C; box-shadow: inset 0 1px 2px rgba(0, 4, 14, .5); }
  /* Schémas (js/symbols.js) : cadre gris-bleu, vitrage bleu sombre, ouvrants en bleu clair. */
  html.nuit #view svg stop[stop-color="#FFFFFF"] { stop-color: #566C94; }
  html.nuit #view svg stop[stop-color="#D5DDEA"] { stop-color: #2E4268; }
  html.nuit #view svg stop[stop-color="#F6F9FC"] { stop-color: #3E5480; }
  html.nuit #view svg stop[stop-color="#C6D0E0"] { stop-color: #24385E; }
  html.nuit #view svg stop[stop-color="#F7FBFF"] { stop-color: #27497F; }
  html.nuit #view svg stop[stop-color="#D2E5FA"] { stop-color: #162F59; }
  html.nuit #view svg stop[stop-color="#EDF1F7"] { stop-color: #3A4F78; }
  html.nuit #view svg stop[stop-color="#CFD8E6"] { stop-color: #273B60; }
  html.nuit #view svg [stroke="#66728C"] { stroke: #90A3C7; }
  html.nuit #view svg [stroke="#4F6F9A"] { stroke: #82A6DA; }
  html.nuit #view svg [stroke="#7C88A1"] { stroke: #8C9DC0; }
  html.nuit #view svg [stroke="#6F7B94"] { stroke: #93A4C6; }
  html.nuit #view svg [stroke="#1A47CC"] { stroke: #86B8FF; }
  html.nuit #view svg [fill="#FFFFFF"][opacity=".55"] { opacity: .16; }
  html.nuit #view svg [fill="#FFFFFF"][opacity=".35"] { opacity: .09; }
  html.nuit #view svg [fill="#FFFFFF"][opacity=".6"] { fill: #8FA6CC; opacity: .45; }
  html.nuit #view svg [stroke="#0B2240"][stroke-width="1.3"] { stroke: #DCE7FA; }
  html.nuit #view svg [fill="#0B2240"][opacity=".30"] { fill: #000308; opacity: .55; }
  html.nuit #view svg text.cote-plan { fill: #C9D6EE; stroke: #0A1730; }
}
@media screen {
  /* « Prête : rien ne manque » (fiche, ordinateur) : vert sombre la nuit, pas brun. */
  html.nuit #rappelVerif.pret { background: #0F2E22; border-color: #1F5A3C; color: #5BD98B; }
}
@media screen {
  /* Le bouton rond de l'interrupteur reste blanc la nuit (le générateur l'avait foncé). */
  html.nuit .interrupteur > span { background: #FFFFFF; }
}
