/* ct-light.css · 2026-11-25, his rule: all pages on all sites follow the device's light/dark setting.
   Certainize was dark-only, so this adds the LIGHT version, set only when the device is light. It resets the colour tokens the pages
   already use (dark stays exactly as it was). Link it AFTER the page's own styles. */
:root{color-scheme:light dark}
@media (prefers-color-scheme:light){
  :root{--bg:#F8FAFC;--bg2:#ffffff;--bg3:#eef2f7;--bg4:#e6ecf3;--surface:rgba(15,23,42,.04);
    --border:rgba(15,23,42,.12);--border2:rgba(15,23,42,.16);--border-accent:rgba(3,105,161,.3);
    --text:#0f172a;--dim:#475569;--muted:#5b6b80;
    --accent:#0369a1;--accent-glow:rgba(3,105,161,.1);--green:#047857;--amber:#8a5a00;--red:#be185d;
    --blue:#1d4ed8;--magenta:#9d174d;--blue-bg:rgba(29,78,216,.1);--green-bg:rgba(4,120,87,.1);--magenta-bg:rgba(157,23,77,.1);
    --blue-border:rgba(29,78,216,.3);--green-border:rgba(4,120,87,.3);--magenta-border:rgba(157,23,77,.3)}
  html,body{background:var(--bg)!important;color:var(--text)}
  nav,.nav,header.top{background:rgba(248,250,252,.94)!important}
  *,*::before,*::after{text-shadow:none!important}
  /* code samples & the little GET / POST / 200 OK tags were pale colours made for a dark page */
  .code-wrap,.code-wrap pre,.code-block,pre{background:#0d1320!important;color:#e8eaf0}
  .method.get,.status,.badge-live{color:#047857!important}.method.post{color:#1d4ed8!important}
  .footer-note,.sources,.footer-tm,.footer-patent{color:#334155!important}
}
@media (prefers-color-scheme:dark){
  :root{--muted:#a0abc2}   /* small print was 2.4 to 2.9:1 */
  .footer-note,.sources,.footer-tm,.changelog-meta,.sidebar-group-label,.nav-logo-sub,th{color:rgba(232,234,240,.66)}
}
