/* Cloud White palette. Layout and behavior stay in their original modules. */
:root{color-scheme:light;--ice-bg:#edf2f7;--ice-panel:#fff;--ice-line:#d6e1ed;--ice-accent:#337bdf;--bg:#edf2f7;--panel:#fff;--line:#d6e1ed;--accent:#337bdf;--text:#223448;--muted:#61768e}
body:has(#workspace:not([hidden])){background:#edf2f7!important;color:#223448!important}
#workspace,#workspace.board-layout{--green:#337bdf;--ice-panel:#fff;--ice-line:#d6e1ed;--line:#d6e1ed;background:#edf2f7!important;color:#223448!important;color-scheme:light}
#workspace :is(h1,h2,h3,h4,strong){color:#223448!important}
#workspace :is(.muted,.aw-muted,.cell-sub,small,.hint,.ab-hint,.hc-context-note,.hc-disclaimer,.hc-message-role){color:#61768e!important}
#workspace :is(p,label,summary,td){color:#496078!important}
#workspace a,#workspace .text-button{color:#246bcc!important}
#workspace :is(header,.sidebar,aside:not(.ct-library):not(.ab-status):not(.hc-context):not(.board-knowledge-side):not(.cb-geo-engines)),#workspace.board-layout .sidebar{background:#f8fafc!important;border-color:#d6e1ed!important}
#workspace .sidebar .brand-wordmark,#workspace .brand{color:#223448!important}
#workspace :is(.nav-caption,.nav-group,.breadcrumb,.account){color:#61768e!important}
#workspace .sidebar .nav,#workspace nav>button{color:#516b83!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
#workspace .sidebar .nav.active,#workspace nav>button.active,#workspace .sidebar .cb-parent-active{color:#1f64c2!important;background:#e4efff!important;border-color:#9bc0f1!important;box-shadow:inset 3px 0 #337bdf!important}
#workspace .sidebar .nav-icon,#workspace .sidebar .nav.active .nav-icon{filter:none}
#workspace .sidebar .cb-subnav{color:#61768e!important}
#workspace :is(.card,.panel,.stats article,.sp-metric,.sp-categories,.sp-knowledge-item,.aw-task,.aw-next,.terminal-package,.terminal-current,.terminal-banner,.ct-source-main,.ct-library,.mw-card,.mw-side,.mw-main,.mw-job,.mw-scene,.mw-preview,.mw-toolbar,.mw-track,.mw-hero,.digital-upload,.digital-library,.digital-image-preview,.st-pane,.hc-main,.hc-context,.hc-history,.hc-workspace,.hc-chat,.hc-plan,.board-knowledge-side,.board-today,.board-provider-card,.board-ac-stats>div,.ab-platforms,.cb-history),#workspace.board-layout :is(.card,.stats article,.aw-task,.aw-next,.ct-source-main,.ct-library,.sp-category,.hc-main,.hc-context,.hc-history,.hc-workspace,.st-pane,.ab-platforms,.board-knowledge-side),#workspace.board-layout #creation :is(.card,.ct-source-main,.ct-library,.mw-card){background:#fff!important;border-color:#d6e1ed!important;box-shadow:0 2px 8px #22344804!important;color:#223448!important}
#workspace :is(input,select,textarea),#workspace.board-layout :is(input,select,textarea),#workspace.board-layout #creation :is(input,select,textarea),#workspace.board-layout .cb-command .hc-composer textarea{background:#f5f8fc!important;color:#223448!important;border-color:#cbd9e8!important;color-scheme:light}
#workspace :is(input,textarea)::placeholder{color:#8193a6!important}
#workspace option{background:#fff!important;color:#223448!important}
#workspace input[type=checkbox],#workspace input[type=radio]{accent-color:#337bdf}
#workspace :is(.primary,.mw-submit),#workspace.board-layout .primary,#workspace.board-layout #creation button.primary{background:#337bdf!important;border-color:#337bdf!important;color:#fff!important;box-shadow:0 3px 10px #337bdf20!important}
#workspace :is(.secondary,.subtle),#workspace.board-layout .secondary,#workspace.board-layout #creation button.secondary{background:#f5f8fc!important;border-color:#cbd9e8!important;color:#345b83!important;box-shadow:none!important}
#workspace button:disabled{opacity:.45}
#workspace button:focus-visible,#workspace :is(input,select,textarea):focus-visible{outline-color:#337bdf}
#workspace :is(.page-heading,.ct-hero,.cb-hero,.board-section-hero,.admin-hero),#workspace.board-layout :is(.page-heading,.cb-hero,.board-section-hero),#workspace.board-layout #creation .ct-hero{background-color:#f4f8ff!important;background-image:linear-gradient(100deg,#edf5ff,#e4efff)!important;border-color:#cbdcf1!important;color:#223448!important}
#workspace :is(.page-heading,.ct-hero,.cb-hero,.board-section-hero,.admin-hero) :is(h1,h2,h3,strong){color:#223448!important}
#workspace :is(.page-heading,.ct-hero,.cb-hero,.board-section-hero,.admin-hero) p{color:#56728f!important}
#workspace :is(.eyebrow,.ct-eyebrow,.cb-hero small){color:#337bdf!important}
#workspace :is(.empty,.sp-empty,.st-empty-note),#workspace.board-layout .empty,#workspace.board-layout #creation .empty{background:#f8fafc!important;border-color:#d6e1ed!important;color:#61768e!important}
#workspace .empty strong{color:#496078!important}#workspace .empty span{color:#71869b!important}
#workspace :is(table,.table-wrap){background:#fff!important;border-color:#d6e1ed!important}
#workspace th,#workspace.board-layout th,#workspace.board-layout #creation th{background:#f0f5fa!important;border-color:#d6e1ed!important;color:#61768e!important}
#workspace td,#workspace.board-layout td,#workspace.board-layout #creation td{color:#405971!important;border-color:#e1e8f0!important}
#workspace tbody tr:hover,#workspace.board-layout #creation tbody tr:hover{background:#f5f9ff!important}
#workspace :is(.notice,.aw-flow,.lw-note,.lw-summary,.lw-filter,.lw-nav,.ae-note,.ae-flow,.ae-section,.ae-header,.ae-footer,.ac-banner){background:#eef5ff!important;border-color:#cbdcf1!important;color:#526d89!important}
#workspace :is(.tag,.sp-status-approved,.digital-badge){background:#e8f6ef!important;border-color:#bfdfce!important;color:#20754d!important}
#workspace :is(.tag.neutral,.sp-status,.board-provider-status,.hc-tool,.hc-suggestions button,.hc-history-item.active,.hc-tool small,.hc-section-label){color:#4b6b89!important}
#workspace :is(.tag.warning,.sp-status-draft){background:#fff4dc!important;border-color:#ead5a3!important;color:#916710!important}
#workspace :is(.tag.danger,.error,.mw-error,.sp-status-rejected){background:#fff0f0!important;border-color:#ebc5c5!important;color:#ac4242!important}
#workspace :is(.toast){background:#e8f6ef!important;border-color:#bfdfce!important;color:#20754d!important}
#workspace :is(.sp-category.active,.cr-tabs button[aria-selected=true],.aw-tab[aria-current=page],.ab-lead-tabs [aria-pressed=true]),#workspace.board-layout :is(.sp-category.active,.ab-lead-tabs [aria-pressed=true]),#workspace.board-layout #creation .cr-tabs button[aria-selected=true]{background:#e4efff!important;border-color:#9bc0f1!important;color:#246bcc!important;box-shadow:none!important}
#workspace #creation .cr-tabs button,#workspace.board-layout #creation .cr-tabs button{background:#fff!important;border-color:#d6e1ed!important;color:#61768e!important}
#workspace :is(.cf-quick-grid button,.hc-suggestions button,.hc-tool,.ab-platform,.sp-day,.sp-weekday,.sp-calendar-plan,.board-connection-details){background:#f5f8fc!important;border-color:#d6e1ed!important;color:#45627f!important}
#workspace.board-layout .cb-command :is(.hc-context .hc-tool,.hc-suggestions button){background:#f5f8fc!important;border-color:#d6e1ed!important}
#workspace .hc-composer,#workspace #harness .hc-composer-footer{background:#fff!important;border-color:#cbd9e8!important;color:#61768e!important}
#workspace .hc-message,#workspace.board-layout .cb-command .hc-message{background:transparent!important;border-color:transparent!important;color:#334f6a!important;box-shadow:none!important}
#workspace .hc-message-content,#workspace.board-layout .cb-command .hc-message-content{color:#334f6a!important}
#workspace .hc-assistant .hc-message-content,#workspace.board-layout .cb-command .hc-assistant .hc-message-content{background:transparent!important;color:#334f6a!important}
#workspace .hc-user .hc-message-content,#workspace.board-layout .cb-command .hc-user .hc-message-content{background:#e4efff!important;border-color:#bed5f3!important;color:#244f85!important}
#workspace #harness .hc-plan,#workspace.board-layout .cb-command .hc-plan{background:#f2f7ff!important;border-color:#cbdcf1!important;color:#345b83!important}
#workspace #harness .hc-plan :is(h3,p,li),#workspace.board-layout .cb-command .hc-plan :is(h3,p,li){color:#345b83!important}
#workspace :is(.st-avatar,.st-chip,.st-customer.active,.st-assistant-symbol,.hc-spark,.steps b){background:#e4efff!important;border-color:#bed5f3!important;color:#246bcc!important}
#workspace :is(.st-customer,.st-assistant-body,.st-assistant-bottom,.st-pane-head,.st-context-body,.st-management,.st-account){background:transparent!important;border-color:#d6e1ed!important;color:#496078!important}
#workspace :is(.board-bar){background:linear-gradient(#337bdf,#bfd6f3)!important;border-color:#337bdf!important;box-shadow:none!important}
#workspace :is(.ab-ring){border-color:#bed5f3!important;border-top-color:#337bdf;box-shadow:none!important;color:#246bcc!important}
#workspace :is(.stats article:before){background:#e4efff!important;border-color:#bed5f3!important;color:#337bdf!important;box-shadow:none!important}
#workspace .cb-chart-empty,#workspace .board-graph{background:repeating-linear-gradient(to top,#d6e1ed 0 1px,transparent 1px 43px)!important}
#workspace :is(.cb-engine,.sp-item-footer,.board-today-item,.board-creation-stats,.sidebar-bottom){border-color:#d6e1ed!important}
#workspace :is(.sp-today){background:#e4efff!important}#workspace .sp-outside{background:#f0f3f7!important}
#workspace :is(.sp-calendar-plan){background:#e4efff!important;color:#246bcc!important;border-color:#337bdf!important}
#workspace.board-layout #creation #cr-oss-assets:empty:after{background:#f8fafc!important;border-color:#d6e1ed!important;color:#61768e!important}
#workspace.board-layout #device-list tr.board-device{background:linear-gradient(130deg,#edf5ff,#fff)!important;border-color:#cbdcf1!important}
#workspace :is(pre,code,.cx-details,#cr-result-text,#lead-detail-profile){background:#f0f5fa!important;color:#345b83!important;border-color:#d6e1ed!important}
body:has(#workspace:not([hidden])) dialog{background:#fff!important;color:#223448!important;border-color:#cbd9e8!important;box-shadow:0 20px 70px #17375222!important;color-scheme:light}
body:has(#workspace:not([hidden])) dialog :is(h2,h3,label,p){color:#405971!important}
body:has(#workspace:not([hidden])) dialog :is(input,select,textarea){background:#f5f8fc!important;color:#223448!important;border-color:#cbd9e8!important}
body:has(#workspace:not([hidden])) dialog::backdrop{background:#25446566!important}
#workspace :is(.hc-suggestions span,.hc-context p,.hc-tool small,.hc-composer-footer span,.terminal-help,.terminal-help p,.st-assistant-hint,.sp-nav-icon){color:#61768e!important}
#workspace :is(#cr-decompose-form,.hc-chat-head,.hc-context-divider,.st-steps,.st-pane-head){border-color:#d6e1ed!important}
#workspace :is(.ct-hero,.cb-hero,.board-section-hero,.page-heading,.admin-hero){background-image:radial-gradient(circle at 85% 50%,#a4c9fa55 0 38px,#d8e8fc88 39px 41px,transparent 42px),radial-gradient(ellipse at 85% 50%,transparent 0 65px,#9ec4f04d 66px 67px,transparent 68px),linear-gradient(100deg,#edf5ff,#e4efff)!important;background-size:100% 100%!important;background-repeat:no-repeat!important}

/* Restore the light split login; keep the existing form and authentication. */
#login-screen{display:grid;grid-template-columns:1.04fr 1fr;min-height:100vh;background:#fff;color:#223448;color-scheme:light}
#login-screen .login-story{display:flex;flex-direction:column;justify-content:space-between;padding:52px 9%;min-height:100vh;height:auto;aspect-ratio:auto;background:#eef4fc}
#login-screen .login-story>*{visibility:visible}
#login-screen .login-story:after{display:block;border-color:#d8e5f5}
#login-screen .brand-wordmark{color:#223448}
#login-screen .brand small{color:#61768e}
#login-screen .login-story h1{font-size:44px;line-height:1.5;letter-spacing:-1.8px;color:#223448}
#login-screen .story-copy{color:#61768e;line-height:2}
#login-screen .story-flow,#login-screen .login-story>small{color:#61768e}
#login-screen .brand-art{position:static;width:100%;max-width:460px;height:auto;margin-top:36px;filter:hue-rotate(-20deg)}
#login-screen .login-panel{background:#fff;border:0;backdrop-filter:none;padding:44px;min-width:0}
#login-screen .login-panel form{max-width:350px;width:100%;padding:0}
#login-screen .login-panel h2{color:#223448;font-size:28px}
#login-screen .login-panel .eyebrow{color:#337bdf}
#login-screen .login-panel :is(label,.muted,.form-foot){color:#61768e}
#login-screen .login-panel input{background:#f8fafc;border:1px solid #d6e1ed;color:#223448;box-shadow:none}
#login-screen .login-panel input:focus{border-color:#337bdf;outline:3px solid #337bdf18}
#login-screen .login-panel input::placeholder{color:#91a0b2}
#login-screen .primary{background:#337bdf;color:#fff;border-color:#337bdf;box-shadow:0 5px 15px #337bdf20}
#login-screen .primary:hover{background:#266aca}
#login-screen .form-foot a{color:#337bdf}
#login-screen .error:not(:empty){background:#fff1f2;color:#bb3348;border-color:#f3cbd2}
@media(max-width:720px){
 #login-screen{display:block}
 #login-screen .login-story{display:none}
 #login-screen .login-panel{min-height:100vh;padding:28px}
 #login-screen .login-panel h2{font-size:26px}
}
