/* v2.130.0 — Site Chat bubble. Solid colors, sharp accent; full screen on phones. */
.hb-chat { --hbc-accent: #1d7a46; --hbc-ink: #15191d; --hbc-gray: #5f6670; --hbc-line: #dcdfe3; --hbc-in: #eef0f2;
  position: fixed; right: 20px; bottom: 20px; z-index: 2147483000; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--hbc-ink); }
.hb-chat *, .hb-chat *::before, .hb-chat *::after { box-sizing: border-box; }
.hb-chat__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--hbc-accent); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); margin-left: auto; padding: 0; }
.hb-chat__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--hbc-accent); }
.hb-chat.is-open .hb-chat__btn svg { opacity: .9; }
.hb-chat__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #d92d20; color: #fff;
  font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.hb-chat__panel { position: absolute; right: 0; bottom: 74px; width: 360px; max-width: calc(100vw - 32px); height: min(560px, calc(100vh - 110px));
  background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
.hb-chat__panel[hidden] { display: none; }
.hb-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; background: var(--hbc-accent); color: #fff; }
.hb-chat__title { font-size: 16px; font-weight: 700; color: #fff; }
.hb-chat__x { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.hb-chat__body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.hb-chat__greet { margin: 0 0 12px; padding: 10px 12px; background: var(--hbc-in); border-left: 3px solid var(--hbc-accent); border-radius: 4px; font-size: 14px; }
.hb-chat__msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hb-chat__m { display: flex; flex-direction: column; gap: 2px; max-width: 85%; margin: 0; }
.hb-chat__m.is-in { align-self: flex-end; text-align: right; }
.hb-chat__m.is-out { align-self: flex-start; }
.hb-chat__b { padding: 8px 12px; border-radius: 12px; white-space: pre-wrap; word-wrap: break-word; text-align: left; font-size: 14px; }
.hb-chat__m.is-in .hb-chat__b { background: var(--hbc-accent); color: #fff; }
.hb-chat__m.is-out .hb-chat__b { background: var(--hbc-in); color: var(--hbc-ink); }
.hb-chat__m small { font-size: 11.5px; color: var(--hbc-gray); }
.hb-chat__start { display: grid; gap: 10px; margin-top: 4px; }
.hb-chat__start[hidden], .hb-chat__compose[hidden] { display: none; }
.hb-chat__start label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--hbc-ink); }
.hb-chat input, .hb-chat textarea { width: 100%; font: inherit; font-size: 16px; color: var(--hbc-ink); background: #fff; border: 1px solid var(--hbc-line); border-radius: 8px; padding: 9px 11px; margin: 0; }
.hb-chat input:focus, .hb-chat textarea:focus { outline: none; border-color: var(--hbc-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--hbc-accent) 30%, transparent); }
.hb-chat textarea { resize: none; }
.hb-chat__hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.hb-chat__send { background: var(--hbc-accent); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer; min-height: 42px; }
.hb-chat__send:hover { filter: brightness(1.08); }
.hb-chat__note { margin: 0; padding: 0 16px; font-size: 12.5px; color: var(--hbc-gray); min-height: 0; }
.hb-chat__note:not(:empty) { padding: 6px 16px; }
.hb-chat__note.is-bad { color: #b42318; }
.hb-chat__compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--hbc-line); }
.hb-chat__compose textarea { flex: 1; min-height: 42px; max-height: 120px; }
@media (max-width: 600px) {
  .hb-chat { right: 14px; bottom: 14px; }
  .hb-chat.is-open { right: 0; bottom: 0; left: 0; top: 0; }
  .hb-chat.is-open .hb-chat__btn { display: none; }
  .hb-chat__panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; }
}
