/* Charcoal interface palette; Brannet green and media colours stay intact. */
.bm-header .bm-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:8px;border:1px solid #42423b;border-radius:50%;background:transparent;color:#e9e9e3;cursor:pointer}
.bm-header .bm-theme-toggle:hover{background:#34342f;color:#c6ff42}
.bm-header .bm-theme-toggle:focus-visible{outline:2px solid #c6ff42;outline-offset:3px}
.bm-header .bm-theme-toggle svg{width:19px;height:19px}
@media(min-width:761px) and (max-width:1500px){.bm-header .bm-profile-name{display:none!important}.bm-header .bm-profile>summary>svg{display:none}.bm-header .bm-actions{gap:8px!important}.bm-header .bm-search{min-width:140px!important}}
html[data-bm-theme="dark"]{color-scheme:dark;background:#111;color:#e7e7e7;--paper:#111;--surface:#1c1c1c;--ink:#e7e7e7;--muted:#aaa;--line:#3c3c3c}
html[data-bm-theme="dark"] body{background:#111!important;color:#e7e7e7}
html[data-bm-theme="dark"] :is(input,textarea,select){color-scheme:dark}
html[data-bm-theme="dark"] ::selection{background:#c6ff42;color:#171714}
html[data-bm-theme="dark"] ::placeholder{color:#999!important;opacity:1}
html[data-bm-theme="dark"] .bm-header{background:#111!important;border-color:#363636!important}
html[data-bm-theme="dark"] .bm-header .bm-theme-toggle{color:#e7e7e7!important;background:#292929!important;border-color:#454545!important}
html[data-bm-theme="dark"] :is(.studio-nav-link.active,.canvas-kind.active,.studio-nav-link.active b,.studio-nav-link.active span){color:#171714!important}
html[data-bm-theme="dark"] :is(.btn.primary,.btn.primary span,#apps-tab.active,#apps-tab.active span,#apps-tab.active b){color:#171714!important}
html[data-bm-theme="dark"] :is(.admin-activity-table,.admin-activity-card){border-color:#3c3c3c}
@media(max-width:760px){.bm-header .bm-theme-toggle{flex-basis:30px;width:30px;height:30px;padding:6px}.bm-header .bm-theme-toggle svg{width:17px;height:17px}.bm-header .bm-actions{gap:6px!important}}
@media(prefers-reduced-motion:no-preference){.bm-theme-toggle{transition:background-color .15s,color .15s}}
