.cpg { --cpg-ink:#102638; --cpg-navy:#06182c; --cpg-blue:#0b4565; --cpg-teal:#1caaaf; font:16px/1.45 Figtree,Arial,sans-serif; color:var(--cpg-ink); position:fixed; bottom:20px; right:20px; z-index:99990; }
.cpg *, .cpg *::before, .cpg *::after { box-sizing:border-box; }
.cpg [hidden] { display:none!important; }
.cpg button, .cpg input, .cpg select { font:inherit; }
.cpg button { cursor:pointer; border:0; }
.cpg button:disabled { cursor:wait; opacity:.6; }
.cpg :focus-visible { outline:3px solid #1589ba; outline-offset:3px; }
.cpg-launch { border-radius:40px; display:flex; gap:10px; align-items:center; background:var(--cpg-navy); color:white; padding:14px 20px; min-height:52px; box-shadow:0 5px 25px #06182c30; font-weight:750!important; }
.cpg-launch svg { width:25px; height:25px; stroke:#39c6d5; fill:none; stroke-width:1.7; }
.cpg-nudge { position:absolute; bottom:76px; right:0; width:300px; display:flex; background:white; border:1px solid #c8daeb; border-top:3px solid var(--cpg-teal); box-shadow:0 10px 25px #06182c20; border-radius:14px; overflow:hidden; }
.cpg-nudge-text { flex:1; padding:18px; text-align:left; background:white; color:var(--cpg-ink); font-weight:650!important; }
.cpg-dismiss { align-self:start; background:white; padding:7px 12px; font-size:24px!important; color:var(--cpg-blue); }
.cpg-panel { width:400px; max-width:calc(100vw - 32px); max-height:min(760px,calc(100dvh - 40px)); display:flex; flex-direction:column; background:white; border:1px solid #c8daeb; border-radius:20px; overflow:hidden; box-shadow:0 12px 55px #06182c40; }
.cpg-header { display:flex; align-items:center; justify-content:space-between; background:var(--cpg-navy); color:white; padding:18px 20px; border-bottom:3px solid var(--cpg-teal); flex-shrink:0; }
.cpg-header strong { font-size:18px; }
.cpg-header small { display:block; font-size:12px; color:#c7e7f0; margin-top:3px; }
.cpg-close { width:40px; height:40px; border-radius:50%; font-size:27px!important; color:white; background:#ffffff15; }
.cpg-intro, .cpg-lead { padding:22px; overflow:auto; min-height:0; }
.cpg h2 { font-size:25px; line-height:1.15; letter-spacing:-.02em; margin:12px 0 16px; color:var(--cpg-ink); }
.cpg p { margin:0 0 14px; }
.cpg a { color:var(--cpg-blue); text-decoration:underline; }
.cpg-kicker { font-size:11px; letter-spacing:.15em; color:var(--cpg-blue); font-weight:750; }
.cpg-notice { padding:14px; background:#f1f7fe; border-radius:10px; font-size:13px; }
.cpg-primary { background:var(--cpg-blue); color:white; border-radius:8px; padding:12px 18px; font-weight:750!important; min-height:44px; }
.cpg-begin { width:100%; margin-top:12px; }
.cpg-conversation { min-height:0; display:flex; flex-direction:column; overflow:auto; }
.cpg-log { min-height:130px; max-height:310px; overflow-y:auto; padding:16px; background:#f4f8fc; flex:1 1 auto; }
.cpg-message { border:1px solid #dce6ee; padding:12px 14px; margin-bottom:12px; border-radius:12px 12px 12px 3px; background:white; overflow-wrap:anywhere; font-size:14px; }
.cpg-message p { margin:0; white-space:pre-wrap; }
.cpg-message a { display:block; margin-top:9px; }
.cpg-message button { display:block; width:100%; padding:10px 12px; border:1px solid #b9d1e0; border-radius:8px; background:#f1f7fe; text-align:left; margin-top:8px; color:var(--cpg-blue); font-size:13px; }
.cpg-visitor { margin-left:30px; background:var(--cpg-blue); border-color:var(--cpg-blue); color:white; border-radius:12px 12px 3px 12px; }
.cpg-options { padding:12px 16px 6px; display:flex; gap:6px; flex-wrap:wrap; flex-shrink:0; }
.cpg-options p { width:100%; font-size:13px; font-weight:700; margin-bottom:3px; }
.cpg-options button { padding:7px 10px; font-size:12px; color:var(--cpg-blue); background:#edf6fc; border:1px solid #c5dbea; border-radius:8px; min-height:36px; }
.cpg-question { display:flex; padding:10px 16px; gap:8px; margin:0; flex-shrink:0; }
.cpg-question input { min-width:0; flex:1; padding:10px; border-radius:8px; border:1px solid #8da8ba; background:white; color:var(--cpg-ink); font-size:14px; }
.cpg-question button { color:white; background:var(--cpg-blue); border-radius:8px; padding:8px 12px; font-size:13px; }
.cpg-actions { display:flex; justify-content:space-between; gap:8px; padding:0 16px 12px; flex-shrink:0; }
.cpg-actions button, .cpg-back { color:var(--cpg-blue); background:transparent; padding:5px 0; font-size:12px; text-decoration:underline; }
.cpg-lead label { display:block; font-size:13px; font-weight:650; margin-bottom:12px; }
.cpg-lead input:not([type=checkbox]), .cpg-lead select { display:block; width:100%; padding:10px; border:1px solid #8da8ba; border-radius:7px; color:var(--cpg-ink); background:white; margin-top:4px; }
.cpg-lead .cpg-check { display:flex; gap:10px; align-items:start; font-weight:400; }
.cpg-check input { flex:none; width:18px; height:18px; margin:1px 0 0; accent-color:var(--cpg-blue); }
.cpg-lead > p { font-size:14px; }
.cpg-lead .cpg-back { margin-left:16px; }
.cpg-status { flex-shrink:0; padding:0 16px; margin:0!important; font-size:12px; color:#315363; }
.cpg-status:not(:empty) { padding-block:8px; }
.cpg-footer { padding:9px 16px; border-top:1px solid #e3edf4; text-align:center; font-size:10px; color:#577080; flex-shrink:0; }
.cpg-new { background:transparent; color:var(--cpg-blue); text-decoration:underline; margin-left:8px; padding:4px; font-size:11px!important; }
.cpg-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:480px) {
  .cpg { left:12px; right:12px; bottom:max(12px,env(safe-area-inset-bottom)); }
  .cpg-panel { width:100%; max-width:100%; max-height:calc(100dvh - 32px); }
  .cpg-launch { margin-left:auto; }
  .cpg-nudge { max-width:100%; }
  .cpg-launch { font-size:14px!important; padding:12px 16px; }
  .cpg-log { max-height:35dvh; }
  .cpg input, .cpg select { font-size:16px!important; }
}
