#pg-ai-root{
  --pg:#006633;--gold:#D9A826;--ui:#176BFF;--pg-launcher-green:#4CAF50;--pg-side:90px;--pg-bottom:18px;--pg-mobile-side:10px;--pg-mobile-bottom:10px;
  --pg-panel-edge-offset:0px;--pg-panel-edge-offset-mobile:0px;--pg-panel-width:470px;--pg-panel-height:650px;--pg-z:999998;
  font-family:'Inter',Arial,sans-serif!important;position:fixed;z-index:var(--pg-z);box-sizing:border-box
}
#pg-ai-root *,#pg-ai-root *:before,#pg-ai-root *:after{box-sizing:border-box;font-family:'Inter',Arial,sans-serif!important}
#pg-ai-root button,#pg-ai-root input,#pg-ai-root textarea,#pg-ai-root select{font-family:'Inter',Arial,sans-serif!important}
#pg-ai-root.pg-ai-side-right{right:var(--pg-side);left:auto;bottom:var(--pg-bottom)}
#pg-ai-root.pg-ai-side-left{left:var(--pg-side);right:auto;bottom:var(--pg-bottom)}

/* Launcher — one visual system for desktop + mobile.
   The label is rendered by the button itself via data-hover-label, so theme rules
   targeting child spans cannot hide it. Desktop and any hover-capable browser reveal it on hover.
   Click/tap always opens the chat immediately on the first interaction. */
#pg-ai-root{--pg-launcher-current-size:var(--pg-launcher-size)}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher{
  position:relative!important;
  width:var(--pg-launcher-current-size)!important;height:var(--pg-launcher-current-size)!important;min-width:var(--pg-launcher-current-size)!important;
  border:0!important;border-radius:999px!important;padding:0!important;background:var(--pg-launcher-green)!important;color:#fff!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;cursor:pointer!important;overflow:visible!important;
  font-family:'Inter',Arial,sans-serif!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important;
  box-shadow:0 11px 25px rgba(76,175,80,.30),0 0 0 3px rgba(76,175,80,.16)!important;
  transition:width .30s cubic-bezier(.2,.8,.2,1),transform .24s ease,box-shadow .24s ease,padding-right .30s cubic-bezier(.2,.8,.2,1)!important;
  appearance:none!important;-webkit-appearance:none!important
}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher .pg-ai-launcher-ring{
  position:relative!important;z-index:3!important;flex:0 0 var(--pg-launcher-current-size)!important;
  width:var(--pg-launcher-current-size)!important;height:var(--pg-launcher-current-size)!important;min-width:var(--pg-launcher-current-size)!important;
  border-radius:50%!important;display:grid!important;place-items:center!important;overflow:hidden!important;
  background:var(--pg-launcher-green)!important;border:4px solid var(--pg-launcher-green)!important;
  box-shadow:0 9px 21px rgba(76,175,80,.34),0 0 0 3px rgba(255,255,255,.92),0 0 0 6px rgba(76,175,80,.18)!important;
  transition:transform .25s ease,box-shadow .25s ease!important
}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher .pg-ai-launcher-img{width:100%!important;height:100%!important;display:block;object-fit:cover!important;object-position:center!important;border-radius:50%!important}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher .pg-ai-launcher-fallback{width:100%!important;height:100%!important;display:grid;place-items:center;background:var(--pg-launcher-green)!important;color:#fff!important;font-weight:800!important;font-size:13px!important;border-radius:50%!important}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher::after{
  content:attr(data-hover-label)!important;
  position:relative!important;z-index:6!important;display:block!important;visibility:visible!important;
  flex:0 1 auto!important;width:0!important;min-width:0!important;max-width:0!important;height:auto!important;min-height:1em!important;
  margin:0!important;padding:0!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  opacity:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:transparent!important;
  font-family:'Inter',Arial,sans-serif!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:0!important;
  text-indent:0!important;text-transform:none!important;text-align:left!important;text-shadow:0 1px 2px rgba(0,0,0,.14)!important;
  pointer-events:none!important;
  transition:max-width .30s cubic-bezier(.2,.8,.2,1),width .30s cubic-bezier(.2,.8,.2,1),opacity .18s ease,margin-left .30s cubic-bezier(.2,.8,.2,1)!important
}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher .pg-ai-launcher-pulse{
  position:absolute!important;z-index:7!important;left:calc(var(--pg-launcher-current-size) - 13px)!important;bottom:5px!important;
  width:13px!important;height:13px!important;border-radius:50%!important;background:#39d775!important;border:2px solid #fff!important;
  box-shadow:0 0 0 4px rgba(57,215,117,.16)!important;pointer-events:none!important
}
/* Expanded geometry is shared by hover preview and the legacy expanded class. */
#pg-ai-root #pg-ai-launcher.pg-ai-launcher.pg-ai-launcher-expanded,
#pg-ai-root #pg-ai-launcher.pg-ai-launcher:hover{
  width:min(260px,calc(100vw - 28px))!important;min-width:0!important;padding:0 18px 0 0!important;
  background:#4CAF50!important;color:#fff!important;transform:translateY(-2px)!important;
  box-shadow:0 15px 31px rgba(76,175,80,.38),0 0 0 4px rgba(76,175,80,.15)!important
}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher.pg-ai-launcher-expanded .pg-ai-launcher-ring,
#pg-ai-root #pg-ai-launcher.pg-ai-launcher:hover .pg-ai-launcher-ring{
  transform:scale(1.02)!important;box-shadow:0 12px 26px rgba(76,175,80,.40),0 0 0 3px rgba(255,255,255,.94),0 0 0 7px rgba(76,175,80,.17)!important
}
#pg-ai-root #pg-ai-launcher.pg-ai-launcher.pg-ai-launcher-expanded::after,
#pg-ai-root #pg-ai-launcher.pg-ai-launcher:hover::after{
  width:auto!important;max-width:174px!important;opacity:1!important;margin-left:13px!important
}
@media(hover:none),(pointer:coarse){
  /* Touch devices never reveal the label merely because the browser synthesizes :hover. */
  #pg-ai-root #pg-ai-launcher.pg-ai-launcher:not(.pg-ai-launcher-expanded):hover{
    width:var(--pg-launcher-current-size)!important;min-width:var(--pg-launcher-current-size)!important;padding:0!important;transform:none!important;
    box-shadow:0 11px 25px rgba(76,175,80,.30),0 0 0 3px rgba(76,175,80,.16)!important
  }
  #pg-ai-root #pg-ai-launcher.pg-ai-launcher:not(.pg-ai-launcher-expanded):hover::after{width:0!important;max-width:0!important;opacity:0!important;margin-left:0!important}
  #pg-ai-root #pg-ai-launcher.pg-ai-launcher:not(.pg-ai-launcher-expanded):hover .pg-ai-launcher-ring{transform:none!important;box-shadow:0 9px 21px rgba(76,175,80,.34),0 0 0 3px rgba(255,255,255,.92),0 0 0 6px rgba(76,175,80,.18)!important}
}

