/* Client Chat configuration studio — continuation kept separate for safe delivery. */
.ch-auto-detect span{display:block;font-size:7px;color:#4a7a68}.ch-auto-detect em{margin-left:auto;font-style:normal;font-size:6px;font-weight:900;color:#0b9f69}
.ch-toggle-row{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:7.5px;color:#526079}.ch-toggle-row i{position:relative;width:26px;height:14px;border-radius:999px;background:#cfd6e4}.ch-toggle-row i:after{content:"";position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:#fff}.ch-toggle-row i.on{background:#6254eb}.ch-toggle-row i.on:after{left:14px}
.ch-step-line{display:flex;align-items:center;gap:4px}.ch-step-line b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:#ecebff;color:#5346dc;font-size:7px}.ch-step-line i{height:1px;flex:1;background:linear-gradient(90deg,#6d5ff1,#18b6cf)}.ch-setting-card p{font-size:8px;line-height:1.45;color:#68758b;margin:10px 0 0}
.ch-provider-row{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:7px}.ch-provider-row b{font-size:7px;width:45px;color:#29364e}.ch-provider-row span{font-size:6.5px;padding:4px 5px;border-radius:6px;background:#eff3f9;color:#647188}
.ch-control-preview{display:flex;flex-direction:column;margin:17px 17px 17px 0;border-radius:23px;background:linear-gradient(180deg,#fafbff,#eef2fb);border:1px solid #d8dfed;box-shadow:0 25px 60px -40px #23305a;overflow:hidden}.ch-control-preview>header{display:flex;align-items:center;gap:9px;padding:14px;background:linear-gradient(135deg,#5b52ec,#9451ef);color:#fff}.ch-preview-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:11px;background:rgba(255,255,255,.18);font-weight:900}.ch-control-preview header b{display:block;font-size:10px}.ch-control-preview header small{display:block;font-size:7px;color:#e5e2ff}.ch-control-preview header small i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#27e0a4}.ch-control-preview header button{margin-left:auto;border:0;background:transparent;color:#fff}
.ch-preview-chat{display:flex;flex:1;flex-direction:column;gap:10px;padding:17px}.ch-preview-chat>div{padding:10px 11px;border-radius:14px;font-size:8.5px;line-height:1.45}.ch-preview-chat .ai{align-self:flex-start;max-width:85%;background:#fff;border-bottom-left-radius:4px}.ch-preview-chat .visitor{align-self:flex-end;max-width:82%;background:linear-gradient(135deg,#5e52eb,#8a50e8);color:#fff;border-bottom-right-radius:4px}.ch-preview-work{display:flex;align-items:center;gap:6px;color:#66738b;padding:5px!important}.ch-preview-work i{width:8px;height:8px;border:2px solid #d2daf0;border-top-color:#6358ea;border-radius:50%;animation:chSpin 1s linear infinite}.ch-preview-chat .reveal{animation:chMessageAppear 9s ease-in-out infinite}.ch-preview-help{display:flex;justify-content:space-between;gap:5px;padding:9px 12px;border-top:1px solid #dfe4ef;font-size:7px;color:#53617a}.ch-preview-help>*{padding:5px 6px;border-radius:7px;background:#fff}.ch-control-preview>footer{display:flex;align-items:center;gap:6px;padding:10px;background:#fff}.ch-control-preview>footer span{flex:1;color:#8a96aa;font-size:8px}.ch-control-preview>footer button{width:28px;height:28px;border:0;border-radius:10px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff}
.ch-control-caps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.ch-control-caps article{position:relative;padding:18px;border-radius:19px;border:1px solid rgba(92,99,194,.14);background:rgba(255,255,255,.65);backdrop-filter:blur(15px);transition:.25s ease}.ch-control-caps article:hover{transform:translateY(-4px);border-color:rgba(92,83,221,.34)}.ch-control-caps span{font-size:9px;font-weight:900;color:#6255e5}.ch-control-caps b{display:block;font-size:13px;color:#10192d;margin:7px 0 5px}.ch-control-caps p{font-size:10.5px;line-height:1.5;color:#657188;margin:0}

/* Complete dark interiors — the surrounding sections were dark while these
   product scenes still rendered their light application surfaces. */
html[data-theme="dark"] .ch-control-studio{filter:none;background:linear-gradient(145deg,rgba(10,20,43,.97),rgba(12,20,44,.94));border-color:rgba(126,151,226,.22);box-shadow:0 48px 110px -55px #000,inset 0 1px 0 rgba(255,255,255,.05)}
html[data-theme="dark"] .ch-control-rail{background:rgba(8,17,37,.88);border-color:rgba(121,145,211,.18)}
html[data-theme="dark"] .ch-control-rail header b{color:#f1f5ff}html[data-theme="dark"] .ch-control-rail header small,html[data-theme="dark"] .ch-control-rail footer{color:#8999bc}
html[data-theme="dark"] .ch-control-rail nav button{color:#9aa9c8}html[data-theme="dark"] .ch-control-rail nav button:hover,html[data-theme="dark"] .ch-control-rail nav button.active{color:#d9d5ff;background:linear-gradient(135deg,rgba(79,70,229,.28),rgba(124,58,237,.18));border-color:rgba(139,124,255,.45)}
html[data-theme="dark"] .ch-control-rail nav button i{background:#152441;color:#9db3de}html[data-theme="dark"] .ch-control-rail nav button em{background:#192745;color:#aebddd}html[data-theme="dark"] .ch-control-rail footer{border-color:rgba(121,145,211,.16)}
html[data-theme="dark"] .ch-control-board{background:radial-gradient(circle at 65% 30%,rgba(37,99,235,.08),transparent 47%)}html[data-theme="dark"] .ch-control-top{border-color:rgba(121,145,211,.18)}html[data-theme="dark"] .ch-control-top span{color:#8494b5}html[data-theme="dark"] .ch-control-top span.active{color:#c8c4ff;background:rgba(99,82,238,.2)}
html[data-theme="dark"] .ch-setting-card{background:linear-gradient(150deg,rgba(20,34,64,.92),rgba(13,24,48,.9));border-color:rgba(124,150,220,.2);box-shadow:0 18px 38px -30px #000}html[data-theme="dark"] .ch-setting-card:hover{border-color:rgba(142,129,255,.5);box-shadow:0 28px 50px -28px #020617}html[data-theme="dark"] .ch-setting-card>small{color:#a99fff}html[data-theme="dark"] .ch-setting-card>label:not(.ch-toggle-row),html[data-theme="dark"] .ch-setting-card p,html[data-theme="dark"] .ch-toggle-row{color:#91a1bf}html[data-theme="dark"] .ch-setting-card>label>span{color:#e1e8f7}
html[data-theme="dark"] .ch-auto-detect{background:rgba(5,95,72,.2);border-color:rgba(52,211,153,.32)}html[data-theme="dark"] .ch-auto-detect b{color:#c9f7e8}html[data-theme="dark"] .ch-auto-detect span{color:#78bba3}html[data-theme="dark"] .ch-step-line b{background:rgba(99,82,238,.2);color:#c1bcff}html[data-theme="dark"] .ch-provider-row b{color:#c4cee2}html[data-theme="dark"] .ch-provider-row span{background:#172744;color:#9dacc8}
html[data-theme="dark"] .ch-control-preview{background:linear-gradient(180deg,#111f3c,#0d1931);border-color:rgba(126,151,218,.2);box-shadow:0 28px 65px -38px #000}html[data-theme="dark"] .ch-preview-chat .ai{background:#172744;color:#e6edfb}html[data-theme="dark"] .ch-preview-work{color:#96a5c2}html[data-theme="dark"] .ch-preview-help{border-color:rgba(123,148,211,.16);color:#aab7d0}html[data-theme="dark"] .ch-preview-help>*{background:#172541}html[data-theme="dark"] .ch-control-preview>footer{background:#0b1730;border-top:1px solid rgba(123,148,211,.16)}html[data-theme="dark"] .ch-control-preview>footer span{color:#8797b6}

html[data-theme="dark"] .ch-omni-console{background:#0d1832;border-color:rgba(126,151,226,.24);box-shadow:0 50px 120px -50px #000,inset 0 1px 0 rgba(255,255,255,.06)}
html[data-theme="dark"] .ch-inbox-subbar{background:#0c1831;border-color:rgba(125,149,215,.18);color:#e8eefb}html[data-theme="dark"] .ch-inbox-subbar>span{background:rgba(99,82,238,.18);border-color:rgba(152,136,255,.4);color:#beb7ff}
html[data-theme="dark"] .ch-omni-nav{background:#0b1630;border-color:rgba(125,149,215,.18)}html[data-theme="dark"] .ch-inbox-tools{color:#9caccc}html[data-theme="dark"] .ch-inbox-search{background:#111f3c;border-color:rgba(125,149,215,.2);color:#8192b2}html[data-theme="dark"] .ch-inbox-filters>*{border-color:rgba(125,149,215,.2);color:#96a5c1}html[data-theme="dark"] .ch-online{color:#91a2c1}
html[data-theme="dark"] .ch-conversation-list article{background:#101d38;border-color:rgba(125,149,215,.17);box-shadow:0 8px 16px -16px #000}html[data-theme="dark"] .ch-conversation-list article.active{background:linear-gradient(135deg,rgba(79,70,229,.24),rgba(124,58,237,.13));border-color:rgba(157,139,255,.55);box-shadow:inset 3px 0 #8b6cff}html[data-theme="dark"] .ch-conversation-list b{color:#edf3ff}html[data-theme="dark"] .ch-conversation-list small{color:#91a1c0}html[data-theme="dark"] .ch-conversation-list em,html[data-theme="dark"] .ch-conversation-list time{color:#8292b0}
html[data-theme="dark"] .ch-omni-thread{background:#0d1932}html[data-theme="dark"] .ch-omni-thread>header{background:#101d38;border-color:rgba(125,149,215,.18)}html[data-theme="dark"] .ch-omni-thread header b{color:#eef3ff}html[data-theme="dark"] .ch-omni-thread header small{color:#91a1bd}html[data-theme="dark"] .ch-omni-thread header button{background:#172541;border-color:rgba(130,155,220,.22);color:#dce6f8}
html[data-theme="dark"] .ch-translate-bar{background:rgba(7,77,115,.25);border-color:rgba(56,189,248,.19);color:#8ca9c6}html[data-theme="dark"] .ch-translate-bar>span{background:#152948;color:#73c7ff}html[data-theme="dark"] .ch-translate-bar b{color:#7dd3fc}
html[data-theme="dark"] .ch-msg{background:#172541;color:#e3eaf8;box-shadow:0 12px 28px -20px #000}html[data-theme="dark"] .ch-msg small{color:#91a1c0}html[data-theme="dark"] .ch-msg time{color:#8090ae}html[data-theme="dark"] .ch-msg.incoming{background:linear-gradient(135deg,rgba(99,82,238,.29),rgba(124,58,237,.22))}html[data-theme="dark"] .ch-msg.translated{background:#10243e;border-color:#388bd4}html[data-theme="dark"] .ch-agent-thinking{background:#14233f;color:#98a8c5}
html[data-theme="dark"] .ch-inbox-actions,html[data-theme="dark"] .ch-omni-compose{background:#0c1831;border-color:rgba(125,149,215,.18)}html[data-theme="dark"] .ch-inbox-actions span{background:#14223d;border-color:rgba(125,149,215,.19);color:#aab7cf}html[data-theme="dark"] .ch-omni-compose button{background:#15243f;border-color:rgba(125,149,215,.2);color:#d7e1f3}html[data-theme="dark"] .ch-omni-compose span{background:#111f3a;border-color:rgba(125,149,215,.2);color:#8394b4}
html[data-theme="dark"] .ch-omni-context{background:#0b1630;border-color:rgba(125,149,215,.18)}html[data-theme="dark"] .ch-context-tabs>*{border-color:rgba(125,149,215,.2);color:#9cabca}html[data-theme="dark"] .ch-context-tabs b{background:rgba(99,82,238,.2);border-color:rgba(152,136,255,.45);color:#dedaff}html[data-theme="dark"] .ch-context-tabs em{background:#27355d}html[data-theme="dark"] .ch-context-head{color:#8191af}html[data-theme="dark"] .ch-omni-context dl{background:#101d38;border-color:rgba(125,149,215,.19)}html[data-theme="dark"] .ch-omni-context dl>div{border-color:rgba(125,149,215,.15)}html[data-theme="dark"] .ch-omni-context dt{color:#8192b1}html[data-theme="dark"] .ch-omni-context dd{color:#e1e9f8}html[data-theme="dark"] .ch-context-tags span{background:#162541;color:#9dadca}
html[data-theme="dark"] .ch-whisper-peek{background:#0d1932;border-color:rgba(132,156,222,.24);box-shadow:0 30px 75px -28px #000;color:#e6edf9}html[data-theme="dark"] .ch-whisper-peek>header{border-color:rgba(125,149,215,.17)}html[data-theme="dark"] .ch-whisper-peek>header span{color:#91a1c0}html[data-theme="dark"] .ch-whisper-peek aside{background:#0a152d}html[data-theme="dark"] .ch-whisper-peek aside b{background:rgba(99,82,238,.25);color:#c6c0ff}html[data-theme="dark"] .ch-whisper-peek main em,html[data-theme="dark"] .ch-whisper-peek main button,html[data-theme="dark"] .ch-whisper-peek footer{background:#13223d;border-color:rgba(125,149,215,.2);color:#aebbd2}html[data-theme="dark"] .ch-whisper-peek main p{color:#9aa9c5}
@media(max-width:1100px){.ch-omni-console{grid-template-columns:205px minmax(0,1fr);grid-template-rows:50px 40px minmax(430px,1fr)}.ch-omni-context{display:none}.ch-omni-thread{grid-column:2}.ch-whisper-peek{right:3%}.ch-control-studio{grid-template-columns:185px minmax(0,1fr)}.ch-control-preview{display:none}.ch-control-caps{grid-template-columns:repeat(2,1fr)}.ch-runtime-stage{padding:30px;gap:18px}.ch-runtime-core{display:none}.ch-runtime-card:nth-of-type(n){padding:22px}}
@media(max-width:820px){.ch-cont-grid,.ch-voice-grid{grid-template-columns:1fr}.ch-live-demo{transform:none}.ch-omni-console{grid-template-columns:minmax(0,1fr);grid-template-rows:48px 38px 430px}.ch-omni-nav{display:none}.ch-omni-thread{grid-column:1;grid-row:3}.ch-whisper-peek{left:5%;right:5%}.ch-omni-facts{grid-template-columns:1fr}.ch-control-studio{grid-template-columns:1fr}.ch-control-rail{display:none}.ch-setting-grid{grid-template-columns:1fr 1fr}.ch-runtime-stage{grid-template-columns:1fr}.ch-runtime-card{min-height:0}.ch-control-caps{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ch-cont-cards article{grid-template-columns:38px 1fr;padding:14px}.ch-cont-cards article>span{width:36px;height:36px}.ch-setting-grid,.ch-control-caps{grid-template-columns:1fr}.ch-control-board{padding:12px}.ch-control-top>b{display:none}.ch-voice-roadmap article{grid-template-columns:60px 1fr;padding:14px}.ch-runtime-stage{padding:0}.ch-runtime-stage:before{display:none}.ch-runtime-card{border-radius:20px}.ch-whisper-peek{display:none}.ch-inbox-actions span:nth-child(n+4){display:none}.ch-omni-console{min-height:580px}.ch-omni-messages{padding:13px}.ch-msg{max-width:86%}}
