/* Reference-inspired welcome panel; all visual overrides stay inside the chatbot. */
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design{
  position:fixed;right:24px;bottom:calc(20px + env(safe-area-inset-bottom,0px) + var(--chat-viewport-bottom,0px));
  width:min(480px,calc(100vw - 32px));height:min(780px,calc(var(--chat-viewport-height,100dvh) - 40px - env(safe-area-inset-bottom,0px)));
  max-height:calc(var(--chat-viewport-height,100dvh) - 40px - env(safe-area-inset-bottom,0px));
  display:flex;flex-direction:column;isolation:isolate;overflow:hidden;min-height:0;padding:0;
  border:1px solid #8cd0f4;border-radius:25px;background:#eff6ff;color:#0c2348;
  box-shadow:0 24px 80px #04132670,0 0 0 1px #ffffff38;outline:0;
  transform-origin:bottom right;font-family:Poppins,Arial,sans-serif;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design[hidden]{display:none!important}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design:before{display:none}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design *{box-sizing:border-box}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .widget-panel__head{
  flex:0 0 auto;min-height:74px;margin:0;padding:13px 15px;background:linear-gradient(115deg,#061a3b,#062749);
  border:0;border-bottom:1px solid #71d9ff30;gap:8px;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity{gap:11px;min-width:0;flex:1}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity img{
  display:block;width:45px;height:45px;flex:0 0 45px;object-fit:cover;border-radius:50%;
  background:#050e39;border:2px solid #02e3f4;box-shadow:0 0 0 3px #ffffff0a;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity strong{font-size:19px;line-height:1.2;letter-spacing:-.3px;color:#fff}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity span{display:flex;align-items:center;gap:6px;margin-top:6px;color:#eef7ff;font-size:11px;line-height:1.25}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity span:before{content:'';display:block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#55ef43}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-head-actions{gap:0;flex:0 0 auto;margin-left:auto}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-head-actions button{display:grid;place-items:center;width:30px;height:40px;padding:0;border:0;border-radius:7px;color:#fff;background:none}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-head-actions button:hover{background:#ffffff18}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-head-actions svg{width:19px;height:19px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-scroll{
  flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
  scrollbar-color:#9bbad2 transparent;background:linear-gradient(145deg,#edfbff,#f1efff 74%,#edf5ff);
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-log{display:flex;flex-direction:column;gap:14px;flex:none;overflow:visible;min-height:0;margin:0;padding:0;background:transparent}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome{
  position:relative;isolation:isolate;overflow:hidden;margin:0;padding:6px 18px 26px;border:0;border-radius:0 0 48% 9% / 0 0 7% 4%;
  background:radial-gradient(ellipse at 100% 20%,#08ddf56b,transparent 55%),radial-gradient(ellipse at 0 100%,#00c7e3a6,transparent 72%),linear-gradient(145deg,#052448,#00375c);
  box-shadow:none;text-align:center;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome:before{
  content:'';position:absolute;z-index:-1;right:-65px;top:-54px;width:220px;height:75px;border:1px solid #31f2fc;
  border-radius:50%;transform:rotate(-22deg);box-shadow:0 0 18px #00eeff70;pointer-events:none;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-hero{
  display:block;width:160px;height:110px;max-width:55%;object-fit:contain;margin:0 auto 3px;
  filter:drop-shadow(0 7px 14px #00eaff30);
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome h2{margin:2px 0 5px;color:#fff;font-size:27px;font-weight:750;line-height:1.15;letter-spacing:-.6px;text-wrap:balance}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome p{margin:0 0 11px;color:#e7f7ff;font-size:14px;line-height:1.4}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome .gh-chat-badge{
  display:inline-block;max-width:100%;padding:6px 13px;border-radius:20px;background:#00dfed;color:#032849;
  font-size:10px;font-weight:600;line-height:1.35;letter-spacing:0;box-shadow:0 4px 13px #001c4340;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:17px 17px 0;margin:0;background:transparent}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:139px;
  padding:13px 8px 14px;border:1px solid #fff;border-radius:18px;color:#0a2147;
  background:linear-gradient(135deg,#c6fbff,#e7eafe);box-shadow:0 5px 11px #284e8c15,inset 0 0 0 1px #ffffff28;text-align:center;
  transition:box-shadow .16s,border-color .16s,transform .16s;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button:nth-child(2){background:linear-gradient(135deg,#d9eeff,#e7ddff)}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button:hover{transform:translateY(-1px);border-color:#54d9ed;box-shadow:0 6px 16px #16467722}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-card-icon{
  display:grid;place-items:center;flex:0 0 auto;width:48px;height:43px;border-radius:12px;
  background:linear-gradient(140deg,#11458a,#071d4d);color:#00e9fa;box-shadow:-5px -4px 0 #3be9f444,0 5px 9px #093e7040;
}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions .gh-chat-card-icon svg{width:28px;height:28px;stroke-width:1.8}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-card-copy{display:block;min-width:0;white-space:normal}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-card-copy strong{display:block;font-size:16px;line-height:1.25;font-weight:700;letter-spacing:-.3px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-card-copy small{display:block;margin-top:5px;color:#34476e;font-size:11px;font-weight:400;line-height:1.45}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button:nth-child(3){grid-column:1/-1;flex-direction:row;justify-content:flex-start;gap:16px;min-height:74px;padding:12px 15px;background:linear-gradient(115deg,#c4faff,#f4f7ff 50%,#e8e1ff);text-align:left}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button:nth-child(3) .gh-chat-card-icon{width:38px;height:42px;border-radius:9px;box-shadow:-4px 3px 0 #00d7f142,0 4px 8px #093e7020}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button:nth-child(3):after{content:'→';display:grid;place-items:center;margin-left:auto;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#87eef4;color:#072d4a;font-size:23px;font-weight:400}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-greeting{display:flex;align-items:center;gap:9px;margin:14px 17px 16px;padding:0;background:transparent;color:#122b4b}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-greeting img{width:33px;height:33px;flex:0 0 33px;object-fit:cover;border-radius:50%;background:#050e39}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-greeting>span{position:relative;display:block;padding:10px 13px;border:1px solid #d7ebf7;border-radius:18px;background:#ffffffd9;box-shadow:0 4px 8px #284e8c0a;font-size:12px;line-height:1.4}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-composer{flex:0 0 auto;margin:0;padding:10px 15px 10px;background:#edf4ff;border-top:1px solid #dcebf7}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form{gap:7px;padding:5px;border:1px solid #cadff5;border-radius:30px;background:#fff;box-shadow:0 4px 12px #174a7a14}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form:focus-within{border-color:#00afca;box-shadow:0 0 0 3px #00bfd51a}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form input{min-height:38px;padding:5px 0;color:#142e50;font-size:16px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form input::placeholder{font-size:14px;color:#677b99;opacity:1}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form button{width:40px;height:40px;flex-basis:40px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form .chat-mic{width:35px;flex-basis:35px;color:#617795;border-radius:0;border-right:1px solid #dce5f0}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form .chat-mic.is-recording{background:#ffedf1;color:#a92c46}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form .chat-send{background:#00dfed;color:#07254a;box-shadow:0 3px 8px #00b9d52b}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form .chat-send:hover{background:#61edf6}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form .chat-send svg{width:23px;height:23px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-tools{padding:9px 3px 5px;gap:8px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-tools label{font-size:10px;color:#415b7c}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-tools button{width:30px;height:28px;color:#415b7c}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-privacy{font-size:9px;color:#536d8c}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-powered{margin:5px 0 0;text-align:center;color:#536c8f;font-size:10px;line-height:1.4}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-powered strong{font-weight:600}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design button:focus-visible,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design input:focus-visible{outline:3px solid #008cba;outline-offset:3px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-head-actions button:focus-visible{outline-color:#64f0ff}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-form input:focus-visible{outline:0}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-tools input:focus-visible+.chat-switch{outline:3px solid #008cba;outline-offset:3px}
.site-widgets.chat-open .fab--chat{visibility:hidden;pointer-events:none}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .chat-log{padding:18px 16px;min-height:0;gap:14px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .chat-suggestions{padding:0 16px 14px;display:flex;flex-wrap:wrap;gap:7px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .chat-suggestions button{display:inline-flex;flex-direction:row;gap:0;min-height:40px;padding:9px 11px;border-radius:12px;box-shadow:none;background:#fff;text-align:left}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .chat-suggestions .gh-chat-card-icon,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .gh-chat-card-copy small,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .chat-suggestions button:after,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .gh-chat-greeting{display:none}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.gh-chat-has-messages .gh-chat-card-copy strong{font-size:11px;letter-spacing:0;line-height:1.35}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-msg--user{background:#083552}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-msg--bot{border-color:#cfe4f6;color:#163756;background:#fff}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-face img{object-fit:cover;border-radius:50%;background:#050e39}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-expanded{width:min(620px,calc(100vw - 32px));height:min(880px,calc(var(--chat-viewport-height,100dvh) - 40px - env(safe-area-inset-bottom,0px)))}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-expanded .gh-chat-hero{height:145px;width:200px}
.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-expanded .chat-welcome h2{font-size:31px}

@media(max-width:640px){
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-expanded{
    right:8px;left:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px) + var(--chat-viewport-bottom,0px));width:calc(100vw - 16px);
    height:calc(var(--chat-viewport-height,100dvh) - 16px - env(safe-area-inset-bottom,0px) - env(safe-area-inset-top,0px));
    max-height:calc(var(--chat-viewport-height,100dvh) - 16px - env(safe-area-inset-bottom,0px) - env(safe-area-inset-top,0px));border-radius:22px;
  }
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .widget-panel__head{min-height:68px;padding:11px 12px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity{gap:9px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity strong{font-size:18px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity img{width:42px;height:42px;flex-basis:42px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-head-actions button{width:32px;height:40px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-head-actions [data-chat-expand]{display:none}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome{padding:4px 13px 23px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-hero,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-expanded .gh-chat-hero{height:100px;width:150px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome h2,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-expanded .chat-welcome h2{font-size:25px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome p{font-size:13px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions{gap:9px;padding:14px 12px 0}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button{min-height:130px;padding:12px 7px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-card-copy strong{font-size:14px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-card-copy small{font-size:10px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button:nth-child(3){min-height:72px;padding:11px 12px;gap:12px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-greeting{margin:13px 12px 14px;gap:7px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-greeting>span{font-size:11px;padding:10px 11px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-composer{padding:9px 12px 9px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-keyboard .chat-suggestions,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-keyboard .gh-chat-greeting,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-keyboard .chat-privacy,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-keyboard .gh-chat-powered{display:none}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-keyboard .gh-chat-hero{height:70px}
}
@media(max-width:360px){
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity strong{font-size:16px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-identity span{font-size:10px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-welcome h2{font-size:23px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-card-copy strong{font-size:13px}
}
@media(max-height:560px){
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design.chat-expanded{bottom:calc(8px + var(--chat-viewport-bottom,0px));height:calc(var(--chat-viewport-height,100dvh) - 16px);max-height:calc(var(--chat-viewport-height,100dvh) - 16px)}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .widget-panel__head{min-height:58px;padding:7px 12px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-hero{height:80px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-composer{padding:8px 12px}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-privacy,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .gh-chat-powered{display:none}
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-tools{padding:5px 3px 0}
}
@media(prefers-reduced-motion:reduce){
  .site-widgets #chat-panel.widget-panel--chat.gh-chat-design:not([hidden]),.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-suggestions button,.site-widgets #chat-panel.widget-panel--chat.gh-chat-design .chat-dot{animation:none!important;transition:none!important}
}
