.tqa-launcher,.tqa-dialog,.tqa-dialog *{box-sizing:border-box;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;text-shadow:none;box-shadow:none}
.tqa-launcher{position:fixed;z-index:100;right:24px;bottom:88px;display:flex;align-items:center;gap:12px;padding:15px 22px;border:1px solid #52d8ec75;border-radius:999px;background:#112b40;color:#f1fbff;font-size:16px;font-weight:650;cursor:pointer}
.tqa-launcher svg{width:21px;height:21px;fill:none;stroke:#8debf5;stroke-width:1.6}
.tqa-launcher small{font-size:11px;color:#a2c9dd;font-weight:400;padding-left:12px;border-left:1px solid #8be6ef30}
.tqa-launcher:hover{background:#19415a}
.tqa-dialog{position:fixed;inset:auto 24px 24px auto;margin:0;padding:0;width:min(500px,calc(100vw - 40px));height:min(740px,calc(100dvh - 48px));max-width:none;max-height:none;border:1px solid #3c6a88;border-radius:22px;background:#0c1d2e;color:#e7f3fc;overflow:hidden;color-scheme:dark}
.tqa-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}
.tqa-dialog::backdrop{background:#020d1c70}
.tqa-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid #b2d7f017}
.tqa-heading{display:flex;align-items:center;gap:9px;margin:0;color:#effaff;font-size:21px;font-weight:700;letter-spacing:.02em}
.tqa-online-dot{width:7px;height:7px;background:#6fddc6;border-radius:50%}
.tqa-badge{display:block;color:#82a8c0;font-size:12px;line-height:1.5;margin-top:7px}
.tqa-tools{display:flex;align-items:center;gap:8px}
.tqa-icon,.tqa-clear{display:grid;place-items:center;flex:none;background:transparent;border:1px solid #64839a50;color:#b9cfdf;cursor:pointer;border-radius:50%;width:36px;height:36px;padding:0}
.tqa-clear{border:0;border-radius:8px;width:auto;padding:0 8px;font-size:12px;white-space:nowrap}
.tqa-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.tqa-tools button:hover{background:#ffffff0a;color:#fff}
.tqa-prompts{display:flex;gap:7px;flex-wrap:wrap;padding:14px 24px 0}
.tqa-chip{padding:7px 10px;border-radius:8px;border:1px solid #528bab45;background:#16344c60;color:#b9deed;font-size:12px;line-height:1.5;cursor:pointer;text-align:left}
.tqa-chip:hover{background:#244c68;color:#fff;border-color:#6cd9e4}
.tqa-log{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#36536b transparent;padding:20px 24px 24px;display:flex;flex-direction:column;gap:19px}
.tqa-message{max-width:100%;font-size:14px;line-height:1.85;overflow-wrap:anywhere;flex:none;letter-spacing:0}
.tqa-message-user{margin-left:42px;align-self:flex-end;padding:11px 16px;background:#164e64;border:1px solid #71d4dd23;border-radius:16px 16px 3px 16px;white-space:pre-wrap;color:#edfbff}
.tqa-message-answer{align-self:stretch;border-top:1px solid #7fa6c01c;padding-top:16px}
.tqa-message-answer:first-child{border-top:0;padding-top:0}
.tqa-message-label{color:#6c99b5;font-size:10px;font-weight:650;letter-spacing:.12em;margin:0 0 6px}
.tqa-message h3{font-size:17px;line-height:1.55;color:#d4f6ff;margin:0 0 10px;font-weight:650;letter-spacing:0}
.tqa-message p{margin:0 0 10px;color:#bed0df;font-size:14px;line-height:1.85}
.tqa-message ul{padding-left:19px;margin:8px 0 12px;color:#a5bfd4;font-size:13px;line-height:1.85}
.tqa-message li{padding-left:2px;margin:4px 0}
.tqa-source{display:inline-flex;align-items:center;gap:7px;margin:2px 0 8px;padding:8px 0;border:0;background:none;color:#75d5e7;font-size:12px;line-height:1.5;cursor:pointer}
.tqa-source:hover{color:#c0f8ff}
.tqa-followups{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.tqa-followups .tqa-chip{font-size:11px;padding:6px 9px;background:transparent}
.tqa-form{padding:16px 20px 14px;border-top:1px solid #b2d7f017;background:#0a1929}
.tqa-input-row{display:flex;align-items:flex-end;gap:9px;padding:10px;border:1px solid #3d617d;border-radius:13px;background:#11273a}
.tqa-input{display:block;width:100%;min-height:48px;max-height:112px;resize:none;overflow-y:auto;margin:0;padding:4px 2px;background:none;border:0;outline:none;color:#e4f4ff;font-size:16px;line-height:1.55;letter-spacing:0}
.tqa-input::placeholder{color:#66869d}
.tqa-input-row:focus-within{border-color:#7bd3e2}
.tqa-send{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:11px;border:0;background:#80d9e9;color:#073244;cursor:pointer;padding:0}
.tqa-send:disabled{opacity:.32;cursor:default}
.tqa-send svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9}
.tqa-note{display:flex;justify-content:space-between;gap:12px;margin:9px 1px 0;color:#617e94;font-size:10px;line-height:1.6}
.tqa-note span:last-child{white-space:nowrap}
.tqa-dialog button:focus-visible,.tqa-launcher:focus-visible{outline:2px solid #b4f4ff;outline-offset:3px}
.tqa-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){.tqa-launcher{right:16px;bottom:20px;padding:13px 18px;font-size:14px}.tqa-launcher small{display:none}.tqa-dialog{inset:12px;margin:0;width:calc(100vw - 24px);height:calc(100dvh - 24px);border-radius:17px}.tqa-head{padding:18px 18px 15px}.tqa-heading{font-size:19px}.tqa-prompts{padding:12px 18px 0}.tqa-log{padding:17px 18px 20px}.tqa-form{padding:13px 14px 12px}.tqa-message-user{margin-left:24px}.tqa-note{font-size:9px}}
@media(max-height:520px) and (min-width:601px){.tqa-dialog{inset:10px 15px 10px auto;height:calc(100dvh - 20px)}.tqa-head{padding:12px 20px}.tqa-prompts{padding-top:9px}.tqa-form{padding-top:10px;padding-bottom:10px}.tqa-input{min-height:32px}.tqa-log{padding-top:12px}}
