/* 1QX AI 客服 P0 */
.oqxaic { position: fixed; right: 18px; bottom: 18px; z-index: 99999; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.oqxaic-launch { width: 54px; height: 54px; border-radius: 50%; border: 0; background: #2271b1; color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 3px 12px rgba(0,0,0,.22); }
.oqxaic-launch:hover { background: #135e96; }
.oqxaic-panel { display: flex; flex-direction: column; width: 330px; max-width: calc(100vw - 36px); height: 430px; margin-bottom: 10px; background: #fff; border: 1px solid #c3c4c7; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.20); overflow: hidden; }
.oqxaic-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; background: #2271b1; color: #fff; font-size: 14px; font-weight: 600; }
.oqxaic-close { border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.oqxaic-log { flex: 1; overflow-y: auto; padding: 12px; background: #f8f9fa; }
.oqxaic-msg { max-width: 86%; margin: 0 0 9px; padding: 8px 11px; border-radius: 9px; font-size: 13px; line-height: 1.5; word-wrap: break-word; white-space: pre-wrap; }
.oqxaic-bot { background: #fff; border: 1px solid #e0e0e0; color: #1d2327; }
.oqxaic-user { margin-left: auto; background: #2271b1; color: #fff; }
.oqxaic-form { display: flex; gap: 6px; padding: 9px; border-top: 1px solid #e0e0e0; background: #fff; }
.oqxaic-input { flex: 1; min-width: 0; padding: 7px 9px; border: 1px solid #c3c4c7; border-radius: 5px; font-size: 13px; }
.oqxaic-send { padding: 7px 13px; border: 0; border-radius: 5px; background: #2271b1; color: #fff; font-size: 13px; cursor: pointer; }
.oqxaic-send:disabled { opacity: .55; cursor: default; }
.oqxaic-lead { padding: 0 9px 10px; background: #fff; }
.oqxaic-leadbtn { width: 100%; padding: 7px; border: 1px solid #2271b1; border-radius: 5px; background: #fff; color: #2271b1; font-size: 13px; cursor: pointer; }
.oqxaic-leadform { display: flex; gap: 6px; margin-top: 8px; }
.oqxaic-link { display: inline-block; margin-top: 8px; color: #2271b1; font-size: 13px; }
@media (max-width: 480px) { .oqxaic-panel { height: 60vh; } }