/* Glass window */
#pg-ai-root .pg-ai-panel{position:absolute;bottom:80px;width:min(var(--pg-panel-width),calc(100vw - 28px));height:min(var(--pg-panel-height),calc(100vh - 105px));overflow:visible;filter:drop-shadow(0 20px 36px rgba(21,48,40,.24))}
#pg-ai-root.pg-ai-side-right .pg-ai-panel{right:var(--pg-panel-edge-offset);left:auto}#pg-ai-root.pg-ai-side-left .pg-ai-panel{left:var(--pg-panel-edge-offset);right:auto}#pg-ai-root .pg-ai-panel[hidden]{display:none!important}
#pg-ai-root .pg-ai-shell{position:relative;width:100%;height:100%;display:flex;flex-direction:column;padding-top:62px;border-radius:26px;background:rgba(242,250,255,.48);border:1px solid rgba(255,255,255,.82);backdrop-filter:blur(28px) saturate(1.18);-webkit-backdrop-filter:blur(28px) saturate(1.18);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(35,72,58,.035),0 9px 30px rgba(48,73,65,.14)}
#pg-ai-root .pg-ai-shell:before{content:"";position:absolute;inset:0;background:radial-gradient(310px 210px at 7% 12%,rgba(90,205,255,.20),transparent 67%),radial-gradient(310px 240px at 92% 48%,rgba(255,168,83,.13),transparent 70%),radial-gradient(360px 250px at 13% 76%,rgba(241,225,72,.20),transparent 72%),linear-gradient(180deg,rgba(255,255,255,.30),rgba(218,240,251,.30) 42%,rgba(247,249,220,.31) 72%,rgba(255,255,255,.48));pointer-events:none}
#pg-ai-root .pg-ai-shell:after{content:"";position:absolute;inset:0;border-radius:26px;box-shadow:inset 0 0 42px rgba(255,255,255,.48);pointer-events:none}

