/* dark mode (QA 2026-10-16): tints written into the page as light colours, the status badges and plain links stay readable */
:root[data-theme="dark"] :is([style*="background:#fff4d7"],[style*="background:#fffaf0"],[style*="background:#fff8e1"],[style*="background:#fff6ec"],[style*="background:#fdf1dd"],[style*="background:#fff8e6"],[style*="background:#fff4e0"],[style*="background:#fff3d6"],[style*="background:#fff0dc"],[style*="background:#fffcf2"]){background:rgba(242,180,90,.11)!important;color:var(--text)!important}
:root[data-theme="dark"] :is([style*="background:#fff0f0"],[style*="background:#fff9f9"],[style*="background:#fdeceb"],[style*="background:#fdecec"],[style*="background:#fff1f1"],[style*="background:#fdeaea"]){background:rgba(255,123,123,.12)!important;color:var(--text)!important}
:root[data-theme="dark"] :is([style*="background:#e9f8ef"],[style*="background:#e8f7ee"],[style*="background:#ecf9f1"],[style*="background:#e4f6ee"],[style*="background:#edf8f1"],[style*="background:#e8f6ee"]){background:rgba(61,220,132,.12)!important;color:var(--text)!important}
:root[data-theme="dark"] :is([style*="background:#e8ecff"],[style*="background:#f5f7fb"],[style*="background:#f0f2f7"],[style*="background:#eef0f6"],[style*="background:#eef1ff"],[style*="background:#e9ecf3"],[style*="background:#f4f6ff"],[style*="background:#e6e9ef"],[style*="background:#f3f5ff"],[style*="background:#f7f8fb"],[style*="background:#eef0fc"],[style*="background:#eef2ff"],[style*="background:#f0f1f7"]){background:rgba(127,140,255,.10)!important;color:var(--text)!important}
:root[data-theme="dark"] .badge.ok{background:rgba(61,220,132,.14)}:root[data-theme="dark"] .badge.re{background:rgba(230,189,87,.15)}:root[data-theme="dark"] .badge.cr{background:rgba(255,122,122,.15)}
:root[data-theme="dark"] .ok:not(.badge):not(button){background:rgba(61,220,132,.12)}:root[data-theme="dark"] .re:not(.badge):not(button){background:rgba(230,189,87,.12)}:root[data-theme="dark"] .cr:not(.badge):not(button){background:rgba(255,122,122,.12)}:root[data-theme="dark"] .warn{background:rgba(230,189,87,.08)}
:root[data-theme="dark"] a:not([class]),:root[data-theme="dark"] a:not([class]):visited{color:#a9b3ff}
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) :is([style*="background:#fff4d7"],[style*="background:#fffaf0"],[style*="background:#fff8e1"],[style*="background:#fff6ec"],[style*="background:#fdf1dd"],[style*="background:#fff8e6"],[style*="background:#fff4e0"],[style*="background:#fff3d6"],[style*="background:#fff0dc"],[style*="background:#fffcf2"]){background:rgba(242,180,90,.11)!important;color:var(--text)!important}
:root:not([data-theme="light"]) :is([style*="background:#fff0f0"],[style*="background:#fff9f9"],[style*="background:#fdeceb"],[style*="background:#fdecec"],[style*="background:#fff1f1"],[style*="background:#fdeaea"]){background:rgba(255,123,123,.12)!important;color:var(--text)!important}
:root:not([data-theme="light"]) :is([style*="background:#e9f8ef"],[style*="background:#e8f7ee"],[style*="background:#ecf9f1"],[style*="background:#e4f6ee"],[style*="background:#edf8f1"],[style*="background:#e8f6ee"]){background:rgba(61,220,132,.12)!important;color:var(--text)!important}
:root:not([data-theme="light"]) :is([style*="background:#e8ecff"],[style*="background:#f5f7fb"],[style*="background:#f0f2f7"],[style*="background:#eef0f6"],[style*="background:#eef1ff"],[style*="background:#e9ecf3"],[style*="background:#f4f6ff"],[style*="background:#e6e9ef"],[style*="background:#f3f5ff"],[style*="background:#f7f8fb"],[style*="background:#eef0fc"],[style*="background:#eef2ff"],[style*="background:#f0f1f7"]){background:rgba(127,140,255,.10)!important;color:var(--text)!important}
:root:not([data-theme="light"]) .badge.ok{background:rgba(61,220,132,.14)}:root:not([data-theme="light"]) .badge.re{background:rgba(230,189,87,.15)}:root:not([data-theme="light"]) .badge.cr{background:rgba(255,122,122,.15)}
:root:not([data-theme="light"]) .ok:not(.badge):not(button){background:rgba(61,220,132,.12)}:root:not([data-theme="light"]) .re:not(.badge):not(button){background:rgba(230,189,87,.12)}:root:not([data-theme="light"]) .cr:not(.badge):not(button){background:rgba(255,122,122,.12)}:root:not([data-theme="light"]) .warn{background:rgba(230,189,87,.08)}
:root:not([data-theme="light"]) a:not([class]),:root:not([data-theme="light"]) a:not([class]):visited{color:#a9b3ff}
}
