.signin{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:radial-gradient(60% 50% at 50% 0%,var(--thesis-accent-subtle),transparent 70%),var(--thesis-bg)}.signin-card{display:flex;flex-direction:column;align-items:center;gap:18px;width:min(420px,100%);padding:36px 28px 24px;border-radius:20px;background:var(--thesis-surface);border:1px solid var(--thesis-hairline);box-shadow:var(--thesis-shadow-float);text-align:center;animation:signin-in .35s ease-out}@keyframes signin-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.signin-icon{color:var(--thesis-accent)}.signin h1{margin:0;font-size:34px}.signin-subtitle{margin:-12px 0 0;font-size:17px;color:var(--thesis-text-secondary)}.signin-points{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;text-align:left;font-size:14px;color:var(--thesis-text-secondary)}.signin-points li{display:flex;gap:10px;align-items:flex-start}.signin-points li svg{flex:0 0 auto;margin-top:3px;color:var(--thesis-accent)}.signin-apple{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:300px;height:50px;border:none;border-radius:12px;background:#000;color:#fff;font-size:17px;font-weight:600;margin-top:6px}:root.dark .signin-apple{background:#fff;color:#000}:root.dark .signin-spinner{border-color:#0000004d;border-top-color:#000}.signin-apple:disabled{opacity:.7}.signin-spinner{border-color:#fff6;border-top-color:#fff}.signin-error{margin:0;font-size:13px;color:var(--thesis-error)}.signin-footnote{margin:6px 0 0;font-size:12px;color:var(--thesis-text-tertiary)}@media (prefers-reduced-motion: reduce){.signin-card{animation:none}}.chat{display:flex;flex-direction:column;height:100%;min-height:0;position:relative;background:var(--thesis-bg)}.chat-scroll{flex:1;min-height:0;overflow-y:auto;position:relative}.chat-list{display:flex;flex-direction:column;gap:16px;padding:16px 40px;max-width:960px;margin:0 auto;width:100%}@media (max-width: 760px){.chat-list{padding:16px}}.chat-list-item{display:flex;flex-direction:column}.chat-centered{display:flex;justify-content:center;padding-top:4px}.chat-scroll:after{content:"";position:sticky;bottom:0;display:block;height:48px;margin-top:-48px;pointer-events:none;background:linear-gradient(to bottom,#0000,#0000000d)}:root.dark .chat-scroll:after{background:linear-gradient(to bottom,#0000,#00000047)}.status-row{display:inline-flex;align-items:center;gap:8px;padding:4px 0;color:var(--thesis-text-secondary);font-size:15px}.status-row--full{display:flex;width:100%}.streaming-cursor{color:var(--thesis-text-secondary);animation:blink 1s ease-in-out infinite;margin-left:1px}@keyframes blink{50%{opacity:0}}@media (prefers-reduced-motion: reduce){.streaming-cursor{animation:none;visibility:hidden}}.streaming-text{white-space:normal}.streaming-pending{white-space:pre-wrap}.message-bubble{display:flex;flex-direction:column;gap:8px}.message-bubble--user{align-self:flex-end;align-items:flex-end;max-width:calc(100% - 60px);gap:4px}.user-bubble-text{padding:10px 16px;border-radius:var(--thesis-radius-user);background:var(--thesis-user-bubble);color:#fff;white-space:pre-wrap;word-break:break-word;-webkit-user-select:text;user-select:text}.message-bubble--assistant{align-self:stretch;padding:14px 18px 12px;border-radius:var(--thesis-radius-bubble);background:var(--thesis-bubble);border:1px solid var(--thesis-hairline);box-shadow:var(--thesis-shadow-card);color:var(--thesis-text);min-width:0}.agent-byline{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--thesis-accent);padding-bottom:2px}.bubble-actions{display:flex;justify-content:flex-end}@media (hover: hover) and (pointer: fine){.bubble-actions .ghost-button,.export-row .ghost-button{opacity:0;transition:opacity .15s ease}.message-bubble:hover .ghost-button,.message-bubble:focus-within .ghost-button{opacity:1}}.message-bubble--user .bubble-actions{padding-right:2px}.bubble-attachments{display:flex;gap:6px;padding-bottom:4px}.bubble-attachment{width:80px;height:80px;object-fit:cover;border-radius:8px}.ghost-button{display:inline-flex;align-items:center;gap:4px;padding:2px 4px;border:none;border-radius:4px;background:transparent;color:var(--thesis-text-secondary);font-size:12px}.ghost-button:hover{color:var(--thesis-text);background:var(--thesis-hover)}.tool-summary{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.tool-summary .pill{padding:5px 10px}.tool-summary-list{list-style:none;margin:0;padding:0 0 0 8px;display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--thesis-text-secondary)}.tool-summary-list li{display:flex;align-items:center;gap:4px}.tool-summary-check{color:var(--thesis-success)}.subagent{border-radius:8px;background:var(--thesis-fill-quaternary);border:.5px solid var(--thesis-border-soft);overflow:hidden}.subagent-header{display:flex;align-items:center;gap:8px;width:100%;padding:6px 10px;border:none;background:transparent;text-align:left;font-size:13px;color:var(--thesis-text)}.subagent-header:hover{background:var(--thesis-hover)}.subagent-name{font-weight:500}.subagent-summary{color:var(--thesis-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.subagent-spacer{flex:1}.subagent-status--done{color:var(--thesis-success)}.subagent-status--error{color:#f59e0b}.subagent-body{border-top:1px solid var(--thesis-border-soft);padding:10px;display:flex;flex-direction:column;gap:6px;font-size:13px}.subagent-tools{margin:0;font-family:var(--thesis-mono);font-size:11px;color:var(--thesis-text-secondary);white-space:pre-wrap;background:transparent}.subagent-error{color:var(--thesis-error);font-size:12px}.subagent-close{align-self:flex-end}.action-confirm{margin:0 16px 8px;padding:16px;border-radius:12px;background:var(--thesis-surface);box-shadow:0 4px 24px #0000001f;display:flex;flex-direction:column;gap:12px;animation:action-in .2s ease-out}@keyframes action-in{0%{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}.action-confirm-row{display:flex;align-items:center;gap:10px;font-size:15px}.action-confirm-icon{color:var(--thesis-accent)}.action-confirm-buttons{display:flex;gap:12px}.error-banner{display:flex;align-items:center;gap:8px;padding:12px;border-radius:12px;background:var(--thesis-error-subtle)}.error-banner-icon{color:var(--thesis-error)}.error-banner-text{flex:1;font-size:15px}.chat-jump{position:absolute;left:50%;bottom:84px;transform:translate(-50%);display:inline-flex;align-items:center;gap:6px;padding:7px 14px 7px 10px;border:1px solid var(--thesis-hairline);border-radius:999px;background:var(--thesis-surface);color:var(--thesis-text);font-size:13px;font-weight:500;box-shadow:var(--thesis-shadow-float);z-index:5;animation:jump-in .2s ease-out}.chat-jump:hover{color:var(--thesis-accent)}@keyframes jump-in{0%{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%)}}.chat-empty-state{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:32px 16px;text-align:center}.chat-empty-hero{display:flex;flex-direction:column;align-items:center;gap:8px}.chat-empty-icon{color:var(--thesis-accent);opacity:.7;margin-bottom:6px}.chat-empty-greeting{margin:0;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--thesis-text-tertiary)}.chat-empty-state h2{margin:0;font-size:30px;line-height:1.15}.chat-empty-message{margin:4px 0 0;max-width:360px;font-size:16px;color:var(--thesis-text-secondary)}.chat-empty-ideas{display:flex;flex-direction:column;align-items:center;gap:12px;width:min(520px,100%);padding:16px 16px 18px;border-radius:16px;background:var(--thesis-surface);border:1px solid var(--thesis-hairline);box-shadow:var(--thesis-shadow-card)}.chat-empty-ideas-head{display:flex;align-items:center;justify-content:space-between;width:100%}.chat-empty-ideas-title{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--thesis-text-tertiary)}.chat-empty-ideas .suggestion-chips{max-width:none;justify-content:flex-start;margin:0}.chat-empty-ideas .suggestion-chips button{text-align:left}.chat-empty-footnote{margin:0;max-width:420px;font-size:12px;color:var(--thesis-text-tertiary)}.suggestion-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:400px;margin:4px auto 0}.suggestion-chips button{border:none;border-radius:16px;padding:8px 14px;background:var(--thesis-accent-chip);color:var(--thesis-accent);font-size:15px;text-align:left;max-width:100%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.suggestion-chips button:hover{background:var(--thesis-accent-chip-hover)}.suggestion-chips button{transition:background-color .15s ease}.chat-input{padding:8px;background:var(--thesis-bar);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:1px solid var(--thesis-border-soft)}.chat-input-offline{display:flex;align-items:center;justify-content:center;gap:4px;padding-bottom:8px;font-size:11px;color:var(--thesis-text-secondary)}.chat-input-offline-dot{width:6px;height:6px;border-radius:50%;background:var(--thesis-error)}.chat-input-row{display:flex;align-items:flex-end;gap:6px;max-width:960px;margin:0 auto}.chat-input-attach{border:none;background:transparent;color:var(--thesis-accent);padding:6px;margin-bottom:1px;display:inline-flex}.chat-input-attach:disabled{color:var(--thesis-text-tertiary)}.chat-input-editor{flex:1;min-height:38px;max-height:140px;padding:8px 12px;border:none;border-radius:20px;background:var(--thesis-fill-quaternary);color:var(--thesis-text);resize:none;line-height:22px;outline:none}.chat-input-editor:focus-visible{outline:2px solid var(--thesis-accent);outline-offset:0}.chat-input-hint{height:0;overflow:hidden;max-width:960px;margin:0 auto;padding:0 48px;font-size:11px;color:var(--thesis-text-tertiary);transition:height .15s ease,padding .15s ease}.chat-input-hint--visible{height:18px;padding-top:4px}@media (max-width: 760px),(hover: none){.chat-input-hint{display:none}}.chat-input-editor::placeholder{color:var(--thesis-text-secondary)}.chat-input-action{border:none;background:transparent;padding:0;display:inline-flex;color:var(--thesis-text-tertiary);margin-bottom:2px}.chat-input-action--ready{color:var(--thesis-accent)}.chat-input-action--stop{color:var(--thesis-error)}.chat-input-action:disabled{color:var(--thesis-text-tertiary)}.chat-attachments{display:flex;gap:8px;padding:0 12px 6px;overflow-x:auto}.chat-attachment{position:relative;flex:0 0 auto}.chat-attachment img{width:56px;height:56px;object-fit:cover;border-radius:8px;display:block}.chat-attachment-remove{position:absolute;top:-6px;right:-6px;border:none;background:transparent;padding:2px;color:#0009;display:inline-flex}.markdown-body{font-size:15px;line-height:1.5;word-break:break-word;-webkit-user-select:text;user-select:text;min-width:0}.markdown-body>:first-child,.markdown-body>div>:first-child{margin-top:0}.markdown-body>:last-child,.markdown-body>div>:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{margin:.8em 0 .35em;line-height:1.25;font-weight:600}.markdown-body h1{font-size:1.35em}.markdown-body h2{font-size:1.2em}.markdown-body h3{font-size:1.08em}.markdown-body p{margin:.45em 0}.markdown-body ul,.markdown-body ol{margin:.45em 0;padding-left:1.4em}.markdown-body li{margin:.15em 0}.markdown-body hr{border:none;border-top:1px solid var(--thesis-border-soft);margin:.8em 0}.table-scroll{overflow-x:auto;margin:.5em 0;max-width:100%}.markdown-body table{border-collapse:collapse;font-size:.85em;min-width:max-content}.markdown-body th,.markdown-body td{border:1px solid var(--thesis-border-soft);padding:.3em .6em;text-align:left;vertical-align:top}.markdown-body th{background:var(--thesis-fill-quaternary);font-weight:600}.table-segment{margin:.25em 0}.export-row{display:flex;justify-content:flex-end;margin-top:2px}.code-block{border-radius:8px;background:var(--thesis-code-bg);margin:.5em 0;overflow:hidden}.code-block-header{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:var(--thesis-code-header);font-size:12px;color:var(--thesis-text-secondary)}.markdown-body pre{margin:0;padding:12px;overflow-x:auto;background:transparent;font-size:.85em}.markdown-body code{font-family:var(--thesis-mono);font-size:.9em}.markdown-body pre code{background:transparent!important;padding:0;font-size:1em}.markdown-body :not(pre)>code{background:var(--thesis-fill-tertiary);padding:.1em .35em;border-radius:4px}.markdown-body blockquote{border-left:3px solid var(--thesis-border);margin:.5em 0;padding-left:.8em;color:var(--thesis-text-secondary)}.markdown-body a{color:var(--thesis-accent)}.markdown-body img{max-width:100%}.markdown-body .hljs{background:transparent;color:inherit}:root.dark .markdown-body .hljs{color:#e6edf3}:root.dark .markdown-body .hljs-keyword,:root.dark .markdown-body .hljs-selector-tag{color:#ff7b72}:root.dark .markdown-body .hljs-string,:root.dark .markdown-body .hljs-attr{color:#a5d6ff}:root.dark .markdown-body .hljs-number,:root.dark .markdown-body .hljs-literal{color:#79c0ff}:root.dark .markdown-body .hljs-comment{color:#8b949e}:root.dark .markdown-body .hljs-title,:root.dark .markdown-body .hljs-function{color:#d2a8ff}.chart-placeholder{display:flex;align-items:center;gap:6px;color:var(--thesis-text-secondary);font-size:15px;margin:.3rem 0}iframe[data-testid=chart-iframe]{display:block;margin:.4rem 0}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub
  Description: Light theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-light
  Current colors taken from GitHub's CSS
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.session-sidebar{display:flex;flex-direction:column;height:100%;background:var(--thesis-sidebar);color:var(--thesis-text)}.session-sidebar header{display:flex;align-items:center;justify-content:space-between;padding:10px 8px 6px 16px}.session-sidebar-title{font-size:22px}.session-sidebar .sidebar-actions{display:flex;gap:2px}.session-toolbar{display:flex;flex-direction:column;gap:8px;padding:2px 12px 10px}.session-new-chat{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px 8px 12px;border:none;border-radius:10px;background:var(--thesis-accent);color:#fff;font-weight:600;font-size:14px;box-shadow:0 1px 2px #2666a64d;transition:background-color .15s ease,transform .1s ease}.session-new-chat:hover{background:var(--thesis-accent-deep)}.session-new-chat:active{transform:translateY(1px)}.session-new-chat span{flex:1;text-align:left}.session-new-chat kbd{border-color:#ffffff40;background:#ffffff24;color:#ffffffd9}.app-shell--compact .session-new-chat kbd{display:none}.session-search{display:flex;align-items:center;gap:6px;padding:0 8px;height:32px;border-radius:8px;background:var(--thesis-fill-quaternary);color:var(--thesis-text-secondary)}.session-search:focus-within{background:var(--thesis-surface);box-shadow:inset 0 0 0 1.5px var(--thesis-accent);color:var(--thesis-accent)}.session-search input{flex:1;min-width:0;border:none;background:transparent;outline:none;font-size:13px;color:var(--thesis-text)}.session-search input::placeholder{color:var(--thesis-text-tertiary)}.session-search input::-webkit-search-cancel-button{cursor:pointer}.session-filter-count{font-size:11px;color:var(--thesis-text-tertiary);padding:8px 8px 0}.session-list{flex:1;overflow-y:auto;padding:0 8px 8px}.session-section-title{position:sticky;top:0;z-index:1;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--thesis-text-tertiary);padding:12px 8px 4px;background:linear-gradient(var(--thesis-sidebar) 80%,transparent)}.session-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;color:var(--thesis-text-secondary);padding:0 24px 60px}.session-empty strong{color:var(--thesis-text);font-size:16px;margin-top:8px}.session-empty p{margin:0 0 8px;font-size:13px;line-height:1.4}.session-empty-icon{color:var(--thesis-text-tertiary)}.session-row{display:flex;align-items:flex-start;gap:0;padding:6px 8px;border-radius:8px;cursor:pointer;position:relative}.session-row:hover{background:var(--thesis-hover)}.session-row.selected{background:var(--thesis-selected)}.session-row.selected .title{font-weight:500}.session-row.selected:before{content:"";position:absolute;left:0;top:50%;width:3px;height:28px;margin-top:-14px;border-radius:1.5px;background:var(--thesis-accent)}.session-row .status-slot{width:12px;flex:0 0 12px;margin-right:8px;padding-top:5px;display:flex;justify-content:center}.session-row .spinner{border-top-color:var(--thesis-accent)}.session-row .unread-dot{width:8px;height:8px;border-radius:50%;background:var(--thesis-accent);margin-top:1px}.session-domain-icon{color:var(--thesis-text-secondary);margin:2px 6px 0 0}.session-row .body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.session-row .title{font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.session-row .meta{font-size:12px;color:var(--thesis-text-tertiary);display:flex;flex-wrap:wrap;gap:2px 8px}.session-row .meta .domain{color:var(--thesis-accent)}.session-row .delete-btn{border:none;background:transparent;color:var(--thesis-text-secondary);cursor:pointer;padding:2px;margin-top:2px;opacity:0;border-radius:4px;display:inline-flex}.session-row:hover .delete-btn,.session-row.selected .delete-btn,.session-row:focus-within .delete-btn{opacity:1}.session-row .delete-btn:hover{color:var(--thesis-error);background:var(--thesis-hover)}.session-actionbar{display:flex;align-items:center;gap:4px;padding:8px 12px;border-top:1px solid var(--thesis-border-soft);background:var(--thesis-surface)}.session-actionbar-spacer{flex:1}.session-count{font-size:12px;color:var(--thesis-text-tertiary);padding-right:6px}.settings-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.settings-sheet{position:relative;background:var(--thesis-bg);color:var(--thesis-text);border-radius:14px;width:min(520px,94vw);max-height:90vh;overflow:auto;padding:0 20px 20px;box-shadow:0 10px 40px #0000004d}@media (max-width: 760px){.settings-sheet{width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0}}.settings-titlebar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:14px 0 10px;margin-bottom:4px;background:var(--thesis-bg);z-index:1}.settings-titlebar h2{margin:0;font-size:17px;font-weight:600}.settings-done{border:none;background:transparent;color:var(--thesis-accent);font-weight:600;font-size:15px;padding:4px 0}.settings-section{margin-bottom:22px}.settings-section h3{display:flex;align-items:center;gap:6px;margin:0 0 6px 16px;font-size:13px;font-weight:400;text-transform:uppercase;letter-spacing:.02em;color:var(--thesis-text-secondary)}.settings-group{background:var(--thesis-surface);border-radius:10px;overflow:hidden}:root.dark .settings-group{background:var(--thesis-bubble)}.settings-row{display:flex;gap:12px;align-items:center;min-height:44px;padding:8px 16px;font-size:15px}.settings-row+.settings-row{border-top:1px solid var(--thesis-border-soft)}.settings-row--text{display:block}.settings-label{flex:1}.settings-value{color:var(--thesis-text-secondary);font-size:14px}.settings-help{font-size:13px;color:var(--thesis-text-secondary);margin:0}.settings-profile{margin:0;font-size:15px;white-space:pre-wrap;-webkit-user-select:text;user-select:text}.settings-error{color:var(--thesis-error);font-size:13px}.settings-input{flex:1.6;padding:6px 10px;border:1px solid var(--thesis-border-soft);border-radius:6px;background:var(--thesis-fill-quaternary);color:var(--thesis-text);font-size:14px;min-width:0}.settings-link{border:none;background:transparent;padding:0;color:var(--thesis-accent);font-size:15px;text-align:left}.settings-link:hover{text-decoration:underline}.settings-link--danger{color:var(--thesis-error)}.settings-help-btn{border:none;background:transparent;padding:2px;color:var(--thesis-text-secondary);display:inline-flex}.settings-help-btn:hover{color:var(--thesis-accent)}.settings-popover{margin:0 0 8px 16px;padding:12px;max-width:320px;border-radius:10px;background:var(--thesis-surface);box-shadow:0 4px 20px #00000026;font-size:13px}:root.dark .settings-popover{background:var(--thesis-bubble)}.settings-popover strong{display:block;margin-bottom:4px;font-size:14px}.settings-popover p{margin:4px 0}.settings-popover ul{margin:4px 0;padding-left:18px}.settings-connection-body{flex:1;display:flex;flex-direction:column;gap:2px}.settings-connection-head{display:flex;align-items:center;gap:8px}.settings-badge{font-size:12px;padding:2px 6px;border-radius:999px}.settings-badge--trade{background:#22c55e33}.settings-badge--read{background:#6b728033}.segmented{display:inline-flex;padding:2px;border-radius:8px;background:var(--thesis-fill-tertiary)}.segmented label{padding:4px 12px;border-radius:6px;font-size:13px;cursor:pointer;color:var(--thesis-text-secondary)}.segmented label.active{background:var(--thesis-surface);color:var(--thesis-text);box-shadow:0 1px 3px #00000026}.segmented input{position:absolute;opacity:0;width:0;height:0}.app-shell{display:flex;height:100vh;height:100dvh;overflow:hidden;background:var(--thesis-bg)}.app-sidebar{width:280px;min-width:220px;max-width:400px;flex:0 0 auto;height:100%;border-right:1px solid var(--thesis-border-soft);background:var(--thesis-sidebar)}.app-main{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;position:relative}.app-topbar{display:flex;align-items:center;justify-content:space-between;padding:4px 8px;background:var(--thesis-bar);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--thesis-border-soft)}.app-topbar-title{flex:1;min-width:0;text-align:center;font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px}.app-topbar-title.display{font-size:19px}.app-topbar-menu{position:relative}.app-topbar-unread{position:absolute;top:7px;right:7px;width:8px;height:8px;border-radius:50%;background:var(--thesis-accent);box-shadow:0 0 0 2px var(--thesis-bar)}.disconnected-banner{display:flex;align-items:center;justify-content:center;gap:6px;padding:6px;font-size:12px;font-weight:500;background:var(--thesis-error-banner);animation:banner-in .2s ease-out}@keyframes banner-in{0%{transform:translateY(-100%);opacity:0}to{transform:none;opacity:1}}.app-shell--compact .app-sidebar{position:fixed;top:0;bottom:0;left:0;width:min(300px,80vw);z-index:900;transform:translate(-100%);transition:transform .25s ease-out;border-right:none;box-shadow:0 0 40px #00000040}.app-shell--compact.app-shell--drawer-open .app-sidebar{transform:none}.app-drawer-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000026;z-index:850}@media (prefers-reduced-motion: reduce){.app-shell--compact .app-sidebar{transition:none}.disconnected-banner{animation:none}}:root{--thesis-accent: #388fc7;--thesis-accent-deep: #2666a6;--thesis-accent-subtle: rgba(56, 143, 199, .08);--thesis-accent-chip: rgba(56, 143, 199, .12);--thesis-accent-chip-hover: rgba(56, 143, 199, .2);--thesis-selected: rgba(56, 143, 199, .12);--thesis-user-bubble: linear-gradient(135deg, #388fc7, #2666a6);--thesis-bg: #f4f6fa;--thesis-surface: #ffffff;--thesis-bubble: #ffffff;--thesis-sidebar: #eef1f6;--thesis-bar: rgba(244, 246, 250, .86);--thesis-border: #c7c7c7;--thesis-border-soft: rgba(28, 28, 30, .08);--thesis-hairline: rgba(28, 28, 30, .06);--thesis-fill-quaternary: rgba(120, 120, 128, .08);--thesis-fill-tertiary: rgba(120, 120, 128, .12);--thesis-hover: rgba(120, 120, 128, .1);--thesis-shadow-card: 0 1px 2px rgba(20, 30, 50, .04), 0 1px 0 rgba(20, 30, 50, .02);--thesis-shadow-float: 0 6px 20px rgba(20, 30, 50, .14);--thesis-text: #1c1c1e;--thesis-text-secondary: rgba(60, 60, 67, .62);--thesis-text-tertiary: rgba(60, 60, 67, .32);--thesis-text-muted: var(--thesis-text-secondary);--thesis-success: #33b366;--thesis-error: #d94040;--thesis-error-subtle: rgba(217, 64, 64, .08);--thesis-error-banner: rgba(217, 64, 64, .15);--thesis-code-bg: rgba(120, 120, 128, .07);--thesis-code-header: rgba(120, 120, 128, .06);--thesis-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;--thesis-display: "New York", "Iowan Old Style", Charter, "Palatino Linotype", Georgia, serif;--thesis-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;--thesis-radius-bubble: 14px;--thesis-radius-user: 18px;--thesis-text-scale: 1;color-scheme:light}:root[data-text-size=small]{--thesis-text-scale: .92}:root[data-text-size=large]{--thesis-text-scale: 1.12}:root[data-text-size=xlarge]{--thesis-text-scale: 1.25}:root.dark{--thesis-bg: #111623;--thesis-surface: #1a2030;--thesis-bubble: #181e2c;--thesis-sidebar: #151a27;--thesis-bar: rgba(17, 22, 35, .86);--thesis-border: #333847;--thesis-border-soft: rgba(255, 255, 255, .08);--thesis-hairline: rgba(255, 255, 255, .07);--thesis-fill-quaternary: rgba(120, 120, 128, .18);--thesis-fill-tertiary: rgba(120, 120, 128, .24);--thesis-hover: rgba(120, 120, 128, .2);--thesis-shadow-card: 0 1px 2px rgba(0, 0, 0, .3);--thesis-shadow-float: 0 8px 24px rgba(0, 0, 0, .45);--thesis-text: #f2f2f7;--thesis-text-secondary: rgba(235, 235, 245, .62);--thesis-text-tertiary: rgba(235, 235, 245, .32);--thesis-text-muted: var(--thesis-text-secondary);--thesis-code-bg: rgba(120, 120, 128, .16);--thesis-code-header: rgba(120, 120, 128, .12);color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;background:var(--thesis-bg);color:var(--thesis-text);font-family:var(--thesis-font);font-size:calc(15px * var(--thesis-text-scale));line-height:1.45;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}.display{font-family:var(--thesis-display);font-weight:600;letter-spacing:-.01em;font-variant-numeric:normal}button,input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--thesis-accent);outline-offset:2px;border-radius:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--thesis-text-secondary)}.icon-button:hover{background:var(--thesis-hover);color:var(--thesis-text)}.icon-button--danger{color:#d94040b3}.icon-button--danger:hover{color:var(--thesis-error)}.icon-button--accent{color:var(--thesis-accent)}.spinner{display:inline-block;width:14px;height:14px;border:2px solid var(--thesis-text-tertiary);border-top-color:var(--thesis-text-secondary);border-radius:50%;animation:spin .8s linear infinite;flex:0 0 auto}.spinner--small{width:10px;height:10px}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spinner{animation:none}}.app-splash{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--thesis-accent)}.app-splash h1{margin:0;font-family:var(--thesis-display);font-size:26px;font-weight:600;letter-spacing:-.01em;color:var(--thesis-text)}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:none;border-radius:999px;background:var(--thesis-fill-quaternary);color:var(--thesis-text-secondary);font-size:12px}.pill:hover{background:var(--thesis-fill-tertiary);color:var(--thesis-text)}.pill,.btn,.icon-button{transition:background-color .15s ease,color .15s ease}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 14px;border-radius:8px;border:none;background:var(--thesis-fill-tertiary);color:var(--thesis-text);font-weight:500}.btn:hover{background:var(--thesis-hover)}.btn--small{padding:4px 10px;font-size:13px}.btn--prominent{background:var(--thesis-accent);color:#fff}.btn--prominent:hover{background:var(--thesis-accent-deep)}.btn--danger{color:var(--thesis-error)}.btn--danger.btn--prominent{background:var(--thesis-error);color:#fff}.btn:disabled{opacity:.5}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1100}.dialog{background:var(--thesis-surface);color:var(--thesis-text);border-radius:14px;width:min(360px,92vw);padding:20px;box-shadow:0 10px 40px #0000004d;text-align:center}.dialog h3{margin:0 0 6px;font-size:16px;font-weight:600}.dialog p{margin:0 0 16px;font-size:13px;color:var(--thesis-text-secondary)}.dialog .dialog-actions{display:flex;gap:8px;justify-content:center}kbd{font-family:var(--thesis-font);font-size:.85em;padding:0 4px;border-radius:4px;border:1px solid var(--thesis-border-soft);background:var(--thesis-fill-quaternary);color:var(--thesis-text-secondary)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
