/* San — VisionQuantech website assistant. Brand: white bg, Deep Navy #0D1B3E, Vision Blue #2B5CE6. */
#san-bot-root { position: fixed; left: 18px; bottom: 18px; z-index: 9999; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#san-bot-fab { display: flex; align-items: center; gap: 6px; background: #0D1B3E; color: #fff; border: none; border-radius: 999px; padding: 12px 18px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 24px rgba(13,27,62,.35); }
#san-bot-fab:hover { background: #2B5CE6; }
#san-call-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #0D1B3E; color: #fff; border-radius: 50%; font-size: 20px; text-decoration: none; box-shadow: 0 6px 24px rgba(13,27,62,.35); }
#san-call-btn:hover { background: #2B5CE6; }
#san-bot-panel { position: absolute; left: 0; bottom: 112px; width: 360px; max-width: calc(100vw - 36px); height: 520px; max-height: calc(100vh - 110px); background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; box-shadow: 0 12px 40px rgba(13,27,62,.25); display: flex; flex-direction: column; overflow: hidden; }
#san-bot-panel[hidden] { display: none; }
#san-bot-head { background: #0D1B3E; color: #fff; padding: 12px 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
#san-bot-head b { font-size: 15px; }
#san-bot-sub { display: block; font-size: 11px; opacity: .75; margin-top: 2px; }
#san-bot-close { background: transparent; color: #fff; border: none; font-size: 16px; cursor: pointer; padding: 2px 6px; }
#san-bot-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #f7f9fc; }
.san-msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-line; word-wrap: break-word; }
.san-user { align-self: flex-end; background: #2B5CE6; color: #fff; border-bottom-right-radius: 4px; }
.san-bot { align-self: flex-start; background: #fff; color: #1a2333; border: 1px solid #e3e8f0; border-bottom-left-radius: 4px; }
.san-thinking { font-style: italic; opacity: .65; }
.san-action-btn { align-self: flex-start; background: #0D1B3E; color: #fff; border: none; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer; }
.san-action-btn:hover { background: #2B5CE6; }
#san-bot-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid #e3e8f0; background: #fff; }
.san-chip { background: #eef3ff; color: #0D1B3E; border: 1px solid #c9d8ff; border-radius: 999px; padding: 6px 11px; font-size: 12.5px; cursor: pointer; }
.san-chip:hover { background: #2B5CE6; color: #fff; border-color: #2B5CE6; }
#san-bot-input-row { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid #e3e8f0; background: #fff; }
#san-bot-input { flex: 1; border: 1px solid #cbd5e1; border-radius: 999px; padding: 9px 12px; font-size: 14px; outline: none; min-width: 0; }
#san-bot-input:focus { border-color: #2B5CE6; }
#san-bot-mic, #san-bot-send, #san-bot-speak { border: none; background: #eef3ff; border-radius: 50%; width: 38px; height: 38px; font-size: 16px; cursor: pointer; flex: none; }
#san-bot-send { background: #2B5CE6; color: #fff; }
#san-bot-mic.san-listening { background: #dc2626; color: #fff; animation: san-pulse 1s infinite; }
@keyframes san-pulse { 50% { opacity: .55; } }
#san-bot-foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-top: 1px solid #e3e8f0; background: #fff; font-size: 12.5px; }
#san-bot-foot a { color: #2B5CE6; text-decoration: none; font-weight: 700; }
#san-bot-log { background: transparent; border: 1px solid #cbd5e1; border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: #475569; }
@media (max-width: 480px) {
  #san-bot-panel { width: calc(100vw - 36px); height: 70vh; }
  #san-bot-fab-label { display: none; }
}
