img.svelte-1jy6qo3{display:block;flex-shrink:0}.chat-bubble.svelte-m8r93z{max-width:80%;padding:.75rem 1rem;border-radius:1rem;margin-bottom:.5rem;word-wrap:break-word}.user.svelte-m8r93z{align-self:flex-end;background:var(--cw-accent);color:#fff;border-bottom-right-radius:.25rem}.assistant.svelte-m8r93z{align-self:flex-start;background:var(--cw-assistant-bg);color:var(--cw-assistant-text);border-bottom-left-radius:.25rem}.system.svelte-m8r93z{align-self:center;background:var(--cw-system-bg);color:var(--cw-system-text);font-size:.875rem;border-radius:.5rem}.bubble-time.svelte-m8r93z{font-size:.7rem;opacity:.6;margin-top:.25rem}.bubble-content.svelte-m8r93z{display:flex;flex-direction:column;gap:.5rem}.message-text.svelte-m8r93z{white-space:pre-wrap}.review-btn.svelte-m8r93z{align-self:flex-start;padding:.35rem .6rem;border-radius:.4rem;border:1px solid var(--cw-review-btn-border);background:var(--cw-review-btn-bg);color:var(--cw-review-btn-text);font-size:.78rem;font-weight:600;cursor:pointer}.user.svelte-m8r93z .review-btn:where(.svelte-m8r93z){background:#fff3;color:#fff;border-color:#ffffff59}.review-btn.svelte-m8r93z:hover{filter:brightness(.95)}.sign-btn.svelte-m8r93z{align-self:flex-start;padding:.45rem .7rem;border-radius:.45rem;border:1px solid var(--cw-accent-hover);background:var(--cw-accent-hover);color:#fff;font-size:.8rem;font-weight:600;cursor:pointer}.sign-btn.svelte-m8r93z:disabled{cursor:not-allowed;opacity:.7}.bundle-summary.svelte-m8r93z{font-size:.8rem;color:var(--cw-bundle-text);line-height:1.4}.tx-request-card.svelte-m8r93z+.tx-request-card:where(.svelte-m8r93z){border-top:1px dashed var(--cw-tx-card-border);padding-top:.5rem}.sign-status.svelte-m8r93z{font-size:.76rem;padding:.35rem .5rem;border-radius:.4rem}.sign-status.success.svelte-m8r93z{background:var(--cw-success-bg);color:var(--cw-success-text)}.hash-link-box.svelte-m8r93z{display:flex;align-items:center;gap:.4rem;padding:.35rem .5rem;border-radius:.4rem;background:var(--cw-success-bg);font-size:.76rem}.hash-link-box.order.svelte-m8r93z{background:var(--cw-order-bg)}.hash-link-box.svelte-m8r93z .hash-label:where(.svelte-m8r93z){color:var(--cw-success-text);font-weight:600;white-space:nowrap}.hash-link-box.order.svelte-m8r93z .hash-label:where(.svelte-m8r93z){color:var(--cw-order-label)}.hash-link-box.svelte-m8r93z code:where(.svelte-m8r93z){color:var(--cw-success-text);word-break:break-all}.hash-link-box.order.svelte-m8r93z code:where(.svelte-m8r93z){color:var(--cw-order-text)}.hash-explorer-link.svelte-m8r93z{margin-left:auto;color:var(--cw-hash-link);font-weight:600;text-decoration:none;white-space:nowrap}.hash-explorer-link.svelte-m8r93z:hover{text-decoration:underline}.hash-link-box.order.svelte-m8r93z .hash-explorer-link:where(.svelte-m8r93z){color:var(--cw-order-text)}.inline-hash{background:var(--cw-hash-bg);padding:.1rem .3rem;border-radius:.25rem;color:var(--cw-hash-text);text-decoration:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.85em}.inline-hash:hover{text-decoration:underline;background:var(--cw-hash-hover-bg)}.user.svelte-m8r93z .inline-hash{background:#fff3;color:#fff}.user.svelte-m8r93z .inline-hash:hover{background:#ffffff4d}.tx-link.svelte-m8r93z{margin-left:.5rem;font-weight:600;color:var(--cw-hash-link);text-decoration:underline}.sign-status.error.svelte-m8r93z{background:var(--cw-error-bg);color:var(--cw-error-text)}.sign-status.pending.svelte-m8r93z{background:var(--cw-info-bg);color:var(--cw-info-text)}.tx-details.svelte-m8r93z{font-size:.75rem;border:1px solid var(--cw-border-subtle);border-radius:.4rem;padding:.35rem .5rem;background:var(--cw-details-bg)}.tx-details.svelte-m8r93z summary:where(.svelte-m8r93z){cursor:pointer;font-weight:600;color:var(--cw-details-text)}.tx-row.svelte-m8r93z{display:flex;gap:.4rem;margin-top:.3rem;align-items:baseline}.tx-row.svelte-m8r93z span:where(.svelte-m8r93z){color:var(--cw-details-label);min-width:4.5rem}.tx-row.svelte-m8r93z code:where(.svelte-m8r93z){word-break:break-all}.review-modal-backdrop.svelte-m8r93z{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--cw-backdrop);display:flex;justify-content:center;align-items:center;padding:1rem;z-index:10001}.review-modal.svelte-m8r93z{width:min(900px,95vw);max-height:min(80vh,760px);background:var(--cw-modal-bg);border-radius:.75rem;border:1px solid var(--cw-border-subtle);display:flex;flex-direction:column;overflow:hidden}.review-modal-header.svelte-m8r93z{display:flex;align-items:center;justify-content:space-between;padding:.8rem 1rem;border-bottom:1px solid var(--cw-modal-header-border)}.review-modal-header.svelte-m8r93z h3:where(.svelte-m8r93z){margin:0;font-size:.95rem;color:var(--cw-modal-title)}.close-btn.svelte-m8r93z{border:1px solid var(--cw-modal-close-border);background:var(--cw-modal-close-bg);color:var(--cw-modal-close-text);border-radius:.4rem;padding:.35rem .55rem;font-size:.78rem;font-weight:600;cursor:pointer}.rainlang-code.svelte-m8r93z{margin:0;padding:1rem;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.8rem;line-height:1.45;background:var(--cw-code-bg);color:var(--cw-code-text)}.message-list.svelte-y4sddg{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.25rem}.typing-indicator.svelte-y4sddg{align-self:flex-start;display:flex;align-items:center;gap:.25rem;padding:.75rem 1rem;background:var(--cw-typing-bg);border-radius:1rem}.typing-indicator.svelte-y4sddg span:where(.svelte-y4sddg){width:.5rem;height:.5rem;background:var(--cw-typing-dot);border-radius:50%;animation:svelte-y4sddg-bounce 1.4s infinite ease-in-out both}.typing-indicator.svelte-y4sddg span:where(.svelte-y4sddg):nth-child(1){animation-delay:-.32s}.typing-indicator.svelte-y4sddg span:where(.svelte-y4sddg):nth-child(2){animation-delay:-.16s}@keyframes svelte-y4sddg-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.message-input.svelte-1aht2rk{display:flex;gap:.5rem;padding:.75rem 1rem;border-top:1px solid var(--cw-border);background:var(--cw-bg)}textarea.svelte-1aht2rk{flex:1;resize:none;border:1px solid var(--cw-input-border);border-radius:.5rem;padding:.5rem .75rem;font-family:inherit;font-size:.875rem;line-height:1.5;outline:none;background:var(--cw-input-bg);color:var(--cw-text)}textarea.svelte-1aht2rk:focus{border-color:var(--cw-accent);box-shadow:0 0 0 2px #3b82f633}textarea.svelte-1aht2rk:disabled{background:var(--cw-input-disabled-bg);cursor:not-allowed}button.svelte-1aht2rk{padding:.5rem 1rem;background:var(--cw-accent);color:#fff;border:none;border-radius:.5rem;font-size:.875rem;cursor:pointer;white-space:nowrap}button.svelte-1aht2rk:hover:not(:disabled){background:var(--cw-accent-hover)}button.svelte-1aht2rk:disabled{opacity:.5;cursor:not-allowed}.chat-widget.svelte-n93tie{display:flex;flex-direction:column;width:100%;height:100%;min-height:400px;border:1px solid var(--cw-border);border-radius:.75rem;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--cw-bg);color:var(--cw-text)}.chat-header.svelte-n93tie{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:var(--cw-header-bg);color:#fff}.chat-brand.svelte-n93tie{display:flex;align-items:center;gap:.5rem}.chat-title.svelte-n93tie{font-weight:600;font-size:.9rem}.status-dot.svelte-n93tie{width:.5rem;height:.5rem;border-radius:50%;background:#ef4444}.status-dot.connected.svelte-n93tie{background:#22c55e}.status-dot.reconnecting.svelte-n93tie{background:#f59e0b;animation:svelte-n93tie-pulse 1.5s ease-in-out infinite}@keyframes svelte-n93tie-pulse{0%,to{opacity:1}50%{opacity:.4}}.reconnecting-label.svelte-n93tie{font-size:.7rem;color:#f59e0b}.reconnect-btn.svelte-n93tie{font-size:.7rem;padding:.15rem .5rem;border:1px solid #6b7280;border-radius:.25rem;background:transparent;color:#fff;cursor:pointer}.reconnect-btn.svelte-n93tie:hover{background:#ffffff1a;border-color:#9ca3af}.version-label.svelte-n93tie{margin-left:auto;font-size:.65rem;font-family:monospace;color:#9ca3af}.wallet-status.svelte-jha8m7{display:flex;align-items:center;gap:.4rem}.dot.svelte-jha8m7{width:.45rem;height:.45rem;border-radius:50%;flex-shrink:0}.dot.connected.svelte-jha8m7{background:#22c55e}.dot.wallet-ready.svelte-jha8m7{background:#f59e0b}.dot.disconnected.svelte-jha8m7{background:#6b7280}.address.svelte-jha8m7{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;color:#d1d5db}.label.svelte-jha8m7{font-size:.72rem;color:#d1d5db}.connect-btn.svelte-jha8m7{font-size:.7rem;padding:.1rem .45rem;border:1px solid #6b7280;border-radius:.25rem;background:transparent;color:#fff;cursor:pointer}.connect-btn.svelte-jha8m7:hover{background:#ffffff1a;border-color:#9ca3af}.floating-container.svelte-dyj0jw{position:fixed;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;gap:.75rem;pointer-events:none}.floating-container.bottom-right.svelte-dyj0jw{bottom:var(--offset-y);right:var(--offset-x)}.floating-container.bottom-left.svelte-dyj0jw{bottom:var(--offset-y);left:var(--offset-x);align-items:flex-start}.chat-panel.svelte-dyj0jw{width:400px;height:600px;max-width:calc(100vw - 48px);max-height:calc(100vh - 120px);border-radius:.75rem;border:1px solid var(--cw-border);background:var(--cw-bg);box-shadow:var(--cw-shadow);display:flex;flex-direction:column;overflow:hidden;transform:scale(.95) translateY(10px);opacity:0;pointer-events:none;transition:transform .2s ease,opacity .2s ease}.chat-panel.open.svelte-dyj0jw{transform:scale(1) translateY(0);opacity:1;pointer-events:auto!important}.panel-header.svelte-dyj0jw{display:flex;align-items:center;gap:.5rem;padding:.6rem .75rem;background:var(--cw-header-bg);color:#fff;flex-shrink:0}.panel-title.svelte-dyj0jw{font-weight:600;font-size:.85rem}.status-dot.svelte-dyj0jw{width:.45rem;height:.45rem;border-radius:50%;background:#ef4444;flex-shrink:0}.status-dot.connected.svelte-dyj0jw{background:#22c55e}.status-dot.reconnecting.svelte-dyj0jw{background:#f59e0b;animation:svelte-dyj0jw-pulse 1.5s ease-in-out infinite}.panel-brand.svelte-dyj0jw{display:flex;align-items:center;gap:.45rem}@keyframes svelte-dyj0jw-pulse{0%,to{opacity:1}50%{opacity:.4}}.reconnect-btn.svelte-dyj0jw{font-size:.65rem;padding:.1rem .4rem;border:1px solid #6b7280;border-radius:.25rem;background:transparent;color:#fff;cursor:pointer}.reconnect-btn.svelte-dyj0jw:hover{background:#ffffff1a}.version-label.svelte-dyj0jw{margin-left:auto;font-size:.6rem;font-family:monospace;color:#9ca3af}.close-btn.svelte-dyj0jw{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border:none;border-radius:.25rem;background:transparent;color:#9ca3af;cursor:pointer;flex-shrink:0}.close-btn.svelte-dyj0jw:hover{color:#fff;background:#ffffff1a}.expand-btn.svelte-dyj0jw{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border:none;border-radius:.25rem;background:transparent;color:#9ca3af;cursor:pointer;flex-shrink:0}.expand-btn.svelte-dyj0jw:hover{color:#fff;background:#ffffff1a}.panel-body.svelte-dyj0jw{flex:1;overflow:hidden;display:flex;flex-direction:column}.auth-prompt.svelte-dyj0jw{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:2rem;color:var(--cw-text-secondary);font-size:.875rem}.auth-prompt.svelte-dyj0jw p:where(.svelte-dyj0jw){margin:0;text-align:center}.error-text.svelte-dyj0jw{color:#dc2626}.connect-wallet-btn.svelte-dyj0jw{padding:.45rem 1rem;border:none;border-radius:.5rem;background:var(--cw-btn-secondary-bg);color:#fff;font-size:.8rem;font-weight:500;cursor:pointer}.connect-wallet-btn.svelte-dyj0jw:hover{background:var(--cw-btn-secondary-hover)}.spinner.svelte-dyj0jw{width:1.5rem;height:1.5rem;border:2px solid var(--cw-spinner-track);border-top-color:var(--cw-spinner-head);border-radius:50%;animation:svelte-dyj0jw-spin .6s linear infinite}@keyframes svelte-dyj0jw-spin{to{transform:rotate(360deg)}}.chat-bubble-btn.svelte-dyj0jw{width:56px;height:56px;border-radius:50%;border:var(--cw-fab-border);background:var(--cw-fab-bg);color:var(--cw-fab-text);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--cw-fab-shadow);position:relative;transition:transform .15s ease,box-shadow .15s ease;flex-shrink:0;pointer-events:auto}.chat-bubble-btn.svelte-dyj0jw:hover{transform:scale(1.05);box-shadow:var(--cw-fab-shadow-hover)}.unread-badge.svelte-dyj0jw{position:absolute;top:-4px;right:-4px;min-width:1.1rem;height:1.1rem;border-radius:9999px;background:#ef4444;color:#fff;font-size:.65rem;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 .25rem;line-height:1}@media(max-width:480px){.chat-panel.svelte-dyj0jw{width:calc(100vw - 24px);height:calc(100vh - 100px);max-width:none}}.expand-backdrop.svelte-dyj0jw{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--cw-backdrop, rgba(0, 0, 0, .5));z-index:10002;display:flex;align-items:stretch;justify-content:stretch}.expand-modal.svelte-dyj0jw{position:absolute;top:24px;right:24px;bottom:24px;left:24px;z-index:10003;background:var(--cw-bg);border:1px solid var(--cw-border);border-radius:.75rem;box-shadow:var(--cw-shadow);display:flex;flex-direction:column;overflow:hidden}.expand-modal-header.svelte-dyj0jw{display:flex;align-items:center;gap:.5rem;padding:.6rem .75rem;background:var(--cw-header-bg);color:#fff;flex-shrink:0}.expand-modal-body.svelte-dyj0jw{flex:1;overflow:hidden;display:flex;flex-direction:column}@media(max-width:480px){.expand-modal.svelte-dyj0jw{top:8px;right:8px;bottom:8px;left:8px}}.page.svelte-1uha8ag{display:flex;flex-direction:column;gap:1rem}.card.svelte-1uha8ag{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:2rem;background:#fff;border:1px solid #e5e7eb;border-radius:.75rem}h2.svelte-1uha8ag{margin:0;font-size:1rem;font-weight:600}.subtitle.svelte-1uha8ag{color:#6b7280;font-size:.85rem;margin:0}.connect-buttons.svelte-1uha8ag{display:flex;gap:.75rem}.btn.svelte-1uha8ag{padding:.5rem 1rem;border-radius:.5rem;font-size:.85rem;cursor:pointer;border:none}.btn.svelte-1uha8ag:disabled{opacity:.5;cursor:not-allowed}.btn-primary.svelte-1uha8ag{background:#1f2937;color:#fff}.btn-primary.svelte-1uha8ag:hover:not(:disabled){background:#374151}.btn-secondary.svelte-1uha8ag{background:#fff;color:#374151;border:1px solid #d1d5db}.btn-secondary.svelte-1uha8ag:hover{background:#f3f4f6}.connected.svelte-1uha8ag{display:flex;align-items:center;gap:.5rem;font-size:.85rem}.dot.svelte-1uha8ag{width:8px;height:8px;border-radius:50%}.dot.green.svelte-1uha8ag{background:#10b981}.address.svelte-1uha8ag{font-family:monospace;font-weight:600}.source.svelte-1uha8ag{color:#9ca3af}.error.svelte-1uha8ag{color:#dc2626;font-size:.8rem;margin:0}.hint.svelte-1uha8ag{color:#9ca3af;font-size:.8rem;text-align:center;margin:0}
