.cc-dialog{width:min(1000px,calc(100vw - 40px));height:min(760px,calc(100dvh - 48px));max-width:none;max-height:none;border:1px solid #34383a;border-radius:24px;padding:0;background:#141719;color:#f2f4f5;box-shadow:0 28px 100px #0009;overflow:hidden;font-family:inherit}.cc-dialog::backdrop{background:#0009;backdrop-filter:blur(8px)}.cc-shell{display:grid;grid-template-columns:300px 1fr;height:100%;min-height:0}.cc-character{position:relative;overflow:hidden;background:#24292b}.cc-character>img{height:100%;width:100%;object-fit:cover}.cc-character>div:last-child{position:absolute;bottom:0;inset-inline:0;padding:80px 24px 24px;background:linear-gradient(transparent,#101112)}.cc-character small,.cc-character p{font-size:12px;color:#bdc5c8}.cc-character h2{font-size:26px;margin:6px 0}.cc-avatar{display:grid;place-items:center;height:100%;font-size:80px;color:#d6fb78}.cc-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.cc-conversation header{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #2d3234}.cc-conversation header>div{flex:1;min-width:0}.cc-conversation strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-conversation header small{display:block;font-size:11px;color:#8f9ca2;margin-top:5px}.cc-conversation header button{background:transparent;color:#a8b4b9;border:1px solid #343b3f;border-radius:10px;min-height:44px;padding:8px 12px;cursor:pointer}.cc-conversation [data-close]{font-size:24px;min-width:44px}.cc-messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:24px;display:flex;flex-direction:column;gap:16px;min-height:0}.cc-message{padding:14px 18px;border-radius:18px;max-width:88%;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.cc-user{background:#d6fb78;color:#192210;align-self:flex-end;border-end-end-radius:4px}.cc-assistant{background:#232b2e;align-self:flex-start;border-end-start-radius:4px}.cc-empty{color:#89989f;text-align:center;margin:auto;font-size:14px}.cc-status{font-size:12px;color:#a8b5bb;padding:0 20px;min-height:18px;margin:0 0 6px}.cc-status .s-button{padding:4px 10px;min-height:32px}.cc-conversation form{padding:16px 20px 20px;border-top:1px solid #2d3234}.cc-conversation textarea{box-sizing:border-box;width:100%;resize:none;background:#202729;border:1px solid #384347;border-radius:14px;color:#fff;padding:14px;font:inherit;font-size:14px;max-height:130px}.cc-conversation form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.cc-conversation form small{color:#92a1a7;font-size:11px}.cc-dialog button:focus-visible,.cc-dialog a:focus-visible,.cc-dialog textarea:focus-visible{outline:2px solid #d6fb78;outline-offset:3px}.cc-dialog button:disabled{opacity:.5;cursor:default}@media(max-width:760px){.cc-dialog{width:100vw;height:100dvh;border-radius:0;border:0;margin:0}.cc-shell{grid-template-columns:1fr}.cc-character{display:none}.cc-conversation header{padding:14px;gap:8px}.cc-conversation header [data-clear]{font-size:11px;padding:8px}.cc-messages{padding:16px}.cc-conversation form{padding:12px 14px max(14px,env(safe-area-inset-bottom))}.cc-message{max-width:92%}.cc-conversation form small{max-width:60%}.cc-conversation header strong{max-width:170px}}
.cl-card-actions{flex-wrap:wrap}.cl-card-actions [data-cl-chat]{flex:1}.cl-card-actions [data-cl-use]{background:#171a1de6;color:#fff}.cl-card-actions [data-cl-chat],.cl-card-actions [data-cl-use]{min-height:44px}

.cc-dialog [hidden]{display:none!important}.cc-settings{flex:1;min-height:0;overflow-y:auto;padding:20px}.cc-settings h3{margin:0 0 18px}.cc-settings label{display:block;font-size:13px;color:#bdc5c8;margin-bottom:14px}.cc-settings input,.cc-settings select{box-sizing:border-box;width:100%;background:#202729;border:1px solid #384347;color:#fff;padding:12px;border-radius:10px;font:inherit;margin-top:6px;min-height:44px}.cc-settings textarea{margin-top:6px;resize:vertical}.cc-settings-actions{display:flex;gap:12px;justify-content:flex-end}.cc-settings-actions button{min-height:44px;border:1px solid #384347;border-radius:10px;padding:10px 16px;cursor:pointer;background:#202729;color:#fff}.cc-settings-actions .s-primary{background:#d6fb78;color:#192210}.cc-conversation header{flex-wrap:wrap}.cc-conversation header>div{flex-basis:180px}.cc-settings input:focus-visible,.cc-settings select:focus-visible{outline:2px solid #d6fb78;outline-offset:2px}@media(max-width:760px){.cc-conversation header>div{flex-basis:calc(100% - 60px);order:0}.cc-conversation [data-close]{order:1}.cc-conversation .cc-settings-button{order:2;font-size:12px}.cc-conversation [data-clear]{order:3}.cc-settings{padding:16px}}
.cc-conversation header,.cc-conversation>form,.cc-status{flex-shrink:0}.cc-conversation header{position:relative;z-index:1;background:#141719}

.cc-page{display:block;width:calc(100% - 48px);height:calc(100dvh - 120px);min-height:520px;max-width:1440px;margin:24px auto;border-radius:22px;box-shadow:none;position:relative}.cc-page .cc-shell{grid-template-columns:minmax(240px,32%) minmax(0,1fr)}.cc-page .cc-conversation{height:100%;overflow:hidden}.cc-references{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;max-height:130px;overflow-y:auto}.cc-references>small{width:100%}.cc-references button,.cc-quote{background:transparent;border:1px solid #3c474a;color:#bdc9ce;border-radius:12px;padding:8px 12px;cursor:pointer;font:inherit;font-size:12px}.cc-references button:hover,.cc-quote:hover{border-color:#d6fb78;color:#d6fb78}.cc-quote{display:block;margin-top:10px;padding:5px 10px;min-height:32px;font-size:11px}.cc-page .cc-status:empty{display:none}.cc-page .cc-conversation textarea{max-height:100px}.cc-page header [data-close]{order:-1}.cc-page .cc-message{line-height:1.65}@media(max-width:760px){.cc-page{width:100%;height:calc(100dvh - 82px);min-height:460px;margin:0;border-radius:0}.cc-page .cc-shell{grid-template-columns:1fr}.cc-page .cc-character{display:none}.cc-page header>div{flex-basis:calc(100% - 80px)}.cc-page .cc-references{max-height:115px}.cc-page .cc-conversation header strong{max-width:none}}@media(prefers-reduced-motion:no-preference){.cc-page{animation:cc-enter .18s ease-out}@keyframes cc-enter{from{opacity:.4}to{opacity:1}}}

.cc-page .cc-conversation>header{height:auto;min-height:0;position:static;width:auto;max-width:none;margin:0;padding:18px 20px;flex-shrink:0}.cc-page .cc-conversation>form textarea{height:80px;min-height:80px;max-height:100px}.cc-page .cc-conversation>form>.cc-references{justify-content:flex-start;align-items:flex-start;margin-top:0}.suite-shell[data-workspace-route="chat"]>#app{padding-bottom:16px}.cc-page .cc-conversation>header>div{flex-basis:120px}@media(max-width:760px){.cc-page{height:calc(100dvh - 150px);min-height:0}.cc-page .cc-conversation>header{padding:12px 14px}.cc-page .cc-conversation>header>div{flex-basis:calc(100% - 80px)}.cc-page .cc-conversation>form textarea{height:64px;min-height:64px}.cc-page .cc-references{max-height:112px}}

/* Conversation styling follows the supplied reference; the existing portrait stays on the left. */
.cc-page{--cc-bg:#130f19;--cc-panel:#241d2c;--cc-line:#342b3f;--cc-accent:#ad48f4;--cc-muted:#aaa0b6;border-color:#302a36}.cc-page .cc-conversation{background:var(--cc-bg)}.cc-page .cc-conversation>header{background:var(--cc-bg);border-color:var(--cc-line);padding:14px 20px;gap:10px}.cc-page .cc-conversation>header button{border-color:var(--cc-line);color:#c8bfd3;font-size:12px;min-height:38px;border-radius:12px}.cc-page .cc-conversation>header [data-close]{min-width:38px;font-size:20px}.cc-header-avatar{height:36px;width:36px;object-fit:cover;border-radius:50%;flex:none;order:-1}.cc-page header strong{font-size:14px}.cc-page header small{color:var(--cc-muted);font-size:11px}.cc-mode-bar{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:10px 20px;background:#19131f;border-bottom:1px solid #2a2232;flex-shrink:0;font-size:11px;color:#b0a4be}.cc-mode-bar>div{display:flex;gap:5px;padding:3px;background:#292231;border-radius:20px}.cc-mode-bar button{border:0;color:#aa9fb5;background:transparent;padding:6px 12px;border-radius:16px;font:inherit;cursor:pointer}.cc-mode-bar button[aria-pressed="true"]{background:#9541d8;color:white;box-shadow:0 2px 12px #9844df28}.cc-page .cc-messages{padding:24px 20px;gap:16px;background:var(--cc-bg)}.cc-page .cc-message{max-width:min(82%,480px);padding:14px 16px;font-size:13px;line-height:1.65;border-radius:18px}.cc-page .cc-assistant{background:#261f2e;border-end-start-radius:5px;color:#ede7f5}.cc-page .cc-assistant em{color:#df8dac;font-style:italic}.cc-page .cc-user{background:#7434a8;color:#fff;border-end-end-radius:5px}.cc-page .cc-quote{border-color:#493651;color:#b5a0c5;background:#34273e;font-size:10px;padding:4px 9px;min-height:26px;opacity:.8}.cc-page .cc-quote:hover{color:white;border-color:#ad48f4}.cc-page .cc-empty{display:flex;flex-direction:column;gap:12px;max-width:300px;color:var(--cc-muted);font-size:12px}.cc-page .cc-empty strong{font-size:23px;color:#f0e8fa}.cc-page .cc-status{background:var(--cc-bg);color:#b5a5c3}.cc-page .cc-conversation>form{background:#28212f;border:1px solid #3c3148;border-radius:16px;margin:0 14px 14px;padding:14px;flex-shrink:0}.cc-page .cc-conversation>form textarea{height:54px;min-height:54px;max-height:80px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:13px;color:#f6f0fb}.cc-page .cc-conversation>form textarea::placeholder{color:#9e90ac}.cc-page .cc-conversation>form textarea:focus-visible{outline:none}.cc-page .cc-conversation>form:focus-within{border-color:#9b59c6;box-shadow:0 0 0 2px #9b59c616}.cc-page .cc-conversation>form>div:not(.cc-references){display:grid;grid-template-columns:auto 1fr auto;gap:12px;margin-top:10px}.cc-page .cc-conversation>form small{font-size:10px;color:#a99ab8}.cc-page .cc-conversation>form>div>small{text-align:end}.cc-media-tools{display:flex;gap:6px;align-items:center}.cc-media-tools button{display:flex;gap:5px;align-items:center;padding:6px 10px;background:#45364f;border:1px solid #554360;border-radius:18px;color:#ece1f5;font:inherit;font-size:11px;cursor:pointer;min-height:32px}.cc-media-tools button:hover{background:#59416b}.cc-media-tools svg{width:14px;height:14px}.cc-page [data-send],.cc-page .cc-settings-actions .s-primary{background:#a344ed;color:#fff;border:0;box-shadow:0 3px 16px #982ae02b;min-height:36px;padding:8px 16px;font-size:12px;border-radius:11px}.cc-page .cc-conversation>form>.cc-references{display:flex;gap:6px;margin-bottom:12px;max-height:100px}.cc-page .cc-references button{border-color:#554062;background:#382b43;color:#d8c9e6;font-size:11px;padding:6px 10px}.cc-page .cc-references button:hover{color:#fff;border-color:#b275dc}.cc-page .cc-settings{background:#19131f}.cc-page .cc-settings textarea,.cc-page .cc-settings input,.cc-page .cc-settings select{background:#282030;border-color:#44334f}.cc-page button:focus-visible,.cc-page a:focus-visible,.cc-page input:focus-visible,.cc-page select:focus-visible{outline-color:#bc74f3}@media(max-width:760px){.cc-page .cc-conversation>header{padding:10px 14px;gap:8px}.cc-page .cc-conversation>header>div{flex-basis:calc(100% - 114px)}.cc-page .cc-conversation>header [data-close]{order:-2}.cc-header-avatar{order:-1}.cc-mode-bar{padding:8px 14px;gap:8px}.cc-mode-bar button{padding:6px 10px}.cc-page .cc-messages{padding:16px 14px}.cc-page .cc-message{max-width:90%}.cc-page .cc-conversation>form{margin:0 10px 10px;padding:12px}.cc-page .cc-conversation>form>div:not(.cc-references){grid-template-columns:1fr auto;gap:8px}.cc-page .cc-conversation>form>div>small{grid-column:1;grid-row:2;text-align:start;max-width:none}.cc-page [data-send]{grid-column:2;grid-row:1/3;align-self:end}.cc-page .cc-conversation>form>.cc-references{max-height:105px}.cc-page .cc-empty strong{font-size:20px}}

.cc-page .cc-conversation>form [data-send]{background:#a344ed;color:#fff}.cc-page .cc-conversation>form>.cc-references>small{text-align:start}.cc-page .cc-header-avatar{object-fit:cover;object-position:50% 12%;height:36px;width:36px;border-radius:50%}

.cc-page .cc-conversation>form [data-send],.cc-page .cc-settings .s-primary{background:#a344ed!important;color:#fff!important}

.cc-page .cc-conversation>form>div:not(.cc-references){grid-template-columns:1fr auto;align-items:center}.cc-send-actions{display:flex;align-items:center;gap:10px}.cc-send-cost{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:13px;font-weight:600;color:#d5fa79;direction:ltr}.cc-send-cost svg{width:15px;height:15px;flex:none}.cc-page .cc-send-actions [data-send]{grid-area:auto;align-self:center}

.cc-more{display:inline-flex;flex:none}.cc-page .cc-conversation>header [data-more]{display:grid;place-items:center;width:38px;min-width:38px;height:38px;padding:8px;border:0;background:transparent}.cc-more [data-more] svg{width:22px;height:22px;fill:currentColor}.cc-more-menu{position:fixed;inset:auto;margin:0;width:224px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:8px;background:#302837;color:#f4edf9;border:1px solid #4b3d56;border-radius:16px;box-shadow:0 12px 40px #0006}.cc-more-menu::backdrop{background:transparent}.cc-more-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 12px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:14px;text-align:start;cursor:pointer}.cc-more-menu button:hover,.cc-more-menu button:focus-visible{background:#44364f}.cc-more-menu button:disabled{opacity:.45;cursor:default}.cc-more-menu button svg{width:22px;height:22px;flex:none}

.cc-typing{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:4px 0;color:#aa56f1;flex-shrink:0}.cc-typing-bubble{display:flex;align-items:center;gap:8px;padding:19px 21px;background:linear-gradient(145deg,#35214d,#211330);border-radius:28px 28px 28px 5px;box-shadow:0 0 20px #943edd16}.cc-typing-bubble i{display:block;width:9px;height:9px;border-radius:50%;background:#a34fee;animation:cc-typing-dot 1.2s ease-in-out infinite}.cc-typing-bubble i:nth-child(2){animation-delay:.16s}.cc-typing-bubble i:nth-child(3){animation-delay:.32s}.cc-typing-label{font-size:13px;font-style:italic}.cc-continue[hidden]{display:none!important}@keyframes cc-typing-dot{0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-5px);opacity:1}}@media(prefers-reduced-motion:reduce){.cc-typing-bubble i{animation:none;opacity:.8}}

.cc-gallery-frame{position:absolute;inset:0;width:100%;height:100%;background:#17131d;overflow:hidden}.cc-gallery-media{display:block;height:100%;width:100%;object-fit:contain;background:#17131d}.cc-gallery-media:is(img){object-fit:contain}.cc-gallery-media.cc-gallery-original{object-fit:cover}.cc-gallery-controls{position:absolute;inset-inline:14px;top:14px;display:flex;align-items:center;justify-content:center;gap:8px;padding:5px;background:#17111dbb;backdrop-filter:blur(10px);border:1px solid #ffffff24;border-radius:30px;z-index:2;width:max-content;max-width:calc(100% - 28px);margin:auto;color:white}.cc-gallery-controls button{display:grid;place-items:center;min-width:36px;min-height:36px;border:0;background:transparent;color:white;cursor:pointer;border-radius:50%;font-size:23px}.cc-gallery-controls button:hover{background:#ffffff20}.cc-gallery-controls [data-gallery-play]{font-size:16px}.cc-gallery-count{font-size:12px;min-width:40px;text-align:center;font-variant-numeric:tabular-nums}.cc-character>div:last-child{pointer-events:none}.cc-gallery-frame:has(video)~div:last-child{padding-bottom:64px}.cc-gallery-unavailable:after{content:'!';position:absolute;inset:40%;display:grid;place-items:center;color:#c3b5cf;font-size:32px}@media(prefers-reduced-motion:no-preference){.cc-gallery-media{animation:cc-gallery-in .3s ease-out}@keyframes cc-gallery-in{from{opacity:.4}to{opacity:1}}}@media(max-width:760px){.cc-has-gallery .cc-shell{grid-template-rows:180px minmax(0,1fr)}.cc-has-gallery .cc-character{display:block;height:180px}.cc-has-gallery .cc-character>div:last-child{display:none}.cc-has-gallery .cc-gallery-media{object-fit:contain}.cc-has-gallery .cc-gallery-controls{top:8px;inset-inline:auto 8px;margin:0;gap:2px;padding:2px}.cc-has-gallery .cc-gallery-controls button{min-height:30px;min-width:30px}}

.cc-page .cc-assistant{position:relative;padding-inline-end:62px}.cc-voice-generate{position:absolute;inset-inline-end:8px;top:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:44px;min-height:44px;border:1px solid #574565;border-radius:12px;background:#413449;color:#efdbfc;font:inherit;font-size:10px;cursor:pointer}.cc-voice-generate svg{width:19px;height:19px}.cc-voice-generate span{color:#d5fa79;white-space:nowrap}.cc-voice-generate:hover{background:#634276}.cc-voice-output{margin-top:12px;white-space:normal;font-size:12px;color:#bea8cd;max-width:100%;width:min(320px,100%)}.cc-voice-player{display:block;width:100%;min-width:170px;height:44px;color-scheme:dark}.cc-voice-settings{margin:20px 0;padding:16px;border:1px solid #493451;border-radius:14px;background:#221a2b}.cc-voice-settings h4{margin:0 0 10px;color:#e9d5f8}.cc-voice-settings details{margin-top:14px}.cc-voice-settings summary{cursor:pointer;min-height:32px;color:#d6aff4}.cc-voice-settings p{font-size:12px;line-height:1.6;color:#bba9c7;white-space:normal}.cc-voice-settings input[type=file]{padding:10px;max-width:100%;font-size:12px}.cc-voice-settings .cc-voice-consent{display:flex;gap:10px;align-items:flex-start;line-height:1.6;margin-top:14px}.cc-voice-settings .cc-voice-consent input{width:18px;min-height:18px;height:18px;flex:none;margin-top:2px;accent-color:#a344ed}.cc-voice-settings [data-voice-clone]{min-height:44px;background:#9340d3;color:white;border:0;border-radius:10px;padding:10px 16px;cursor:pointer}.cc-voice-settings audio{width:100%;margin-top:12px;height:44px;color-scheme:dark}@media(max-width:760px){.cc-page .cc-assistant{max-width:94%;padding-inline-end:60px}.cc-voice-player{min-width:140px}.cc-voice-settings{padding:12px}}

.cc-more-menu>button{border-bottom:1px solid #ffffff0d;border-radius:0}.cc-more-menu>button:last-child{border:0}.cc-more-menu [data-type-current]{margin-inline-start:auto;color:#ae65f3;font-size:12px}.cc-type-options{padding:4px 8px;background:#261e2e;border-radius:10px}.cc-type-options button{font-size:12px;justify-content:space-between;padding:10px;min-height:40px}.cc-type-options button[aria-pressed=true]{color:#ca8fff;background:#453151}.cc-type-options small{color:#d5fa79}.cc-more-menu{max-height:calc(100dvh - 180px);overflow-y:auto}.cc-settings [data-feedback-message]{max-height:none;min-height:180px}.cc-settings [data-feedback-status]{color:#c6a9d8;font-size:13px}.cc-settings>p{color:#bba9c7;font-size:13px;line-height:1.6}

/* Keep mouse interaction clean; keyboard focus uses a subtle neutral inset. */
.cc-gallery-controls button:focus{outline:none;box-shadow:none}.cc-gallery-controls button:focus-visible{outline:none;box-shadow:inset 0 0 0 1px #ffffff80}

.cc-voice-choice{display:flex;align-items:center;gap:10px;min-width:0}.cc-voice-choice>select,.cc-voice-choice>.v-select{flex:1;min-width:0;width:0!important}.cc-voice-settings .cc-voice-listen{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #6b4d7d;border-radius:12px;background:#3a2b46;color:#efdcff;font-size:18px;cursor:pointer}.cc-voice-listen:hover{background:#584065}.cc-voice-listen:focus-visible{outline:2px solid #d5b6ed;outline-offset:2px}

.cc-gallery-cover{object-fit:contain;background:#211a23}.cc-has-gallery .pop-chat-launch{top:68px}@media(max-width:760px){.cc-has-gallery .pop-chat-launch{top:auto;bottom:10px;left:10px}}
@media(max-width:760px){.cc-has-cover .cc-shell{grid-template-rows:260px minmax(0,1fr)}.cc-has-cover .cc-character{height:260px}}
