#apm-chat-btn{position:fixed;right:16px;bottom:100px;z-index:99998;display:flex;align-items:center;gap:8px;padding:12px 18px;border:2px solid #fff;border-radius:999px;background:#2d7a3a;color:#fff;font:600 15px/1 sans-serif;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.3)}
#apm-chat-btn svg{width:22px;height:22px;fill:#fff;flex:none}
#apm-chat-btn .apm-dot{width:10px;height:10px;border-radius:50%;background:#9aa0a6;border:1px solid #fff}
#apm-chat-btn[data-online="1"] .apm-dot{background:#2bd24f}
#apm-chat-panel{position:fixed;right:16px;bottom:160px;z-index:99998;width:320px;max-height:calc(100vh - 200px);overflow:auto;max-width:calc(100vw - 32px);background:#fff;color:#111;border:2px solid #2d7a3a;border-radius:12px;padding:16px;box-shadow:0 4px 18px rgba(0,0,0,.35);font:15px/1.45 sans-serif}
#apm-chat-panel[hidden]{display:none}
#apm-chat-panel h2{margin:0 0 8px;font-size:17px;color:#0d2a35}
#apm-chat-status{margin:0 0 12px;color:#1f3b46}
#apm-chat-panel a.apm-chat-go{display:block;text-align:center;padding:12px;border-radius:8px;background:#2d7a3a;color:#fff!important;font-weight:600;text-decoration:none}
#apm-chat-panel a.apm-chat-go:hover,#apm-chat-panel a.apm-chat-go:focus{background:#1f5a29}
#apm-chat-panel .apm-chat-note{margin:10px 0 0;font-size:12.5px;color:#4a5a62}
@media (max-width:600px){#apm-chat-btn{bottom:170px}#apm-chat-panel{bottom:230px}#apm-chat-btn span.apm-lbl{display:none}#apm-chat-btn{padding:12px}}
#apm-chat-close{position:absolute;top:6px;right:8px;border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer;color:#0d2a35;padding:4px 8px}
#apm-chat-panel label{display:block;font-size:13px;font-weight:600;margin-bottom:3px;color:#0d2a35}
#apm-chat-panel input[type=text],#apm-chat-panel input[type=email],#apm-chat-panel textarea{width:100%;box-sizing:border-box;padding:8px;border:1px solid #8a959b;border-radius:6px;font:14px/1.4 sans-serif;color:#111;background:#fff}
#apm-chat-panel p{margin:0 0 10px}
.apm-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.apm-c-consent label{font-weight:400!important;font-size:12.5px!important;color:#34454c!important}
.apm-c-consent input{margin-right:6px}
#apm-chat-error{color:#b32d2e;font-size:13px;min-height:0}
.apm-chat-submit{padding:10px 18px;border:0;border-radius:6px;background:#2d7a3a;color:#fff;font:600 14px sans-serif;cursor:pointer}
.apm-chat-submit:disabled{opacity:.6}
#apm-chat-log{max-height:240px;overflow:auto;margin-bottom:8px;display:flex;flex-direction:column;gap:6px}
.apm-msg{max-width:85%;padding:8px 10px;border-radius:10px;font-size:14px;word-wrap:break-word;white-space:pre-wrap}
.apm-msg-me{align-self:flex-end;background:#e3efe5}
.apm-msg-staff{align-self:flex-start;background:#f1f4f2}
.apm-msg-time{display:block;font-size:11px;color:#5a6a72;margin-top:3px}
#apm-chat-send textarea{margin-bottom:6px}
.apm-sr{position:absolute;left:-9999px}
.apm-chat-alt{text-align:center;margin-top:10px;color:#34454c}
#apm-chat-btn[data-unread="1"]::after{content:'';position:absolute;top:-4px;right:-4px;width:14px;height:14px;border-radius:50%;background:#e53935;border:2px solid #fff}
#apm-chat-panel a.apm-chat-go{display:inline-block;padding:8px 14px;margin-top:4px}
.apm-msg-sys{align-self:center;background:#f5f5f5;color:#34454c;font-size:13px;font-style:italic;text-align:center}
