.new-project-chat:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;flex:none}.new-project-chat>.nav-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){white-space:nowrap}.project-label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:4px;flex:none;max-width:40%;min-width:0;height:22px;padding:0 7px;margin-inline-end:4px;border-radius:var(--radius-sm);background:var(--sunken);color:var(--muted);font-size:var(--text-xs);font-weight:500}.project-label>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-label .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none}.projects:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:4px}.projects-list:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:2px}.project-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;display:flex;align-items:center;height:30px;border-radius:var(--radius-sm);transition:background var(--ease)}.project-row:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.project-toggle:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;height:100%;display:flex;align-items:center;gap:8px;padding:0 58px 0 8px;border:0;background:transparent;color:var(--ink-2);font-size:var(--text-sm);font-weight:400;text-align:left;cursor:pointer;border-radius:inherit}.project-lead:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:15px;flex:none;color:var(--muted)}.project-lead .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;transition:opacity var(--ease)}.project-chevron:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:0}.project-row:hover .project-icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.project-toggle:focus-visible .project-icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:0}.project-row:hover .project-chevron:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.project-toggle:focus-visible .project-chevron:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}.project-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-hint:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xs);font-weight:400;color:var(--faint)}.project-row.current .project-toggle:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:500}.project-row.current .project-icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--primary)}.project-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;right:4px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:2px;opacity:0;transition:opacity var(--ease)}.project-new:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.project-more:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:24px;height:24px}.project-row:hover .project-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.project-row:focus-within .project-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.project-actions.open:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}@media(hover:none){.project-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}}.project-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;right:0;top:calc(100% + 4px);z-index:5;min-width:150px;padding:4px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .14s ease}.project-menu button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:9px;height:30px;padding:0 10px;border:0;background:transparent;color:var(--ink-2);font:inherit;font-size:var(--text-md);text-align:left;white-space:nowrap;border-radius:var(--radius-sm);cursor:pointer}.project-menu button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.project-menu button.danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.project-menu button.danger .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.project-section>.projects-sessions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;margin:2px 0 6px;padding-left:16px}.project-section>.projects-sessions .session-more:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-left:32px}.project-section>.projects-sessions .list-state:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-left:32px}.projects-sessions .search:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:2px 0}.projects-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);font-size:var(--text-xs);overflow-wrap:anywhere}.projects-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){justify-content:space-between;padding-right:4px}.projects-head .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:22px;height:22px;color:var(--muted)}.projects-head .icon-btn:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.folder-browser-path:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;color:var(--muted)}.folder-browser-path .zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;font-size:var(--text-sm)}.folder-browser-view:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;gap:1px;padding:1px;border-radius:var(--radius-sm);background:var(--sunken);flex:none}.folder-browser-view-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer}.folder-browser-view-btn:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.folder-browser-view-btn.active:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--border)}.folder-browser-crumbs:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:nowrap;align-items:center;gap:2px;margin-top:-4px;overflow-x:auto;scrollbar-width:none;font-size:var(--text-sm);color:var(--muted);mask-image:linear-gradient(to right,transparent 0,#000 16px)}.folder-browser-crumbs:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-scrollbar{display:none}.folder-browser-crumb:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:2px;flex:none}.folder-browser-crumb button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:0;background:transparent;color:inherit;padding:1px 5px;border-radius:var(--radius-sm);cursor:pointer;max-width:16ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-browser-crumb button:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.folder-browser-crumb:last-child button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:500;cursor:default}.folder-browser:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:150px 1fr;gap:10px;height:min(340px,48vh)}.folder-browser-places:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:2px;overflow-y:auto;padding-right:10px;border-right:1px solid var(--border)}.folder-browser-place:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.folder-browser-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;width:100%;min-height:30px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink-2);font-size:var(--text-md);text-align:left;cursor:pointer}.folder-browser-place .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.folder-browser-row .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;color:var(--muted)}.folder-browser-place:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.folder-browser-place.active:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.folder-browser-grid:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:4px;padding:2px 2px 8px}.folder-browser-tile:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:12px 6px 10px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--ink-2);font-size:var(--text-sm);cursor:pointer}.folder-browser-tile .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--primary);opacity:.85}.folder-browser-tile-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-align:center;line-height:1.35}.folder-browser-tile:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.folder-browser-tile.active:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.folder-browser-tile:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){outline:none;box-shadow:0 0 0 2px var(--focus-ring)}.folder-browser-list:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow-y:auto;outline:none;display:flex;flex-direction:column;gap:1px;border-radius:var(--radius-sm)}.folder-browser-list:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){box-shadow:0 0 0 2px var(--focus-ring)}.folder-browser-row.active:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.folder-browser-row .truncate:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-browser-enter:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:0}.folder-browser-row.active .folder-browser-enter:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}.folder-browser-row.up:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.folder-browser-create:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;padding:2px 4px 6px 8px;color:var(--muted)}.folder-browser-create .zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;height:30px}.folder-browser-empty:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:24px 8px;text-align:center;color:var(--faint);font-size:var(--text-sm)}.folder-browser-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px}.folder-browser-foot .zx-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;text-align:right;font-size:var(--text-sm)}.folder-browser-hidden:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:var(--text-sm);cursor:pointer}.zx-dialog-foot .folder-browser-new:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-right:auto}@media(max-width:560px){.folder-browser:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-template-columns:1fr;grid-template-rows:auto 1fr;height:min(420px,60vh)}.folder-browser-places:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex-direction:row;overflow-x:auto;padding:0 0 8px;border-right:0;border-bottom:1px solid var(--border)}.folder-browser-place:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:auto;flex:none}.folder-browser-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.folder-browser-place:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-height:40px}}.ws-host:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:auto;position:relative}.ws-host>.chat:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-height:0}.ws-canvas:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;flex:none}.ws-pane:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:var(--bg)}.ws-pane-body:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.ws-pane-body>.chat:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-height:0}.ws-pane-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:2px;height:32px;flex:none;padding:0 4px;background:var(--sunken);border-bottom:1px solid var(--border-strong);cursor:grab;user-select:none;-webkit-user-select:none;transition:background-color var(--ease),border-color var(--ease)}.ws-pane:focus-within .ws-pane-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary-weak);border-bottom-color:color-mix(in srgb,var(--primary) 45%,var(--border-strong))}.ws-pane-head:active:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){cursor:grabbing}.ws-pane-head .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:26px;height:26px}.ws-grip:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;width:22px;height:26px;color:var(--faint);border-radius:6px}.ws-pane-head:hover .ws-grip:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.ws-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:2px;flex:none}.ws-actions>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex}.ws-open-sidebar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){animation:fade-in .2s ease}@media(max-width:760px){.ws-pane-head .ws-open-sidebar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}}.ws-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;padding:0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-sm);font-weight:500;color:var(--ink-2)}.ws-pane:focus-within .ws-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.ws-divider:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;z-index:40;background:transparent;touch-action:none}.ws-divider:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{content:"";position:absolute;background:var(--border);transition:background var(--ease)}.ws-divider-v:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{top:0;bottom:0;left:3.5px;width:1px}.ws-divider-h:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{left:0;right:0;top:3.5px;height:1px}.ws-divider:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after,.ws-divider:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{background:var(--primary)}.ws-divider:hover.ws-divider-v:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after,.ws-divider:focus-visible.ws-divider-v:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{width:2px;left:3px}.ws-divider:hover.ws-divider-h:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after,.ws-divider:focus-visible.ws-divider-h:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{height:2px;top:3px}.ws-divider:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){outline:none;box-shadow:none}.ws-divider-v:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:8px;cursor:col-resize}.ws-divider-h:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:8px;cursor:row-resize}.ws-drop:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;z-index:50;pointer-events:none;border:2px solid var(--primary);border-radius:8px;background:color-mix(in srgb,var(--primary) 15%,transparent)}.ws-shield:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;inset:0;z-index:30}.ws-flash:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;inset:0;z-index:45;pointer-events:none;box-shadow:inset 0 0 0 2px var(--primary);animation:ws-flash 1s ease-out forwards}.ws-flash:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):before{content:"";position:absolute;left:0;right:0;top:0;height:32px;background:color-mix(in srgb,var(--primary) 22%,transparent)}@keyframes ws-flash{0%,35%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.ws-flash:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){animation-timing-function:steps(1,end)}}.zx-small:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm)}.zx-num:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-variant-numeric:tabular-nums}.zx-break:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow-wrap:anywhere}.zx-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);font-size:var(--text-md);margin:6px 2px}.zx-inline:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.zx-stack:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px;align-items:flex-start}.zx-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;gap:8px;align-items:center}.zx-row>.zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0}.zx-wide:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%}.zx-section:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);font-weight:600;color:var(--ink);margin:22px 2px 8px}.zx-section:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:0}.zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:32px;padding:0 10px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:var(--text-md);min-width:0;outline:none;transition:border-color var(--ease),box-shadow var(--ease)}.zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder{color:var(--faint)}.zx-input:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--border-strong)}.zx-input:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}select.zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){appearance:none;-webkit-appearance:none;padding-right:30px;cursor:pointer;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23938f86'%3E%3Cpath d='M12 13.17 16.95 8.22l1.41 1.41L12 16 5.64 9.63l1.41-1.41L12 13.17z'/%3E%3C/svg%3E") no-repeat right 8px center / 16px}.zx-field:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:6px;text-align:left;font-size:var(--text-sm);font-weight:500;color:var(--ink-2)}.zx-field>.zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-field .zx-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-md);color:var(--ink);font-weight:400}.zx-settings-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){align-items:center}.zx-settings-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:2px;min-width:0}.zx-settings-text .muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-settings-text .zx-small:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm)}.zx-page-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.zx-row-link:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;border:0;background:transparent;font:inherit;text-align:left;cursor:pointer;transition:background var(--ease)}.zx-row-link:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.zx-row-link .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;color:var(--faint)}.zx-row-link.danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.zx-page-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:24px}.zx-hint-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px;padding:0 2px}.zx-account-allowance:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0}.zx-account-allowance .zx-meter:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:240px;margin-top:4px}.zx-switch:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;width:32px;height:18px;border-radius:999px;border:0;padding:0;cursor:pointer;flex:none;background:var(--border-strong);transition:background var(--ease)}.zx-switch>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform var(--ease)}.zx-switch[aria-checked=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary)}.zx-switch[aria-checked=true]>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){transform:translate(14px)}.zx-switch:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:.45;cursor:not-allowed}.zx-meter:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:block;height:4px;border-radius:2px;background:var(--sunken);overflow:hidden;width:100%}.zx-meter>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:block;height:100%;border-radius:2px;background:color-mix(in srgb,var(--ink) 62%,transparent);transition:width .3s ease}.zx-meter.warn>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--warning)}.zx-meter.bad>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--danger)}.zx-quota:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:14px}.zx-quota .zx-kv strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-base)}.zx-pool-quota:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-column:1 / -1;min-width:0;display:flex;flex-direction:column;gap:16px;border-top:1px solid var(--border);padding-top:16px}.zx-pool-quota-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.zx-pool-quota-head>button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex-shrink:0}.zx-pool-quota-provider:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px;min-width:0}.zx-pool-quota-windows:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}@media(max-width:520px){.zx-pool-quota-windows:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-template-columns:minmax(0,1fr);gap:12px}}@media(max-width:520px){.zx-quota:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-template-columns:minmax(0,1fr);gap:12px}}.zx-kv:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:var(--text-md);color:var(--ink)}.zx-kv strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-title);font-weight:600;letter-spacing:-.01em}.zx-kv-col:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:6px}.zx-kv-col .zx-small:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.zx-menu-root:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;display:inline-flex;margin-left:4px}.zx-avatar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;flex:none;background:var(--primary-weak);color:var(--primary);font-size:var(--text-sm);font-weight:600;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 8%,transparent)}.zx-avatar img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;height:100%;object-fit:cover}.zx-avatar-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;border:0;padding:2px;background:transparent;border-radius:50%;cursor:pointer;transition:background var(--ease)}.zx-avatar-btn:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-avatar-btn[aria-expanded=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.zx-avatar-btn.revoked .zx-avatar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){box-shadow:0 0 0 2px var(--danger)}.zx-avatar-edit:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:10px;height:36px;padding:0 10px 0 4px;border:1px solid var(--border);border-radius:999px;background:var(--surface);cursor:pointer;color:var(--ink-2);font-size:var(--text-md);transition:background var(--ease)}.zx-avatar-edit:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken)}.zx-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;right:0;top:calc(100% + 6px);z-index:40;width:264px;max-height:min(72vh,580px);overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:4px;display:flex;flex-direction:column;animation:pop-in .14s cubic-bezier(.2,.8,.2,1)}.zx-menu>button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:9px;height:30px;padding:0 10px;text-align:left;border:0;background:transparent;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-md);color:var(--ink-2);transition:background var(--ease)}.zx-menu>button .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.zx-menu>button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.zx-menu>button.danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-menu>button.danger .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.zx-menu>button:not(:has(.icon)):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-left:35px}.zx-menu-profile:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:10px;padding:10px 10px 8px}.zx-menu-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;min-width:0;gap:1px}.zx-menu-name strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:600;font-size:var(--text-base);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zx-menu-name .zx-small:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm)}.zx-menu-summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:space-between;align-items:center;margin:0 6px 6px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--sunken);font-size:var(--text-sm)}.zx-menu-summary strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.zx-menu-revoked:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0 6px 6px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--danger-weak);color:var(--danger);font-size:var(--text-sm);line-height:1.5}.zx-menu-sep:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:1px;background:var(--border-soft);margin:4px 6px;flex:none}.zx-menu-label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs);font-weight:500;color:var(--faint);padding:6px 10px 3px}@media(max-width:760px){.zx-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;right:8px;top:calc(var(--topbar-h) + 4px + env(safe-area-inset-top));width:min(300px,calc(100vw - 16px))}}.zx-scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){z-index:70}.zx-dialog:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;width:min(440px,100%);max-height:88vh;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .2s cubic-bezier(.2,.8,.2,1)}.zx-dialog.wide:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:min(560px,100%)}.zx-dialog-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;padding:18px 14px 6px 24px}.zx-dialog-head h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;margin:0;font-size:var(--text-lg);font-weight:600}.zx-dialog-body:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:8px 24px 22px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;font-size:var(--text-md);line-height:1.6}.zx-dialog-body p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0}.zx-dialog-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;background:var(--sidebar-bg);flex-wrap:wrap}.zx-qr:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:208px;height:208px;align-self:center;object-fit:contain;border-radius:var(--radius);border:1px solid var(--border);padding:8px;background:#fff}.zx-prompt-message:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-weight:500;color:var(--ink)}.zx-prompt-detail:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;background:var(--code-bg);border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:8px 10px;font:12px/1.55 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}.zx-gate:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px 16px;overflow-y:auto;background:var(--bg)}.zx-gate:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(60% 50% at 50% 0%,color-mix(in srgb,var(--primary) 7%,transparent),transparent 70%)}.zx-gate-card:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;width:100%;max-width:380px;display:flex;flex-direction:column;align-items:stretch;gap:14px;text-align:center;padding:32px 28px 24px;border-radius:16px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow)}.zx-gate-card>svg:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){align-self:center;margin-bottom:2px}.zx-gate-card h1:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-title);font-weight:600;letter-spacing:-.02em}.zx-gate-sub:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:-6px 0 6px;color:var(--muted);font-size:var(--text-md);line-height:1.6}.zx-gate-close:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;background:transparent;color:var(--muted);cursor:pointer;border-radius:var(--radius-sm)}.zx-gate-close:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.zx-tabs:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;padding:2px;gap:2px;border-radius:var(--radius-sm);background:var(--sunken)}.zx-tabs button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;height:28px;border:0;background:transparent;border-radius:5px;font-size:var(--text-md);font-weight:500;color:var(--muted);cursor:pointer;transition:background var(--ease),color var(--ease)}.zx-tabs button.on:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.zx-gate-form:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px}.zx-gate-form .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:36px;font-size:var(--text-base)}.zx-cc:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:0 0 118px!important}.zx-gate-msg:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-height:18px;font-size:var(--text-sm);color:var(--warning)}.zx-gate-msg.ok:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--success)}.zx-gate-backend:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:center;gap:8px;font-size:var(--text-xs);color:var(--faint)}.zx-gate-backend .zx-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:26px;padding:0 26px 0 8px;font-size:var(--text-xs);background-position:right 6px center}.zx-gate-limit:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px;text-align:left;font-size:var(--text-md)}.zx-gate-limit p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;color:var(--ink-2);line-height:1.6}.zx-gate-limit ul:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.zx-gate-limit li:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--surface)}.zx-gate-limit li+li:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-top:1px solid var(--border-soft)}.zx-gate-device:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.zx-gate-device strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zx-desk:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;inset:0;z-index:75;display:flex;align-items:center;justify-content:center;padding:16px;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}@media(max-width:760px){.zx-desk:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){-webkit-backdrop-filter:none;backdrop-filter:none;background:color-mix(in srgb,var(--bg) 94%,transparent)}}.zx-desk-card:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;max-width:360px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:28px 24px 22px;border-radius:16px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow)}.zx-desk-card strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-lg);font-weight:600;color:var(--ink)}.zx-desk-card p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-md);color:var(--muted);line-height:1.6}.zx-desk-card .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:6px}.zx-welcome:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:center;gap:10px;max-width:560px}.zx-welcome h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);margin:0;font-size:var(--text-display);font-weight:600;letter-spacing:-.025em}.zx-welcome p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;color:var(--muted);line-height:1.6;font-size:var(--text-lg)}.zx-welcome .zx-logo:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-bottom:6px}.zx-revoked-card:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;text-align:left;display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:var(--radius);background:var(--danger-weak);color:var(--ink-2);font-size:var(--text-md)}.zx-revoked-card strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.zx-starters:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:640px;margin-top:8px}.zx-starter:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;gap:6px;align-items:center;height:34px;padding:0 14px;border:1px solid var(--border);background:var(--surface);border-radius:999px;font-size:var(--text-md);cursor:pointer;color:var(--ink-2);transition:background var(--ease),border-color var(--ease)}.zx-starter:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--border-strong);background:var(--sunken);color:var(--ink)}.zx-starter .mono:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted);font-size:var(--text-xs)}.zx-starter-main:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-starter-x:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:0;background:transparent;padding:0;cursor:pointer;color:inherit;font:inherit}.zx-starter-main:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-md)}.zx-starter-x:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;color:var(--faint);opacity:0;transition:opacity var(--ease)}.zx-starter:hover .zx-starter-x:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}.zx-usage-pop:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:320px;padding:6px}.zx-usage-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 4px 2px 12px}.zx-usage-head strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-size:var(--text-lg);font-weight:600;letter-spacing:-.01em}.zx-usage-block:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-usage-providers>section:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px;padding:10px 12px;font-size:var(--text-md)}.zx-usage-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:6px}.zx-usage-label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px;font-size:var(--text-xs);font-weight:500;color:var(--faint)}.zx-usage-providers>.zx-usage-label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:10px 4px 0 12px}.zx-usage-label .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:24px;height:24px}.zx-usage-plan:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:600;letter-spacing:.04em}.zx-usage-provider strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-md)!important}.zx-usage-buy:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:10px 12px 8px}.zx-usage-buy .zx-inline:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:1fr 1fr;gap:8px}.zx-usage-buy .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;height:32px}.zx-spinning .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){animation:spin .8s linear infinite}.zx-usage-table:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;border-collapse:collapse;font-size:var(--text-md)}.zx-usage-table th:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs);font-weight:500;color:var(--faint)}.zx-usage-table th:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-usage-table td:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){text-align:left;padding:8px 6px;border-bottom:1px solid var(--border-soft)}.zx-usage-table td.zx-num:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-usage-table th.zx-num:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){text-align:right}.zx-usage-totals:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:4px 0 18px}.zx-usage-totals>div:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);padding:12px 14px;display:flex;flex-direction:column;gap:4px;font-size:var(--text-sm);color:var(--muted)}.zx-usage-totals strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-title);font-weight:600;color:var(--ink);letter-spacing:-.02em;font-variant-numeric:tabular-nums}.zx-usage-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:5px;height:28px;border:0;background:transparent;color:var(--muted);font-size:var(--text-xs);font-weight:500;cursor:pointer;padding:0 8px;border-radius:var(--radius-sm);font-variant-numeric:tabular-nums;transition:background var(--ease),color var(--ease)}.zx-usage-btn:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.zx-usage-btn[aria-expanded=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.zx-usage-pill:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;padding:0 10px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--border)}.zx-usage-sep:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint)}.zx-usage-btn.warn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--warning)}.zx-usage-btn.bad:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.zx-allowance:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none}.zx-allowance .ring:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){transform:rotate(-90deg)}.zx-allowance .ring circle:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){fill:none;stroke-width:2}.zx-allowance .ring circle:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){stroke:var(--border)}.zx-allowance .ring circle:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){stroke:currentColor;stroke-linecap:round;transition:stroke-dasharray var(--ease-out)}.zx-usage-block .zx-kv strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-md)}.zx-usage-block .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;font-size:var(--text-sm)}.usage-range-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:12px}.usage-table-wrap:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow-x:auto}.usage-table-wrap .zx-usage-table th:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.usage-table-wrap .zx-usage-table td:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-left:14px}.usage-table-wrap .zx-usage-table th:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.usage-table-wrap .zx-usage-table td:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-right:14px}.usage-table-wrap .zx-usage-table tr:last-child td:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-bottom:0}.usage-table-wrap .zx-usage-table thead th:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sidebar-bg)}.files-page:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;inset:0;z-index:45;display:flex;flex-direction:column;background:var(--bg);color:var(--ink)}.files-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:4px;padding:0 12px;height:var(--topbar-h);flex:none;padding-top:env(safe-area-inset-top);box-sizing:content-box;border-bottom:1px solid var(--border);background:var(--bg)}.files-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-base);font-weight:600;color:var(--ink);margin-left:4px}.files-remote:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;height:20px;font-size:var(--text-xs);font-weight:500;padding:0 7px;border-radius:5px;background:var(--primary-weak);color:var(--primary)!important;margin-left:6px}.files-toggle:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);color:var(--muted);cursor:pointer;white-space:nowrap;margin-right:6px}.files-places:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-crumbs:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:4px;padding:8px 16px 0;overflow-x:auto;scrollbar-width:none;flex:none}.files-places:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-scrollbar,.files-crumbs:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-scrollbar{display:none}.files-place:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;flex:none;height:28px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink-2);font:inherit;font-size:var(--text-sm);font-weight:500;cursor:pointer;transition:background var(--ease)}.files-place:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken)}.files-place .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.files-place[aria-current=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--active);border-color:transparent;color:var(--ink)}.files-crumbs:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-bottom:8px;border-bottom:1px solid var(--border-soft);font-size:var(--text-md);color:var(--muted)}.files-crumb:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:2px;flex:none}.files-crumb button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:0;background:transparent;color:inherit;font:inherit;padding:3px 4px;border-radius:6px;cursor:pointer;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-crumb button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken)}.files-crumb button[aria-current=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-weight:600;color:var(--ink)}.files-notice:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:8px 12px 0}.files-list:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;overflow-y:auto;padding:6px 10px calc(16px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.files-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;display:flex;align-items:center;border-radius:var(--radius-sm)}.files-row:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken)}.files-open:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr) 88px 150px;align-items:center;gap:12px;height:42px;padding:0 8px;border:0;background:transparent;color:var(--ink);font:inherit;font-size:var(--text-md);text-align:left;cursor:pointer}.files-icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--radius-sm);background:var(--sunken);color:var(--muted)}.files-icon-folder:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.files-icon-video:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-icon-audio:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink-2)}.files-icon-image:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-icon-office:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--info)}.files-icon-pdf:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.files-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-meta:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.files-row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;flex:none;padding-right:4px}.files-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;right:4px;top:100%;z-index:5;min-width:160px;padding:4px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .14s ease}.files-menu button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:9px;height:30px;padding:0 10px;border:0;background:transparent;color:var(--ink-2);font:inherit;font-size:var(--text-md);text-align:left;border-radius:var(--radius-sm);cursor:pointer}.files-menu button .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.files-menu button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.files-menu button.danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-menu button.danger .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.files-views:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;gap:2px;padding:2px;margin-right:4px;border:1px solid var(--border);border-radius:var(--radius-sm)}.files-views [aria-pressed=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--active);color:var(--ink)}.files-list[data-view=icons]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));align-content:start;gap:8px;padding-top:10px}.files-list[data-view=icons]>.files-drop:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-list[data-view=icons]>.files-center:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-column:1 / -1}.files-tile:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;min-width:0;border-radius:var(--radius-lg)}.files-tile:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-tile:focus-within:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken)}.files-tile .files-open:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:8px;border:0;background:transparent;color:var(--ink);font:inherit;font-size:var(--text-sm);text-align:center;cursor:pointer;border-radius:inherit}.files-tile .files-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow-wrap:anywhere;line-height:1.3;margin-top:4px}.files-tile .files-meta:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){text-align:center;font-size:var(--text-xs);min-height:14px}.files-tile .files-row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;top:4px;right:4px;padding:0;opacity:0;transition:opacity var(--ease)}.files-tile:hover .files-row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-tile:focus-within .files-row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}.files-tile .files-row-actions>.icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--surface);box-shadow:0 0 0 1px var(--border)}.files-thumb:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:var(--radius-sm);background:var(--sunken);color:var(--muted);isolation:isolate}.files-tile[data-kind=directory] .files-thumb:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:transparent}.files-thumb img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-thumb video:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .15s;pointer-events:none}.files-thumb img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:#fff;object-fit:contain}.files-thumb[data-ready] img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-thumb[data-ready] video:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}.files-thumb[data-ready]>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:0}.files-thumb-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;inset:0;margin:0;padding:7px 8px;overflow:hidden;background:var(--surface);color:var(--ink-2);font-family:var(--mono);font-size:9px;line-height:1.4;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--border-soft);border-radius:inherit;-webkit-mask-image:linear-gradient(#000 60%,transparent);mask-image:linear-gradient(#000 60%,transparent)}.files-thumb-badge:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;z-index:1;right:5px;bottom:5px;display:inline-flex;padding:3px;border-radius:5px;background:#0000008c;color:#fff}@media(hover:none){.files-tile .files-row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}}.files-center:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:40px 16px;text-align:center;min-height:160px}.files-preview:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;inset:0;z-index:46;display:flex;flex-direction:column;background:var(--bg)}.files-preview-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:flex;flex-direction:column}.files-preview-title strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-base);color:var(--ink);font-weight:600}.files-preview-title .muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:12px}.files-preview-body:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;background:var(--sunken);-webkit-overflow-scrolling:touch}.files-preview-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:flex-end;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--bg)}.files-media:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;display:flex;align-items:center;justify-content:center;padding:8px;background:#000}.files-media video:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.files-media img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:100%;max-height:100%;object-fit:contain}.files-media img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:#fff}.files-media audio:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:min(560px,100%)}.files-media:has(audio):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken)}.files-pdf:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px}.files-pdf-page:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:min(900px,100%);background:#fff;box-shadow:0 1px 4px #0000002e}.files-pdf-page canvas:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;height:100%;display:block}.files-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:12px;display:flex;flex-direction:column;gap:8px}.files-text pre:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;padding:12px;background:var(--surface);border-radius:var(--radius-sm);font-family:var(--mono);font-size:var(--text-xs);white-space:pre-wrap;overflow-wrap:anywhere}.files-markdown:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:16px 20px;background:var(--surface);border-radius:var(--radius-sm);line-height:1.6;overflow-wrap:anywhere}.files-markdown img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:100%}.files-dialog-scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--scrim);animation:fade-in .14s ease}.files-dialog:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:min(420px,100%);display:flex;flex-direction:column;gap:12px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .16s ease;font-size:var(--text-md)}.files-dialog h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-lg);font-weight:600}.files-dialog p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;line-height:1.5;overflow-wrap:anywhere}.files-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:34px;padding:0 10px;border:1px solid var(--primary);border-radius:var(--radius-sm);font:inherit;font-size:var(--text-base);background:var(--surface);color:var(--ink);outline:none;box-shadow:0 0 0 3px var(--focus-ring)}.files-dialog-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:flex-end;gap:8px}.files-list[data-dragging]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){outline:2px dashed var(--primary);outline-offset:-6px}.files-drop:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:10px;text-align:center}.files-uploads:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:47;width:min(400px,calc(100% - 32px));max-height:50vh;display:flex;flex-direction:column;gap:10px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .16s ease}.files-uploads header:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px}.files-upload-failed:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);font-size:13px}.files-upload-bar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:4px;border-radius:4px;background:var(--sunken);overflow:hidden}.files-upload-bar span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:block;height:100%;background:var(--primary);transition:width .2s}.files-uploads ul:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;padding:0;list-style:none;overflow-y:auto;display:flex;flex-direction:column;gap:4px;font-size:13px}.files-uploads li:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;gap:8px;justify-content:space-between}.files-uploads li[data-state=failed] .muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.files-upload-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.files-open:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-template-columns:28px minmax(0,1fr) auto}.files-time:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.files-toggle:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:12px}.files-list[data-view=icons]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:4px}.files-tile .files-open:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:6px}}.friends-panel:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:20px;min-height:320px}.friends-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:4px;margin-top:-4px}.friends-head h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;margin:0;font-size:var(--text-title);font-weight:600}.friends-refreshing svg:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){animation:spin .8s linear infinite}.friends-toolbar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;flex-wrap:wrap}.friends-search:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:200px;margin:0;height:32px}.friends-perspective:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;font-size:var(--text-sm);color:var(--muted);flex-wrap:wrap}.friends-perspective .picker:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-perspective select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:32px;max-width:240px;padding:0 30px 0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background-color:var(--surface);color:var(--ink);font-size:var(--text-md);appearance:none;-webkit-appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23938f86'%3E%3Cpath d='M12 13.17 16.95 8.22l1.41 1.41L12 16 5.64 9.63l1.41-1.41L12 13.17z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:16px}.friends-section:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:0;padding:0;overflow:visible}.friends-section>h4:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;margin:0 0 4px;padding:0 10px;height:28px;font-size:var(--text-xs);font-weight:500;color:var(--faint);letter-spacing:.02em}.friends-fields h4:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-dialog h4:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:6px 0 4px;font-size:var(--text-sm);font-weight:600;color:var(--ink)}.friends-section>.btn-ghost:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){justify-content:flex-start;height:34px;padding:0 10px;color:var(--primary);font-weight:500}.friends-section>.btn-ghost .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--primary)}.friends-section>.btn-ghost:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.friends-section>.friends-invite:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-section>form:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-section>p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-section>.friends-note:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-left:10px;margin-right:10px}.friends-section>.friends-invite:first-of-type:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:6px}.friends-empty:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-status:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-md);padding:10px 10px 8px;margin:0;display:flex;align-items:center;gap:8px;color:var(--muted)}.friends-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);font-size:var(--text-md);margin:0;overflow-wrap:anywhere}.friends-note:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);color:var(--muted)}.friends-time:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs);font-weight:400;margin-left:auto;color:var(--faint)}.friends-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:2px;border-radius:var(--radius-sm);position:relative;padding-right:4px;transition:background var(--ease)}.friends-row:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.friends-row-main:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:flex;align-items:center;gap:11px;padding:8px;border:0;background:transparent;text-align:left;cursor:pointer;border-radius:var(--radius-sm);color:inherit}.friends-row-main:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){cursor:default}.friends-row-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.friends-row-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--text-md);font-weight:500;color:var(--ink)}.friends-row-detail:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.friends-row .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:0;transition:opacity var(--ease),background var(--ease),color var(--ease)}.friends-row:hover .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-row:focus-within .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-row .icon-btn[aria-expanded=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}@media(hover:none){.friends-row .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}}.friends-row>.btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:26px;padding:0 9px;font-size:var(--text-sm)}.friends-avatar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;flex:none;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:var(--text-md);font-weight:600;background:var(--primary-weak);color:var(--primary)}.friends-avatar.human:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken);color:var(--ink-2)}.friends-presence:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;border:2px solid var(--surface);background:var(--border-strong)}.friends-presence.online:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--success)}.friends-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative}.friends-menu-list:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;right:0;top:calc(100% + 4px);z-index:5;min-width:168px;padding:4px;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .14s cubic-bezier(.2,.8,.2,1)}.friends-menu-list button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:9px;height:30px;padding:0 10px;border:0;background:transparent;text-align:left;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-md);color:var(--ink-2)}.friends-menu-list button .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.friends-menu-list button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.friends-menu-list button.danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-menu-list button.danger .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.friends-invite:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0}.friends-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:160px;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);font-size:var(--text-md);outline:none;transition:border-color var(--ease),box-shadow var(--ease)}.friends-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder{color:var(--faint)}.friends-input:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--border-strong)}.friends-input:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}.friends-input.mono:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-family:var(--mono);font-size:var(--text-xs);background:var(--sunken)}.friends-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}.friends-choices:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;gap:8px}.friends-fields:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px}.friends-login:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px;max-width:360px;margin:24px auto;width:100%}.friends-login h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-lg);font-weight:600}.friends-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:flex-start;padding-top:2px}.friends-dialog-scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){z-index:60}.friends-dialog:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px;width:min(480px,100%);max-height:86vh;overflow-y:auto;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .16s cubic-bezier(.2,.8,.2,1);font-size:var(--text-md)}.friends-dialog.wide:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:min(620px,100%)}.friends-dialog h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0 0 2px;font-size:var(--text-lg);font-weight:600}.friends-dialog p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;line-height:1.6}.friends-dialog-heading:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:12px}.friends-dialog-heading h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0}.friends-dialog.agent-add-dialog:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:min(500px,100%);gap:8px;padding:24px}.agent-add-dialog>.muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm)}.agent-setup:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){gap:16px;margin-top:12px}.agent-locations:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.agent-location:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:72px;padding:10px 4px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--muted);font:inherit;font-size:var(--text-sm);cursor:pointer;transition:background var(--ease),border-color var(--ease),color var(--ease)}.agent-location:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);border-color:var(--border-strong);color:var(--ink)}.agent-location[aria-pressed=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--primary);background:var(--primary-weak);color:var(--primary)}.agent-location:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){outline:2px solid var(--primary);outline-offset:2px}.agent-location:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){cursor:default;opacity:.55}.agent-setup .form-field:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);gap:7px}.agent-setup .form-field .input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.agent-setup .form-field .select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;width:100%;height:38px}.agent-setup .input:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.agent-setup .select:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:.6;cursor:not-allowed}.agent-setup .form-hint:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:1px;line-height:1.6}.agent-setup-summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:12px;padding:16px;border-radius:var(--radius);background:var(--sunken);color:var(--muted)}.agent-setup-summary>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none}.agent-connection-check:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;flex-wrap:wrap;gap:10px}.agent-connection-ok:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:4px;color:var(--success);font-size:var(--text-sm)}.agent-setup-footer:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-top:1px solid var(--border-soft);padding-top:16px;margin-top:0}.agent-restore:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px;margin-top:12px;padding-top:16px;border-top:1px solid var(--border-soft)}.agent-restore h4:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted);margin:0}@media(max-width:640px){.friends-dialog.agent-add-dialog:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}.agent-location:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs)}}.friends-files:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;max-height:45vh;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius)}.friends-file:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:var(--text-md)}.friends-file+.friends-file:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-top:1px solid var(--border-soft)}.composer-readonly:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:760px;margin:0 auto;padding:12px 16px;border:1px dashed var(--border-strong);border-radius:var(--radius-lg);color:var(--muted);font-size:var(--text-md);text-align:center}@media(max-width:640px){.friends-dialog-scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){align-items:flex-end;padding:0}.friends-dialog:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding-bottom:calc(20px + env(safe-area-inset-bottom))}}.friends-section>.btn:not(.btn-ghost):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){align-self:flex-start;margin:6px 10px 4px}.friends-panel>.friends-error.muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.friends-panel>p.friends-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:8px 12px;border-radius:var(--radius);background:var(--warning-weak);color:var(--ink-2);font-size:var(--text-sm)}.friends-panel>p.friends-error:not(.muted):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--danger-weak)}.friends-settings:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:24px}.friends-hosts:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px;padding-top:20px;border-top:1px solid var(--border-soft)}.friends-hosts>h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-base);font-weight:600;color:var(--ink)}.outbox:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px;min-height:380px;max-height:calc(86vh - 48px)}.outbox-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:6px;margin-top:-4px}.outbox-head>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.outbox-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-title);font-weight:600;color:var(--ink)}.outbox-head .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;font-size:var(--text-sm)}.outbox-center:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:48px 16px;text-align:center;color:var(--muted);font-size:var(--text-md)}.outbox-summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--radius);background:var(--primary-weak)}.outbox-summary>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--success);margin-top:2px}.outbox-summary p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-weight:500;line-height:1.55;color:var(--ink);font-size:var(--text-md)}.outbox-timeline:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden}.outbox-timeline>.label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:10px 14px 8px;font-size:var(--text-sm);font-weight:600;color:var(--ink);border-bottom:1px solid var(--border-soft)}.outbox-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:11px;width:100%;padding:10px 14px;text-align:left;cursor:pointer;border:0;background:transparent;color:inherit;font:inherit;transition:background var(--ease)}.outbox-item+.outbox-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-top:1px solid var(--border-soft)}.outbox-item:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.outbox-dot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.outbox-icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.outbox-thumb:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border-radius:var(--radius-sm);background:var(--sunken);color:var(--muted);overflow:hidden}.outbox-thumb img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.outbox-thumb video:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;height:100%;object-fit:cover}.outbox-item-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;min-width:0;gap:1px}.outbox-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-weight:500;font-size:var(--text-md);color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outbox-time:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.outbox-note:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs);color:var(--muted)}.outbox-note:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){white-space:normal;line-height:1.5}.outbox-preview:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-height:52vh;display:flex;align-items:stretch;justify-content:center;background:var(--sunken);border:1px solid var(--border-soft);border-radius:var(--radius);overflow:auto}.outbox-preview img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.outbox-preview video:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:100%;max-height:68vh;object-fit:contain;margin:auto}.outbox-preview iframe:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;min-height:68vh;border:0;background:#fff}.outbox-preview pre.block:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;max-height:none;margin:0;border:0;border-radius:0;background:var(--surface)}.rooms-invite:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px}.rooms-invite p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-sm)}.rooms-link:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:6px}.rooms-link input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:transparent;color:var(--ink);font:inherit;font-size:var(--text-sm)}.rooms-section-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:6px;font-size:var(--text-xs);font-weight:500;color:var(--faint)}.rooms-members:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;margin:0;padding:0;list-style:none}.rooms-member:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;min-height:40px}.rooms-member-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;flex:1;min-width:0}.rooms-member-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rooms-member-detail:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs)}.rooms-status:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:2px;margin:0 auto;padding:4px 12px;width:100%;max-width:860px;font-size:var(--text-sm)}.rooms-status-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;min-height:28px}.rooms-status-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.share-dialog:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px}.share-modes:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){align-self:flex-start}.share-modes button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-width:96px}.share-mode-hint:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-sm)}.share-publish:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px}.share-publish p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-sm)}.voice-mic:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;min-width:0}.voice-mic[data-status=recording]>.icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.voice-preview:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;max-width:min(46vw,420px);min-width:0;padding:2px 4px 2px 10px;border-radius:var(--radius-sm);background:var(--sunken);font-size:var(--text-sm)}.voice-mic[data-status=error] .voice-preview:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--danger-weak);color:var(--danger)}.voice-partial:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.voice-preview .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:26px;height:26px}.voice-preview .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-height:26px;padding:0 8px}.voice-level:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;width:10px;height:10px;border-radius:50%;background:var(--danger);transform:scale(calc(.6 + var(--level, 0) * .8));transition:transform 80ms linear}.voice-inline:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.voice-input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:240px;max-width:100%}@media(max-width:600px){.voice-preview:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:52vw}}.rh:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px}.rh-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.rh-head:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:0}.rh-head h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-sm);font-weight:600;color:var(--ink)}.rh-card:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);font-size:var(--text-md)}.rh-card strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:600}.rh-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.rh-inline:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.rh-update:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;align-items:center;gap:6px}.rh-actions .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.rh-update .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;padding:0 10px;font-size:var(--text-sm)}.rh-field:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:6px;font-size:var(--text-sm);font-weight:500;color:var(--ink-2)}.rh-field input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.rh-field select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.rh-field textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:32px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);font-size:var(--text-md);font-weight:400;outline:none}.rh-field input:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.rh-field select:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.rh-field textarea:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--primary);box-shadow:0 0 0 3px var(--focus-ring)}.rh-form:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px}.rh-form>p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-md);color:var(--muted);line-height:1.6}.rh-details summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){cursor:pointer;font-size:var(--text-md);color:var(--ink-2)}.rh-details[open]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:8px}.rh-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:2px;padding:8px 12px;border-radius:var(--radius-sm);background:var(--danger-weak);color:var(--danger);font-size:var(--text-sm);overflow-wrap:anywhere}.rh-cmd:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-family:var(--mono);font-size:var(--text-xs);overflow-wrap:anywhere;color:var(--muted)}.rh-steps:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;padding:0;list-style:none;font-size:var(--text-xs)}.rh-steps li[data-state=done]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--success)}.rh-steps li[data-state=active]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-weight:600;color:var(--ink)}.rh-steps li[data-state=failed]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);font-weight:600}.rh-steps li[data-state=todo]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint)}.rh-auto:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;font-size:var(--text-md)}.agents:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:12px}.agents-card:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.agents-card p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-md);line-height:1.6;color:var(--muted)}.agents-card p code:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.agents-card .mono:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-family:var(--mono);font-size:var(--text-xs);padding:1px 6px;border-radius:4px;background:var(--sunken);color:var(--ink)}.agents-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;justify-content:space-between;align-items:center;gap:8px}.agents-head strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.agents-head h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.agents-head h4:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-base);font-weight:600;color:var(--ink)}.agents-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:var(--text-md)}.agents-row .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.agents-attempt .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;font-size:var(--text-sm)}.agents-card>.agents-row:last-child .btn:only-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:2px}.agents-attempt:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:8px;padding:10px 12px;background:var(--sunken);border-radius:var(--radius-sm);font-size:var(--text-md)}.agents-code:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:160px}.agents-account:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:4px;padding-top:8px;border-top:1px solid var(--border-soft);min-width:0}.agents-account>.agents-row>span:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow-wrap:anywhere}.agents-share-badge:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-left:6px;vertical-align:1px}.agents-account-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;flex:none}.agents-other-toggle:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;font-size:var(--text-sm);color:var(--muted);padding:4px 0}.agents-more:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative}.agents-more>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){cursor:pointer;list-style:none;padding:2px 8px;border-radius:var(--radius-sm);font-size:18px;line-height:24px}.agents-more>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-details-marker{display:none}.agents-more>summary:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.agents-more-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:stretch;position:absolute;right:0;top:100%;z-index:2;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);padding:6px;border-radius:var(--radius-sm);min-width:112px}.agents-more-menu .agents-signout:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.agents-help:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs);position:relative}.agents-help[open]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex-basis:100%}.agents-help>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:2px 0}.agents-help p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:2px 0 4px;font-size:var(--text-sm)}.quota-loading:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:6px;color:var(--muted);font-size:var(--text-sm);padding:8px 0}.agents-card .account-quota:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;padding:2px 0 6px}.quota-toolbar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-column:1 / -1;display:flex;align-items:center;gap:6px}.quota-toolbar>span:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1}.quota-toolbar .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:26px;height:26px}.account-quota>.zx-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.account-quota>.zx-small:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.account-quota>.settings-details:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.account-quota>a:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-column:1 / -1}.quota-detail-grid:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.usage-statistics:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:20px;padding-top:10px;border-top:1px solid var(--border)}@media(max-width:520px){.agents-card:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:12px}.agents-card .account-quota:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.quota-detail-grid:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){grid-template-columns:minmax(0,1fr)}.agents-account>.agents-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){align-items:flex-start}}.tool-questions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:8px;font-size:var(--text-md)}.control-intro:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0 0 4px;color:var(--muted);font-size:var(--text-md);line-height:1.6}.control-extension-path:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow-wrap:anywhere;user-select:text}.control-extension-help:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:4px 14px 8px;border-top:1px solid var(--border-soft)}.control-extension-download:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:12px 14px}.control-extension-download .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){white-space:normal;text-align:center}.control-extension-help ol:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-inline-start:22px;line-height:1.7;overflow-wrap:anywhere}.control-extension-help li+li:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:8px}.control-extension-state:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex-wrap:wrap;gap:12px}.control-extension-state .row-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-width:0}.icon-btn-tooltip-anchor:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:contents}.icon-btn-tooltip:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;z-index:10000;transform:translate(-50%);max-width:min(240px,calc(100vw - 16px));padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:0 4px 16px #0002;font:12px/1.5 system-ui,sans-serif;pointer-events:none;overflow-wrap:anywhere}:root{color-scheme:light dark;--bg: #fcfcfb;--sidebar-bg: #f5f6f2;--surface: #ffffff;--sunken: #f1f2ee;--code-bg: #f5f6f3;--ink: #171b19;--ink-2: #2e3330;--muted: #626963;--faint: #979d98;--border: #e5e8e2;--border-soft: #eef0eb;--border-strong: #cdd2ca;--hover: rgba(23, 27, 25, .045);--active: rgba(23, 27, 25, .08);--focus-ring: rgba(23, 27, 25, .16);--primary: #171b19;--primary-hover: #000000;--primary-ink: #ffffff;--primary-weak: #eff1ec;--link: #2f5f28;--danger: #b4443a;--danger-weak: #f9ecea;--warning: #8a6a12;--warning-weak: #f7f1df;--success: #3f7a33;--info: #2b67b3;--info-weak: #edf2f9;--radius-sm: 8px;--radius: 12px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgba(16, 20, 18, .05);--shadow: 0 1px 2px rgba(16, 20, 18, .04), 0 16px 40px -12px rgba(16, 20, 18, .16);--scrim: rgba(12, 14, 13, .28);--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;--mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, "Cascadia Mono", Consolas, monospace;--text-xs: 12px;--text-sm: 13px;--text-md: 14px;--text-base: 14px;--text-lg: 16px;--text-title: 20px;--text-display: 28px;--control-h: 32px;--control-h-lg: 40px;--ease: .15s ease;--ease-out: .2s cubic-bezier(.2, .8, .2, 1);--sidebar-w: 268px;--topbar-h: 52px}:root[data-scheme=dark]{--bg: #141615;--sidebar-bg: #0f1110;--surface: #1b1e1c;--sunken: #222523;--code-bg: #101211;--ink: #f2f4f1;--ink-2: #d9ddd8;--muted: #9aa19b;--faint: #6c736d;--border: #2a2e2b;--border-soft: #222523;--border-strong: #404541;--hover: rgba(255, 255, 255, .045);--active: rgba(255, 255, 255, .085);--focus-ring: rgba(242, 244, 241, .22);--primary: #f2f4f1;--primary-hover: #ffffff;--primary-ink: #121413;--primary-weak: #232624;--link: #a9d48f;--danger: #e2685a;--danger-weak: #2c1916;--warning: #d29a2c;--warning-weak: #2a2312;--success: #86b86a;--info: #62a4ec;--info-weak: #15202c;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 20px 48px -16px rgba(0, 0, 0, .7);--scrim: rgba(0, 0, 0, .55)}*:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){box-sizing:border-box}html,body,#root:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:100%;margin:0}html,body{overscroll-behavior:none}body{background:var(--bg);color:var(--ink-2);font:var(--text-base)/1.5 var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font:inherit;color:inherit}button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){-webkit-tap-highlight-color:transparent}a:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--link);text-decoration:none}a:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){text-decoration:underline;text-underline-offset:2px}h1:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),h4:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);letter-spacing:-.01em}:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::selection{background:color-mix(in srgb,var(--ink) 14%,transparent);color:var(--ink)}:root[data-scheme=dark] :where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::selection{background:color-mix(in srgb,var(--ink) 22%,transparent);color:var(--ink)}:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){outline:none;box-shadow:0 0 0 3px var(--focus-ring)}.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;display:block}.muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.faint:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint)}.mono:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-family:var(--mono)}.nowrap:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){white-space:nowrap}.truncate:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}@media(prefers-reduced-motion:reduce){*:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),*:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):before,*:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{transition-duration:0ms!important;animation-duration:1ms!important}}.btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;height:var(--control-h);padding:0 14px;border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:var(--text-md);font-weight:500;line-height:1;box-shadow:var(--shadow-sm);transition:background var(--ease),border-color var(--ease),color var(--ease),opacity var(--ease)}.btn:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken);border-color:var(--border-strong)}.btn:active:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--active)}.btn:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:.45;cursor:not-allowed}.btn .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.btn-primary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary);border-color:var(--primary);color:var(--primary-ink)}.btn-primary .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:currentColor}.btn-primary:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary-hover);border-color:var(--primary-hover)}.btn-ghost:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:transparent;border-color:transparent;box-shadow:none;color:var(--ink-2)}.btn-ghost:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);border-color:transparent}.btn-danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--surface);color:var(--danger)}.btn-danger .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:currentColor}.btn-danger:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--danger-weak);border-color:color-mix(in srgb,var(--danger) 35%,transparent)}.btn-lg:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:var(--control-h-lg);padding:0 18px;font-size:var(--text-base);border-radius:10px}.btn-block:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%}.icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border-radius:var(--radius-sm);border:0;background:transparent;cursor:pointer;color:var(--muted);transition:background var(--ease),color var(--ease)}.icon-btn:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.icon-btn:active:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.icon-btn[aria-pressed=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.icon-btn[aria-expanded=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--active);color:var(--ink)}.icon-btn:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:.35;cursor:not-allowed}.input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input[type=text]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input[type=number]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input[type=email]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input[type=password]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input[type=tel]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input[type=url]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-row select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:36px;padding:0 12px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:var(--text-md);outline:none;min-width:0;transition:border-color var(--ease),box-shadow var(--ease),background var(--ease)}.textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:auto;min-height:72px;padding:8px 10px;line-height:1.5;resize:vertical}.input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder,.textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder,.form-field input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder,.form-field textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder{color:var(--faint)}.input:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.select:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.textarea:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field textarea:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field select:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-row select:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--border-strong)}.input:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.select:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.textarea:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field input:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field textarea:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field select:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-row select:focus:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--border-strong);box-shadow:0 0 0 3px var(--focus-ring)}.select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-field select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-row select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){appearance:none;-webkit-appearance:none;padding-right:30px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23938f86'%3E%3Cpath d='M12 13.17 16.95 8.22l1.41 1.41L12 16 5.64 9.63l1.41-1.41L12 13.17z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:16px}input[type=checkbox]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),input[type=radio]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){accent-color:var(--primary);width:15px;height:15px;margin:0;cursor:pointer}input.switch:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){appearance:none;-webkit-appearance:none;position:relative;width:32px;height:18px;border-radius:999px;flex:none;background:var(--border-strong);transition:background var(--ease);cursor:pointer}input.switch:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000040;transition:transform var(--ease)}input.switch:checked:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary)}input.switch:checked:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{transform:translate(14px)}input.switch:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:.45;cursor:not-allowed}.form-field:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:6px;font-size:var(--text-md);color:var(--ink);font-weight:500}.form-field>.muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.form-hint:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);font-weight:400;color:var(--muted)}.form-options:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;gap:6px}.option:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:var(--control-h);padding:0 14px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);font-size:var(--text-md);cursor:pointer;transition:background var(--ease),border-color var(--ease)}.option:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken)}.option[aria-pressed=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--ink);background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}input[type=range]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){-webkit-appearance:none;appearance:none;width:160px;height:18px;background:transparent;cursor:pointer;accent-color:var(--primary)}input[type=range]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:var(--sunken);box-shadow:inset 0 0 0 1px var(--border)}input[type=range]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border-radius:50%;background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-sm)}input[type=range]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-moz-range-track{height:4px;border-radius:2px;background:var(--sunken)}input[type=range]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-moz-range-progress{height:4px;border-radius:2px;background:var(--primary)}input[type=range]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--surface);border:1px solid var(--border-strong)}.segmented:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;padding:3px;gap:2px;border-radius:var(--radius-sm);background:var(--sunken)}.segmented button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:var(--text-sm);font-weight:500;cursor:pointer;transition:background var(--ease),color var(--ease)}.segmented button[aria-pressed=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.segmented button[aria-current=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.banner:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:flex-start;gap:10px;padding:8px 12px;border-radius:var(--radius);font-size:var(--text-sm);line-height:1.55;border:1px solid var(--border);background:var(--surface);color:var(--ink-2)}.banner>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:1px}.banner-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow-wrap:anywhere}.banner-action:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;display:flex;gap:6px;align-self:center}.banner-info:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--surface)}.banner-info>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--info)}.banner-warning:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--warning-weak);border-color:color-mix(in srgb,var(--warning) 18%,transparent)}.banner-warning>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--warning)}.banner-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--danger-weak);border-color:color-mix(in srgb,var(--danger) 18%,transparent)}.banner-error>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.spinner:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-block;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.badge:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 7px;border-radius:6px;flex:none;font-size:var(--text-xs);font-weight:500;background:var(--sunken);color:var(--muted);white-space:nowrap}.badge-primary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary-weak);color:var(--ink)}.badge-danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--danger-weak);color:var(--danger)}.dot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:7px;height:7px;border-radius:50%;background:var(--success);flex:none}.dot.off:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--border-strong)}.dot.warn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--warning)}.kbd:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;height:18px;padding:0 5px;border-radius:4px;border:1px solid var(--border);background:var(--surface);font:500 11px/1 var(--font);color:var(--faint)}.avatar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--sunken);color:var(--ink-2);font-size:var(--text-sm);font-weight:600;overflow:hidden}.label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.section-label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs);font-weight:500;color:var(--faint);letter-spacing:.01em}.empty:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:32px 16px;text-align:center;color:var(--muted);font-size:var(--text-md)}.empty>.icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint);margin-bottom:4px}.empty strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:600;font-size:var(--text-base)}.group:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden}.group+.group:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.group-title+.group:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:0}.group-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);font-weight:600;color:var(--ink);margin:28px 2px 10px}.group-title:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:0}.group-note:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);color:var(--muted);margin:8px 2px 0;line-height:1.5}.settings-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:10px 16px;font-size:var(--text-md);color:var(--ink)}.settings-row+.settings-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-top:1px solid var(--border-soft)}.settings-row>:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-width:0}.settings-row .row-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:2px;min-width:0}.settings-row .row-text .muted:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-row .row-desc:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);color:var(--muted)}.settings-row .row-value:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted);font-size:var(--text-md);text-align:right;overflow-wrap:anywhere}.settings-row .row-value.mono:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm)}.settings-details:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);color:var(--muted);min-width:0}.settings-details>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){cursor:pointer;padding:6px 0;color:var(--ink-2);font-weight:500}.settings-details>summary:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){outline:2px solid var(--primary);outline-offset:2px;border-radius:var(--radius-sm)}.settings-details[open]>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-bottom:6px}.settings-section:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:20px}.settings-row input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-row select:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:100%}@media(max-width:480px){.settings-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex-wrap:wrap;gap:8px}.settings-row>.voice-inline:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-row>.zx-inline:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:100%}}.palette-options:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.palette-option:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;height:var(--control-h);padding:0 12px 0 8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:transparent;color:var(--ink-2);font-size:var(--text-sm);cursor:pointer;transition:background var(--ease),border-color var(--ease)}.palette-option:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.palette-option[aria-pressed=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--ink);background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.palette-swatch:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:1px solid}.palette-swatch>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:8px;height:8px;border-radius:50%}.modal-body>.settings-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.settings-page>.settings-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-left:0;padding-right:0;border-bottom:1px solid var(--border-soft)}.modal-body>.settings-row+.settings-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-top:0}.center-page:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px 24px;text-align:center;background:var(--bg)}.center-page h1:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-display);font-weight:600;margin:6px 0 0;letter-spacing:-.025em;color:var(--ink)}.center-page p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;color:var(--muted);max-width:400px;font-size:var(--text-base);line-height:1.6}.center-page .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:6px}.device-list:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;width:min(420px,100%);margin-top:10px;text-align:left;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden;box-shadow:var(--shadow-sm)}.device-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;background:transparent;text-align:left;cursor:pointer;text-decoration:none;color:var(--ink);font-size:var(--text-base);font-weight:500;transition:background var(--ease)}.device-icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:var(--radius);background:var(--sunken);color:var(--ink-2);flex:none}.device-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.device-item .device-kind:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px}.boot-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs)!important;color:var(--faint)!important;max-width:520px!important;overflow-wrap:anywhere}.device-item+.device-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-top:1px solid var(--border-soft)}.device-item:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);text-decoration:none}.device-item .device-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-item .device-kind:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);font-weight:400;color:var(--muted)}.device-item>.icon:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint)}.shell:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;height:100%;overflow:hidden;background:var(--bg)}.sidebar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:var(--sidebar-w);flex:none;display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--sidebar-bg);border-right:1px solid var(--border)}.sidebar-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:10px;height:var(--topbar-h);padding:0 10px 0 16px;flex:none}.sidebar-head-tool:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;flex:none;margin-right:-6px}.brand:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;font-weight:650;font-size:15px;color:var(--ink);letter-spacing:-.02em}.sidebar-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:1px;padding:4px 10px 10px;flex:none}.sidebar-tool:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;display:block}.sidebar-tool:empty:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.nav-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;width:100%;height:32px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:transparent;box-shadow:none;color:var(--ink-2);font-size:var(--text-md);font-weight:400;text-align:left;cursor:pointer;justify-content:flex-start;transition:background var(--ease),color var(--ease)}.nav-item:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.nav-item .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.nav-item:hover .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.nav-item>.nav-label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-item>.kbd:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:0;transition:opacity var(--ease)}.nav-item:hover>.kbd:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}.nav-new:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:500}.nav-new .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.friends-entry-label:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;margin:2px 0 6px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);color:var(--faint);transition:border-color var(--ease),background var(--ease)}.search:focus-within:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--border-strong);background:var(--surface);box-shadow:0 0 0 3px var(--focus-ring)}.search input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:0;outline:0;background:transparent;flex:1;min-width:0;color:var(--ink);font-size:var(--text-md)}.search input:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder{color:var(--faint)}.sidebar-scroll:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;overflow-y:auto;padding:0 10px 28px;min-height:0;scrollbar-width:none;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 32px),transparent)}.sidebar-scroll:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-scrollbar{display:none}.sidebar-scroll>div+div:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:2px}.sidebar-section-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:6px;padding:18px 8px 4px;font-size:var(--text-xs);font-weight:500;color:var(--faint);letter-spacing:.01em}.sidebar-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:2px;height:56px;padding:0 10px;flex:none;color:var(--muted);border-top:1px solid var(--border-soft)}.sidebar-agent:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:38px;padding:0 8px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink-2);font-size:var(--text-md);text-align:left;cursor:pointer;transition:background var(--ease),color var(--ease)}.sidebar-agent:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.sidebar-agent .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;color:var(--muted)}.sidebar-agent-avatar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;font-size:var(--text-xs);font-weight:600;background:var(--ink);color:var(--bg)}.sidebar-agent-avatar img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;height:100%;object-fit:cover}.sidebar-agent-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-agent-edit:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:0;transition:opacity var(--ease),background var(--ease),color var(--ease)}.sidebar-foot:hover .sidebar-agent-edit:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.sidebar-agent-edit:focus-visible:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}@media(hover:none){.sidebar-agent-edit:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}}.sidebar-status:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;min-width:0;max-width:45%;display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;padding-right:6px;font-size:var(--text-xs);color:var(--warning)}.sidebar-status:not(:has(.warn)):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.sidebar-status-text:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .dot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:6px;height:6px}.sidebar [role=listitem]+[role=listitem]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:2px}.session-item:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;width:100%;height:30px;padding:0 6px 0 8px;border-radius:var(--radius-sm);border:0;background:transparent;text-align:left;cursor:pointer;color:var(--ink-2);transition:background var(--ease),color var(--ease)}.session-item:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.session-item[aria-current=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}.session-item[aria-current=true]:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--active)}.session-item[data-open] .session-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.session-item[aria-current=true] .session-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-weight:500}.session-lead:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;justify-content:center;width:16px;flex:none}.session-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-sm)}.session-project:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none;max-width:38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xs);color:var(--faint)}.session-item:hover .session-project:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.session-item:focus-within .session-project:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.session-item.active .session-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.session-item.attention .session-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:500}.session-meta:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:4px;flex:none}.session-meta:empty:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.session-mark:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--ink-2)}.session-dot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:6px;height:6px;border-radius:50%;background:currentColor}.session-mark.live .session-dot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{content:"";position:absolute;inset:50% auto auto 50%;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:currentColor;animation:session-breathe 1.8s cubic-bezier(.2,.8,.2,1) infinite}@keyframes session-breathe{0%{transform:scale(1);opacity:.35}80%,to{transform:scale(2.6);opacity:0}}@media(prefers-reduced-motion:reduce){.session-mark.live .session-dot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{animation:none;opacity:0}}.session-mark.done:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.session-mark.done .session-dot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--ink)}.session-duration:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.session-time:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-xs);line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.01em}.session-duration.live:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:500}.session-duration.done:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.session-time:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint)}.sidebar .session-time:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.sidebar .session-duration.done:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.session-badge:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;padding:2px 4px;border-radius:4px;flex:none}.session-badge.danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);background:var(--danger-weak)}.session-badge.info:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink-2);background:var(--sunken)}.session-item .row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none;gap:0}.session-item:hover .row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.session-item:focus-within .row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex}.session-item:hover .session-meta:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.session-item:focus-within .session-meta:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.session-item .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:22px;height:22px}.session-rename:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;height:26px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:0 8px;background:var(--surface);box-shadow:0 0 0 3px var(--focus-ring);outline:none;font-size:var(--text-md)}.list-state:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:8px 10px;font-size:var(--text-sm);color:var(--faint)}.session-more:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:2px 0 0 32px}.session-more .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){box-shadow:none;border:0}.session-more .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:auto;height:24px;justify-content:flex-start;padding:0;background:transparent;font-size:var(--text-xs);font-weight:400;color:var(--faint)}.session-more .btn:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:transparent;color:var(--ink);text-decoration:underline;text-underline-offset:2px}.main:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;display:flex;flex-direction:column;min-height:0;background:var(--bg)}.topbar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:4px;height:var(--topbar-h);padding:0 14px 0 24px;flex:none;background:var(--bg)}.topbar-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;font-weight:600;font-size:var(--text-base);color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em}.topbar>span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex}.mobile-only:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}@media(min-width:761px){.sidebar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){transition:width var(--ease-out),border-color var(--ease-out),visibility 0s}.sidebar>*:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){min-width:var(--sidebar-w)}.shell[data-sidebar=collapsed] .sidebar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:0;border-right-color:transparent;visibility:hidden;transition:width var(--ease-out),border-color var(--ease-out),visibility 0s .2s}.shell[data-sidebar=collapsed] .topbar-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex}.shell[data-sidebar=collapsed] .topbar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-left:12px}.shell[data-sidebar=collapsed] .topbar-menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){animation:fade-in .2s ease}.shell[data-split=true] .topbar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}}@media(max-width:760px){.mobile-only:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex}.desktop-only:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.sidebar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;inset:0 auto 0 0;z-index:30;width:min(84vw,300px);transform:translate(-100%);transition:transform .22s cubic-bezier(.2,.8,.2,1);box-shadow:var(--shadow);padding-top:env(safe-area-inset-top)}.shell[data-drawer=open] .sidebar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){transform:none}.shell[data-drawer=open] .scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:block;position:fixed;inset:0;z-index:29;background:var(--scrim)}.topbar:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:0 8px;padding-top:env(safe-area-inset-top);height:calc(var(--topbar-h) + env(safe-area-inset-top))}.sidebar-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-bottom:env(safe-area-inset-bottom);height:calc(48px + env(safe-area-inset-bottom))}.sidebar-scroll:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){-webkit-mask-image:none;mask-image:none}.modal-scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){-webkit-backdrop-filter:none;backdrop-filter:none}}@media(pointer:coarse){html :is(.search input,.session-rename,.input,.select,.zx-input,.friends-input,.files-input,.rh-field input,.picker):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:16px}}.chat:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;display:flex;flex-direction:column;min-height:0}.chat-scroll:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;overflow-y:auto;min-height:0;overscroll-behavior:contain}.chat-column:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:768px;margin:0 auto;padding:20px 24px 28px;display:flex;flex-direction:column;gap:18px}.chat-banners:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:768px;width:100%;margin:0 auto;padding:6px 24px 0;display:flex;flex-direction:column;gap:6px}.shell-banners:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:6px;flex:none}.shell-banners:not(:has(.banner)):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.shell-banners>.chat-banners+.chat-banners:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-top:0}.banner .btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;padding:0 10px;font-size:var(--text-sm)}.msg-user:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){align-self:flex-end;max-width:80%;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.msg-user .bubble:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary-weak);color:var(--ink);padding:10px 16px;border-radius:18px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.msg-user .meta:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;gap:2px;align-items:center;font-size:var(--text-xs);color:var(--faint);min-height:0}.msg-user .meta .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:24px;height:24px;opacity:0}.msg-user .meta:empty:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}@media(hover:none){.msg-user .meta .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:.7}.session-item .row-actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex}}.msg-user:hover .meta .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.msg-user:focus-within .meta .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){opacity:1}.attachments:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;gap:6px}.attachments img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:160px;max-height:120px;border-radius:var(--radius);border:1px solid var(--border);object-fit:cover}.chip:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 4px 0 8px;border-radius:var(--radius-sm);font-size:var(--text-sm);background:var(--surface);border:1px solid var(--border);max-width:260px;color:var(--ink-2)}.chip span:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:20px;height:20px}.msg-assistant:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-direction:column;gap:10px;min-width:0;color:var(--ink-2);line-height:1.6}.msg-foot:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-sm);color:var(--faint);display:flex;gap:8px;flex-wrap:wrap;align-items:center}.msg-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);font-size:var(--text-md)}.divider:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:10px;font-size:var(--text-xs);color:var(--faint)}.divider:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):before,.divider:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)):after{content:"";flex:1;height:1px;background:var(--border-soft)}.card:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow:hidden}.card>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.card-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;height:34px;padding:0 12px;font-size:var(--text-sm);color:var(--ink-2)}.card>summary:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.card>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::-webkit-details-marker{display:none}.card[open]>summary:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-bottom:1px solid var(--border-soft)}.card-body:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:10px 12px;font-size:var(--text-sm);display:flex;flex-direction:column;gap:8px}.card-body pre:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0}.tool-name:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-family:var(--mono);font-weight:500;font-size:var(--text-xs);color:var(--ink)}.tool-sub:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-family:var(--mono);font-size:var(--text-xs)}.status-error:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.status-ok:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--success)}.reasoning:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted);font-size:var(--text-md);white-space:pre-wrap;border-left:2px solid var(--border);padding-left:12px}pre.block:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--code-bg);border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:9px 11px;overflow:auto;max-height:360px;font:12px/1.55 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink-2)}.diff .add:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--success);background:color-mix(in srgb,var(--success) 12%,transparent);display:block}.diff .del:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger);background:color-mix(in srgb,var(--danger) 12%,transparent);display:block}.diff .hunk:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint);display:block}.md:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){overflow-wrap:anywhere;line-height:1.65}.md>:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:0}.md>:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-bottom:0}.md p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md ul:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md ol:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md blockquote:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md table:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md pre:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:.65em 0}.md ul:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md ol:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding-left:1.4em}.md li+li:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin-top:.2em}.md h1:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md h4:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:1.2em 0 .45em;line-height:1.3;font-weight:600}.md h1:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:1.3em}.md h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:1.16em}.md h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:1.05em}.md strong:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink);font-weight:600}.md code:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-family:var(--mono);font-size:.86em;background:var(--sunken);padding:.12em .36em;border-radius:5px;color:var(--ink)}.md pre:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--code-bg);border:1px solid var(--border-soft);border-radius:var(--radius);padding:10px 12px;overflow-x:auto}.md pre code:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:none;padding:0;font-size:12.5px;line-height:1.55;color:var(--ink-2)}.md blockquote:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-left:2px solid var(--border-strong);padding-left:12px;color:var(--muted)}.md table:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-collapse:collapse;display:block;overflow-x:auto;font-size:var(--text-md)}.md th:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.md td:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:1px solid var(--border);padding:6px 10px;text-align:left}.md th:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken);font-weight:600;color:var(--ink)}.md hr:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:0;border-top:1px solid var(--border);margin:1.2em 0}.md img:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:100%;border-radius:var(--radius)}.hljs-keyword:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.hljs-selector-tag:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.hljs-built_in:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#15764e}.hljs-string:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.hljs-attr:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#c25f4b}.hljs-number:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.hljs-literal:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#177b8f}.hljs-comment:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#9dae9d;font-style:italic}.hljs-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.hljs-function:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#4e8b18}.hljs-type:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.hljs-class:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#0e8294}:root[data-scheme=dark] .hljs-keyword:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),:root[data-scheme=dark] .hljs-selector-tag:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),:root[data-scheme=dark] .hljs-built_in:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#34983a}:root[data-scheme=dark] .hljs-string:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),:root[data-scheme=dark] .hljs-attr:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#d58373}:root[data-scheme=dark] .hljs-number:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),:root[data-scheme=dark] .hljs-literal:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#279e93}:root[data-scheme=dark] .hljs-comment:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#728772}:root[data-scheme=dark] .hljs-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),:root[data-scheme=dark] .hljs-function:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#78a952}:root[data-scheme=dark] .hljs-type:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),:root[data-scheme=dark] .hljs-class:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:#479cb1}.request:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:14px 16px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow-sm)}.request h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-base);font-weight:600}.request .actions:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;flex-wrap:wrap;gap:8px}.composer-wrap:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:8px 24px max(14px,env(safe-area-inset-bottom))}.composer:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){max-width:768px;margin:0 auto;position:relative}.composer-box:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 1px 2px #1014120a,0 8px 24px -12px #1014121f;display:flex;flex-direction:column;gap:6px;padding:12px 12px 10px;transition:border-color var(--ease),box-shadow var(--ease)}.composer-box:focus-within:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border-color:var(--border-strong);box-shadow:var(--shadow)}.composer textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){border:0;outline:0;resize:none;background:transparent;width:100%;min-height:44px;max-height:40vh;padding:2px 4px;line-height:1.55;color:var(--ink);font-size:var(--text-base)}.composer textarea:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *))::placeholder{color:var(--faint)}.composer-row:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:4px;min-width:0}.composer-row .send-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.composer-row .icon-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none}.composer-row .spacer:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1}.picker:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:28px;border:1px solid transparent;border-radius:999px;background-color:transparent;padding:0 10px;font-size:var(--text-sm);max-width:200px;color:var(--muted);min-width:0;flex:0 1 auto;text-overflow:ellipsis;cursor:pointer}.picker:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink)}select.picker:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){appearance:none;-webkit-appearance:none;padding-right:22px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23979d98'%3E%3Cpath d='M12 13.17 16.95 8.22l1.41 1.41L12 16 5.64 9.63l1.41-1.41L12 13.17z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center;background-size:14px}.send-btn:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:32px;height:32px;border-radius:50%;border:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;background:var(--primary);color:var(--primary-ink);transition:background var(--ease),opacity var(--ease)}.send-btn:hover:not(:disabled):where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--primary-hover)}.send-btn:disabled:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--sunken);color:var(--faint);cursor:not-allowed}.send-btn.stop:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--ink);color:var(--bg)}.popup:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.menu:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:6px;animation:pop-in .16s cubic-bezier(.2,.8,.2,1)}.popup:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;left:0;right:0;bottom:calc(100% + 6px);max-height:260px;overflow-y:auto;z-index:10}.popup button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.menu button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.menu a:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:9px;width:100%;height:30px;text-align:left;padding:0 9px;border:0;background:transparent;border-radius:var(--radius-sm);cursor:pointer;font-size:var(--text-md);color:var(--ink-2);text-decoration:none}.popup button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.menu button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.menu a:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover);color:var(--ink);text-decoration:none}.popup button[aria-selected=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--active);color:var(--ink)}.popup .desc:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.menu .danger:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.menu .danger .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.menu-sep:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:1px;margin:4px 6px;background:var(--border-soft)}.context-meter:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 7px;font-size:var(--text-xs);color:var(--muted);font-variant-numeric:tabular-nums}.context-meter .ring:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){transform:rotate(-90deg)}.context-meter .ring circle:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){fill:none;stroke-width:2}.context-meter .ring circle:first-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){stroke:var(--border)}.context-meter .ring circle:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){stroke:var(--muted);stroke-linecap:round;transition:stroke-dasharray var(--ease-out)}.context-meter.high:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--warning)}.context-meter.high .ring circle:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){stroke:var(--warning)}.context-meter.full:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--danger)}.context-meter.full .ring circle:last-child:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){stroke:var(--danger)}.empty-chat:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px 24px;color:var(--muted);text-align:center}.empty-chat h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;font-size:var(--text-display);font-weight:600;letter-spacing:-.025em;color:var(--ink)}.empty-chat p:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0;max-width:420px;line-height:1.6}.modal-scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--scrim);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fade-in .16s ease}.modal:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;width:min(720px,100%);max-height:min(86vh,820px);overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:pop-in .2s cubic-bezier(.2,.8,.2,1)}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:translateY(6px) scale(.985)}}.modal.settings:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:min(920px,100%);height:min(680px,86vh)}.modal nav:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:200px;flex:none;display:flex;flex-direction:column;gap:1px;padding:18px 10px;overflow-y:auto;background:var(--sidebar-bg);border-right:1px solid var(--border)}.modal nav .nav-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:4px 10px 14px;font-size:var(--text-lg);font-weight:600;color:var(--ink);letter-spacing:-.01em}.modal nav button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;text-align:left;border:0;border-radius:var(--radius-sm);background:transparent;cursor:pointer;font-size:var(--text-md);color:var(--ink-2);transition:background var(--ease)}.modal nav button .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--muted)}.modal nav button:hover:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--hover)}.modal nav button[aria-current=true]:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){background:var(--active);color:var(--ink);font-weight:500}.modal nav button[aria-current=true] .icon:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){color:var(--ink)}.modal .modal-body:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-width:0;overflow-y:auto;padding:24px 32px 32px}.modal .modal-body>h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){margin:0 0 24px;font-size:var(--text-title);font-weight:600;letter-spacing:-.02em;color:var(--ink)}.modal .modal-body h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){font-size:var(--text-base);font-weight:600;margin:22px 0 8px}.modal-head:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:flex;align-items:center;gap:8px;margin:-4px 0 20px}.modal-head h2:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.modal-head h3:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;margin:0;font-size:var(--text-title);font-weight:600;letter-spacing:-.02em;color:var(--ink)}.modal-close:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:absolute;top:14px;right:14px}@media(max-width:640px){.modal-scrim:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:0;align-items:flex-end}.modal:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:100%;max-height:92vh;border-radius:var(--radius-lg) var(--radius-lg) 0 0;flex-direction:column;animation:sheet-in .22s cubic-bezier(.2,.8,.2,1)}.modal.settings:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){height:92vh}.modal nav:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){width:auto;flex-direction:row;overflow-x:auto;padding:8px;border-right:0;border-bottom:1px solid var(--border);scrollbar-width:none}.modal nav .nav-title:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){display:none}.modal nav button:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:none}.modal .modal-body:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){padding:18px 16px calc(24px + env(safe-area-inset-bottom))}}@keyframes sheet-in{0%{transform:translateY(24px);opacity:.6}}.notice:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){position:fixed;left:50%;bottom:28px;transform:translate(-50%);z-index:60;max-width:min(520px,92vw);box-shadow:var(--shadow);border-radius:var(--radius);animation:pop-in .16s ease}.chat-pane:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;width:100%;min-height:0;border:0;display:block;background:var(--bg)}.ws-host>.chat-pane:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)),.ws-pane-body>.chat-pane:where(:not(.zero-chat,.zero-chat *,body>:not(#root),body>:not(#root) *)){flex:1;min-height:0}