/* Floating header: deeper 3D like reference */
#pg-ai-root .pg-ai-floating-head{position:absolute;z-index:7;top:17px;left:50%;transform:translateX(-50%);width:min(352px,calc(100% - 54px));height:53px;border-radius:29px;background:linear-gradient(180deg,#3188ff 0%,var(--ui) 48%,#0d5be3 100%);color:#fff;display:grid;grid-template-columns:auto minmax(67px,1fr) auto;align-items:center;gap:7px;padding:5px 9px 5px 6px;box-shadow:0 13px 27px rgba(0,72,194,.40),0 4px 8px rgba(0,52,143,.28),inset 0 1px 0 rgba(255,255,255,.42),inset 0 -1px 0 rgba(0,43,128,.28)}
#pg-ai-root .pg-ai-floating-head:after{content:"";position:absolute;inset:1px;border-radius:28px;border:1px solid rgba(255,255,255,.14);pointer-events:none}
#pg-ai-root .pg-ai-floating-head:before{content:"";position:absolute;z-index:-1;left:-19px;top:-16px;width:82px;height:82px;border-radius:50%;background:radial-gradient(circle,rgba(124,255,150,.34),transparent 65%);filter:blur(7px)}
#pg-ai-root .pg-ai-avatar-wrap{position:relative;width:41px;height:41px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:visible;border:2px solid rgba(255,255,255,.98);box-shadow:0 3px 9px rgba(5,31,77,.28),inset 0 0 0 1px rgba(23,107,255,.14)}
#pg-ai-root .pg-ai-avatar-glow{position:absolute;inset:-5px;border-radius:50%;background:radial-gradient(circle,rgba(75,255,130,.30),transparent 70%);filter:blur(3px);z-index:-1}
#pg-ai-root .pg-ai-avatar-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}#pg-ai-root .pg-ai-avatar-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#f9df62,var(--gold));color:#0c4228;border-radius:50%;font-size:11px;font-weight:800}
#pg-ai-root .pg-ai-head-copy{min-width:0;line-height:1.02}#pg-ai-root .pg-ai-head-copy strong{display:block;font-size:13.6px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 1px rgba(0,35,110,.22)}#pg-ai-root .pg-ai-head-copy small{display:block;margin-top:3px;font-size:10px;font-weight:600;color:rgba(255,255,255,.86);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pg-ai-root .pg-ai-tools{display:flex;align-items:center;gap:4px}
#pg-ai-root .pg-ai-tools button{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;border-radius:50%!important;border:1px solid rgba(255,255,255,.26)!important;background:linear-gradient(180deg,rgba(56,126,249,.82),rgba(12,79,199,.88))!important;color:#fff!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important;margin:0!important;box-shadow:0 2px 4px rgba(0,43,126,.36),inset 0 1px 1px rgba(255,255,255,.24),inset 0 -1px 1px rgba(0,35,117,.24)!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;appearance:none!important;-webkit-appearance:none!important}
#pg-ai-root .pg-ai-tools button:hover{transform:translateY(-1px);background:linear-gradient(180deg,#4d96ff,#1263de)!important;box-shadow:0 4px 7px rgba(0,43,126,.40),inset 0 1px 1px rgba(255,255,255,.30)!important}
#pg-ai-root .pg-ai-tools svg{width:14.5px!important;height:14.5px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:drop-shadow(0 1px 1px rgba(0,28,92,.28))}

/* Chat body */
#pg-ai-root .pg-ai-body{position:relative;z-index:2;flex:1;min-height:0;display:flex;flex-direction:column;padding:46px 18px 0;overflow:hidden;background:transparent}
#pg-ai-root .pg-ai-messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:5px 3px 12px;scrollbar-width:thin;scrollbar-color:rgba(67,82,77,.27) transparent}
#pg-ai-root .pg-ai-messages::-webkit-scrollbar{width:4px}#pg-ai-root .pg-ai-messages::-webkit-scrollbar-thumb{background:rgba(67,82,77,.24);border-radius:8px}
#pg-ai-root .pg-ai-msg{display:flex;margin:0 0 12px;padding:0 1px}#pg-ai-root .pg-ai-msg.user{justify-content:flex-end}#pg-ai-root .pg-ai-msg.bot{justify-content:flex-start}
#pg-ai-root .pg-ai-bubble{position:relative;max-width:82%;padding:13px 14px 18px;border-radius:17px;font-size:14.4px;line-height:1.56;white-space:pre-wrap;word-break:break-word;box-shadow:0 8px 19px rgba(35,61,52,.07)}
#pg-ai-root .pg-ai-msg.bot .pg-ai-bubble{background:rgba(255,255,255,.76);color:#263630;border:1px solid rgba(255,255,255,.76);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom-left-radius:5px}
#pg-ai-root .pg-ai-msg.user .pg-ai-bubble{background:linear-gradient(180deg,#3189ff,var(--ui));color:#fff;border-bottom-right-radius:5px;box-shadow:0 8px 18px color-mix(in srgb,var(--ui) 25%,transparent)}
#pg-ai-root .pg-ai-time{position:absolute;left:14px;bottom:5px;font-size:9px;line-height:1;color:#9ba6a1}#pg-ai-root .pg-ai-msg.user .pg-ai-time{left:auto;right:13px;color:rgba(255,255,255,.66)}
#pg-ai-root .pg-ai-typing{display:inline-flex;gap:4px}#pg-ai-root .pg-ai-typing i{width:5px;height:5px;border-radius:50%;background:#6e8176;animation:pgaib 1s infinite}#pg-ai-root .pg-ai-typing i:nth-child(2){animation-delay:.15s}#pg-ai-root .pg-ai-typing i:nth-child(3){animation-delay:.3s}@keyframes pgaib{50%{opacity:.25;transform:translateY(-2px)}}
#pg-ai-root .pg-ai-context{margin:0 0 8px;padding:7px 11px;border-radius:11px;background:rgba(255,249,224,.92);border:1px solid rgba(217,168,38,.26);font-size:10px;color:#66571f;white-space:nowrap;overflow:auto}#pg-ai-root .pg-ai-context b{font-weight:800}

