:root{--brand: #2563eb;font-family:Finlandica,system-ui,-apple-system,sans-serif;font-size:17px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}.center{display:grid;place-items:center;height:100%;padding:2rem;text-align:center}.muted{color:#888}.error{color:#b42318;margin:0 1rem;font-size:.85rem}.app{display:flex;flex-direction:column;height:100%;max-width:640px;margin:0 auto}.hdr{background:linear-gradient(110deg,var(--brand),var(--brand-accent, var(--brand)));color:#fff;padding:.6rem .85rem;display:flex;align-items:center;gap:.6rem}.hdr-avatar{width:36px;height:36px;border-radius:50%;background:#ffffff38;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;flex:none}.hdr-meta{display:flex;flex-direction:column;line-height:1.2;min-width:0}.hdr-name{font-size:1rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hdr-presence{font-size:.72rem;opacity:.85}.hdr-gear{width:38px;height:38px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;background:#ffffff2e;color:#fff;cursor:pointer}.hdr-gear:hover{background:#ffffff4d}.hdr-lang{margin-left:auto;flex:none;border-color:#fff6;padding:.1rem;gap:.05rem}.hdr-lang button{color:#ffffffd1;padding:.18rem .4rem;font-size:.64rem;font-weight:700}.hdr-lang button.on{background:#ffffff47;color:#fff}.sheet-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;background:#13182666;animation:fade .2s ease}.sheet{width:min(640px,100%);background:#fff;border-radius:16px 16px 0 0;padding:1rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom))}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem;font-size:1.1rem}.sheet-x{border:0;background:none;font-size:1.7rem;line-height:1;color:#999;cursor:pointer}.sheet-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.6rem 0}.langtoggle{display:inline-flex;gap:.15rem;border:1px solid #dbe1ec;border-radius:999px;padding:.15rem}.langtoggle button{border:0;background:none;color:#8390a8;border-radius:999px;padding:.4rem .95rem;font:inherit;font-weight:700;cursor:pointer}.langtoggle button.on{background:var(--brand);color:#fff}@keyframes fade{0%{opacity:0}to{opacity:1}}.chat{display:flex;flex-direction:column;flex:1;min-height:0}.messages{flex:1;overflow-y:auto;padding:.9rem;display:flex;flex-direction:column;gap:.35rem;background:#f5f8fd;background-image:radial-gradient(rgba(19,24,38,.04) 1px,transparent 1px);background-size:16px 16px}.welcome{margin:auto 0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.3rem;padding:1.5rem 1rem}.welcome-title{font-size:1.4rem;font-weight:800;color:#131826;margin:0}.welcome-sub{color:#475069;margin:0 0 .6rem;max-width:32ch;line-height:1.4}.starters{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:340px}.starter{border:1px solid var(--brand);background:#fff;color:#131826;border-radius:14px;padding:.7rem .9rem;font:inherit;font-size:.92rem;text-align:left;cursor:pointer;line-height:1.35}.starter:hover:not(:disabled){background:color-mix(in srgb,var(--brand) 8%,#fff)}.starter:disabled{opacity:.5;cursor:default}.bubble{max-width:80%;padding:.5rem .7rem;border-radius:16px;line-height:1.35;white-space:pre-wrap;word-break:break-word;box-shadow:0 1px 1px #1318260f}.bubble.me{align-self:flex-end;background:var(--brand);color:#fff;border-bottom-right-radius:5px}.bubble.them{align-self:flex-start;background:#fff;color:#131826;border-bottom-left-radius:5px}.msg{display:flex;flex-direction:column;gap:.3rem}.msg.me{align-items:flex-end}.msg.them{align-items:flex-start}.actions{display:flex;flex-direction:column;gap:.3rem;max-width:88%}.act{text-align:left;border:1px solid #dbe1ec;background:#fff;color:#131826;border-radius:14px;padding:.5rem .7rem;font:inherit;font-size:.92rem;line-height:1.35;cursor:pointer}.act:hover{border-color:var(--brand)}.act.on{border-color:var(--brand);background:#eff4ff}.act:disabled{opacity:.55;cursor:default}.act-row{display:flex;gap:.5rem;padding-left:.2rem;margin-top:.2rem}.act-mini{background:#fff;border:1px solid #dbe1ec;border-radius:999px;font:inherit;font-size:.8rem;font-weight:600;color:#475069;cursor:pointer;padding:.4rem .9rem;transition:border-color .12s ease,background .12s ease,color .12s ease}.act-mini:hover{border-color:#131826;color:#131826}.act-mini.danger{color:#b42318;border-color:#ecc7c1;background:#fdf4f2}.act-mini.danger:hover{border-color:#b42318;background:#fbe9e6;color:#b42318}.act-mini:disabled{opacity:.5;cursor:default}.preparing-bubble{display:flex;align-items:center;gap:5px;padding:.55rem .9rem;min-width:58px}.typing-dot{width:7px;height:7px;border-radius:50%;background:var(--brand);opacity:.45;animation:typing-pulse 1.2s ease-in-out infinite}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typing-pulse{0%,60%,to{opacity:.45;transform:scale(1)}30%{opacity:1;transform:scale(1.25)}}.greeting-starters{display:flex;flex-direction:column;gap:.5rem;max-width:340px;margin-top:.55rem}.upsell{display:flex;align-items:center;gap:.6rem;width:calc(100% - 1.2rem);margin:0 .6rem .45rem;padding:.6rem .85rem;border:1px solid color-mix(in srgb,var(--brand) 40%,#dbe1ec);background:#eff4ff;border-radius:12px;font:inherit;font-size:.92rem;color:#131826;text-align:left;cursor:pointer}.upsell-cta{margin-left:auto;flex:none;font-weight:800;color:var(--brand)}.composer{display:flex;align-items:flex-end;gap:.4rem;padding:.45rem .55rem calc(.45rem + env(safe-area-inset-bottom));border-top:1px solid #dbe1ec;background:#fff}.comp-field{flex:1;min-width:0;display:flex;align-items:flex-end;gap:.05rem;border:1px solid #dbe1ec;border-radius:20px;padding:.1rem .25rem;background:#fff}.comp-field:focus-within{border-color:var(--brand)}.comp-input{flex:1;min-width:0;border:0;outline:none;background:transparent;padding:.5rem .3rem;font:inherit;font-size:.95rem;line-height:1.4;resize:none;max-height:120px;overflow-y:auto;color:#131826}.comp-input::placeholder{color:#8390a8}.comp-icon{width:34px;height:34px;flex:none;padding:0;border:0;border-radius:50%;background:none;color:#8390a8;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.comp-icon svg{width:19px;height:19px}.comp-icon:hover:not(:disabled){color:var(--brand);background:#eef2f9}.comp-icon:disabled{opacity:.45;cursor:default}.composer button.send{width:40px;height:40px;flex:none;padding:0;border:0;border-radius:50%;background:var(--brand);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.composer button.send svg{width:17px;height:17px}.composer button.send:disabled{opacity:.45;cursor:default}body.launcher-closed{background:transparent}.launcher,.launcher-panel{height:100%}.launcher-panel.hidden{display:none}.launcher-bubble{position:fixed;right:10px;bottom:10px;width:56px;height:56px;border-radius:50%;background:var(--brand);color:#fff;border:0;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 16px #0000003d}.launcher-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#e11d48;color:#fff;font-size:11px;line-height:18px;font-weight:700;text-align:center}.hdr-min{background:none;border:0;color:inherit;cursor:pointer;padding:4px;margin-left:4px;display:grid;place-items:center;opacity:.85}.hdr-min:hover{opacity:1}.app-form{padding:16px}.leadform{display:flex;flex-direction:column;gap:12px}.leadform-note{margin:0}.leadform-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.leadform-field{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}.leadform-field input,.leadform-field textarea{font:inherit;font-weight:400;padding:10px 12px;border:1px solid #dbe1ec;border-radius:10px;background:transparent;color:inherit}.leadform-field input:focus,.leadform-field textarea:focus{outline:2px solid var(--brand);outline-offset:0;border-color:transparent}.leadform-submit{font:inherit;font-weight:700;padding:12px;border:0;border-radius:10px;background:var(--brand);color:#fff;cursor:pointer}.leadform-submit:disabled{opacity:.6;cursor:default}.leadform-done{padding:24px 16px;text-align:center}.leadform-done-title{font-weight:700;font-size:16px;margin:0 0 6px}
