/* Approved Graphite palette replaces Black. oled is retained as the saved preference key. */
:root[data-theme="oled"],:root[data-theme="oled"][data-accent]{color-scheme:dark}
:root[data-theme="oled"] .ceo-primary{background:var(--theme-primary)!important;border-color:var(--theme-primary)!important;color:#fff!important}
:root[data-theme="oled"] .ceo-badge:not(.green):not(.amber){background:var(--theme-tile)!important;color:var(--theme-text)!important}
:root[data-theme="oled"] th,:root[data-theme="oled"] .nc-shell table th{background:var(--theme-surface2)!important;color:var(--theme-muted)!important;border-color:var(--theme-border)!important}
:root[data-theme="oled"] ::-webkit-scrollbar-track{background:var(--theme-surface2)}
:root[data-theme="oled"] ::-webkit-scrollbar-thumb{background:#687080;border:2px solid var(--theme-surface2);border-radius:8px}
:root[data-theme="oled"] :is(input,textarea,select){color-scheme:dark}
:root[data-theme="oled"] input:is([type="checkbox"],[type="radio"],[type="range"]){accent-color:var(--theme-accent)!important}
:root[data-theme="oled"] .w-sound-settings input[type="range"]::-webkit-slider-thumb{background:var(--theme-accent)!important}
:root[data-theme="oled"] .norella-chat-content .norella-bubble{background:var(--theme-surface2)!important;color:var(--theme-text)!important;border:1px solid var(--theme-border);box-shadow:none}
:root[data-theme="oled"] .norella-chat-content .is-outgoing .norella-bubble{background:var(--theme-active)!important}
:root[data-theme="oled"] .norella-chat-content :is(.norella-bubble-sender,.norella-compose-top strong){color:var(--theme-accent)!important}
:root[data-theme="oled"] .norella-chat-content :is(.norella-bubble time,.norella-enter-hint){color:var(--theme-muted)!important;opacity:1}
:root[data-theme="oled"] :is(.btn.danger,.w-action.danger){background:#40282e!important;color:#ffb4b4!important;border-color:#86505b!important}