/* Inline answer choices — part of the conversation flow, never a separate right-side rail */
#pg-ai-root .pg-ai-suggestions{display:none!important}
#pg-ai-root .pg-ai-inline-actions{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:7px;max-width:88%;margin:-5px 0 14px 2px;padding:0;clear:both}
#pg-ai-root .pg-ai-chip{position:relative;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;max-width:100%;min-height:35px;border:1px solid rgba(42,64,55,.10)!important;background:rgba(255,255,255,.86)!important;color:#202f29!important;border-radius:999px!important;padding:8px 30px 8px 13px!important;font-size:12.6px!important;line-height:1.25!important;font-weight:650!important;white-space:normal;text-align:left!important;cursor:pointer;box-shadow:0 4px 11px rgba(39,65,54,.06)!important;transition:transform .18s ease,box-shadow .18s ease!important;appearance:none!important;-webkit-appearance:none!important}
#pg-ai-root .pg-ai-chip:after{content:'→';position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#66736d;font-weight:800}
#pg-ai-root .pg-ai-chip:hover{transform:translateY(-1px);box-shadow:0 7px 15px rgba(39,65,54,.10)!important}
#pg-ai-root .pg-ai-chip.pg-ai-wa{background:#eef9f2!important;border-color:#b8e0c7!important;color:#075b32!important}#pg-ai-root .pg-ai-chip.pg-ai-wa:after{content:'↗'}
@media(max-width:600px){#pg-ai-root .pg-ai-inline-actions{max-width:94%;gap:6px;margin-top:-4px}#pg-ai-root .pg-ai-chip{font-size:12px!important;min-height:34px;padding:8px 28px 8px 12px!important}}

/* RFQ card */
#pg-ai-root .pg-ai-lead-card{width:88%;margin:0 0 12px auto;padding:11px;border-radius:13px;background:var(--ui);box-shadow:0 9px 22px color-mix(in srgb,var(--ui) 20%,transparent);color:#fff}#pg-ai-root .pg-ai-lead-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:7px}#pg-ai-root .pg-ai-lead-card label{display:block;margin:0 0 7px;font-size:9.5px;font-weight:700;color:#fff}#pg-ai-root .pg-ai-lead-card input,#pg-ai-root .pg-ai-lead-card select{width:100%;height:32px;margin-top:4px;border:0!important;border-radius:7px!important;background:#fff!important;color:#263630!important;padding:0 9px!important;font-size:10.5px!important;box-shadow:none!important;outline:0!important}#pg-ai-root .pg-ai-lead-card .pg-ai-segment{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:4px}#pg-ai-root .pg-ai-lead-card .pg-ai-segment button{height:31px;border:0;border-radius:7px;background:#fff;color:#56635e;font-size:10px;font-weight:700;cursor:pointer}#pg-ai-root .pg-ai-lead-card .pg-ai-segment button.active{color:#27342f;box-shadow:inset 0 0 0 2px rgba(244,50,50,.14)}#pg-ai-root .pg-ai-lead-submit{width:100%;height:34px;margin-top:3px;border:0;border-radius:7px;background:#050505;color:#fff;font-size:10.5px;font-weight:800;cursor:pointer}#pg-ai-root .pg-ai-lead-submit:hover{background:#111}#pg-ai-root .pg-ai-lead-close{float:right;margin:-3px -2px 2px 6px;border:0;background:transparent;color:rgba(255,255,255,.8);font-size:17px;cursor:pointer}

/* Bottom composer — stronger selector to avoid theme overrides */
#pg-ai-root .pg-ai-compose-wrap{position:relative;z-index:4;padding:9px 17px 9px;background:rgba(255,255,255,.58);border-top:1px solid rgba(255,255,255,.72);box-shadow:0 -8px 26px rgba(45,69,61,.06);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
#pg-ai-root .pg-ai-form{margin:0!important;padding:0!important;background:transparent!important;border:0!important}
#pg-ai-root .pg-ai-compose-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;height:58px;min-height:58px;background:rgba(255,255,255,.80);border:1px solid rgba(80,112,100,.13);border-radius:29px;padding:7px 10px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 7px 19px rgba(39,69,56,.08),inset 0 1px 0 rgba(255,255,255,.95)}
#pg-ai-root .pg-ai-compose-icon{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(180deg,#fff,#f4f7f6)!important;border:1px solid #d8e0dc!important;color:#52605a!important;padding:0!important;margin:0!important;cursor:pointer!important;box-shadow:0 2px 5px rgba(31,55,46,.07),inset 0 1px 0 #fff!important;appearance:none!important;-webkit-appearance:none!important}
#pg-ai-root .pg-ai-compose-icon:hover{background:#eef4f1!important;color:#253c32!important}
#pg-ai-root .pg-ai-compose-icon svg{width:18px!important;height:18px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.65!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#pg-ai-root .pg-ai-form textarea{width:100%!important;resize:none!important;height:24px!important;max-height:52px!important;min-height:24px!important;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:2px 0!important;margin:0!important;font-size:12.8px!important;line-height:1.5!important;color:#273731!important;overflow-y:auto!important}
#pg-ai-root .pg-ai-form textarea::placeholder{color:#a1aaa6!important;opacity:1!important}
#pg-ai-root .pg-ai-send{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border:0!important;border-radius:50%!important;background:linear-gradient(180deg,#348cff 0%,var(--ui) 52%,#0e5cdf 100%)!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;cursor:pointer!important;box-shadow:0 7px 15px color-mix(in srgb,var(--ui) 30%,transparent),inset 0 1px 0 rgba(255,255,255,.36)!important;transition:transform .18s ease,box-shadow .18s ease!important;appearance:none!important;-webkit-appearance:none!important;overflow:hidden!important}
#pg-ai-root .pg-ai-send:hover{transform:translateY(-1px);box-shadow:0 9px 18px color-mix(in srgb,var(--ui) 34%,transparent),inset 0 1px 0 rgba(255,255,255,.40)!important}
#pg-ai-root .pg-ai-send svg{width:19px!important;height:19px!important;display:block!important;fill:none!important;stroke:#fff!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important;filter:drop-shadow(0 1px 1px rgba(0,41,128,.25))}
#pg-ai-root .pg-ai-foot{text-align:center;padding-top:6px;color:#7f8a85;font-size:9.6px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Attachment row */
#pg-ai-root .pg-ai-attachment{display:flex;align-items:center;gap:7px;margin:0 8px 8px;padding:7px 9px;border-radius:12px;background:#f1f6f3;border:1px solid #dce7e0;color:#34453d;font-size:10.5px;box-shadow:0 3px 8px rgba(37,61,51,.04)}
#pg-ai-root .pg-ai-attachment[hidden]{display:none!important}#pg-ai-root .pg-ai-attachment-icon{font-size:13px}#pg-ai-root .pg-ai-attachment-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#pg-ai-root .pg-ai-attachment button{width:21px!important;height:21px!important;border:0!important;border-radius:50%!important;background:#fff!important;color:#637069!important;padding:0!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:0 1px 4px rgba(37,61,51,.08)!important}

#pg-ai-root .pg-ai-panel.pg-ai-fullscreen{position:fixed!important;inset:18px!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important}#pg-ai-root .pg-ai-panel.pg-ai-fullscreen .pg-ai-shell{border-radius:22px}#pg-ai-root .pg-ai-panel.pg-ai-fullscreen .pg-ai-floating-head{width:min(360px,calc(100% - 70px))}
@media(max-width:600px){#pg-ai-root{--pg-launcher-current-size:var(--pg-launcher-size-mobile)}#pg-ai-root.pg-ai-side-right{right:var(--pg-mobile-side);bottom:var(--pg-mobile-bottom)}#pg-ai-root.pg-ai-side-left{left:var(--pg-mobile-side);bottom:var(--pg-mobile-bottom)}#pg-ai-root .pg-ai-panel{position:fixed!important;left:8px!important;right:8px!important;bottom:calc(var(--pg-mobile-bottom) + 70px)!important;width:auto!important;height:min(79vh,var(--pg-panel-height));max-height:calc(100vh - 90px)}#pg-ai-root .pg-ai-shell{padding-top:57px;border-radius:21px}#pg-ai-root .pg-ai-floating-head{top:12px;width:calc(100% - 28px);height:51px}#pg-ai-root .pg-ai-head-copy{display:none}#pg-ai-root .pg-ai-tools{gap:3px}#pg-ai-root .pg-ai-tools button{width:29px!important;height:29px!important;min-width:29px!important}#pg-ai-root .pg-ai-body{padding:43px 12px 0}#pg-ai-root .pg-ai-bubble{max-width:88%;font-size:14px}#pg-ai-root .pg-ai-compose-wrap{padding:8px 11px 8px}#pg-ai-root .pg-ai-lead-card{width:94%}#pg-ai-root .pg-ai-panel.pg-ai-fullscreen{inset:6px!important;height:auto!important}#pg-ai-root .pg-ai-panel.pg-ai-fullscreen .pg-ai-shell{border-radius:18px}}

/* v0.3.5 visual calibration against reference video */
#pg-ai-root .pg-ai-shell{background-color:rgba(242,250,255,.42)!important}
#pg-ai-root .pg-ai-body{background:rgba(255,255,255,.02)!important}
#pg-ai-root .pg-ai-messages{background:transparent!important}
#pg-ai-root .pg-ai-chip{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#pg-ai-root .pg-ai-form textarea{box-sizing:border-box!important;height:24px!important;min-height:24px!important;max-height:52px!important}
#pg-ai-root .pg-ai-compose-inner{box-sizing:border-box!important;height:58px!important;min-height:58px!important;max-height:58px!important}
#pg-ai-root .pg-ai-compose-wrap{box-sizing:border-box!important}


/* =========================================================
   v0.3.6 — SALEAI REFERENCE CALIBRATION
   1) Strong frosted-glass blur over the underlying website
   2) Separate bottom composer card with rounded top corners
   3) Input pill calibrated to reference proportions
   ========================================================= */
#pg-ai-root{--pg-glass-blur:40px;--pg-glass-alpha:.40}

/* Main window: page behind remains visible as shapes, but text becomes unreadable */
#pg-ai-root .pg-ai-shell{
  isolation:isolate!important;
  background:rgba(244,249,250,var(--pg-glass-alpha))!important;
  backdrop-filter:blur(var(--pg-glass-blur)) saturate(.88) brightness(1.045)!important;
  -webkit-backdrop-filter:blur(var(--pg-glass-blur)) saturate(.88) brightness(1.045)!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 18px 38px rgba(41,55,50,.20)!important;
}
#pg-ai-root .pg-ai-shell:before{
  background:
    radial-gradient(270px 190px at 8% 18%,rgba(104,208,255,.18),transparent 68%),
    radial-gradient(300px 230px at 93% 53%,rgba(255,171,107,.12),transparent 70%),
    radial-gradient(330px 220px at 10% 76%,rgba(231,226,75,.16),transparent 72%),
    linear-gradient(180deg,rgba(255,255,255,.14),rgba(232,246,251,.12) 46%,rgba(250,248,220,.11) 75%,rgba(255,255,255,.16))!important;
}
#pg-ai-root .pg-ai-shell:after{
  box-shadow:inset 0 0 54px rgba(255,255,255,.30)!important;
}
#pg-ai-root .pg-ai-body{
  background:rgba(255,255,255,.015)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}

