/* Axiom RC7: restore actual night palette to RC6 admin and cards; do not force light mode. */
html[data-axiom-theme="dark"] body:has(.wrap.adm){background:#111216!important;color:#f4f4f7!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .cats{background:#191a20!important;border-bottom-color:#343640!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .cats a{color:#bfc0ca!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .cats a:hover,
html[data-axiom-theme="dark"] body:has(.wrap.adm) .cats a.on{color:#f6f6f8!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .f,
html[data-axiom-theme="dark"] body:has(.wrap.adm) .axiom-admin-card,
html[data-axiom-theme="dark"] body:has(.wrap.adm) .axiom-stats-entry{background:#1c1d25!important;color:#f3f3f6!important;border-color:#373944!important;box-shadow:0 8px 28px #0003}
html[data-axiom-theme="dark"] body:has(.wrap.adm) :is(.axiom-admin-card__label,.axiom-stats-entry__label){color:#ff747e!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) :is(.axiom-admin-card h3,.axiom-stats-entry h3,.adm h3,.f h2){color:#f4f4f7!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) :is(.axiom-admin-card p,.axiom-stats-entry p,.note,.meta){color:#abaebb!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .axiom-admin-card__icon{background:#d82031;color:#fff;box-shadow:0 8px 18px #9c152955}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .axiom-admin-card--rss .axiom-admin-card__icon{background:#30333d;color:#f4f4f7;box-shadow:none}
html[data-axiom-theme="dark"] body:has(.wrap.adm) :is(input,select,textarea,.drop,.news-editor,.news-editor-toolbar,.crop-close,.crop-card,.th){background:#252630!important;color:#f1f1f5!important;border-color:#434550!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .news-editor-toolbar button{color:#f1f1f5!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .row{background:transparent!important;color:#f2f2f5!important;border-color:#383944!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .drop:hover,
html[data-axiom-theme="dark"] body:has(.wrap.adm) .drop.over{background:#31242c!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .crop-main{background:#24252e!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .crop-stage-wrap{background:#111216!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) :is(.axiom-admin-actions .btn:not(.red),.adm .btn:not(.red):not(.danger)){background:#282a33!important;color:#eeeef3!important;border-color:#4a4b58!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) :is(.axiom-admin-actions .btn.red,.adm .btn.red){background:#da2a3a!important;color:#fff!important;border-color:#da2a3a!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) :is(.axiom-admin-actions .btn.red:hover,.adm .btn.red:hover){background:#bd1828!important;border-color:#bd1828!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .adm .btn.danger{color:#ff7c86!important;border-color:#805059!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) label{color:#d6d6df!important}
html[data-axiom-theme="dark"] body:has(.wrap.adm) .user-tools{color:#f4f4f7}
/* A bright background is never applied in night mode, even if older RC6 overrides exist. */
