.a-notification{display:flex;align-items:center;padding:1rem;margin-bottom:1rem;border:1px solid}.a-notification.-neutral{background-color:#f0f0f0;border-color:#ccc}.a-notification.-success{background-color:#d4edda;border-color:#c3e6cb;color:#155724}.a-notification.-warning{background-color:#fff3cd;border-color:#ffeeba;color:#856404}.a-notification.-error{background-color:#f8d7da;border-color:#f5c6cb;color:#721c24}.toast-container{position:fixed;top:5rem;right:1rem;z-index:1050;display:flex;flex-direction:column;align-items:flex-end;max-width:400px;pointer-events:none}.a-notification .a-icon{margin-right:1rem}.a-notification__content{flex-grow:1}.a-notification.-is-hidden{display:none}.a-notification.-is-visible{display:flex}.toast-container .a-notification{position:relative;display:flex;pointer-events:all;width:100%;max-width:400px;box-shadow:0 4px 6px #0000001a}.a-notification{transform:translate(120%);opacity:0;transition:transform .5s ease-in-out,opacity .5s ease-in-out}@keyframes slideIn{0%{transform:translate(120%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeOut{0%{transform:translate(0);opacity:1}to{transform:translate(120%);opacity:0}}.a-notification--entering{animation:slideIn .5s forwards}.a-notification--exiting{animation:fadeOut .5s forwards}.sidebar-tooltip{position:fixed;background-color:#1e1e1ee0;color:#fff;padding:3px 8px;border-radius:3px;font-size:.7rem;letter-spacing:.01em;white-space:nowrap;pointer-events:none;z-index:9999;opacity:0;transition:opacity .12s ease;transform:translateY(-50%)}.sidebar-tooltip.sidebar-tooltip--visible{opacity:1}.sse-connection-status{display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500;cursor:help;transition:all .3s ease;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.sse-connection-status:hover{background:#fff3}.sse-status-text{color:#fff;white-space:nowrap}.sse-event-count{background:#ffffff4d;color:#fff;padding:2px 6px;border-radius:10px;font-size:10px;font-weight:700;min-width:20px;text-align:center}.sse-connection-status.connected .sse-event-count{background:#10b9814d}.sse-connection-status.connecting i,.sse-connection-status.reconnecting i{animation:spin 1s linear infinite}@media (max-width: 768px){.sse-status-text{display:none}.sse-connection-status{padding:6px 8px}}.xcite-progress-popover{box-shadow:0 4px 12px #00000026;border-radius:4px;background:#fff}.progress-item{transition:background-color .2s ease}.progress-item:hover{background-color:#f0f0f0!important}.progress-bar-fill{animation:progressPulse 2s ease-in-out infinite}@keyframes progressPulse{0%,to{opacity:1}50%{opacity:.8}}.progress-badge{animation:badgePulse 2s ease-in-out infinite}@keyframes badgePulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.boschicon-bosch-ic-refresh-animated{animation:spin 1s linear infinite}.xcite-progress-popover div[style*="overflowY: auto"]::-webkit-scrollbar{width:6px}.xcite-progress-popover div[style*="overflowY: auto"]::-webkit-scrollbar-track{background:#f5f5f5;border-radius:3px}.xcite-progress-popover div[style*="overflowY: auto"]::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}.xcite-progress-popover div[style*="overflowY: auto"]::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width: 768px){.xcite-progress-popover{min-width:320px;max-width:calc(100vw - 32px);right:-16px}}@media (max-width: 480px){.xcite-progress-popover{min-width:280px;right:-24px}.progress-item{padding:10px}.progress-item div[style*="fontSize: '13px'"]{font-size:12px!important}.progress-item div[style*="fontSize: '11px'"]{font-size:10px!important}}.xcite-progress-popover{animation:fadeInDown .2s ease-out}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.progress-item{animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.progress-item .ui-ic-alert-success{animation:successPop .4s ease-out}@keyframes successPop{0%{transform:scale(.5);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.progress-item .ui-ic-alert-error{animation:errorShake .5s ease-out}@keyframes errorShake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.xcite-progress-popover .a-button--secondary:hover{background-color:#f0f0f0;border-color:#007bc0}.xcite-progress-popover div[style*="No active tasks"]{animation:fadeIn .5s ease-out}.chart-renderer-container{max-width:100%;min-height:200px;padding:8px;border-radius:8px;background:#1e1e2899;margin:8px 0}.chart-renderer-error{padding:12px 16px;border-radius:8px;background:#ff3c3c26;color:#ff6b6b;font-size:13px;margin:8px 0}.image-renderer-container{display:block;margin:8px 0;max-width:100%}.image-renderer-img{max-width:100%;max-height:400px;object-fit:contain;border-radius:8px;cursor:pointer;opacity:0;transition:opacity .2s ease}.image-renderer-img-loaded{opacity:1}.image-renderer-placeholder{display:block;padding:20px;text-align:center;color:#aaa;font-size:13px;background:#1e1e2899;border-radius:8px;animation:image-pulse 1.5s infinite}@keyframes image-pulse{0%,to{opacity:.6}50%{opacity:1}}.image-renderer-error{padding:12px 16px;border-radius:8px;background:#ff3c3c26;color:#ff6b6b;font-size:13px;margin:8px 0}.m-dialog .m-dialog__body .m-form-field{width:100%!important;max-width:100%!important;min-width:100%!important;flex:1 1 100%!important}.m-dialog .m-dialog__body .a-text-field,.m-dialog .m-dialog__body .a-text-area{width:100%!important;max-width:100%!important;min-width:100%!important}.m-dialog .m-dialog__body .a-text-field input,.m-dialog .m-dialog__body .a-text-area textarea,.m-dialog .m-dialog__body input,.m-dialog .m-dialog__body textarea{width:100%!important;max-width:100%!important;min-width:100%!important;box-sizing:border-box!important}.m-dialog .m-dialog__body>div{width:100%!important}.m-dialog .m-dialog__body>div>.m-form-field{width:100%!important;margin-right:0!important;margin-left:0!important}.product-typeahead__dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ccc;border-top:none;border-radius:0 0 4px 4px;box-shadow:0 2px 8px #00000026;max-height:300px;overflow-y:auto;z-index:1000;margin-top:-1px}.product-typeahead__item{padding:10px 12px;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background-color .2s}.product-typeahead__item:last-child{border-bottom:none}.product-typeahead__item:hover,.product-typeahead__item.-selected{background-color:#f5f5f5}.product-typeahead__item-content{display:flex;flex-direction:column;gap:4px}.product-typeahead__item-name{font-weight:500;color:#333}.product-typeahead__item-description{font-size:.875rem;color:#666}.product-typeahead__create-new{padding:10px 12px;cursor:pointer;background-color:#f9f9f9;border-left:3px solid #007bff;display:flex;align-items:center;gap:8px;color:#007bff;font-weight:500}.product-typeahead__create-new:hover{background-color:#f0f0f0}.product-typeahead__create-new i{font-size:16px}.prompt-card{background:#2a2a3e;border:1px solid #4a4a6a;border-radius:8px;padding:1rem;margin:.5rem 0;max-width:100%}.prompt-card--submitted,.prompt-card--dismissed,.prompt-card--orphaned{opacity:.7;pointer-events:none}.prompt-card__description{color:#c0c0d0;font-size:.9rem;margin-bottom:.75rem;line-height:1.4}.prompt-card__fields{display:flex;flex-direction:column;gap:.75rem}.prompt-card__actions{display:flex;justify-content:flex-end;margin-top:.75rem}.prompt-card__submit{background:#4a7dff;color:#fff;border:none;border-radius:4px;padding:.5rem 1.25rem;font-size:.85rem;cursor:pointer;transition:background .15s}.prompt-card__submit:hover:not(:disabled){background:#3a6dee}.prompt-card__submit:disabled{background:#3a3a5a;color:#777;cursor:not-allowed}.prompt-card__status{color:#888;font-size:.8rem;font-style:italic;margin-top:.5rem}.prompt-widget{display:flex;flex-direction:column;gap:.25rem}.prompt-widget__label{font-size:.85rem;color:#d0d0e0;font-weight:500}.prompt-widget__required{color:#ff6b6b;margin-left:2px}.prompt-widget__input,.prompt-widget__textarea{background:#1e1e2e;border:1px solid #3a3a5a;border-radius:4px;color:#e0e0f0;padding:.5rem;font-size:.85rem;font-family:inherit;outline:none;transition:border-color .15s}.prompt-widget__input:focus,.prompt-widget__textarea:focus{border-color:#4a7dff}.prompt-widget__input:disabled,.prompt-widget__textarea:disabled{background:#161622;color:#666;cursor:not-allowed}.prompt-widget__textarea{resize:vertical;min-height:60px}.prompt-widget__help{font-size:.75rem;color:#888}.prompt-widget__error{font-size:.75rem;color:#ff6b6b}.prompt-widget__radio-group,.prompt-widget__checkbox-group{display:flex;flex-direction:column;gap:.35rem}.prompt-widget__radio-option,.prompt-widget__checkbox-option{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:#d0d0e0;cursor:pointer}.prompt-widget__radio-option input,.prompt-widget__checkbox-option input{accent-color:#4a7dff}.prompt-widget--select select{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.prompt-widget__button-group{display:flex;flex-wrap:wrap;gap:.5rem}.prompt-widget__button{background:#2a2a4a;border:1px solid #4a4a6a;border-radius:4px;color:#d0d0e0;padding:.4rem .75rem;font-size:.85rem;cursor:pointer;transition:background .15s,border-color .15s}.prompt-widget__button:hover:not(:disabled){background:#3a3a5a;border-color:#5a5a8a}.prompt-widget__button--selected{background:#4a7dff;border-color:#4a7dff;color:#fff}.prompt-widget__button:disabled{opacity:.5;cursor:not-allowed}.chunk-image-wrapper{position:relative;display:inline-flex}.chunk-image-placeholder{width:96px;height:96px;background:#f0f0f0;border:1px dashed #bdbdbd;border-radius:4px}.chunk-image-thumbnail{width:96px;height:96px;object-fit:contain;border:1px solid #e0e0e0;border-radius:4px;background:#f5f5f5;display:block;cursor:zoom-in}.chunk-image-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;background:#000000d9;display:flex;align-items:center;justify-content:center;cursor:zoom-out}.chunk-image-lightbox-img{max-width:90vw;max-height:90vh;object-fit:contain;border-radius:4px;box-shadow:0 8px 32px #0009;cursor:default}.chunk-image-lightbox-close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border-radius:50%;border:none;background:#ffffff26;color:#fff;font-size:1rem;display:flex;align-items:center;justify-content:center;cursor:pointer}.chunk-image-lightbox-close:hover{background:#ffffff4d}.chunk-image-delete-btn{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;border:none;background:#d32f2f;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;line-height:1;font-size:.65rem;box-shadow:0 1px 3px #0000004d}.chunk-image-delete-btn:hover{background:#b71c1c}.chat-image-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.m-attachment-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:12px;background-color:#2a2a2a;border:1px solid #444;font-size:12px;color:#e0e0e0;max-width:220px}.m-attachment-chip__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.m-attachment-chip__mode{display:inline-flex;align-items:center;padding:1px 6px;border-radius:8px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.m-attachment-chip__mode--rag{background-color:#4ade8026;color:#4ade80}.m-attachment-chip__mode--direct{background-color:#60a5fa26;color:#60a5fa}.m-attachment-chip__toggle{background:none;border:none;color:#888;cursor:pointer;padding:2px;font-size:14px;line-height:1;display:flex;align-items:center}.m-attachment-chip__toggle:hover{color:#ccc}.m-attachment-chip__toggle:disabled{cursor:not-allowed;opacity:.4}.m-attachment-chip__remove{background:none;border:none;color:#888;cursor:pointer;padding:2px;font-size:14px;line-height:1;display:flex;align-items:center}.m-attachment-chip__remove:hover{color:#ef4444}.m-attachment-chips-area{display:flex;flex-wrap:wrap;gap:6px;padding:6px 10px;min-height:0}.m-at-mention-dropdown{position:absolute;bottom:100%;left:10px;right:10px;max-height:280px;overflow-y:auto;background-color:#2a2a2a;border:1px solid #444;border-radius:8px;box-shadow:0 -4px 12px #0000004d;z-index:100;margin-bottom:4px}.m-at-mention-dropdown__section{padding:4px 0}.m-at-mention-dropdown__section+.m-at-mention-dropdown__section{border-top:1px solid #383838}.m-at-mention-dropdown__header{display:flex;align-items:center;padding:6px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#888}.m-at-mention-dropdown__back-btn{background:none;border:none;color:#888;cursor:pointer;padding:2px 6px 2px 0;font-size:14px;display:flex;align-items:center}.m-at-mention-dropdown__back-btn:hover{color:#ccc}.m-at-mention-dropdown__item{display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;color:#e0e0e0;font-size:13px;transition:background-color .1s}.m-at-mention-dropdown__item:hover,.m-at-mention-dropdown__item--highlighted{background-color:#383838}.m-at-mention-dropdown__item--topic{justify-content:space-between}.m-at-mention-dropdown__item-icon{font-size:14px;width:18px;text-align:center;flex-shrink:0;color:#888}.m-at-mention-dropdown__item-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.m-at-mention-dropdown__item-status{font-size:10px;padding:1px 6px;border-radius:8px;flex-shrink:0}.m-at-mention-dropdown__item-status--processed{background-color:#4ade8026;color:#4ade80}.m-at-mention-dropdown__item-status--unprocessed{background-color:#9ca3af26;color:#9ca3af}.m-at-mention-dropdown__drill-arrow{color:#666;font-size:14px;flex-shrink:0}.m-at-mention-dropdown__empty,.m-at-mention-dropdown__loading{padding:16px 12px;text-align:center;color:#888;font-size:13px}.token-usage-attach-group{display:flex;align-items:center;flex-shrink:0}.token-usage-indicator{position:relative;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:8px;cursor:default;flex-shrink:0}.token-usage-ring{width:100%;height:100%}.token-usage-ring__bg{stroke:var(--color-border, #e0e0e0);opacity:.3}.token-usage-ring__fg{stroke:var(--color-primary, #4a90d9);transition:stroke-dashoffset .4s ease,stroke .3s ease}.token-usage--warning .token-usage-ring__fg{stroke:#f0a030}.token-usage--critical .token-usage-ring__fg{stroke:#e04040}.token-usage--unknown .token-usage-ring__bg,.token-usage--no-data .token-usage-ring__bg{stroke:var(--color-border, #e0e0e0);opacity:.2}.token-usage--unknown .token-usage-ring__fg,.token-usage--no-data .token-usage-ring__fg{stroke:transparent}.token-usage-dash,.token-usage-count{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:9px;line-height:1;color:var(--color-text-secondary, #888);pointer-events:none;font-weight:500}.token-usage--clickable{cursor:pointer}.token-usage--clickable:hover .token-usage-ring__fg{filter:brightness(1.3)}.token-usage--clickable:hover .token-usage-ring__bg{opacity:.5}.token-usage--compacting .token-usage-ring__fg{animation:token-compact-pulse .8s ease-in-out infinite}@keyframes token-compact-pulse{0%,to{opacity:1}50%{opacity:.4}}.token-usage-tooltip{position:absolute;bottom:calc(100% + 8px);right:-8px;background:#1e1e1e;border:1px solid #444;border-radius:8px;padding:8px 12px;min-width:180px;white-space:nowrap;z-index:1000;box-shadow:0 4px 12px #0006;pointer-events:none;animation:token-tooltip-fade-in .15s ease}.token-usage-tooltip:after{content:"";position:absolute;top:100%;right:16px;border:5px solid transparent;border-top-color:#444}@keyframes token-tooltip-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.token-usage-tooltip__header{display:flex;align-items:center;gap:6px;font-size:12px;color:#e0e0e0}.token-usage-tooltip__pct{font-weight:700;color:#4a90d9;font-size:13px}.token-usage--warning .token-usage-tooltip__pct{color:#f0a030}.token-usage--critical .token-usage-tooltip__pct{color:#e04040}.token-usage-tooltip__details{display:flex;gap:12px;margin-top:4px;font-size:11px;color:#999}.token-usage-tooltip__model{margin-top:4px;font-size:10px;color:#666;font-family:monospace}.token-usage-tooltip__compact-hint{margin-top:6px;font-size:10px;color:#4a90d9;font-style:italic}.voice-mode-toggle-container{position:relative;display:inline-block}.voice-mode-toggle{box-shadow:0 4px 6px #0000001a}.voice-mode-toggle:hover:not(:disabled){box-shadow:0 6px 8px #00000026;transform:translateY(-1px)}.voice-mode-toggle:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 4px #0000001a}.voice-mode-toggle-error{animation:pulse-error 2s ease-in-out infinite}@keyframes pulse-error{0%,to{opacity:1}50%{opacity:.5}}.voice-avatar-container{display:flex;align-items:center;justify-content:center;padding:2rem}.voice-avatar{transition:all .3s ease}.voice-avatar-listening{animation:pulse-blue 2s ease-in-out infinite}.voice-avatar-processing{animation:rotate-slow 3s linear infinite}.voice-avatar-speaking{animation:bounce-subtle 1s ease-in-out infinite}.voice-avatar-error{animation:shake .5s ease-in-out}.voice-avatar-pulse-ring{animation:pulse-ring 1.5s ease-out infinite}.voice-avatar-ripple{animation:ripple 2s ease-out infinite}@keyframes pulse-blue{0%,to{box-shadow:0 0 20px #3b82f680}50%{box-shadow:0 0 40px #3b82f6cc}}@keyframes rotate-slow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bounce-subtle{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}@keyframes pulse-ring{0%{transform:scale(1);opacity:.5}to{transform:scale(1.5);opacity:0}}@keyframes ripple{0%{transform:scale(1);opacity:.3}to{transform:scale(1.3);opacity:0}}.voice-state-indicator{padding:.5rem 1rem;border-radius:9999px;background-color:#2ecc7126;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 2px 8px #0000004d;border:1px solid rgba(46,204,113,.3);color:#2ecc71}.voice-state-icon{animation:none}.voice-state-indicator.animate-pulse .voice-state-icon{animation:pulse-icon 1.5s ease-in-out infinite}@keyframes pulse-icon{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.voice-transcript-zone{background:transparent;border-radius:0;flex:1;min-height:0}.voice-transcript-zone::-webkit-scrollbar{width:6px}.voice-transcript-zone::-webkit-scrollbar-track{background:#000;border-radius:4px}.voice-transcript-zone::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:4px}.voice-transcript-zone::-webkit-scrollbar-thumb:hover{background:#5a5a5a}.voice-transcript-empty{font-style:italic;color:#666}.voice-transcript-item{position:relative;animation:slide-in .3s ease-out}@keyframes slide-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.voice-transcript-speaker-icon{flex-shrink:0}.voice-transcript-message{word-wrap:break-word;box-shadow:0 1px 3px #0000004d;background-color:#2a2a2a;border:1px solid #333;color:#e0e0e0}.voice-transcript-item.opacity-50 .voice-transcript-message{border:1px dashed #666;background-color:transparent!important;color:#999}.voice-transcript-speaker-label{letter-spacing:.025em;text-transform:uppercase;color:#2ecc71}.voice-transcript-interim-badge{font-weight:400;text-transform:none;font-style:italic;color:#666}.voice-transcript-timestamp{font-variant-numeric:tabular-nums;color:#666}.voice-quota-warning{animation:fade-in .3s ease-out}@keyframes fade-in{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.voice-settings-toggle{position:absolute;top:1.5rem;right:1.5rem;z-index:100;background:#000000d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:2px solid rgba(46,204,113,.6);border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#2ecc71;transition:all .2s ease;box-shadow:0 4px 12px #2ecc714d}.voice-settings-toggle:hover{background:#000000f2;border-color:#2ecc71;transform:scale(1.1);box-shadow:0 6px 16px #2ecc7180}.voice-settings-toggle:active{transform:scale(.95)}.voice-settings-toggle svg{animation:gear-rotate 8s linear infinite}@keyframes gear-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.voice-settings-panel{position:absolute;top:5rem;right:1rem;z-index:9;background:#000000e6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(46,204,113,.3);border-radius:.5rem;padding:1.5rem;min-width:300px;max-width:400px;box-shadow:0 4px 16px #00000080;animation:slide-in-right .3s ease-out}@keyframes slide-in-right{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.voice-settings-container{display:flex;flex-direction:column;gap:1.5rem}.voice-setting-group{display:flex;flex-direction:column;gap:.5rem}.voice-setting-label{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;font-weight:500;color:#e0e0e0;text-transform:uppercase;letter-spacing:.025em}.voice-setting-value{font-size:.875rem;color:#2ecc71;font-family:monospace}.voice-setting-select{background:#ffffff0d;border:1px solid rgba(46,204,113,.3);border-radius:.25rem;padding:.5rem;color:#e0e0e0;font-size:.875rem;cursor:pointer;transition:all .2s ease}.voice-setting-select:hover{border-color:#2ecc7180;background:#ffffff14}.voice-setting-select:focus{outline:none;border-color:#2ecc71;box-shadow:0 0 0 2px #2ecc7133}.voice-carousel{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.5rem 0;-webkit-user-select:none;user-select:none}.voice-carousel:focus{outline:none}.voice-carousel-track{display:flex;align-items:center;justify-content:center;gap:.75rem}.voice-carousel-arrow{background:none;border:none;color:#666;font-size:1.5rem;cursor:pointer;padding:.25rem;min-width:28px;min-height:28px;display:flex;align-items:center;justify-content:center;transition:color .2s ease;line-height:1}.voice-carousel-arrow:hover{color:#e0e0e0}.voice-carousel-voice{display:flex;flex-direction:column;align-items:center;transition:opacity .25s ease-out,transform .25s ease-out}.voice-carousel-voice--neighbor{opacity:.35;cursor:default}.voice-carousel-orb{border-radius:50%;transition:transform .15s ease,box-shadow .25s ease-out}.voice-carousel-orb--active{width:64px;height:64px;cursor:pointer;box-shadow:0 0 20px #2ecc714d}.voice-carousel-orb--active:hover{transform:scale(1.05)}.voice-carousel-orb--active:active{transform:scale(.95)}.voice-carousel-orb--neighbor{width:40px;height:40px}.voice-carousel-neighbor-name{font-size:.6875rem;color:#888;margin-top:.375rem}.voice-carousel-info{display:flex;flex-direction:column;align-items:center;gap:.125rem;margin-top:.5rem}.voice-carousel-name{font-size:.875rem;font-weight:600;color:#e0e0e0}.voice-carousel-tagline{font-size:.6875rem;color:#2ecc71}.voice-carousel-hint{font-size:.625rem;color:#555;margin-top:.125rem}.voice-setting-slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:6px;background:#ffffff1a;border-radius:3px;outline:none;cursor:pointer}.voice-setting-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;background:#2ecc71;border-radius:50%;cursor:pointer;transition:all .2s ease}.voice-setting-slider::-moz-range-thumb{width:16px;height:16px;background:#2ecc71;border-radius:50%;cursor:pointer;border:none;transition:all .2s ease}.voice-setting-slider::-webkit-slider-thumb:hover{background:#27ae60;transform:scale(1.2)}.voice-setting-slider::-moz-range-thumb:hover{background:#27ae60;transform:scale(1.2)}.voice-setting-hint{display:flex;justify-content:space-between;font-size:.75rem;color:#999;margin-top:-.25rem}.voice-setting-note{font-size:.75rem;color:#f39c12;font-style:italic;margin-top:.25rem;padding:.25rem .5rem;background:#f39c121a;border-radius:.25rem;border-left:2px solid #f39c12}.voice-setting-apply{margin-top:.5rem;padding-top:1rem;border-top:1px solid rgba(46,204,113,.2)}.voice-setting-apply-button{width:100%;padding:.75rem 1.5rem;border-radius:.5rem;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:1px solid rgba(46,204,113,.3);background:#2ecc711a;color:#2ecc7180}.voice-setting-apply-button:disabled{opacity:.4;cursor:not-allowed}.voice-setting-apply-button-active{background:#2ecc71;color:#000;border-color:#2ecc71;box-shadow:0 4px 12px #2ecc714d}.voice-setting-apply-button-active:hover{background:#27ae60;box-shadow:0 6px 16px #2ecc7180;transform:translateY(-2px)}.voice-setting-apply-button-active:active{transform:translateY(0)}.voice-mode-restart-overlay{position:absolute;top:0;left:0;right:0;bottom:0;z-index:200;background:#000000d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:2rem;animation:fade-in .3s ease-out}.voice-mode-restart-dialog{background:#141414f2;border:2px solid rgba(46,204,113,.5);border-radius:1rem;padding:2rem;max-width:400px;width:100%;box-shadow:0 8px 32px #00000080;animation:slide-in-up .3s ease-out;text-align:center}@keyframes slide-in-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.voice-mode-restart-icon{color:#f39c12;margin:0 auto 1.5rem;width:48px;height:48px;animation:rotate-slow 2s linear infinite}.voice-mode-restart-title{font-size:1.5rem;font-weight:600;color:#e0e0e0;margin-bottom:1rem}.voice-mode-restart-message{font-size:.9375rem;color:#b0b0b0;line-height:1.5;margin-bottom:1rem}.voice-mode-restart-voice{font-size:.875rem;color:#f39c12;margin-bottom:2rem;padding:.75rem;background:#f39c121a;border-radius:.5rem;border-left:3px solid #f39c12}.voice-mode-restart-voice strong{color:#ffa726;font-weight:600}.voice-mode-restart-actions{display:flex;gap:1rem;justify-content:center}.voice-mode-restart-button-cancel,.voice-mode-restart-button-confirm{padding:.75rem 1.5rem;border-radius:.5rem;font-size:.9375rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;min-width:120px}.voice-mode-restart-button-cancel{background:#ffffff1a;color:#e0e0e0;border:1px solid rgba(255,255,255,.2)}.voice-mode-restart-button-cancel:hover{background:#ffffff26;border-color:#ffffff4d}.voice-mode-restart-button-confirm{background:#2ecc71;color:#000;font-weight:600;box-shadow:0 4px 12px #2ecc714d}.voice-mode-restart-button-confirm:hover{background:#27ae60;box-shadow:0 6px 16px #2ecc7180;transform:translateY(-2px)}.voice-mode-restart-button-confirm:active{transform:translateY(0)}.voice-mode-layout{position:relative;display:flex;flex-direction:column;height:100%;background:#000;overflow:hidden}.voice-mode-wave-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.voice-mode-last-turn-overlay{position:absolute;top:0;left:0;right:0;max-height:75%;z-index:1;display:flex;flex-direction:column;padding:1.5rem;background:linear-gradient(to bottom,#000000d9,#0006);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:none;overflow-y:auto}.voice-mode-last-turn-overlay::-webkit-scrollbar{width:4px}.voice-mode-last-turn-overlay::-webkit-scrollbar-track{background:transparent}.voice-mode-last-turn-overlay::-webkit-scrollbar-thumb{background:#2ecc714d;border-radius:2px}.voice-mode-last-turn-overlay::-webkit-scrollbar-thumb:hover{background:#2ecc7180}.voice-mode-last-message{margin-bottom:1rem;animation:fade-in-down .4s ease-out}.voice-mode-last-message:last-child{margin-bottom:0}.voice-mode-message-label{font-size:.984375rem;font-weight:600;letter-spacing:.025em;text-transform:uppercase;margin-bottom:.5rem;opacity:.7}.voice-mode-last-user-message .voice-mode-message-label{color:#9ca3af}.voice-mode-last-assistant-message .voice-mode-message-label{color:#2ecc71}.voice-mode-message-text{font-size:1.40625rem;line-height:1.6;color:#e5e7eb;padding:.75rem 1rem;background:#0006;border-radius:.5rem;border-left:3px solid rgba(46,204,113,.5)}.voice-mode-last-user-message .voice-mode-message-text{border-left-color:#9ca3af80}@keyframes fade-in-down{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.voice-mode-error-overlay{position:absolute;bottom:1rem;left:1rem;right:1rem;z-index:2;pointer-events:auto}.voice-mode-transcript-overlay{position:absolute;bottom:0;left:0;right:0;max-height:40%;z-index:1;display:flex;flex-direction:column;padding:.75rem;background:#000000bf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid rgba(46,204,113,.3);pointer-events:auto}.voice-mode-content-overlay{position:relative;z-index:1;display:flex;flex-direction:column;height:100%;pointer-events:none}.voice-mode-content-overlay>*{pointer-events:auto}.voice-mode-top-section{flex:2;display:flex;align-items:center;justify-content:center;padding:2rem}.voice-mode-bottom-section{flex:1;min-height:120px;display:flex;flex-direction:column;padding:.75rem;background:#0009;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(46,204,113,.2)}.voice-mode-main{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0;height:100%}.voice-mode-avatar-section{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem;background:#000}.voice-mode-transcript-section{flex:1;min-height:120px;max-height:250px;display:flex;flex-direction:column;padding:.75rem;background:#000;border-top-left-radius:.5rem;border-top-right-radius:.5rem;box-shadow:0 -2px 8px #2ecc711a;border-top:1px solid #333}@media (max-width: 768px){.voice-mode-restart-dialog{padding:1.5rem;max-width:90%}.voice-mode-restart-title{font-size:1.25rem}.voice-mode-restart-message{font-size:.875rem}.voice-mode-restart-actions{flex-direction:column;gap:.75rem}.voice-mode-restart-button-cancel,.voice-mode-restart-button-confirm{width:100%}.voice-avatar-container{padding:1rem}.voice-avatar{width:12rem!important;height:12rem!important}.voice-mode-avatar-section{flex:0 0 50%}.voice-mode-top-section{padding:1.5rem}.voice-mode-bottom-section{padding:.75rem}.voice-mode-last-turn-overlay{padding:1rem;max-height:80%}.voice-mode-message-text{font-size:1.265625rem}.voice-mode-transcript-overlay{max-height:50%;padding:.75rem}.voice-transcript-zone{font-size:.875rem}}@media (max-width: 480px){.voice-avatar{width:10rem!important;height:10rem!important}.voice-mode-header{padding:.75rem}.voice-mode-top-section{padding:1rem}.voice-mode-bottom-section{padding:.5rem}.voice-mode-last-turn-overlay{padding:.75rem;max-height:85%}.voice-mode-message-text{font-size:1.125rem;padding:.5rem .75rem}.voice-mode-message-label{font-size:.84375rem}.voice-mode-transcript-overlay{max-height:60%;padding:.5rem}.voice-mode-transcript-section{padding:.75rem}}@media (prefers-contrast: high){.voice-mode-toggle{border:2px solid currentColor}.voice-transcript-message{border:1px solid currentColor}}@media (prefers-reduced-motion: reduce){.voice-avatar,.voice-mode-toggle,.voice-transcript-item,.voice-quota-warning{animation:none!important;transition:none!important}.voice-avatar-pulse-ring,.voice-avatar-ripple{display:none}}.voice-mode-toggle:focus-visible{outline:3px solid currentColor;outline-offset:2px}.voice-hidden{display:none}.voice-fade-enter{opacity:0}.voice-fade-enter-active{opacity:1;transition:opacity .3s ease-in}.voice-fade-exit{opacity:1}.voice-fade-exit-active{opacity:0;transition:opacity .3s ease-out}.sidekick-avatar-canvas{position:fixed;bottom:20px;right:20px;width:100px;height:100px;cursor:pointer;border-radius:50%;box-shadow:0 0 15px 5px #00000080;z-index:999}.chat-window{position:fixed;top:7.5vh;left:7.5vw;width:85vw;height:85vh;background-color:#1e1e1e;border:1px solid #333;border-radius:15px;box-shadow:0 5px 20px #00000080;display:flex;z-index:1000;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;overflow:hidden;opacity:1;transform:translateY(0) scale(1);pointer-events:auto;transition:opacity .3s ease,transform .3s ease}.chat-window.hidden{opacity:0;transform:translateY(20px) scale(.95);pointer-events:none}.chat-window.visible{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.chat-history-panel{width:280px;background-color:#2a2a2a;border-right:1px solid #333;display:flex;flex-direction:column;transition:transform .3s ease}.chat-history-panel.closed{transform:translate(-100%);position:absolute;left:0}.chat-history-toolbar{padding:15px;border-bottom:1px solid #333;display:flex;flex-direction:column;gap:10px}.toolbar-actions{display:flex;justify-content:flex-end;gap:8px}.toolbar-btn{background-color:transparent;border:1px solid #4a4a4a;border-radius:8px;color:#999;cursor:pointer;font-size:14px;padding:8px 12px;display:flex;align-items:center;justify-content:center;transition:background-color .2s,color .2s}.toolbar-btn:hover{background-color:#3a3a3a;color:#fff}.new-chat-btn{width:100%;padding:10px 15px;background-color:#3a3a3a;border:1px solid #4a4a4a;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px;transition:background-color .2s}.new-chat-btn:hover{background-color:#4a4a4a}.chat-history-list{flex:1;overflow-y:auto;padding:10px}.chat-history-item{padding:12px;margin-bottom:8px;background-color:#3a3a3a;border-radius:8px;cursor:pointer;transition:background-color .2s;position:relative}.chat-history-item:hover{background-color:#4a4a4a}.chat-history-item.active{background-color:#4a7c8e;border-left:3px solid #2ecc71}.chat-history-title{font-size:14px;font-weight:500;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:25px}.chat-history-date{font-size:12px;color:#999}.chat-history-delete{position:absolute;top:8px;right:8px;background:transparent;border:none;color:#999;cursor:pointer;padding:4px;opacity:0;transition:opacity .2s}.chat-history-item:hover .chat-history-delete{opacity:1}.chat-history-delete:hover{color:#e74c3c}.settings-panel{flex:1;display:flex;flex-direction:column;overflow-y:auto}.settings-header{padding:15px;border-bottom:1px solid #333;display:flex;justify-content:space-between;align-items:center}.settings-header h3{margin:0;font-size:16px;font-weight:600;color:#2ecc71}.settings-close-btn{background:transparent;border:none;color:#999;cursor:pointer;padding:4px;font-size:18px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s,color .2s}.settings-close-btn:hover{background-color:#3a3a3a;color:#fff}.settings-content{flex:1;padding:15px;overflow-y:auto}.settings-section{margin-bottom:24px}.settings-section h4{margin:0 0 8px;font-size:14px;font-weight:600;color:#e0e0e0}.settings-description{margin:0 0 16px;font-size:12px;color:#999;line-height:1.4}.tool-settings{display:flex;flex-direction:column;gap:12px}.tool-setting-item{display:flex;flex-direction:column;gap:4px;padding:12px;background-color:#333;border-radius:8px;transition:background-color .2s}.tool-setting-item:hover{background-color:#3a3a3a}.tool-setting-item label{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;font-weight:500;color:#e0e0e0}.tool-setting-item input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#2ecc71}.tool-setting-item .tool-name{flex:1;display:flex;align-items:center;gap:8px}.tool-setting-item .tool-description{font-size:12px;color:#999;margin-left:28px}.tool-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.tool-badge.mcp{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 4px #667eea4d}.tool-badge.builtin{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;box-shadow:0 2px 4px #f5576c4d}.auto-enabled-badge{margin-left:.5rem;font-size:.9em;color:#06c;cursor:help;display:inline-flex;align-items:center;transition:transform .2s ease}.auto-enabled-badge:hover{transform:scale(1.15)}.tool-settings-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:20px;color:#999;font-size:14px}.tool-settings-loading i{font-size:18px;color:#2ecc71}.no-tools-message{text-align:center;padding:20px;color:#999;font-size:14px;font-style:italic}.settings-content::-webkit-scrollbar{width:6px}.settings-content::-webkit-scrollbar-track{background:#2a2a2a}.settings-content::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:3px}.settings-content::-webkit-scrollbar-thumb:hover{background:#5a5a5a}.chat-history-toggle{position:absolute;left:0;top:50%;transform:translateY(-50%);background-color:#2a2a2a;border:1px solid #333;border-left:none;border-radius:0 8px 8px 0;color:#fff;cursor:pointer;padding:20px 8px;z-index:10;transition:background-color .2s}.chat-history-toggle:hover{background-color:#3a3a3a}.chat-main{flex:1;display:flex;flex-direction:column;min-width:0}.chat-window-header{padding:15px 20px;border-bottom:1px solid #333;display:flex;justify-content:space-between;align-items:center;background-color:#252525}.chat-window-header span{font-weight:600;font-size:16px;color:#2ecc71}.chat-window-close-btn{border:none;background:transparent;color:#fff;font-size:24px;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.chat-window-close-btn:hover{background-color:#3a3a3a}.chat-window-messages{flex:1;padding:20px;overflow-y:auto;scroll-behavior:smooth}.chat-window-messages::-webkit-scrollbar{width:8px}.chat-window-messages::-webkit-scrollbar-track{background:#2a2a2a}.chat-window-messages::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:4px}.chat-window-messages::-webkit-scrollbar-thumb:hover{background:#5a5a5a}.chat-message{display:flex;margin-bottom:20px;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-message.user{flex-direction:row-reverse}.chat-message-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.chat-message.user .chat-message-avatar{background:linear-gradient(135deg,#667eea,#764ba2);margin-left:12px}.chat-message.assistant .chat-message-avatar{background:linear-gradient(135deg,#2ecc71,#27ae60);margin-right:12px}.chat-message-content{max-width:70%;display:flex;flex-direction:column}.chat-message-text{padding:12px 16px;border-radius:12px;line-height:1.5;word-wrap:break-word}.chat-message.user .chat-message-text{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-bottom-right-radius:4px;white-space:pre-wrap}.chat-message.assistant .chat-message-text{background-color:#2a2a2a;color:#e0e0e0;border-bottom-left-radius:4px}.chat-message.error .chat-message-text{background-color:#3a2a2a;border-left:3px solid #e74c3c;color:#fcc}.chat-message.system .chat-message-content{background-color:#3a3520;border-left:3px solid #e6a817;color:#ffe0a0;font-size:12px;padding:6px 10px;border-radius:4px}.chat-message.system .chat-message-avatar{display:none}.chat-message-time{font-size:11px;color:#999;margin-top:4px;padding:0 4px}.chat-message.user .chat-message-time{text-align:right}.chat-message-files{margin-top:8px}.chat-message-file{padding:6px 10px;background-color:#ffffff1a;border-radius:6px;font-size:12px;margin-top:4px;display:flex;align-items:center;gap:6px}.sketch-link-card{margin-top:12px;padding:16px;background:linear-gradient(135deg,#2a4a5a,#1e3a4a);border:2px solid #2ecc71;border-radius:12px;display:flex;align-items:center;gap:16px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #2ecc7133}.sketch-link-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #2ecc714d;border-color:#27ae60;background:linear-gradient(135deg,#2d5260,#214050)}.sketch-icon{width:50px;height:50px;background:linear-gradient(135deg,#2ecc71,#27ae60);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0;box-shadow:0 2px 8px #2ecc714d}.sketch-info{flex:1;min-width:0}.sketch-title{font-size:15px;font-weight:600;color:#e0e0e0;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sketch-name{font-size:12px;color:#999;font-family:Courier New,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sketch-action{width:32px;height:32px;background-color:#2ecc7133;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#2ecc71;font-size:14px;flex-shrink:0;transition:all .3s ease}.sketch-link-card:hover .sketch-action{background-color:#2ecc714d;transform:translate(4px)}.typing-indicator{display:flex;align-items:center;gap:4px;padding:12px 16px}.typing-indicator span{width:8px;height:8px;border-radius:50%;background-color:#2ecc71;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}.chat-window-input-bar{border-top:1px solid #333;background-color:#252525;display:flex;flex-direction:column;transition:background-color .15s ease,border-color .15s ease}.chat-window-input-bar.drag-over{background-color:#1a2a3a;border-top:1px solid #4a9eff;box-shadow:inset 0 0 8px #4a9eff26}.attached-files-preview{padding:10px 15px;border-bottom:1px solid #333;display:flex;flex-wrap:wrap;gap:8px}.attached-file-item{display:flex;align-items:center;gap:6px;padding:6px 10px;background-color:#3a3a3a;border-radius:6px;font-size:13px}.attached-file-item button{background:none;border:none;color:#999;cursor:pointer;padding:0;margin-left:4px}.attached-file-item button:hover{color:#e74c3c}.input-bar-controls{display:flex;align-items:center;padding:15px}.connectivity-indicator{width:12px;height:12px;border-radius:50%;background-color:#2ecc71;margin-right:15px;flex-shrink:0;box-shadow:0 0 8px #2ecc7199}.chat-window-input{flex:1;padding:12px 16px;border-radius:24px;border:1px solid #444;background-color:#2a2a2a;color:#fff;margin-right:12px;font-size:14px;line-height:1.4;font-family:inherit;resize:none;min-height:40px;max-height:calc(14px * 1.4 * 3 + 24px);overflow-y:auto;transition:border-color .2s,background-color .2s;outline:none}.chat-window-input:focus{border-color:#2ecc71;background-color:#333}.chat-window-input:disabled{opacity:.6;cursor:not-allowed}.chat-window-input::-webkit-scrollbar{width:0px}.chat-window-input::-webkit-scrollbar-track{background:transparent}.chat-window-input::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:3px}.chat-input-wrapper{position:relative;flex:1;margin-right:12px}.chat-input-wrapper .chat-window-input{width:100%;margin-right:0}.chat-window-input.chat-window-input--has-refs{color:transparent;caret-color:#fff}.chat-input-overlay{position:absolute;top:0;left:0;right:0;bottom:0;padding:12px 16px;border:1px solid transparent;border-radius:24px;pointer-events:none;overflow:hidden;color:#fff;font-size:14px;font-family:inherit;display:flex;align-items:center;z-index:1}.chat-input-overlay-text{white-space:nowrap;display:inline-block}.chat-input-file-ref{color:#4ade80;background:#4ade801f;border-radius:4px;box-shadow:0 0 0 1px #4ade804d}.chat-window-action-btn{background:transparent;border:none;color:#999;font-size:18px;cursor:pointer;margin-right:8px;padding:8px;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;transition:background-color .2s,color .2s}.chat-window-action-btn:hover:not(:disabled){background-color:#3a3a3a;color:#fff}.chat-window-action-btn:disabled{opacity:.4;cursor:not-allowed}.chat-window-action-btn.recording,.chat-window-action-btn.voice-mode-active{color:#f44;background-color:#f443;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.chat-window-action-btn.send-btn{background:linear-gradient(135deg,#2ecc71,#27ae60);color:#fff;margin-right:0}.chat-window-action-btn.send-btn:hover:not(:disabled){background:linear-gradient(135deg,#27ae60,#229954)}.chat-window-action-btn.send-btn:disabled{background:#3a3a3a;color:#666}.chat-history-list::-webkit-scrollbar{width:6px}.chat-history-list::-webkit-scrollbar-track{background:#2a2a2a}.chat-history-list::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:3px}.chat-history-list::-webkit-scrollbar-thumb:hover{background:#5a5a5a}.chat-message-footer{display:flex;align-items:center;justify-content:space-between;margin-top:4px;padding:0 4px;gap:8px}.metadata-toggle-btn{background:transparent;border:1px solid #4a4a4a;border-radius:6px;color:#999;cursor:pointer;padding:4px 8px;font-size:11px;display:flex;align-items:center;gap:4px;transition:all .2s ease}.metadata-toggle-btn:hover{background-color:#3a3a3a;color:#2ecc71;border-color:#2ecc71}.metadata-toggle-btn i{font-size:10px}.skill-label{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;margin-bottom:4px;background:#3498db1f;border-radius:10px;font-size:11px;color:#3498db;font-weight:500}.skill-label i{font-size:9px}.tool-usage-indicator{display:flex;align-items:center;gap:6px;padding:4px 10px;background:#2ecc7126;border:1px solid rgba(46,204,113,.3);border-radius:6px;font-size:11px;color:#2ecc71;font-weight:500;white-space:nowrap}.tool-usage-indicator i{font-size:10px}.chat-message-metadata{margin-top:8px;padding:12px;background-color:#252525;border:1px solid #333;border-radius:8px;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.metadata-header{font-size:12px;font-weight:600;color:#2ecc71;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #333}.metadata-section{margin-bottom:12px}.metadata-section:last-child{margin-bottom:0}.metadata-label{font-size:11px;font-weight:600;color:#999;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.metadata-content{background-color:#1e1e1e;border:1px solid #333;border-radius:6px;padding:10px;font-size:11px;color:#e0e0e0;font-family:Courier New,Consolas,monospace;overflow-x:auto;max-height:300px;overflow-y:auto;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.metadata-content::-webkit-scrollbar{width:6px;height:6px}.metadata-content::-webkit-scrollbar-track{background:#1e1e1e}.metadata-content::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:3px}.metadata-content::-webkit-scrollbar-thumb:hover{background:#5a5a5a}.metadata-empty{font-size:12px;color:#666;font-style:italic;text-align:center;padding:8px}.tools-dropdown-container{position:relative;margin-right:8px}.chat-window-action-btn.tools-btn{position:relative;display:flex;align-items:center;gap:6px;padding:8px 12px;width:auto!important;height:auto!important;border-radius:8px!important;min-width:40px}.tool-icon-inline{font-size:16px;line-height:1}.tool-name-inline{font-size:13px;font-weight:500;color:#e0e0e0;white-space:nowrap;max-width:120px;overflow:hidden;text-overflow:ellipsis}@keyframes badgePop{0%{transform:scale(0)}60%{transform:scale(1.2)}to{transform:scale(1)}}.tools-dropdown-menu{position:absolute;bottom:100%;left:0;margin-bottom:10px;width:320px;max-height:450px;background-color:#2a2a2a;border:1px solid #444;border-radius:12px;box-shadow:0 8px 24px #00000080;display:flex;flex-direction:column;z-index:1000;animation:dropdownSlideUp .2s ease-out}@keyframes dropdownSlideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.tools-dropdown-header{padding:16px;border-bottom:1px solid #333;background-color:#252525;border-radius:12px 12px 0 0}.tools-dropdown-header h4{margin:0 0 4px;font-size:16px;font-weight:600;color:#2ecc71;display:flex;align-items:center;gap:8px}.tools-dropdown-subtitle{font-size:12px;color:#999;font-weight:400}.tools-dropdown-content{flex:1;overflow-y:auto;padding:8px;max-height:380px}.tools-dropdown-content::-webkit-scrollbar{width:6px}.tools-dropdown-content::-webkit-scrollbar-track{background:#2a2a2a}.tools-dropdown-content::-webkit-scrollbar-thumb{background:#4a4a4a;border-radius:3px}.tools-dropdown-content::-webkit-scrollbar-thumb:hover{background:#5a5a5a}.tools-dropdown-divider{height:1px;background:#3a3a3a;margin:4px 8px}.tool-dropdown-item{padding:10px 12px;margin-bottom:6px;background-color:#333;border-radius:8px;transition:background-color .2s;cursor:pointer}.tool-dropdown-item:hover{background-color:#3a3a3a}.tool-dropdown-item:last-child{margin-bottom:0}.tool-dropdown-item label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;width:100%}.tool-dropdown-item input[type=checkbox]{width:18px;height:18px;margin-top:2px;cursor:pointer;accent-color:#2ecc71;flex-shrink:0}.tool-info{flex:1;min-width:0}.tool-dropdown-item .tool-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;font-weight:500;color:#e0e0e0;margin-bottom:4px}.tool-dropdown-item .tool-description{font-size:12px;color:#999;line-height:1.4;margin-top:4px}.tool-dropdown-item.gemini-item{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:4px;background-color:#2d2d2d;border:1px solid transparent;border-radius:10px;cursor:pointer;transition:all .2s ease;position:relative}.tool-dropdown-item.gemini-item:hover{background-color:#353535;border-color:#444}.tool-dropdown-item.gemini-item.selected{background-color:#1e3a2e;border-color:#2ecc71;box-shadow:0 0 0 1px #2ecc7133}.tool-dropdown-item.gemini-item.selected:hover{background-color:#234533;border-color:#2ecc71}.tool-icon-wrapper{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background-color:#3a3a3a;border-radius:8px;font-size:20px;transition:background-color .2s ease}.tool-dropdown-item.gemini-item.selected .tool-icon-wrapper{background-color:#2ecc7126}.tool-dropdown-item.gemini-item:hover .tool-icon-wrapper{background-color:#424242}.tool-dropdown-item.gemini-item.selected:hover .tool-icon-wrapper{background-color:#2ecc7133}.tool-icon{display:block}.tool-dropdown-item.gemini-item .tool-info{flex:1;min-width:0}.tool-dropdown-item.gemini-item .tool-name{font-size:14px;font-weight:500;color:#e8e8e8;margin-bottom:4px;display:block}.tool-dropdown-item.gemini-item.selected .tool-name{color:#2ecc71}.tool-dropdown-item.gemini-item .tool-description{font-size:12px;color:#999;line-height:1.3;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tools-dropdown-menu.gemini-style{width:360px}.tools-dropdown-menu.gemini-style .tools-dropdown-header h4{color:#e8e8e8;font-size:15px;font-weight:600}.tools-dropdown-menu.gemini-style .tools-dropdown-subtitle{color:#aaa}.mcp-servers-section{padding:4px 0}.mcp-section-header{font-size:11px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.5px;padding:8px 14px 4px}.mcp-server-item{display:flex;align-items:center;gap:10px;padding:10px 14px;margin-bottom:2px;border-radius:8px;cursor:default;transition:background-color .15s ease}.mcp-server-item:hover{background-color:#353535}.mcp-icon-wrapper{width:32px;height:32px;font-size:16px}.mcp-server-info{flex:1;min-width:0}.mcp-server-title{font-size:13px;font-weight:500;color:#e0e0e0;display:flex;align-items:center;gap:6px}.mcp-server-meta{font-size:11px;color:#888;margin-top:2px}.mcp-badge{font-size:10px;font-weight:500;padding:1px 6px;border-radius:4px;text-transform:uppercase;letter-spacing:.3px}.mcp-badge-local{background-color:#2ecc7126;color:#2ecc71}.mcp-badge-remote{background-color:#3498db26;color:#3498db}.mcp-server-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.mcp-action-btn{background:none;border:none;color:#777;cursor:pointer;padding:4px 6px;border-radius:4px;font-size:14px;transition:all .15s ease}.mcp-action-btn:hover{background-color:#444;color:#ccc}.mcp-refresh-btn:hover{color:#3498db}.mcp-edit-btn:hover{color:#f39c12}.mcp-delete-btn:hover{color:#e74c3c}.mcp-toggle-btn{font-size:18px}.mcp-toggle-on{color:#2ecc71}.mcp-toggle-on:hover{color:#27ae60}.mcp-expand-btn{background:none;border:none;color:#777;cursor:pointer;padding:2px 4px;font-size:10px;width:18px;flex-shrink:0;transition:color .15s ease}.mcp-expand-btn:hover{color:#ccc}.mcp-tools-list{padding:2px 0 4px 24px}.mcp-tool-item{display:flex;align-items:flex-start;gap:8px;padding:5px 10px;border-radius:6px;cursor:pointer;transition:background-color .15s ease}.mcp-tool-item:hover{background-color:#353535}.mcp-tool-checkbox{margin-top:3px;accent-color:#2ecc71;cursor:pointer;flex-shrink:0}.mcp-tool-info{min-width:0}.mcp-tool-name{font-size:12px;color:#ddd;font-weight:500}.mcp-tool-desc{font-size:11px;color:#888;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.mcp-add-btn{display:flex;align-items:center;gap:6px;width:100%;padding:10px 14px;margin-top:2px;background:none;border:1px dashed #444;border-radius:8px;color:#aaa;font-size:13px;cursor:pointer;transition:all .15s ease}.mcp-add-btn:hover{border-color:#2ecc71;color:#2ecc71;background-color:#2ecc710d}.mcp-add-form{display:flex;flex-direction:column;gap:8px;padding:10px 14px;margin-top:4px;background-color:#252525;border:1px solid #444;border-radius:8px}.mcp-input{width:100%;padding:8px 10px;background-color:#333;border:1px solid #555;border-radius:6px;color:#e0e0e0;font-size:13px;outline:none;transition:border-color .15s ease;box-sizing:border-box}.mcp-input:focus{border-color:#2ecc71}.mcp-input::placeholder{color:#777}.mcp-add-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:2px}.mcp-form-btn{padding:6px 14px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;border:none;transition:all .15s ease}.mcp-form-cancel{background-color:#333;color:#aaa}.mcp-form-cancel:hover{background-color:#3a3a3a;color:#ccc}.mcp-form-submit{background-color:#2ecc71;color:#fff}.mcp-form-submit:hover{background-color:#27ae60}.mcp-form-submit:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 1200px){.chat-history-panel{width:240px}}@media (max-width: 900px){.chat-history-panel{width:200px}.chat-message-content{max-width:80%}}.a-button--integrated{border:none!important;margin:0!important}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.o-error-boundary{display:flex;align-items:center;justify-content:center;min-height:100vh;background-color:#f5f5f5;padding:2rem}.o-error-boundary__content{text-align:center;max-width:600px;background:#fff;padding:3rem 2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.o-error-boundary__icon{font-size:5rem;color:#d32f2f;margin-bottom:1.5rem}.o-error-boundary__title{font-size:2rem;font-weight:500;color:#333;margin:0 0 1rem}.o-error-boundary__message{font-size:1rem;color:#666;line-height:1.6;margin:0 0 2rem}.o-error-boundary__actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.o-error-boundary__details{margin:2rem 0;text-align:left;background:#f5f5f5;border-radius:4px;padding:1rem}.o-error-boundary__details-summary{cursor:pointer;font-weight:600;color:#666;-webkit-user-select:none;user-select:none;margin-bottom:.5rem}.o-error-boundary__details-summary:hover{color:#333}.o-error-boundary__details-content{margin-top:1rem}.o-error-boundary__error-message,.o-error-boundary__stack-trace{background:#fff;border:1px solid #ddd;border-radius:4px;padding:1rem;overflow-x:auto;font-family:Courier New,Courier,monospace;font-size:.875rem;color:#d32f2f;margin:.5rem 0}.o-error-boundary__stack-trace{color:#666;max-height:300px;overflow-y:auto}