/* Bot bubble stays readable above the frosted page */
#pg-ai-root .pg-ai-msg.bot .pg-ai-bubble{
  background:rgba(255,255,255,.82)!important;
  border-color:rgba(255,255,255,.86)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
  box-shadow:0 8px 20px rgba(42,55,50,.075)!important;
}

/* Bottom area is a distinct inner card — like the reference */
#pg-ai-root .pg-ai-compose-wrap{
  flex:0 0 auto!important;
  margin:0!important;
  padding:28px 27px 20px!important;
  background:rgba(255,255,255,.86)!important;
  border-top:1px solid rgba(255,255,255,.92)!important;
  border-radius:21px 21px 0 0!important;
  box-shadow:0 -7px 22px rgba(52,62,58,.07),inset 0 1px 0 rgba(255,255,255,.94)!important;
  backdrop-filter:blur(24px) saturate(.95)!important;
  -webkit-backdrop-filter:blur(24px) saturate(.95)!important;
  overflow:visible!important;
}
#pg-ai-root .pg-ai-compose-inner{
  height:60px!important;
  min-height:60px!important;
  max-height:60px!important;
  padding:8px 10px!important;
  gap:10px!important;
  border-radius:30px!important;
  background:rgba(255,255,255,.93)!important;
  border:1px solid rgba(39,108,255,.13)!important;
  box-shadow:0 8px 22px rgba(48,66,59,.09),inset 0 1px 0 #fff!important;
}
#pg-ai-root .pg-ai-form textarea{
  height:25px!important;
  min-height:25px!important;
  max-height:44px!important;
  padding:2px 0!important;
  font-size:13.4px!important;
  line-height:1.55!important;
}
#pg-ai-root .pg-ai-form textarea::placeholder{font-size:13.4px!important;color:#98a3a0!important}
#pg-ai-root .pg-ai-compose-icon{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  box-shadow:0 3px 8px rgba(42,58,52,.09),inset 0 1px 0 #fff!important;
}
#pg-ai-root .pg-ai-send{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
}
#pg-ai-root .pg-ai-foot{
  padding-top:16px!important;
  min-height:27px!important;
  font-size:9.8px!important;
  color:#717d79!important;
}

