/* 107: conversation/task workspace, entirely scoped to the conversation panel. */
.zsa-conversations{box-sizing:border-box;width:100%;max-width:none;margin:0;color:#26282c;font:14px/1.75 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;background:#fcfcfd;min-height:calc(100dvh - 80px)}
.zsa-conversations *{box-sizing:border-box}.zsa-conversations [hidden]{display:none!important}.zsa-conversations svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.zsa-conversations button,.zsa-conversations select{font:inherit;color:inherit;cursor:pointer}.zsa-conversations button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:9px;background:transparent;padding:7px 10px;line-height:1.4}.zsa-conversations button:hover{background:#f0f1f3}.zsa-conversations button:disabled{opacity:.4;cursor:wait}.zsa-conversations a{color:#243b58;text-underline-offset:3px}.zsa-conversations button:focus-visible,.zsa-conversations a:focus-visible{outline:2px solid #438afa;outline-offset:3px}
.zsa-conversation-head{height:58px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:0;z-index:180;background:rgba(252,252,253,.95);backdrop-filter:blur(12px)}.conv-title{display:flex;gap:9px;align-items:center;min-width:0}.conv-title strong{font-size:15px;font-weight:550;max-width:55vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-title>span{font-size:14px;color:#92969c;white-space:nowrap}.zsa-conversation-head nav{display:flex;align-items:center;gap:3px}.zsa-conversation-head button{padding:6px;min-width:32px;font-size:12px}.zsa-conversation-head [data-conv-menu] svg{stroke-width:3.5}
.conv-menu{position:absolute;right:40px;top:56px;z-index:200;display:grid;width:215px;padding:7px;border:1px solid #e9e9ed;border-radius:13px;box-shadow:0 8px 30px #12182012;background:#fff}.conv-menu button{justify-content:flex-start;font-size:13px;padding:10px}.zsa-conversation-history{margin:0 22px 15px;display:flex;gap:7px;overflow:auto;scrollbar-width:none}.zsa-conversation-history button{flex:0 0 auto;max-width:200px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#f1f3f5;font-size:12px}.zsa-conversation-history .is-selected{background:#e5f0fc}
.conv-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:0 28px 20px;align-items:start}.has-sidebar .conv-workspace{grid-template-columns:minmax(0,1fr) 278px}.conv-chat-column{min-width:0;width:100%;max-width:790px;margin:0 auto;padding:8px 8px 0}.conv-sidebar{position:sticky;top:72px;margin-top:4px;padding:16px 17px;border:1px solid #eceef1;border-radius:22px;box-shadow:0 4px 18px #13223608;background:#fff;max-height:calc(100dvh - 95px);overflow:auto;scrollbar-width:thin;font-size:12px}.conv-sidebar-head{display:flex;justify-content:space-between;align-items:center;font-weight:600;margin-bottom:8px;color:#545b63}.conv-sidebar-head button{padding:3px}.conv-sidebar-head svg{width:15px;height:15px}.conv-sidebar details{border-bottom:1px solid #f0f1f2;padding:12px 0}.conv-sidebar details:last-child{border:0}.conv-sidebar summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;color:#676e77;font-size:12px;margin-bottom:10px}.conv-sidebar summary:after{content:'›';margin-left:auto;color:#9fa3a8}.conv-sidebar summary small{font-size:10px;margin-left:auto}.conv-events{margin:0;padding:0;list-style:none}.conv-events li{display:flex;align-items:flex-start;gap:7px;margin:12px 0;color:#68716c}.conv-events svg{width:14px;height:14px;flex-basis:14px;margin-top:4px}.conv-events b{font-size:12px;font-weight:500;color:#444c54}.conv-events p{font-size:11px;margin:3px 0 0;overflow-wrap:anywhere;line-height:1.5;color:#8b919a}.conv-events .is-error{color:#b7734c}.conv-working{color:#787e87;font-size:12px}.conv-muted{color:#a0a4ac;font-size:11px}.conv-memory{font-size:12px;white-space:pre-wrap;color:#757c86;overflow-wrap:anywhere}.conv-project-facts{border-radius:8px;background:#f8f9fb;padding:10px;color:#7c8490;font-size:11px;margin-top:9px}.conv-project-facts svg{width:14px;height:14px}.conv-source-list a{display:flex;gap:8px;margin:11px 0;text-decoration:none;min-width:0}.conv-source-list b{font-size:12px;display:block;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.conv-source-list small{font-size:10px;color:#90969e;display:block}.conv-source-list svg{width:15px;height:15px;flex-basis:15px;margin-top:2px}
.zsa-conversation-messages{padding:14px 0 8px;min-height:38vh}.zsa-conversation-message{display:flex;flex-direction:column;align-items:flex-start;min-width:0;margin:0 0 35px}.zsa-conversation-message.is-user{align-items:flex-end}.zsa-conversation-bubble{min-width:0;max-width:100%;overflow-wrap:anywhere}.is-user>.zsa-conversation-bubble{max-width:78%;background:#e8f3ff;padding:11px 16px;border-radius:20px 20px 6px 20px;color:#2a4055}.zsa-conversation-bubble p{margin:7px 0}.zsa-conversation-bubble h2{font-size:20px;margin:22px 0 12px;line-height:1.5}.zsa-conversation-bubble h3{font-size:17px;margin:18px 0 10px}.zsa-conversation-bubble h4{font-size:15px}.zsa-conversation-bubble ul{padding-left:23px;margin:14px 0}.zsa-conversation-bubble li{padding:3px 0}.zsa-conversation-bubble code{font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f1f2f5;border-radius:4px;padding:2px 4px}.conv-code{max-width:100%;border-radius:12px;overflow:hidden;border:1px solid #e4e7eb;margin:16px 0;background:#f7f8fa}.conv-code header{display:flex;align-items:center;justify-content:space-between;padding:7px 13px;font-size:11px;background:#edf0f3;color:#6b737e}.conv-code header button{font-size:11px;padding:2px}.conv-code svg{width:13px;height:13px}.conv-code pre{padding:15px;margin:0;white-space:pre;overflow:auto;max-width:100%;background:transparent}.conv-code pre code{background:none;padding:0;color:#303844}.zsa-conversation-table{overflow:auto;max-width:100%;margin:15px 0}.zsa-conversation-table table{border-collapse:collapse;width:100%;min-width:320px}.zsa-conversation-table th,.zsa-conversation-table td{padding:10px 15px;border:1px solid #e4e6ea;text-align:left}.zsa-conversation-table th{background:#f2f4f7;font-weight:600}
.conv-turn-progress{width:100%;margin:0 0 20px;border-bottom:1px solid #eceef1;padding-bottom:9px;color:#9299a3}.conv-turn-progress summary{font-size:12px;cursor:pointer;list-style:none}.conv-turn-progress .conv-events{padding:8px 12px;max-height:360px;overflow:auto}.conv-uploaded{display:flex;gap:11px;border:1px solid #e3e6eb;background:#fff;padding:10px 14px;border-radius:15px;max-width:340px;margin-bottom:7px}.conv-uploaded span{min-width:0}.conv-uploaded b{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;font-weight:600}.conv-uploaded small{display:block;font-size:10px;color:#9197a0}.conv-uploaded svg{margin-top:3px}.zsa-conversation-download{display:flex;gap:11px;align-items:center;min-width:0;padding:12px 14px;margin:12px 0;border:1px solid #dfe4eb;border-radius:13px;background:#fff;text-decoration:none;color:#303842!important}.zsa-conversation-download>span{min-width:0;flex:1}.zsa-conversation-download b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550}.zsa-conversation-download small{display:block;font-size:10px;color:#9198a3;margin-top:2px}.zsa-conversation-download:hover{border-color:#aac9ed;background:#fafcff}.conv-sidebar .zsa-conversation-download{padding:7px 0;border:0;margin:5px 0;border-radius:0;gap:7px}.conv-sidebar .zsa-conversation-download b{font-size:11px;font-weight:400}.conv-sidebar .zsa-conversation-download>svg{width:14px;height:14px;flex-basis:14px}.conv-sidebar .zsa-conversation-download>svg:last-child{display:none}.zsa-conversation-checks{display:block;font-size:11px;color:#9299a3;margin-top:8px}.conv-message-actions{display:flex;gap:3px;margin-top:9px;color:#8b929c}.conv-message-actions button{padding:4px}.conv-message-actions svg{width:16px;height:16px}.conv-message-actions .is-down svg{transform:rotate(180deg)}.conv-message-actions .is-selected{color:#367fea;background:#edf4ff}
.zsa-conversation-dock{position:sticky;bottom:0;z-index:120;padding:18px 0 4px;background:linear-gradient(0deg,#fcfcfd 86%,#fcfcfd00)}.zsa-conversation-dock form{border:1px solid #e4e6eb;border-radius:25px;box-shadow:0 3px 11px #10192806;background:#fff;padding:12px 14px}.zsa-conversation-dock textarea{display:block;width:100%;min-height:56px;max-height:180px;padding:8px 4px;resize:none;border:0;outline:0;background:transparent;color:#313942;font:14px/1.7 system-ui,sans-serif}.zsa-conversation-dock textarea::placeholder{color:#9da2aa}.zsa-conversation-tools{display:flex;align-items:center;gap:7px;font-size:11px;min-width:0}.zsa-conversation-tools button{padding:6px}.zsa-conversation-upload{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:5px}.conv-toggle{display:flex;align-items:center;gap:3px;white-space:nowrap;font-size:10px;color:#868e99}.conv-toggle input{accent-color:#4885e8;width:12px;height:12px;margin:0}.conv-web{font-size:10px!important;gap:3px!important;color:#8d95a0!important}.conv-web.is-selected{color:#477db8!important}.conv-web svg{width:15px;height:15px;flex-basis:15px}.zsa-conversation-tools select{margin-left:auto;background:none;border:0;max-width:180px;min-width:65px;font-size:12px;outline:none;text-overflow:ellipsis;white-space:nowrap}.zsa-conversation-tools [type=submit]{border-radius:50%;width:33px;height:33px;flex:0 0 33px;background:#3a82f6;color:#fff}.zsa-conversation-tools [type=submit]:hover{background:#266bd3}.zsa-conversation-tools [data-conv-mic]{color:#66707d}.conv-dock-caption{display:flex;justify-content:center;align-items:center;gap:10px;color:#a5aab2;font-size:10px;padding:7px 0}.conv-dock-caption button{font-size:10px;color:#9299a4;padding:0}.zsa-conversation-file{display:flex;align-items:center;gap:9px;max-width:360px;border:1px solid #e7e9ee;border-radius:12px;padding:10px;margin:0 0 4px;background:#fafbfd}.zsa-conversation-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.zsa-conversation-file button{margin-left:auto;padding:0}.zsa-conversation-file svg{width:16px;height:16px}.zsa-conversation-progress{display:flex;align-items:center;gap:9px;font-size:12px;color:#8791a0;margin:8px 0 22px}.zsa-conversation-progress small{margin-left:auto;color:#a0a7b1}.zsa-conversation-progress i{border:2px solid #e3e9f0;border-top-color:#6294d9;border-radius:50%;width:14px;height:14px;animation:conv-spin 1s linear infinite}@keyframes conv-spin{to{transform:rotate(360deg)}}
.zsa-conversation-collapsed,.zsa-conversation-empty{padding:55px 20px 65px;text-align:center}.conv-eyebrow{font-size:11px;color:#8a96a6}.zsa-conversation-collapsed h2,.zsa-conversation-empty h2{font-size:24px;font-weight:550;margin:12px 0}.zsa-conversation-collapsed p,.zsa-conversation-empty p{color:#9099a5;font-size:12px;overflow-wrap:anywhere}.zsa-conversation-collapsed footer{display:flex;justify-content:center;gap:10px;margin-top:20px}.zsa-conversation-collapsed [data-conv-continue],.zsa-conversation-empty [data-conv-new]{background:#2f78e5;color:#fff;border-radius:20px;padding:9px 20px}.zsa-conversation-notice{border-radius:10px;padding:10px 13px;font-size:12px;color:#976846;background:#fff6eb;margin:10px 0}
[data-ai-panel="chat"].is-conversation-mode> :not(.zsa-conversations){display:none!important}
@media(max-width:1100px){.has-sidebar .conv-workspace{grid-template-columns:minmax(0,1fr)}.conv-sidebar{position:fixed;right:16px;top:75px;z-index:220;width:280px;max-height:calc(100dvh - 110px);box-shadow:0 10px 40px #15233920}.conv-chat-column{max-width:790px}.conv-workspace{padding:0 24px 12px}}
@media(max-width:720px){.zsa-conversation-head{padding:0 12px;height:48px}.conv-title strong{font-size:13px;max-width:48vw}.conv-title>span{font-size:11px}.zsa-conversation-head [data-conv-share] span{display:none}.conv-workspace{padding:0 10px 6px}.conv-chat-column{padding:6px 0 0}.zsa-conversation-message{margin-bottom:25px}.is-user>.zsa-conversation-bubble{max-width:88%}.zsa-conversation-tools{gap:3px}.conv-web span{display:none}.zsa-conversation-tools select{max-width:125px;font-size:11px}.conv-toggle{font-size:9px}.zsa-conversation-dock{bottom:0;padding-bottom:env(safe-area-inset-bottom,3px)}.zsa-conversation-dock form{padding:10px;border-radius:22px}.zsa-conversation-tools [data-conv-mic]{padding:3px}.conv-uploaded{max-width:86%}.zsa-conversation-bubble{font-size:13px}.conv-menu{right:15px}.conv-dock-caption>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.zsa-conversation-progress i{animation:none}}

/* 108: independent conversation route; generation controls occupy one compact row. */
[data-ai-panel="chat"].is-conversation-mode{padding:0!important;max-width:none!important;width:100%!important}
.conv-sidebar{font-size:14px}.conv-sidebar-head{font-size:15px;font-weight:700;color:#303843}
.conv-sidebar summary{font-size:14px;font-weight:700;color:#394250}.conv-sidebar summary small{font-size:12px;font-weight:500}
.conv-sidebar .conv-events b{font-size:14px;font-weight:700;color:#303843}.conv-sidebar .conv-events p{font-size:13px;line-height:1.7;color:#657080}
.conv-sidebar .conv-working{font-size:14px;font-weight:600}.conv-turn-progress summary{font-size:13px}
.zsa-ai-history-primary{display:flex;align-items:center;gap:14px;min-width:0}.zsa-ai-new-conversation{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #e3e6ec;background:#fff;border-radius:22px;padding:9px 15px;font:600 13px system-ui;cursor:pointer;color:#303843}.zsa-ai-new-conversation:hover{background:#f3f6fa;border-color:#bfc9d8}
.zsa-ai-generation-panel .is-recent-target{outline:2px solid #c5daf7;outline-offset:5px;scroll-margin-top:85px}
@media(max-width:720px){.zsa-ai-history-primary{gap:6px}.zsa-ai-new-conversation{font-size:12px;padding:8px 10px}}

[data-ai-active-panel="chat"] .zsa-ai-unified-composer{display:none!important}
@media(max-width:720px){.zsa-ai-generation-panel .zsa-ai-history-header-inner{grid-template-columns:auto minmax(90px,1fr) auto!important;gap:6px}.zsa-ai-generation-panel .zsa-ai-history-header-actions{gap:4px}.zsa-ai-generation-panel .zsa-ai-history-filter-trigger{padding:0 8px!important}.zsa-ai-generation-mobile-back{margin-right:0!important}}

/* 174-chat-home: conversation homepage/history polish; isolated to /chat conversation surface. */
.zsa-conversations .zsa-conversation-bubble{font-size:15px;line-height:1.82}
.zsa-conversations .is-user>.zsa-conversation-bubble{font-size:15px}
.zsa-conversation-head .conv-head-link{height:34px;padding:6px 10px;border:1px solid #e4e7eb;border-radius:18px;background:#fff;white-space:nowrap}
.zsa-conversation-head .conv-head-link:hover{background:#f5f6f8;border-color:#d8dde4}
.zsa-conversation-head .conv-head-link svg{width:16px;height:16px;flex-basis:16px}
.zsa-conversation-history{position:fixed;right:22px;top:64px;z-index:235;width:292px;max-height:calc(100dvh - 84px);margin:0;padding:12px 10px 14px;display:block;overflow:auto;scrollbar-width:thin;border:1px solid #e7e9ed;border-radius:16px;background:#fff;box-shadow:0 16px 42px rgba(24,31,43,.12)}
.conv-history-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px;color:#8c929b;font-size:12px;font-weight:500}
.conv-history-head strong{font-weight:500}.conv-history-head button{padding:4px}.conv-history-head svg{width:15px;height:15px}
.conv-history-list{display:grid;gap:1px}.zsa-conversation-history .conv-history-list button{width:100%;max-width:none;justify-content:flex-start;padding:8px 7px;border-radius:8px;background:transparent;text-align:left;font-size:13px;line-height:1.55}
.zsa-conversation-history .conv-history-list button:hover{background:#f4f5f6}.zsa-conversation-history .conv-history-list button.is-selected{background:#eef2f6}
.zsa-conversation-history .conv-history-list button span{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.conv-history-empty{margin:8px 7px 10px;color:#a0a5ad;font-size:12px}
.zsa-conversations.is-home .conv-workspace{padding-top:0}.zsa-conversations.is-home .conv-chat-column{max-width:860px;padding-top:0}
.zsa-conversations.is-home{min-height:calc(100dvh - 80px)}
.conv-home-screen{width:100%;padding:clamp(150px,29vh,245px) 10px 40px}
.conv-home-hero{width:100%;max-width:780px;margin:0 auto}.conv-home-hero h1{margin:0 0 28px;text-align:center;font-size:28px;line-height:1.35;font-weight:520;letter-spacing:-.02em;color:#202328}
.zsa-conversation-home-composer{width:100%}.zsa-conversation-home-form{width:100%}
.conv-home-input-row{display:flex;align-items:center;gap:6px;width:100%;min-height:58px;padding:8px 9px 8px 10px;border:1px solid #e2e5e9;border-radius:30px;background:#fff;box-shadow:0 4px 18px rgba(22,29,40,.055)}
.conv-home-input-row:focus-within{border-color:#cfd6df;box-shadow:0 5px 20px rgba(22,29,40,.075)}
.conv-home-input-row .zsa-conversation-upload,.conv-home-input-row>button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;padding:0;border-radius:50%}
.conv-home-input-row .zsa-conversation-upload:hover,.conv-home-input-row>button:hover{background:#f2f4f6}
.conv-home-input-row textarea{display:block;flex:1;min-width:0;min-height:32px;max-height:176px;margin:0;padding:5px 4px;border:0;outline:0;resize:none;overflow-y:hidden;background:transparent;color:#2d333b;font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
.conv-home-input-row textarea::placeholder{color:#9da2aa}.conv-home-input-row select{max-width:150px;min-width:76px;margin:0 2px 0 0;padding:4px 2px;border:0;outline:0;background:transparent;color:#686f79;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.conv-home-input-row.is-multiline{display:grid;grid-template-columns:38px minmax(0,1fr) auto 38px 38px;grid-template-rows:auto 38px;column-gap:6px;row-gap:3px;align-items:center;padding:9px 9px 8px 10px;border-radius:24px}
.conv-home-input-row.is-multiline textarea{grid-column:1/-1;grid-row:1;width:100%;padding:3px 8px 5px;min-height:48px}
.conv-home-input-row.is-multiline .zsa-conversation-upload{grid-column:1;grid-row:2}
.conv-home-input-row.is-multiline select{grid-column:3;grid-row:2;margin:0}
.conv-home-input-row.is-multiline [data-conv-mic]{grid-column:4;grid-row:2}
.conv-home-input-row.is-multiline [type=submit]{grid-column:5;grid-row:2}
.conv-home-input-row [type=submit]{background:#3a82f6;color:#fff}.conv-home-input-row [type=submit]:hover{background:#2c73e1}.conv-home-input-row [type=submit]:disabled{background:#9fc1f5}
.zsa-conversation-home-form>.zsa-conversation-file{margin:0 0 9px 10px}
.zsa-conversation-dock textarea{overflow-y:hidden}
html[data-zsa-theme="dark"] .zsa-conversations{background:#1e1e1e;color:#ededed}
html[data-zsa-theme="dark"] .zsa-conversation-head{background:rgba(30,30,30,.94)}
html[data-zsa-theme="dark"] .zsa-conversation-head .conv-head-link,html[data-zsa-theme="dark"] .zsa-conversation-history,html[data-zsa-theme="dark"] .conv-home-input-row{background:#252525;border-color:#444;color:#ededed}
html[data-zsa-theme="dark"] .conv-home-hero h1{color:#ededed}
html[data-zsa-theme="dark"] .conv-home-input-row textarea{color:#ededed}html[data-zsa-theme="dark"] .conv-home-input-row textarea::placeholder{color:#929292}
html[data-zsa-theme="dark"] .zsa-conversation-history .conv-history-list button:hover,html[data-zsa-theme="dark"] .zsa-conversation-head .conv-head-link:hover{background:#333}
html[data-zsa-theme="dark"] .zsa-conversation-history .conv-history-list button.is-selected{background:#393939}
@media(max-width:720px){.zsa-conversation-head .conv-head-link{padding:5px 8px;height:32px}.zsa-conversation-head .conv-head-link span{display:none}.zsa-conversation-head [data-conv-share]{display:none}.zsa-conversation-history{top:54px;right:10px;left:10px;width:auto;max-height:calc(100dvh - 68px)}.zsa-conversations .zsa-conversation-bubble,.zsa-conversations .is-user>.zsa-conversation-bubble{font-size:14px}.conv-home-screen{padding:clamp(92px,19vh,150px) 2px 26px}.conv-home-hero h1{margin-bottom:22px;font-size:23px}.conv-home-input-row{gap:2px;min-height:54px;padding:7px 7px}.conv-home-input-row .zsa-conversation-upload,.conv-home-input-row>button{width:34px;height:34px;flex-basis:34px}.conv-home-input-row select{max-width:92px;min-width:60px;font-size:11px}.conv-home-input-row textarea{font-size:14px}.conv-home-input-row.is-multiline{grid-template-columns:34px minmax(0,1fr) auto 34px 34px;grid-template-rows:auto 34px;column-gap:2px;padding:8px 7px;border-radius:22px}.conv-home-input-row.is-multiline textarea{padding:2px 6px 4px}}

/* 174-chat-home-3: keep history access on chat home and typewriter output. */
.zsa-conversations.is-home{position:relative}
.zsa-conversation-home-head{position:absolute;top:0;right:0;left:0;z-index:180;height:58px;padding:0 22px;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}
.zsa-conversation-home-head nav{display:flex;align-items:center;pointer-events:auto}
.zsa-conversation-home-head .conv-head-link{height:34px;padding:6px 10px;display:inline-flex;align-items:center;gap:6px;border:1px solid #e4e7eb;border-radius:18px;background:#fff;white-space:nowrap;font-size:12px}
.zsa-conversation-home-head .conv-head-link:hover{background:#f5f6f8;border-color:#d8dde4}
.zsa-conversation-home-head .conv-head-link svg{width:16px;height:16px;flex-basis:16px}
.conv-typing-live{white-space:pre-wrap;overflow-wrap:anywhere}
.conv-typing-caret{display:inline-block;width:1.5px;height:1.05em;margin-left:2px;vertical-align:-.12em;background:currentColor;animation:convTypingCaret .8s steps(1,end) infinite}
@keyframes convTypingCaret{0%,48%{opacity:1}49%,100%{opacity:0}}
html[data-zsa-theme="dark"] .zsa-conversation-home-head .conv-head-link{background:#252525;border-color:#444;color:#ededed}
html[data-zsa-theme="dark"] .zsa-conversation-home-head .conv-head-link:hover{background:#333}
@media(max-width:720px){.zsa-conversation-home-head{height:48px;padding:0 12px}.zsa-conversation-home-head .conv-head-link{height:32px;padding:5px 8px}}
@media(prefers-reduced-motion:reduce){.conv-typing-caret{animation:none}}

/* 174-chat-scroll-bg-fix-v2: chat surface owns the complete main viewport. */
html body.zsa-ai-workspace-page [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-main,
html body.zsa-ai-workspace-standalone [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-main{
 background-color:#fcfcfd!important;
 background-image:none!important;
}
html body.zsa-ai-workspace-page [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-main > .zsa-ai-panel[data-ai-panel="chat"].is-active.is-conversation-mode,
html body.zsa-ai-workspace-standalone [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-main > .zsa-ai-panel[data-ai-panel="chat"].is-active.is-conversation-mode{
 display:block!important;
 width:100%!important;
 min-height:100%!important;
 min-block-size:100%!important;
 margin:0!important;
 padding:0!important;
 background-color:#fcfcfd!important;
 background-image:none!important;
 overflow:visible!important;
}
html body [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] .zsa-conversations{
 width:100%!important;
 min-height:100vh!important;
 min-height:100dvh!important;
 background-color:#fcfcfd!important;
 background-image:none!important;
}
html[data-zsa-theme="dark"] body.zsa-ai-workspace-page [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-main,
html[data-zsa-theme="dark"] body.zsa-ai-workspace-standalone [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-main,
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-main > .zsa-ai-panel[data-ai-panel="chat"].is-active.is-conversation-mode,
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] .zsa-conversations{
 background-color:#1e1e1e!important;
 background-image:none!important;
 background-size:auto!important;
}
/* Keep the floating feedback PNG above the chat surface and inside the visible viewport. */
html body [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-feedback-fab{
 z-index:1200!important;
 overflow:visible!important;
}
html body [data-zsa-ai-app].zsa-ai-app[data-ai-active-panel="chat"] > .zsa-ai-feedback-fab img{
 display:block!important;
 width:100%!important;
 height:100%!important;
 object-fit:contain!important;
}

/* 174-chat-scroll-real-v3: real mobile/standalone scroll root + flat chat surface. */
[data-ai-panel="chat"].is-conversation-mode{
  background-image:none!important;
  background-color:#fcfcfd!important;
}
html[data-zsa-theme="dark"] [data-ai-panel="chat"].is-conversation-mode{
  background-image:none!important;
  background-color:#1e1e1e!important;
}
.zsa-ai-app.zsa-conversation-surface-active>.zsa-ai-main{
  background-image:none!important;
  background-color:#fcfcfd!important;
}
html[data-zsa-theme="dark"] .zsa-ai-app.zsa-conversation-surface-active>.zsa-ai-main{
  background-image:none!important;
  background-color:#1e1e1e!important;
}
.zsa-ai-app.zsa-conversation-surface-active [data-ai-panel="chat"].is-conversation-mode,
.zsa-ai-app.zsa-conversation-surface-active [data-ai-panel="chat"].is-conversation-mode>.zsa-conversations{
  background-image:none!important;
}
.zsa-ai-app.zsa-conversation-surface-active [data-ai-panel="chat"].is-conversation-mode>.zsa-conversations{
  min-height:100svh!important;
  min-height:100dvh!important;
}
.conv-bottom-anchor{display:block;width:1px;height:1px;scroll-margin-bottom:calc(var(--zsa-conv-dock-height,140px) + 18px)}

@media(max-width:900px){
  .zsa-ai-app.zsa-conversation-surface-active>.zsa-ai-main{
    background-image:none!important;
  }
  .zsa-ai-app.zsa-conversation-surface-active [data-ai-panel="chat"].is-conversation-mode{
    min-height:100svh!important;
    min-height:100dvh!important;
    padding-bottom:max(0px,env(safe-area-inset-bottom))!important;
  }
  .zsa-ai-app.zsa-conversation-home-active>.zsa-ai-feedback-fab{
    right:12px!important;
    bottom:calc(78px + env(safe-area-inset-bottom))!important;
    width:58px!important;
    height:58px!important;
    overflow:visible!important;
  }
  .zsa-ai-app.zsa-conversation-detail-active>.zsa-ai-feedback-fab{
    right:12px!important;
    bottom:calc(var(--zsa-conv-dock-height,150px) + 18px + env(safe-area-inset-bottom))!important;
    width:58px!important;
    height:58px!important;
    overflow:visible!important;
  }
  .zsa-ai-app.zsa-conversation-surface-active>.zsa-ai-feedback-fab img{
    display:block!important;
    width:58px!important;
    height:58px!important;
    max-width:58px!important;
    max-height:58px!important;
    object-fit:contain!important;
    object-position:center!important;
    overflow:visible!important;
  }
}

/* 174-chat-mobile-keyboard-v4: keep the live conversation composer above the iOS visual keyboard. */
@media(max-width:900px){
  .zsa-conversation-dock textarea{font-size:16px!important;line-height:1.5!important;-webkit-text-size-adjust:100%!important}
  .zsa-conversation-dock.is-keyboard-raised{
    position:fixed!important;
    top:auto!important;
    bottom:var(--zsa-conv-keyboard-bottom,8px)!important;
    left:max(8px,env(safe-area-inset-left))!important;
    right:max(8px,env(safe-area-inset-right))!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    z-index:2147483000!important;
    background:transparent!important;
    transform:none!important;
  }
  .zsa-conversation-dock.is-keyboard-raised form{margin:0!important;box-shadow:0 10px 34px rgba(0,0,0,.18)!important}
  .zsa-conversation-dock.is-keyboard-raised .conv-dock-caption{display:none!important}
  .zsa-conversation-dock.is-keyboard-raised textarea{
    min-height:48px!important;
    max-height:min(132px,calc(var(--zsa-conv-visual-height,420px) * .36))!important;
    overflow-y:auto!important;
  }
  html[data-zsa-theme="dark"] .zsa-conversation-dock.is-keyboard-raised form{background:#1f1f1f!important;border-color:#555!important}
}

/* 174-chat-mobile-jitter-v7: prevent iOS scroll anchoring from fighting the live composer/auto-follow logic. */
.zsa-conversations.is-expanded,
.zsa-conversations.is-expanded .conv-workspace,
.zsa-conversations.is-expanded .conv-chat-column,
.zsa-conversations.is-expanded .zsa-conversation-messages,
.zsa-conversations.is-expanded .zsa-conversation-dock{overflow-anchor:none!important}
@media(max-width:900px){
  .zsa-conversation-dock.is-keyboard-raised{will-change:bottom;contain:none!important;overflow:visible!important;}
  .zsa-conversation-dock.is-keyboard-raised form{overflow:visible!important;}
  .zsa-conversation-dock.is-keyboard-raised textarea{scroll-padding-bottom:12px!important;}
  html.zsa-conversation-input-active{overscroll-behavior-y:none;}
}

/* 174-chat-keyboard-visible-v8: keep the composer above iOS keyboard without reintroducing page jitter. */
@media(max-width:900px){
  html.zsa-conversation-input-active,html.zsa-conversation-input-active body{overscroll-behavior-y:none!important;}
  .zsa-conversation-dock.is-keyboard-raised{
    max-height:calc(var(--zsa-conv-visual-height,420px) - 16px)!important;
  }
  .zsa-conversation-dock.is-keyboard-raised form{
    max-height:calc(var(--zsa-conv-visual-height,420px) - 16px)!important;
  }
  .zsa-conversation-dock.is-keyboard-raised textarea{
    max-height:min(132px,calc(var(--zsa-conv-visual-height,420px) * .34))!important;
    -webkit-overflow-scrolling:touch;
  }
}
/* 185: references stay attached to the answer across thread reloads. */
.conv-work-references185{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;max-width:740px}.conv-work-references185>small{grid-column:1/-1;color:#64748b}.conv-work-references185>a{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #e2e8f0;border-radius:12px;color:inherit;text-decoration:none;min-width:0}.conv-work-references185 img,.conv-source-list img{width:52px;height:52px;flex:0 0 52px;object-fit:cover;border-radius:8px}.conv-work-references185 svg{width:22px;flex:0 0 22px}.conv-work-references185 a>span{min-width:0}.conv-work-references185 b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conv-work-references185 small{display:block;font-size:11px}.conv-work-references185 a:hover{border-color:#94ce60;background:#f5faef}html[data-zsa-theme="dark"] .conv-work-references185 a{border-color:#39434d;color:#e5edf5}html[data-zsa-theme="dark"] .conv-work-references185 a:hover{background:#28332b}html[data-zsa-theme="dark"] .conv-work-references185 small{color:#b2bfcc}@media(max-width:600px){.conv-work-references185{grid-template-columns:minmax(0,1fr)}}
