:root{--composer-surface:#15181f;--bubble-surface:#1b2030;--cobalt-hover:#1f5bff;--greeting:#dce4f5;--placeholder:#8b96ad;--menu-surface:#1a1d25;--switch-off:#3a4152;--tint:#2456e81f;--hover-wash:#ffffff0f;--scrim:#0000008c;--icon:#c9d3e8}@layer base{[data-surface=agent] button:not(:disabled),[data-surface=agent] a[href],[data-surface=agent] [role=button],[data-surface=agent] [role=menuitem],[data-surface=agent] [role=menuitemradio],[data-surface=agent] [role=menuitemcheckbox],[data-surface=agent] [role=option],[data-surface=agent] [role=radio],[data-surface=agent] [role=tab],[data-surface=agent] label[for],[data-surface=agent] summary,[data-surface=agent] select{cursor:pointer}[data-surface=agent] button:disabled,[data-surface=agent] [aria-disabled=true],[data-surface=agent] button[aria-disabled=true],[data-surface=agent] [role][aria-disabled=true]{cursor:not-allowed}[data-surface=agent] :focus-visible{outline:2px solid var(--cobalt-text);outline-offset:2px}}[data-surface=agent].agent-stage{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;position:relative;overflow:hidden}[data-surface=agent] .agent-main{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}[data-surface=agent] .agent-transcript{scroll-behavior:auto;flex:1;min-height:0;overflow:hidden auto}[data-surface=agent] .agent-column{flex-direction:column;gap:24px;width:100%;max-width:760px;min-height:100%;margin:0 auto;padding:8px 16px 24px;display:flex}[data-surface=agent] .agent-disclaimer{text-align:center;color:var(--faint);margin:8px 0 0;font-size:13px;line-height:1.4}[data-surface=agent][data-empty=true] .agent-disclaimer{visibility:hidden}[data-surface=agent][data-ready=false] .agent-dock{opacity:0}@media (min-width:768px){[data-surface=agent] .agent-column{padding:8px 24px 32px}}[data-surface=agent] .agent-user-bubble{background:var(--bubble-surface);border-radius:22px 22px 6px;max-width:80%;padding:12px 16px}[data-surface=agent] .agent-chip-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;display:flex;position:relative}[data-surface=agent] .agent-chip-wrap{min-width:0;max-width:100%;display:inline-flex;position:relative}[data-surface=agent] .agent-chip{cursor:default;border:1px solid var(--border);height:24px;font-family:var(--font-jetbrains-mono), ui-monospace, monospace;color:var(--muted-foreground);border-radius:9999px;align-items:center;padding:0 8px;font-size:13px;line-height:1.4;display:inline-flex}[data-surface=agent] .agent-chip-auto{color:var(--muted-foreground)}[data-surface=agent] .agent-chip-name{color:var(--foreground);font-weight:500}[data-surface=agent] .agent-chip-why{color:var(--muted-foreground)}[data-surface=agent] .agent-chip[data-downgrade=true]{max-width:100%}[data-surface=agent] .agent-chip[data-downgrade=true]>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-surface=agent] .agent-chip-tip{pointer-events:none;z-index:40;border:1px solid var(--border);background:var(--menu-surface);width:16rem;max-width:calc(100vw - 32px);color:var(--muted-foreground);opacity:0;border-radius:12px;padding:8px 12px;font-size:13px;line-height:1.4;transition:opacity .15s;position:absolute;top:calc(100% + 8px);left:0}[data-surface=agent] .agent-chip-wrap:hover .agent-chip-tip,[data-surface=agent] .agent-chip-wrap:focus-within .agent-chip-tip{opacity:1}[data-surface=agent] .agent-thinking{flex-direction:column;justify-content:center;min-height:28px;margin-bottom:4px;font-size:16px;line-height:24px;display:flex}[data-surface=agent] .agent-turn-note{color:var(--faint);margin:8px 0 0;font-size:13px;line-height:1.4}[data-surface=agent] .agent-error{color:var(--foreground);align-items:flex-start;gap:8px;margin-top:8px;font-size:16px;line-height:24px;display:flex}[data-surface=agent] .agent-error-icon{width:16px;height:16px;color:var(--destructive);flex-shrink:0;margin-top:4px}[data-surface=agent] .agent-error-neutral{color:var(--muted-foreground)}[data-surface=agent] .agent-error-neutral .agent-error-icon{color:var(--faint)}[data-surface=agent] .agent-turn-button{border:1px solid var(--line-strong);height:32px;font:inherit;color:var(--foreground);background:0 0;border-radius:9999px;margin-top:8px;padding:0 12px;font-size:13px;line-height:1.4;transition:background-color .15s}[data-surface=agent] .agent-turn-button:hover{background:var(--secondary)}[data-surface=agent] .agent-actions{gap:4px;margin-top:8px;margin-left:-8px;display:flex}[data-surface=agent] .agent-action-slot{display:inline-flex;position:relative}[data-surface=agent] .agent-action-icon{width:44px;height:44px;color:var(--muted-foreground);background:0 0;border:0;border-radius:9999px;justify-content:center;align-items:center;transition:background-color .15s,color .15s,transform .15s;display:inline-flex}[data-surface=agent] .agent-action-icon svg{width:16px;height:16px}[data-surface=agent] .agent-action-icon:not([aria-disabled=true]):hover{background:var(--hover-wash);color:var(--foreground)}[data-surface=agent] .agent-action-icon:not([aria-disabled=true]):active{transform:scale(.92)}[data-surface=agent] .agent-action-icon[aria-disabled=true]{color:var(--faint)}[data-surface=agent] .agent-action-icon-pressed{color:var(--foreground)}[data-surface=agent] .agent-action-tip{pointer-events:none;z-index:40;white-space:nowrap;border:1px solid var(--border);background:var(--menu-surface);color:var(--muted-foreground);opacity:0;border-radius:8px;margin-bottom:4px;padding:4px 8px;font-size:13px;line-height:1.4;transition:opacity .15s;display:none;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}[data-surface=agent] .agent-action-slot:hover .agent-action-tip{opacity:1}[data-surface=agent] .agent-action-slot:has(:focus-visible) .agent-action-tip{opacity:1}@media (min-width:768px){[data-surface=agent] .agent-action-icon{width:36px;height:36px}[data-surface=agent] .agent-action-tip{display:block}}[data-surface=agent] .agent-dock{z-index:4;padding:0 8px max(16px, env(safe-area-inset-bottom));flex:none;position:relative}@media (min-width:768px){[data-surface=agent] .agent-dock{padding-left:24px;padding-right:24px}}[data-surface=agent] .agent-composer{background:var(--composer-surface);border:1px solid #7aa2ff14;border-radius:30px;flex-direction:column;gap:4px;width:100%;max-width:712px;margin:0 auto;padding:8px;display:flex;box-shadow:0 10px 40px #00000073}[data-surface=agent] .agent-composer:focus-within{border-color:var(--line-strong)}[data-surface=agent] .agent-composer-row{align-items:flex-end;gap:4px;width:100%;min-width:0;display:flex}[data-surface=agent] .agent-composer-row[data-wrapped=true]{flex-wrap:wrap}[data-surface=agent] .agent-composer-row[data-wrapped=true] .agent-composer-input{flex:100%;order:-1}[data-surface=agent] .agent-composer-row[data-wrapped=true] [data-agent-picker]{margin-left:auto}[data-surface=agent] .agent-composer-input{resize:none;min-width:0;font:inherit;color:var(--foreground);overflow-wrap:anywhere;background:0 0;border:0;outline:none;flex:1;margin:2px 0;padding:8px 4px;font-size:16px;line-height:24px}[data-surface=agent] .agent-composer-input::placeholder{color:var(--placeholder);opacity:1}[data-surface=agent] .agent-action{border:0;border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;transition:background-color .15s,color .15s,border-color .15s,opacity .15s,transform .15s;display:inline-flex}[data-surface=agent] .agent-action:not(:disabled):active{transform:scale(.96)}[data-surface=agent] .agent-action-send{background:var(--cobalt);color:#fff}[data-surface=agent] .agent-action-send:not(:disabled):hover{background:var(--cobalt-hover)}[data-surface=agent] .agent-action-send:disabled{opacity:.4}[data-surface=agent] .agent-action-send[data-checking=true]:disabled{opacity:1}[data-surface=agent] .agent-action-send svg{width:20px;height:20px}[data-surface=agent] .agent-action-stop{background:var(--foreground);color:var(--background)}[data-surface=agent] .agent-action-stop svg{fill:currentColor;width:14px;height:14px}[data-surface=agent] .agent-picker-trigger{height:36px;font:inherit;color:var(--foreground);background:0 0;border:0;border-radius:9999px;flex-shrink:0;align-self:flex-end;align-items:center;gap:6px;margin-bottom:4px;padding:0 12px;font-size:16px;line-height:24px;transition:background-color .15s;display:inline-flex}[data-surface=agent] .agent-picker-trigger:hover{background:var(--hover-wash)}[data-surface=agent] .agent-picker-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-surface=agent] .agent-picker-effort{color:var(--muted-foreground)}[data-surface=agent] .agent-picker-chevron{width:16px;height:16px;color:var(--muted-foreground);flex-shrink:0;transition:transform .2s}[data-surface=agent] .agent-picker-trigger[aria-expanded=true] .agent-picker-chevron{transform:rotate(180deg)}[data-surface=agent] .agent-picker-name-short{display:none}@media (max-width:767px){[data-surface=agent] .agent-picker-trigger{max-width:11rem;padding:0 8px 0 10px}[data-surface=agent] .agent-picker-name-full{display:none}[data-surface=agent] .agent-picker-name-short{display:inline}}[data-surface=agent] .agent-picker-row{width:100%;min-height:44px;font:inherit;text-align:left;background:0 0;border:0;border-radius:12px;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:8px 12px 8px 8px;transition:background-color .15s;display:grid}[data-surface=agent] .agent-picker-row:hover,[data-surface=agent] .agent-picker-row:focus-visible{background:var(--hover-wash)}[data-surface=agent] .agent-picker-row[aria-disabled=true]{opacity:.4}[data-surface=agent] .agent-picker-row[aria-disabled=true]:hover{background:0 0}[data-surface=agent] .agent-picker-check{justify-content:center;align-items:center;display:flex}[data-surface=agent] .agent-picker-check svg{width:16px;height:16px;color:var(--foreground)}[data-surface=agent] .agent-picker-row[data-locked=true]{cursor:pointer}[data-surface=agent] .agent-picker-row[data-locked=true] .agent-picker-text{opacity:.5}[data-surface=agent] .agent-picker-check.agent-picker-lock svg{width:14px;height:14px;color:var(--muted-foreground)}[data-surface=agent] .agent-picker-text{min-width:0}[data-surface=agent] .agent-picker-title{color:var(--foreground);font-size:16px;line-height:1.5;display:block}[data-surface=agent] .agent-picker-description{color:var(--muted-foreground);font-size:13px;line-height:1.4;display:block}[data-surface=agent] .agent-picker-separator{background:var(--border);height:1px;margin:8px}[data-surface=agent] .agent-picker-section{color:var(--muted-foreground);padding:4px 8px;font-size:13px;line-height:1.4}[data-surface=agent] .agent-pop{border:1px solid var(--border);background:var(--menu-surface);width:18rem;max-width:calc(100vw - 16px);color:var(--foreground);opacity:1;border-radius:18px;padding:8px;transition:opacity .14s,transform .14s;transform:none;box-shadow:0 18px 48px #000000a6}[data-surface=agent] .agent-pop[data-state=closed]{opacity:0;transform:translateY(4px)scale(.98)}@starting-style{[data-surface=agent] .agent-pop[data-state=open]{opacity:0;transform:translateY(4px)scale(.98)}}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-action:not(:disabled):active{transform:none}[data-surface=agent] .agent-pop{transition:opacity .14s;transform:none}[data-surface=agent] .agent-pop[data-state=closed]{transform:none}@starting-style{[data-surface=agent] .agent-pop[data-state=open]{transform:none}}}[data-surface=agent] .agent-md>.agent-md-block:last-child>:last-child{margin-bottom:0}@keyframes agent-caret-blink{0%,49.99%{opacity:1}50%,to{opacity:0}}[data-surface=agent] .agent-md[data-streaming=true]>.agent-md-block:last-child>p:last-child:after,[data-surface=agent] .agent-md[data-streaming=true]>.agent-md-block:last-child>:is(h1,h2,h3,h4,h5,h6):last-child:after,[data-surface=agent] .agent-md[data-streaming=true]>.agent-md-block:last-child>:is(ul,ol):last-child>li:last-child>p:last-child:after,[data-surface=agent] [data-streaming=true].agent-caret-after:after{content:"";vertical-align:-2px;background:var(--cobalt-text);width:8px;height:16px;animation:var(--agent-caret-animation,agent-caret-blink 1s steps(2) infinite);margin-left:2px;display:inline-block}[data-surface=agent] .agent-md[data-streaming=true]>.agent-md-block:last-child>:is(ul,ol):last-child>li:last-child:not(:has(>p)):after{content:"";vertical-align:-2px;background:var(--cobalt-text);width:8px;height:16px;animation:var(--agent-caret-animation,agent-caret-blink 1s steps(2) infinite);margin-left:2px;display:inline-block}[data-surface=agent] .agent-md[data-streaming=true]>.agent-md-block:last-child:not(:has(>:is(p,h1,h2,h3,h4,h5,h6,ul,ol):last-child)):after{content:"";vertical-align:-2px;background:var(--cobalt-text);width:8px;height:16px;animation:var(--agent-caret-animation,agent-caret-blink 1s steps(2) infinite);margin-left:2px;display:inline-block}[data-surface=agent] .agent-md[data-streaming=true]>.agent-md-block:last-child:not(:has(>:is(p,h1,h2,h3,h4,h5,h6,ul,ol):last-child)):after{margin-left:0;display:block}[data-surface=agent] .agent-code-token{color:var(--shiki-dark)}[data-surface=agent] .agent-toast{transition:opacity .2s,visibility .2s}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-md,[data-surface=agent] .agent-caret-after{--agent-caret-animation:none}[data-surface=agent] .agent-toast{transition:none}[data-surface=agent] .agent-action-icon:not([aria-disabled=true]):active{transform:none}}@keyframes agent-skel-pulse{0%,to{opacity:1}50%{opacity:.5}}[data-surface=agent] .agent-skel{background:var(--bubble-surface);animation:1.4s ease-in-out infinite agent-skel-pulse}[data-surface=agent] .agent-model-card{border-color:var(--border);background:var(--card);transition:border-color .15s,background-color .15s,transform .15s}[data-surface=agent] .agent-model-card-selected{border-color:var(--cobalt-text);background:var(--tint);box-shadow:inset 0 0 0 1px var(--cobalt-text)}[data-surface=agent] .agent-model-card:active{transform:scale(.98)}[data-surface=agent] .agent-swatch-shine{background:radial-gradient(circle at 70% 30%,#ffffff59,#0000 60%)}[data-surface=agent] .agent-badge-scrim{background:var(--scrim)}[data-surface=agent] .agent-ghost-pill{transition:background-color .15s,transform .15s}[data-surface=agent] .agent-ghost-pill:hover{background:var(--secondary)}[data-surface=agent] .agent-gerar{transition:background-color .15s,transform .15s}[data-surface=agent] .agent-gerar:hover{background:var(--cobalt-hover)}[data-surface=agent] .agent-ghost-pill:active,[data-surface=agent] .agent-gerar:active{transform:scale(.96)}[data-surface=agent] .agent-gen-plate{background:var(--scrim)}@keyframes agent-reveal-in{0%{opacity:0}to{opacity:1}}[data-surface=agent] .agent-reveal{animation:.16s ease-out agent-reveal-in}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-skel{opacity:1;animation:none}[data-surface=agent] .agent-model-card:active,[data-surface=agent] .agent-ghost-pill:active,[data-surface=agent] .agent-gerar:active{transform:none}[data-surface=agent] .agent-reveal{animation:none}}[data-surface=agent] .agent-model-card-locked{cursor:pointer}[data-surface=agent] .agent-locked-dim{opacity:.5}[data-surface=agent] .agent-model-card:not(.agent-model-card-selected):hover{border-color:var(--line-strong)}[data-surface=agent] .agent-more-models{color:var(--cobalt-soft);transition:background-color .15s}[data-surface=agent] .agent-more-models:hover{background:var(--tint)}[data-surface=agent] .agent-chevron{transition:transform .2s}[data-surface=agent] .agent-chevron[data-open=true]{transform:rotate(180deg)}@keyframes agent-expand-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}[data-surface=agent] .agent-expand{animation:.2s both agent-expand-in}[data-surface=agent] .agent-option-chip{border-color:var(--border);color:var(--icon);transition:border-color .15s,color .15s,background-color .15s}[data-surface=agent] .agent-option-chip:not([aria-checked=true]):not([aria-disabled=true]):hover{border-color:var(--line-strong);color:var(--foreground)}[data-surface=agent] .agent-option-chip[aria-checked=true]{border-color:var(--foreground);background:var(--foreground);color:#000;font-weight:500}[data-surface=agent] .agent-option-dot{box-shadow:0 0 0 2px var(--card)}[data-surface=agent] .agent-mosaic-tile{opacity:.7}[data-surface=agent] .agent-mosaic-a{background:var(--bubble-surface)}[data-surface=agent] .agent-mosaic-b{background:var(--secondary)}@keyframes agent-mosaic-pulse{0%,to{opacity:.35}50%{opacity:1}}@media (prefers-reduced-motion:no-preference){[data-surface=agent] .agent-mosaic-tile{animation:1.6s ease-in-out infinite agent-mosaic-pulse;animation-delay:calc(var(--i,0) * 40ms)}}@keyframes agent-orb-spin{to{transform:rotate(360deg)}}[data-surface=agent] .agent-orb-fb{background:conic-gradient(from 0deg, transparent 0 20%, var(--mist) 100%);border-radius:9999px;flex:none;width:20px;height:20px;animation:1s linear infinite agent-orb-spin;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 2px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,#0000 calc(100% - 2px),#000 calc(100% - 2px))}[data-surface=agent] .agent-media-actions{opacity:0;transition:opacity .15s}[data-surface=agent] .agent-media-box:hover .agent-media-actions,[data-surface=agent] .agent-media-actions:focus-within{opacity:1}[data-surface=agent] .agent-media-action{color:var(--foreground);outline:none;padding:2px}[data-surface=agent] .agent-media-face{background:var(--scrim);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background-color .15s,transform .15s}[data-surface=agent] .agent-media-action:hover .agent-media-face{background:#000000b3}[data-surface=agent] .agent-media-action:focus-visible .agent-media-face{outline:2px solid var(--cobalt-text);outline-offset:2px}[data-surface=agent] .agent-media-action:active .agent-media-face{transform:scale(.92)}[data-surface=agent] .agent-media-tip{background:var(--menu-surface)}@media (hover:none),(max-width:767px){[data-surface=agent] .agent-media-actions{opacity:1;top:2px;right:2px}[data-surface=agent] .agent-media-action{padding:6px}[data-surface=agent] .agent-media-tip{display:none}}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-expand{animation:none}[data-surface=agent] .agent-chevron{transition:none}[data-surface=agent] .agent-mosaic-tile{opacity:.7;animation:none}[data-surface=agent] .agent-orb-fb{animation:none}[data-surface=agent] .agent-media-actions{transition:none}[data-surface=agent] .agent-media-action:active .agent-media-face{transform:none}}[data-surface=agent] .agent-ref-tile{background:var(--menu-surface)}[data-surface=agent] .agent-ref-remove{background:var(--scrim);transition:background-color .15s}[data-surface=agent] .agent-ref-remove:hover{background:#000000b3}[data-surface=agent] .agent-ref-add{background:var(--menu-surface);border-color:var(--border);color:var(--muted-foreground);transition:border-color .15s,color .15s}[data-surface=agent] .agent-ref-add:hover{border-color:var(--line-strong);color:var(--foreground)}[data-surface=agent] .agent-menu-row{transition:background-color .15s}[data-surface=agent] .agent-menu-row:hover,[data-surface=agent] .agent-menu-row:focus-visible{background:var(--hover-wash)}[data-surface=agent] .agent-menu-icon{color:var(--icon)}[data-surface=agent] .agent-viewer-open{cursor:zoom-in;outline:none}[data-surface=agent] .agent-viewer-open:focus-visible{outline:2px solid var(--cobalt-text);outline-offset:-2px}@keyframes agent-viewer-in{0%{opacity:0}to{opacity:1}}[data-surface=agent] .agent-viewer{background:#000000f2;animation:.15s ease-out agent-viewer-in}[data-surface=agent] .agent-viewer-control{background:var(--scrim);width:44px;height:44px;color:var(--foreground);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border-radius:9999px;justify-content:center;align-items:center;transition:background-color .15s;display:inline-flex}[data-surface=agent] .agent-viewer-control:hover{background:#000000b3}[data-surface=agent] .agent-viewer-counter{background:var(--scrim)}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-viewer{animation:none}[data-surface=agent] .agent-viewer-control,[data-surface=agent] .agent-ref-remove,[data-surface=agent] .agent-ref-add,[data-surface=agent] .agent-menu-row{transition:none}}[data-surface=agent] .agent-pulse-text{animation:1.4s ease-in-out infinite agent-skel-pulse}[data-surface=agent] .agent-gerar[aria-disabled=true]{opacity:.4}[data-surface=agent] .agent-gerar[aria-disabled=true]:hover{background:var(--cobalt)}[data-surface=agent] .agent-gerar[aria-disabled=true]:active{transform:none}[data-surface=agent] .agent-switch{background:var(--switch-off);transition:background-color .15s}[data-surface=agent] .agent-switch[data-on=true]{background:var(--cobalt)}[data-surface=agent] .agent-switch-knob{background:var(--icon);transition:transform .15s,background-color .15s}[data-surface=agent] .agent-switch[data-on=true] .agent-switch-knob{background:#fff;transform:translate(16px)}[data-surface=agent] .agent-scrim{background:var(--scrim)}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-pulse-text{animation:none}[data-surface=agent] .agent-switch,[data-surface=agent] .agent-switch-knob{transition:none}}[data-surface=agent] .agent-progress-track{background:var(--line-strong)}[data-surface=agent] .agent-progress-fill{background:var(--foreground);transition:width .3s linear}@keyframes agent-bar-slide{0%{transform:translate(-100%)}to{transform:translate(333%)}}[data-surface=agent] .agent-bar-slide{width:30%;animation:1.4s linear infinite agent-bar-slide}[data-surface=agent] .agent-player{container-type:inline-size}[data-surface=agent] .agent-player-bar{background:linear-gradient(var(--scrim), var(--scrim)) bottom / 100% 100px no-repeat, linear-gradient(to bottom, transparent, var(--scrim));grid-template-columns:auto 1fr auto auto;grid-template-areas:"time seek seek dur""play. .audio";align-items:center;gap:4px 8px;padding:24px 8px 8px;display:grid}@container (min-width:360px){[data-surface=agent] .agent-player-bar{background:linear-gradient(var(--scrim), var(--scrim)) bottom / 100% 50% no-repeat, linear-gradient(to bottom, transparent, var(--scrim));grid-template-columns:auto auto 1fr auto auto;grid-template-areas:"play time seek dur audio";row-gap:0}}[data-surface=agent] .agent-player-button{background:var(--scrim);outline:none;transition:background-color .15s}[data-surface=agent] .agent-player-button:hover:not([aria-disabled=true]){background:#000000b3}[data-surface=agent] .agent-player-button:focus-visible{outline:2px solid var(--cobalt-text);outline-offset:2px}[data-surface=agent] .agent-seek{--seek:0%;cursor:pointer;appearance:none;background:0 0;width:100%;height:44px;margin:0}@media (min-width:768px){[data-surface=agent] .agent-seek{height:24px}}[data-surface=agent] .agent-seek::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--foreground) var(--seek), var(--line-strong) var(--seek));border-radius:4px;height:4px}[data-surface=agent] .agent-seek::-moz-range-track{background:linear-gradient(to right, var(--foreground) var(--seek), var(--line-strong) var(--seek));border-radius:4px;height:4px}[data-surface=agent] .agent-seek::-webkit-slider-thumb{background:var(--foreground);-webkit-appearance:none;border:0;border-radius:9999px;width:12px;height:12px;margin-top:-4px}[data-surface=agent] .agent-seek::-moz-range-thumb{background:var(--foreground);border:0;border-radius:9999px;width:12px;height:12px}[data-surface=agent] .agent-seek:focus-visible{outline:2px solid var(--cobalt-text);outline-offset:2px}[data-surface=agent] .agent-frame-add{border-color:var(--border);background:var(--menu-surface);color:var(--muted-foreground);transition:border-color .15s,color .15s}[data-surface=agent] .agent-frame-add:not(:disabled):hover{border-color:var(--line-strong);color:var(--foreground)}[data-surface=agent] .agent-frame-add:disabled{cursor:not-allowed;opacity:.4}[data-surface=agent] .agent-frame-remove{background:var(--scrim);transition:background-color .15s}[data-surface=agent] .agent-frame-remove:before{content:"";position:absolute;inset:-10px}[data-surface=agent] .agent-frame-remove:hover{background:#000000b3}@media (min-width:768px){[data-surface=agent] .agent-frame-remove:before{display:none}}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-bar-slide{opacity:.4;width:100%;animation:none}[data-surface=agent] .agent-progress-fill,[data-surface=agent] .agent-player-button,[data-surface=agent] .agent-frame-add,[data-surface=agent] .agent-frame-remove{transition:none}}[data-surface=agent] .agent-choice-row{transition:background-color .15s,transform .15s}[data-surface=agent] .agent-choice-row:hover{background:var(--hover-wash)}[data-surface=agent] .agent-choice-row:active{transform:scale(.98)}[data-surface=agent] .agent-choice-row[data-multi=false][data-selected=true]{border-color:var(--line-strong);background:var(--surface-2)}[data-surface=agent] .agent-choice-box{border:1.5px solid var(--faint)}[data-surface=agent] .agent-choice-row[data-selected=true] .agent-choice-box{border-color:var(--foreground);background:var(--foreground)}[data-surface=agent] .agent-choice-send[aria-disabled=true]{opacity:.4;cursor:not-allowed}[data-surface=agent] .agent-choice-send[aria-disabled=true]:hover{background:var(--cobalt)}[data-surface=agent] .agent-choice-send[aria-disabled=true]:active{transform:none}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-choice-row{transition:none}[data-surface=agent] .agent-choice-row:active{transform:none}}[data-surface=agent] .agent-fav{width:20px;height:20px;color:var(--foreground);border-radius:9999px;flex:none;justify-content:center;align-items:center;font-size:13px;font-weight:500;line-height:1;display:inline-flex}[data-surface=agent] .agent-fav-globe{background:var(--surface-2);color:var(--muted-foreground)}[data-surface=agent] .agent-fav-group{flex:none;align-items:center;display:inline-flex}[data-surface=agent] .agent-fav-more{color:var(--faint);font-family:var(--font-mono);margin-left:6px;font-size:13px;line-height:1.4}@keyframes agent-fav-pop{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:none}}[data-surface=agent] .agent-fav-pop{animation:.25s both agent-fav-pop;animation-delay:calc(var(--i,0) * .12s)}[data-surface=agent] .agent-search-slot{flex-direction:column;align-items:flex-start;width:100%;display:flex}[data-surface=agent] .agent-search-pill{height:44px;color:var(--muted-foreground);border-radius:9999px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:500;line-height:1.4;transition:background-color .15s,color .15s,transform .15s;display:inline-flex}[data-surface=agent] .agent-search-pill-closed{margin-bottom:8px}[data-surface=agent] .agent-search-pill:hover{background:var(--surface-2);color:var(--foreground)}[data-surface=agent] .agent-search-pill:active{transform:scale(.96)}[data-surface=agent] .agent-search-chevron{flex:none;width:14px;height:14px;transition:transform .2s}[data-surface=agent] .agent-search-pill[aria-expanded=true] .agent-search-chevron{transform:rotate(180deg)}[data-surface=agent] .agent-search-list{border-left:1px solid var(--border);width:calc(100% - 4px);min-width:0;margin:0 0 12px 4px;padding-left:16px}[data-surface=agent] .agent-source-row{--flash-rest-border:transparent;--flash-rest-bg:transparent;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;min-height:44px;margin-left:-8px;padding:4px 8px;display:flex}[data-surface=agent] .agent-source-n{width:16px;color:var(--faint);font-family:var(--font-mono);text-align:right;flex:none;font-size:13px;line-height:1.4}[data-surface=agent] .agent-source-text{flex-direction:column;min-width:0;display:flex}[data-surface=agent] .agent-source-title{min-width:0;color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4;overflow:hidden}[data-surface=agent] .agent-source-row:hover .agent-source-title{color:var(--foreground)}[data-surface=agent] .agent-source-dot{color:var(--faint);flex:none;font-size:13px;line-height:1.4;display:none}[data-surface=agent] .agent-source-domain{color:var(--faint);text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4;overflow:hidden}[data-surface=agent] .agent-cite{background:var(--surface-2);min-width:24px;height:24px;font-family:var(--font-mono);vertical-align:middle;white-space:nowrap;border:1px solid #0000;border-radius:9999px;justify-content:center;align-items:center;margin:-4px 4px;padding:0 6px;font-size:13px;font-weight:500;line-height:1;display:inline-flex}[data-surface=agent] .agent-cite-ready{color:var(--icon);transition:border-color .15s,color .15s,transform .15s}[data-surface=agent] .agent-cite-ready:hover{border-color:var(--line-strong);color:var(--foreground)}[data-surface=agent] .agent-cite-ready:active{transform:scale(.96)}[data-surface=agent] .agent-cite-active,[data-surface=agent] .agent-cite-active:hover{background:var(--foreground);color:#000}[data-surface=agent] .agent-cite-pending{cursor:default;color:var(--faint)}@keyframes agent-cite-flash{0%,75%{border-color:var(--cobalt-text);background-color:var(--tint)}to{border-color:var(--flash-rest-border,transparent);background-color:var(--flash-rest-bg,transparent)}}[data-surface=agent] .agent-cite-flash{border-color:var(--cobalt-text);background-color:var(--tint);animation:1.6s linear both agent-cite-flash}[data-surface=agent] .agent-more-row{width:100%;min-height:44px;color:var(--foreground);text-align:left;border-radius:12px;align-items:center;padding:8px 12px;font-size:16px;line-height:24px;display:flex}[data-surface=agent] .agent-sources-side{z-index:50;border-left:1px solid var(--border);background:var(--menu-surface);flex-direction:column;max-width:100%;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:0 18px 48px #000000a6}[data-surface=agent] .agent-sources-header{flex:none;justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 8px 16px;display:flex}[data-surface=agent] .agent-sources-sheet .agent-sources-header{padding-top:4px;padding-bottom:4px}[data-surface=agent] .agent-sources-title{color:var(--foreground);font-size:16px;font-weight:500;line-height:24px}[data-surface=agent] .agent-sources-close{width:44px;height:44px;color:var(--icon);border-radius:9999px;flex:none;justify-content:center;align-items:center;transition:background-color .15s,color .15s;display:inline-flex}[data-surface=agent] .agent-sources-close:hover{background:var(--hover-wash);color:var(--foreground)}[data-surface=agent] .agent-sources-scroll{flex:1;min-height:0;padding:0 8px 12px;overflow-y:auto}[data-surface=agent] .agent-panel-row{border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;min-height:44px;padding:6px 8px;transition:background-color .15s;display:flex}[data-surface=agent] .agent-panel-row:hover{background:var(--hover-wash)}[data-surface=agent] .agent-panel-text{flex-direction:column;flex:1;min-width:0;display:flex}[data-surface=agent] .agent-panel-title,[data-surface=agent] .agent-panel-domain{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4;overflow:hidden}[data-surface=agent] .agent-panel-title{color:var(--foreground)}[data-surface=agent] .agent-panel-domain{color:var(--faint)}[data-surface=agent] .agent-sources-sheet-layer{z-index:50;position:fixed;inset:0}[data-surface=agent] .agent-sources-scrim{background:var(--scrim);position:absolute;inset:0}[data-surface=agent] .agent-sources-sheet{border-top:1px solid var(--border);background:var(--menu-surface);max-height:70dvh;padding-bottom:env(safe-area-inset-bottom);border-radius:20px 20px 0 0;flex-direction:column;display:flex;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -18px 48px #00000080}[data-surface=agent] .agent-sources-handle{background:var(--line-strong);border-radius:9999px;flex:none;width:40px;height:4px;margin:8px auto 0}@keyframes agent-sheet-up{0%{transform:translateY(100%)}to{transform:none}}[data-surface=agent] .agent-sheet-up{animation:.22s ease-out agent-sheet-up}@media (min-width:768px){[data-surface=agent] .agent-search-pill{height:36px}[data-surface=agent] .agent-source-row{min-height:36px}[data-surface=agent] .agent-source-text{flex-direction:row;align-items:baseline;gap:6px}[data-surface=agent] .agent-source-dot{display:inline}[data-surface=agent] .agent-source-domain{flex:none;max-width:40%}[data-surface=agent] .agent-cite{min-width:20px;height:20px}[data-surface=agent] .agent-sources-close{width:36px;height:36px}[data-surface=agent].agent-stage[data-sources-open=true]{padding-right:360px}}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-fav-pop,[data-surface=agent] .agent-cite-flash,[data-surface=agent] .agent-sheet-up{animation:none}[data-surface=agent] .agent-search-pill,[data-surface=agent] .agent-search-chevron,[data-surface=agent] .agent-cite-ready,[data-surface=agent] .agent-panel-row,[data-surface=agent] .agent-sources-close{transition:none}[data-surface=agent] .agent-search-pill:active,[data-surface=agent] .agent-cite-ready:active{transform:none}}[data-surface=agent] .agent-plus{color:var(--icon);background:0 0;border:0;transition:background-color .15s,color .15s,transform .15s}[data-surface=agent] .agent-plus:hover{background:var(--hover-wash);color:var(--foreground)}[data-surface=agent] .agent-plus:active{transform:scale(.96)}[data-surface=agent] .agent-attach-badge{background:var(--bubble-surface);color:var(--muted-foreground)}[data-surface=agent] .agent-attach-remove{color:var(--icon);background:0 0;border:0;transition:background-color .15s,color .15s}[data-surface=agent] .agent-attach-remove:hover{background:var(--hover-wash);color:var(--foreground)}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-plus,[data-surface=agent] .agent-attach-remove{transition:none}[data-surface=agent] .agent-plus:active{transform:none}}[data-surface=agent] .agent-summary-divider{margin:16px 0}[data-surface=agent] .agent-summary-hairline{background:var(--border);flex:1;height:1px;display:block}[data-surface=agent] .agent-summary-toggle{height:44px;color:var(--faint);background:0 0;border:0;border-radius:9999px;flex:none;align-items:center;gap:8px;padding:0 12px;font-size:13px;font-weight:500;line-height:1.4;transition:background-color .15s,color .15s,transform .15s;display:inline-flex}@media (min-width:768px){[data-surface=agent] .agent-summary-toggle{height:36px}}[data-surface=agent] .agent-summary-toggle:hover{background:var(--surface-2);color:var(--foreground)}[data-surface=agent] .agent-summary-toggle:active{transform:scale(.96)}[data-surface=agent] .agent-summary-chevron{transition:transform .2s}[data-surface=agent] .agent-summary-chevron[data-open=true]{transform:rotate(180deg)}[data-surface=agent] .agent-summary-panel{border:1px solid var(--border);background:var(--card);border-radius:20px;max-height:min(60vh,480px);margin-top:8px;padding:16px;overflow-y:auto}[data-surface=agent] .agent-summary-row{border-top:1px solid var(--border);grid-template-columns:16px minmax(0,1fr) auto;gap:12px;padding:8px 0;display:grid}[data-surface=agent] .agent-summary-row:first-child{border-top:0}[data-surface=agent] .agent-summary-skipped{border:1px solid var(--border);max-width:100%;min-height:24px;color:var(--muted-foreground);border-radius:12px;align-items:center;gap:4px;padding:4px 8px;font-size:13px;line-height:1.4;display:inline-flex}@media (min-width:768px){[data-surface=agent] .agent-summary-skipped{border-radius:9999px;padding:0 8px}}[data-surface=agent] .agent-summary-notes{max-width:58ch;color:var(--faint);margin-left:28px;font-size:13px;line-height:1.4}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-summary-toggle,[data-surface=agent] .agent-summary-chevron{transition:none}[data-surface=agent] .agent-summary-toggle:active{transform:none}}[data-surface=agent] .agent-html-header{border-bottom:1px solid var(--border);flex:none;align-items:center;gap:8px;height:52px;padding:0 8px 0 16px;display:flex}[data-surface=agent] .agent-html-icon{width:44px;height:44px;color:var(--muted-foreground);border-radius:9999px;flex:none;justify-content:center;align-items:center;transition:background-color .15s,color .15s;display:inline-flex}[data-surface=agent] .agent-html-icon:hover{background:var(--hover-wash);color:var(--foreground)}[data-surface=agent] .agent-html-toggle{background:var(--cobalt);color:#fff;border-radius:9999px;align-items:center;gap:8px;height:44px;margin-right:4px;padding:0 16px 0 12px;font-size:13px;font-weight:500;line-height:1.4;transition:background-color .15s,color .15s,transform .15s;display:inline-flex}[data-surface=agent] .agent-html-toggle:not(:disabled):hover{background:var(--cobalt-hover)}[data-surface=agent] .agent-html-toggle[data-pressed=true]{background:var(--muted);color:var(--foreground)}[data-surface=agent] .agent-html-toggle[data-pressed=true]:hover{background:var(--hover-wash)}[data-surface=agent] .agent-html-toggle:disabled{background:var(--muted);color:var(--faint)}[data-surface=agent] .agent-html-toggle:not(:disabled):active{transform:scale(.96)}@media (max-width:767.98px){[data-surface=agent] .agent-html-copy{display:none}}@media (min-width:768px){[data-surface=agent] .agent-html-icon{width:36px;height:36px}[data-surface=agent] .agent-html-toggle{height:36px}}[data-surface=agent] .agent-html-hint{pointer-events:none;border:1px solid var(--border);background:color-mix(in srgb, var(--card) 90%, transparent);color:var(--muted-foreground);border-radius:9999px;padding:4px 12px;font-size:13px;line-height:1.4;position:absolute;bottom:16px;right:16px}[data-surface=agent] .agent-html-note{color:var(--muted-foreground);font-size:14px;line-height:24px}[data-surface=agent] .agent-html-error{background:var(--code-surface)}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-html-toggle:not(:disabled):active{transform:none}}[data-surface=agent] .agent-composer-row[data-listening=true]{display:none}[data-surface=agent] .agent-action-mic{color:var(--icon);background:0 0}[data-surface=agent] .agent-action-mic:hover{background:var(--hover-wash);color:var(--foreground)}[data-surface=agent] .agent-action-mic svg{width:20px;height:20px}[data-surface=agent] .agent-voice-row{outline:none;flex:1;align-items:center;gap:8px;min-width:0;min-height:44px;padding:0 4px 0 12px;display:flex}[data-surface=agent] .agent-voice-transcript{overflow-wrap:anywhere;flex:1;min-width:0;max-height:72px;font-size:16px;line-height:24px;overflow-y:auto}[data-surface=agent] .agent-voice-cancel{color:var(--icon);background:0 0}[data-surface=agent] .agent-voice-cancel:hover{background:var(--hover-wash);color:var(--foreground)}[data-surface=agent] .agent-voice-confirm{background:var(--foreground);color:#000}[data-surface=agent] .agent-voice-cancel svg,[data-surface=agent] .agent-voice-confirm svg{width:18px;height:18px}@media (prefers-reduced-motion:reduce){[data-surface=agent] .agent-voice-row .agent-orb-fb{animation:none}}
