.chat.svelte-1roe1v9{flex:1;display:flex;flex-direction:column;min-height:0;position:relative}.toolbar.svelte-1roe1v9{display:flex;justify-content:space-between;align-items:center;gap:.4rem;padding:.4rem .8rem 0}.icon-btn.svelte-1roe1v9{background:transparent;color:var(--tg-theme-link-color, var(--tg-theme-button-color, #2481cc));padding:.4rem;display:flex;align-items:center;justify-content:center}.history-overlay.svelte-1roe1v9{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:var(--tg-theme-bg-color, #fff);display:flex;flex-direction:column}.history-header.svelte-1roe1v9{display:flex;justify-content:space-between;align-items:center;padding:.6rem .8rem;border-bottom:1px solid var(--tg-theme-hint-color, #ddd);font-weight:600}.history-header.svelte-1roe1v9 .close:where(.svelte-1roe1v9){background:none;padding:.2rem .5rem}.history-list.svelte-1roe1v9{flex:1;overflow-y:auto;padding:.4rem;display:flex;flex-direction:column;gap:.3rem}.history-item.svelte-1roe1v9{text-align:left;background:var(--tg-theme-secondary-bg-color, #f0f0f5);color:inherit;padding:.6rem .8rem;border-radius:.6rem}.history-title.svelte-1roe1v9{font-weight:500}.history-meta.svelte-1roe1v9{color:var(--tg-theme-hint-color, #888);font-size:.8em;margin-top:.2rem}.messages.svelte-1roe1v9{flex:1;overflow-y:auto;padding:.8rem;display:flex;flex-direction:column;gap:.5rem}.msg.svelte-1roe1v9{max-width:85%;padding:.5rem .8rem;border-radius:.8rem;white-space:pre-wrap;word-break:break-word}.msg.user.svelte-1roe1v9{align-self:flex-end;background:var(--tg-theme-button-color, #2481cc);color:var(--tg-theme-button-text-color, #fff)}.msg.assistant.svelte-1roe1v9{align-self:flex-start;background:var(--tg-theme-secondary-bg-color, #f0f0f5)}.sources.svelte-1roe1v9{margin-top:.5rem;padding-top:.4rem;border-top:1px solid var(--tg-theme-hint-color, #ddd);color:var(--tg-theme-hint-color, #888);font-size:.8em}footer.svelte-1roe1v9{display:flex;gap:.5rem;padding:.6rem;border-top:1px solid var(--tg-theme-hint-color, #ddd)}textarea.svelte-1roe1v9{flex:1;resize:none;padding:.5rem;border-radius:.5rem;border:1px solid var(--tg-theme-hint-color, #ccc);font:inherit}button.svelte-1roe1v9{padding:.45rem .9rem;border:0;border-radius:.5rem;background:var(--tg-theme-button-color, #2481cc);color:var(--tg-theme-button-text-color, #fff);cursor:pointer}button.svelte-1roe1v9:disabled{opacity:.5}.center.svelte-1roe1v9{text-align:center;margin-top:2rem;padding:0 1rem}.errormsg.svelte-1roe1v9{color:var(--tg-theme-destructive-text-color, #b00020)}.hint.svelte-1roe1v9{color:var(--tg-theme-hint-color, #888);font-size:.9em}.files.svelte-2py9m{flex:1;display:flex;flex-direction:column;min-height:0;padding:.6rem .8rem;gap:.6rem}.quota.svelte-2py9m{display:flex;flex-direction:column;gap:.2rem}.quota-bar.svelte-2py9m,.progress.svelte-2py9m{height:.5rem;border-radius:.25rem;background:var(--tg-theme-secondary-bg-color, #f0f0f5);overflow:hidden;position:relative}.quota-fill.svelte-2py9m,.progress-fill.svelte-2py9m{height:100%;background:var(--tg-theme-button-color, #2481cc);transition:width .2s}.progress.svelte-2py9m{margin-bottom:.8rem}.progress.svelte-2py9m .hint:where(.svelte-2py9m){position:absolute;top:.6rem;left:0}.uploader.svelte-2py9m{display:flex;gap:.5rem}select.svelte-2py9m{flex:1;padding:.45rem;border-radius:.5rem;border:1px solid var(--tg-theme-hint-color, #ccc);font:inherit;background:var(--tg-theme-bg-color, #fff);color:inherit}.pendingbar.svelte-2py9m{display:flex;flex-direction:column;gap:.4rem;padding:.6rem;border-radius:.6rem;background:var(--tg-theme-secondary-bg-color, #f0f0f5)}.pendingrow.svelte-2py9m{display:flex;gap:.5rem;align-items:center}.suggesthint.svelte-2py9m{white-space:nowrap}.secondary.svelte-2py9m{background:transparent;color:inherit;border:1px solid var(--tg-theme-hint-color, #ccc)}.chips.svelte-2py9m{display:flex;gap:.4rem;overflow-x:auto;padding-bottom:.2rem}.chip.svelte-2py9m{background:var(--tg-theme-secondary-bg-color, #f0f0f5);color:inherit;white-space:nowrap;font-size:.85em}.chip.active.svelte-2py9m{background:var(--tg-theme-button-color, #2481cc);color:var(--tg-theme-button-text-color, #fff)}.list.svelte-2py9m{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.4rem}.row.svelte-2py9m{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .6rem;border-radius:.6rem;background:var(--tg-theme-secondary-bg-color, #f0f0f5)}.meta.svelte-2py9m{display:flex;flex-direction:column;min-width:0}.name.svelte-2py9m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.actions.svelte-2py9m{display:flex;gap:.3rem;flex-shrink:0}button.svelte-2py9m{padding:.45rem .7rem;border:0;border-radius:.5rem;background:var(--tg-theme-button-color, #2481cc);color:var(--tg-theme-button-text-color, #fff);cursor:pointer}button.svelte-2py9m:disabled{opacity:.5}.danger.svelte-2py9m{background:transparent;color:var(--tg-theme-destructive-text-color, #b00020)}.center.svelte-2py9m{text-align:center;margin-top:2rem}.errormsg.svelte-2py9m{color:var(--tg-theme-destructive-text-color, #b00020);margin:0}.hint.svelte-2py9m{color:var(--tg-theme-hint-color, #888);font-size:.85em}.login.svelte-3z0wmw{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:2rem 1.5rem;text-align:center}h1.svelte-3z0wmw{margin:0;font-size:1.4rem}.hint.svelte-3z0wmw{color:var(--tg-theme-hint-color, #888);margin:0}.hint.small.svelte-3z0wmw{font-size:.85em;max-width:26rem}.widget.svelte-3z0wmw{min-height:40px}.widget.hidden.svelte-3z0wmw{display:none}.error.svelte-3z0wmw{color:var(--tg-theme-destructive-text-color, #b00020);margin:0}.profile.svelte-6o2kdg{flex:1;display:flex;flex-direction:column;min-height:0;padding:.6rem .8rem;gap:.6rem}h2.svelte-6o2kdg{margin:0;font-size:1.1em}.list.svelte-6o2kdg{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.4rem}.row.svelte-6o2kdg{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .6rem;border-radius:.6rem;background:var(--tg-theme-secondary-bg-color, #f0f0f5)}.meta.svelte-6o2kdg{display:flex;flex-direction:column;min-width:0}button.svelte-6o2kdg{padding:.45rem .7rem;border:0;border-radius:.5rem;cursor:pointer;flex-shrink:0}.danger.svelte-6o2kdg{background:transparent;color:var(--tg-theme-destructive-text-color, #b00020)}.center.svelte-6o2kdg{text-align:center;margin-top:2rem}.errormsg.svelte-6o2kdg{color:var(--tg-theme-destructive-text-color, #b00020);margin:0}.hint.svelte-6o2kdg{color:var(--tg-theme-hint-color, #888);font-size:.85em}main.svelte-1n46o8q{font-family:system-ui,sans-serif;display:flex;flex-direction:column;height:100vh;color:var(--tg-theme-text-color, #1a1a2e);background:var(--tg-theme-bg-color, #fff)}main.web.svelte-1n46o8q{--tg-theme-bg-color: #fff;--tg-theme-text-color: #1a1a2e;--tg-theme-hint-color: #888;--tg-theme-secondary-bg-color: #f0f0f5;--tg-theme-button-color: #2481cc;--tg-theme-button-text-color: #fff;--tg-theme-link-color: #2481cc;--tg-theme-destructive-text-color: #b00020}@media (prefers-color-scheme: dark){main.web.svelte-1n46o8q{--tg-theme-bg-color: #17212b;--tg-theme-text-color: #f0f0f0;--tg-theme-hint-color: #7d8b99;--tg-theme-secondary-bg-color: #232e3c;--tg-theme-button-color: #5288c1;--tg-theme-button-text-color: #fff;--tg-theme-link-color: #6ab3f3;--tg-theme-destructive-text-color: #ec3942}}header.svelte-1n46o8q{display:flex;justify-content:space-between;align-items:center;padding:.6rem 1rem;border-bottom:1px solid var(--tg-theme-hint-color, #ddd)}nav.svelte-1n46o8q{display:flex;gap:.4rem;align-items:center}nav.svelte-1n46o8q button:where(.svelte-1n46o8q){padding:.4rem .8rem;border:0;border-radius:.5rem;cursor:pointer;background:var(--tg-theme-secondary-bg-color, #f0f0f5);color:inherit}nav.svelte-1n46o8q button.active:where(.svelte-1n46o8q){background:var(--tg-theme-button-color, #2481cc);color:var(--tg-theme-button-text-color, #fff)}nav.svelte-1n46o8q button.logout:where(.svelte-1n46o8q){background:transparent;color:var(--tg-theme-hint-color, #888)}.view.svelte-1n46o8q{flex:1;display:flex;flex-direction:column;min-height:0}.view.hidden.svelte-1n46o8q{display:none}.center.svelte-1n46o8q{text-align:center;margin-top:2rem;padding:0 1rem}.error.svelte-1n46o8q{color:var(--tg-theme-destructive-text-color, #b00020)}
