#ch-chat-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: #35533b;
  color: #fff;
  font: 600 16px system-ui;
  box-shadow: 0 5px 18px #0003;
  cursor: pointer;
}

#ch-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 18px;
  background: #fff;
  color: #354037;
  border: 1px solid #dfe5dc;
  border-radius: 18px;
  box-shadow: 0 12px 36px #0003;
  font: 15px/1.5 system-ui;
}

#ch-chat-panel[hidden] { display: none; }
#ch-chat-panel header { display: flex; justify-content: space-between; align-items: center; font-size: 18px; color: #35533b; }
#ch-chat-panel header button { border: 0; background: none; font-size: 26px; cursor: pointer; color: inherit; }
#ch-chat-panel .ch-chat-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#ch-chat-panel .ch-chat-options button { border: 1px solid #dfe5dc; border-radius: 10px; background: #f5f7f2; padding: 10px; color: #354037; text-align: left; cursor: pointer; }
#ch-chat-panel .ch-chat-options button:focus-visible,
#ch-chat-panel header button:focus-visible,
#ch-chat-launch:focus-visible { outline: 3px solid #6b9b71; outline-offset: 3px; }

#ch-chat-panel .ch-chat-answer {
  margin-top: 14px;
  padding: 14px 16px;
  min-height: 24px;
  border: 1px solid #d5e1d3;
  border-left: 5px solid #35533b;
  border-radius: 10px;
  background: #f1f5ef;
  color: #27392d;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

#ch-chat-panel .ch-chat-answer a {
  display: inline-block;
  margin-top: 7px;
  color: #244d30;
  font-size: 18px;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#ch-chat-panel small { display: block; margin-top: 12px; color: #6c756d; font-size: 12px; }

@media (max-width: 480px) {
  #ch-chat-launch { right: 14px; bottom: 14px; }
  #ch-chat-panel { right: 12px; bottom: 72px; }
  #ch-chat-panel .ch-chat-answer { font-size: 18px; }
  #ch-chat-panel .ch-chat-answer a { font-size: 17px; }
}
