.ba-launch,.ba-panel { font-family: Inter,"Microsoft YaHei",sans-serif; color:#ecf3f4; box-sizing:border-box; }
.ba-launch { position:fixed; bottom:24px; right:24px; z-index:90; border:1px solid #c9e7ee40; border-radius:999px; padding:13px 20px; background:#092f40ef; backdrop-filter:blur(18px); box-shadow:0 8px 30px #00121d45; cursor:pointer; font-size:14px; }
.ba-panel { position:fixed; right:24px; bottom:86px; z-index:91; width:430px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 108px); display:flex; flex-direction:column; overflow:hidden; border:1px solid #c9e7ee35; border-radius:22px; background:#072c3bf7; box-shadow:0 24px 80px #00101870; backdrop-filter:blur(28px); }
.ba-panel [hidden],.ba-panel[hidden] { display:none!important; }
.ba-header { display:flex; justify-content:space-between; align-items:flex-start; padding:22px 23px 16px; border-bottom:1px solid #d4e8ed18; }
.ba-eyebrow { margin:0 0 6px; font-size:10px; letter-spacing:.16em; color:#a2c3ce; }
.ba-header h2 { margin:0; font-size:23px; line-height:1.4; font-weight:400; }
.ba-header-actions { display:flex; align-items:center; gap:6px; }
.ba-header-actions button { border:0; background:transparent; color:#b8d2da; font-size:23px; padding:6px; cursor:pointer; border-radius:7px; }
.ba-jump { color:#dbe9e4; font-size:12px; text-decoration:none; padding:8px; }
.ba-jump:hover { text-decoration:underline; text-underline-offset:4px; }
.ba-scroll { padding:17px 23px 0; overflow-y:auto; overscroll-behavior:contain; min-height:0; }
.ba-intro { margin:0 0 14px; color:#b8cdd4; font-size:13px; line-height:1.8; }
.ba-suggestions { display:flex; flex-wrap:wrap; gap:8px; }
.ba-suggestions button,.ba-setting-actions button,.ba-form-actions button { border:1px solid #bbd7e030; border-radius:8px; background:#c5e1e00a; color:#d0e1e6; cursor:pointer; padding:8px 12px; font-size:12px; }
.ba-suggestions button { border-radius:999px; }
.ba-status { margin:16px 0 12px; color:#a8c6d0; font-size:12px; line-height:1.8; }
.ba-result { padding:14px 16px; margin:0 0 12px; border:1px solid #cbe4e525; border-radius:13px; background:#acd0d808; }
.ba-result h3 { font-size:15px; line-height:1.7; margin:0 0 8px; font-weight:500; }
.ba-panel a { color:#e1eeea; text-decoration:none; }
.ba-panel a:hover { text-decoration:underline; text-underline-offset:4px; }
.ba-result p,.ba-answer { white-space:pre-wrap; overflow-wrap:anywhere; color:#c6dbe0; font-size:13px; line-height:1.9; margin:8px 0; }
.ba-result .ba-meta { color:#91b2be; font-size:10px; margin:0 0 8px; }
.ba-source { display:block; font-size:12px; line-height:1.8; padding:7px 0; }
.ba-form { margin:13px 20px 20px; border:1px solid #cbe4e540; border-radius:12px; background:#001e2b80; padding:11px; flex-shrink:0; }
.ba-form textarea { width:100%; display:block; border:0; background:transparent; color:#f0f4f5; font:inherit; font-size:13px; line-height:1.6; outline:none; resize:none; box-sizing:border-box; }
.ba-form textarea::placeholder,.ba-settings input::placeholder { color:#86a9b8; }
.ba-form:focus-within { border-color:#cbe4e590; }
.ba-form-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:10px; }
.ba-form-actions .ba-primary { color:#173845; background:#dbe9e4; }
.ba-settings { padding:16px; margin:0 0 17px; border:1px solid #cbe4e530; border-radius:13px; background:#001e2b80; }
.ba-settings h3 { margin:0 0 14px; font-size:15px; font-weight:500; }
.ba-settings label { display:block; font-size:12px; line-height:1.6; margin:12px 0 7px; color:#bfd4dc; }
.ba-settings .ba-option { margin:8px 0; }
.ba-settings input[type="password"],.ba-settings input[type="text"] { width:100%; border:1px solid #cbe4e535; border-radius:7px; background:#002737; color:#d5e6eb; padding:9px; font:inherit; font-size:12px; box-sizing:border-box; }
.ba-settings .ba-muted { color:#7d9caa; }
.ba-settings input[type="radio"] { vertical-align:middle; margin:0 5px 2px 0; accent-color:#bed7cd; }
.ba-note { font-size:11px; line-height:1.8; color:#9ebdc8; margin:10px 0; }
.ba-setting-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.ba-sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.ba-panel button:disabled { opacity:.5; cursor:default; }
.ba-panel button:focus-visible,.ba-panel input:focus-visible,.ba-panel a:focus-visible,.ba-launch:focus-visible { outline:2px solid #dbe9e4; outline-offset:3px; }
html.portal-pending .ba-launch,html.portal-opening .ba-launch { visibility:hidden; }
@media(max-width:600px) { .ba-launch { right:16px; bottom:18px; } .ba-panel { right:16px; bottom:80px; max-height:calc(100dvh - 98px); } .ba-scroll { padding:16px 19px 0; } .ba-header { padding:19px 19px 15px; } }
