.chg-chat{position:fixed;right:clamp(12px,2.5vw,32px);bottom:max(16px,env(safe-area-inset-bottom));z-index:1000;font:500 14px/1.5 system-ui,sans-serif;color:#142d42}
.chg-chat button{font:inherit;cursor:pointer}
.chg-chat button:focus-visible,.chg-chat a:focus-visible,.chg-chat input:focus-visible{outline:2px solid #247ba1;outline-offset:2px}
.chg-chat-toggle{display:flex;align-items:center;gap:9px;margin-left:auto;border:1px solid #aac9da;border-radius:999px;padding:9px 15px;background:#123551;color:#fff;box-shadow:0 8px 28px #071a3540}
.chg-chat-icon{display:grid;place-items:center;width:24px;height:22px;border:1px solid #91d7ed;border-radius:9px 9px 9px 3px;font-size:18px;color:#a9e8f7}
.chg-chat-panel[hidden]{display:none}
.chg-chat-panel{display:flex;flex-direction:column;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 85px);margin-bottom:10px;overflow:hidden;border:1px solid #aec5d4;border-radius:16px;background:#fff;box-shadow:0 16px 60px #071a3540}
.chg-chat-heading,.chg-chat-form{display:flex;align-items:center;gap:8px;padding:10px 14px}
.chg-chat-heading{justify-content:space-between;background:#123551;color:#fff}
.chg-chat-close{width:36px;height:36px;border:0;border-radius:8px;background:#ffffff20;color:#fff}
.chg-chat-log{overflow-y:auto;overscroll-behavior:contain;padding:12px 14px;min-height:55px;max-height:260px}
.chg-chat-log p{margin:0 0 8px;padding:9px 12px;background:#edf4f8;border-radius:10px;overflow-wrap:anywhere}
.chg-chat-log .chg-chat-question{margin-left:20%;background:#dceef8}
.chg-chat-log a{display:block;margin-top:4px;color:#125a80;text-decoration:underline}
.chg-chat-topics{display:flex;flex-wrap:wrap;gap:6px;padding:7px 14px}
.chg-chat-topics button{border:1px solid #a8c5d6;border-radius:15px;padding:4px 9px;background:#fff;color:#123551;font-size:12px}
.chg-chat-form{border-top:1px solid #dce7ec}
.chg-chat-form input{flex:1;min-width:0;border:1px solid #a8c5d6;border-radius:8px;padding:8px;font:inherit;font-size:16px;color:#142d42;background:#fff}
.chg-chat-form button{border:0;border-radius:8px;padding:9px 12px;background:#123551;color:#fff}
.chg-chat-toggle{
  gap:11px;padding:6px 17px 6px 7px;
  background:linear-gradient(145deg,#193a52,#091b2c);
  border-color:#4a8098;box-shadow:0 5px 20px #071a3540,inset 0 1px #a7e1fb26;
  transition:box-shadow .2s,border-color .2s
}
.chg-chat-toggle:hover{border-color:#73d8ee;box-shadow:0 6px 24px #14516b65}
.chg-chat-icon{
  position:relative;display:grid;place-items:center;flex:none;
  width:39px;height:39px;border:1px solid #65d8f2;border-radius:50% 50% 50% 16%;
  background:radial-gradient(circle at 40% 22%,#285476,#081b2e 72%);
  box-shadow:0 0 12px #47ccea40,inset 0 0 0 2px #0b263d
}
.chg-chat-robot{
  position:relative;width:24px;height:20px;border-radius:8px;
  background:linear-gradient(#fff,#d9e8ee);
  box-shadow:-6px 0 0 -4px #e4eef2,6px 0 0 -4px #e4eef2
}
.chg-chat-robot::before{
  content:"";position:absolute;inset:4px 3px;border-radius:5px;
  background:radial-gradient(ellipse 2px 3px at 30% 50%,#7af6ff 65%,transparent),radial-gradient(ellipse 2px 3px at 70% 50%,#7af6ff 65%,transparent),#09253b
}
.chg-chat-robot::after{
  content:"";position:absolute;width:3px;height:5px;top:-4px;left:calc(50% - 1.5px);
  border-radius:2px 2px 0 0;background:#e8c574
}
.chg-chat-panel{border-radius:20px;border-color:#82a6ba;background:#f8fbfc}
.chg-chat-heading{justify-content:flex-start;background:linear-gradient(120deg,#173c57,#0b1c2b)}
.chg-chat-heading strong{flex:1}
.chg-chat-log p{background:#e9f0f4}
.chg-chat-log .chg-chat-question{background:#d7edf5}
.chg-chat-topics button:hover{background:#eaf6fa;border-color:#4f9bb5}
