/* Dashboard theme; the assistant appearance preview retains its configured colors. */
.light-sidebar .nav-label{color:#ffda33!important;font-weight:800;letter-spacing:.12em}
.cc-tools .cc-theme-toggle{border:1px solid #7da9ef;background:#fff;color:#185bc1;border-radius:24px;min-width:110px;justify-content:center}
.cc-theme-track{width:30px;height:17px;border-radius:20px;background:#dce8ff;position:relative}
.cc-theme-track:after{content:"";position:absolute;top:3px;left:3px;width:11px;height:11px;border-radius:50%;background:#1768dc}
.cc-theme-toggle[aria-checked="true"] .cc-theme-track:after{transform:translateX(13px);background:#ffda33}
html[data-admin-theme="dark"]{color-scheme:dark;--ink:#edf0f7;--muted:#b2bdd1;--line:#3c4760;--bg:#101521;background:#101521;color:#edf0f7}
html[data-admin-theme="dark"] body{background:#101521!important;color:#edf0f7}
html[data-admin-theme="dark"] :is(.topbar,.panel,.metric-card,.summary-card,.status-strip,.security-card,.security-banner,.provider-panel,.admin-card,.color-group,.color-control,.identity-controls>label,.size-grid>label,.preview-stage,.knowledge-frame,.test-result,.hit-card,.search-card,.sla-cards article,.parameter-grid label,.cc-help-dialog,.microsoft-auth-card){background:#1c2435!important;border-color:#3c4760!important;color:#edf0f7;box-shadow:0 8px 24px #0002}
html[data-admin-theme="dark"] :is(.check-row,.system-panel fieldset,.add-user-form,.security-guidance,.toolbar,.security-check,.cc-help-close,.signed-in-user){background:#242e42!important;border-color:#44506a!important;color:#edf0f7}
html[data-admin-theme="dark"] :is(h1,h2,h3,h4,strong,dt,label,legend,td,th):not(.bot-preview *):not(.sidebar *){color:#edf0f7!important}
html[data-admin-theme="dark"] :is(p,small,dd,.empty,.security-empty,.configuration-list dt,.cc-help-count,.type,.count,.search-wrap,.settings-help small,.preview-note,.pagination,.chat-pagination):not(.bot-preview *):not(.sidebar *){color:#b8c4d9!important}
html[data-admin-theme="dark"] :is(input,textarea,select):not(.bot-preview *){background:#111a2b!important;border-color:#53617b!important;color:#edf0f7!important}
html[data-admin-theme="dark"] input::placeholder,html[data-admin-theme="dark"] textarea::placeholder{color:#9eacc4}
html[data-admin-theme="dark"] :is(th,td,.configuration-list>div,.cc-help-entry,.priority-row,.json-node){border-color:#3c4760!important}
html[data-admin-theme="dark"] th{background:#242e42!important}
html[data-admin-theme="dark"] :is(.secondary,.reset-look,.icon-button,.pagination button,.chat-pagination button,.security-link,.refresh-security,.cc-help-button,.cc-theme-toggle,.toolbar button,.knowledge-actions button,.settings-help button){background:#27334b!important;color:#dce8ff!important;border-color:#586c92!important}
html[data-admin-theme="dark"] .cc-logoff-button{background:#3f2854!important;color:#f1d8ff!important;border-color:#8b67a7!important}
html[data-admin-theme="dark"] .cc-theme-track{background:#5a4c77}
html[data-admin-theme="dark"] :is(.eyebrow,.key,.admin-card strong,.cc-help-entries h3){color:#d8a3ff!important}
html[data-admin-theme="dark"] .donut:after{background:#1c2435}
html[data-admin-theme="dark"] :is(.settings-status,.appearance-status,.auth-notice,.security-banner.warning,.security-notice){background:#342d20!important;border-color:#796742!important;color:#ffe39b!important}
html[data-admin-theme="dark"] :is(.settings-status.error,.security-notice.danger){background:#442932!important;color:#ffc3c9!important;border-color:#92525d!important}
html[data-admin-theme="dark"] :is(.running-pill,.security-banner.ready){background:#183d36!important;color:#9cf0cf!important;border-color:#387d6a!important}
html[data-admin-theme="dark"] :is(.running-pill.stopped,.danger,.danger-text){background:#432632!important;color:#ffc0ca!important}
html[data-admin-theme="dark"] .signed-in-user strong{color:#edf0f7}
html[data-admin-theme="dark"] .signed-in-user small{color:#b8c4d9}
html[data-admin-theme="dark"] .string{color:#91e5b5}
html[data-admin-theme="dark"] .number{color:#85dbf2}
html[data-admin-theme="dark"] .boolean{color:#ffe39b}
html[data-admin-theme="dark"] .match{background:#62551a!important;color:#fff!important}
html[data-admin-theme="dark"] :is(.json-node>summary,.leaf):hover{background:#28364c}
html[data-admin-theme="dark"] a:not(.sidebar a):not(.primary):not(.microsoft-sign-in){color:#a9ccff}
html[data-admin-theme="dark"] .microsoft-sign-in.google-sign-in{background:#27334b;color:#edf0f7;border-color:#586c92}
.cc-tools{flex-wrap:wrap}
html[data-admin-theme="dark"] :is(.hit-card>div,.provider-note){background:#242e42!important;border-color:#44506a!important;color:#b8c4d9!important}
html[data-admin-theme="dark"] .hit-visual span{box-shadow:inset 0 0 0 15px #242e42}
html[data-admin-theme="dark"] :is(.chats-heading a,.chats-heading button,.knowledge-actions a,.topq-heading a,.follow-heading a,.sla-heading a,.job-controls button,.job-controls a,.search-card>div){background:#27334b!important;color:#dce8ff!important;border-color:#586c92!important}
html[data-admin-theme="dark"] :is(.chats-heading .clear,.job-controls .stop-job){background:#432632!important;color:#ffc0ca!important;border-color:#92525d!important}
