*{box-sizing:border-box}body,html{margin:0;color:#172033;background:#f7f8fc}button,input,textarea{font:inherit}.chat-workbench{--sidebar-width:248px;--content-width:820px;display:flex;height:100dvh;min-height:0;overflow:hidden;background:radial-gradient(circle at 74% 6%,rgba(214,231,255,.44),transparent 28%),#f7f9fc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.chat-workbench.theme-loading{visibility:hidden}.chat-workbench.theme-ready{visibility:visible}.chat-sidebar{position:relative;z-index:30;display:flex;width:var(--sidebar-width);min-width:var(--sidebar-width);height:100%;flex-direction:column;border-right:1px solid #e4eaf2;background:rgba(246,249,253,.96);box-shadow:4px 0 22px rgba(49,78,116,.025)}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:20px 17px 16px}.brand-mark,.empty-state-mark,.message-avatar{display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(145deg,#5d9ae7,#3678c9);color:#fff;font-weight:800;box-shadow:0 7px 18px rgba(52,116,198,.22)}.brand-mark{width:34px;height:34px;border-radius:11px;font-size:15px}.sidebar-brand>div:nth-child(2){min-width:0}.sidebar-brand span,.sidebar-brand strong{display:block}.sidebar-brand strong{color:#1d2a3c;font-size:14px;letter-spacing:-.01em}.sidebar-brand span{margin-top:2px;color:#8a98aa;font-size:10px}.sidebar-close{display:none;width:30px;height:30px;margin-left:auto;place-items:center;border:0;border-radius:9px;background:transparent;color:#8090a5;cursor:pointer;font-size:22px}.new-conversation-button{display:flex;height:42px;align-items:center;justify-content:center;gap:7px;margin:0 13px 17px;border:0;border-radius:12px;background:linear-gradient(135deg,#568fdc,#3677c7);color:#fff;box-shadow:0 8px 18px rgba(48,111,194,.2);cursor:pointer;font-size:12px;font-weight:750;transition:transform .14s ease,box-shadow .14s ease}.new-conversation-button:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(48,111,194,.26)}.new-conversation-button span{font-size:17px;font-weight:400}.conversation-history{flex:1 1;min-height:0;padding:0 10px 14px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ccd7e4 transparent}.conversation-group+.conversation-group{margin-top:18px}.conversation-group h2{margin:0 9px 7px;color:#9aa6b6;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.conversation-group-list{display:grid;grid-gap:3px;gap:3px}.conversation-card{position:relative;display:flex;min-height:40px;align-items:center;border:1px solid transparent;border-radius:11px;transition:.14s ease}.conversation-card:hover{border-color:#e3eaf3;background:rgba(255,255,255,.82)}.conversation-card.active{border-color:#d6e6fb;background:#eaf3ff;box-shadow:0 3px 10px rgba(52,104,168,.055)}.conversation-card.active:before{position:absolute;top:10px;bottom:10px;left:-1px;width:3px;border-radius:0 4px 4px 0;background:#4384d3;content:""}.conversation-open{display:flex;min-width:0;flex:1 1;align-items:center;gap:9px;padding:10px 64px 10px 10px;border:0;background:transparent;color:#526176;cursor:pointer;text-align:left}.conversation-card.active .conversation-open{color:#285e9e;font-weight:700}.conversation-icon{display:grid;width:20px;height:20px;place-items:center;flex:0 0 auto;border-radius:7px;background:#edf2f8;color:#8797aa;font-size:10px}.conversation-card.active .conversation-icon{background:#d6e9ff;color:#3479cb}.conversation-title{min-width:0;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.conversation-actions{position:absolute;right:6px;display:flex;align-items:center;gap:2px;opacity:0;transform:translateX(3px);transition:.13s ease}.conversation-card.active .conversation-actions,.conversation-card:focus-within .conversation-actions,.conversation-card:hover .conversation-actions{opacity:1;transform:translateX(0)}.conversation-actions button{display:grid;width:25px;height:25px;place-items:center;border:0;border-radius:7px;background:rgba(255,255,255,.7);color:#8b99aa;cursor:pointer}.conversation-actions button:hover{background:#fff;color:#3479cb}.conversation-actions button.delete:hover{color:#d14a5d}.conversation-actions svg{width:12px;height:12px;fill:currentColor}.conversation-empty{margin:30px 8px;color:#8c9bad;text-align:center}.conversation-empty>span{display:grid;width:35px;height:35px;margin:0 auto 10px;place-items:center;border-radius:12px;background:#e6f1ff;color:#4787d3}.conversation-empty strong{display:block;color:#657589;font-size:11px}.conversation-empty p{margin:5px 0 0;font-size:9px}.sidebar-footer{padding:12px 14px 17px;border-top:1px solid #e7ecf3}.sidebar-footer a{display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:9px;color:#7d8a9b;font-size:10px;text-decoration:none}.sidebar-footer a:hover{background:#edf3fa;color:#356fae}.signout-icon{font-size:14px}.chat-main{display:flex;min-width:0;flex:1 1;flex-direction:column}.chat-header{display:flex;height:58px;min-height:58px;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid rgba(225,232,241,.85);background:rgba(250,252,255,.84);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.chat-header-title{display:flex;min-width:0;flex-direction:column}.chat-header-eyebrow{margin-bottom:1px;color:#9aa6b5;font-size:8px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.chat-header-title strong{overflow:hidden;color:#253246;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.chat-header-actions{display:flex;align-items:center;gap:13px;margin-left:auto}.theme-switcher{position:relative;z-index:15}.theme-trigger{display:flex;height:32px;align-items:center;gap:6px;padding:0 9px;border:1px solid #dce5ef;border-radius:10px;background:rgba(255,255,255,.78);color:#627287;cursor:pointer;font-size:9px;font-weight:700;transition:.14s ease}.theme-trigger:hover,.theme-trigger[aria-expanded=true]{border-color:#bed5ee;background:#fff;color:#3479c8;box-shadow:0 5px 14px rgba(49,86,129,.08)}.theme-trigger svg{width:14px;height:14px;fill:currentColor}.theme-trigger i{margin-left:2px;color:#98a4b3;font-size:11px;font-style:normal}.theme-menu{position:absolute;top:calc(100% + 9px);right:0;width:280px;padding:10px;border:1px solid #dfe6ef;border-radius:15px;background:rgba(255,255,255,.98);box-shadow:0 18px 45px rgba(34,52,78,.16);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.theme-menu-heading{padding:4px 5px 9px}.theme-menu-heading span,.theme-menu-heading strong{display:block}.theme-menu-heading strong{color:#29374a;font-size:11px}.theme-menu-heading span{margin-top:2px;color:#929dac;font-size:9px}.theme-options{display:grid;grid-gap:4px;gap:4px}.theme-options>button{display:grid;grid-template-columns:46px 1fr 20px;align-items:center;grid-gap:9px;gap:9px;padding:8px;border:1px solid transparent;border-radius:11px;background:transparent;cursor:pointer;text-align:left}.theme-options>button:hover{background:#f5f8fc}.theme-options>button.selected{border-color:#d7e7fa;background:#edf5ff}.theme-preview{display:grid;width:46px;height:31px;grid-template-columns:14px 1fr;grid-template-rows:9px 1fr;overflow:hidden;border:1px solid rgba(35,48,65,.1);border-radius:7px;background:#f7f9fc}.theme-preview i{display:block}.theme-preview i:first-child{grid-row:1/3;background:#eef4fb}.theme-preview i:nth-child(2){background:#fff}.theme-preview i:nth-child(3){margin:4px;border-radius:3px;background:#e5f1ff}.theme-preview.balanced{background:#f7f6fb}.theme-preview.balanced i:first-child{background:#efedf7}.theme-preview.balanced i:nth-child(3){background:#e9e4fa}.theme-preview.compact{border-radius:4px;background:#f3f1ec}.theme-preview.compact i:first-child{background:#22262a}.theme-preview.compact i:nth-child(3){background:#e8e5de}.theme-option-copy{min-width:0}.theme-option-copy small,.theme-option-copy strong{display:block}.theme-option-copy strong{color:#405066;font-size:10px}.theme-option-copy small{margin-top:2px;overflow:hidden;color:#98a3b1;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.theme-check{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;color:#347bc9;font-size:10px;font-weight:900}.chat-status{display:flex;align-items:center;gap:6px;color:#789083;font-size:9px}.chat-status>span{width:6px;height:6px;border-radius:50%;background:#43b37a;box-shadow:0 0 0 3px rgba(67,179,122,.1)}.chat-status.busy{color:#7a68b5}.chat-status.busy>span{background:#8069cf;box-shadow:0 0 0 3px rgba(128,105,207,.11);animation:status-pulse 1.2s ease-in-out infinite}@keyframes status-pulse{50%{opacity:.4}}.mobile-menu-button{display:none;width:34px;height:34px;place-content:center;gap:4px;border:1px solid #dde5ef;border-radius:10px;background:#fff;cursor:pointer}.mobile-menu-button span{display:block;width:14px;height:1.5px;border-radius:2px;background:#64758a}.message-scroll-area{min-height:0;flex:1 1;overflow-y:auto;scroll-behavior:smooth}.message-list{width:min(var(--content-width),calc(100% - 48px));margin:0 auto;padding:34px 0 44px}.message-row{display:flex;align-items:flex-start;gap:11px;margin-bottom:28px}.message-row.user{justify-content:flex-end}.message-avatar{width:30px;height:30px;margin-top:19px;border-radius:10px;font-size:11px}.message-content-column{min-width:0;max-width:calc(100% - 42px)}.message-row.user .message-content-column{max-width:78%}.message-role{margin:0 4px 6px;color:#8d99aa;font-size:9px;font-weight:700}.message-row.user .message-role{text-align:right}.message-bubble{color:#344258;font-size:13px;line-height:1.75}.message-row.user .message-bubble{padding:11px 15px;border:1px solid #d7e9ff;border-radius:16px 16px 5px 16px;background:#e9f4ff;color:#264b76;box-shadow:0 4px 14px rgba(52,116,190,.06)}.message-row.assistant .message-bubble{padding:15px 18px;border:1px solid #e7ecf2;border-radius:5px 17px 17px 17px;background:rgba(255,255,255,.92);box-shadow:0 7px 22px rgba(48,66,91,.05)}.message-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}.message-attachment{display:inline-flex;min-width:0;max-width:280px;align-items:center;gap:6px;padding:5px 8px;border:1px solid #d6e7f8;border-radius:8px;background:rgba(255,255,255,.62);font-size:9px}.message-attachment span{color:#4080c4;font-weight:800}.message-attachment strong{overflow:hidden;color:#607186;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content blockquote,.markdown-content ol,.markdown-content p,.markdown-content pre,.markdown-content table,.markdown-content ul{margin:0 0 12px}.markdown-content h1,.markdown-content h2,.markdown-content h3{margin:20px 0 9px;color:#202e42;line-height:1.35}.markdown-content h1{font-size:18px}.markdown-content h2{font-size:16px}.markdown-content h3{font-size:14px}.markdown-content ol,.markdown-content ul{padding-left:20px}.markdown-content li+li{margin-top:4px}.markdown-content blockquote{padding:8px 12px;border-left:3px solid #83afe0;border-radius:0 8px 8px 0;background:#f3f8fe;color:#607187}.markdown-content code{padding:2px 5px;border-radius:5px;background:#eef3f8;color:#2b5f99;font-family:SFMono-Regular,Consolas,monospace;font-size:.9em}.markdown-content pre{overflow-x:auto;padding:13px;border-radius:10px;background:#202a38;color:#e9eef5}.markdown-content pre code{padding:0;background:transparent;color:inherit}.markdown-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.markdown-content td,.markdown-content th{padding:7px 9px;border:1px solid #dfe6ee;text-align:left;white-space:nowrap}.markdown-content th{background:#f2f6fa}.chat-empty-state{display:flex;width:min(620px,calc(100% - 40px));min-height:100%;margin:0 auto;align-items:center;justify-content:center;flex-direction:column;padding:50px 0 80px;color:#748298;text-align:center}.empty-state-mark{width:50px;height:50px;margin-bottom:17px;border-radius:17px;font-size:19px}.empty-state-kicker{color:#4b85c8;font-size:10px;font-weight:800;letter-spacing:.08em}.chat-empty-state h1{margin:7px 0 8px;color:#26364b;font-size:clamp(22px,3vw,31px);letter-spacing:-.04em}.chat-empty-state p{max-width:420px;margin:0;color:#8995a6;font-size:12px;line-height:1.7}.empty-capabilities{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:23px}.empty-capabilities span{padding:7px 10px;border:1px solid #e0eaf5;border-radius:99px;background:rgba(255,255,255,.72);color:#6d7f94;font-size:9px}.sidebar-backdrop{display:none}.composer-wrap{padding:10px 18px 16px;border-top:1px solid #e7eaf2;background:linear-gradient(180deg,rgba(247,249,252,.45),#f7f9fc 38%)}.template-bar{display:flex;width:min(var(--content-width,820px),100%);align-items:center;gap:9px;margin:0 auto 7px;overflow:hidden}.template-bar-label{flex:0 0 auto;color:#929eae;font-size:9px;font-weight:750}.template-list{display:flex;min-width:0;gap:5px;overflow-x:auto;scrollbar-width:none}.template-list::-webkit-scrollbar{display:none}.template-list button{flex:0 0 auto;padding:5px 8px;border:1px solid #dee8f3;border-radius:8px;background:rgba(255,255,255,.72);color:#68798e;cursor:pointer;font-size:9px;transition:.13s ease}.template-list button:hover{border-color:#bfd8f4;background:#edf6ff;color:#3479c8}.composer-card{position:relative;overflow:hidden;max-width:var(--content-width,820px);margin:0 auto;border:1px solid #dfe3ee;border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 14px 34px rgba(46,57,89,.09),0 2px 6px rgba(46,57,89,.04);transition:border-color .16s ease,box-shadow .16s ease}.composer-card:focus-within{border-color:#b7a9ff;box-shadow:0 16px 38px rgba(88,72,190,.12),0 0 0 3px rgba(110,87,255,.08)}.composer-textarea{display:block;width:100%;min-height:88px;padding:15px 18px 9px;resize:vertical;border:0;outline:0;background:transparent;color:#172033;font-size:15px;line-height:1.65}.composer-textarea::placeholder{color:#9aa2b5}.attachment-list{display:flex;gap:8px;padding:14px 18px 0;overflow-x:auto}.attachment-chip{display:inline-flex;align-items:center;min-width:0;max-width:320px;gap:7px;padding:7px 9px;border:1px solid #dce9e2;border-radius:11px;background:#f4fbf7;color:#294638;font-size:12px}.attachment-status{display:grid;width:18px;height:18px;place-items:center;flex:0 0 auto;border-radius:50%;background:#22a06b;color:white;font-size:11px;font-weight:800}.attachment-kind{flex:0 0 auto;color:#16865a;font-weight:700}.attachment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip-remove,.panel-close{display:grid;place-items:center;border:0;background:transparent;color:#8d95a8;cursor:pointer}.chip-remove{width:20px;height:20px;margin-left:2px;border-radius:6px;font-size:16px}.chip-remove:hover,.panel-close:hover{background:#edf0f6;color:#dc3f52}.douyin-panel{margin:0 16px 12px;padding:14px;border:1px solid #eadcf5;border-radius:14px;background:linear-gradient(135deg,#fff8fc,#faf8ff)}.source-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.source-panel-heading strong{display:block;margin-bottom:3px;color:#31233a;font-size:13px}.source-panel-heading span{color:#8d7f98;font-size:11px}.panel-close{width:26px;height:26px;flex:0 0 auto;border-radius:8px;font-size:20px}.douyin-input-row{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px}.douyin-input-row textarea{width:100%;min-height:66px;padding:10px 12px;resize:vertical;border:1px solid #ddd5e7;border-radius:10px;outline:none;background:white;color:#262032;font-size:12px;line-height:1.5}.douyin-input-row textarea:focus{border-color:#aa91d5;box-shadow:0 0 0 3px rgba(128,92,178,.08)}.resolve-button{align-self:stretch;min-width:108px;padding:0 16px;border:0;border-radius:10px;background:#211a27;color:white;cursor:pointer;font-size:12px;font-weight:700}.resolve-button:hover:not(:disabled){background:#4c285a}.resolve-button:disabled{cursor:wait;opacity:.72}.composer-feedback{display:flex;align-items:center;gap:7px;margin-top:9px;font-size:12px}.upload-feedback{margin:0 18px 8px;flex-direction:column;align-items:stretch;gap:6px}.attachment-count{align-self:center;font-size:12px;color:#6b6880}.attachment-chip.sheet .attachment-kind{color:#0969da}.feedback-line{display:flex;align-items:center;gap:7px}.upload-progress{height:4px;border-radius:999px;background:rgba(105,86,167,.16);overflow:hidden}.upload-progress>span{display:block;height:100%;border-radius:inherit;background:currentColor;transition:width .16s linear}.composer-feedback.loading{color:#6956a7}.composer-feedback.success{color:#16865a}.composer-feedback.error{color:#d23f55}.mini-spinner{display:inline-block;width:14px;height:14px;flex:0 0 auto;border:2px solid;border-right:2px solid transparent;border-radius:50%;animation:composer-spin .7s linear infinite}.mini-spinner.light{color:white}@keyframes composer-spin{to{transform:rotate(1turn)}}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-top:1px solid #edf0f5;background:#fbfcfe}.composer-submit-group,.source-actions{display:flex;align-items:center;gap:7px}.source-button{display:inline-flex;height:34px;align-items:center;gap:6px;padding:0 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#596176;cursor:pointer;font-size:12px;font-weight:600;transition:.14s ease}.source-button.active,.source-button:hover{border-color:#ded9f8;background:#f2efff;color:#5b46bb}.source-icon{display:grid;width:19px;height:19px;place-items:center;border-radius:6px;background:#edf0f7;color:#646d82;font-size:13px;font-weight:800}.source-button.active .source-icon,.source-button:hover .source-icon{background:#ded6ff;color:#5d43c2}.douyin-icon{background:#fff0f5;color:#df416d}.thinking-toggle{display:inline-flex;align-items:center;gap:7px;color:#646c7e;cursor:pointer;font-size:12px;font-weight:600;-webkit-user-select:none;-moz-user-select:none;user-select:none}.thinking-toggle input{position:absolute;opacity:0;pointer-events:none}.toggle-track{position:relative;width:31px;height:18px;border-radius:99px;background:#d9dde7;transition:background .15s ease}.toggle-track span{position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:white;box-shadow:0 1px 3px rgba(23,32,51,.2);transition:transform .15s ease}.thinking-toggle input:checked+.toggle-track{background:#7257de}.thinking-toggle input:checked+.toggle-track span{transform:translateX(13px)}.send-button{display:inline-flex;height:38px;align-items:center;gap:7px;padding:0 9px 0 12px;border:0;border-radius:11px;background:linear-gradient(135deg,#6b55d9,#4e3bb4);color:white;box-shadow:0 7px 15px rgba(88,68,191,.23);cursor:pointer;font-size:12px;font-weight:750}.send-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 18px rgba(88,68,191,.28)}.send-button:disabled{cursor:not-allowed;opacity:.42;box-shadow:none}.send-arrow{display:grid;width:19px;height:19px;place-items:center;border-radius:7px;background:rgba(255,255,255,.16);font-size:15px}.send-button kbd{padding:3px 5px;border-radius:6px;background:rgba(255,255,255,.13);color:rgba(255,255,255,.78);font-family:inherit;font-size:9px}.chat-workbench[data-theme=balanced]{--sidebar-width:240px;--content-width:760px;background:radial-gradient(circle at 76% 2%,rgba(225,219,247,.38),transparent 30%),#f7f6fa}[data-theme=balanced] .chat-sidebar{border-color:#e7e3ee;background:rgba(247,246,250,.97)}[data-theme=balanced] .brand-mark,[data-theme=balanced] .empty-state-mark,[data-theme=balanced] .message-avatar{background:linear-gradient(145deg,#8b78c6,#6652a7);box-shadow:0 7px 18px rgba(96,73,158,.19)}[data-theme=balanced] .new-conversation-button,[data-theme=balanced] .send-button{background:linear-gradient(135deg,#8370bd,#62509f);box-shadow:0 8px 18px rgba(89,67,149,.19)}[data-theme=balanced] .conversation-card.active{border-color:#ddd5ee;background:#efebf8}[data-theme=balanced] .conversation-card.active:before{background:#7863b4}[data-theme=balanced] .conversation-card.active .conversation-icon,[data-theme=balanced] .conversation-card.active .conversation-open{color:#66509f}[data-theme=balanced] .conversation-card.active .conversation-icon,[data-theme=balanced] .empty-capabilities span{background:#e7e0f5}[data-theme=balanced] .chat-header{border-color:rgba(229,225,237,.9);background:rgba(250,249,252,.88)}[data-theme=balanced] .theme-trigger:hover,[data-theme=balanced] .theme-trigger[aria-expanded=true]{border-color:#d3c8ea;color:#6d57a6}[data-theme=balanced] .message-row.user .message-bubble{border-color:#ddd5ef;background:#eee9f8;color:#4f416f}[data-theme=balanced] .message-row.assistant .message-bubble{border-color:#e8e4ee}[data-theme=balanced] .composer-wrap{border-color:#e8e4ed;background:linear-gradient(180deg,rgba(248,247,251,.4),#f7f6fa 38%)}[data-theme=balanced] .composer-card:focus-within{border-color:#bcaedb;box-shadow:0 16px 38px rgba(88,67,143,.11),0 0 0 3px rgba(112,87,165,.07)}[data-theme=balanced] .source-button.active,[data-theme=balanced] .source-button:hover{border-color:#ddd4ee;background:#f0ebf8;color:#66509f}.chat-workbench[data-theme=compact]{--sidebar-width:220px;--content-width:760px;background:#f3f1ec}[data-theme=compact] .chat-sidebar{border-color:#32373c;background:#22262a;box-shadow:5px 0 18px rgba(20,22,24,.1)}[data-theme=compact] .sidebar-brand{padding:16px 14px 13px}[data-theme=compact] .brand-mark{width:30px;height:30px;border-radius:6px;background:#eff1f3;color:#22262a;box-shadow:none}[data-theme=compact] .sidebar-brand strong{color:#f1f3f5}[data-theme=compact] .conversation-empty,[data-theme=compact] .conversation-empty p,[data-theme=compact] .conversation-group h2,[data-theme=compact] .sidebar-brand span{color:#818990}[data-theme=compact] .new-conversation-button{height:38px;margin:0 11px 14px;border:1px solid #4a5056;border-radius:6px;background:#2d3237;box-shadow:none;color:#f0f2f4}[data-theme=compact] .new-conversation-button:hover{background:#383e44;box-shadow:none}[data-theme=compact] .conversation-history{padding-right:7px;padding-left:7px;scrollbar-color:#4a5055 transparent}[data-theme=compact] .conversation-group+.conversation-group{margin-top:13px}[data-theme=compact] .conversation-card{min-height:35px;border-radius:6px}[data-theme=compact] .conversation-card:hover{border-color:#3b4147;background:#2a2f34}[data-theme=compact] .conversation-card.active{border-color:#454c53;background:#343a40;box-shadow:none}[data-theme=compact] .conversation-card.active:before{top:7px;bottom:7px;background:#d7d9dc}[data-theme=compact] .conversation-open{padding-top:8px;padding-bottom:8px;color:#aeb5bc}[data-theme=compact] .conversation-card.active .conversation-open{color:#fff}[data-theme=compact] .conversation-card.active .conversation-icon,[data-theme=compact] .conversation-icon{border-radius:4px;background:#3a4046;color:#b8bec4}[data-theme=compact] .conversation-actions button{border-radius:4px;background:#292e33;color:#a7afb6}[data-theme=compact] .conversation-actions button:hover{background:#454b51;color:#fff}[data-theme=compact] .conversation-empty>span{border-radius:6px;background:#30363b;color:#aeb5bb}[data-theme=compact] .conversation-empty strong{color:#b8bec4}[data-theme=compact] .sidebar-footer{border-color:#343a40}[data-theme=compact] .sidebar-footer a{border-radius:5px;color:#929aa2}[data-theme=compact] .sidebar-footer a:hover{background:#30363b;color:#fff}[data-theme=compact] .sidebar-close{color:#b5bbc1}[data-theme=compact] .chat-header{height:52px;min-height:52px;border-color:#e2ded7;background:rgba(249,248,245,.92)}[data-theme=compact] .chat-header-title strong{color:#282c30}[data-theme=compact] .theme-trigger{height:29px;border-radius:6px;border-color:#d9d5ce;background:#fff;color:#555b61}[data-theme=compact] .message-list{padding-top:28px}[data-theme=compact] .message-row{margin-bottom:22px}[data-theme=compact] .message-avatar{border-radius:5px;background:#2d3237;box-shadow:none}[data-theme=compact] .message-row.user .message-bubble{border-color:#d8d4cd;border-radius:7px 7px 2px 7px;background:#e8e5de;color:#373a3d;box-shadow:none}[data-theme=compact] .message-row.assistant .message-bubble{border-color:#e0ddd7;border-radius:2px 8px 8px 8px;box-shadow:0 4px 13px rgba(45,42,37,.04)}[data-theme=compact] .empty-state-mark{border-radius:8px;background:#30353a;box-shadow:none}[data-theme=compact] .empty-state-kicker{color:#68625a}[data-theme=compact] .empty-capabilities span{border-color:#dedad3;border-radius:6px}[data-theme=compact] .composer-wrap{padding-top:8px;border-color:#dfdcd5;background:#f3f1ec}[data-theme=compact] .composer-card{border-color:#d8d4cc;border-radius:10px;box-shadow:0 7px 20px rgba(48,44,38,.065)}[data-theme=compact] .composer-card:focus-within{border-color:#77736c;box-shadow:0 0 0 2px rgba(62,59,54,.08)}[data-theme=compact] .composer-textarea{min-height:76px}[data-theme=compact] .composer-toolbar{background:#f8f7f4}[data-theme=compact] .source-button{border-radius:6px}[data-theme=compact] .source-button.active,[data-theme=compact] .source-button:hover{border-color:#d9d4ca;background:#ece9e3;color:#35383c}[data-theme=compact] .send-button{height:34px;border-radius:6px;background:#292d31;box-shadow:none}@media (max-width:760px){.composer-wrap{padding:10px}.composer-toolbar{align-items:stretch;flex-direction:column}.composer-submit-group,.source-actions{justify-content:space-between}.source-button{padding:0 7px}.douyin-input-row{grid-template-columns:1fr}.resolve-button{min-height:38px}.send-button kbd{display:none}}@media (max-width:900px){.chat-sidebar{position:fixed;top:0;bottom:0;left:0;width:min(286px,86vw);min-width:0;transform:translateX(-105%);transition:transform .19s ease}.chat-sidebar.open{transform:translateX(0);box-shadow:18px 0 42px rgba(28,48,74,.16)}.sidebar-close{display:grid}.sidebar-backdrop{position:fixed;z-index:20;display:block;inset:0;border:0;background:rgba(26,40,60,.28);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);cursor:pointer}.mobile-menu-button{display:grid}}@media (max-width:640px){.chat-header{height:54px;min-height:54px;padding:0 12px}.chat-header-eyebrow,.chat-status{display:none}.chat-header-actions{gap:0}.theme-trigger{width:34px;padding:0;justify-content:center}.theme-trigger>i,.theme-trigger>span{display:none}.theme-menu{width:min(280px,calc(100vw - 24px))}.message-list{width:calc(100% - 24px);padding:23px 0 30px}.message-row{gap:7px;margin-bottom:21px}.message-row.user .message-content-column{max-width:88%}.message-avatar{width:27px;height:27px;margin-top:18px;border-radius:9px;font-size:10px}.message-bubble{font-size:12px}.message-row.assistant .message-bubble{padding:12px 13px}.chat-empty-state{padding-bottom:30px}.empty-capabilities{flex-direction:column}.composer-wrap{padding:8px}.composer-card{border-radius:15px}.composer-textarea{min-height:76px;padding:13px 13px 8px;font-size:13px}.source-actions{flex-wrap:wrap;justify-content:flex-start}.composer-submit-group{justify-content:flex-end}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.export-trigger{display:flex;height:32px;align-items:center;gap:6px;padding:0 10px;border:1px solid #dce5ef;border-radius:10px;background:rgba(255,255,255,.78);color:#627287;cursor:pointer;font-size:9px;font-weight:700;transition:.14s ease}.export-trigger:hover:not(:disabled){border-color:#bed5ee;background:#fff;color:#3479c8;box-shadow:0 5px 14px rgba(49,86,129,.08)}.export-trigger:disabled{cursor:not-allowed;opacity:.45}.export-trigger svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}[data-theme=compact] .export-trigger{height:29px;border-radius:6px;border-color:#d9d5ce;background:#fff;color:#555b61}[data-theme=balanced] .export-trigger:hover:not(:disabled){border-color:#d3c8ea;color:#6d57a6}.export-dialog-backdrop{position:fixed;z-index:60;inset:0;border:0;background:rgba(23,32,51,.34);cursor:pointer}.export-dialog{position:fixed;z-index:61;top:50%;left:50%;width:min(400px,calc(100vw - 32px));padding:22px;border:1px solid #e2e8f2;border-radius:16px;background:#fff;box-shadow:0 24px 60px rgba(28,47,78,.22);transform:translate(-50%,-50%)}.export-dialog h2{margin:0;color:#1d2739;font-size:15px}.export-dialog-subject{overflow:hidden;margin:9px 0 2px;color:#3f4c60;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.export-dialog-meta{margin:0 0 15px;color:#8c98a8;font-size:11px}.export-format-options{display:flex;flex-direction:column;gap:8px}.export-format-options label{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #e3e9f1;border-radius:11px;cursor:pointer;transition:.14s ease}.export-format-options label.selected,.export-format-options label:hover{border-color:#b9d3ef;background:#f5f9ff}.export-format-options input{margin:2px 0 0;accent-color:#3479c8}.export-format-copy{display:flex;flex-direction:column;gap:2px}.export-format-copy strong{color:#24303f;font-size:12px}.export-format-copy small{color:#8b97a7;font-size:10px}.export-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.export-dialog-actions button{height:32px;padding:0 16px;border-radius:9px;cursor:pointer;font-size:11px;font-weight:700;transition:.14s ease}.export-dialog-cancel{border:1px solid #dce3ec;background:#fff;color:#64707f}.export-dialog-cancel:hover{background:#f4f6fa}.export-dialog-confirm{border:1px solid #3479c8;background:#3479c8;color:#fff}.export-dialog-confirm:hover{background:#2b6ab4}.print-view{max-width:780px;margin:0 auto;padding:32px 24px 48px;color:#344258;font-family:Inter,PingFang SC,Microsoft YaHei,Hiragino Sans GB,Noto Sans CJK SC,ui-sans-serif,system-ui,sans-serif;font-size:13px;line-height:1.75}.print-header{margin-bottom:30px;padding-bottom:14px;border-bottom:1px solid #e2e8f2}.print-header h1{margin:0 0 5px;color:#1d2739;font-size:18px}.print-header p{margin:0;color:#8d99aa;font-size:10px;font-weight:700}.print-empty{color:#8d99aa}.print-row{display:flex;align-items:flex-start;gap:11px;margin-bottom:24px}.print-row.user{justify-content:flex-end}.print-avatar{display:grid;width:30px;height:30px;flex:0 0 auto;margin-top:19px;border-radius:10px;background:linear-gradient(145deg,#5d9ae7,#3678c9);color:#fff;font-size:11px;font-weight:800;place-items:center}.print-column{min-width:0;max-width:calc(100% - 42px)}.print-row.user .print-column{max-width:78%}.print-role{margin:0 4px 6px;color:#8d99aa;font-size:9px;font-weight:700}.print-row.user .print-role{text-align:right}.print-bubble{font-size:13px;line-height:1.75}.print-row.user .print-bubble{padding:11px 15px;border:1px solid #d7e9ff;border-radius:16px 16px 5px 16px;background:#e9f4ff;color:#264b76}.print-row.assistant .print-bubble{padding:15px 18px;border:1px solid #e7ecf2;border-radius:5px 17px 17px 17px;background:#fff}.print-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}.print-attachment{display:inline-flex;min-width:0;max-width:280px;align-items:center;gap:6px;padding:5px 8px;border:1px solid #d6e7f8;border-radius:8px;background:rgba(255,255,255,.62);font-size:9px}.print-attachment span{flex:0 0 auto;color:#3479c8;font-weight:700}.print-attachment strong{overflow:hidden;color:#43506a;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.print-markdown>:first-child{margin-top:0}.print-markdown>:last-child{margin-bottom:0}.print-markdown table{width:100%;border-collapse:collapse;margin:10px 0;font-size:11px}.print-markdown td,.print-markdown th{padding:5px 8px;border:1px solid #dbe3ec;text-align:left}.print-markdown th{background:#f2f6fb}.print-markdown pre{overflow-x:auto;padding:10px;border-radius:8px;background:#f4f6fa;font-size:11px}.print-markdown img{max-width:100%}@media print{@page{margin:14mm 12mm}body{background:#fff}.print-view,.print-view *{print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-view{max-width:none;padding:0}.print-markdown pre,.print-markdown table,.print-row{page-break-inside:avoid;break-inside:avoid}.print-markdown pre{white-space:pre-wrap;word-break:break-word}}