/* Warm paper, charcoal controls, and the blue of a Messages conversation. */
:root{--ink:#242526;--muted:#686b70;--purple:#303135;--purple-dark:#202124;--line:#dedfe1;--soft:#f4f5f6;--green:#237749;background:#f8f7f4;color:#242526}
body{background:#f8f7f4}
input,textarea,select{accent-color:#0673d9}
.button,.button.green,.agent-setup .button,body:has(.muse-groupchat) .topbar .button,.gc-primary{background:linear-gradient(180deg,#424347,#292a2d);border-color:#454649;color:#fff;box-shadow:inset 0 1px 0 #ffffff1a,0 2px 3px #20212415}
.button:hover,.button.green:hover,.agent-setup .button:hover,body:has(.muse-groupchat) .topbar .button:hover,.gc-primary:hover{background:#202124;border-color:#303135}
.button.secondary,.agent-setup .button.secondary{background:linear-gradient(#fff,#f7f7f5);border-color:#dedfe1;color:#3d4147;box-shadow:0 2px 2px #20212407}
.button.secondary:hover,.agent-setup .button.secondary:hover{background:#eef2f6;border-color:#cdd5dd}
.nav-item.active,body:has(.muse-groupchat) .nav-item.active{background:#eaf2f9;color:#215782;border-color:#d9e5ef}
.nav-item .tag,body:has(.muse-groupchat) .nav-item .tag,.tag.green{color:#27638c;background:#e7f1fa}
.page-head h1,.dialog-head h2,.gc-page-head h1,.gc-welcome h2,.setup-heading h1{color:#242526}
.dialog-tabs button.active,.wizard-template.selected{background:#edf4fa;border-color:#a6c2da;color:#2b536e}
.wizard-template.selected{box-shadow:0 0 0 1px #a6c2da}
.notice{background:#f2f5f8;border-color:#e0e7ed;color:#5c6770}
.notice.warning{background:#fff7e9;border-color:#f3e4c7;color:#866d39}
.positive{color:#237749}
.toast{background:#2c2e32}
.equity-chart{color:#0673d9}
.bubble.user{background:#e8f2ff;color:#255381}
.setup-progress .complete>span,.setup-badge,.setup-live{background:#eaf3fb;color:#26648f}
.setup-consent input{accent-color:#0673d9}
.setup-agent-card{background:linear-gradient(155deg,#fff,#edf3f8);border-color:#dde5ec}
.setup-back,.setup-help,.setup-next p,.setup-card header p,.agent-setup .field>small{color:#686b70}

body:has(.muse-trading-home){background:#f8f7f4;color:#242526;--purple:#303135;--purple-dark:#202124;--line:#dedfe1}
.muse-trading-home{--th-ink:#242526;--th-muted:#686b70;--th-line:#dedfe1;--th-accent:#315e7e;--th-bg:#f8f7f4;background:radial-gradient(ellipse 750px 420px at 85% 370px,#c7dfedb5,transparent 75%),radial-gradient(ellipse 680px 330px at 16% 510px,#dde8f0a6,transparent 78%),linear-gradient(180deg,#fcfbf8 0,#eef3f7 660px,#f8f7f4 1020px);color:#242526}
.th-nav{border-bottom-color:#2c30330c;background:transparent}
.th-brand,.th-footer .th-brand{color:#202124!important}
.th-brand>span,.th-footer .th-brand>span{color:#50555a}
.th-nav nav,.th-signin{color:#3e4248}
.th-nav nav a:hover{color:#111}
.th-social-link{display:inline-flex;align-items:center;justify-content:center;width:32px;height:40px;border-radius:8px;color:#282a2d!important;flex-shrink:0}
.th-social-link svg{width:17px;height:17px}
.th-social-link:hover{background:#20212408}
.th-hero h1,.th-desk-heading h1,.th-hero h1 em{color:#242526}
.th-eyebrow,.th-hero-copy>p:not(.th-hero-detail),.th-group-hero .th-hero-copy>p.th-hero-note,.th-group-hero .th-hero-copy>p.th-connection-note{color:#5e646b}
.th-eyebrow>span{background:#83a8c1;box-shadow:0 0 0 3px #e4edf4}
.th-button-dark{background:linear-gradient(180deg,#424347,#292a2d);border-color:#454649;box-shadow:inset 0 1px 0 #ffffff1a,0 2px 3px #20212421}
.th-button-dark:hover{background:#202124;border-color:#303135}
.th-button-light{background:linear-gradient(#fff,#f7f7f4);color:#3d4147!important;border-color:#dedfe1;box-shadow:0 2px 2px #2021240c}
.th-button-light:hover{background:#eef2f6;border-color:#cdd5dd}
.th-hero-crew{border-color:#68758021}
.th-hero-crew strong{color:#41464c}
.th-hero-crew>div>span,.th-phone-preview-label,.th-phone-hero .demo-bridge-note{color:#656e76}
.th-crew-picker .avatar{border-color:#edf2f5}
.th-phone-hero:before{background:radial-gradient(ellipse,#b1d3e652,transparent 69%)}
.th-phone-hero .demo-scenes{background:#ffffff8c;border-color:#dce4ea;box-shadow:0 3px 12px #48627706}
.demo-scenes button[aria-pressed=true]{color:#284e6b;background:#fff}
.demo-scenes button,.demo-playback,.demo-playback button,.demo-scene-count,.demo-bridge-note{color:#65717b}
.demo-scene-icon{color:#6d8ca4}
.demo-indicator{background:#88a7be}
.phone-mic{background:#0673d9}
.phone-back{color:#0673d9}
.phone-message.outgoing p,.animated-phone-scene .phone-message.outgoing p{background:#0673d9}
.th-trade-bar,.th-surface{background:#ffffffc9;border-color:#dfe4e8}
.th-trade-bar-label,.th-trade-bar-link,.th-text-action,.th-section-head>a{color:#355b76!important}
.th-token-strip,.th-first-agent{background:linear-gradient(135deg,#f7fafc,#eaf1f7);border-color:#dde5ec}
.th-token-strip h2,.th-section-head h2,.th-section-head>div>h2,.th-steps h2{color:#31363b}
.th-token-strip-icon{background:#e4edf5;color:#688aa3}
.th-positive{color:#237749!important}

body:has(.muse-groupchat){background:#f8f7f4;color:#242526;--purple:#303135;--purple-dark:#202124;--line:#dedfe1;--soft:#f4f5f6}
.muse-groupchat{--gc-ink:#242526;--gc-muted:#686b70;--gc-line:#e1e4e6;--gc-accent:#326386}
.gc-room-icon,.gc-connection-icon,.gc-welcome-spark{background:#eaf2f9;color:#6286a2}
.gc-chat-state,.gc-message-author,.gc-message-author time,.gc-message-delivery,.gc-eyebrow,.gc-page-head p,.gc-welcome p,.gc-room-notice,.gc-card p,.gc-details-note{color:#686b70}
.gc-chat-state>span,.gc-connected>span{background:#4e8cbd}
.gc-muse-kind{color:#426d8d;background:#edf4fa;border-color:#dce9f3}
.gc-message-bubble{background:#f0f0f2;color:#31343a}
.gc-outgoing .gc-message-bubble{background:#0673d9;color:#fff}
.gc-send{background:#0673d9;color:#fff}
.gc-send:hover{background:#075fae}
.gc-seat{background:linear-gradient(145deg,#fafcfd,#edf3f8);border-color:#dfe6ec}
.gc-reply-toggle input,.gc-consent input{accent-color:#0673d9}
.gc-quiet{background:#edf3f8;border-color:#dce6ee;color:#416680}
.muse-groupchat button:focus-visible,.muse-groupchat a:focus-visible,.muse-groupchat textarea:focus-visible,.muse-groupchat select:focus-visible,.muse-groupchat input:focus-visible,.gc-messages:focus-visible,.muse-trading-home button:focus-visible,.muse-trading-home a:focus-visible{outline:3px solid #87b3d8;outline-offset:3px}
@media(min-width:1051px){.th-group-hero h1{font-size:clamp(52px,4.4vw,60px);max-width:none}}
@media(max-width:620px){.th-nav-actions{gap:12px}.th-social-link{width:28px;height:34px}.th-social-link svg{width:16px;height:16px}}
