*{box-sizing:border-box}:root{font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#e2e8f0;background-color:#0a0a14;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}#app{width:100%;height:100vh}button{font-family:inherit}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#ffffff0d}::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#ffffff4d}::selection{background:#3b82f666}.chat-view.svelte-ymhpvh{display:flex;flex-direction:column;height:100%;background:#0f0f1a;border-radius:12px;overflow:hidden}.chat-header.svelte-ymhpvh{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#1a1a2e;border-bottom:1px solid rgba(255,255,255,.1)}.chat-header.svelte-ymhpvh h1:where(.svelte-ymhpvh){font-size:18px;font-weight:600;color:#e2e8f0;margin:0}.header-info.svelte-ymhpvh{display:flex;align-items:center;gap:8px;flex:1}.engine-badge.svelte-ymhpvh{font-size:11px;padding:3px 10px;border-radius:12px;color:#fff;font-weight:500}.engine-badge.auto.svelte-ymhpvh{background:#4b5563}.message-count.svelte-ymhpvh{font-size:12px;color:#64748b}.clear-btn.svelte-ymhpvh{font-size:12px;padding:6px 12px;background:#ffffff1a;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;transition:all .2s}.clear-btn.svelte-ymhpvh:hover:not(:disabled){background:#ffffff26;color:#e2e8f0}.clear-btn.svelte-ymhpvh:disabled{opacity:.5;cursor:not-allowed}.messages.svelte-ymhpvh{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px}.empty-state.svelte-ymhpvh{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b;padding:40px}.empty-icon.svelte-ymhpvh{margin-bottom:16px;opacity:.5}.empty-state.svelte-ymhpvh h2:where(.svelte-ymhpvh){font-size:18px;color:#94a3b8;margin:0 0 8px}.empty-state.svelte-ymhpvh p:where(.svelte-ymhpvh){font-size:14px;margin:0 0 24px}.engine-hints.svelte-ymhpvh{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.hint.svelte-ymhpvh{display:flex;align-items:center;gap:6px;font-size:11px;padding:4px 10px;border:1px solid;border-radius:16px;color:#94a3b8}.hint.svelte-ymhpvh .dot:where(.svelte-ymhpvh){width:6px;height:6px;border-radius:50%}.message.svelte-ymhpvh{max-width:80%}.message.user.svelte-ymhpvh{align-self:flex-end}.message.assistant.svelte-ymhpvh{align-self:flex-start}.message-meta.svelte-ymhpvh{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:11px}.engine-tag.svelte-ymhpvh{font-weight:600}.latency.svelte-ymhpvh{color:#64748b}.streaming-indicator.svelte-ymhpvh{display:flex;gap:3px}.streaming-indicator.svelte-ymhpvh .dot:where(.svelte-ymhpvh){width:4px;height:4px;background:#94a3b8;border-radius:50%;animation:svelte-ymhpvh-bounce 1.4s infinite ease-in-out both}.streaming-indicator.svelte-ymhpvh .dot:where(.svelte-ymhpvh):nth-child(1){animation-delay:-.32s}.streaming-indicator.svelte-ymhpvh .dot:where(.svelte-ymhpvh):nth-child(2){animation-delay:-.16s}@keyframes svelte-ymhpvh-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.message-content.svelte-ymhpvh{padding:12px 16px;border-radius:16px;font-size:14px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.message.user.svelte-ymhpvh .message-content:where(.svelte-ymhpvh){background:#3b82f6;color:#fff;border-bottom-right-radius:4px}.message.assistant.svelte-ymhpvh .message-content:where(.svelte-ymhpvh){background:#1e1e3f;color:#e2e8f0;border-bottom-left-radius:4px}.input-area.svelte-ymhpvh{display:flex;gap:12px;padding:16px 20px;background:#1a1a2e;border-top:1px solid rgba(255,255,255,.1)}.input-area.svelte-ymhpvh textarea:where(.svelte-ymhpvh){flex:1;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:12px 16px;font-size:14px;color:#e2e8f0;resize:none;font-family:inherit;line-height:1.5}.input-area.svelte-ymhpvh textarea:where(.svelte-ymhpvh)::placeholder{color:#64748b}.input-area.svelte-ymhpvh textarea:where(.svelte-ymhpvh):focus{outline:none;border-color:#3b82f6}.input-area.svelte-ymhpvh textarea:where(.svelte-ymhpvh):disabled{opacity:.7}.send-btn.svelte-ymhpvh{width:48px;height:48px;background:#3b82f6;border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.send-btn.svelte-ymhpvh:hover:not(:disabled){background:#2563eb}.send-btn.svelte-ymhpvh:disabled{opacity:.5;cursor:not-allowed}.spinner.svelte-ymhpvh{animation:svelte-ymhpvh-spin 1s linear infinite}@keyframes svelte-ymhpvh-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:900px){.message.svelte-ymhpvh{max-width:85%}}@media(max-width:768px){.chat-view.svelte-ymhpvh{border-radius:8px}.chat-header.svelte-ymhpvh{padding:12px 16px;flex-wrap:wrap}.chat-header.svelte-ymhpvh h1:where(.svelte-ymhpvh){font-size:16px}.header-info.svelte-ymhpvh{order:3;width:100%;margin-top:8px}.messages.svelte-ymhpvh{padding:16px;gap:12px}.message.svelte-ymhpvh{max-width:90%}.message-content.svelte-ymhpvh{padding:10px 14px;font-size:14px}.empty-state.svelte-ymhpvh{padding:24px}.empty-state.svelte-ymhpvh h2:where(.svelte-ymhpvh){font-size:16px}.engine-hints.svelte-ymhpvh{gap:6px}.hint.svelte-ymhpvh{font-size:10px;padding:3px 8px}.input-area.svelte-ymhpvh{padding:12px 16px;gap:10px}.input-area.svelte-ymhpvh textarea:where(.svelte-ymhpvh){padding:10px 14px;font-size:14px}.send-btn.svelte-ymhpvh{width:44px;height:44px}}@media(max-width:480px){.chat-header.svelte-ymhpvh{padding:10px 12px}.chat-header.svelte-ymhpvh h1:where(.svelte-ymhpvh){font-size:14px}.engine-badge.svelte-ymhpvh{font-size:10px;padding:2px 8px}.message-count.svelte-ymhpvh{font-size:11px}.clear-btn.svelte-ymhpvh{font-size:11px;padding:5px 10px}.messages.svelte-ymhpvh{padding:12px}.message.svelte-ymhpvh{max-width:95%}.message-content.svelte-ymhpvh{padding:8px 12px;font-size:13px}.empty-icon.svelte-ymhpvh svg:where(.svelte-ymhpvh){width:36px;height:36px}.input-area.svelte-ymhpvh{padding:10px 12px;gap:8px}.input-area.svelte-ymhpvh textarea:where(.svelte-ymhpvh){padding:8px 12px;font-size:13px}.send-btn.svelte-ymhpvh{width:40px;height:40px}}.modal-overlay.svelte-7ckcmb{position:fixed;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal.svelte-7ckcmb{background:#1a1a2e;border:1px solid var(--engine-color);border-radius:16px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;box-shadow:0 0 40px #00000080,0 0 0 1px #ffffff1a}.modal-header.svelte-7ckcmb{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.1);background:linear-gradient(135deg,color-mix(in srgb,var(--engine-color) 20%,transparent),transparent)}.header-left.svelte-7ckcmb{display:flex;align-items:center;gap:12px}.status-dot.svelte-7ckcmb{width:12px;height:12px;border-radius:50%;animation:svelte-7ckcmb-pulse-glow 2s infinite}@keyframes svelte-7ckcmb-pulse-glow{0%,to{box-shadow:0 0 #3b82f666}50%{box-shadow:0 0 0 8px #3b82f600}}.modal-header.svelte-7ckcmb h2:where(.svelte-7ckcmb){font-size:20px;font-weight:600;color:#e2e8f0;margin:0}.status-badge.svelte-7ckcmb{font-size:11px;padding:3px 10px;border-radius:12px;color:#fff;font-weight:500}.close-btn.svelte-7ckcmb{background:#ffffff1a;border:none;border-radius:8px;padding:8px;color:#94a3b8;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.close-btn.svelte-7ckcmb:hover{background:#ffffff26;color:#e2e8f0}.modal-body.svelte-7ckcmb{padding:20px 24px;display:flex;flex-direction:column;gap:20px}.info-section.svelte-7ckcmb h3:where(.svelte-7ckcmb){font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin:0 0 12px}.info-grid.svelte-7ckcmb{display:grid;grid-template-columns:1fr 1fr;gap:12px}.info-item.svelte-7ckcmb{display:flex;flex-direction:column;gap:4px}.info-item.full.svelte-7ckcmb{grid-column:1 / -1}.info-item.svelte-7ckcmb .label:where(.svelte-7ckcmb){font-size:11px;color:#64748b}.info-item.svelte-7ckcmb .value:where(.svelte-7ckcmb){font-size:14px;color:#e2e8f0;font-weight:500}.info-item.svelte-7ckcmb .value.mono:where(.svelte-7ckcmb){font-family:SF Mono,Monaco,Inconsolata,monospace}.info-item.svelte-7ckcmb .value.small:where(.svelte-7ckcmb){font-size:12px;word-break:break-all}.info-item.svelte-7ckcmb .value.quant:where(.svelte-7ckcmb){color:var(--engine-color)}.info-item.svelte-7ckcmb .value.error:where(.svelte-7ckcmb){color:#ef4444}.info-item.svelte-7ckcmb .value.highlight:where(.svelte-7ckcmb){color:#60a5fa;font-weight:600}.info-item.svelte-7ckcmb .value.active:where(.svelte-7ckcmb){color:#60a5fa}.info-item.svelte-7ckcmb .value.inactive:where(.svelte-7ckcmb){color:#64748b}.health-check.svelte-7ckcmb .health-row:where(.svelte-7ckcmb){display:flex;align-items:center;gap:16px}.ping-btn.svelte-7ckcmb{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#e2e8f0;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.ping-btn.svelte-7ckcmb:hover:not(:disabled){background:#ffffff26;border-color:var(--engine-color)}.ping-btn.svelte-7ckcmb:disabled{opacity:.7;cursor:not-allowed}.ping-result.svelte-7ckcmb{font-size:13px;color:#60a5fa}.spinner.svelte-7ckcmb{animation:svelte-7ckcmb-spin 1s linear infinite}@keyframes svelte-7ckcmb-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.modal.svelte-7ckcmb::-webkit-scrollbar{width:6px}.modal.svelte-7ckcmb::-webkit-scrollbar-track{background:transparent}.modal.svelte-7ckcmb::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}@media(max-width:768px){.modal-overlay.svelte-7ckcmb{padding:16px}.modal.svelte-7ckcmb{max-width:100%;max-height:85vh}.modal-header.svelte-7ckcmb{padding:16px 20px}.modal-header.svelte-7ckcmb h2:where(.svelte-7ckcmb){font-size:18px}.modal-body.svelte-7ckcmb{padding:16px 20px;gap:16px}.info-grid.svelte-7ckcmb{gap:10px}.info-item.svelte-7ckcmb .value:where(.svelte-7ckcmb){font-size:13px}.ping-btn.svelte-7ckcmb{padding:8px 14px;font-size:12px}}@media(max-width:480px){.modal-overlay.svelte-7ckcmb{padding:0;align-items:flex-end}.modal.svelte-7ckcmb{max-height:90vh;border-radius:16px 16px 0 0;border-bottom:none}.modal-header.svelte-7ckcmb{padding:14px 16px}.header-left.svelte-7ckcmb{gap:8px}.status-dot.svelte-7ckcmb{width:10px;height:10px}.modal-header.svelte-7ckcmb h2:where(.svelte-7ckcmb){font-size:16px}.status-badge.svelte-7ckcmb{font-size:10px;padding:2px 8px}.modal-body.svelte-7ckcmb{padding:14px 16px;gap:14px}.info-section.svelte-7ckcmb h3:where(.svelte-7ckcmb){font-size:11px;margin-bottom:10px}.info-grid.svelte-7ckcmb{gap:8px}.info-item.svelte-7ckcmb .label:where(.svelte-7ckcmb){font-size:10px}.info-item.svelte-7ckcmb .value:where(.svelte-7ckcmb){font-size:12px}.info-item.svelte-7ckcmb .value.small:where(.svelte-7ckcmb){font-size:11px}.health-check.svelte-7ckcmb .health-row:where(.svelte-7ckcmb){flex-direction:column;align-items:flex-start;gap:10px}.ping-btn.svelte-7ckcmb{width:100%;justify-content:center}}.engine-panel.svelte-919emk{background:#1a1a2e;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px}.panel-header.svelte-919emk{display:flex;align-items:center;gap:12px}.panel-header.svelte-919emk h2:where(.svelte-919emk){font-size:14px;font-weight:600;color:#e2e8f0;margin:0;flex:1}.header-stats.svelte-919emk{display:flex;gap:8px}.stat.svelte-919emk{font-size:11px;padding:2px 8px;border-radius:10px;background:#ffffff1a}.stat.online.svelte-919emk{color:#60a5fa}.stat.active.svelte-919emk{color:#93c5fd}.refresh-btn.svelte-919emk{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center}.refresh-btn.svelte-919emk:hover{color:#e2e8f0;background:#ffffff1a}.refresh-btn.svelte-919emk:disabled{opacity:.5;cursor:not-allowed}.spinning.svelte-919emk{animation:svelte-919emk-spin 1s linear infinite}@keyframes svelte-919emk-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.engines-list.svelte-919emk{display:flex;flex-direction:column;gap:8px}.engine-card.svelte-919emk{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;overflow:hidden;transition:all .2s;cursor:pointer}.engine-card.svelte-919emk:hover{border-color:var(--engine-color);background:#ffffff14}.engine-card.svelte-919emk:focus{outline:none;border-color:var(--engine-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--engine-color) 30%,transparent)}.engine-card.selected.svelte-919emk{border-color:var(--engine-color);background:color-mix(in srgb,var(--engine-color) 15%,transparent)}.engine-card.inactive.svelte-919emk{opacity:.5}.engine-main.svelte-919emk{display:flex;align-items:center;gap:10px;padding:10px 12px}.engine-status.svelte-919emk{flex-shrink:0}.status-dot.svelte-919emk{width:10px;height:10px;border-radius:50%;display:block}.status-dot.pulse.svelte-919emk{animation:svelte-919emk-pulse-glow 2s infinite}@keyframes svelte-919emk-pulse-glow{0%,to{box-shadow:0 0 #3b82f666}50%{box-shadow:0 0 0 6px #3b82f600}}.engine-info.svelte-919emk{flex:1;min-width:0}.engine-name.svelte-919emk{display:block;font-size:13px;font-weight:600;color:#e2e8f0}.engine-model.svelte-919emk{display:block;font-size:10px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.engine-stats.svelte-919emk{text-align:right;font-size:10px;color:#64748b}.latency.svelte-919emk{display:block;color:#94a3b8}.engine-actions.svelte-919emk{display:flex;gap:4px;padding:0 8px 8px}.select-btn.svelte-919emk,.toggle-btn.svelte-919emk,.ping-btn.svelte-919emk{font-size:10px;padding:4px 8px;border-radius:4px;border:none;cursor:pointer;transition:all .2s}.select-btn.svelte-919emk{background:#3b82f633;color:#3b82f6}.select-btn.selected.svelte-919emk{background:#3b82f666;color:#60a5fa}.select-btn.svelte-919emk:hover{background:#3b82f64d}.toggle-btn.svelte-919emk{background:#ef444433;color:#ef4444}.toggle-btn.active.svelte-919emk{background:#3b82f633;color:#60a5fa}.ping-btn.svelte-919emk{background:#ffffff1a;color:#94a3b8;display:flex;align-items:center;justify-content:center}.ping-btn.svelte-919emk:hover{background:#fff3;color:#e2e8f0}.selected-info.svelte-919emk{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#3b82f61a;border-radius:6px;font-size:12px}.selected-info.auto.svelte-919emk{background:#ffffff0d}.selected-info.svelte-919emk .label:where(.svelte-919emk){color:#64748b}.selected-info.svelte-919emk .value:where(.svelte-919emk){color:#e2e8f0;flex:1}.clear-btn.svelte-919emk{font-size:10px;padding:2px 8px;background:#ffffff1a;border:none;border-radius:4px;color:#94a3b8;cursor:pointer}.clear-btn.svelte-919emk:hover{background:#fff3;color:#e2e8f0}@media(max-width:768px){.engine-panel.svelte-919emk{padding:12px;gap:10px}.panel-header.svelte-919emk{gap:8px}.panel-header.svelte-919emk h2:where(.svelte-919emk){font-size:13px}.stat.svelte-919emk{font-size:10px;padding:2px 6px}.engine-main.svelte-919emk{padding:8px 10px}.engine-name.svelte-919emk{font-size:12px}.engine-model.svelte-919emk,.engine-stats.svelte-919emk{font-size:9px}.engine-actions.svelte-919emk{padding:0 6px 6px;gap:3px}.select-btn.svelte-919emk,.toggle-btn.svelte-919emk,.ping-btn.svelte-919emk{font-size:9px;padding:3px 6px}.selected-info.svelte-919emk{padding:6px 10px;font-size:11px}}@media(max-width:480px){.engine-panel.svelte-919emk{padding:10px}.header-stats.svelte-919emk{gap:4px}.engine-card.svelte-919emk{border-radius:6px}.engine-main.svelte-919emk{gap:8px}.status-dot.svelte-919emk{width:8px;height:8px}.engine-actions.svelte-919emk{flex-wrap:wrap}}.app.svelte-1n46o8q{display:flex;height:100vh;background:#0a0a14}.mobile-header.svelte-1n46o8q{display:none;position:fixed;top:0;left:0;right:0;height:56px;background:#12121f;border-bottom:1px solid rgba(255,255,255,.1);padding:0 16px;align-items:center;gap:12px;z-index:100}.menu-btn.svelte-1n46o8q{background:transparent;border:none;color:#e2e8f0;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:8px}.menu-btn.svelte-1n46o8q:hover{background:#ffffff1a}.mobile-logo.svelte-1n46o8q{display:flex;align-items:center;gap:8px;color:#e2e8f0;font-size:16px;font-weight:600}.mobile-logo.svelte-1n46o8q svg:where(.svelte-1n46o8q){color:#3b82f6}.sidebar-overlay.svelte-1n46o8q{display:none;position:fixed;inset:0;background:#0009;z-index:150}.sidebar.svelte-1n46o8q{width:280px;background:#12121f;border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;padding:16px;gap:16px;flex-shrink:0;overflow-y:auto}.logo.svelte-1n46o8q{display:flex;align-items:center;gap:10px;padding:8px;color:#e2e8f0;font-size:16px;font-weight:600}.logo.svelte-1n46o8q svg:where(.svelte-1n46o8q){color:#3b82f6}.sidebar-footer.svelte-1n46o8q{margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.footer-info.svelte-1n46o8q{display:flex;justify-content:space-between;font-size:11px;color:#64748b}.port.svelte-1n46o8q{font-family:monospace;color:#3b82f6}.main-content.svelte-1n46o8q{flex:1;padding:16px;overflow:hidden;min-width:0}@media(max-width:900px){.sidebar.svelte-1n46o8q{width:240px}}@media(max-width:768px){.mobile-header.svelte-1n46o8q{display:flex}.sidebar-overlay.svelte-1n46o8q{display:block}.sidebar.svelte-1n46o8q{position:fixed;top:0;left:0;bottom:0;width:280px;z-index:200;transform:translate(-100%);transition:transform .3s ease}.sidebar.open.svelte-1n46o8q{transform:translate(0)}.main-content.svelte-1n46o8q{padding:72px 12px 12px}}@media(max-width:480px){.sidebar.svelte-1n46o8q{width:100%}.main-content.svelte-1n46o8q{padding:64px 8px 8px}.footer-info.svelte-1n46o8q{flex-direction:column;gap:4px;align-items:center}}
