:root{
  --purple:#4566a8;
  --ink:#283447;
  --muted:#748096;
  --line:#e1e6ee;
  --green:#2f9276;
}
body,.app-shell{background:#eef2f6;color:#283447}
.rail{background:#202b3b;color:#c6d0df}
.rail .brand-icon{background:linear-gradient(145deg,#6687c2,#3d5f9f);box-shadow:0 6px 18px #15223855}
.rail-button{color:#aeb9ca}.rail-button.active{background:#354760;box-shadow:inset 3px 0 #86a8df}.rail-button:hover{background:#2d3c52;color:#fff}
.topbar{background:#fff;border-color:#e1e6ee}.title-group h1{color:#29374b}.top-subtitle{color:#7b8799}.beta{color:#5574aa;background:#edf3fc}
.connection{color:#33846d}.refresh-button{color:#607087;border-color:#dfe5ed}.refresh-button:hover{background:#f2f6fb;border-color:#c4d3e7;color:#4566a8}
.desk{border-color:#dce3ec;box-shadow:0 8px 26px #283b550c}.roles-panel{background:#f8fafc}.operator-card strong,.sessions-heading h2,.section-heading h2,.role-title h3{color:#2c394d}.operator-card>div>span{color:#8490a1}.operator-badge{background:#f1f5fa;border-color:#dce5f1;color:#647d9f}
.status-switch{background:#f3f6f9;border-color:#e3e8ef}.status-switch .selected{color:#2f9276}.app-selector,.search-box{background:#f8fafc;border-color:#e1e7ef}.app-selector span{color:#7d8999}.stats span{color:#7b8798}.stats strong{color:#2c3a50}.stats strong.purple-text{color:#4e70ad}
.filter-row .selected{background:#e8eff9;color:#4b6ea8}.session-tabs button.selected{color:#4b6ea8}.session-tabs button.selected:after{background:#5c7db6}.conversation-item.selected{background:#edf3fb;box-shadow:none}.conversation-item.selected:before{background:#5d7fb9}.conversation-copy strong{color:#35445a}.conversation-copy p{color:#78869a}.unread-badge{background:#5e7fb9}
.section-heading .eyebrow{color:#8895a7}.section-heading h2 span{background:#e8eef7;color:#617da9}.role-card{border-color:#e1e6ed;box-shadow:0 2px 5px #31445a06}.role-card:hover{border-color:#b9cae1;box-shadow:0 7px 16px #31445a12}.role-card.selected{border-color:#9db5d9;background:linear-gradient(145deg,#f9fbfe,#edf4fb);box-shadow:inset 3px 0 #5f81bb,0 8px 18px #31445a0d}.role-state{color:#43826e;background:#eff8f3;border-color:#dcefe6}.role-title h3{color:#2d3d53}.role-select>p{color:#78869a}.role-meta{color:#8996a7;border-color:#e8edf2}.selected-check{background:#5d7fb7}.add-role{background:#f3f7fc;color:#5c7eaf;border-color:#b9cbe2}.role-tip{color:#8995a6}
.chat-heading h2{color:#2a394e}.chat-heading p,.user-summary{color:#7b8798}.identity{background:#f0f5fb;border-color:#dce6f1;color:#607da8}.icon-button:hover,.icon-button.active{background:#edf3fb;color:#4c70ab}.status-pill{background:#edf8f3;color:#438970}.status-pill.ended{background:#eef1f5;color:#78869a}.status-pill.blocked{background:#fff2f0;color:#bb776f}
.message-area{background:#fbfcfe}.day-separator{color:#8995a5}.day-separator:before,.day-separator:after{background:#e2e7ee}.message-author{color:#8290a3}.message-author small{color:#6582ad;background:#edf3fb}.bubble{border-color:#e0e6ee;background:#fff;box-shadow:0 3px 9px #2f445b06}.own .bubble{background:#e5edf8;border-color:#d3e0ef;color:#3e587b}.message-time{color:#8b96a5}.message-time .read{color:#4e78b2}
.composer{border-color:#e1e6ee}.toolbar-left button,.composer-role{color:#7186a1}.toolbar-left button:hover{color:#4a6fae}.composer>textarea::placeholder{color:#9aa6b5}.composer-bottom>span{color:#8c98a8}.send-button,.primary{background:#4e70ad}.send-button:hover:not(:disabled),.primary:hover:not(:disabled){background:#3f6098}.send-button:disabled{background:#a8b9d2}
.workspace-footer{color:#8d99a8}.profile-drawer{border-color:#dce4ed;box-shadow:0 15px 40px #2f435b20}.persona-note{background:#f2f6fb}.persona-note strong{color:#607da7}.modal{border-color:#dce4ed;box-shadow:0 25px 80px #26384e28}.modal::backdrop{background:#26384e55}.modal h2{color:#33465f}.modal>.muted{color:#7f8da0}.modal input,.modal textarea,.modal select{border-color:#dbe3ec;color:#405671}
.login-story{background:radial-gradient(circle at 50% 35%,#e5edf8,#f3f6fa 68%)}.story-body h1{color:#344f76}.story-body>p{color:#71839b}.story-card{border-color:#dce6f1;background:#ffffffcc;box-shadow:0 10px 30px #38527112}.story-card strong{color:#5473a1}.story-card p{color:#8795a6}.story-tags{color:#7189aa}.login-form h2{color:#33465e}.login-form>.muted{color:#8290a1}.login-form input{border-color:#dce4ed}.login-submit{background:#4e70ad}.demo-box{border-color:#dfe7ef;background:#f7f9fc}
.avatar.violet{background:linear-gradient(150deg,#dce7f5,#b9cce5);color:#466586}.avatar.rose{background:linear-gradient(150deg,#e4eaf2,#c3d1e2);color:#506c8b}.avatar.green{background:linear-gradient(150deg,#d9eee8,#b9d9ce);color:#3d7867}.avatar.amber{background:linear-gradient(150deg,#e9e8df,#d2d2bd);color:#697052}.avatar.blue{background:linear-gradient(150deg,#dce7f5,#b9cce5);color:#466586}
.brand-icon{background:linear-gradient(145deg,#6687c2,#3d5f9f)}
.brand,.brand-en,.eyebrow{color:#60758f}.story-body>.eyebrow,.login-form>.eyebrow{color:#8294aa}
.text-button,.sessions-heading>span{color:#5b7bab}.secondary{border-color:#dbe3ec}.secondary:hover{background:#f0f5fb}
.rail-bottom .avatar{border-color:#405570}.rail-bottom .version{color:#899bb3}
.role-edit{color:#8196af}.role-edit:hover{background:#e5edf7;color:#4e70ad}.role-tip,.panel-footnote{color:#8995a6}
.add-role-wrap{background:#f8fafc}.add-role:hover{background:#eaf1fa}.start-chat{background:#e8eff8;color:#4d709f}
.message-search-bar{background:#f5f8fc}.message-search-bar svg,.search-result-label{color:#748ba8}
.profile-drawer p,.profile-drawer label,.modal form>label{color:#718399}
.attachment-chip{background:#edf3fa;border-color:#d6e2ef;color:#58769f}.emoji-picker{border-color:#dde5ef;box-shadow:0 6px 25px #2d43581a}
.dashboard-stats>div{background:#f1f5fa;border-color:#e0e7f0}.dashboard-stats strong{color:#5879aa}.dashboard-stats span,.log-list span,.log-list time{color:#7d8ea3}
.demo-box strong{color:#5c789d}.demo-box p,.demo-box small,.login-story>small{color:#8798ac}.story-card .sparkle{color:#9fb6d5}
.chat-empty{background:#fbfcfe}.empty-art{background:#eaf1fa;color:#7f9ac1}.empty-art>span+span{color:#a7bddb}.chat-empty p,.empty-small,.message-hint{color:#8595aa}
.composer textarea:disabled{background:#f7f9fc}.toast{background:#2c3c52}
button:focus-visible,a:focus-visible{outline-color:#7e9eca}input:focus,textarea:focus{border-color:#8ba8cc;box-shadow:0 0 0 3px #4e70ad12}
::-webkit-scrollbar-thumb{background:#d7e0eb}
:root{--purple:#31568c;--ink:#1f2e43;--muted:#59697e;--line:#d5deea;--green:#24775e}
body,.app-shell{color:var(--ink)}
.title-group h1,.operator-card strong,.sessions-heading h2,.section-heading h2,.role-title h3,.chat-heading h2,.login-form h2{color:#1f3048;font-weight:700}
.conversation-copy strong{color:#263b55;font-weight:600}
.top-subtitle,.today,.operator-card>div>span,.app-selector span,.stats span,.filter-row button,.session-tabs button,.conversation-copy p,.conversation-copy time,.role-select>p,.role-meta,.role-tip,.panel-footnote,.chat-heading p,.user-summary,.user-summary b,.day-separator,.workspace-footer{color:#586a80}
.role-select>p,.conversation-copy p,.user-summary,.role-meta{font-weight:500}
.message-author,.message-time,.composer-role,.composer-bottom>span{color:#5b6e87;font-weight:500}
.bubble{color:#27384e;border-color:#d4deea;font-weight:500}
.own .bubble{background:#dce7f6;border-color:#bfd0e7;color:#294669}
.message-time .read,.message-author small{color:#365f95}
.stats strong,.stats strong.purple-text{color:#294c7b}
.identity,.operator-badge,.section-heading h2 span,.text-button,.sessions-heading>span,.role-edit,.add-role,.start-chat{color:#365c8b}
.toolbar-left button,.icon-button,.message-search-bar svg{color:#536b89}
.search-box{color:#657891;border-color:#d6dfeb}
.search-box input,input,textarea,select,.modal input,.modal textarea,.modal select{color:#293d56}
.search-box input::placeholder,input::placeholder,textarea::placeholder,.composer>textarea::placeholder{color:#697b92;opacity:1}
.refresh-button,.secondary{color:#405873;border-color:#cbd7e5}
.role-card{border-color:#d6dfeb}.role-card.selected{background:#edf3fc;border-color:#7c9bc5;box-shadow:inset 3px 0 #42689e,0 4px 14px #31445a0d}
.conversation-item.selected,.filter-row .selected{background:#e1ebf8;color:#31598e}
.session-tabs button.selected,.mobile-tabs .selected{color:#31598e}
.unread-badge,.selected-check{background:#42669c;color:#fff}
.primary,.send-button,.login-submit{background:#345b92;color:#fff;font-weight:600}
.primary:hover:not(:disabled),.send-button:hover:not(:disabled){background:#294b7b}
.send-button:disabled{background:#cad5e5;color:#53667f;opacity:1}
.connection,.role-state,.status-pill.active,.green-text{color:#276f56}
.profile-drawer p,.profile-drawer label,.persona-note p,.persona-note strong,.modal>.muted,.modal form>label,.dashboard-stats span,.log-list span,.log-list time,.search-result-label,.chat-empty p,.empty-small,.message-hint{color:#596c84}
.dashboard-stats strong,.modal h2,.story-body h1,.story-card strong{color:#2e4b70}
.story-body>p,.story-card p,.story-tags,.login-form>.muted,.demo-box p,.demo-box small,.login-story>small,.brand-en,.eyebrow,.section-heading .eyebrow{color:#60728a}
.demo-box strong,.brand{color:#36577f}.rail-button{color:#c3cede}.rail-bottom .version{color:#afbed1}
.rail-button.active{background:#354d6a;color:#fff}.rail{background:#1d293a}
@media(max-width:760px){.roles-panel{background:#f8fafc}.mobile-tabs button{color:#566b85}.mobile-tabs .selected{color:#31598e;border-color:#42699e;font-weight:600}}
