.chart-panel{margin-top:12px;padding:12px 14px 8px;background:var(--bg-secondary, #f5f5f5);border:1px solid var(--border, #ddd);border-radius:8px;overflow:hidden}.chart-title{font-size:12px;font-weight:600;color:var(--text-secondary, #555);margin:0 0 8px;text-transform:uppercase;letter-spacing:.04em}.stat-row{display:flex;gap:16px;flex-wrap:wrap}.stat-card{display:flex;flex-direction:column;align-items:center;background:var(--bg-primary, #fff);border:1px solid var(--border, #ddd);border-radius:6px;padding:10px 20px;min-width:90px}.stat-value{font-size:22px;font-weight:700;color:#099;line-height:1.1}.stat-label{font-size:11px;color:var(--text-secondary, #777);margin-top:4px;text-align:center}.bubble-charts{display:flex;flex-direction:column;gap:12px;margin-top:4px}.bubble-row{display:flex;align-items:flex-end;gap:10px;padding:4px 20px;max-width:900px;width:100%;margin:0 auto 8px;animation:fadeUp .2s ease}@keyframes fadeUp{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.bubble-row--user{flex-direction:row-reverse;align-items:flex-end}.bubble-row--assistant{flex-direction:row}.bubble-avatar{flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#099;color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}.bubble-avatar--user{background:linear-gradient(135deg,#0aa,#077);box-shadow:0 1px 6px #00999959}.bubble{max-width:78%;border-radius:14px;padding:11px 16px;font-size:14px;line-height:1.65;word-break:break-word}.bubble--user{background:linear-gradient(135deg,#0aa,#077);color:#fff;border-bottom-right-radius:4px;box-shadow:0 2px 12px #0099994d,0 1px 3px #0000001f;position:relative}.bubble--user .bubble-text{font-size:14px;line-height:1.65;font-weight:400;letter-spacing:.01em}.bubble--assistant{background:#fff;border:1px solid #e0e4ea;color:#1a1a2e;border-bottom-left-radius:4px;box-shadow:0 2px 10px #00000012,0 1px 3px #0000000d;overflow:hidden}.bubble-text{margin:0;white-space:pre-wrap}.bubble-markdown p{margin:0 0 10px}.bubble-markdown p:last-child{margin-bottom:0}.bubble-markdown strong{color:#1a1a2e;font-weight:700}.bubble-markdown h1{font-size:17px;font-weight:700;color:#099;margin:16px 0 8px;border-bottom:1px solid #e2eeee;padding-bottom:4px}.bubble-markdown h2{font-size:15px;font-weight:700;color:#099;margin:14px 0 6px;border-bottom:1px solid #e2eeee;padding-bottom:3px}.bubble-markdown h3{font-size:14px;font-weight:600;color:#fff;background:linear-gradient(90deg,#088,#099);margin:16px -16px 0;padding:9px 16px;letter-spacing:.01em;border-radius:0}.bubble-markdown h4{font-size:13.5px;font-weight:600;color:#377;margin:16px -16px 10px;padding:7px 16px;background:#f5fafa;border-top:1px solid #e2eeee;border-bottom:1px solid #e2eeee;letter-spacing:.01em;text-transform:none}.bubble-markdown code{font-size:12.5px;background:#f0f7f7;padding:1px 5px;border-radius:3px;color:#377;font-family:Cascadia Code,Fira Code,Courier New,Courier,monospace;border:none}.code-block-wrapper{border-radius:6px;overflow:hidden;margin:10px 0;border:1px solid #e2eeee;box-shadow:0 1px 3px #0000000a}.code-block-header{display:flex;align-items:center;justify-content:space-between;background:#f5fafa;padding:4px 14px;border-bottom:1px solid #e2eeee;min-height:26px}.code-block-lang{font-size:11px;font-weight:600;color:#377;text-transform:uppercase;letter-spacing:.07em;font-family:Cascadia Code,Fira Code,Courier New,Courier,monospace}.code-block-copy-btn{display:flex;align-items:center;gap:4px;font-size:11.5px;font-weight:400;color:#377;background:transparent;border:1px solid #e2eeee;border-radius:4px;padding:2px 9px;cursor:pointer;transition:background .12s,border-color .12s;white-space:nowrap;flex-shrink:0}.code-block-copy-btn:hover{background:#eaf6f6;border-color:#099;color:#099}.code-block-pre{background:#f9fcfc;margin:0;padding:12px 16px;overflow-x:auto}.code-block-pre code{background:none!important;padding:0!important;border:none!important;color:#2d3748;font-size:12.5px;font-family:Cascadia Code,Fira Code,Courier New,Courier,monospace;line-height:1.65;white-space:pre}.action-item-details{margin:5px -16px;border-left:none;border-right:none;border-top:1px solid #e2eeee;border-bottom:1px solid #e2eeee;border-radius:0;overflow:hidden;box-shadow:none}.action-item-details+.action-item-details{margin-top:-1px}.action-item-summary{display:flex;align-items:center;gap:7px;padding:7px 16px;background:#f9fcfc;cursor:pointer;-webkit-user-select:none;user-select:none;list-style:none}.action-item-summary::-webkit-details-marker{display:none}.action-item-badge{flex-shrink:0;width:20px;height:20px;border-radius:50%;background:#b85c30;color:#e2eeee;font-size:14px;font-weight:600;letter-spacing:.01em;display:flex;align-items:center;justify-content:center;line-height:1}.action-item-chevron{flex-shrink:0;font-size:24px;color:#099;margin-left:auto;padding-left:8px;opacity:.7}.action-item-title{flex:1;font-size:14px;font-weight:500;color:#1a1a2e;line-height:1.3}.action-item-body{padding:10px 16px 12px;border-top:1px solid #e2eeee;background:#fff}.action-item-body .code-block-wrapper{margin:8px 0}.additional-changes-section{margin:10px 0;border:1px solid #e2eeee;border-radius:6px;overflow:hidden}.additional-changes-summary{display:flex;align-items:center;gap:7px;padding:9px 14px;background:#f5fafa;cursor:pointer;-webkit-user-select:none;user-select:none;list-style:none}.additional-changes-summary::-webkit-details-marker{display:none}.additional-changes-label{font-size:13.5px;font-weight:600;color:#377}.additional-changes-body{padding:8px 12px 12px;border-top:1px solid #e2eeee;display:flex;flex-direction:column;gap:4px}[data-theme=dark] .additional-changes-section{border-color:#1e3030}[data-theme=dark] .additional-changes-summary{background:#0f1e1e}[data-theme=dark] .additional-changes-label{color:#0bb}[data-theme=dark] .additional-changes-body{border-top-color:#1e3030}[data-theme=dark] .code-block-wrapper{border-color:#1e3030;box-shadow:none}[data-theme=dark] .code-block-header{background:#0f1e1e;border-bottom-color:#1e3030}[data-theme=dark] .code-block-lang{color:#0bb}[data-theme=dark] .code-block-copy-btn{color:#0bb;background:transparent;border-color:#1e3030}[data-theme=dark] .code-block-copy-btn:hover{background:#0d2626;border-color:#099;color:#099}[data-theme=dark] .code-block-pre{background:#111818}[data-theme=dark] .code-block-pre code{color:#c8dcdc}[data-theme=dark] .action-item-details{border-color:#1e3030}[data-theme=dark] .action-item-summary{background:#0f1e1e}[data-theme=dark] .action-item-badge{background:#ff9d5c;color:#fff}[data-theme=dark] .action-item-chevron{color:#099}[data-theme=dark] .action-item-title{color:#c8dcdc}[data-theme=dark] .action-item-body{background:#0a1616;border-top-color:#1e3030}.bubble-markdown>pre{background:#1a1a2e;border:none;border-radius:10px;padding:14px 16px;overflow-x:auto;margin:10px 0;box-shadow:inset 0 1px 4px #00000040}.bubble-markdown>pre code{background:none;padding:0;color:#cde8e8;font-size:12.5px;border:none}.bubble-markdown ol,.bubble-markdown ul{padding-left:22px;margin:8px 0}.bubble-markdown li{margin-bottom:5px;line-height:1.6}.bubble-markdown ul li::marker{color:#099}.bubble-markdown blockquote{border-left:none;margin:0 0 14px;padding:10px 16px;background:#fffaf6;border-radius:0 0 6px 6px;border-top:2px solid #e09060;color:#6b3820;font-style:normal;box-shadow:none}.bubble-markdown blockquote strong{color:#b85c30;font-weight:600;font-size:14px;letter-spacing:.01em}.bubble-markdown blockquote p{margin:0;line-height:1.55;font-size:14px}.bubble-markdown hr{display:none}.bubble-markdown table{border-collapse:collapse;width:100%;font-size:13.5px;margin:10px 0;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px #00000012}.bubble-markdown th{background:#099;color:#fff;font-weight:600;padding:8px 12px;text-align:left;font-size:12px;letter-spacing:.03em;text-transform:uppercase}.bubble-markdown td{padding:7px 12px;border-bottom:1px solid #e8eeee;color:#1a1a2e}.bubble-markdown tr:last-child td{border-bottom:none}.bubble-markdown tr:nth-child(2n) td{background:#f5fbfb}.bubble-markdown tr:hover td{background:#edf9f9;transition:background .1s}.bubble-files{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.file-chip{font-size:12px;background:#ffffff40;border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:20px;padding:2px 10px}.thinking-status{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding:6px 10px;border-radius:8px;background:#f0f8f8;border:1px solid #d0e8e8}.thinking-status--inline{margin-bottom:10px}.thinking-label{font-size:13.5px;color:#077;font-style:italic}.thinking-dots{display:inline-flex;align-items:center;gap:3px}.thinking-dots:before,.thinking-dots:after{content:"●";font-size:8px;color:#099;animation:dots-fade 1.4s ease-in-out infinite}.thinking-dots:before{animation-delay:0s}.thinking-dots:after{animation-delay:.28s}.thinking-steps{display:flex;flex-direction:column;gap:4px;width:100%}.thinking-step{display:flex;align-items:center;gap:8px}.thinking-step--done .thinking-label{color:#555;font-style:normal;opacity:.75}.thinking-step--active .thinking-label{color:#077;font-style:italic}.thinking-step-check{font-size:11px;color:#099;font-style:normal;width:16px;text-align:center;flex-shrink:0}.thinking-details{margin:8px 0 10px;border:1px solid #d7e7e7;background:#f8fbfb;border-radius:8px;overflow:hidden}.thinking-details-body{padding:8px 10px 10px;white-space:pre-wrap;max-height:180px;overflow:auto;font-size:12px;line-height:1.5;color:#2f4f4f}.thinking-details-step{position:relative;padding-left:14px;margin:3px 0}.thinking-details-step:before{content:"•";position:absolute;left:0;color:#099}.progress-checklist{display:flex;flex-direction:column;gap:5px;margin:4px 0 12px;padding:10px 12px;background:#f8fbfb;border:1px solid #d7e7e7;border-radius:8px}.progress-step{display:flex;align-items:center;gap:8px;font-size:13.5px;line-height:1.4}.progress-step-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px}.progress-step--done .progress-step-label{color:#5a7070;text-decoration:none}.progress-step--active .progress-step-label{color:#077;font-weight:500}.progress-spinner{display:inline-block;width:13px;height:13px;border:2px solid #c8e8e8;border-top-color:#099;border-radius:50%;animation:progress-spin .7s linear infinite}@keyframes progress-spin{to{transform:rotate(360deg)}}@keyframes dots-fade{0%,60%,to{opacity:.25}30%{opacity:1}}.typing-cursor{display:inline-block;width:2px;height:14px;background:#099;border-radius:2px;margin-left:3px;vertical-align:middle;animation:blink 1s step-end infinite}.source-line{font-size:12px;font-style:italic;color:#889aaa;margin:4px 0 0;line-height:1.5}[data-theme=dark] .source-line{color:#6a8a8a}.citation-chip{display:inline-block;font-size:11.5px;font-style:normal;font-weight:500;color:#377;background:#f0f8f8;border:1px solid #e2eeee;border-radius:12px;padding:1px 9px;margin:0 2px;white-space:nowrap;vertical-align:middle;line-height:1.6}[data-theme=dark] .citation-chip{color:#0bb;background:#0f1e1e;border-color:#1e3030}.feedback-bar{display:flex;align-items:center;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid #eef2f2}.feedback-label{font-size:11.5px;color:#8a9aaa;margin-right:2px;-webkit-user-select:none;user-select:none}.feedback-btn{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:1px solid #dde4e4;background:#f7fafa;color:#8a9aaa;cursor:pointer;transition:background .15s,color .15s,border-color .15s,transform .1s;flex-shrink:0}.feedback-btn:hover{background:#e8f5f5;border-color:#099;color:#099;transform:scale(1.1)}.feedback-btn--active.feedback-btn--up{background:#e6f9f0;border-color:#0a6;color:#0a6}.feedback-btn--active.feedback-btn--down{background:#fff0ee;border-color:#e05a00;color:#e05a00}.feedback-btn--copied{background:#e6f9f0;border-color:#0a6;color:#0a6}.feedback-divider{width:1px;height:16px;background:#dde4e4;flex-shrink:0}.feedback-thanks{font-size:11.5px;color:#6aaa88;font-style:italic;margin-left:4px;animation:fadeUp .2s ease}[data-theme=dark] .feedback-bar{border-top-color:#1e2a2a}[data-theme=dark] .feedback-label{color:#5a7a7a}[data-theme=dark] .feedback-btn{background:#0f1f1f;border-color:#1e3030;color:#5a8a8a}[data-theme=dark] .feedback-btn:hover{background:#0d2a2a;border-color:#099;color:#099}[data-theme=dark] .feedback-btn--active.feedback-btn--up{background:#0d2820;border-color:#0a6;color:#0a6}[data-theme=dark] .feedback-btn--active.feedback-btn--down{background:#2a1008;border-color:#e05a00;color:#e05a00}[data-theme=dark] .feedback-btn--copied{background:#0d2820;border-color:#0a6;color:#0a6}[data-theme=dark] .feedback-divider{background:#1e3030}[data-theme=dark] .feedback-thanks{color:#4a9a6a}@keyframes blink{50%{opacity:0}}.show-charts-btn{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:6px 16px;font-size:13px;font-weight:600;color:#099;background:transparent;border:1.5px solid #009999;border-radius:20px;cursor:pointer;transition:background .15s,color .15s}.show-charts-btn:hover{background:#099;color:#fff}[data-theme=dark] .show-charts-btn{color:#0cc;border-color:#0cc}[data-theme=dark] .show-charts-btn:hover{background:#0cc;color:#111}[data-theme=dark] .bubble--assistant{background:#252535;border-color:#2e2e44;color:#e2e4f0}[data-theme=dark] .bubble-markdown strong{color:#e2e4f0}[data-theme=dark] .bubble-markdown code{background:#1a1a2a;color:#0cc}[data-theme=dark] .bubble-markdown pre{background:#1a1a2a;border-color:#2e2e44}[data-theme=dark] .bubble-markdown th{background:#2a2a3a;color:#aab0c0;border-color:#2e2e44}[data-theme=dark] .bubble-markdown td{border-color:#2e2e44;color:#c8cdd8}[data-theme=dark] .bubble-markdown tr:nth-child(2n) td{background:#20202e}[data-theme=dark] .bubble-markdown h3{color:#e0f4f4;background:linear-gradient(90deg,#066,#088)}[data-theme=dark] .bubble-markdown h4{color:#0bb;background:#0f1e1e;border-color:#1e3030}[data-theme=dark] .bubble-markdown blockquote{background:#1e1208;border-top-color:#c07040;color:#d4a080}[data-theme=dark] .bubble-markdown blockquote strong{color:#d48050}[data-theme=dark] .thinking-details{border-color:#1a4444;background:#132123}[data-theme=dark] .thinking-details-body{border-top-color:#1a4444;color:#b8d6d6}[data-theme=dark] .thinking-details-step:before{color:#5cc8c8}.debug-panel{margin-top:12px;padding:10px 14px;background:#f0f4f8;border:1px solid #d0d8e0;border-radius:8px;font-size:12px;font-family:Cascadia Code,Fira Code,Courier New,Courier,monospace}.debug-header{font-weight:700;font-size:13px;color:#555;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid #d0d8e0}.debug-section{margin-bottom:12px}.debug-section:last-child{margin-bottom:0}.debug-section-title{font-weight:600;font-size:11px;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.debug-row{display:flex;align-items:center;gap:8px;padding:3px 0;position:relative}.debug-row--sub{padding-left:12px;font-size:11px;color:#666}.debug-row--total{margin-top:6px;padding-top:6px;border-top:1px dashed #d0d8e0}.debug-label{color:#666;min-width:120px}.debug-value{font-weight:600;color:#333;min-width:50px}.debug-value--bold{font-weight:700;color:#222}.debug-value--mono{font-family:SF Mono,Consolas,monospace;font-size:11px;background:#e4e8ec;padding:1px 6px;border-radius:4px}.debug-value--tcdoctor{font-family:SF Mono,Consolas,monospace;font-size:11px;background:#e8f4e8;color:#2a6a2a;padding:1px 6px;border-radius:4px;border:1px solid #b8d8b8}.debug-value--tcdoctor-empty{background:#f0f0f0;color:#888;border-color:#ccc}.debug-bar{height:6px;border-radius:3px;flex-shrink:0;max-width:120px}.debug-tier{color:#888;font-size:11px}.debug-specialist{margin-top:6px;padding-top:6px;border-top:1px dashed #d8dce4}.debug-specialist:first-child{margin-top:0;padding-top:0;border-top:none}.debug-tool-calls{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.debug-tool-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:#e8eef4;border:1px solid #d0d8e0;border-radius:12px;font-size:11px;font-weight:500;color:#446}.debug-tool-time{color:#888;font-size:10px;font-weight:400}[data-theme=dark] .debug-panel{background:#1a2030;border-color:#2a3040}[data-theme=dark] .debug-header{color:#89a;border-bottom-color:#2a3040}[data-theme=dark] .debug-section-title{color:#7899aa}[data-theme=dark] .debug-row--sub{color:#789}[data-theme=dark] .debug-row--total{border-top-color:#2a3040}[data-theme=dark] .debug-label{color:#899}[data-theme=dark] .debug-value{color:#c8d0e0}[data-theme=dark] .debug-value--bold{color:#e0e8f0}[data-theme=dark] .debug-value--mono{background:#252535;color:#0cc}[data-theme=dark] .debug-value--tcdoctor{background:#1a2e1a;color:#6c6;border-color:#2a4a2a}[data-theme=dark] .debug-value--tcdoctor-empty{background:#2a2a2a;color:#666;border-color:#444}[data-theme=dark] .debug-tier{color:#678}[data-theme=dark] .debug-specialist{border-top-color:#2a3040}[data-theme=dark] .debug-tool-chip{background:#252535;border-color:#3a3a4a;color:#abc}[data-theme=dark] .debug-tool-time{color:#678}.debug-raw-details{margin-top:6px}.debug-raw-summary{font-size:11px;color:#567;cursor:pointer;-webkit-user-select:none;user-select:none;padding:2px 0}.debug-raw-summary:hover{color:#345}.debug-raw-script-label{font-size:10px;font-family:SF Mono,Consolas,monospace;color:#678;margin:6px 0 2px;text-transform:uppercase;letter-spacing:.05em}.debug-raw-pre{font-family:SF Mono,Consolas,monospace;font-size:10px;background:#f4f6f8;border:1px solid #dde0e4;border-radius:4px;padding:6px 8px;margin:0;max-height:200px;overflow-y:auto;white-space:pre-wrap;word-break:break-word;color:#334}.debug-raw-pre--llm{background:#f0f4ff;border-color:#c0ccee;color:#223}.debug-parser-grid{margin-top:4px;display:grid;grid-template-columns:auto 1fr;gap:2px 8px}.debug-parser-row{display:contents}.debug-parser-key{font-size:11px;color:#667;text-align:right;white-space:nowrap}.debug-parser-val{font-size:11px;font-family:SF Mono,Consolas,monospace;font-weight:600;color:#334}.debug-parser-list-block{grid-column:1 / -1;margin-top:4px}.debug-parser-list-label{font-size:11px;color:#667;font-weight:600;margin-bottom:2px;text-transform:capitalize}.debug-parser-list{margin:0 0 4px 14px;padding:0;list-style:disc}.debug-parser-list-item{font-size:10px;font-family:SF Mono,Consolas,monospace;color:#334;line-height:1.5;word-break:break-all}[data-theme=dark] .debug-raw-summary{color:#7899aa}[data-theme=dark] .debug-raw-summary:hover{color:#abc}[data-theme=dark] .debug-raw-script-label{color:#567}[data-theme=dark] .debug-raw-pre{background:#1a1e28;border-color:#2a3040;color:#c0ccd8}[data-theme=dark] .debug-raw-pre--llm{background:#1a1e30;border-color:#2a3060;color:#b8c8e8}[data-theme=dark] .debug-parser-key{color:#7899aa}[data-theme=dark] .debug-parser-val{color:#c8d0e0}[data-theme=dark] .debug-parser-list-label{color:#7899aa}[data-theme=dark] .debug-parser-list-item{color:#b0bcc8}.chat-input-outer{border-top:1px solid #e0e4ea;background:#fff;flex-shrink:0}.new-chat-fab{height:34px;padding:0 12px;gap:4px;border-radius:6px;background:var(--siemens-teal, #009999);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none;transition:background .15s;flex-shrink:0;font-size:11px;font-weight:600;white-space:nowrap}.new-chat-fab:hover:not(:disabled){background:var(--siemens-teal-d, #007777)}.new-chat-fab:disabled{opacity:.5;cursor:not-allowed}.chat-input-wrap{padding:12px 20px 16px;max-width:900px;width:100%;margin:0 auto;box-sizing:border-box}.chat-input-controls{display:flex;align-items:center;gap:16px}.staged-files{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.staged-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#077;background:#e6f7f7;border:1px solid #b2e0e0;border-radius:20px;padding:3px 10px}.staged-remove{background:none;border:none;color:#888;cursor:pointer;font-size:12px;padding:0;line-height:1;transition:color .15s}.staged-remove:hover{color:#c0392b}.chat-input-row{display:flex;align-items:center;gap:8px;background:#f4f5f7;border:1px solid #e0e4ea;border-radius:12px;padding:6px 8px;transition:border-color .15s,box-shadow .15s;flex:1}.chat-input-row:focus-within{border-color:#099;box-shadow:0 0 0 3px #0099991f}.attach-btn{flex-shrink:0;background:none;border:none;border-radius:7px;color:#888;font-size:18px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .15s,background .15s}.attach-btn:hover:not(:disabled){color:#099;background:#e6f7f7}.attach-btn:disabled{opacity:.35;cursor:default}.chat-textarea{flex:1;background:transparent;border:none;color:#1a1a2e;font-size:14px;line-height:1.6;padding:4px 6px;resize:none;outline:none;font-family:inherit;overflow-y:hidden;min-height:28px;max-height:200px}.chat-textarea::placeholder{color:#aab0bc}.chat-textarea:disabled{opacity:.5}.send-btn{flex-shrink:0;height:34px;padding:0 12px;gap:4px;border-radius:6px;border:none;background:var(--siemens-teal, #009999);color:#fff;font-size:11px;font-weight:600;white-space:nowrap;cursor:default;opacity:.5;transition:background .15s,opacity .15s;display:flex;align-items:center;justify-content:center}.send-btn--active{background:var(--siemens-teal, #009999);color:#fff;opacity:1;cursor:pointer}.send-btn--active:hover{background:var(--siemens-teal-d, #007777);color:#fff;cursor:pointer}.send-btn:disabled{background:var(--siemens-teal, #009999);opacity:.5;cursor:not-allowed}.stop-btn{flex-shrink:0;height:34px;border-radius:8px;border:1.5px solid #e05050;background:#fff0f0;color:#e05050;font-size:12px;cursor:pointer;transition:background .15s,color .15s;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;font-weight:500;white-space:nowrap}.stop-btn:hover{background:#e05050;color:#fff}.stop-btn svg{color:#e05050;fill:#e05050}.chat-disclaimer{margin:12px 0 0;text-align:left;font-size:11px;color:#aab0bc;line-height:1.4}.disclaimer-link{color:var(--siemens-teal, #009999);text-decoration:underline;text-underline-offset:2px}.disclaimer-link:hover{color:var(--siemens-teal-d, #007777)}[data-theme=dark] .chat-input-outer{background:var(--white);border-top-color:var(--border)}[data-theme=dark] .chat-input-row{background:var(--surface);border-color:var(--border)}[data-theme=dark] .chat-input-row:focus-within{border-color:var(--siemens-teal);box-shadow:0 0 0 3px #00999926}[data-theme=dark] .chat-textarea{color:var(--text-primary)}[data-theme=dark] .chat-textarea::placeholder{color:var(--text-secondary)}[data-theme=dark] .send-btn{background:var(--siemens-teal, #009999);color:#fff}[data-theme=dark] .chat-disclaimer{color:var(--text-secondary)}[data-theme=dark] .staged-chip{background:var(--siemens-teal-l);border-color:#2a6666;color:var(--siemens-teal-d)}[data-theme=dark] .stop-btn{background:#2a1515;border-color:#c33;color:#f88}[data-theme=dark] .stop-btn svg{color:#f88;fill:#f88}.about-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.about-modal{background:#fff;border:1px solid #e0e4ea;border-radius:14px;width:100%;max-width:560px;max-height:90vh;overflow-y:auto;padding:28px 28px 20px;position:relative;box-shadow:0 16px 48px #0000001f}.about-close{position:absolute;top:14px;right:16px;background:none;border:none;color:#888;font-size:18px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:color .15s,background .15s}.about-close:hover{color:#1a1a2e;background:#f4f5f7}.about-header{display:flex;align-items:center;gap:14px;margin-bottom:24px}.about-logo{font-size:36px}.about-header h2{font-size:17px;font-weight:700;color:#1a1a2e;margin:0}.about-header p{font-size:13px;color:#6b7280;margin:3px 0 0}.about-section{border-top:1px solid #e0e4ea;padding:16px 0}.about-section h3{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#099;margin:0 0 12px}.about-kv{display:grid;grid-template-columns:80px 1fr;gap:6px 12px;font-size:13px}.kv-key{color:#6b7280}.kv-val{color:#1a1a2e;font-family:Courier New,monospace}.kv-val.status-connected{color:#28a745}.kv-val.status-error{color:#dc3545}.agent-list{display:flex;flex-direction:column;gap:10px}.agent-card{display:flex;gap:12px;align-items:flex-start;background:#f8f9fb;border:1px solid #e0e4ea;border-radius:8px;padding:12px 14px}.agent-icon{font-size:22px;flex-shrink:0;margin-top:1px}.agent-card strong{font-size:14px;color:#1a1a2e;display:block;margin-bottom:4px}.agent-card p{font-size:12px;color:#6b7280;margin:0 0 6px;line-height:1.5}.agent-card code{font-size:11px;color:#077;background:#e6f7f7;padding:2px 6px;border-radius:4px}.skill-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.skill-chip{font-size:12px;font-family:Courier New,monospace;color:#077;background:#e6f7f7;border:1px solid #b2e0e0;border-radius:20px;padding:3px 12px}.about-steps{margin:0;padding-left:20px;font-size:13px;color:#4b5563;line-height:1.9}.about-warn{font-size:13px;color:#dc3545;margin:0}.about-muted{font-size:13px;color:#6b7280;margin:0;line-height:1.6}.about-muted a{color:#099}.about-footer{border-top:1px solid #e0e4ea;padding-top:14px;margin-top:4px;font-size:12px;color:#9ca3af;text-align:center}.login-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:var(--bg, #f5f5f5);z-index:1000}[data-theme=dark] .login-overlay{background:#111}.login-card{background:var(--surface, #fff);border:1px solid var(--border, #e0e0e0);border-radius:12px;padding:40px 48px;width:100%;max-width:420px;text-align:center;box-shadow:0 4px 24px #00000014}[data-theme=dark] .login-card{background:#1a1a1a;border-color:#333;box-shadow:0 4px 24px #0006}.login-logo{margin:0 auto 20px;width:52px;height:52px}.login-logo svg{width:52px;height:52px}.login-title{font-size:1.3rem;font-weight:700;color:var(--text, #009999);margin:0 0 8px}.login-sub{font-size:.875rem;color:var(--text-muted, #666);margin:0 0 24px;line-height:1.5}.login-form{display:flex;flex-direction:column;gap:12px}.login-input{width:100%;padding:10px 14px;font-size:.95rem;border:1px solid var(--border, #ccc);border-radius:6px;background:var(--bg, #fff);color:var(--text, #111);box-sizing:border-box;outline:none;transition:border-color .15s}.login-input:focus{border-color:#099}[data-theme=dark] .login-input{background:#222;border-color:#444;color:#eee}.login-error{font-size:.8rem;color:#d32f2f;margin:0;text-align:left}.login-btn{padding:11px;background:#099;color:#fff;font-size:.95rem;font-weight:600;border:none;border-radius:6px;cursor:pointer;transition:background .15s,opacity .15s,box-shadow .15s,transform .15s}.login-btn:hover:not(:disabled){background:#007a7a;box-shadow:0 0 0 3px #00999940;transform:translateY(-1px)}.login-btn:disabled{opacity:.5;cursor:not-allowed}.login-note{font-size:.75rem;color:var(--text-muted, #999);margin-top:20px}.ws-files{border-top:1px solid var(--border, #e0e0e0);padding:10px 8px;margin-top:4px}.ws-files-header{display:flex;align-items:center;gap:4px;padding:4px 8px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#8a93a6}.ws-files-label{flex:1;padding:6px 0 4px;margin:0;font-size:13px;font-weight:600}.ws-files-toggle{background:none;border:none;cursor:pointer;color:#8a93a6;display:flex;align-items:center;padding:2px;border-radius:3px;transition:color .15s;flex-shrink:0}.ws-files-toggle:hover{color:#099}.ws-files-header--collapsed{justify-content:center;padding:6px 0;opacity:.6}.ws-refresh-btn{background:none;border:none;cursor:pointer;color:#8a93a6;display:flex;align-items:center;padding:2px;border-radius:3px;transition:color .15s}.ws-refresh-btn:hover{color:#099}.ws-files-list{display:flex;flex-direction:column;gap:2px;max-height:320px;overflow-y:auto;padding:4px 8px}.ws-file-item{display:flex;align-items:flex-start;gap:8px;padding:5px 6px;border-radius:6px;cursor:default;transition:background .12s;min-width:0}.ws-file-item:hover{background:var(--hover, rgba(0,153,153,.08))}.ws-file-icon{font-size:.9rem;flex-shrink:0}.ws-file-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.ws-file-name{font-size:13px;color:var(--text-primary, #e2e4f0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-file-meta{font-size:.68rem;color:var(--text-secondary, #8890a4)}.ws-attach-btn{background:none;border:none;border-radius:4px;cursor:pointer;color:var(--text-muted, #888);display:flex;align-items:center;padding:3px 5px;flex-shrink:0;transition:color .12s,background .12s}.ws-attach-btn:hover{color:#099;background:#0099990f}.ws-delete-btn{background:none;border:none;border-radius:4px;cursor:pointer;color:var(--text-muted, #aaa);display:flex;align-items:center;padding:3px 5px;flex-shrink:0;transition:color .12s,background .12s}.ws-delete-btn:hover{color:#d9534f;background:#d9534f0f}.ws-files-empty{padding:12px 6px;font-size:.75rem;color:var(--text-secondary, #8890a4);text-align:center;font-style:italic}:root{--siemens-teal: #009999;--siemens-teal-d: #007777;--siemens-teal-l: #e6f7f7;--sidebar-bg: #1a1a2e;--sidebar-w: 320px;--topbar-h: 56px;--input-h: 72px;--white: #ffffff;--surface: #f4f5f7;--border: #e0e4ea;--text-primary: #1a1a2e;--text-secondary: #6b7280;--user-bubble: #009999;--radius: 12px}[data-theme=dark]{--sidebar-bg: #0f0f1a;--white: #1e1e2e;--surface: #16161f;--border: #2e2e44;--text-primary: #e2e4f0;--text-secondary: #8890a4;--siemens-teal-l: #0d2e2e;--siemens-teal-d: #00bbbb}[data-theme=dark] .main-area{background:var(--white)}[data-theme=dark] .topbar{background:var(--white);border-bottom-color:var(--border)}[data-theme=dark] .input-area{background:var(--white);border-top-color:var(--border)}[data-theme=dark] .input-box{background:var(--surface);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .input-box:focus{border-color:var(--siemens-teal)}[data-theme=dark] .input-box::placeholder{color:var(--text-secondary)}[data-theme=dark] .collapse-btn:hover{background:var(--surface)}[data-theme=dark] .suggestion-card{background:var(--surface);border-color:var(--border);color:var(--text-primary)}[data-theme=dark] .suggestion-card:hover{border-color:var(--siemens-teal);background:var(--siemens-teal-l);color:var(--siemens-teal-d);box-shadow:0 2px 8px #00b4b426}[data-theme=dark] .topbar-badge{background:var(--siemens-teal-l);color:var(--siemens-teal-d);border-color:#0a3030}[data-theme=dark] .thinking-dots span{background:#4a5068}[data-theme=dark] .messages-area{background:var(--white)}.app{display:flex;height:100vh;overflow:hidden;background:var(--surface)}.sidebar{width:var(--sidebar-w);background:var(--sidebar-bg);display:flex;flex-direction:column;flex-shrink:0;transition:width .2s ease;overflow:hidden}.sidebar--collapsed{width:56px}.sidebar-top{height:var(--topbar-h);min-height:var(--topbar-h);padding:0 12px;display:flex;flex-direction:row;align-items:center;gap:8px;flex-shrink:0;box-sizing:border-box}.siemens-wordmark{padding:4px 4px 0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.siemens-svg{width:90px;height:22px;overflow:visible}.di-software-label{font-size:.6rem;color:#7a8a9a;white-space:nowrap;letter-spacing:.03em;margin-top:1px}.sidebar-avatar{width:30px;height:30px;border-radius:50%;background:var(--siemens-teal);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;letter-spacing:.03em}.sidebar-avatar--sm{width:28px;height:28px;margin:0 auto;flex-shrink:0}.sidebar-user{display:flex;align-items:center;gap:6px;padding:0;min-width:0;flex:1;position:relative}.sidebar-user-name{font-size:13px;font-weight:700;color:var(--text-muted, #888);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.sidebar-logout-btn{background:none;border:none;cursor:pointer;color:var(--text-muted, #999);display:flex;align-items:center;padding:2px 3px;border-radius:4px;flex-shrink:0;transition:color .15s}.sidebar-logout-btn:hover{color:#d32f2f}.profile-popup{position:absolute;top:calc(100% + 14px);left:0;z-index:200;background:var(--bg-card, #1e2a35);border:1px solid var(--border-color, #2e3d4d);border-radius:8px;box-shadow:0 6px 24px #00000059;padding:10px 12px;width:300px;display:flex;flex-direction:column;max-height:320px}.profile-popup:before{content:"";position:absolute;top:-7px;left:8px;width:12px;height:12px;background:var(--bg-card, #1e2a35);border-left:1px solid var(--border-color, #2e3d4d);border-top:1px solid var(--border-color, #2e3d4d);transform:rotate(45deg)}.profile-popup-scroll{overflow-x:hidden;overflow-y:auto;flex:1;min-height:0}.profile-popup-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--siemens-teal, #009999);margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.profile-popup-close{background:none;border:none;cursor:pointer;color:var(--text-muted, #888);display:flex;align-items:center;padding:2px;border-radius:3px;transition:color .15s;flex-shrink:0}.profile-popup-close:hover{color:#d32f2f}.profile-popup-row{display:flex;flex-direction:column;margin-bottom:6px}.profile-popup-row:last-child{margin-bottom:0}.profile-popup-key{font-size:10px;font-weight:600;color:var(--text-muted, #888);text-transform:uppercase;letter-spacing:.05em}.profile-popup-val{font-size:12px;color:var(--text-primary, #ccc);white-space:nowrap;margin-top:1px}.new-chat-btn{align-items:center;gap:8px;background:var(--siemens-teal);color:#fff;border:none;border-radius:8px;padding:9px 12px;font-size:13px;font-weight:600;cursor:pointer;width:100%;transition:background .15s;white-space:nowrap;overflow:hidden}.new-chat-btn:hover{background:var(--siemens-teal-d)}.new-chat-btn svg{width:16px;height:16px;flex-shrink:0}.sidebar-history{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0;border-top:1px solid var(--border, #e0e0e0)}.history-scroll{flex:1;overflow-y:auto;padding:10px 8px}.history-header{display:flex;align-items:center;gap:4px;padding:4px 8px}.history-toggle{background:none;border:none;cursor:pointer;color:#8a93a6;display:flex;align-items:center;padding:2px;border-radius:3px;transition:color .15s;flex-shrink:0}.history-toggle:hover{color:#099}.history-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#8a93a6;padding:6px 0 4px;margin:0;flex:1}.history-clear-btn{background:none;border:none;color:#8a93a6;font-size:11px;cursor:pointer;padding:2px 4px;border-radius:4px;white-space:nowrap}.history-clear-btn:hover{color:#e06c6c;background:#e06c6c14}.history-item{display:flex;align-items:center;gap:8px;background:none;border:none;border-radius:7px;color:#c8cdd6;padding:8px;width:100%;text-align:left;cursor:pointer;font-size:13px;font-weight:500;transition:background .12s,color .12s;white-space:nowrap;overflow:hidden}.history-item:hover{background:#ffffff12;color:#fff}.history-item--active{background:#0993;color:#fff}.history-icon{width:14px;height:14px;flex-shrink:0;opacity:.7}.history-title{overflow:hidden;text-overflow:ellipsis}.history-item-wrap{position:relative;display:flex;align-items:center}.history-item-wrap .history-item{flex:1;padding-right:28px}.history-delete-btn{position:absolute;right:4px;display:flex;align-items:center;justify-content:center;background:none;border:none;border-radius:5px;color:#8a93a6;width:22px;height:22px;padding:0;cursor:pointer;opacity:0;transition:opacity .12s,background .12s,color .12s;flex-shrink:0}.history-delete-btn svg{width:12px;height:12px}.history-item-wrap:hover .history-delete-btn{opacity:1}.history-delete-btn:hover{background:#ff505033;color:#ff6b6b}.sidebar-footer{border-top:1px solid rgba(255,255,255,.06);padding:10px 8px}.more-tools-toggle{display:flex;align-items:center;gap:8px;background:none;border:none;border-radius:7px;color:#8a93a6;padding:8px;cursor:pointer;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;width:100%;transition:background .12s,color .12s;white-space:nowrap;overflow:hidden}.more-tools-toggle:hover{background:#ffffff12;color:#fff}.more-tools-toggle span{text-align:left}.chevron-icon{width:14px;height:14px;flex-shrink:0;transition:transform .2s ease}.chevron-icon--open{transform:rotate(180deg)}.sidebar-icon-btn{display:flex;align-items:center;gap:8px;background:none;border:none;border-radius:7px;color:#8a93a6;padding:8px;cursor:pointer;font-size:13px;font-weight:600;width:100%;transition:background .12s,color .12s;white-space:nowrap;overflow:hidden}.sidebar-icon-btn:hover{background:#ffffff12;color:#fff}.sidebar-icon-btn svg{width:16px;height:16px;flex-shrink:0}.main-area{flex:1;display:flex;flex-direction:column;min-width:0;background:var(--white);border-left:1px solid var(--border)}.topbar{height:var(--topbar-h);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px;padding:0 20px;flex-shrink:0;background:var(--white)}.collapse-btn{background:none;border:none;cursor:pointer;color:var(--text-secondary);padding:6px;border-radius:6px;display:flex;align-items:center;transition:background .12s}.collapse-btn:hover{background:var(--surface)}.collapse-btn svg{width:18px;height:18px}.topbar-title{flex:1;display:flex;align-items:baseline;gap:10px}.product-name{font-size:15px;font-weight:700;color:var(--text-primary)}.product-sub{font-size:12px;color:var(--text-secondary)}.topbar-badge{background:var(--siemens-teal-l);color:var(--siemens-teal-d);border:1px solid #b2e0e0;font-size:13px;font-weight:600;padding:2px 8px;border-radius:20px}.topbar-brand{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2;padding-left:16px;border-left:1px solid var(--border);margin-left:4px}.topbar-brand-siemens{height:18px;width:auto;color:#fff;display:block;flex-shrink:0}.topbar-brand-sub{font-size:11px;font-weight:700;color:var(--text-secondary);white-space:nowrap;letter-spacing:.01em}.messages-area{flex:1;overflow-y:auto;padding:24px 0 12px;display:flex;flex-direction:column}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:40px 24px;text-align:center;color:var(--text-secondary)}.empty-icon svg{width:64px;height:64px;opacity:.7}.empty-state h2{font-size:20px;font-weight:700;color:var(--text-primary)}.empty-state p{font-size:14px;line-height:1.7;max-width:420px}.suggestion-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:16px;width:100%;max-width:680px}.suggestion-card{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:12px 14px;font-size:13px;font-weight:600;color:var(--text-primary);cursor:pointer;text-align:left;transition:border-color .15s,background .15s,box-shadow .15s;font-family:inherit}.suggestion-card:hover{border-color:var(--siemens-teal);background:var(--siemens-teal-l);color:var(--siemens-teal-d);box-shadow:0 2px 8px #0099991f}.suggestion-icon{font-size:18px;flex-shrink:0}.suggestion-label{font-size:13px;font-weight:500;line-height:1.3}.thinking-row{display:flex;align-items:center;gap:10px;padding:6px 20px 16px;max-width:900px;width:100%;margin:0 auto}.agent-avatar{width:32px;height:32px;border-radius:50%;background:var(--siemens-teal);color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;text-align:center;line-height:1}.thinking-text{font-size:13px;color:var(--text-secondary);font-style:italic}.thinking-dots{display:flex;gap:5px;align-items:center}.thinking-dots span{width:7px;height:7px;border-radius:50%;background:#c0c8d4;animation:bounce 1.2s ease-in-out infinite}.thinking-dots span:nth-child(2){animation-delay:.2s}.thinking-dots span:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;width:100%}body{font-family:Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,sans-serif;background:#f4f5f7;color:#1a1a2e;min-height:100vh;font-size:14px;line-height:1.6}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#c8cdd6;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#099}
