:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef1f7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}.chat-app-fullscreen{background:#eef1f7;justify-content:center;align-items:center;min-height:100vh;display:flex}.chat-widget-panel{background:#fff;border:1px solid #e6e8ef;border-radius:8px;flex-direction:column;width:min(100vw,414px);height:min(100vh,840px);display:flex;position:relative;overflow:hidden;box-shadow:0 22px 56px #0f172a2e,0 6px 18px #0f172a14}.chat-widget-header{background:radial-gradient(circle at 100% 0,#5284ff1f,#0000 34%),linear-gradient(#fdfefe 0%,#f5f8ff 100%);border-bottom:1px solid #e9eefb;flex-shrink:0;justify-content:flex-start;align-items:center;min-height:82px;padding:16px 18px 14px;display:flex}.chat-widget-brand{align-items:center;gap:14px;padding:0;display:flex}.chat-widget-logo{object-fit:contain;flex:none;width:40px;height:40px}.chat-widget-brand-copy{flex-direction:column;gap:3px;display:flex}.chat-widget-brand h1{color:#18202f;letter-spacing:0;margin:0;font-size:18px;font-weight:700;line-height:1.15}.chat-widget-brand p{color:#7c8698;margin:0;font-size:12px;line-height:1.2}.chat-widget-brand-row{align-items:center;gap:10px;display:flex}.chat-widget-home-head{margin-bottom:9px}.chat-widget-question-card svg,.chat-widget-question-card svg,.chat-widget-action-icon svg,.chat-widget-send-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.chat-widget-messages{background:#fff;flex:1;min-height:0;padding:14px 15px 150px;overflow-y:auto}.chat-widget-messages.active{padding-top:20px}.chat-widget-history-banner{color:#687386;background:#f8faff;border:1px solid #e5eaf5;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;padding:8px 10px;font-size:12px;display:flex}.chat-widget-history-banner button{color:#2f6fed;cursor:pointer;background:0 0;border:0;flex:none;padding:0;font-size:12px}.chat-widget-home{flex-direction:column;display:flex}.chat-widget-home.in-feed{margin-bottom:24px}.chat-widget-section-label{color:#4f5562;margin:0 0 9px;font-size:12px}.question-label{margin-top:42px}.chat-widget-action-list{gap:8px;display:grid}.chat-widget-action-card{color:#171923;text-align:left;cursor:pointer;background:#f3f6fa;border:0;border-radius:10px;align-items:center;gap:15px;min-height:65px;padding:13px 20px;display:flex;position:relative;overflow:hidden}.chat-widget-action-card.primary{background:#f3ecff}.chat-widget-action-card:disabled{cursor:not-allowed;opacity:.7}.chat-widget-action-icon{color:#1f2329;flex:none;width:20px;height:20px}.chat-widget-action-card strong{color:#4b257d;margin-bottom:2px;font-size:14px;font-weight:700;display:block}.chat-widget-action-card:not(.primary) strong{color:#151922}.chat-widget-action-card small{color:#8b90a0;font-size:12px;display:block}.chat-widget-card-art{background:linear-gradient(135deg,#fffffff2,#f2ecffdb);border-radius:6px;width:76px;height:42px;position:absolute;top:17px;right:26px;transform:rotate(-6deg);box-shadow:0 10px 22px #745cff24}.chat-widget-card-art:before,.chat-widget-card-art:after{content:"";background:#d6ccff;border-radius:99px;height:3px;position:absolute;left:10px}.chat-widget-card-art:before{width:28px;top:16px}.chat-widget-card-art:after{width:52px;top:27px}.chat-widget-question-card{background:#fff;border:1px solid #e3e6ee;border-radius:10px;overflow:hidden}.chat-widget-question-toggle{color:#4d6fdc;cursor:pointer;background:0 0;border:0;margin-top:10px;padding:0;font-size:12px}.chat-widget-question-card button{color:#151922;cursor:pointer;text-align:left;background:#fff;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;height:39px;padding:0 17px;display:flex}.chat-widget-question-card button:disabled{cursor:not-allowed;opacity:.7}.chat-widget-question-card span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:650;overflow:hidden}.chat-widget-question-card svg{color:#6d7482;flex:none;width:16px;height:16px}.chat-widget-message-list{flex-direction:column;gap:20px;display:flex}.chat-widget-message{flex-direction:column;display:flex}.chat-widget-message.user{align-items:flex-end}.chat-widget-message.assistant{align-items:flex-start}.chat-widget-message-content-wrapper{max-width:82%}.chat-widget-message.user .chat-widget-message-content-wrapper{max-width:76%}.chat-widget-message-content{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.55}.chat-widget-message.user .chat-widget-message-content{color:#111827;background:#f2f5fa;border-radius:4px;padding:13px 17px}.chat-widget-message-image{object-fit:cover;border-radius:8px;max-width:min(220px,100%);max-height:260px;margin:0 0 8px auto;display:block}.chat-widget-message-image-note{color:#667085;text-overflow:ellipsis;white-space:nowrap;background:#eef2f8;border-radius:6px;max-width:100%;margin:0 0 8px auto;padding:5px 8px;font-size:12px;display:inline-flex;overflow:hidden}.chat-widget-message.assistant .chat-widget-message-content{color:#20242d;background:0 0;padding:12px 0}.chat-widget-reasoning-card{background:linear-gradient(#fbfdff 0%,#f7faff 100%);border:1px solid #e2e8f3;border-radius:12px;margin:0 0 12px;padding:12px;box-shadow:inset 0 1px #ffffffc7}.chat-widget-reasoning-title{color:#5f6b7c;align-items:center;gap:6px;margin:0 0 10px;padding:0 0 0 2px;font-size:11px;font-weight:600;line-height:1.2;display:inline-flex}.chat-widget-reasoning-title:before{content:"";background:#5b8cff;border-radius:999px;width:6px;height:6px;box-shadow:0 0 0 4px #5b8cff1f}.chat-widget-reasoning-steps{flex-direction:column;gap:8px;display:flex}.chat-widget-reasoning-step{background:#ffffffd1;border:1px solid #edf2f8;border-radius:10px;align-items:flex-start;gap:10px;padding:10px 11px;display:flex}.chat-widget-reasoning-step.done{background:linear-gradient(#fcfffd 0%,#f5fbf7 100%);border-color:#e4f3ea}.chat-widget-reasoning-step.active{background:linear-gradient(#fdfefe 0%,#f6f9ff 100%);border-color:#dfe8fb;box-shadow:0 8px 20px #2f6fed0f}.chat-widget-reasoning-indicator{justify-content:center;align-items:center;width:16px;min-width:16px;margin-top:1px;display:inline-flex}.chat-widget-reasoning-step.done .chat-widget-reasoning-indicator svg{fill:none;stroke:#20a05a;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.chat-widget-reasoning-step-main{flex:1;min-width:0}.chat-widget-reasoning-step.active .chat-widget-reasoning-step-main{padding-left:0}.chat-widget-reasoning-step-head{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:5px;display:flex}.chat-widget-reasoning-step-head strong{color:#162033;font-size:13px;font-weight:700;line-height:1.3}.chat-widget-reasoning-step-head span{color:#74839a;background:#eef3fb;border-radius:999px;align-items:center;min-height:20px;padding:0 8px;font-size:11px;line-height:1;display:inline-flex}.chat-widget-reasoning-step-detail{color:#556274;margin:0;font-size:12px;line-height:1.55}.chat-widget-reasoning-step-lines{flex-direction:column;gap:5px;display:flex}.chat-widget-reasoning-step-lines p{color:#334155;margin:0;font-size:12px;line-height:1.55}.chat-widget-reasoning-step-lines p:first-child{color:#223045;font-weight:600}.chat-widget-reasoning-step-lines p:nth-child(2){color:#5d697b;overflow-wrap:anywhere;background:#f0f4fa;border-radius:7px;width:fit-content;max-width:100%;padding:4px 8px;font-size:11px;line-height:1.45;display:inline-flex}.chat-widget-reasoning-step-lines p:last-child{color:#778399}.chat-widget-reasoning-body{color:#1f2937;margin:0;font-size:13px;font-weight:600;line-height:1.45}.chat-widget-reasoning-note{color:#7b8798;margin:6px 0 0;font-size:12px;line-height:1.45}.chat-widget-answer-card{background:#fdfdff;border:1px solid #eceef4;border-radius:8px;width:100%;padding:15px 16px;box-shadow:0 1px #11182705}.chat-widget-stream-card{flex-direction:column;gap:10px;display:flex}.chat-widget-stream-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-widget-stream-badge{color:#3f63df;background:#f5f7fc;border:1px solid #dde5f2;border-radius:8px;align-items:center;gap:8px;min-height:32px;padding:0 12px;font-size:13px;font-weight:600;line-height:1;display:inline-flex}.chat-widget-stream-badge-dot{background:#5b8cff;border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 4px #5b8cff24}.chat-widget-stream-loading{align-items:center;gap:5px;margin-right:2px;display:inline-flex}.chat-widget-stream-loading span{opacity:.45;background:#8e97a8;border-radius:999px;width:6px;height:6px;animation:1.05s ease-in-out infinite stream-dots}.chat-widget-stream-loading span:nth-child(2){animation-delay:.14s}.chat-widget-stream-loading span:nth-child(3){animation-delay:.28s}.chat-widget-stream-reasoning{color:#4c596b;background:#f7f9fd;border-left:3px solid #d6deea;padding:10px 12px;font-size:13px;line-height:1.75}.chat-widget-stream-reasoning .chat-widget-message-content{color:inherit;font-size:inherit;line-height:inherit;padding:0}.chat-widget-stream-answer{color:#20242d;font-size:14px;line-height:1.85}.chat-widget-stream-reasoning .chat-widget-inline-image-link,.chat-widget-stream-answer .chat-widget-inline-image-link{color:#2f6fed;width:min(520px,100%);margin:8px 0 4px;text-decoration:none;display:block}.chat-widget-stream-reasoning .chat-widget-inline-image-link:hover,.chat-widget-stream-answer .chat-widget-inline-image-link:hover{text-decoration:none}.chat-widget-stream-reasoning .chat-widget-inline-image-link img,.chat-widget-stream-answer .chat-widget-inline-image-link img{object-fit:contain;background:#f7f9fc;border:1px solid #e6ebf3;border-radius:8px;width:100%;max-height:360px;display:block}.chat-widget-stream-reasoning .chat-widget-inline-image-link span,.chat-widget-stream-answer .chat-widget-inline-image-link span{margin-top:4px;font-size:12px;font-weight:600;line-height:1.5;display:inline-block}.chat-widget-stream-answer .chat-widget-message-content{color:inherit;font-size:inherit;line-height:inherit;padding:0}.chat-widget-stream-placeholder{color:#7a8493;margin:0;font-size:12px;line-height:1.6}.chat-widget-answer-card .chat-widget-message-content{color:#151922;white-space:pre-wrap;overflow-wrap:anywhere;padding:0;font-size:14px;line-height:1.85}.chat-widget-answer-card .chat-widget-message-content a{color:#2f6fed;font-weight:600;text-decoration:none}.chat-widget-answer-card .chat-widget-message-content a:hover{text-decoration:underline}.chat-widget-answer-card .chat-widget-message-content .chat-widget-inline-image-link{color:#2f6fed;width:min(520px,100%);margin:8px 0 4px;text-decoration:none;display:block}.chat-widget-answer-card .chat-widget-message-content .chat-widget-inline-image-link:hover{text-decoration:none}.chat-widget-answer-card .chat-widget-message-content .chat-widget-inline-image-link img{object-fit:contain;background:#f7f9fc;border:1px solid #e6ebf3;border-radius:8px;width:100%;max-height:360px;display:block}.chat-widget-answer-card .chat-widget-message-content .chat-widget-inline-image-link span{margin-top:4px;font-size:12px;font-weight:600;line-height:1.5;display:inline-block}.chat-widget-rich-content{flex-direction:column;gap:11px;display:flex}.chat-widget-rich-content h3{color:#141922;margin:4px 0 0;padding:0;font-size:15px;font-weight:700;line-height:1.55}.chat-widget-rich-content h3.chat-widget-rich-subtitle{color:#1f2937;margin-top:6px;font-size:14px}.chat-widget-rich-content h3.chat-widget-rich-bullet-title{color:#111827;margin:6px 0 0;padding-left:16px;font-size:15px;font-weight:700;line-height:1.6;position:relative}.chat-widget-rich-content h3.chat-widget-rich-bullet-title:before{content:"";background:#8b95a5;border-radius:50%;width:4px;height:4px;position:absolute;top:.82em;left:3px}.chat-widget-rich-content p{margin:0}.chat-widget-rich-divider{background:#e5eaf2;border:0;width:100%;height:1px;margin:8px 0}.chat-widget-rich-list-item{padding-left:16px;position:relative}.chat-widget-rich-list-item:before{content:"";background:#8b95a5;border-radius:50%;width:4px;height:4px;position:absolute;top:.82em;left:3px}.chat-widget-rich-content ol,.chat-widget-rich-content ul{margin:0;padding-left:20px}.chat-widget-rich-content li{margin:0 0 6px;line-height:1.75}.chat-widget-rich-content li:last-child{margin-bottom:0}.chat-widget-rich-codeblock{color:#273142;white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;border:1px solid #dde5f2;border-radius:8px;margin:0;padding:12px 14px;font-size:13px;line-height:1.8}.chat-widget-rich-codeblock code{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Consolas,SFMono-Regular,Menlo,Monaco,monospace;display:block}.chat-widget-rich-table-wrap{width:100%;overflow-x:auto}.chat-widget-rich-table{border-collapse:collapse;background:#fff;border:1px solid #dde5f2;border-radius:8px;width:100%;font-size:13px;line-height:1.7;overflow:hidden}.chat-widget-rich-table th,.chat-widget-rich-table td{text-align:left;vertical-align:top;word-break:break-word;border-bottom:1px solid #e6ebf3;border-right:1px solid #e6ebf3;padding:10px 12px}.chat-widget-rich-table th{color:#1f2937;background:#f6f8fc;font-weight:700}.chat-widget-rich-table tr:last-child td{border-bottom:0}.chat-widget-rich-table th:last-child,.chat-widget-rich-table td:last-child{border-right:0}.chat-widget-answer-card .chat-widget-message-content+.chat-widget-message-content{margin-top:10px}.chat-widget-copy-btn{color:#7c8698;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin-top:10px;padding:0;font-size:12px;line-height:1;display:inline-flex}.chat-widget-copy-btn:hover{color:#2f6fed}.chat-widget-copy-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.chat-widget-copy-btn svg rect{fill:none;stroke:currentColor}.chat-widget-support-link{color:#2f6fed;background:#f7faff;border:1px solid #d6e1fb;border-radius:7px;align-items:center;gap:6px;margin-top:12px;padding:8px 12px;font-size:12px;font-weight:600;line-height:1;text-decoration:none;display:inline-flex}.chat-widget-support-link:hover{background:#eef4ff;border-color:#b8ccfb}.chat-widget-support-link svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.chat-widget-followups{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.chat-widget-followups button{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #cfd7ea;border-radius:6px;min-height:30px;padding:0 12px;font-size:12px}.chat-widget-followups button:hover:not(:disabled){color:#2757cc;background:#f8fbff;border-color:#9fb5e6}.chat-widget-followups button:disabled{cursor:not-allowed;opacity:.55}.chat-widget-spinner{border:2px solid #d8e4ff;border-top-color:#4388ff;border-radius:50%;width:12px;height:12px;animation:.8s linear infinite spin}.chat-widget-reasoning-marker{background:#aab4c4;border-radius:50%;width:8px;height:8px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes stream-dots{0%,80%,to{opacity:.4;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.chat-widget-composer{background:linear-gradient(#fff0,#fff 22%);padding:0 21px 8px;position:absolute;bottom:0;left:0;right:0}.chat-widget-scroll-bottom{z-index:4;color:#667085;cursor:pointer;background:#fff;border:1px solid #eef1f6;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid;position:absolute;bottom:122px;right:28px;box-shadow:0 8px 24px #0f172a1f}.chat-widget-scroll-bottom:hover{color:#2f6fed;background:#fbfdff;border-color:#dce5fb}.chat-widget-scroll-bottom svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.chat-widget-composer-wrapper{background:#fff;border:1.5px solid #4d92ff;border-radius:8px;align-items:flex-end;gap:8px;min-height:74px;padding:9px 10px 9px 11px;display:flex;box-shadow:inset 0 0 0 1px #b159ff7a}.chat-widget-guess{background:#fff;border:1px solid #e8edf6;border-radius:8px;margin:0 0 8px;padding:12px 14px;box-shadow:0 8px 24px #0f172a14}.chat-widget-guess p{color:#141922;margin:0 0 9px;font-size:13px;font-weight:700}.chat-widget-guess div{flex-direction:column;gap:8px;display:flex}.chat-widget-guess button{color:#2f6fed;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;line-height:1.45}.chat-widget-guess button:hover{text-decoration:underline}.chat-widget-image-preview{background:#f8fbff;border:1px solid #e6ebf3;border-radius:8px;align-items:center;gap:9px;margin:0 0 8px;padding:8px 10px;display:flex}.chat-widget-image-preview img{object-fit:cover;border-radius:6px;flex:none;width:42px;height:42px}.chat-widget-image-preview span{text-overflow:ellipsis;white-space:nowrap;color:#4b5563;flex:1;min-width:0;font-size:12px;overflow:hidden}.chat-widget-image-preview button{color:#667085;cursor:pointer;background:0 0;border:0;flex:none;place-items:center;width:24px;height:24px;padding:0;display:grid}.chat-widget-image-preview button:disabled{cursor:not-allowed;opacity:.55}.chat-widget-image-preview svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.chat-widget-composer-wrapper:focus-within{border-color:#347cff;box-shadow:inset 0 0 0 1px #ae4bff9e,0 0 0 2px #4388ff14}.chat-widget-textarea{resize:none;color:#1f2329;background:0 0;border:0;outline:0;flex:1;min-width:0;height:48px;padding:0;font-size:13px;line-height:1.55}.chat-widget-textarea::placeholder{color:#87909f}.chat-widget-textarea:disabled{cursor:not-allowed}.chat-widget-send-btn{color:#fff;cursor:pointer;background:#b8c0cc;border:0;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.chat-widget-send-btn:not(:disabled){background:#4f8cff}.chat-widget-send-btn:disabled{cursor:not-allowed}.chat-widget-send-btn svg{stroke-width:3px;width:19px;height:19px}.chat-widget-send-btn svg rect{fill:currentColor;stroke:none}.chat-widget-disclaimer{color:#8b92a1;text-align:center;margin:7px 0 0;font-size:12px}.chat-widget-error{z-index:5;color:#b42318;background:#fff3f3;border:1px solid #ffd4d4;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:13px;display:flex;position:absolute;bottom:128px;left:14px;right:14px}.chat-widget-error button{color:#fff;cursor:pointer;background:#d92d20;border:0;border-radius:6px;flex:none;padding:5px 10px}.chat-widget-error button:disabled{cursor:not-allowed;opacity:.55}@media (width<=480px){.chat-app-fullscreen{align-items:stretch}.chat-widget-panel{width:100vw;height:100vh;box-shadow:none;border:0;border-radius:0}}@media (width>=900px){.chat-app-fullscreen{background:#fff;justify-content:stretch;align-items:stretch}.chat-widget-panel{width:100vw;height:100vh;box-shadow:none;border:0;border-radius:0}.chat-widget-header{background:radial-gradient(circle at 0 0,#4f8cff14,#0000 28%),linear-gradient(#fbfcff 0%,#f7f9ff 100%);min-height:64px;padding:14px 32px}.chat-widget-logo{width:34px;height:34px}.chat-widget-brand h1{font-size:18px}.chat-widget-messages{padding:34px max(32px,50vw - 380px) 176px}.chat-widget-messages.active{padding-top:34px}.chat-widget-home{width:100%}.chat-widget-home.in-feed{margin-bottom:28px}.chat-widget-action-list{gap:10px}.chat-widget-action-card{border-radius:8px;min-height:64px;padding:14px 22px}.question-label{margin-top:40px}.chat-widget-question-card{border-radius:8px}.chat-widget-question-card button{height:44px;padding:0 18px}.chat-widget-message-list{width:100%}.chat-widget-message-content-wrapper{max-width:min(68%,620px)}.chat-widget-message.user .chat-widget-message-content-wrapper{max-width:min(58%,520px)}.chat-widget-answer-card{max-width:100%}.chat-widget-composer{background:linear-gradient(#fff0,#fff 28%);width:min(760px,100vw - 64px);padding:0 0 16px;left:50%;right:auto;transform:translate(-50%)}.chat-widget-composer-wrapper{min-height:86px;padding:12px 12px 12px 14px}.chat-widget-textarea{height:56px;font-size:14px}.chat-widget-scroll-bottom{bottom:142px;right:max(32px,50vw - 380px)}.chat-widget-error{width:min(760px,100vw - 64px);bottom:146px;left:50%;right:auto;transform:translate(-50%)}}
