.assistant-launch { position:fixed;right:24px;bottom:24px;z-index:42;display:flex;align-items:center;gap:9px;min-height:48px;padding:12px 18px;border:1px solid #dbe2e8;border-radius:28px;background:#fff;color:#172f45;box-shadow:0 4px 20px #152a4518;font:inherit;font-weight:700;cursor:pointer; }
.assistant-launch[hidden] { display:none; }
.assistant-dialog { position:fixed;inset:32px 0 auto;margin:0 auto;width:min(860px,calc(100vw - 48px));height:min(860px,calc(100dvh - 64px));max-height:none;max-width:none;padding:0;border:1px solid #e0e5ea;border-radius:24px;background:#fafbfb;color:#22313e;box-shadow:0 18px 70px #152a4530;overflow:hidden; }
.assistant-dialog[open] { display:flex;flex-direction:column; }
.assistant-dialog::backdrop { background:#14283d38;backdrop-filter:blur(3px); }
.assistant-head { display:flex;align-items:center;justify-content:space-between;padding:20px 26px;flex:none; }
.assistant-head h2 { margin:0;font-size:17px;letter-spacing:-.3px;line-height:1.25; }
.assistant-label { display:block;margin-top:4px;color:#78828a;font-size:11px; }
.assistant .icon-button { color:#54616b; }
.assistant-thread { flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 32px 24px;scrollbar-width:thin; }
.assistant-welcome { display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;text-align:center;padding:28px 16px; }
.assistant-mascot { width:64px;height:64px;object-fit:contain;margin-bottom:20px; }
.assistant-welcome h3 { font-size:28px;line-height:1.25;letter-spacing:-.8px;margin:0 0 14px;text-wrap:balance; }
.assistant-intro { color:#68757e;font-size:15px;line-height:1.6;margin:0;max-width:420px; }
.assistant-prompts { display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:28px; }
.assistant-prompts button { font:inherit;font-size:13px;line-height:1.4;min-height:44px;padding:10px 14px;border:1px solid #e0e5e8;border-radius:12px;background:#fff;color:#40525f;cursor:pointer; }
.assistant-prompts button:hover { border-color:#aab9c5; }
.assistant-question { margin:12px 0 24px auto;width:fit-content;max-width:88%;padding:12px 16px;border-radius:18px 18px 4px 18px;background:#eaf0f4;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere; }
.assistant-answer { font-size:15px;line-height:1.7;overflow-wrap:anywhere; }
.assistant-answer p { margin:0 0 12px; }
.assistant-answer h3,.assistant-answer h4 { font-size:16px;margin:18px 0 8px; }
.assistant-answer ul,.assistant-answer ol { padding-left:23px;margin:8px 0 16px; }
.assistant-answer li { margin:5px 0; }
.assistant-answer pre { max-width:100%;overflow:auto;background:#eef1f3;border-radius:10px;padding:12px;font-size:12px; }
.assistant-answer code { font-size:.88em;background:#eef1f3;border-radius:4px;padding:2px 4px; }
.assistant-answer blockquote { border-left:3px solid #cedae3;padding-left:14px;margin:12px 0;color:#607383; }
.assistant-status { margin:0;padding:10px 32px;color:#62727e;font-size:13px;line-height:1.5;display:flex;align-items:center;gap:9px; }
.assistant-status::before { content:'';width:6px;height:6px;flex:none;border-radius:50%;background:#71828f;box-shadow:9px 0 #71828f66,18px 0 #71828f33;margin-right:18px;animation:assistant-thinking 1.1s ease-in-out infinite alternate; }
.assistant-status[hidden] { display:none; }
.assistant-controls { flex:none;padding:12px 24px 0; }
.assistant-form { border:1px solid #cbd3d9;border-radius:22px;padding:14px;background:#fff;box-shadow:0 4px 20px #152a4509; }
.assistant-form:focus-within { border-color:#8299ac;box-shadow:0 0 0 2px #8299ac14; }
.assistant-form textarea { display:block;width:100%;min-height:50px;max-height:140px;resize:none;border:0;background:transparent;padding:4px 6px;box-shadow:none;outline:none;font:inherit;font-size:16px;line-height:1.5;color:inherit; }
.assistant-compose-actions { display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:6px; }
.assistant-compose-actions .icon-button { padding:0 8px;gap:7px;font-size:12px;font-weight:500; }
.assistant-compose-actions [aria-pressed=true] { color:#b33131;background:#fff1f1; }
.assistant-send { display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;background:#233646;color:white;font:inherit;font-size:26px;line-height:1;cursor:pointer; }
.assistant-send.is-streaming { font-size:17px; }
.assistant-send:focus-visible,.assistant-prompts button:focus-visible { outline:2px solid #1878ec;outline-offset:3px; }
.assistant-reset,.assistant-listen { border:0;background:none;color:#637988;padding:10px 0;min-height:44px;font:inherit;font-size:12px;cursor:pointer; }
.assistant-reset:hover,.assistant-listen:hover { text-decoration:underline;text-underline-offset:3px; }
.assistant-privacy { flex:none;margin:0;padding:0 26px 18px;font-size:10px;line-height:1.5;color:#7b858d;text-wrap:pretty; }
.assistant-sources { margin:22px 0; }
.assistant-sources h3 { font-size:12px;font-weight:600;color:#627281;margin-bottom:10px; }
.assistant-result-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.assistant-sources a { display:flex;align-items:center;gap:12px;min-width:0;min-height:96px;padding:8px;border:1px solid #e0e6ea;border-radius:16px;text-decoration:none;color:inherit;background:white; }
.assistant-sources a:hover { border-color:#afbfcb; }
.assistant-sources img { width:88px;height:88px;object-fit:cover;flex:none;border-radius:10px;background:#edf2f5; }
.assistant-sources a>div { min-width:0;padding-right:6px; }
.assistant-sources strong { font-size:13px;line-height:1.4;display:block;overflow-wrap:anywhere; }
.assistant-sources span { display:block;color:#647685;font-size:11px;margin-top:5px; }
.assistant-table { overflow:auto;margin:12px 0; }
.assistant-table table { width:100%;border-collapse:collapse;font-size:13px; }
.assistant-table th,.assistant-table td { text-align:left;padding:8px;border-bottom:1px solid #e1e7eb; }
.app-full .assistant-launch { top:94px;bottom:auto;right:16px; }
@keyframes assistant-thinking { from { opacity:.45; } to { opacity:1; } }
@media(max-width:959px) { .assistant-launch { bottom:calc(80px + env(safe-area-inset-bottom)); }.assistant-result-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:699px) {
 .assistant-launch { right:16px;font-size:13px;padding:10px 14px; }
 .assistant-dialog { inset:auto 0 0;width:100%;height:calc(100dvh - 12px - env(safe-area-inset-top));border-radius:24px 24px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom); }
 .assistant-head { padding:18px 18px 10px; }.assistant-thread { padding:12px 18px 20px; }
 .assistant-welcome { padding:16px 0; }.assistant-welcome h3 { font-size:25px; }
 .assistant-prompts { gap:7px;margin-top:22px; }.assistant-prompts button { font-size:12px; }
 .assistant-privacy { padding:0 18px 10px; }.assistant-controls { padding:10px 14px 0; }.assistant-status { padding:10px 18px; }
 .app-full .assistant-launch { top:85px;right:12px; }
}
@media(prefers-reduced-motion:reduce) { .assistant-dialog,.assistant-launch,.assistant-status::before { animation:none;transition:none; } }
