:root{--color-bg-body: #F9FAFB;--color-bg-header: #FFFFFF;--color-bg-sidebar: #FFFFFF;--color-bg-card: #FFFFFF;--color-bg-input: #FFFFFF;--color-text-primary: #111827;--color-text-secondary: #6B7280;--color-text-muted: #9CA3AF;--color-border: #E5E7EB;--color-border-subtle: #F3F4F6;--color-warning-bg: #FFFBEB;--color-warning-border: #FCD34D;--color-warning-text: #92400E;--color-error-bg: #FEF2F2;--color-error-border: #FCA5A5;--color-error-text: #991B1B}html[data-theme=light]{--color-bg-body: #F9FAFB;--color-bg-header: #FFFFFF;--color-bg-sidebar: #FFFFFF;--color-bg-card: #FFFFFF;--color-bg-input: #FFFFFF;--color-text-primary: #111827;--color-text-secondary: #6B7280;--color-text-muted: #9CA3AF;--color-border: #E5E7EB;--color-border-subtle: #F3F4F6;--color-warning-bg: #FFFBEB;--color-warning-border: #FCD34D;--color-warning-text: #92400E;--color-error-bg: #FEF2F2;--color-error-border: #FCA5A5;--color-error-text: #991B1B}html[data-theme=dark]{--color-bg-body: #111827;--color-bg-header: #1F2937;--color-bg-sidebar: #1F2937;--color-bg-card: #1e2533;--color-bg-input: #374151;--color-text-primary: #F9FAFB;--color-text-secondary: #D1D5DB;--color-text-muted: #9CA3AF;--color-border: #374151;--color-border-subtle: #2d3748;--color-warning-bg: #2E2613;--color-warning-border: #854D0E;--color-warning-text: #FBBF24;--color-error-bg: #2E1A1A;--color-error-border: #B91C1C;--color-error-text: #FCA5A5}@media (prefers-color-scheme: dark){html[data-theme=system]{--color-bg-body: #111827;--color-bg-header: #1F2937;--color-bg-sidebar: #1F2937;--color-bg-card: #1e2533;--color-bg-input: #374151;--color-text-primary: #F9FAFB;--color-text-secondary: #D1D5DB;--color-text-muted: #9CA3AF;--color-border: #374151;--color-border-subtle: #2d3748;--color-warning-bg: #2E2613;--color-warning-border: #854D0E;--color-warning-text: #FBBF24;--color-error-bg: #2E1A1A;--color-error-border: #B91C1C;--color-error-text: #FCA5A5}}body{background-color:var(--color-bg-body);color:var(--color-text-primary)}.app-shell{height:100vh;height:100dvh;background-color:var(--color-bg-body);color:var(--color-text-primary)}.app-header{background-color:var(--color-bg-header);color:var(--color-text-primary)}.app-sidebar{background-color:var(--color-bg-sidebar);color:var(--color-text-primary)}.app-chat-input{background-color:var(--color-bg-input);color:var(--color-text-primary)}.app-synth-picker{background-color:var(--color-bg-card);border-color:var(--color-border)}.app-surface{background-color:var(--color-bg-card);color:var(--color-text-primary);border-color:var(--color-border)}.response-health-warning{margin-top:10px;padding:6px 10px;border-radius:6px;background-color:var(--color-warning-bg);border:1px solid var(--color-warning-border);font-family:IBM Plex Sans,sans-serif;font-size:12px;color:var(--color-warning-text);display:flex;align-items:center;gap:6px}.response-health-warning--error{background-color:var(--color-error-bg);border-color:var(--color-error-border);color:var(--color-error-text)}.provider-failure-banner{padding:10px 12px;border-radius:8px;background-color:var(--color-warning-bg);border:1px solid var(--color-warning-border);color:var(--color-warning-text);font-family:IBM Plex Sans,sans-serif;font-size:13px;line-height:1.5;display:flex;flex-direction:column;gap:8px}.provider-failure-banner--error{background-color:var(--color-error-bg);border-color:var(--color-error-border);color:var(--color-error-text)}.provider-failure-banner__head{display:flex;align-items:flex-start;gap:8px}.provider-failure-banner__actions{display:flex;flex-wrap:wrap;gap:8px}.provider-failure-retry-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border-radius:6px;border:1px solid currentColor;background-color:transparent;color:inherit;cursor:pointer;font-family:IBM Plex Mono,monospace;font-size:11px;font-weight:600;letter-spacing:.02em}.provider-failure-retry-btn:hover:not(:disabled){background-color:#0000000f}.provider-failure-retry-btn:disabled{opacity:.55;cursor:default}.provider-failure-caution{font-size:11px;opacity:.85}.app-text-muted{color:var(--color-text-muted)}.app-text-secondary{color:var(--color-text-secondary)}.app-loading-screen{background-color:var(--color-bg-body);color:var(--color-text-muted)}.app-chat-input textarea{background-color:var(--color-bg-card);color:var(--color-text-primary)}.app-chat-input button[data-role=stop]{background-color:var(--color-bg-card)}.settings-modal-panel{background-color:var(--color-bg-card);color:var(--color-text-primary)}.settings-modal-sticky{background-color:var(--color-bg-card)}html[data-theme=dark],html[data-theme=system]{--settings-model-chip-bg: var(--color-bg-card)}@media (prefers-color-scheme: dark){html:not([data-theme=light]){--settings-model-chip-bg: var(--color-bg-card)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.25}}@keyframes streamCursor{0%,to{opacity:1}50%{opacity:0}}.thread-area{-webkit-overflow-scrolling:touch;scroll-behavior:smooth;overflow-x:hidden}.response-card-body{min-width:0;overflow-wrap:break-word;max-height:400px;overflow-y:auto}.synthesis-card-body,.collaborate-output-card-body{min-width:0;overflow-wrap:break-word;max-height:500px;overflow-y:auto}.arbiter-card-body{min-width:0;overflow-wrap:break-word;max-height:600px;overflow-y:auto}.collaborate-chain-step-body{min-width:0;overflow-wrap:break-word;max-height:380px;overflow-y:auto}.critique-card{flex:1 1 0;min-width:240px}.critique-card-body{min-width:0;overflow-wrap:break-word;max-height:250px;overflow-y:auto}.exchange-block{min-width:0}@media (max-width: 640px){.response-card-row{flex-direction:column!important;flex-wrap:nowrap!important}.response-card-row>*,.response-card{min-width:0!important;flex:1 1 auto!important}.response-card-body,.synthesis-card-body,.collaborate-output-card-body,.arbiter-card-body,.collaborate-chain-step-body,.critique-card-body{max-height:none;overflow-y:auto;overflow-x:hidden}.critique-card{flex:1 1 100%;min-width:0}}@media (min-width: 641px) and (max-width: 1024px){.response-card-row>*{min-width:200px!important}.response-card-body{max-height:60vh}.synthesis-card-body,.collaborate-output-card-body,.arbiter-card-body{max-height:70vh}.collaborate-chain-step-body{max-height:55vh}.critique-card{min-width:160px}.critique-card-body{max-height:40vh}}.sidebar-drawer{transition:transform .22s cubic-bezier(.4,0,.2,1)}.model-toggle-row{scrollbar-width:none;-ms-overflow-style:none}.model-toggle-row::-webkit-scrollbar{display:none}@media (max-width: 640px){.user-bubble{max-width:92%!important}}@media (max-width: 640px){button{min-height:38px}}@media (max-width: 1024px){html,body,#root{overflow-x:hidden}}html[data-theme=dark] pre,html[data-theme=system] pre{background-color:#0d1117!important;border-color:#374151}html[data-theme=dark] pre code,html[data-theme=system] pre code{color:#e6edf3!important}@media (prefers-color-scheme: dark){html[data-theme=system] pre{background-color:#0d1117!important;border-color:#374151}html[data-theme=system] pre code{color:#e6edf3!important}}html[data-theme=dark] .collaborate-output-card{background-color:#0a1a24!important;border-color:#1a4a6a!important}@media (prefers-color-scheme: dark){html[data-theme=system] .collaborate-output-card{background-color:#0a1a24!important;border-color:#1a4a6a!important}}html[data-theme=dark]{--synthesis-header-bg: #1a1428}@media (prefers-color-scheme: dark){html[data-theme=system]{--synthesis-header-bg: #1a1428}}@media (max-width: 640px){.synthesis-card-header-right{margin-left:0!important;width:100%;justify-content:flex-start!important}}.attach-menu-item{display:flex;align-items:center;gap:9px;width:100%;padding:10px 14px;border:none;background:transparent;font-family:IBM Plex Sans,sans-serif;font-size:13px;color:var(--color-text-secondary);text-align:left;cursor:pointer;transition:background-color .1s;white-space:nowrap}.attach-menu-item:hover{background-color:var(--color-bg-body)}.attach-menu-item:disabled{color:var(--color-text-muted);cursor:not-allowed}.attach-menu-item:disabled:hover{background-color:transparent}.composer-resize-handle>span{background-color:var(--color-border)}.composer-resize-handle:hover>span,.composer-resize-handle:focus-visible>span{background-color:var(--color-text-secondary)}.composer-resize-handle:focus-visible{outline:none}.sidebar-resize-handle:hover,.sidebar-resize-handle:focus-visible{background-color:var(--color-border)!important}.sidebar-resize-handle:focus-visible{outline:none}
