:is(.tool-hero--violet,.authoring-composer__heading:has(>.tool-hero--violet)){--th-aura:conic-gradient(from 0deg, #a98bff, #7b5cf5, #4aa8ff, #c58bff, #8f6cff, #a98bff);--th-ring:#7b5cf5d9;--th-ring-track:#7b5cf51a;--th-ring-head:#fff;--th-glow:#a98bffd9;--th-glow-soft:#7b5cf573;--th-spark:linear-gradient(135deg, #e3d8ff, #7b5cf5);--hero-shine-edge:#7b5cf5;--hero-shine-core:#b9a5ff}[data-theme=dark] :is(.tool-hero--violet,.authoring-composer__heading:has(>.tool-hero--violet)){--th-ring:#d6c8fff2;--th-ring-track:#b9a5ff1a;--th-ring-head:#f5f1ff;--th-spark:linear-gradient(135deg, #fff, #c9b8ff);--hero-shine-edge:#9f85ff;--hero-shine-core:#e0d6ff}
.class-tool-page{box-sizing:border-box;background:0 0;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;padding:24px 32px;display:flex;overflow:hidden}@media (max-width:640px){.class-tool-page{padding:16px 12px}}.agent-app .agent-pane__body>.class-tool-page{background:0 0!important}.class-tool-chat{flex:auto}.class-tool-chat[data-state=thread] .authoring-composer__intro{display:none}.class-tool-chat[data-state=thread] .authoring-chat__dock{max-height:none;overflow:visible}.class-tool-chat .authoring-composer .authoring-composer__input{box-shadow:none!important;background:0 0!important;border:0!important}.class-tool-chat .authoring-composer__box:not(:has(.authoring-composer__attach)) .authoring-composer__input{padding-inline:14px 4px}.class-tool-chat .authoring-composer__box[data-stacked]{border-radius:24px;gap:4px;padding:8px 8px 10px}.class-tool-options{flex-wrap:wrap;align-items:center;gap:6px;padding-left:14px;display:flex}.class-tool-pill{background:var(--composer-chip);max-width:100%;min-height:30px;color:var(--agent-text-2,var(--composer-text));font:inherit;cursor:pointer;border:0;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:600;line-height:1;transition:color .12s;display:inline-flex}.class-tool-pill svg{flex:none}.class-tool-pill span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.class-tool-pill:disabled{cursor:default;opacity:.7}@media (hover:hover){.class-tool-pill:hover:not(:disabled){color:var(--agent-text,var(--composer-text))}}.class-tool-pill:focus-visible{outline:2px solid var(--agent-brand,#3182f6);outline-offset:2px}@media (pointer:coarse){.class-tool-pill{min-height:36px}}.class-tool-mode{display:inline-flex;position:relative}.class-tool-mode__chevron{opacity:.65;margin-left:-1px;transition:transform .16s}.class-tool-mode__chevron[data-open]{transform:rotate(180deg)}.class-tool-mode__menu{z-index:40;background:var(--agent-surface-2,var(--agent-surface,var(--card,#fff)));width:max-content;min-width:260px;max-width:min(320px,100vw - 48px);color:var(--agent-text,var(--foreground));box-shadow:0 0 0 1px color-mix(in srgb, var(--agent-text,#191f28) 10%, transparent), 0 14px 32px #00000059;border-radius:14px;gap:2px;padding:6px;animation:.14s class-tool-menu-in;display:grid;position:absolute;top:calc(100% + 6px);left:0}.class-tool-mode__menu[data-upward]{top:auto;bottom:calc(100% + 6px)}@keyframes class-tool-menu-in{0%{opacity:0;transform:translateY(-4px)}}.class-tool-mode__item{color:var(--agent-text-2,var(--muted));font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;grid-template-columns:20px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:9px 10px;display:grid}.class-tool-mode__item[data-active]{background:color-mix(in srgb, var(--agent-text,#191f28) 8%, transparent);color:var(--agent-text,var(--foreground))}.class-tool-mode__item[aria-checked=true]{color:var(--agent-text,var(--foreground))}.class-tool-mode__item strong{font-size:14px;font-weight:700;line-height:1.4;display:block}.class-tool-mode__item small{color:var(--agent-text-3,var(--muted));word-break:keep-all;font-size:12px;line-height:1.4;display:block}.class-tool-mode__check{color:var(--agent-text,var(--foreground))}@media (prefers-reduced-motion:reduce){.class-tool-mode__menu{animation:none}.class-tool-mode__chevron{transition:none}}.class-tool-chat .authoring-composer__below{color:var(--chat-muted);font-size:13px;line-height:1.6}.class-tool-chat .authoring-composer__below p{margin:0}.class-tool-hint-link{color:var(--chat-text);text-decoration:underline;-webkit-text-decoration-color:var(--chat-line);text-decoration-color:var(--chat-line);text-underline-offset:3px;font-weight:500}.class-tool-hint-link:hover{text-decoration-color:currentColor}.class-tool-notice{color:#f04452;text-align:center;word-break:keep-all;margin:0 0 10px;padding:0 8px;font-size:13px;line-height:1.6}.class-tool-chat[data-state=thread] .class-tool-notice{text-align:start}.class-tool-notice__switch{color:var(--chat-text);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;margin-left:8px;padding:0;font-weight:600;text-decoration:underline}.class-tool-notice__switch:focus-visible{outline:2px solid var(--agent-brand,#3182f6);outline-offset:2px;border-radius:4px}.class-tool-result{word-break:keep-all;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;font-size:15px;line-height:1.7;display:flex}.class-tool-result p{margin:0}.class-tool-result__lead strong{font-weight:600}.class-tool-result__meta{color:var(--chat-muted);font-size:13px}.class-tool-result__meta a{color:var(--chat-text);text-decoration:underline;-webkit-text-decoration-color:var(--chat-line);text-decoration-color:var(--chat-line);text-underline-offset:3px}.class-tool-result__meta a:hover{text-decoration-color:currentColor}.class-tool-figure{box-sizing:border-box;border:1px solid var(--chat-line);background:#fff;border-radius:16px;margin:0;padding:12px}.class-tool-figure img{width:100%;height:auto;display:block}.class-tool-figure--qr{width:196px}.class-tool-figure--barcode{width:min(100%,420px);padding:8px 12px}.class-tool-actions{flex-wrap:wrap;gap:8px;display:flex}.class-tool-action{border:1px solid var(--chat-line);min-height:34px;color:var(--chat-text);font:inherit;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:500;transition:background-color .15s;display:inline-flex}.class-tool-action:hover:not(:disabled){background:var(--chat-bubble)}@media (pointer:coarse){.class-tool-action{min-height:44px;padding-inline:16px}}.class-tool-action:disabled{opacity:.5;cursor:default}.class-tool-action:focus-visible,.class-tool-code__copy:focus-visible,.class-tool-howto summary:focus-visible{outline:2px solid var(--agent-brand,#3182f6);outline-offset:2px}.class-tool-pending{gap:2px;display:grid}.class-tool-pending__title{align-items:center;gap:8px;font-weight:500;display:flex}.class-tool-pending__detail{color:var(--chat-muted);padding-left:24px;font-size:13px}.class-tool-spin{flex:none;animation:1s linear infinite class-tool-spin}@keyframes class-tool-spin{to{rotate:360deg}}@media (prefers-reduced-motion:reduce){.class-tool-spin{animation:none}}.class-tool-code{border:1px solid var(--chat-line);background:var(--chat-bubble);border-radius:16px;align-self:stretch;min-width:0;overflow:hidden}.class-tool-code__bar{border-bottom:1px solid var(--chat-line);color:var(--chat-muted);justify-content:space-between;align-items:center;gap:12px;padding:6px 8px 6px 16px;font-size:12px;font-weight:500;display:flex}.class-tool-code__copy{min-height:28px;color:var(--chat-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:5px;padding:0 10px;display:inline-flex}.class-tool-code__copy:hover{background:var(--chat-canvas);color:var(--chat-text)}.class-tool-code pre{max-height:min(420px,52vh);color:var(--chat-text);tab-size:2;white-space:pre;word-break:normal;overflow-wrap:normal;background:0 0;margin:0;padding:14px 16px 16px;font-family:ui-monospace,SFMono-Regular,D2Coding,Menlo,Consolas,monospace;font-size:13px;line-height:1.65;overflow:auto}.class-tool-howto{align-self:stretch}.class-tool-howto summary{color:var(--chat-text);cursor:pointer;border-radius:8px;align-items:center;gap:6px;font-size:14px;font-weight:500;list-style:none;display:inline-flex}.class-tool-howto summary::-webkit-details-marker{display:none}.class-tool-howto summary svg{color:var(--chat-muted);transition:rotate .2s}.class-tool-howto[open] summary svg{rotate:180deg}.class-tool-howto ol{color:var(--chat-muted);gap:4px;margin:10px 0 0;padding-left:20px;font-size:14px;line-height:1.7;display:grid}.class-tool-howto a{color:var(--chat-text);text-underline-offset:3px;text-decoration:underline}.class-tool-result__usage{color:var(--chat-muted);font-size:12px}
