.psa-root{--psa-accent:#d71920;position:fixed;z-index:999999;bottom:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#151515}.psa-root.psa-right{right:24px}.psa-root.psa-left{left:24px}.psa-root *{box-sizing:border-box}.psa-bubble{position:relative;width:64px;height:64px;border:0;border-radius:50%;background:var(--psa-accent);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 16px 38px rgba(0,0,0,.24);transition:transform .25s ease,box-shadow .25s ease}.psa-bubble:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 20px 46px rgba(0,0,0,.3)}.psa-bubble svg{width:34px;height:34px;position:relative;z-index:2}.psa-pulse{position:absolute;inset:-8px;border-radius:50%;border:2px solid color-mix(in srgb,var(--psa-accent) 65%,transparent);animation:psaPulse 2.2s infinite}.psa-unread{position:absolute;right:-1px;top:-2px;min-width:20px;height:20px;border-radius:20px;background:#111;color:#fff;border:2px solid #fff;font-size:11px;line-height:16px;font-weight:700}.psa-notify{animation:psaNudge .8s ease}.psa-panel{position:absolute;bottom:78px;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100vh - 120px));background:#fff;border:1px solid #e8e8e8;border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.24);overflow:hidden;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(14px) scale(.98);transform-origin:bottom right;transition:opacity .22s ease,transform .22s ease,visibility .22s}.psa-right .psa-panel{right:0}.psa-left .psa-panel{left:0;transform-origin:bottom left}.psa-panel.is-open{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.psa-header{height:76px;flex:none;background:#111;color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px}.psa-avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--psa-accent);flex:none}.psa-avatar svg{width:27px}.psa-header>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.psa-header strong{font-size:15px;line-height:1.3}.psa-header span{font-size:12px;color:#c9c9c9;margin-top:3px}.psa-header #psa-close{margin-left:auto;border:0;background:transparent;color:#fff;font-size:30px;line-height:1;width:36px;height:36px;cursor:pointer;border-radius:50%}.psa-header #psa-close:hover{background:rgba(255,255,255,.1)}.psa-intake{padding:34px 26px;overflow:auto;text-align:center}.psa-intake-mark{width:70px;height:70px;background:#fff0f1;color:var(--psa-accent);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}.psa-intake-mark svg{width:42px}.psa-intake h3{font-size:22px;line-height:1.2;margin:0 0 8px;color:#111}.psa-intake>p{margin:0 0 24px;color:#666}.psa-intake label,.psa-callback-form label{display:block;text-align:left;font-size:12px;font-weight:700;color:#333;margin-bottom:14px}.psa-intake input[type=text],.psa-callback-form input,.psa-callback-form textarea{width:100%;margin-top:7px;border:1px solid #d8d8d8;border-radius:10px;padding:12px 13px;font:inherit;background:#fff;color:#111;outline:none}.psa-intake input:focus,.psa-callback-form input:focus,.psa-callback-form textarea:focus{border-color:var(--psa-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--psa-accent) 12%,transparent)}.psa-consent{display:flex!important;align-items:flex-start;gap:9px;font-weight:400!important;line-height:1.45!important;color:#666!important}.psa-consent input{margin-top:3px;flex:none}.psa-intake button[type=submit],.psa-callback-form button{width:100%;border:0;border-radius:11px;background:var(--psa-accent);color:#fff;font-weight:700;padding:13px 16px;cursor:pointer}.psa-intake button:disabled,.psa-callback-form button:disabled{opacity:.6;cursor:wait}.psa-form-status{font-size:12px;color:#b42318;margin:10px 0 0}.psa-chat-view{min-height:0;flex:1;display:flex;flex-direction:column;background:#f7f7f7}.psa-mode-banner{background:#fff5f5;border-bottom:1px solid #ffd8da;color:#7f1116;padding:10px 14px;font-size:12px;line-height:1.4}.psa-messages{flex:1;min-height:0;overflow-y:auto;padding:18px 14px;scroll-behavior:smooth}.psa-message{max-width:84%;margin:0 0 12px;display:flex;flex-direction:column;align-items:flex-start}.psa-message small{font-size:10px;color:#777;margin:0 7px 4px}.psa-message-text{padding:11px 13px;border-radius:15px;font-size:14px;line-height:1.48;box-shadow:0 2px 8px rgba(0,0,0,.05);word-break:break-word}.psa-message-user{margin-left:auto;align-items:flex-end}.psa-message-user .psa-message-text{background:var(--psa-accent);color:#fff;border-bottom-right-radius:5px}.psa-message-assistant .psa-message-text,.psa-message-agent .psa-message-text{background:#fff;color:#222;border-bottom-left-radius:5px}.psa-message-agent .psa-message-text{border-left:3px solid var(--psa-accent)}.psa-message-system{max-width:100%;margin:8px auto;text-align:center;align-items:center}.psa-message-system .psa-message-text{background:transparent;box-shadow:none;color:#777;font-size:11px;padding:3px}.psa-service-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px;max-width:100%}.psa-service-chip,.psa-quick-prompts button{border:1px solid #e2e2e2;background:#fff;color:#252525;border-radius:999px;padding:8px 11px;font-size:12px;cursor:pointer;text-align:left}.psa-service-chip:hover,.psa-quick-prompts button:hover{border-color:var(--psa-accent);color:var(--psa-accent)}.psa-quick-prompts{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:2px 0 12px}.psa-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}.psa-actions button,.psa-actions a{border:0;border-radius:9px;padding:9px 11px;background:#111;color:#fff;font-size:12px;text-decoration:none;cursor:pointer}.psa-actions a{background:#118c4f}.psa-callback-form{width:285px;max-width:100%;background:#fff;padding:13px;margin-top:9px;border:1px solid #e3e3e3;border-radius:12px}.psa-callback-form label{font-size:11px;margin-bottom:9px}.psa-success{color:#176b3a;font-size:13px;margin:0}.psa-typing{padding:0 18px 8px;display:flex;gap:4px}.psa-typing span{width:7px;height:7px;border-radius:50%;background:#999;animation:psaTyping 1.1s infinite}.psa-typing span:nth-child(2){animation-delay:.15s}.psa-typing span:nth-child(3){animation-delay:.3s}.psa-human-row{padding:8px 14px 4px;background:#fff;border-top:1px solid #eee}.psa-human-row button{border:0;background:transparent;color:var(--psa-accent);font-size:12px;font-weight:700;cursor:pointer;padding:4px}.psa-message-form{display:flex;align-items:flex-end;gap:8px;background:#fff;padding:10px 12px;border-top:1px solid #eee}.psa-message-form textarea{flex:1;resize:none;border:1px solid #ddd;border-radius:13px;padding:11px 12px;max-height:110px;outline:none;font:inherit;font-size:14px;line-height:1.4;color:#111;background:#fff}.psa-message-form textarea:focus{border-color:var(--psa-accent)}.psa-message-form>button{width:42px;height:42px;border-radius:50%;border:0;background:var(--psa-accent);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}.psa-message-form>button svg{width:20px}.psa-message-form.is-disabled{opacity:.55}.psa-footer{text-align:center;background:#fff;color:#999;font-size:10px;padding:0 8px 8px}.psa-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.psa-admin-notice{font-size:10px;color:#8a5b00;background:#fff8e5;padding:6px 8px;border-radius:7px;margin:6px 0}@keyframes psaPulse{0%{transform:scale(.8);opacity:.7}70%,100%{transform:scale(1.35);opacity:0}}@keyframes psaTyping{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}@keyframes psaNudge{0%,100%{transform:rotate(0)}25%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}75%{transform:rotate(-4deg)}}@media(max-width:520px){.psa-root{bottom:14px}.psa-root.psa-right{right:14px}.psa-root.psa-left{left:14px}.psa-panel{position:fixed;left:10px!important;right:10px!important;bottom:88px;width:auto;height:min(700px,calc(100vh - 108px));border-radius:18px}.psa-bubble{width:58px;height:58px}.psa-message{max-width:90%}}@media(prefers-reduced-motion:reduce){.psa-root *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
