.pwchat{--c-accent:var(--accent,#2456d6);--c-text:var(--text,#0a0d14);--c-muted:var(--muted,#0a0d14a8);--c-line:var(--hairline,#121c3c17);--c-fill:var(--fill,#121c3c0b);--c-surface:var(--glass-solid,#fff);--c-ok:#137a3a;--c-bad:#b42318;right:max(16px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom));z-index:60;color:var(--c-text);font:15px/1.45 -apple-system,Segoe UI,Roboto,sans-serif;position:fixed}.pwchat-fab{cursor:pointer;background:var(--grad,var(--c-accent));color:#fff;height:48px;font:inherit;border:0;border-radius:999px;align-items:center;gap:8px;padding:0 18px 0 14px;font-weight:650;display:inline-flex;box-shadow:0 14px 30px -12px #121c3c8c}.pwchat-fab:focus-visible{outline:3px solid var(--ring,#2456d659);outline-offset:2px}.pwchat.open .pwchat-fab{display:none}.pwchat-panel{background:var(--c-surface);border:1px solid var(--c-line);width:min(380px,100vw - 32px);height:min(600px,100dvh - 32px);box-shadow:var(--shadow-deep,0 34px 70px -30px #16225061);border-radius:18px;flex-direction:column;display:flex;overflow:hidden}.pwchat-panel[hidden]{display:none}.pwchat-panel header{border-bottom:1px solid var(--c-line);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.pwchat-panel header strong{font-size:16px;display:block}.pwchat-panel header small{color:var(--c-muted);font-size:12.5px}.pwchat-close{cursor:pointer;background:var(--c-fill);width:34px;height:34px;color:var(--c-text);border:0;border-radius:10px;font-size:22px;line-height:1}.pwchat-log{overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;padding:14px 14px 6px;display:flex;overflow-y:auto}.pwchat-msg{word-wrap:break-word;border-radius:14px;max-width:88%;padding:9px 13px}.pwchat-msg p{margin:0 0 6px}.pwchat-msg p:last-child{margin-bottom:0}.pwchat-msg ul{margin:0 0 6px;padding-left:18px}.pwchat-msg a{color:inherit;text-decoration:underline}.pwchat-msg.assistant{background:var(--c-fill);border-bottom-left-radius:4px;align-self:flex-start}.pwchat-msg.assistant a{color:var(--c-accent)}.pwchat-msg.user{background:var(--c-accent);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.pwchat-msg.card{border:1px solid var(--c-line);background:var(--c-surface);align-self:stretch;max-width:none}.pwchat-msg.typing{gap:4px;padding:13px;display:flex}.pwchat-msg.typing span{background:var(--c-muted);border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite pwchat-dot}.pwchat-msg.typing span:nth-child(2){animation-delay:.15s}.pwchat-msg.typing span:nth-child(3){animation-delay:.3s}@keyframes pwchat-dot{0%,80%,to{opacity:.25}40%{opacity:1}}.pwchat-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.pwchat-actions button,.pwchat-chips button,.pwchat-human{font:inherit;cursor:pointer;border-radius:999px;font-size:14px}.pwchat-actions .yes{background:var(--c-accent);color:#fff;border:0;padding:8px 14px;font-weight:600}.pwchat-actions .no{border:1px solid var(--c-line);color:var(--c-text);background:0 0;padding:8px 14px}.pwchat-actions button:disabled{opacity:.55;cursor:default}.pwchat .result{margin:6px 0 0;font-size:14px}.pwchat .result.ok{color:var(--c-ok)}.pwchat .result.bad{color:var(--c-bad)}.pwchat-contact label{color:var(--c-muted);margin:8px 0 0;font-size:13.5px;display:block}.pwchat-contact input,.pwchat-contact textarea{box-sizing:border-box;border:1px solid var(--c-line);width:100%;font:inherit;color:var(--c-text);background:var(--field,#fff);border-radius:10px;margin-top:4px;padding:8px 10px;display:block}.pwchat-chips{flex-wrap:wrap;gap:6px;padding:0 14px 8px;display:flex}.pwchat-chips:empty{display:none}.pwchat-chips button{border:1px solid var(--c-line);background:var(--c-surface);color:var(--c-accent);padding:6px 11px}.pwchat-input{border-top:1px solid var(--c-line);align-items:flex-end;gap:8px;padding:10px 12px;display:flex}.pwchat-input textarea{resize:none;border:1px solid var(--c-line);max-height:120px;font:inherit;color:var(--c-text);background:var(--field,#fff);border-radius:12px;flex:1;padding:9px 12px}.pwchat-input textarea:focus,.pwchat-contact input:focus,.pwchat-contact textarea:focus{outline:2px solid var(--ring,#2456d64d);border-color:#0000}.pwchat-input button{cursor:pointer;background:var(--c-accent);color:#fff;border:0;border-radius:12px;flex:none;width:40px;height:40px}.pwchat-human{color:var(--c-muted);background:0 0;border:0;padding:0 0 10px;font-size:13px;text-decoration:underline}@media (max-width:480px){.pwchat.open{left:16px}.pwchat-panel{width:100%}}@media (prefers-reduced-motion:reduce){.pwchat-msg.typing span{opacity:.6;animation:none}}
