.hgs-chat-toggle{position:fixed;right:22px;bottom:22px;z-index:90;border:0;background:#0a315f;color:#fff;border-radius:999px;padding:14px 19px;box-shadow:0 12px 35px #061a3580;font:700 14px 'DM Sans',Arial;cursor:pointer;display:flex;align-items:center;gap:9px}
.hgs-chat-toggle i{width:9px;height:9px;border-radius:50%;background:#76869a}
.hgs-chat-toggle.online i{background:#28c780;box-shadow:0 0 0 4px #28c78022}
.hgs-chat-panel{position:fixed;right:22px;bottom:82px;z-index:91;width:min(370px,calc(100vw - 28px));height:540px;max-height:calc(100vh - 110px);background:#fff;box-shadow:0 25px 70px #071a3555;border:1px solid #dbe4ec;display:none;flex-direction:column}
.hgs-chat-panel.open{display:flex}
.hgs-chat-head{background:#082d58;color:#fff;padding:18px 20px;display:flex;align-items:center;justify-content:space-between}
.hgs-chat-head strong{display:block}
.hgs-chat-head small{color:#b8c8da}
.hgs-chat-close{border:0;background:none;color:#fff;font-size:23px;cursor:pointer}
.hgs-chat-body{padding:18px;overflow:auto;flex:1;background:#f5f7fa}
.hgs-chat-form{padding:17px;display:grid;gap:11px}
.hgs-chat-form input,.hgs-chat-form textarea{margin:0;padding:11px 12px;border:1px solid #d4dee7;font:14px Arial}
.hgs-chat-form button,.hgs-chat-send button{border:0;background:#dda628;color:#0a2c55;padding:11px;font-weight:800;cursor:pointer}
.hgs-chat-note{font-size:13px;color:#62748a;margin:0 0 12px}
.hgs-msg{max-width:85%;padding:10px 12px;margin:8px 0;font-size:13px;line-height:1.45;background:#fff;border:1px solid #dce4eb}
.hgs-msg.visitor{margin-left:auto;background:#0b315f;color:#fff;border-color:#0b315f}
.hgs-msg b{display:block;font-size:10px;margin-bottom:4px;opacity:.72}
.hgs-chat-send{padding:12px;border-top:1px solid #dce4eb;display:flex;gap:8px}
.hgs-chat-send input{flex:1;border:1px solid #d4dee7;padding:10px}
.hgs-chat-success{color:#147447;font-weight:700}
.hgs-chat-error{color:#a52f2f;font-size:12px}
.hgs-rating{padding:18px;text-align:center}.hgs-rating h3{margin:0 0 7px;color:#12375e}.hgs-rating p{margin:0 0 14px;color:#64758a;font-size:13px}.hgs-stars{display:flex;direction:rtl;justify-content:center;gap:6px;margin-bottom:14px}.hgs-stars input{position:absolute;opacity:0}.hgs-stars label{font-size:35px;line-height:1;color:#cbd4dd;cursor:pointer;margin:0}.hgs-stars label:hover,.hgs-stars label:hover~label,.hgs-stars input:checked+label,.hgs-stars input:checked+label~label{color:#e1a528}.hgs-rating textarea{width:100%;border:1px solid #d4dee7;padding:10px;resize:vertical;margin-bottom:10px}.hgs-rating button{width:100%;border:0;background:#dda628;color:#0a2c55;padding:11px;font-weight:800;cursor:pointer}.rating-stars{color:#dfa629;letter-spacing:1px}
@media(max-width:600px){.hgs-chat-toggle{right:14px;bottom:14px}
.hgs-chat-panel{right:14px;bottom:72px;height:70vh}
}

