/* PaySec chat widget. Inherits the page font; brand colours only. */
.psc-root{--psc-navy:#071931;--psc-blue:#0963FD;--psc-blue-50:#eef4ff;--psc-ink:#1e293b;--psc-muted:#526077;--psc-line:#e2e8f0;--psc-soft:#f6f8fb;--psc-err:#b42318;--psc-amber-bg:#fef3c7;--psc-amber:#92400e;
  position:fixed;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:2147483000;font:inherit;font-size:15px;line-height:1.5;color:var(--psc-ink)}
.psc-root *{box-sizing:border-box}
.psc-launch{display:flex;align-items:center;gap:9px;border:0;cursor:pointer;background:var(--psc-blue);color:#fff;font:inherit;font-weight:600;font-size:15px;padding:13px 20px 13px 16px;border-radius:999px;box-shadow:0 10px 28px rgba(9,99,253,.35)}
.psc-launch svg{width:22px;height:22px;fill:#fff}
.psc-launch:hover{background:#0654d9}
.psc-open .psc-launch span{display:none}
.psc-open .psc-launch{padding:13px}
.psc-panel{position:absolute;right:0;bottom:66px;width:380px;max-width:calc(100vw - 32px);height:min(640px,calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border:1px solid var(--psc-line);border-radius:20px;box-shadow:0 24px 60px rgba(7,25,49,.22);overflow:hidden}
.psc-panel[hidden]{display:none}
.psc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;background:var(--psc-navy);color:#fff;padding:16px 16px 14px 20px}
.psc-head h2{margin:0;font-size:16.5px;font-weight:700;letter-spacing:-.01em;color:#fff}
.psc-head p{margin:2px 0 0;font-size:12.5px;color:#b8c6de}
.psc-head-actions{display:flex;gap:4px}
.psc-icon{background:transparent;border:0;color:#dbe4f3;font-size:20px;line-height:1;width:34px;height:34px;border-radius:9px;cursor:pointer}
.psc-icon:hover{background:rgba(255,255,255,.12);color:#fff}
.psc-log{flex:1;overflow-y:auto;padding:18px 16px 8px;background:var(--psc-soft);display:flex;flex-direction:column;gap:10px}
.psc-msg{max-width:88%;padding:10px 14px;border-radius:16px;font-size:14.5px;overflow-wrap:anywhere}
.psc-bot{align-self:flex-start;background:#fff;border:1px solid var(--psc-line);border-bottom-left-radius:6px}
.psc-me{align-self:flex-end;background:var(--psc-blue);color:#fff;border-bottom-right-radius:6px}
.psc-bot a{color:var(--psc-blue);font-weight:600}
.psc-bot ol{margin:4px 0 0;padding-left:20px}
.psc-bot li{margin:4px 0}
.psc-draft{display:inline-block;background:var(--psc-amber-bg);color:var(--psc-amber);font-size:11px;font-weight:700;border-radius:6px;padding:2px 7px;margin-bottom:6px;letter-spacing:.02em}
.psc-chips{display:flex;flex-wrap:wrap;gap:7px;padding-left:2px}
.psc-chip{font:inherit;font-size:13.5px;font-weight:600;color:var(--psc-blue);background:#fff;border:1px solid #bfd3fb;border-radius:999px;padding:7px 13px;cursor:pointer;text-align:left}
.psc-chip:hover{background:var(--psc-blue-50)}
.psc-chip-p{background:var(--psc-blue);color:#fff;border-color:var(--psc-blue)}
.psc-chip-p:hover{background:#0654d9}
.psc-used{display:none}
.psc-gate{align-self:stretch;background:#fff;border:1px solid var(--psc-line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:6px}
.psc-gate label{font-size:13px;font-weight:600;color:var(--psc-navy)}
.psc-gate input[type=text],.psc-gate input[type=email]{font:inherit;font-size:15px;border:1px solid #cbd5e1;border-radius:10px;padding:10px 12px;margin-bottom:4px;color:var(--psc-ink);background:#fff}
.psc-gate input:focus{outline:2px solid var(--psc-blue);outline-offset:1px;border-color:var(--psc-blue)}
.psc-gate input[aria-invalid=true]{border-color:var(--psc-err)}
.psc-consent{display:flex;gap:8px;align-items:flex-start;font-weight:400!important;color:var(--psc-muted)!important;font-size:12.5px!important;margin-top:4px}
.psc-consent input{margin-top:3px;accent-color:var(--psc-blue)}
.psc-consent a{color:var(--psc-blue)}
.psc-err{margin:0 0 4px;font-size:12.5px;color:var(--psc-err)}
.psc-sugg{background:var(--psc-blue-50);border:1px solid #cfe0ff;border-radius:10px;padding:10px 12px;font-size:13.5px;color:var(--psc-navy)}
.psc-sugg div{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.psc-mini{font:inherit;font-size:12.5px;font-weight:600;border:1px solid #bfd3fb;background:#fff;color:var(--psc-blue);border-radius:8px;padding:5px 10px;cursor:pointer}
.psc-btn{font:inherit;font-weight:700;font-size:15px;margin-top:6px;border:0;border-radius:10px;padding:11px;background:var(--psc-blue);color:#fff;cursor:pointer}
.psc-btn:disabled{opacity:.6;cursor:default}
.psc-status{margin:4px 0 0;font-size:13px;color:var(--psc-muted);display:flex;align-items:center;gap:8px}
.psc-spin{width:14px;height:14px;border:2px solid #cbd5e1;border-top-color:var(--psc-blue);border-radius:50%;animation:psc-r .8s linear infinite}
@keyframes psc-r{to{transform:rotate(360deg)}}
.psc-dots{display:inline-flex;gap:4px;padding:4px 0}
.psc-dots i{width:6px;height:6px;border-radius:50%;background:#94a3b8;animation:psc-b 1s infinite}
.psc-dots i:nth-child(2){animation-delay:.15s}.psc-dots i:nth-child(3){animation-delay:.3s}
@keyframes psc-b{0%,80%,100%{opacity:.3}40%{opacity:1}}
.psc-input{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--psc-line);background:#fff}
.psc-input[hidden]{display:none}
.psc-input input{flex:1;min-width:0;font:inherit;font-size:15px;border:1px solid #cbd5e1;border-radius:999px;padding:10px 16px;color:var(--psc-ink)}
.psc-input input:focus{outline:2px solid var(--psc-blue);outline-offset:1px}
.psc-input button{border:0;width:42px;height:42px;border-radius:50%;background:var(--psc-blue);color:#fff;font-size:16px;cursor:pointer}
.psc-foot{margin:0;padding:6px 14px 10px;font-size:11.5px;color:var(--psc-muted);background:#fff;text-align:center}
.psc-foot a{color:var(--psc-blue)}
.psc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.psc-root button:focus-visible,.psc-root a:focus-visible{outline:2px solid var(--psc-blue);outline-offset:2px}
.psc-head .psc-icon:focus-visible{outline-color:#fff}
@media (max-width:480px){
  .psc-root{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .psc-panel{position:fixed;inset:0;width:auto;max-width:none;height:auto;border-radius:0;border:0;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
  .psc-open .psc-launch{display:none}
}
@media (prefers-reduced-motion:reduce){.psc-spin,.psc-dots i{animation:none}}
