#fzBotRoot, #fzBotRoot * { box-sizing: border-box; font-family: inherit; }

.fzbot-launcher {
  position: fixed !important; right: 22px !important; bottom: 22px !important; left: auto !important; top: auto !important; z-index: 99999;
  width: 60px !important; height: 60px !important; min-width: 60px !important; min-height: 60px !important;
  max-width: 60px !important; max-height: 60px !important;
  padding: 0 !important; margin: 0 !important; line-height: 1 !important;
  border-radius: 50% !important;
  background: #fdf3e1 !important; color: #0b1f3a !important; border: 3px solid #c8963e !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 6px 20px rgba(0,0,0,.45) !important;
  cursor: pointer; display: flex !important; align-items: center; justify-content: center;
  transition: transform .2s;
}
.fzbot-launcher svg { display: block; width: 30px; height: 30px; }
.fzbot-launcher:hover { transform: scale(1.07); background: #fff !important; }

.fzbot-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 99999;
  width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(11,31,58,.28);
  display: none; flex-direction: column;
}
.fzbot-panel.open { display: flex; }

.fzbot-head {
  background: #0b1f3a; color: #fff; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 3px solid #c8963e;
}
.fzbot-head strong { font-size: 15px; display: block; }
.fzbot-head span { font-size: 12px; color: #c9d3e0; }
.fzbot-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }

.fzbot-body { flex: 1; overflow-y: auto; padding: 14px; background: #f4f6f9; }
.fzbot-msg { max-width: 86%; margin-bottom: 10px; padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.fzbot-msg.bot { background: #fff; color: #1b2333; border: 1px solid #e3e6ec; border-bottom-left-radius: 3px; }
.fzbot-msg.user { background: #0b1f3a; color: #fff; margin-left: auto; border-bottom-right-radius: 3px; }

.fzbot-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.fzbot-chip {
  background: #fff; border: 1px solid #c8963e; color: #0b1f3a;
  padding: 6px 11px; border-radius: 999px; font-size: 12.5px; cursor: pointer;
}
.fzbot-chip:hover { background: #c8963e; color: #fff; }

.fzbot-form { background: #fff; border: 1px solid #e3e6ec; border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.fzbot-form input, .fzbot-form select, .fzbot-form textarea {
  width: 100%; margin-bottom: 8px; padding: 8px 10px; font-size: 13.5px;
  border: 1px solid #d0d5dd; border-radius: 6px;
}
.fzbot-form button {
  width: 100%; background: #c8963e; color: #fff; border: none; padding: 10px;
  border-radius: 6px; font-weight: 600; cursor: pointer;
}
.fzbot-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.fzbot-input { display: flex; border-top: 1px solid #e3e6ec; background: #fff; }
.fzbot-input input { flex: 1; border: none; padding: 13px 14px; font-size: 14px; outline: none; }
.fzbot-input button { background: #0b1f3a; color: #fff; border: none; padding: 0 18px; cursor: pointer; font-size: 14px; }

.fzbot-note { font-size: 11px; color: #6b7280; text-align: center; padding: 6px 10px 8px; background: #fff; }

@media (max-width: 480px) {
  .fzbot-panel { right: 8px; bottom: 88px; width: calc(100vw - 16px); }
  .fzbot-launcher { right: 14px; bottom: 14px; }
}