/* Reference has a softly rounded ledge at the top edge of the composer card */
#pg-ai-root .pg-ai-compose-wrap:before{
  content:"";
  position:absolute;
  left:20px;right:20px;top:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.95) 18%,rgba(255,255,255,.95) 82%,transparent);
  pointer-events:none;
}

@media(max-width:600px){
  #pg-ai-root .pg-ai-compose-wrap{padding:20px 15px 14px!important;border-radius:18px 18px 0 0!important}
  #pg-ai-root .pg-ai-compose-inner{height:56px!important;min-height:56px!important;max-height:56px!important}
  #pg-ai-root .pg-ai-form textarea{font-size:13px!important}
  #pg-ai-root .pg-ai-form textarea::placeholder{font-size:13px!important}
  #pg-ai-root .pg-ai-foot{padding-top:12px!important}
}


/* =========================================================
   v0.3.7 — UNIFIED FROSTED GLASS + STRONGER BACKDROP BLUR
   - One continuous glass material from top to bottom
   - Underlying page text becomes unreadable, colors/shapes remain visible
   - Composer retains its rounded top corners without turning opaque white
   - Avatar fallback is never shown when a custom image is loaded
   ========================================================= */
#pg-ai-root{--pg-glass-blur:64px;--pg-glass-alpha:.34}

