/* All appearance changes are confined to this widget; no page/global selectors. */
[data-pranishth-chat] [hidden]{display:none!important}
[data-pranishth-chat] [data-chat-header],
[data-pranishth-chat] [data-chat-toggle],
[data-pranishth-chat] [data-chat-send],
[data-pranishth-chat] [data-chat-bubble=user]{background-color:var(--pg-bot-primary);color:var(--pg-bot-header-text)}
[data-pranishth-chat] [data-chat-header] .text-white{color:var(--pg-bot-header-text)}
[data-pranishth-chat] [data-chat-window],
[data-pranishth-chat] [data-chat-input-footer],
[data-pranishth-chat] [data-chat-bubble=rep],
[data-pranishth-chat] [data-chat-typing],
[data-pranishth-chat] [data-chat-chips]>:is(a,button){background-color:var(--pg-bot-surface)}
[data-pranishth-chat] [data-chat-scroll]{background-color:var(--pg-bot-background)}
[data-pranishth-chat] [data-chat-bubble=rep]{color:var(--pg-bot-text)}
[data-pranishth-chat] [data-chat-unread]{background-color:var(--pg-bot-unread)}
[data-pranishth-chat] [data-chat-toggle][aria-expanded=true]{background-color:var(--pg-bot-primary-open)}
[data-pranishth-chat] [data-chat-toggle][aria-expanded=true]:hover{background-color:var(--pg-bot-primary-open-hover)}
[data-pranishth-chat] [data-chat-toggle]:not([aria-expanded=true]):hover,
[data-pranishth-chat] [data-chat-send]:not(:disabled):hover{background-color:var(--pg-bot-accent)}
[data-pranishth-chat] [data-chat-chips] svg{color:var(--pg-bot-accent)}
[data-pranishth-chat] [data-chat-whatsapp]{color:var(--pg-bot-whatsapp-color)}
[data-pranishth-chat] [data-chat-input]{min-width:0}
[data-pranishth-chat] [data-chat-bubble]{overflow-wrap:anywhere}
[data-pranishth-chat] :is(button,a):focus-visible{outline:2px solid var(--pg-bot-accent);outline-offset:2px}
/* Standalone presentation when used with another WordPress theme. */
.pg-bot-standalone{font-family:Arial,sans-serif;font-size:14px;line-height:1.5;text-align:left;color:var(--pg-bot-text)}
.pg-bot-standalone *{box-sizing:border-box}
.pg-bot-standalone button,.pg-bot-standalone input{font:inherit}
.pg-bot-standalone button{cursor:pointer;border:0}
.pg-bot-standalone svg{width:20px;height:20px;flex-shrink:0}
.pg-bot-standalone>div:first-child{position:fixed;bottom:24px;right:24px;z-index:40;display:flex;align-items:center;gap:10px}
.pg-bot-standalone [data-chat-toggle]{position:relative;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 15px -3px #0002;transition:background .3s,transform .3s}
.pg-bot-standalone [data-chat-toggle]:hover{transform:scale(1.05)}
.pg-bot-standalone [data-chat-icon-open],.pg-bot-standalone [data-chat-icon-close]{display:contents}
.pg-bot-standalone [data-chat-unread]{position:absolute;right:0;top:0;width:12px;height:12px;border:2px solid white;border-radius:50%}
.pg-bot-standalone [data-chat-pill]{display:none;background:#fffffff2;padding:8px 14px;border:1px solid #e4e4e7;border-radius:50px;font-size:12px;box-shadow:0 4px 6px #0002}
.pg-bot-standalone [data-chat-window]{position:fixed;bottom:88px;right:16px;z-index:50;width:92vw;height:520px;max-height:82vh;border:1px solid #e4e4e7;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 50px #00000024}
.pg-bot-standalone [data-chat-header]{display:flex;align-items:center;justify-content:space-between;padding:14px 16px}
.pg-bot-standalone [data-chat-header]>div:first-child{display:flex;gap:12px;align-items:center}
.pg-bot-standalone [data-chat-header]>div:first-child>div:first-child{position:relative;width:32px;height:32px;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center}
.pg-bot-standalone [data-chat-header]>div:first-child svg{width:24px;height:24px}
.pg-bot-standalone [data-chat-header]>div:first-child>div:nth-child(2)>div:first-child{font-size:14px;font-weight:600;line-height:1.25}
.pg-bot-standalone [data-chat-header]>div:first-child>div:nth-child(2)>div:nth-child(2){font-size:11px;color:#a1a1aa;margin-top:2px}
.pg-bot-standalone [data-chat-header]>div:last-child{display:flex;gap:4px}
.pg-bot-standalone [data-chat-header] button{background:transparent;color:#a1a1aa;padding:6px;border-radius:8px}
.pg-bot-standalone [data-chat-header] button svg{width:16px;height:16px}
.pg-bot-standalone [data-chat-scroll]{flex:1;overflow-y:auto;padding:16px}
.pg-bot-standalone [data-chat-message]{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:14px}
.pg-bot-standalone [data-chat-message]:has([data-chat-bubble=user]){align-items:flex-end}
.pg-bot-standalone [data-chat-bubble]{max-width:85%;border-radius:16px;padding:10px 16px;font-size:13px;line-height:1.625;box-shadow:0 1px 2px #0001}
.pg-bot-standalone [data-chat-bubble=rep]{border:1px solid #e4e4e7;border-top-left-radius:2px}
.pg-bot-standalone [data-chat-bubble=user]{border-top-right-radius:2px}
.pg-bot-standalone [data-chat-bubble] p{margin:0;white-space:pre-line}
.pg-bot-standalone [data-chat-message]>span{font-size:10px;color:#a1a1aa;margin-top:4px;padding:0 4px}
.pg-bot-standalone [data-chat-chips]{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;max-width:95%}
.pg-bot-standalone [data-chat-chips]>:is(a,button){display:flex;align-items:center;gap:6px;font-size:11px;font-weight:500;color:#3f3f46;padding:6px 12px;border:1px solid #e4e4e7;border-radius:50px;text-decoration:none;text-align:left}
.pg-bot-standalone [data-chat-chips] svg{width:10px;height:10px}
.pg-bot-standalone [data-chat-typing]{width:60px;padding:8px 12px;border:1px solid #e4e4e7;border-radius:16px;display:flex;gap:6px}
.pg-bot-standalone [data-chat-typing] span{width:6px;height:6px;border-radius:50%;background:#a1a1aa;animation:pg-bot-pulse 1s infinite}
.pg-bot-standalone [data-chat-input-footer]{padding:12px;border-top:1px solid #e4e4e7}
.pg-bot-standalone [data-chat-form]{display:flex;align-items:center;gap:8px;border:1px solid #e4e4e7;background:#fafafa;border-radius:50px;padding:6px 12px}
.pg-bot-standalone [data-chat-input]{flex:1;border:0;padding:0 4px;background:transparent;font-size:12px}
.pg-bot-standalone [data-chat-send]{width:28px;height:28px;flex-shrink:0;border-radius:50%;display:flex;align-items:center;justify-content:center}
.pg-bot-standalone [data-chat-send] svg{width:14px;height:14px}
.pg-bot-standalone [data-chat-send]:disabled{opacity:.3;cursor:default}
.pg-bot-standalone [data-chat-input-footer]>div{display:flex;justify-content:space-between;margin-top:8px;font-size:10px;color:#a1a1aa;padding:0 4px}
.pg-bot-standalone [data-chat-whatsapp]{font-weight:500;text-decoration:none}
@media(min-width:640px){.pg-bot-standalone [data-chat-toggle]{width:52px;height:52px}.pg-bot-standalone [data-chat-pill]{display:inline-flex}.pg-bot-standalone [data-chat-window]{width:380px;bottom:96px;right:24px}}
@keyframes pg-bot-pulse{50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){[data-pranishth-chat] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
