#sgc-root{--sgc:#1457f5;position:fixed;bottom:20px;z-index:99999;font-family:inherit;font-size:15px;line-height:1.45;color:#14233d}
#sgc-root.sgc-right{right:20px}#sgc-root.sgc-left{left:20px}
#sgc-root *{box-sizing:border-box}
.sgc-launcher{width:64px;height:64px;border-radius:50%;border:0;background:#09284b;cursor:pointer;box-shadow:0 8px 26px rgba(5,32,69,.28);display:flex;align-items:center;justify-content:center;transition:transform .2s;padding:8px}
.sgc-launcher:hover{transform:scale(1.06)}
.sgc-launcher-logo{width:100%;height:100%;object-fit:contain;border-radius:50%;background:#fff;padding:4px}
.sgc-panel{position:absolute;bottom:78px;width:390px;max-width:calc(100vw - 24px);height:590px;max-height:calc(100vh - 112px);background:#fff;border-radius:20px;box-shadow:0 14px 46px rgba(8,35,75,.24);display:none;flex-direction:column;overflow:hidden;color:#17243a;border:1px solid #e4eaf4}
.sgc-right .sgc-panel{right:0}.sgc-left .sgc-panel{left:0}
.sgc-open .sgc-panel{display:flex;animation:sgcUp .22s ease}
@keyframes sgcUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.sgc-head{background:linear-gradient(120deg,#0b2d55,#1457f5);color:#fff;padding:13px 15px;display:flex;align-items:center;gap:12px;min-height:76px}
.sgc-logo{width:78px;height:48px;object-fit:contain;object-position:left center;background:#fff;border-radius:8px;padding:3px 5px;flex:0 0 auto}
.sgc-head-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.sgc-head-copy b{font-size:16px;font-weight:700;line-height:1.2}
.sgc-head-copy span{font-size:11px;color:#e5efff;white-space:nowrap}
.sgc-head-copy i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4ade80;margin-right:4px}
.sgc-close{background:transparent;border:0;color:#fff;font-size:25px;line-height:1;cursor:pointer;padding:4px}
.sgc-msgs{flex:1;min-height:0;overflow-y:auto;padding:15px;background:#f4f7fc;display:flex;flex-direction:column;gap:11px}
.sgc-m{max-width:88%;padding:11px 14px;border-radius:15px;word-wrap:break-word;white-space:pre-wrap;font-size:14px;line-height:1.5}
.sgc-bot{background:#fff;border:1px solid #e3eaf5;align-self:flex-start;border-bottom-left-radius:5px;box-shadow:0 2px 8px rgba(22,48,86,.035)}
.sgc-user{background:var(--sgc);color:#fff;align-self:flex-end;border-bottom-right-radius:5px}
.sgc-m a{color:inherit;text-decoration:underline}
.sgc-action-section{width:100%;display:flex;flex-direction:column;gap:9px}
.sgc-action-title{font-size:13px;font-weight:700;color:#203653;padding:2px 1px}
.sgc-actions{display:flex;flex-direction:column;gap:7px}
.sgc-action{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#fff;border:1px solid #dce6f7;border-radius:12px;padding:10px 11px;color:#17345d;font:600 13px/1.3 inherit;cursor:pointer;box-shadow:0 2px 6px rgba(20,60,120,.035);transition:border-color .15s,background .15s}
.sgc-action:hover{border-color:var(--sgc);background:#f8fbff}
.sgc-action-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#eaf2ff;color:#1457f5;font-size:17px;flex:0 0 auto}
.sgc-action-arrow{margin-left:auto;color:#1457f5;font-size:22px;font-weight:400}
.sgc-typing{display:inline-flex;gap:4px;padding:4px 0}
.sgc-typing i{width:7px;height:7px;border-radius:50%;background:#9aa6bd;animation:sgcB 1s infinite}
.sgc-typing i:nth-child(2){animation-delay:.15s}.sgc-typing i:nth-child(3){animation-delay:.3s}
@keyframes sgcB{0%,80%,100%{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}
.sgc-form{background:#fff;border:1px solid #dce6f4;border-radius:15px;padding:14px;display:flex;flex-direction:column;gap:9px;align-self:stretch;box-shadow:0 3px 12px rgba(25,55,95,.045)}
.sgc-form-title{font-size:15px;font-weight:700;color:#142c4d}
.sgc-form-subtitle{font-size:12px;color:#64748b;margin-top:-5px}
.sgc-form input,.sgc-form textarea{display:block;width:100%;min-height:42px;border:1px solid #c9d5e6;border-radius:9px;padding:10px 12px;font:13px/1.4 inherit!important;color:#1d2b42!important;background:#fff!important;box-shadow:none!important;opacity:1!important}
.sgc-form input::placeholder,.sgc-form textarea::placeholder{color:#7b879b!important;opacity:1!important}
.sgc-form input:focus,.sgc-form textarea:focus{outline:2px solid rgba(20,87,245,.2);border-color:#1457f5}
.sgc-form textarea{resize:vertical;min-height:66px}
.sgc-form button{background:var(--sgc);color:#fff;border:0;border-radius:9px;padding:11px;cursor:pointer;font:600 14px inherit}
.sgc-form button:disabled{opacity:.65;cursor:wait}
.sgc-form .sgc-hp{position:absolute!important;left:-9999px!important;opacity:0!important}
.sgc-err{color:#c0262d;font-size:12px}
.sgc-input{display:flex;gap:8px;padding:11px 12px;border-top:1px solid #e4eaf3;background:#fff;flex:0 0 auto}
.sgc-input input{flex:1;min-width:0;border:1px solid #cbd6e5;border-radius:999px;padding:11px 14px;font:14px inherit;color:#1d2b42;background:#fff;box-shadow:none}
.sgc-input input::placeholder{color:#8490a3;opacity:1}
.sgc-input input:focus{outline:2px solid rgba(20,87,245,.18);border-color:#1457f5}
.sgc-input button{flex:0 0 42px;border:0;background:var(--sgc);color:#fff;border-radius:50%;width:42px;height:42px;cursor:pointer;font-size:19px}
.sgc-foot{text-align:center;font-size:10px;color:#8995a8;padding:0 0 9px;background:#fff;flex:0 0 auto}
@media(max-width:480px){#sgc-root{bottom:12px}#sgc-root.sgc-right{right:12px}#sgc-root.sgc-left{left:12px}.sgc-panel{width:calc(100vw - 24px);height:min(640px,calc(100vh - 88px));max-height:calc(100vh - 88px)}.sgc-head{min-height:70px}.sgc-logo{width:70px;height:43px}.sgc-msgs{padding:12px}}
