.context-metrics.svelte-mqg4wg{position:relative;flex-shrink:0}.metrics-trigger.svelte-mqg4wg{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-primary);color:var(--text-tertiary);font-size:11px;cursor:pointer;transition:color .15s,border-color .15s}.metrics-trigger.svelte-mqg4wg:hover{color:var(--text-secondary);border-color:var(--text-tertiary)}.usage-bar-container.svelte-mqg4wg{width:40px;height:3px;background:var(--bg-tertiary);border-radius:2px;overflow:hidden}.usage-bar-fill.svelte-mqg4wg{height:100%;background:var(--accent-primary);border-radius:2px;transition:width .3s ease}.usage-high.svelte-mqg4wg{background:var(--warning, #f59e0b)}.usage-critical.svelte-mqg4wg{background:var(--error, #ef4444)}.usage-label.svelte-mqg4wg{font-variant-numeric:tabular-nums;white-space:nowrap}.horizon-badge.svelte-mqg4wg{padding:0 4px;background:var(--bg-tertiary);border-radius:var(--radius-sm);font-size:10px}.chevron.svelte-mqg4wg{width:10px;height:10px;transition:transform .2s ease;flex-shrink:0}.chevron.open.svelte-mqg4wg{transform:rotate(180deg)}.metrics-dropdown.svelte-mqg4wg{position:absolute;top:calc(100% + 6px);right:0;width:240px;padding:var(--space-2) var(--space-3);background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:0 4px 12px #00000026;z-index:50;display:flex;flex-direction:column;gap:4px}.dropdown-header.svelte-mqg4wg{font-size:11px;font-weight:600;color:var(--text-secondary);padding-bottom:4px;border-bottom:1px solid var(--border);margin-bottom:2px}.detail-row.svelte-mqg4wg{display:flex;justify-content:space-between;font-size:11px;color:var(--text-secondary);padding:1px 0}.detail-label.svelte-mqg4wg{color:var(--text-tertiary)}.detail-value.svelte-mqg4wg{font-variant-numeric:tabular-nums}.detail-total.svelte-mqg4wg{padding-top:4px;margin-top:2px;border-top:1px solid var(--border);font-weight:500}.horizon-info.svelte-mqg4wg{font-size:10px;color:var(--text-tertiary);padding-top:4px;margin-top:2px;border-top:1px solid var(--border)}.summary-badge.svelte-mqg4wg{display:inline-block;padding:0 4px;background:#6366f126;color:var(--accent-primary);border-radius:var(--radius-sm);font-size:9px;margin-left:4px}.injection-section.svelte-mqg4wg{padding-top:4px;margin-top:2px;border-top:1px solid var(--border)}.injection-title.svelte-mqg4wg{font-size:10px;color:var(--text-tertiary)}.injection-chips.svelte-mqg4wg{display:flex;flex-wrap:wrap;gap:3px;margin-top:3px}.injection-chip.svelte-mqg4wg{padding:0 5px;font-size:10px;background:var(--bg-tertiary);border-radius:var(--radius-sm);color:var(--text-secondary)}@media(max-width:640px){.horizon-badge.svelte-mqg4wg{display:none}.metrics-dropdown.svelte-mqg4wg{right:-8px;width:220px}}.thinking-block.svelte-hdl1x0{margin-top:var(--space-3);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.thinking-header.svelte-hdl1x0{display:flex;align-items:center;gap:var(--space-2);width:100%;padding:var(--space-2) var(--space-3);background:var(--bg-tertiary);border:none;color:var(--text-secondary);font-size:var(--text-sm);cursor:pointer;transition:all var(--transition-fast)}.thinking-header.svelte-hdl1x0:hover{background:var(--bg-hover)}.thinking-icon.svelte-hdl1x0{width:16px;height:16px;display:flex;align-items:center;justify-content:center}.thinking-icon.svelte-hdl1x0 svg:where(.svelte-hdl1x0){width:100%;height:100%}.thinking-spinner.svelte-hdl1x0{width:12px;height:12px;border:2px solid var(--border);border-top-color:var(--accent-primary);border-radius:50%;animation:svelte-hdl1x0-spin .8s linear infinite}.thinking-label.svelte-hdl1x0{flex:1;text-align:left}.chevron.svelte-hdl1x0{width:14px;height:14px;transition:transform var(--transition-fast)}.expanded.svelte-hdl1x0 .chevron:where(.svelte-hdl1x0){transform:rotate(180deg)}.thinking-content.svelte-hdl1x0{padding:var(--space-3);background:var(--bg-secondary);border-top:1px solid var(--border)}.thinking-content.svelte-hdl1x0 pre:where(.svelte-hdl1x0){margin:0;font-family:var(--font-mono);font-size:var(--text-sm);color:var(--text-secondary);white-space:pre-wrap;word-wrap:break-word;line-height:1.5}@keyframes svelte-hdl1x0-spin{to{transform:rotate(360deg)}}.tool-pills.svelte-ny3zb1{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3)}.tool-container.svelte-ny3zb1{display:flex;flex-direction:column}.tool-pill.svelte-ny3zb1{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:500;border:none;cursor:pointer;transition:all var(--transition-fast)}.tool-pill.svelte-ny3zb1 svg:where(.svelte-ny3zb1){width:12px;height:12px;transition:transform var(--transition-fast)}.tool-purple.svelte-ny3zb1{background:#a855f726;color:#a855f7}.tool-blue.svelte-ny3zb1{background:#3b82f626;color:#3b82f6}.tool-green.svelte-ny3zb1{background:#22c55e26;color:#22c55e}.tool-orange.svelte-ny3zb1{background:#f9731626;color:#f97316}.tool-pink.svelte-ny3zb1{background:#ec489926;color:#ec4899}.tool-yellow.svelte-ny3zb1{background:#eab30826;color:#eab308}.tool-indigo.svelte-ny3zb1{background:#6366f126;color:#6366f1}.tool-teal.svelte-ny3zb1{background:#14b8a626;color:#14b8a6}.tool-red.svelte-ny3zb1{background:#ef444426;color:#ef4444}.tool-amber.svelte-ny3zb1{background:#f59e0b26;color:#f59e0b}.tool-gray.svelte-ny3zb1{background:#6b728026;color:#6b7280}.tool-pill.svelte-ny3zb1:hover{filter:brightness(1.1)}.tool-details.svelte-ny3zb1{margin-top:var(--space-2);padding:var(--space-2);background:var(--bg-tertiary);border-radius:var(--radius-md);font-size:var(--text-xs)}.tool-section.svelte-ny3zb1{margin-bottom:var(--space-2)}.tool-section.svelte-ny3zb1:last-child{margin-bottom:0}.section-label.svelte-ny3zb1{display:block;margin-bottom:var(--space-1);font-weight:600;color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.05em}.tool-details.svelte-ny3zb1 pre:where(.svelte-ny3zb1){margin:0;font-family:var(--font-mono);font-size:var(--text-xs);color:var(--text-secondary);white-space:pre-wrap;word-wrap:break-word}.tool-confirmation.svelte-1bjwe94{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--text-sm);border-left:3px solid}.confirmation-header.svelte-1bjwe94{display:flex;align-items:center;gap:var(--space-2)}.icon.svelte-1bjwe94{width:16px;height:16px;flex-shrink:0}.icon.check.svelte-1bjwe94{color:var(--success)}.icon.x.svelte-1bjwe94{color:var(--error)}.confirmation-title.svelte-1bjwe94{font-weight:500;text-transform:capitalize}.confirmation-value.svelte-1bjwe94{color:var(--text-primary);font-style:italic;padding-left:calc(16px + var(--space-2))}.confirmation-details.svelte-1bjwe94{display:flex;flex-wrap:wrap;gap:var(--space-2);padding-left:calc(16px + var(--space-2))}.detail.svelte-1bjwe94{font-size:var(--text-xs);color:var(--text-tertiary)}.detail.svelte-1bjwe94:not(:last-child):after{content:"|";margin-left:var(--space-2);opacity:.5}.confirmation-error.svelte-1bjwe94{font-size:var(--text-xs);color:var(--error);padding-left:calc(16px + var(--space-2))}.confirmation-green.svelte-1bjwe94{background:#22c55e14;border-color:#22c55e66}.confirmation-green.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#22c55e}.confirmation-purple.svelte-1bjwe94{background:#a855f714;border-color:#a855f766}.confirmation-purple.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#a855f7}.confirmation-yellow.svelte-1bjwe94{background:#eab30814;border-color:#eab30866}.confirmation-yellow.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#eab308}.confirmation-pink.svelte-1bjwe94{background:#ec489914;border-color:#ec489966}.confirmation-pink.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#ec4899}.confirmation-indigo.svelte-1bjwe94{background:#6366f114;border-color:#6366f166}.confirmation-indigo.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#6366f1}.confirmation-teal.svelte-1bjwe94{background:#14b8a614;border-color:#14b8a666}.confirmation-teal.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#14b8a6}.confirmation-orange.svelte-1bjwe94{background:#f9731614;border-color:#f9731666}.confirmation-orange.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#f97316}.confirmation-blue.svelte-1bjwe94{background:#3b82f614;border-color:#3b82f666}.confirmation-blue.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:#3b82f6}.error.svelte-1bjwe94{background:#ef444414;border-color:#ef444466}.error.svelte-1bjwe94 .confirmation-title:where(.svelte-1bjwe94){color:var(--error)}.message.svelte-9857sk{position:relative;max-width:85%;animation:svelte-9857sk-message-in .3s cubic-bezier(.34,1.56,.64,1)}.message-user.svelte-9857sk{align-self:flex-end;margin-left:auto;width:-moz-fit-content;width:fit-content}.message-user.svelte-9857sk .message-content:where(.svelte-9857sk){background:var(--accent-primary);color:var(--bg-primary);padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-sm);-webkit-user-select:text;-moz-user-select:text;user-select:text}.message-user.svelte-9857sk .message-content:where(.svelte-9857sk) :where(.svelte-9857sk)::-moz-selection,.message-user.svelte-9857sk .message-content:where(.svelte-9857sk)::-moz-selection{background:#ffffff59;color:inherit}.message-user.svelte-9857sk .message-content:where(.svelte-9857sk) :where(.svelte-9857sk)::selection,.message-user.svelte-9857sk .message-content:where(.svelte-9857sk)::selection{background:#ffffff59;color:inherit}.message-assistant.svelte-9857sk{align-self:flex-start}.message-assistant.svelte-9857sk .message-content:where(.svelte-9857sk){background:var(--bg-secondary);color:var(--text-primary);padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-sm)}.message-system.svelte-9857sk{align-self:center;max-width:90%}.message-system.svelte-9857sk .message-content:where(.svelte-9857sk){background:var(--bg-tertiary);color:var(--text-secondary);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--text-sm);text-align:center}.model-change.svelte-9857sk{display:flex;align-items:center;justify-content:center;gap:var(--space-2);padding:var(--space-2);color:var(--accent-primary);font-size:var(--text-sm)}.model-change.svelte-9857sk svg:where(.svelte-9857sk){width:14px;height:14px}.message-content.svelte-9857sk{line-height:1.5;word-wrap:break-word;-webkit-user-select:text;-moz-user-select:text;user-select:text;cursor:text}.message-assistant.svelte-9857sk .message-content:where(.svelte-9857sk) :where(.svelte-9857sk)::-moz-selection,.message-assistant.svelte-9857sk .message-content:where(.svelte-9857sk)::-moz-selection{background:var(--accent-primary);color:var(--bg-primary)}.message-assistant.svelte-9857sk .message-content:where(.svelte-9857sk) :where(.svelte-9857sk)::selection,.message-assistant.svelte-9857sk .message-content:where(.svelte-9857sk)::selection{background:var(--accent-primary);color:var(--bg-primary)}.user-actions.svelte-9857sk{display:flex;justify-content:flex-end;gap:var(--space-1);margin-top:var(--space-1);opacity:0;transition:opacity var(--transition-fast)}.message.svelte-9857sk:hover .user-actions:where(.svelte-9857sk){opacity:1}.action-btn.svelte-9857sk,.meta-btn.svelte-9857sk{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;background:transparent;border:none;border-radius:var(--radius-full);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast);-webkit-tap-highlight-color:transparent;touch-action:manipulation}.action-btn.svelte-9857sk:hover,.meta-btn.svelte-9857sk:hover{background:var(--bg-hover);color:var(--accent-primary)}.meta-btn.playing.svelte-9857sk{color:var(--accent-primary);animation:svelte-9857sk-pulse 1.5s ease-in-out infinite}.message-meta.svelte-9857sk{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-1);font-size:var(--text-xs);color:var(--text-tertiary)}.message-meta.svelte-9857sk .meta-btn:where(.svelte-9857sk):first-of-type{margin-left:auto}.user-meta.svelte-9857sk{justify-content:flex-end}@keyframes svelte-9857sk-pulse{0%,to{opacity:1}50%{opacity:.5}}.cost-tokens.svelte-9857sk{opacity:.7;cursor:default;white-space:pre-line}.cost-tokens.svelte-9857sk .sep:where(.svelte-9857sk){display:inline-block;margin:0 4px;opacity:.5}.model.svelte-9857sk{padding:var(--space-1) var(--space-2);background:var(--bg-tertiary);border-radius:var(--radius-sm)}.typing-indicator.svelte-9857sk{display:flex;align-items:center;gap:4px;padding:4px 0}.typing-indicator.svelte-9857sk .dot:where(.svelte-9857sk){width:6px;height:6px;border-radius:50%;background:var(--text-tertiary);animation:svelte-9857sk-typing-bounce 1.4s ease-in-out infinite}.typing-indicator.svelte-9857sk .dot:where(.svelte-9857sk):nth-child(1){animation-delay:0s}.typing-indicator.svelte-9857sk .dot:where(.svelte-9857sk):nth-child(2){animation-delay:.2s}.typing-indicator.svelte-9857sk .dot:where(.svelte-9857sk):nth-child(3){animation-delay:.4s}@keyframes svelte-9857sk-typing-bounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}.cursor.svelte-9857sk{display:inline-block;width:2px;height:1em;background:currentColor;margin-left:2px;animation:svelte-9857sk-blink 1s step-end infinite;vertical-align:text-bottom}@keyframes svelte-9857sk-message-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes svelte-9857sk-blink{50%{opacity:0}}.tool-confirmations.svelte-9857sk{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-3)}.message-attachments.svelte-9857sk{margin-bottom:var(--space-2)}.image-attachments.svelte-9857sk{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.image-attachment.svelte-9857sk{display:block;max-width:240px;border-radius:var(--radius-md);overflow:hidden;transition:transform var(--transition-fast)}.image-attachment.svelte-9857sk:hover{transform:scale(1.02)}.image-attachment.svelte-9857sk img:where(.svelte-9857sk){display:block;width:100%;height:auto;max-height:320px;-o-object-fit:cover;object-fit:cover}.file-attachments.svelte-9857sk{display:flex;flex-direction:column;gap:var(--space-1)}.file-attachment.svelte-9857sk{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:#0000001a;border-radius:var(--radius-md);color:inherit;text-decoration:none;font-size:var(--text-sm);transition:background var(--transition-fast)}.file-attachment.svelte-9857sk:hover{background:#0003}.file-attachment.svelte-9857sk svg:where(.svelte-9857sk){width:16px;height:16px;flex-shrink:0}.file-attachment.svelte-9857sk .filename:where(.svelte-9857sk){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.message-out-of-context.svelte-9857sk{opacity:.45;filter:saturate(.7);transition:opacity .3s ease,filter .3s ease}.message-out-of-context.svelte-9857sk:hover{opacity:.7;filter:saturate(.85)}.pin-context-btn.svelte-9857sk{position:absolute;top:var(--space-2);right:var(--space-2);opacity:0;z-index:1;transition:opacity .2s ease}.message.svelte-9857sk:hover .pin-context-btn:where(.svelte-9857sk),.pin-context-btn.pinned.svelte-9857sk{opacity:1}.pin-context-btn.pinned.svelte-9857sk{color:var(--accent-primary)}.horizon-divider.svelte-1jyrudg{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) 0;margin:var(--space-2) 0}.horizon-line.svelte-1jyrudg{flex:1;height:1px;background:var(--border);opacity:.6}.horizon-label.svelte-1jyrudg{font-size:var(--text-xs);color:var(--text-tertiary);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.horizon-summary-badge.svelte-1jyrudg{display:inline-block;padding:1px 6px;margin-left:4px;font-size:10px;background:var(--bg-hover);border-radius:var(--radius-sm);color:var(--accent-primary)}@media(max-width:640px){.horizon-label.svelte-1jyrudg{white-space:normal;text-align:center}}.message-list.svelte-26wxji{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:var(--space-4)}.empty-state.svelte-26wxji{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;color:var(--text-tertiary)}.empty-state.svelte-26wxji svg:where(.svelte-26wxji){width:64px;height:64px;margin-bottom:var(--space-4);opacity:.5}.empty-state.svelte-26wxji p:where(.svelte-26wxji){font-size:var(--text-lg);font-weight:500;margin:0 0 var(--space-2);color:var(--text-secondary)}.empty-state.svelte-26wxji span:where(.svelte-26wxji){font-size:var(--text-sm)}.messages.svelte-26wxji{display:flex;flex-direction:column;gap:var(--space-4);max-width:800px;margin:0 auto}.voice-wrapper.svelte-tr25j9{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}.duration-badge.svelte-tr25j9{font-size:12px;font-variant-numeric:tabular-nums;color:var(--error);font-weight:600;min-width:28px;text-align:right;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chunk-count.svelte-tr25j9{font-size:10px;opacity:.7}.voice-btn.svelte-tr25j9{width:40px;height:40px;padding:8px;background:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);display:flex;align-items:center;justify-content:center;flex-shrink:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.voice-btn.svelte-tr25j9:hover:not(:disabled){background:var(--bg-hover);color:var(--text-primary)}.voice-btn.svelte-tr25j9:disabled{opacity:.5;cursor:not-allowed}.voice-btn.recording.svelte-tr25j9{background:var(--error);border-color:var(--error);color:#fff;animation:svelte-tr25j9-recording-pulse 1s ease-in-out infinite}.voice-btn.transcribing.svelte-tr25j9{background:var(--accent-primary);border-color:var(--accent-primary);color:#fff}.voice-btn.svelte-tr25j9 svg:where(.svelte-tr25j9){width:100%;height:100%}.spinner.svelte-tr25j9{animation:svelte-tr25j9-spin 1s linear infinite}@keyframes svelte-tr25j9-spin{to{transform:rotate(360deg)}}@keyframes svelte-tr25j9-recording-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.debug-overlay.svelte-tr25j9{position:fixed;bottom:80px;left:8px;right:8px;max-height:50vh;background:#000000eb;border:1px solid #444;border-radius:8px;z-index:9999;font-family:SF Mono,Menlo,monospace;font-size:11px;overflow:hidden;display:flex;flex-direction:column}.debug-header.svelte-tr25j9{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:#ffffff14;color:#aaa;font-weight:600;font-size:12px}.debug-close.svelte-tr25j9{background:none;border:none;color:#888;font-size:16px;cursor:pointer;padding:0 4px;line-height:1}.debug-lines.svelte-tr25j9{overflow-y:auto;padding:6px 10px;max-height:45vh}.debug-line.svelte-tr25j9{color:#0f0;line-height:1.5;white-space:pre-wrap;word-break:break-all}.debug-error.svelte-tr25j9{color:#f44;font-weight:600}.debug-warn.svelte-tr25j9{color:#fa0}.backdrop.svelte-1ma5b62{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;border:none;padding:0;cursor:default;z-index:49}.menu-pill.svelte-1ma5b62{position:absolute;bottom:100%;left:0;margin-bottom:8px;display:flex;flex-direction:column-reverse;gap:2px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-lg);padding:4px;box-shadow:0 4px 16px #0000001f;z-index:50;transform-origin:bottom center;animation:svelte-1ma5b62-menu-slide-up .18s ease-out forwards}@keyframes svelte-1ma5b62-menu-slide-up{0%{opacity:0;transform:translateY(8px) scaleY(.9)}to{opacity:1;transform:translateY(0) scaleY(1)}}.menu-item.svelte-1ma5b62{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--radius-md);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);flex-shrink:0;opacity:0;animation:svelte-1ma5b62-item-fade-in .15s ease-out forwards}@keyframes svelte-1ma5b62-item-fade-in{to{opacity:1}}.menu-item.svelte-1ma5b62:hover{background:var(--bg-hover);color:var(--text-primary)}.menu-item.highlight.svelte-1ma5b62{background:var(--accent-primary);color:var(--bg-primary)}.menu-item.highlight.svelte-1ma5b62:hover{opacity:.9}.menu-item.active-privacy.svelte-1ma5b62{background:#fbbf2426;color:var(--warning)}.menu-item.active-privacy.svelte-1ma5b62:hover{background:#fbbf2440}.menu-item.active-autosend.svelte-1ma5b62{background:#34d39926;color:var(--success, #34d399)}.menu-item.active-autosend.svelte-1ma5b62:hover{background:#34d39940}.menu-item.svelte-1ma5b62 svg:where(.svelte-1ma5b62){width:18px;height:18px}.file-attachment.svelte-165x72k{position:relative;display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius);max-width:280px;overflow:hidden}.file-attachment.small.svelte-165x72k{padding:4px 8px;gap:6px;max-width:200px}.file-attachment.large.svelte-165x72k{padding:12px 16px;max-width:360px}.file-attachment.uploading.svelte-165x72k{opacity:.7}.file-attachment.error.svelte-165x72k{border-color:var(--error);background:#ef44441a}.image-preview.svelte-165x72k{width:48px;height:48px;border-radius:var(--radius-sm);overflow:hidden;flex-shrink:0}.small.svelte-165x72k .image-preview:where(.svelte-165x72k){width:32px;height:32px}.large.svelte-165x72k .image-preview:where(.svelte-165x72k){width:64px;height:64px}.image-preview.svelte-165x72k img:where(.svelte-165x72k){width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.file-icon.svelte-165x72k{width:48px;height:48px;border-radius:var(--radius-sm);display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;gap:2px}.small.svelte-165x72k .file-icon:where(.svelte-165x72k){width:32px;height:32px}.large.svelte-165x72k .file-icon:where(.svelte-165x72k){width:64px;height:64px}.file-icon.svelte-165x72k svg:where(.svelte-165x72k){width:24px;height:24px}.small.svelte-165x72k .file-icon:where(.svelte-165x72k) svg:where(.svelte-165x72k){width:18px;height:18px}.file-icon.pdf.svelte-165x72k{background:#ef444426;color:#ef4444}.file-icon.audio.svelte-165x72k{background:#8b5cf626;color:#8b5cf6}.file-icon.generic.svelte-165x72k{background:var(--bg-secondary);color:var(--text-secondary)}.file-type.svelte-165x72k{font-size:8px;font-weight:600;text-transform:uppercase}.small.svelte-165x72k .file-type:where(.svelte-165x72k){display:none}.file-info.svelte-165x72k{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.file-name.svelte-165x72k{font-size:13px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.small.svelte-165x72k .file-name:where(.svelte-165x72k){font-size:11px}.file-meta.svelte-165x72k{font-size:11px;color:var(--text-tertiary)}.small.svelte-165x72k .file-meta:where(.svelte-165x72k){font-size:10px}.error-text.svelte-165x72k{color:var(--error)}.upload-progress.svelte-165x72k{position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--border)}.progress-bar.svelte-165x72k{height:100%;background:var(--accent-primary);transition:width .2s ease}.remove-btn.svelte-165x72k{position:absolute;top:4px;right:4px;width:20px;height:20px;padding:3px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-full);color:var(--text-tertiary);cursor:pointer;opacity:1;transition:all var(--transition-fast)}.remove-btn.svelte-165x72k:hover{background:var(--error);border-color:var(--error);color:#fff}.remove-btn.svelte-165x72k svg:where(.svelte-165x72k){width:100%;height:100%}.hidden-file-input.svelte-1k62fay{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.message-input-container.svelte-1k62fay{padding:var(--space-4);background:var(--bg-primary);border-top:1px solid var(--border)}.message-form.svelte-1k62fay{max-width:800px;margin:0 auto}.attachments-preview.svelte-1k62fay{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-2)}.input-row.svelte-1k62fay{display:flex;align-items:center;gap:var(--space-2);background:var(--bg-secondary);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-2)}.input-row.svelte-1k62fay:focus-within{border-color:var(--accent-primary)}.options-wrapper.svelte-1k62fay{position:relative}.options-toggle.svelte-1k62fay{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--radius-md);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast);flex-shrink:0}.options-toggle.svelte-1k62fay:hover{background:var(--bg-hover);color:var(--text-secondary)}.options-toggle.active.svelte-1k62fay{color:var(--warning);background:#fbbf241a}.options-toggle.svelte-1k62fay svg:where(.svelte-1k62fay){width:20px;height:20px}textarea.svelte-1k62fay{flex:1;min-height:24px;max-height:50vh;padding:var(--space-2);font-family:inherit;font-size:var(--text-base);line-height:1.5;background:transparent;border:none;color:var(--text-primary);resize:none;overflow-y:auto}textarea.svelte-1k62fay::-moz-placeholder{color:var(--text-tertiary)}textarea.svelte-1k62fay::placeholder{color:var(--text-tertiary)}textarea.svelte-1k62fay:focus{outline:none}textarea.svelte-1k62fay:disabled{opacity:.6;cursor:not-allowed}.privacy-notice.svelte-1k62fay{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-2);padding:var(--space-2) var(--space-3);background:#fbbf241a;border-radius:var(--radius-md);font-size:var(--text-xs);color:var(--warning)}.privacy-notice.svelte-1k62fay svg:where(.svelte-1k62fay){width:14px;height:14px;flex-shrink:0}.tts-toggle.svelte-1k62fay{width:32px;height:32px;padding:0;background:transparent;border:none;border-radius:var(--radius-full);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast);display:flex;align-items:center;justify-content:center;flex-shrink:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.tts-toggle.svelte-1k62fay:hover{background:var(--bg-hover);color:var(--text-secondary)}.tts-toggle.active.svelte-1k62fay{color:var(--accent-primary)}.tts-toggle.active.svelte-1k62fay:hover{color:var(--accent-secondary)}.stop-btn.svelte-1k62fay{width:40px;height:40px;padding:8px;background:var(--error, #ef4444);border:1px solid var(--error, #ef4444);border-radius:var(--radius-full);color:#fff;cursor:pointer;transition:all var(--transition-fast);display:flex;align-items:center;justify-content:center;flex-shrink:0;animation:svelte-1k62fay-pulse-stop 2s ease-in-out infinite}.stop-btn.svelte-1k62fay:hover{opacity:.85;transform:scale(1.05)}.stop-btn.svelte-1k62fay svg:where(.svelte-1k62fay){width:16px;height:16px}@keyframes svelte-1k62fay-pulse-stop{0%,to{box-shadow:0 0 #ef444466}50%{box-shadow:0 0 0 6px #ef444400}}.send-btn.svelte-1k62fay{width:40px;height:40px;padding:8px;background:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);display:flex;align-items:center;justify-content:center;flex-shrink:0}.send-btn.svelte-1k62fay:hover:not(:disabled){background:var(--accent-primary);border-color:var(--accent-primary);color:var(--bg-primary)}.send-btn.svelte-1k62fay:disabled{opacity:.5;cursor:not-allowed}.send-btn.svelte-1k62fay svg:where(.svelte-1k62fay){width:100%;height:100%}.send-btn.uploading.svelte-1k62fay{background:var(--accent-primary);border-color:var(--accent-primary);color:#fff}.send-btn.svelte-1k62fay .spinner:where(.svelte-1k62fay){animation:svelte-1k62fay-spin 1s linear infinite}@keyframes svelte-1k62fay-spin{to{transform:rotate(360deg)}}.audio-player.svelte-1u6zz2u{background:var(--bg-secondary);border-top:1px solid var(--border);padding:0 var(--space-4) var(--space-2);animation:svelte-1u6zz2u-slideInUp .2s ease;touch-action:manipulation;flex-shrink:0}.audio-player.loading.svelte-1u6zz2u{opacity:.7}.progress-bar.svelte-1u6zz2u{position:relative;height:20px;display:flex;align-items:center;cursor:pointer;touch-action:none;padding:8px 0}.progress-bar.svelte-1u6zz2u:before{content:"";position:absolute;left:0;right:0;height:3px;background:var(--bg-tertiary);border-radius:2px}.progress-fill.svelte-1u6zz2u{position:absolute;left:0;height:3px;background:var(--accent-primary);border-radius:2px;pointer-events:none}.progress-thumb.svelte-1u6zz2u{position:absolute;width:12px;height:12px;background:var(--accent-primary);border-radius:50%;transform:translate(-50%);pointer-events:none;box-shadow:0 0 4px #0000004d}.controls-row.svelte-1u6zz2u{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.time.svelte-1u6zz2u{font-size:var(--text-xs);color:var(--text-tertiary);font-variant-numeric:tabular-nums;min-width:70px}.control-buttons.svelte-1u6zz2u{display:flex;align-items:center;gap:var(--space-1)}.control-btn.svelte-1u6zz2u{position:relative;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--radius-full);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);-webkit-tap-highlight-color:transparent;touch-action:manipulation}.control-btn.svelte-1u6zz2u:hover{background:var(--bg-hover);color:var(--text-primary)}.control-btn.svelte-1u6zz2u svg:where(.svelte-1u6zz2u){width:18px;height:18px}.play-btn.svelte-1u6zz2u{width:44px;height:44px;background:var(--accent-primary);color:var(--bg-primary)}.play-btn.svelte-1u6zz2u:hover{background:var(--accent-secondary);color:var(--bg-primary)}.play-btn.svelte-1u6zz2u svg:where(.svelte-1u6zz2u){width:20px;height:20px}.seek-label.svelte-1u6zz2u{position:absolute;font-size:8px;font-weight:700;color:inherit;bottom:4px}.right-controls.svelte-1u6zz2u{display:flex;align-items:center;gap:var(--space-1)}.speed-btn.svelte-1u6zz2u{padding:var(--space-1) var(--space-2);background:var(--bg-tertiary);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--text-secondary);font-size:var(--text-xs);font-weight:600;cursor:pointer;transition:all var(--transition-fast);font-variant-numeric:tabular-nums;min-width:40px;text-align:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.speed-btn.svelte-1u6zz2u:hover{border-color:var(--accent-primary);color:var(--accent-primary)}.stop-btn.svelte-1u6zz2u svg:where(.svelte-1u6zz2u){width:16px;height:16px}.spinner.svelte-1u6zz2u{animation:svelte-1u6zz2u-spin 1s linear infinite}.tap-notice.svelte-1u6zz2u{text-align:center;font-size:var(--text-xs);color:var(--accent-primary);padding:var(--space-1) 0}@keyframes svelte-1u6zz2u-slideInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes svelte-1u6zz2u-spin{to{transform:rotate(360deg)}}.chat-area.svelte-18yyg2s{position:relative;flex:1;display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.chat-area.drag-over.svelte-18yyg2s{outline:2px dashed var(--accent-primary);outline-offset:-4px}.drag-overlay.svelte-18yyg2s{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(var(--accent-primary-rgb, 99, 102, 241),.1);display:flex;align-items:center;justify-content:center;z-index:100;pointer-events:none}.drag-overlay-content.svelte-18yyg2s{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:var(--space-6);background:var(--bg-secondary);border:2px dashed var(--accent-primary);border-radius:var(--radius-lg);color:var(--accent-primary)}.drag-overlay-content.svelte-18yyg2s svg:where(.svelte-18yyg2s){width:48px;height:48px}.drag-overlay-content.svelte-18yyg2s span:where(.svelte-18yyg2s){font-size:var(--text-lg);font-weight:500}.chat-header.svelte-18yyg2s{display:flex;align-items:center;justify-content:space-between;padding:var(--space-2) var(--space-4);border-bottom:1px solid var(--border);background:var(--bg-secondary);gap:var(--space-3);position:relative}.header-left.svelte-18yyg2s{display:flex;align-items:center;gap:var(--space-2);min-width:0;flex:1}.chat-title.svelte-18yyg2s{font-size:var(--text-base);font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.privacy-badge.svelte-18yyg2s{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);background:#fbbf2426;color:var(--warning);border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:500;flex-shrink:0}.privacy-badge.svelte-18yyg2s svg:where(.svelte-18yyg2s){width:12px;height:12px}@media(max-width:640px){.chat-header.svelte-18yyg2s{display:none}}
