/* Pehechan Prism chatbot — brand colours: green #053B24, gold #D7A033/#BF8526, ivory #FAF6EE */
.ppc-launcher{position:fixed;right:22px;bottom:22px;z-index:90;width:62px;height:62px;border-radius:50%;border:0;cursor:pointer;background:#D7A033;color:#053B24;display:grid;place-items:center;box-shadow:0 12px 30px rgba(5,59,36,.28),0 0 0 4px rgba(250,246,238,.9);transition:transform .2s ease,background .2s ease}
.ppc-launcher:hover{transform:translateY(-2px) scale(1.04);background:#E4B653}
.ppc-launcher:focus-visible{outline:3px solid #053B24;outline-offset:3px}
.ppc-launcher .ppc-i-close{display:none}
.ppc-launcher.ppc-open{background:#053B24;color:#FFFFFF}
.ppc-launcher.ppc-open .ppc-i-chat{display:none}.ppc-launcher.ppc-open .ppc-i-close{display:block}
.ppc-nudge{position:fixed;right:22px;bottom:98px;z-index:89;max-width:250px;padding:14px 34px 14px 16px;border-radius:18px 18px 4px 18px;background:#FFFFFF;color:#053B24;font:500 14px/1.45 Inter,system-ui,sans-serif;box-shadow:0 14px 34px rgba(5,59,36,.18);border:1px solid #E8E1D2;cursor:pointer;opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .3s ease,transform .3s ease}
.ppc-nudge.ppc-show{opacity:1;transform:none;pointer-events:auto}
.ppc-nudge-x{position:absolute;top:4px;right:6px;width:28px;height:28px;border:0;background:none;color:#4A5A52;font-size:18px;cursor:pointer;border-radius:50%}
.ppc-panel{position:fixed;right:22px;bottom:98px;z-index:91;width:380px;max-width:calc(100vw - 32px);height:min(620px,calc(100vh - 130px));display:flex;flex-direction:column;background:#FAF6EE;border-radius:24px;overflow:hidden;box-shadow:0 30px 70px rgba(5,59,36,.30);border:1px solid #E8E1D2;font-family:Inter,system-ui,sans-serif;animation:ppcIn .25s ease}
.ppc-panel[hidden]{display:none}
@keyframes ppcIn{from{opacity:0;transform:translateY(16px) scale(.98)}}
.ppc-head{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#053B24;color:#FFFFFF;border-bottom:3px solid #BF8526}
.ppc-head img{width:40px;height:40px;border-radius:50%;flex:none}
.ppc-head div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ppc-head b{font:600 16px/1.2 Poppins,sans-serif}
.ppc-head small{font-size:12px;color:#C8D6CE;display:flex;align-items:center;gap:6px}
.ppc-head small i{width:8px;height:8px;border-radius:50%;background:#8DBBA2;box-shadow:0 0 0 3px rgba(141,187,162,.25)}
.ppc-x{width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#FFFFFF;font-size:24px;line-height:1;cursor:pointer}
.ppc-x:hover{background:rgba(255,255,255,.16)}
.ppc-log{flex:1;overflow-y:auto;padding:18px 14px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.ppc-msg{max-width:86%;padding:11px 14px;border-radius:18px;font-size:14.5px;line-height:1.5;word-wrap:break-word;animation:ppcMsg .2s ease}
@keyframes ppcMsg{from{opacity:0;transform:translateY(6px)}}
.ppc-bot{align-self:flex-start;background:#FFFFFF;color:#1F3A2C;border:1px solid #EEE7D8;border-bottom-left-radius:6px}
.ppc-bot a{color:#8A5C12;font-weight:600}
.ppc-user{align-self:flex-end;background:#053B24;color:#FFFFFF;border-bottom-right-radius:6px}
.ppc-typing{display:flex;gap:4px;padding:14px 16px}
.ppc-typing span{width:7px;height:7px;border-radius:50%;background:#BF8526;animation:ppcDot 1s infinite ease-in-out}
.ppc-typing span:nth-child(2){animation-delay:.15s}.ppc-typing span:nth-child(3){animation-delay:.3s}
@keyframes ppcDot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.ppc-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 14px 10px}
.ppc-chips:empty{display:none}
.ppc-chip{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;border:1.5px solid #053B24;background:#FFFFFF;color:#053B24;font:600 13.5px/1 Inter,system-ui,sans-serif;cursor:pointer;text-decoration:none;transition:background .15s ease,color .15s ease}
.ppc-chip:hover{background:#053B24;color:#FFFFFF}
.ppc-chip-p{background:#D7A033;border-color:#D7A033;color:#053B24}
.ppc-chip-p:hover{background:#E4B653;border-color:#E4B653;color:#053B24}
.ppc-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #E8E1D2;background:#FFFFFF}
.ppc-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.ppc-in{flex:1;min-width:0;min-height:46px;padding:0 16px;border-radius:999px;border:1.5px solid #DDD4C1;background:#FAF6EE;color:#053B24;font:15px Inter,system-ui,sans-serif}
.ppc-in:focus{outline:none;border-color:#053B24!important;box-shadow:0 0 0 3px rgba(5,59,36,.12)}
.ppc-send{flex:none;width:46px;height:46px;border-radius:50%;border:0;background:#053B24;color:#D7A033;display:grid;place-items:center;cursor:pointer}
.ppc-send:hover{background:#0B4E31}
.ppc-foot{margin:0;padding:0 14px 10px;background:#FFFFFF;font-size:11px;line-height:1.4;color:#6B7A72;text-align:center}
.ppc-foot a{color:#4A5A52}
@media (max-width:520px){
  .ppc-panel{right:0;bottom:0;width:100vw;max-width:100vw;height:100%;max-height:100dvh;border-radius:0;border:0}
  .ppc-launcher{right:16px;bottom:16px}
  .ppc-launcher.ppc-open{display:none}
  .ppc-nudge{right:16px;bottom:90px}
}
@media (prefers-reduced-motion:reduce){.ppc-panel,.ppc-msg{animation:none}.ppc-typing span{animation:none;opacity:.7}}
