.site-chat {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20;
  color: #14251f;
}
.site-chat summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: max-content;
  min-height: 48px;
  margin-left: auto;
  padding: 10px 16px;
  list-style: none;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 28px;
  background: #18563a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 14px #14251f40;
}
.site-chat summary::-webkit-details-marker { display: none; }
.site-chat summary img { filter: brightness(0) invert(1); }
.site-chat summary:hover { background: #123f2c; }
.site-chat summary:focus-visible,
.site-chat a:focus-visible { outline: 2px solid #14251f; outline-offset: 3px; }
.site-chat .site-chat-close { display: none; }
.site-chat[open] .site-chat-open { display: none; }
.site-chat[open] .site-chat-close { display: inline; }
.site-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(300px, calc(100vw - 32px));
  padding: 16px;
  background: #fff;
  border: 1px solid #ccd9d0;
  border-radius: 12px;
  box-shadow: 0 4px 20px #14251f30;
}
.site-chat-panel p { margin: 0 0 12px; }
.site-chat-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #18563a;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.site-chat-panel a:hover { background: #123f2c; }
