/* Shared palette; light model pages do not load this stylesheet. */
body:is(.home-dark, .x420-dark, .software-dark, .general-dark) {
  --paper:#071727; --surface:#0c202c; --tint:#153443;
  --ink:#f1f6fa; --muted:#b7cbd5; --brand:#53d9e5; --brand-hover:#83e9f0;
  --accent:#53d9e5; --line:#294452; --focus:#9ef5fb;
  background:var(--paper); color:var(--ink);
}
:is(.general-dark, .home-dark) .site-header, :is(.general-dark, .home-dark) .site-footer, :is(.general-dark, .home-dark) .main-nav {background:#005990;color:#fff}
:is(.general-dark, .home-dark) .site-header a {color:#fff}
.general-dark .brand-logo {background:#fff}
:is(.general-dark, .home-dark) .menu-toggle {color:#fff;border-color:rgb(255 255 255 / 70%)}
.general-dark .main-nav .header-contact {border-color:rgb(255 255 255 / 70%)}
:is(.general-dark, .home-dark) .button, .general-dark .back-to-top {background:var(--brand);border-color:var(--brand);color:var(--paper)}
:is(.general-dark, .home-dark) .button:hover, .general-dark .back-to-top:hover {background:var(--brand-hover)}
:is(.general-dark, .home-dark) .button.secondary {background:transparent;color:var(--brand);border-color:#4c8291}
:is(.general-dark, .home-dark) .button.secondary:hover {background:var(--tint)}
/* Dense tables use dark headings rather than a large cyan background. */
.general-dark .spec-matrix thead th {background:var(--tint);color:var(--ink);border-color:var(--line)}
.general-dark .spec-matrix thead a {color:var(--brand)}
.general-dark .comparison-section {background:var(--surface)}
.general-dark .comparison-toolbar, .general-dark .spec-matrix tbody th {background:var(--tint)}
.general-dark .comparison-consult {background:var(--paper)}
.general-dark pre {background:var(--tint);color:var(--ink);border:1px solid var(--line);padding:16px;white-space:pre-wrap;overflow-wrap:anywhere}
