.modal-overlay.svelte-4erauy.svelte-4erauy{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.85);display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px;touch-action:none;overflow:hidden}.modal-content.svelte-4erauy.svelte-4erauy{position:relative;max-width:90vw;max-height:90vh;overflow:hidden;border-radius:12px;touch-action:none;display:flex;flex-direction:column;align-items:center}.modal-content.svelte-4erauy img.svelte-4erauy{max-width:100%;max-height:80vh;object-fit:contain;transition:transform .1s ease-out;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;display:block}.close-button.svelte-4erauy.svelte-4erauy{position:absolute;top:10px;right:10px;background:rgba(17,27,33,.55);border:none;color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;z-index:1001;transition:background .2s ease,transform .15s ease}.close-button.svelte-4erauy.svelte-4erauy:hover{background:rgba(17,27,33,.75)}.close-button.svelte-4erauy.svelte-4erauy:focus-visible{outline:2px solid #fff;outline-offset:2px}@media (max-width: 600px){.modal-overlay.svelte-4erauy.svelte-4erauy{padding:10px}.modal-content.svelte-4erauy.svelte-4erauy{max-width:95vw;max-height:95vh}.modal-content.svelte-4erauy img.svelte-4erauy{max-height:85vh}}.msger-chat.svelte-k0tf6d.svelte-k0tf6d{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px 12px 14px;background-color:var(--chat-bg);scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track);scrollbar-width:thin}.msger-chat.svelte-k0tf6d.svelte-k0tf6d::-webkit-scrollbar{width:6px}.msger-chat.svelte-k0tf6d.svelte-k0tf6d::-webkit-scrollbar-track{background:var(--scrollbar-track)}.msger-chat.svelte-k0tf6d.svelte-k0tf6d::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:6px}.msg.svelte-k0tf6d.svelte-k0tf6d{display:flex;align-items:flex-end;margin-bottom:12px}.msg.svelte-k0tf6d.svelte-k0tf6d:last-of-type{margin-bottom:0}.msg-img.svelte-k0tf6d.svelte-k0tf6d{width:50px;height:50px;min-width:50px;margin-right:10px;background-color:var(--bubble-avatar-bg);background-repeat:no-repeat;background-position:center;background-size:cover;border-radius:50%}.msg-img--brand.svelte-k0tf6d.svelte-k0tf6d{background-size:contain;background-image:url(../../../agentiza-logo.png)}@media (prefers-color-scheme: dark){.msg-img--brand.svelte-k0tf6d.svelte-k0tf6d{background-image:url(../../../agentiza-logo-dark.png)}}.msg-bubble.svelte-k0tf6d.svelte-k0tf6d{max-width:80%;min-width:0;padding:8px 12px 10px;border-radius:12px;background:var(--bubble-in-bg);color:var(--text-primary);box-shadow:var(--bubble-in-shadow);overflow:hidden;display:flex;flex-direction:column}.left-msg.svelte-k0tf6d .msg-bubble.svelte-k0tf6d{border-bottom-left-radius:2px}.right-msg.svelte-k0tf6d.svelte-k0tf6d{flex-direction:row-reverse}.right-msg.svelte-k0tf6d .msg-bubble.svelte-k0tf6d{background:var(--bubble-out-bg);color:var(--bubble-out-fg);border-bottom-right-radius:2px;margin-left:min(60px,15%)}.msg-text.svelte-k0tf6d.svelte-k0tf6d{line-height:1.45;overflow-wrap:break-word;word-break:break-word;width:100%}.msg-text.svelte-k0tf6d p,.msg-text.svelte-k0tf6d ul,.msg-text.svelte-k0tf6d ol,.msg-text.svelte-k0tf6d li{max-width:100%;overflow-wrap:break-word;word-break:break-word}.msg-text.svelte-k0tf6d ol{margin-top:8px;margin-bottom:8px;padding-left:20px}.msg-text.svelte-k0tf6d pre{overflow-x:auto;max-width:100%;white-space:pre-wrap;word-break:break-all}.msg-text.svelte-k0tf6d code{word-break:break-all;white-space:pre-wrap}.msg-text.svelte-k0tf6d table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}.msg-text.svelte-k0tf6d a{color:var(--link)}.right-msg.svelte-k0tf6d .msg-text.svelte-k0tf6d a{color:var(--bubble-out-link)}.loading-img.svelte-k0tf6d.svelte-k0tf6d{transform:rotate(180deg);height:30px}.non-first-msg.svelte-k0tf6d.svelte-k0tf6d{margin-left:60px;margin-top:-6px}.attachment-wrapper.svelte-k0tf6d.svelte-k0tf6d{margin-top:10px;width:100%;display:flex;justify-content:center;align-items:center}.attachment-image.svelte-k0tf6d.svelte-k0tf6d{max-width:100%;width:auto;max-height:400px;height:auto;border-radius:8px;object-fit:scale-down;cursor:zoom-in;transition:opacity .2s ease}@media (max-width: 600px){.msg-bubble.svelte-k0tf6d.svelte-k0tf6d{max-width:85%;padding:8px 10px}.attachment-image.svelte-k0tf6d.svelte-k0tf6d,.attachment-video.svelte-k0tf6d.svelte-k0tf6d{max-height:180px}}@media (max-width: 480px){.msg-bubble.svelte-k0tf6d.svelte-k0tf6d{max-width:90%;padding:8px 10px}.attachment-image.svelte-k0tf6d.svelte-k0tf6d,.attachment-video.svelte-k0tf6d.svelte-k0tf6d{max-height:150px}}.attachment-image.svelte-k0tf6d.svelte-k0tf6d:hover{opacity:.92}.attachment-video.svelte-k0tf6d.svelte-k0tf6d{max-width:100%;width:auto;max-height:400px;height:auto;border-radius:8px;object-fit:scale-down;transition:opacity .2s ease}.attachment-video.svelte-k0tf6d.svelte-k0tf6d:hover{opacity:.92}.attachment-description.svelte-k0tf6d.svelte-k0tf6d{margin-top:6px;font-size:.88em;color:var(--text-muted);font-style:italic}.right-msg.svelte-k0tf6d .attachment-description.svelte-k0tf6d{color:#e9edefd9}.file-card.svelte-k0tf6d.svelte-k0tf6d{width:100%;display:flex;align-items:center;padding:12px;background-color:var(--file-card-bg);border-radius:10px;cursor:pointer;transition:background-color .2s ease;gap:12px}.file-card.svelte-k0tf6d.svelte-k0tf6d:hover{background-color:var(--file-card-bg-hover)}.file-icon.svelte-k0tf6d.svelte-k0tf6d{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:var(--theme-color);border-radius:10px;color:#fff}.file-info.svelte-k0tf6d.svelte-k0tf6d{flex:1;display:flex;flex-direction:column;min-width:0}.file-name.svelte-k0tf6d.svelte-k0tf6d{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-type.svelte-k0tf6d.svelte-k0tf6d{font-size:12px;color:var(--text-muted)}.file-actions.svelte-k0tf6d.svelte-k0tf6d{display:flex;gap:8px}.download-icon.svelte-k0tf6d.svelte-k0tf6d{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;color:var(--theme-color);background-color:transparent;transition:background-color .2s ease}.download-icon.svelte-k0tf6d.svelte-k0tf6d:hover{background-color:var(--file-card-bg-hover)}.right-msg.svelte-k0tf6d .file-card.svelte-k0tf6d{background-color:var(--file-card-bg-right)}.right-msg.svelte-k0tf6d .file-card.svelte-k0tf6d:hover{background-color:var(--file-card-bg-right-hover)}.right-msg.svelte-k0tf6d .file-type.svelte-k0tf6d{color:#e9edefbf}.right-msg.svelte-k0tf6d .download-icon.svelte-k0tf6d{color:var(--bubble-out-fg)}.right-msg.svelte-k0tf6d .download-icon.svelte-k0tf6d:hover{background-color:#ffffff1f}@media (max-width: 480px){.file-card.svelte-k0tf6d.svelte-k0tf6d{padding:8px}.file-icon.svelte-k0tf6d.svelte-k0tf6d{width:32px;height:32px}.file-name.svelte-k0tf6d.svelte-k0tf6d{font-size:13px}.file-type.svelte-k0tf6d.svelte-k0tf6d{font-size:11px}}