/* An ancestor filter can weaken backdrop-filter in Chromium; keep the shadow on the shell instead. */
#pg-ai-root .pg-ai-panel{filter:none!important}

/* One glass layer across the full window. */
#pg-ai-root .pg-ai-shell{
  background:rgba(244,249,250,var(--pg-glass-alpha))!important;
  backdrop-filter:blur(var(--pg-glass-blur)) saturate(.72) contrast(.94) brightness(1.035)!important;
  -webkit-backdrop-filter:blur(var(--pg-glass-blur)) saturate(.72) contrast(.94) brightness(1.035)!important;
  border:1px solid rgba(255,255,255,.76)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84),inset 0 0 36px rgba(255,255,255,.12),0 20px 42px rgba(32,48,42,.22)!important;
}

/* Keep only soft color glows. Removing the vertical opaque gradient avoids the two-tone top section. */
#pg-ai-root .pg-ai-shell:before{
  background:
    radial-gradient(330px 230px at 6% 18%,rgba(94,205,255,.16),transparent 72%),
    radial-gradient(330px 250px at 94% 50%,rgba(255,171,107,.10),transparent 74%),
    radial-gradient(360px 250px at 9% 77%,rgba(232,226,80,.13),transparent 74%)!important;
  opacity:1!important;
}
#pg-ai-root .pg-ai-shell:after{box-shadow:inset 0 0 42px rgba(255,255,255,.16)!important}

/* Do not create a second glass color in the upper chat area. */
#pg-ai-root .pg-ai-body{
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Bottom composer uses the exact same glass tint as the outer shell. */
#pg-ai-root .pg-ai-compose-wrap{
  background:rgba(244,249,250,var(--pg-glass-alpha))!important;
  border-top:1px solid rgba(255,255,255,.68)!important;
  border-radius:21px 21px 0 0!important;
  box-shadow:0 -7px 20px rgba(47,61,55,.045),inset 0 1px 0 rgba(255,255,255,.74)!important;
  backdrop-filter:blur(18px) saturate(.78)!important;
  -webkit-backdrop-filter:blur(18px) saturate(.78)!important;
}

/* Input pill stays brighter, but only the pill itself is opaque. */
#pg-ai-root .pg-ai-compose-inner{
  background:rgba(255,255,255,.84)!important;
  border-color:rgba(39,108,255,.12)!important;
  box-shadow:0 8px 22px rgba(48,66,59,.08),inset 0 1px 0 rgba(255,255,255,.98)!important;
}

/* Hidden attribute must beat our component display rules. */
#pg-ai-root .pg-ai-avatar-img[hidden],
#pg-ai-root .pg-ai-avatar-fallback[hidden],
#pg-ai-root .pg-ai-launcher-img[hidden],
#pg-ai-root .pg-ai-launcher-fallback[hidden]{display:none!important}

/* Keep uploaded avatar above all fallback layers. */
#pg-ai-root .pg-ai-avatar-img,#pg-ai-root .pg-ai-launcher-img{position:relative;z-index:3}
#pg-ai-root .pg-ai-avatar-fallback,#pg-ai-root .pg-ai-launcher-fallback{position:relative;z-index:2}


/* Mobile panel edge offset — launcher visuals are handled by the single system above. */
@media(max-width:600px){
  #pg-ai-root.pg-ai-side-right .pg-ai-panel:not(.pg-ai-fullscreen){left:var(--pg-mobile-side)!important;right:calc(var(--pg-mobile-side) + var(--pg-panel-edge-offset-mobile))!important}
  #pg-ai-root.pg-ai-side-left .pg-ai-panel:not(.pg-ai-fullscreen){left:calc(var(--pg-mobile-side) + var(--pg-panel-edge-offset-mobile))!important;right:var(--pg-mobile-side)!important}
}

/* Local multilingual selector */
#pg-ai-root .pg-ai-floating-head{width:min(404px,calc(100% - 34px));grid-template-columns:auto minmax(64px,1fr) auto auto}
#pg-ai-root .pg-ai-lang-wrap{position:relative;z-index:12}
#pg-ai-root .pg-ai-lang-toggle{height:28px!important;min-width:42px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.28)!important;background:linear-gradient(180deg,rgba(72,145,255,.9),rgba(12,79,199,.9))!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;padding:0 7px!important;font-size:10px!important;font-weight:800!important;letter-spacing:.03em!important;cursor:pointer!important;box-shadow:0 2px 4px rgba(0,43,126,.34),inset 0 1px 1px rgba(255,255,255,.24)!important}
#pg-ai-root .pg-ai-lang-toggle svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#pg-ai-root .pg-ai-lang-menu{position:absolute;right:0;top:35px;width:142px;padding:6px;border-radius:13px;background:rgba(255,255,255,.96);border:1px solid rgba(17,64,47,.10);box-shadow:0 14px 34px rgba(17,51,41,.22);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
#pg-ai-root .pg-ai-lang-menu[hidden]{display:none!important}
#pg-ai-root .pg-ai-lang-menu button{width:100%!important;min-height:31px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#31453b!important;text-align:left!important;padding:6px 9px!important;font-size:11.5px!important;font-weight:650!important;cursor:pointer!important;box-shadow:none!important}
#pg-ai-root .pg-ai-lang-menu button:hover,#pg-ai-root .pg-ai-lang-menu button.active{background:#edf7f1!important;color:#006633!important}
@media(max-width:600px){
  #pg-ai-root .pg-ai-floating-head{width:calc(100% - 20px);grid-template-columns:auto 1fr auto auto;gap:5px;padding-right:7px}
  #pg-ai-root .pg-ai-lang-toggle{min-width:39px!important;padding:0 6px!important}
  #pg-ai-root .pg-ai-tools{gap:2px}
  #pg-ai-root .pg-ai-tools button{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important}
  #pg-ai-root.pg-ai-side-right .pg-ai-panel{left:var(--pg-mobile-side)!important;right:calc(var(--pg-mobile-side) + var(--pg-panel-edge-offset-mobile))!important}
  #pg-ai-root.pg-ai-side-left .pg-ai-panel{left:calc(var(--pg-mobile-side) + var(--pg-panel-edge-offset-mobile))!important;right:var(--pg-mobile-side)!important}
}


