.shell.hp-host{--hp-av-bg:#e4f1e8;display:contents}.hp-host .hp-bubble,.hp-host .hp-panel{z-index:57;font-family:var(--font);-webkit-font-smoothing:antialiased;position:fixed;bottom:24px;right:24px}.hp-host .hp-bubble{border:1px solid var(--c-border-strong);background:var(--hp-av-bg);width:52px;height:52px;box-shadow:var(--c-pop);cursor:pointer;border-radius:50%;place-items:center;padding:0;transition:border-color .15s,transform .15s;display:grid;overflow:hidden}.hp-host .hp-bubble:hover{border-color:var(--c-accent-fg)}.hp-host .hp-bubble:active{transform:scale(.96)}.hp-host .hp-bubble img{object-fit:cover;width:100%;height:100%}.hp-host .hp-panel{border:1px solid var(--c-border-strong);background:var(--c-raised);width:380px;height:min(600px,100dvh - 48px);box-shadow:var(--c-pop);color:var(--c-text);border-radius:16px;flex-direction:column;font-size:14px;line-height:1.6;animation:.16s ease-out hp-in;display:flex;overflow:hidden}@keyframes hp-in{0%{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion:reduce){.hp-host .hp-panel{animation:none}}.hp-host .hp-top{border-bottom:1px solid var(--c-border);flex:none;align-items:center;gap:12px;height:56px;padding:0 8px 0 16px;display:flex}.hp-host .hp-av{background:var(--hp-av-bg);border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid;overflow:hidden}.hp-host .hp-av img{object-fit:cover;width:100%;height:100%}.hp-host .hp-who{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.hp-host .hp-who b{font-size:14px;font-weight:600}.hp-host .hp-who small{color:var(--c-text-3);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.hp-host .hp-icon{border-radius:var(--c-r);width:32px;height:32px;color:var(--c-text-3);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:grid}.hp-host .hp-icon:hover{background:var(--c-hover);color:var(--c-text)}.hp-host .hp-icon svg{width:18px;height:18px}.hp-host .hp-log{overscroll-behavior:contain;flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex;overflow-y:auto}.hp-host .hp-hello{text-align:center;flex-direction:column;align-items:center;margin:auto 0;padding:8px 0;display:flex}.hp-host .hp-hello-av{background:var(--hp-av-bg);border-radius:50%;place-items:center;width:64px;height:64px;margin-bottom:12px;display:grid;overflow:hidden}.hp-host .hp-hello-av img{object-fit:cover;width:100%;height:100%}.hp-host .hp-hello-t{margin:0;font-size:15px;font-weight:600}.hp-host .hp-hello-s{color:var(--c-text-3);margin:4px 0 0;font-size:13px}.hp-host .hp-sugs{flex-direction:column;gap:8px;width:100%;margin-top:24px;display:flex}.hp-host .hp-sug{border:1px solid var(--c-border);width:100%;color:var(--c-text-2);font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:10px;padding:8px 12px;font-size:13px;line-height:1.5;transition:border-color .15s,color .15s}.hp-host .hp-sug:hover{border-color:var(--c-border-hover);color:var(--c-text)}.hp-host .hp-hello-note{text-wrap:balance;color:var(--c-text-3);margin:16px 0 0;font-size:12px;line-height:1.5}.hp-host .hp-hello-note span{display:block}.hp-host .hp-msg{overflow-wrap:anywhere;max-width:100%}.hp-host .hp-user{background:var(--c-surface-hover);white-space:pre-wrap;border-radius:14px 14px 4px;align-self:flex-end;max-width:85%;padding:8px 12px}.hp-host .hp-bot{align-self:stretch}.hp-host .hp-md>*{margin:0}.hp-host .hp-md>*+*{margin-top:8px}.hp-host .hp-md .hp-h{font-weight:600}.hp-host .hp-md :is(ul,ol){padding-left:20px}.hp-host .hp-md li+li{margin-top:4px}.hp-host .hp-md li::marker{color:var(--c-text-3)}.hp-host .hp-md strong{font-weight:600}.hp-host .hp-md code{border:1px solid var(--c-inline-code-line);background:var(--c-inline-code-bg);color:var(--c-inline-code-text);font-family:var(--mono);border-radius:4px;padding:1px 4px;font-size:12px}.hp-host .hp-md a{color:var(--c-accent-fg);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--c-accent-fg) 40%, transparent);text-decoration-color:color-mix(in srgb, var(--c-accent-fg) 40%, transparent);text-underline-offset:3px}.hp-host .hp-md a:hover{text-decoration-color:currentColor}.hp-host .hp-stopped{color:var(--c-text-3);margin-top:4px;font-size:12px;display:block}.hp-host .hp-typing{gap:4px;padding:8px 0;display:inline-flex}.hp-host .hp-typing i{background:var(--c-text-3);border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite hp-dot}.hp-host .hp-typing i:nth-child(2){animation-delay:.15s}.hp-host .hp-typing i:nth-child(3){animation-delay:.3s}@keyframes hp-dot{0%,60%,to{opacity:.3}30%{opacity:1}}.hp-host .hp-fail{border:1px solid var(--c-warn-line);background:var(--c-warn-bg);color:var(--c-text);border-radius:10px;grid-template-columns:16px 1fr;gap:4px 8px;padding:12px;font-size:13px;display:grid}.hp-host .hp-fail svg{width:16px;height:16px;color:var(--c-warn-text);margin-top:2px}.hp-host .hp-fail p{margin:0}.hp-host .hp-fail-acts{grid-column:2;align-items:center;gap:12px;margin-top:4px;display:flex}.hp-host .hp-retry{border:1px solid var(--c-border-strong);border-radius:var(--c-r-xs);background:var(--c-raised);height:28px;color:var(--c-text);font:inherit;cursor:pointer;padding:0 12px;font-size:13px;font-weight:600}.hp-host .hp-retry:hover{border-color:var(--c-border-hover)}.hp-host .hp-fail-link{color:var(--c-accent-fg);font-size:13px}.hp-host .hp-compose{border:1px solid var(--c-input-line);background:var(--c-field);border-radius:12px;flex:none;align-items:flex-end;gap:8px;margin:0 12px 12px;padding:8px 8px 8px 12px;transition:border-color .15s,box-shadow .15s;display:flex}.hp-host .hp-compose:focus-within{border-color:var(--c-accent-fg);box-shadow:0 0 0 3px var(--c-focus)}.hp-host .hp-compose textarea{min-width:0;height:32px;max-height:92px;color:var(--c-text);font:inherit;resize:none;background:0 0;border:0;outline:0;flex:1;margin:0;padding:6px 0;font-size:14px;line-height:20px}.hp-host .hp-compose textarea::placeholder{color:var(--c-text-3)}.hp-host .hp-send{background:var(--c-accent);width:32px;height:32px;color:var(--c-on-accent);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;transition:background .15s,opacity .15s;display:grid}.hp-host .hp-send:hover:not(:disabled){background:var(--c-accent-hover)}.hp-host .hp-send:disabled{opacity:.35;cursor:default}.hp-host .hp-send svg{stroke-width:2.2px;width:18px;height:18px}.hp-host .hp-stop{border:1px solid var(--c-border-strong);background:var(--c-raised);color:var(--c-text)}.hp-host .hp-stop:hover:not(:disabled){background:var(--c-hover)}.hp-host .hp-stop svg{fill:currentColor;stroke:none;width:14px;height:14px}.hp-host :is(.hp-bubble,.hp-icon,.hp-sug,.hp-retry,.hp-send,.hp-md a,.hp-fail-link):focus-visible{outline:2px solid var(--c-accent-fg);outline-offset:2px}@media (width<=560px){.hp-host .hp-panel{width:auto;height:auto;box-shadow:none;border:0;border-radius:0;inset:0}.hp-host .hp-bubble{bottom:16px;right:16px}.hp-host .hp-compose{margin-bottom:max(12px, env(safe-area-inset-bottom))}}
