:root,[data-theme=light]{--ai-shell-bg: #ffffff;--ai-shell-bg-elevated: #f7f8fa;--ai-shell-bg-overlay: rgba(255, 255, 255, .95);--ai-shell-text: #1a1d24;--ai-shell-text-muted: #6b7280;--ai-shell-text-faint: #9ca3af;--ai-shell-border: #e5e7eb;--ai-shell-border-strong: #d1d5db;--ai-shell-accent: #5b6fd6;--ai-shell-accent-hover: #4c5fc6;--ai-shell-accent-bg: #eef0fc;--ai-shell-success: #16a34a;--ai-shell-success-bg: #dcfce7;--ai-shell-error: #dc2626;--ai-shell-error-bg: #fee2e2;--ai-shell-warning: #d97706;--ai-shell-warning-bg: #fef3c7;--ai-shell-info: #2563eb;--ai-shell-info-bg: #dbeafe;--ai-shell-user-bubble: #5b6fd6;--ai-shell-user-text: #ffffff;--ai-shell-ai-bubble: #f3f4f6;--ai-shell-ai-text: #1a1d24;--ai-shell-shadow: 0 4px 12px rgba(0, 0, 0, .08);--ai-shell-shadow-lg: 0 12px 32px rgba(0, 0, 0, .12);--ai-shell-radius: 12px;--ai-shell-radius-sm: 6px;--ai-shell-font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;--ai-shell-font-mono: "SF Mono", Monaco, Consolas, "Courier New", monospace}[data-theme=dark]{--ai-shell-bg: #0c1018;--ai-shell-bg-elevated: #161a26;--ai-shell-bg-overlay: rgba(12, 16, 24, .95);--ai-shell-text: #e0e0e8;--ai-shell-text-muted: #8b95a7;--ai-shell-text-faint: #5a6478;--ai-shell-border: #1f2937;--ai-shell-border-strong: #374151;--ai-shell-accent: #7c3aed;--ai-shell-accent-hover: #6d28d9;--ai-shell-accent-bg: rgba(124, 58, 237, .15);--ai-shell-success: #4ade80;--ai-shell-success-bg: rgba(74, 222, 128, .15);--ai-shell-error: #f87171;--ai-shell-error-bg: rgba(248, 113, 113, .15);--ai-shell-warning: #fbbf24;--ai-shell-warning-bg: rgba(251, 191, 36, .15);--ai-shell-info: #60a5fa;--ai-shell-info-bg: rgba(96, 165, 250, .15);--ai-shell-user-bubble: #7c3aed;--ai-shell-user-text: #ffffff;--ai-shell-ai-bubble: #161a26;--ai-shell-ai-text: #e0e0e8;--ai-shell-shadow: 0 4px 12px rgba(0, 0, 0, .4);--ai-shell-shadow-lg: 0 12px 32px rgba(0, 0, 0, .5)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--ai-shell-bg: #0c1018;--ai-shell-bg-elevated: #161a26;--ai-shell-bg-overlay: rgba(12, 16, 24, .95);--ai-shell-text: #e0e0e8;--ai-shell-text-muted: #8b95a7;--ai-shell-text-faint: #5a6478;--ai-shell-border: #1f2937;--ai-shell-border-strong: #374151;--ai-shell-accent: #7c3aed;--ai-shell-accent-hover: #6d28d9;--ai-shell-accent-bg: rgba(124, 58, 237, .15);--ai-shell-success: #4ade80;--ai-shell-success-bg: rgba(74, 222, 128, .15);--ai-shell-error: #f87171;--ai-shell-error-bg: rgba(248, 113, 113, .15);--ai-shell-warning: #fbbf24;--ai-shell-warning-bg: rgba(251, 191, 36, .15);--ai-shell-info: #60a5fa;--ai-shell-info-bg: rgba(96, 165, 250, .15);--ai-shell-user-bubble: #7c3aed;--ai-shell-user-text: #ffffff;--ai-shell-ai-bubble: #161a26;--ai-shell-ai-text: #e0e0e8;--ai-shell-shadow: 0 4px 12px rgba(0, 0, 0, .4);--ai-shell-shadow-lg: 0 12px 32px rgba(0, 0, 0, .5)}}.ai-shell-loading,[data-testid=ai-shell-loading]{font-family:var(--ai-shell-font);color:var(--ai-shell-text-muted);padding:12px;font-size:14px}.ai-shell-ask-unit{font-family:var(--ai-shell-font);display:flex;flex-direction:column;background:var(--ai-shell-bg);color:var(--ai-shell-text);border:1px solid var(--ai-shell-border);border-radius:var(--ai-shell-radius);overflow:hidden;min-height:0}.ai-shell-ask-unit__tabs{display:flex;gap:2px;padding:6px 6px 0;background:var(--ai-shell-bg-elevated);border-bottom:1px solid var(--ai-shell-border);overflow-x:auto;scrollbar-width:thin}.ai-shell-tab{font-family:var(--ai-shell-font);font-size:13px;font-weight:500;padding:6px 12px;background:transparent;border:1px solid transparent;border-bottom:none;border-radius:6px 6px 0 0;color:var(--ai-shell-text-muted);cursor:pointer;white-space:nowrap;max-width:180px;display:inline-flex;align-items:center;gap:6px;transition:background .15s,color .15s}.ai-shell-tab:hover{background:var(--ai-shell-bg);color:var(--ai-shell-text)}.ai-shell-tab--active{background:var(--ai-shell-bg);color:var(--ai-shell-text);border-color:var(--ai-shell-border);border-bottom-color:var(--ai-shell-bg);position:relative;top:1px}.ai-shell-tab__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.ai-shell-tab__close{font-size:16px;line-height:1;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:var(--ai-shell-text-faint);cursor:pointer;-webkit-user-select:none;user-select:none}.ai-shell-tab__close:hover{background:var(--ai-shell-border);color:var(--ai-shell-text)}.ai-shell-tab--new{font-size:18px;font-weight:400;color:var(--ai-shell-text-muted);min-width:32px;padding:6px 10px}.ai-shell-ask-unit__messages{flex:1;min-height:0;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:var(--ai-shell-bg);scrollbar-width:thin}.ai-shell-empty-state{color:var(--ai-shell-text-faint);text-align:center;font-size:13px;padding:24px 0}.ai-shell-message{display:flex;gap:10px;align-items:flex-start;max-width:100%}.ai-shell-message--user{flex-direction:row-reverse}.ai-shell-message--error{background:var(--ai-shell-error-bg);border:1px solid var(--ai-shell-error);border-radius:8px;padding:10px 12px}.ai-shell-message--system{border-left:3px solid var(--ai-shell-accent);padding:6px 12px;opacity:.7;font-size:13px}.ai-shell-message__avatar{width:28px;height:28px;border-radius:50%;background:var(--ai-shell-accent-bg);color:var(--ai-shell-accent);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}.ai-shell-message__body{flex:1;min-width:0;max-width:calc(100% - 38px)}.ai-shell-message--user .ai-shell-message__body{background:var(--ai-shell-user-bubble);color:var(--ai-shell-user-text);border-radius:12px 12px 4px;padding:8px 12px}.ai-shell-message--assistant .ai-shell-message__body{background:var(--ai-shell-ai-bubble);color:var(--ai-shell-ai-text);border-radius:4px 12px 12px;padding:8px 12px}.ai-shell-message__thinking{font-size:12px;margin-bottom:6px;opacity:.7}.ai-shell-message__thinking summary{cursor:pointer;font-weight:500;-webkit-user-select:none;user-select:none}.ai-shell-message__thinking pre{background:#0000000d;padding:6px 8px;border-radius:4px;font-family:var(--ai-shell-font-mono);font-size:11px;white-space:pre-wrap;word-wrap:break-word;margin-top:4px}[data-theme=dark] .ai-shell-message__thinking pre{background:#ffffff0d}.ai-shell-message__content{word-wrap:break-word;white-space:pre-wrap;font-size:14px;line-height:1.5}.ai-shell-message__cursor{display:inline-block;width:6px;animation:ai-shell-blink 1s steps(2) infinite;margin-left:1px}@keyframes ai-shell-blink{0%,50%{opacity:1}50.01%,to{opacity:0}}.ai-shell-message__tag{font-size:11px;color:var(--ai-shell-text-muted);margin-top:4px;font-style:italic}.ai-shell-ask-unit__input{position:relative;border-top:1px solid var(--ai-shell-border);background:var(--ai-shell-bg-elevated);padding:10px;display:flex;flex-direction:column;gap:6px}.ai-shell-ask-unit__chips{display:flex;gap:6px;flex-wrap:wrap}.ai-shell-chip{font-family:var(--ai-shell-font);font-size:12px;font-weight:500;padding:4px 10px;background:var(--ai-shell-bg);color:var(--ai-shell-text);border:1px solid var(--ai-shell-border);border-radius:999px;cursor:pointer;transition:background .15s,border-color .15s}.ai-shell-chip:hover{background:var(--ai-shell-accent-bg);border-color:var(--ai-shell-accent);color:var(--ai-shell-accent)}.ai-shell-picker{position:absolute;bottom:calc(100% + 4px);left:10px;right:10px;max-height:240px;overflow-y:auto;background:var(--ai-shell-bg);border:1px solid var(--ai-shell-border);border-radius:var(--ai-shell-radius-sm);box-shadow:var(--ai-shell-shadow-lg);z-index:10}.ai-shell-picker__header{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ai-shell-text-muted);padding:8px 12px;border-bottom:1px solid var(--ai-shell-border)}.ai-shell-picker__empty{padding:12px;font-size:13px;color:var(--ai-shell-text-muted);text-align:center}.ai-shell-picker__item{display:block;width:100%;text-align:left;background:transparent;border:none;padding:8px 12px;cursor:pointer;font-family:var(--ai-shell-font);color:var(--ai-shell-text);border-bottom:1px solid var(--ai-shell-border);transition:background .1s}.ai-shell-picker__item:last-child{border-bottom:none}.ai-shell-picker__item:hover{background:var(--ai-shell-bg-elevated)}.ai-shell-picker__item--active{background:var(--ai-shell-accent-bg);color:var(--ai-shell-accent)}.ai-shell-picker__item-label{font-size:13px;font-weight:500}.ai-shell-picker__item-meta{font-size:11px;color:var(--ai-shell-text-muted);margin-top:2px;font-family:var(--ai-shell-font-mono)}.ai-shell-textarea{font-family:var(--ai-shell-font);font-size:14px;padding:8px 12px;background:var(--ai-shell-bg);color:var(--ai-shell-text);border:1px solid var(--ai-shell-border);border-radius:var(--ai-shell-radius-sm);resize:none;outline:none;width:100%;min-height:40px;max-height:120px;line-height:1.4;transition:border-color .15s}.ai-shell-textarea:focus{border-color:var(--ai-shell-accent)}.ai-shell-textarea:disabled{opacity:.5;cursor:not-allowed}.ai-shell-send{position:absolute;right:16px;bottom:18px;width:32px;height:32px;border-radius:50%;background:var(--ai-shell-accent);color:#fff;border:none;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,transform .1s}.ai-shell-send:hover:not(:disabled){background:var(--ai-shell-accent-hover);transform:scale(1.05)}.ai-shell-send:disabled{opacity:.4;cursor:not-allowed}.ai-shell-send--stop{background:var(--ai-shell-error)}.ai-shell-notification-host{position:fixed;top:16px;right:16px;z-index:9999;display:flex;flex-direction:column;gap:8px;max-width:360px;pointer-events:none}.ai-shell-notification{pointer-events:auto;font-family:var(--ai-shell-font);background:var(--ai-shell-bg-overlay);border:1px solid var(--ai-shell-border);border-radius:var(--ai-shell-radius-sm);box-shadow:var(--ai-shell-shadow-lg);padding:12px 36px 12px 14px;position:relative;animation:ai-shell-slide-in .2s ease-out}@keyframes ai-shell-slide-in{0%{transform:translate(20px);opacity:0}to{transform:translate(0);opacity:1}}.ai-shell-notification--info{border-left:4px solid var(--ai-shell-info)}.ai-shell-notification--error{border-left:4px solid var(--ai-shell-error);background:var(--ai-shell-error-bg);color:var(--ai-shell-error)}.ai-shell-notification__title{font-size:13px;font-weight:600;margin-bottom:2px}.ai-shell-notification__body{font-size:12px;color:var(--ai-shell-text-muted);word-wrap:break-word}.ai-shell-notification__close{position:absolute;top:6px;right:8px;width:20px;height:20px;border:none;background:transparent;font-size:18px;line-height:1;color:var(--ai-shell-text-muted);cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center}.ai-shell-notification__close:hover{background:var(--ai-shell-border);color:var(--ai-shell-text)}.ai-shell-workspaces-chip{position:fixed;z-index:100;font-family:var(--ai-shell-font)}.ai-shell-workspaces-chip--top-right{top:16px;right:16px}.ai-shell-workspaces-chip--top-left{top:16px;left:16px}.ai-shell-workspaces-chip--bottom-right{bottom:16px;right:16px}.ai-shell-workspaces-chip__trigger{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:var(--ai-shell-bg-overlay);border:1px solid var(--ai-shell-border);border-radius:999px;box-shadow:var(--ai-shell-shadow);font-size:13px;font-weight:500;color:var(--ai-shell-text);cursor:pointer;font-family:var(--ai-shell-font);transition:background .15s,border-color .15s}.ai-shell-workspaces-chip__trigger:hover{background:var(--ai-shell-accent-bg);border-color:var(--ai-shell-accent)}.ai-shell-workspaces-chip__menu{position:absolute;top:calc(100% + 6px);right:0;min-width:240px;background:var(--ai-shell-bg);border:1px solid var(--ai-shell-border);border-radius:var(--ai-shell-radius-sm);box-shadow:var(--ai-shell-shadow-lg);overflow:hidden}.ai-shell-workspaces-chip__header{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ai-shell-text-muted);padding:10px 12px;border-bottom:1px solid var(--ai-shell-border)}.ai-shell-workspaces-chip__item{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:13px;color:var(--ai-shell-text);text-decoration:none;border-bottom:1px solid var(--ai-shell-border);transition:background .1s}.ai-shell-workspaces-chip__item:last-child{border-bottom:none}.ai-shell-workspaces-chip__item:hover{background:var(--ai-shell-bg-elevated)}.ai-shell-workspaces-chip__item-label{flex:1}.ai-shell-workspaces-chip__item-ext{color:var(--ai-shell-text-faint);font-size:12px}
