/* Neutral charcoal workspace. Strictly scoped: light mode and other tabs keep their own theme. */
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) {
  --cs-dark-canvas: #0f0f0f;
  --cs-dark-panel: #171717;
  --cs-dark-surface: #212121;
  --cs-dark-hover: #2c2c2c;
  --cs-dark-edge: #383838;
  --cs-dark-text: #ededed;
  --cs-dark-muted: #a3a3a3;
  background: var(--cs-dark-canvas) !important;
  color: var(--cs-dark-text) !important;
  color-scheme: dark;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight)::before,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) #root,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) #root > div,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) main {
  background: var(--cs-dark-canvas) !important;
  background-image: none !important;
  color: var(--cs-dark-text) !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscodexrail-nav,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav {
  background: #111111 !important;
  color: #c7c7c7 !important;
  box-shadow: none !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbwelcome,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbwelcome h2,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav .cssidehead {
  color: #ededed !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav button,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscodexrail-nav button {
  color: #bdbdbd !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscodexrail-nav button.is-current,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentchats button.on,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav button:hover,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscodexrail-nav button:hover {
  background: #292929 !important;
  color: #f5f5f5 !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) section.csdbcomposer2.csdbcomposer2,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight).cscodexrail section.csdbcomposer2.csdbcomposer2 {
  background: #212121 !important;
  background-image: none !important;
  border-color: #383838 !important;
  box-shadow: 0 12px 36px #00000026 !important;
  color: #ededed !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbinput {
  background: transparent !important;
  color: #ededed !important;
  caret-color: #ededed !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbinput::placeholder { color: #a3a3a3 !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbtabs { background: #212121 !important; border-color: #383838 !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbtabs button { color: #bdbdbd !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbtabs button.on { background: #ededed !important; color: #171717 !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbfootbar button:not(.csdbsend),
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbfootbar select,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbplus,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav .csnewchat,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav .csbackgenerator,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csimageactions button {
  background: #292929 !important;
  color: #d6d6d6 !important;
  border-color: #404040 !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbfootbar button:not(.csdbsend):hover,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbfootbar [data-auto].on,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbfootbar .on {
  background: #353535 !important;
  color: #f5f5f5 !important;
  border-color: #525252 !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbfootbar .csdbsend {
  background: #f1f1f1 !important;
  color: #171717 !important;
  border-color: transparent !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cschatstream article.user .cschatcontent {
  background: #2c2c2c !important;
  color: #ededed !important;
  border-color: transparent !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cschatstream article.assistant .cschatcontent {
  background: transparent !important;
  color: #ededed !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csquick,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csagentmenu,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csagentskillsuggest,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csimagepanel,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csvideopanel,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csmusicpanel,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csm .csdlg,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscodexrail-nav button::before {
  background: #242424 !important;
  color: #ededed !important;
  border-color: #404040 !important;
}
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csoptiongrid,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csm .csside { background: #191919 !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbcontrols button,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbtypegroup,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbpromptgroup { color: #c7c7c7 !important; background: #292929 !important; border-color: #404040 !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csusertop,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csusertop button { color: #d6d6d6 !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscodexrail-nav button:focus-visible,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbcomposer2 button:focus-visible,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav button:focus-visible { outline: 2px solid #a3a3a3 !important; outline-offset: 2px; box-shadow: none !important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) ::-webkit-scrollbar-thumb { background: #454545 !important; }


html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csusertop { background:#1c1c1c!important;border-color:#383838!important;box-shadow:0 8px 24px #0004!important; }
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csusertop :is(button,span,strong),
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .cscontentnav :is(span,h4,p),
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csdbfootbar button span,
html body.csdbpage.csdbpage.csdbpage:not(.cscontentlight) .csimagecost { color:#bdbdbd!important; }
