.ghc button{all:unset;box-sizing:border-box}
.ghc .ghc-btn{position:fixed !important;right:16px !important;bottom:24px !important;left:auto !important;top:auto !important;width:auto !important;max-width:none !important;min-width:0 !important;z-index:9990 !important;margin:0;display:flex;align-items:center;gap:10px;padding:0 18px 0 0;height:56px;border:0;border-radius:28px;background:#0b3d33;color:#fff;font:600 15px/1 Montserrat,Arial,sans-serif;box-shadow:0 10px 28px rgba(0,40,30,.28);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.ghc .ghc-btn:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(0,40,30,.32)}
.ghc-btn i{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:28px;background:linear-gradient(135deg,#2bb37a,#168a5c);flex:0 0 56px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}
.ghc-btn svg{width:27px;height:27px;color:#fff}
.ghc-btn b{font-weight:600;white-space:nowrap}
.ghc-open .ghc-btn{display:none !important}
.ghc .ghc-panel{position:fixed !important;right:16px;bottom:24px;left:auto;top:auto;z-index:9991 !important;margin:0;width:380px;max-width:calc(100vw - 32px);height:600px;max-height:calc(100vh - 48px);display:none;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 16px 48px rgba(0,0,0,.28);overflow:hidden;font-family:Montserrat,Arial,sans-serif;color:#111}
.ghc-open .ghc-panel{display:flex !important}
.ghc .ghc-head{display:flex;flex-wrap:nowrap;align-items:center;gap:12px;padding:14px 16px;background:#004c3f;color:#fff}
.ghc .ghc-head>div{flex:1 1 auto;min-width:0}
.ghc-head i{width:38px;height:38px;border-radius:19px;background:linear-gradient(135deg,#2bb37a,#168a5c);display:flex;align-items:center;justify-content:center;flex:0 0 38px}
.ghc-head svg{width:22px;height:22px;color:#fff}
.ghc-head b{display:block;font-size:15px;line-height:1.2}
.ghc-head small{display:block;font-size:12px;opacity:.85;margin-top:2px}
.ghc .ghc-x{display:flex;align-items:center;justify-content:center;margin-inline-start:auto;width:34px;height:34px;border:0;border-radius:17px;background:rgba(255,255,255,.14);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.ghc-log{flex:1;overflow-y:auto;padding:14px 14px 6px;background:#f4f6f5;display:flex;flex-direction:column;gap:10px}
.ghc-m{max-width:88%;padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.45;white-space:pre-line;word-wrap:break-word}
.ghc-m.bot{background:#fff;border-bottom-left-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.06);align-self:flex-start}
.ghc-m.user{background:#004c3f;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.ghc-m a{color:#004c3f;font-weight:600;text-decoration:underline}
.ghc-m.user a{color:#fff}
.ghc-typing span{display:inline-block;width:7px;height:7px;margin:0 2px;border-radius:50%;background:#9aa;animation:ghcb 1s infinite}
.ghc-typing span:nth-child(2){animation-delay:.15s}.ghc-typing span:nth-child(3){animation-delay:.3s}
@keyframes ghcb{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-4px);opacity:1}}
.ghc-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 10px;background:#f4f6f5}
.ghc .ghc-chips button{display:inline-block;text-align:center;border:1px solid #cfd8d4;background:#fff;color:#004c3f;border-radius:16px;padding:7px 12px;font:600 13px/1.2 Montserrat,Arial,sans-serif;cursor:pointer}
.ghc-chips button:hover{background:#e8f3ee}
.ghc-form{background:#fff;border:1px solid #cfe3da;border-radius:14px;padding:12px;align-self:stretch;display:flex;flex-direction:column;gap:8px}
.ghc-form p{margin:0;font-size:14px;line-height:1.4;font-weight:600;color:#004c3f}
.ghc-form input{width:100%;box-sizing:border-box;height:42px;border:1px solid #cfd8d4;border-radius:10px;padding:0 12px;font:14px Montserrat,Arial,sans-serif;background:#fff;color:#111}
.ghc-form input:focus{outline:2px solid #1f9d6b;border-color:#1f9d6b}
.ghc .ghc-form button{display:block;width:100%;text-align:center;height:44px;border:0;border-radius:10px;background:#1f9d6b;color:#fff;font:600 15px Montserrat,Arial,sans-serif;cursor:pointer}
.ghc-form button[disabled]{opacity:.6;cursor:default}
.ghc-form small{font-size:11px;line-height:1.35;color:#667}
.ghc-form small a{color:#004c3f}
.ghc-form .ghc-err{color:#b3261e;font-size:12px;display:none}
.ghc-in{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e3e7e5;background:#fff}
.ghc-in textarea{flex:1;resize:none;height:44px;max-height:120px;border:1px solid #cfd8d4;border-radius:12px;padding:11px 12px;font:14px/1.4 Montserrat,Arial,sans-serif;color:#111;background:#fff}
.ghc-in textarea:focus{outline:2px solid #1f9d6b;border-color:#1f9d6b}
.ghc .ghc-in button{width:46px;height:44px;border:0;border-radius:12px;background:#004c3f;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:0 0 46px}
.ghc-in button svg{width:20px;height:20px;fill:#fff}
.ghc-in button[disabled]{opacity:.5}
.ghc-foot{padding:4px 12px 8px;font-size:11px;color:#889;background:#fff;text-align:center}
.ghc-wa{display:inline-block;margin-top:4px;padding:9px 14px;border-radius:10px;background:#25d366;color:#fff !important;font-weight:600;text-decoration:none !important;font-size:13px}
.ghc-rtl .ghc-panel,.ghc-rtl .ghc-btn{direction:rtl}
.ghc-rtl .ghc-btn{padding:0 0 0 18px}
.ghc-rtl .ghc-m.bot{border-bottom-left-radius:14px;border-bottom-right-radius:4px}
.ghc-rtl .ghc-m.user{border-bottom-right-radius:14px;border-bottom-left-radius:4px}
@media (max-width:767px){
.ghc .ghc-btn{bottom:110px !important;right:12px !important;width:52px !important;height:52px;border-radius:26px}
.ghc-btn i{width:52px;height:52px;flex-basis:52px}
.ghc-btn b{display:none}
.ghc .ghc-btn{padding:0}
.ghc .ghc-panel{right:0;left:0;bottom:0;width:100%;max-width:100%;height:88vh;max-height:88vh;border-radius:18px 18px 0 0}
.ghc-m{max-width:92%}
}