/* v0.19 Smart RFQ handoff */
#pg-ai-root .pg-ai-handoff-actions{max-width:92%;margin:-5px 0 14px 2px;padding:10px;border:1px solid rgba(42,64,55,.10);border-radius:14px;background:rgba(255,255,255,.76);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 7px 20px rgba(39,65,54,.07)}
#pg-ai-root .pg-ai-handoff-title{display:block;margin:0 0 8px;font-size:11.5px;line-height:1.35;color:#34443d}
#pg-ai-root .pg-ai-handoff-buttons{display:flex;flex-wrap:wrap;gap:7px}
#pg-ai-root .pg-ai-handoff-buttons .pg-ai-chip{margin:0}
#pg-ai-root .pg-ai-handoff-whatsapp{background:#eef9f2!important;border-color:#b8e0c7!important;color:#075b32!important}
#pg-ai-root .pg-ai-handoff-callback{background:color-mix(in srgb,var(--ui) 10%,#fff)!important;border-color:color-mix(in srgb,var(--ui) 25%,#fff)!important}
#pg-ai-root .pg-ai-lead-head{display:flex;flex-direction:column;gap:2px;margin:0 22px 8px 0}
#pg-ai-root .pg-ai-lead-head strong{font-size:12.5px;line-height:1.25}
#pg-ai-root .pg-ai-lead-head small{font-size:9.5px;line-height:1.35;color:rgba(255,255,255,.78)}
#pg-ai-root .pg-ai-lead-rfq-summary{max-height:94px;overflow:auto;margin:0 0 9px;padding:8px 9px;border-radius:8px;background:rgba(255,255,255,.12);font-size:9.5px;line-height:1.45;color:#fff}
#pg-ai-root .pg-ai-lead-card .pg-ai-lead-submit:disabled{opacity:.65;cursor:wait}
@media(max-width:600px){#pg-ai-root .pg-ai-handoff-actions{max-width:96%}#pg-ai-root .pg-ai-handoff-buttons{gap:6px}#pg-ai-root .pg-ai-lead-rfq-summary{max-height:82px}}

#pg-ai-root .pg-ai-handoff-note{display:block;margin-top:8px;font-size:9.5px;line-height:1.4;color:#66736d}

#pg-ai-root .pg-ai-lead-card .pg-ai-lead-consent{display:flex;align-items:flex-start;gap:6px;margin:4px 0 8px;font-size:9px;font-weight:500;line-height:1.4;color:rgba(255,255,255,.9)}
#pg-ai-root .pg-ai-lead-card .pg-ai-lead-consent input{width:14px!important;height:14px!important;min-width:14px;margin:1px 0 0!important;padding:0!important;accent-color:#fff}
/* v0.23 RFQ confirmation card */
.pg-ai-rfq-confirm{margin:10px 8px 12px;padding:14px;border:1px solid rgba(0,102,51,.18);border-radius:16px;background:rgba(255,255,255,.88);box-shadow:0 10px 30px rgba(0,0,0,.06)}
.pg-ai-rfq-confirm-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.pg-ai-rfq-confirm-head small{opacity:.64;white-space:nowrap}
.pg-ai-rfq-confirm-row{display:flex;justify-content:space-between;gap:18px;padding:7px 0;border-top:1px solid rgba(0,0,0,.06)}.pg-ai-rfq-confirm-row span{opacity:.68}.pg-ai-rfq-confirm-row strong{text-align:right}
.pg-ai-rfq-confirm-actions{display:flex;gap:8px;margin-top:12px}.pg-ai-rfq-confirm-actions button{border:0;border-radius:999px;padding:9px 13px;cursor:pointer}.pg-ai-rfq-confirm-ok{background:var(--pg);color:#fff}.pg-ai-rfq-confirm-edit{background:rgba(0,0,0,.06)}.pg-ai-rfq-confirm.confirmed{opacity:.8}
