/* darkfix-css - Dark-theme fixes for colours the views set inline. */

/* Application status labels are inline-coloured for the light theme; lift them on dark. */
:root[data-theme=dark] #pg b[style*="color:#b45309"]{color:#fbbf24!important}
:root[data-theme=dark] #pg b[style*="color:#2563eb"]{color:#93b4ff!important}
:root[data-theme=dark] #pg b[style*="color:#15803d"]{color:#7fd9a6!important}
:root[data-theme=dark] #pg b[style*="color:#b91c1c"]{color:#ff9d9d!important}
@media (prefers-color-scheme:dark){
 :root:not([data-theme=light]) #pg b[style*="color:#b45309"]{color:#fbbf24!important}
 :root:not([data-theme=light]) #pg b[style*="color:#2563eb"]{color:#93b4ff!important}
 :root:not([data-theme=light]) #pg b[style*="color:#15803d"]{color:#7fd9a6!important}
 :root:not([data-theme=light]) #pg b[style*="color:#b91c1c"]{color:#ff9d9d!important}
}
/* White on the lighter dark-theme orange is only 3.1:1; use dark ink there. */
:root[data-theme=dark] #bnaiP .btn:not(.alt):not(.bnplus):not(.bnsend):not(.bnlink),
:root[data-theme=dark] #bnaiP .bnsend{color:#1f1e1d}
@media (prefers-color-scheme:dark){
 :root:not([data-theme=light]) #bnaiP .btn:not(.alt):not(.bnplus):not(.bnsend):not(.bnlink),
 :root:not([data-theme=light]) #bnaiP .bnsend{color:#1f1e1d}
}
:root[data-theme=dark] .bnerr{color:#ff9d9d;background:rgba(255,157,157,.12)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .bnerr{color:#ff9d9d;background:rgba(255,157,157,.12)}}
:root[data-theme=dark] .bnch button:hover{color:var(--er)}
#bnaiOut:empty::before{color:#6b7280}
