/* Чат-помощник (assistant.js): значок справа внизу и окно. Цвета — как у сайта, без зависимости от его стилей. */
.vhc-btn { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border: 0; border-radius: 999px; background: linear-gradient(180deg, #f0c46a, #d9a441); color: #1b1406; font: 600 15px/1 "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .45); cursor: pointer; }
.vhc-btn:hover { filter: brightness(1.06); }
.vhc-btn:focus-visible, .vhc-chip:focus-visible, .vhc-go:focus-visible, .vhc-x:focus-visible, .vhc-in:focus-visible { outline: 3px solid #f0c46a; outline-offset: 2px; }
.vhc-ico { font-size: 18px; }
.vhc-box { position: fixed; right: 18px; bottom: 78px; z-index: 71; width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 110px);
  display: flex; flex-direction: column; background: #161d23; color: #e7ecef; border: 1px solid #2c3640; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55); font: 14px/1.45 "Segoe UI", system-ui, sans-serif; overflow: hidden; }
.vhc-box[hidden] { display: none; }
.vhc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #2c3640; background: #11171c; }
.vhc-x { background: none; border: 0; color: #9aa7b2; font-size: 16px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.vhc-x:hover { color: #fff; }
.vhc-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.vhc-msg { max-width: 88%; padding: 8px 11px; border-radius: 12px; white-space: pre-wrap; word-break: break-word; }
.vhc-bot { align-self: flex-start; background: #222b33; }
.vhc-me { align-self: flex-end; background: #d9a441; color: #1b1406; }
.vhc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.vhc-chip { border: 1px solid #3a4652; background: transparent; color: #cfd8df; border-radius: 999px; padding: 5px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.vhc-chip:hover { border-color: #d9a441; color: #fff; }
.vhc-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #2c3640; }
.vhc-in { flex: 1; min-width: 0; background: #0f1418; color: #e7ecef; border: 1px solid #2c3640; border-radius: 10px; padding: 9px 10px; font: inherit; }
.vhc-go { border: 0; border-radius: 10px; padding: 0 14px; background: #d9a441; color: #1b1406; font: 600 14px "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.vhc-go:disabled { opacity: .6; cursor: default; }
@media (max-width: 520px) {
  .vhc-lbl { display: none; }
  .vhc-btn { padding: 14px; }
  .vhc-box { right: 8px; left: 8px; width: auto; bottom: 74px; height: 70vh; }
}
[dir=rtl] .vhc-btn { right: auto; left: 18px; }
[dir=rtl] .vhc-box { right: auto; left: 18px; }
@media (max-width: 520px) { [dir=rtl] .vhc-box { left: 8px; right: 8px; } }
.vhc-chips[hidden] { display: none; }
