.study-tools-trigger{border:1px solid var(--border);min-height:36px;color:var(--foreground);background:var(--background);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:6px 9px;font-size:12px;font-weight:600;display:inline-flex}.study-tools-trigger:disabled{opacity:.45;cursor:default}.study-tools-menu{z-index:60;background:var(--popover,var(--background));max-height:min(580px,65dvh);color:var(--foreground);border:1px solid var(--border);text-align:left;border-radius:16px;padding:14px;position:absolute;bottom:calc(100% + 8px);left:0;right:0;overflow:auto;box-shadow:0 16px 48px #152f2526}.study-tools-heading{letter-spacing:.13em;color:var(--muted-foreground);justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:10px;font-weight:700;display:flex}.study-tools-heading button{cursor:pointer;border-radius:7px;place-items:center;min-width:30px;min-height:30px;display:grid}.study-tools-heading button:hover{background:var(--muted)}.study-tools-target-tabs{background:var(--muted);border-radius:10px;gap:4px;padding:4px;display:flex}.study-tools-target-tabs button{cursor:pointer;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:36px;padding:6px;font-size:11px;font-weight:600;display:flex}.study-tools-target-tabs button[aria-pressed=true]{background:var(--background);box-shadow:0 1px 4px #00000012}.study-tools-target-tabs button:disabled{opacity:.45;cursor:default}.study-tools-scope{justify-content:space-between;align-items:flex-start;gap:10px;padding:12px 1px;font-size:12px;line-height:1.5;display:flex}.study-tools-scope span{overflow-wrap:anywhere;min-width:0}.study-tools-scope strong{font-weight:600}.study-tools-scope button{color:var(--primary);text-underline-offset:3px;cursor:pointer;flex-shrink:0;min-height:24px;text-decoration:underline}.study-tools-checklist{border:1px solid var(--border);border-radius:10px;max-height:160px;margin-bottom:9px;padding:4px;overflow:auto}.study-tools-checklist label{cursor:pointer;overflow-wrap:anywhere;align-items:flex-start;gap:9px;min-height:44px;padding:10px 8px;font-size:12px;display:flex}.study-tools-checklist input{accent-color:var(--primary);flex-shrink:0;margin-top:3px}.study-tools-checklist label span{min-width:0}.study-tools-checklist small{color:var(--muted-foreground);margin-top:3px;font-size:10px;display:block}.study-tools-unavailable{opacity:.6;cursor:default!important}.study-tools-checklist p,.study-tools-actions>p{color:var(--muted-foreground);padding:10px;font-size:12px}.study-tools-reply-preview{color:var(--muted-foreground);-webkit-line-clamp:3;-webkit-box-orient:vertical;padding:0 1px 12px;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.study-tools-actions{border-top:1px solid var(--border);padding-top:5px}.study-tools-actions>button{text-align:left;cursor:pointer;border-radius:9px;align-items:center;gap:11px;width:100%;min-height:49px;padding:9px;display:flex}.study-tools-actions>button:hover,.study-tools-actions>button:focus-visible{background:var(--accent);outline:2px solid var(--ring);outline-offset:-2px}.study-tools-actions>button>svg{color:var(--primary);flex-shrink:0}.study-tools-actions strong{font-size:13px;font-weight:600;display:block}.study-tools-actions small{color:var(--muted-foreground);margin-top:2px;font-size:11px;line-height:1.4;display:block}.study-tools-actions>button:disabled{opacity:.46;cursor:default}.study-tools-actions>button:disabled:hover{background:0 0;outline:0}.study-tools-footnote{color:var(--muted-foreground);border-top:1px solid var(--border);margin-top:5px;padding:10px 2px 0;font-size:10px}.study-tools-prepared{border-bottom:1px solid var(--border);background:var(--muted);padding:9px 12px;font-size:11px;line-height:1.5}.study-tools-prepared-header{justify-content:space-between;align-items:center;gap:7px;display:flex}.study-tools-prepared-header strong{font-size:11px}.study-tools-prepared-header button{text-underline-offset:3px;cursor:pointer;min-height:28px;padding:3px 5px;text-decoration:underline}.study-tools-prepared-items{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}.study-tools-prepared-items span{border:1px solid var(--border);overflow-wrap:anywhere;background:var(--background);border-radius:5px;max-width:100%;padding:2px 5px}.study-tools-invalid{color:var(--destructive);margin:6px 0 0;font-size:11px}@media (width<=480px){.study-tools-menu{max-height:65dvh;padding:10px}.study-tools-trigger{min-height:40px}.study-tools-actions>button{min-height:48px}.study-tools-heading button{min-width:36px;min-height:36px}.study-tools-target-tabs button{min-height:40px}.study-tools-scope button{min-height:32px}}.study-tools-trigger,.study-tools-heading button,.study-tools-target-tabs button,.study-tools-scope button,.study-tools-prepared-header button{min-height:44px}.study-tools-heading button{min-width:44px}.study-tools-trigger,.study-tools-target-tabs button{font-size:13px}.study-tools-actions strong{font-size:14px}.study-tools-actions small,.study-tools-footnote,.study-tools-checklist small{font-size:12px;line-height:1.5}.study-tools-trigger:focus-visible,.study-tools-menu button:not([data-study-action]):focus-visible,.study-tools-checklist input:focus-visible,.study-tools-prepared button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.study-context-expander{border-bottom:1px solid var(--border);color:var(--foreground);margin-bottom:8px;padding-bottom:10px;position:relative}.study-context-toggle{text-align:left;cursor:pointer;align-items:center;gap:7px;width:100%;min-height:44px;font-size:12px;display:flex}.study-context-label{letter-spacing:normal;text-transform:none;color:var(--foreground);align-items:center;gap:7px;font-size:12px;font-weight:500;line-height:20px;display:inline-flex}.study-context-label>svg{color:var(--muted-foreground);flex-shrink:0}.study-context-toggle strong{border:1px solid var(--border);border-radius:5px;place-items:center;min-width:19px;height:19px;margin-left:3px;font-size:10px;font-weight:500;display:inline-grid}.study-context-toggle-hint{color:var(--muted-foreground);margin-left:auto;font-size:11px}.study-context-chevron-open{transform:rotate(180deg)}.study-context-collapsed,.study-context-chips{flex-wrap:wrap;align-items:flex-start;gap:6px;min-width:0;display:flex}.study-context-collapsed{padding-top:4px}.study-context-expanded{scrollbar-gutter:stable;max-height:min(380px,48dvh);padding:2px;position:relative;overflow:auto}.study-context-targets{flex-wrap:wrap;gap:4px;margin-bottom:8px;display:flex}.study-context-targets button{min-height:36px;color:var(--muted-foreground);cursor:pointer;border-radius:5px;align-items:center;gap:5px;padding:5px 7px;font-size:11px;display:flex}.study-context-targets button[aria-pressed=true]{background:var(--muted);color:var(--foreground)}.study-context-targets button:disabled,.study-context-toggle:disabled{opacity:.45;cursor:default}.study-context-chips{max-height:150px;padding:2px;overflow:auto}.study-context-chips>div{max-width:100%}.study-context-chips small{max-width:240px;color:var(--muted-foreground);padding:3px;font-size:10px;line-height:1.5;display:block}.study-context-chips .llm-chat-composer-context-chip{max-width:100%}.study-context-unavailable .llm-chat-composer-context-chip{opacity:.6}.study-context-scope,.study-context-empty,.study-context-footnote{color:var(--muted-foreground);margin:7px 0;font-size:11px;line-height:1.5}.study-context-action-heading{justify-content:space-between;align-items:center;min-height:44px;margin-bottom:4px;display:flex}.study-context-divider{border-top:1px solid var(--border);width:50%;height:0;margin:8px 0 6px}.study-context-action-heading button{cursor:pointer;border-radius:5px;place-items:center;min-width:36px;min-height:36px;display:grid}.study-context-action-box{background:var(--background);gap:2px}.study-context-action-box .llm-chat-message-action{white-space:nowrap;min-height:36px;padding:7px 9px}.study-context-action-box button:disabled{opacity:.4;cursor:default}.study-context-action-box button:disabled:hover{color:var(--muted-foreground);background:0 0}.study-context-split .study-context-expanded{grid-template-columns:minmax(0,1fr) 165px;gap:14px;display:grid}.study-context-split .study-context-action-panel{padding-left:12px;position:relative}.study-context-split .study-context-divider{border-top:0;border-left:1px solid var(--border);width:0;height:50%;margin:0;position:absolute;top:25%;left:0}.study-context-split .study-context-action-box{flex-direction:column;align-items:stretch}.study-context-split .study-context-action-box button{justify-content:flex-start;width:100%}.study-context-floating .study-context-expanded{max-height:none;overflow:visible}.study-context-floating .study-context-action-panel{border:1px solid var(--border);background:var(--popover,var(--background));z-index:60;border-radius:10px;max-height:35dvh;padding:10px;position:absolute;bottom:calc(100% + 52px);left:0;right:0;overflow:auto;box-shadow:0 12px 32px #152f251a}.study-context-expander button:focus-visible,.study-tools-prepared .llm-chat-composer-context-chip button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.study-context-chips .llm-chat-composer-context-chip button,.study-context-collapsed .llm-chat-composer-context-chip button,.study-tools-prepared .llm-chat-composer-context-chip button{border-radius:4px;place-items:center;min-width:28px;min-height:28px;display:inline-grid}.study-tools-prepared-items .llm-chat-composer-context-chip>span{background:0 0;border:0;border-radius:0;padding:0}@media (width<=600px){.study-context-split .study-context-expanded{flex-direction:column;gap:6px;display:flex}.study-context-split .study-context-action-panel{padding:7px 0 0}.study-context-split .study-context-divider{border-left:0;border-top:1px solid var(--border);width:50%;height:0;margin:8px 0 6px;position:static}.study-context-split .study-context-action-box{flex-direction:row;align-items:center}.study-context-split .study-context-action-box button{width:auto}.study-context-toggle,.study-context-targets button,.study-context-action-box .llm-chat-message-action{min-height:44px}.study-context-expanded{max-height:44dvh}.study-context-chips{max-height:120px}.study-context-floating .study-context-action-panel{max-height:32dvh;bottom:calc(100% + 52px)}}.study-command-context{border-bottom:1px solid var(--border);align-items:flex-start;gap:8px;margin-bottom:8px;padding-bottom:8px;display:flex}.study-command-context-heading{flex-shrink:0;align-items:center;min-height:28px;display:flex}.study-command-context-heading .study-context-label{white-space:nowrap;gap:5px;font-size:11px}.study-command-count{border:1px solid var(--border);border-radius:4px;place-items:center;min-width:18px;height:18px;font-size:10px;display:inline-grid}.study-command-context-chips{flex-wrap:wrap;flex:1;gap:6px;min-width:0;max-height:4.25rem;padding:2px;display:flex;overflow:auto}.study-command-context-chips>div{max-width:100%}.study-command-context-chips small{color:var(--muted-foreground);margin-top:3px;font-size:10px;display:block}.study-command-popup{z-index:70;border:1px solid var(--border);background:var(--popover,var(--background));width:min(362px,100%);max-height:58dvh;color:var(--foreground);border-radius:10px;flex-direction:column;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;overflow:hidden;box-shadow:0 14px 40px #152f2524}.study-command-list{min-height:0;padding:4px;overflow:auto}.study-command-option{text-align:left;cursor:pointer;border-radius:6px;grid-template-columns:16px 88px minmax(0,1fr);align-items:center;gap:8px;width:100%;height:32px;min-height:32px;padding:0 8px;display:grid}.study-command-option>svg{color:var(--muted-foreground)}.study-command-option[aria-selected=true],.study-command-option:hover:not(:disabled){background:var(--accent)}.study-command-option:disabled{opacity:.45;cursor:default}.study-command-name{white-space:nowrap;font:12px var(--font-mono,monospace);color:var(--foreground);align-items:center;gap:4px;display:flex}.study-command-description{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--muted-foreground);font-size:11px;line-height:1.4;overflow:hidden}.study-command-test-badge{border:1px solid var(--border);font-family:var(--font-sans,sans-serif);color:var(--muted-foreground);border-radius:4px;flex-shrink:0;padding:0 3px;font-size:9px;font-style:normal;font-weight:400;line-height:1.5;display:inline-block}.study-command-empty{color:var(--muted-foreground);padding:14px 9px;font-size:12px}.study-command-context button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.study-command-scope{color:var(--muted-foreground);align-items:flex-start;gap:6px;margin:0;padding:0 2px 6px;font-size:12px;line-height:1.5;display:flex}.study-command-scope>svg{flex-shrink:0;margin-top:2px}.study-command-scope>span{overflow-wrap:anywhere;min-width:0}.study-command-trigger{min-height:32px;color:var(--muted-foreground);cursor:pointer;border-radius:6px;align-items:center;gap:5px;padding:4px 6px;font-size:12px;line-height:1.4;display:inline-flex}.study-command-trigger:hover:not(:disabled){background:var(--accent);color:var(--foreground)}.study-command-trigger:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.study-command-trigger:disabled{opacity:.45;cursor:default}.study-command-trigger>svg{flex-shrink:0}@media (width<=480px){.study-command-option,.study-command-trigger{height:44px;min-height:44px}}@media (width<=640px){.study-command-context-chips{scrollbar-width:thin;flex-wrap:nowrap;max-height:none;padding-bottom:5px;overflow:auto hidden}.study-command-context-chips>div{flex-shrink:0;max-width:none}}
