/* Independent palette: a luminous blue orb and a crisp, readable messenger. */
#rox-floating{position:fixed;inset:0 auto auto 0;width:0;height:0;padding:0;margin:0;border:0;overflow:visible;background:transparent;pointer-events:none;z-index:1000;color:#162239;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;color-scheme:light}
#rox-floating::backdrop{background:transparent;pointer-events:none}
#rox-floating *{box-sizing:border-box}
#rox-floating button,#rox-floating select,#rox-floating textarea{font:inherit;letter-spacing:normal;text-transform:none}
#rox-floating button{cursor:pointer}
#rox-floating button:focus-visible,#rox-floating summary:focus-visible,#rox-floating select:focus-visible,#rox-floating textarea:focus-visible,#rox-floating [tabindex]:focus-visible{outline:3px solid #519aff;outline-offset:3px}
#rox-floating button:disabled{opacity:.5;cursor:wait}
#rox-floating .rox-chat-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#rox-floating .rox-orb{position:fixed;display:grid;place-items:center;width:64px;height:64px;padding:0;border:0;border-radius:50%;background:#1267ef;color:#fff;box-shadow:0 8px 25px #075fc64d,0 0 0 1px #b2deff80,inset 0 1px 1px #fff8;pointer-events:auto;touch-action:none;user-select:none;isolation:isolate;transition:box-shadow .35s,scale .35s}
#rox-floating .rox-sphere{position:absolute;inset:0;overflow:hidden;border-radius:50%;background:radial-gradient(circle at 30% 22%,#d6fcff 0,#6ccaff 13%,#338dff 32%,#125ee9 60%,#1738b8 86%);box-shadow:inset -5px -7px 12px #0733a995,inset 0 1px 3px #edffffd9}
#rox-floating .rox-sphere-flow{position:absolute;inset:-16%;border-radius:50%;background:conic-gradient(from 20deg,transparent 5%,#b8f5ffbd 17%,transparent 28%,#0a37a1aa 44%,transparent 55%,#8ff1ffaa 72%,transparent 85%);filter:blur(4px);transform:rotate(-25deg);animation:rox-liquid-turn 3.6s linear infinite;animation-play-state:paused}
#rox-floating .rox-sphere-orbit{position:absolute;inset:10% -10%;border:1.2px solid #b4f4ff99;border-left:4px solid #d1f7ff8c;border-radius:50%;transform:rotate(-32deg) scaleY(.56);box-shadow:0 0 8px #87daff55}
#rox-floating .rox-sphere-shine{position:absolute;top:9%;left:17%;width:44%;height:22%;border-radius:50%;background:linear-gradient(#fff9,#fff0);transform:rotate(-25deg);filter:blur(1px)}
#rox-floating .rox-orb-word{position:relative;z-index:1;font-size:18px;font-weight:600;letter-spacing:-1px;text-shadow:0 1px 7px #082a8f99;transform:translateY(1px)}
#rox-floating .rox-orb-notice{display:none;position:absolute;right:1px;top:1px;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#1a72f2;z-index:3}
#rox-floating .has-unread .rox-orb-notice{display:block}
@media(hover:hover){#rox-floating .rox-orb:hover{scale:1.08;box-shadow:0 12px 32px #146dff66,0 0 34px #55b5ffb0,0 0 0 6px #6cc7ff18}#rox-floating .rox-orb:hover .rox-sphere-flow{animation-play-state:running}}
#rox-floating .rox-orb:focus-visible .rox-sphere-flow{animation-play-state:running}
#rox-floating.is-dragging .rox-orb{cursor:grabbing;scale:1.04}
#rox-chat{position:fixed;display:flex;flex-direction:column;margin:0;padding:0;min-width:0;overflow:hidden;border:1px solid #ffffffcc;border-radius:25px;background:#f8fafff5;color:#162239;box-shadow:0 28px 80px #09265e2e,0 4px 14px #123a6614,0 0 0 1px #7f9abb33;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);pointer-events:none;opacity:0;visibility:hidden;transform-origin:100% 100%;transform:translate(var(--rox-collapse-x),var(--rox-collapse-y)) scale(.1);transition:transform .42s cubic-bezier(.2,.8,.2,1),opacity .22s,visibility 0s .42s,width .3s,height .3s,left .3s,top .3s}
#rox-floating.is-open #rox-chat{pointer-events:auto;opacity:1;visibility:visible;transform:translate(0,0) scale(1);transition:transform .42s cubic-bezier(.16,1,.3,1),opacity .22s,visibility 0s,width .3s,height .3s,left .3s,top .3s}
#rox-floating.is-dragging #rox-chat{transition:none}
#rox-floating .rox-chat-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:12px;padding:19px 17px 17px 20px;border-bottom:1px solid #dfe7f180;background:linear-gradient(115deg,#fff,#eef5ffbd);cursor:grab;touch-action:none;user-select:none}
#rox-floating .rox-chat-identity{display:flex;gap:11px;align-items:center;min-width:0}
#rox-floating .rox-chat-identity>.rox-sphere{position:relative;width:38px;height:38px;flex:0 0 38px;box-shadow:0 4px 10px #1569dd33,inset 0 1px 3px #fff8}
#rox-floating .rox-chat-header h2{margin:0;color:#132138;font-size:19px;line-height:1.3;font-weight:650;letter-spacing:-.6px}
#rox-floating .rox-chat-header h2 span{margin-left:5px;font-size:12px;vertical-align:middle;color:#397ceb}
#rox-floating .rox-chat-header p{margin:2px 0 0;font-size:11px;color:#65758d}
#rox-floating .rox-chat-window-actions{display:flex;gap:3px;flex-shrink:0}
#rox-floating .rox-chat-window-actions button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;flex:0 0 34px;border:0;border-radius:10px;background:transparent;color:#65758c;padding:8px;box-shadow:none}
#rox-floating .rox-chat-window-actions button:hover{color:#135fd0;background:#dbe9ff88}
#rox-floating svg{width:20px;height:20px;display:block}
#rox-floating .rox-chat-tools{display:flex;flex-wrap:wrap;gap:6px;padding:11px 15px;flex-shrink:0;border-bottom:1px solid #e3eaf2;background:#ffffff85}
#rox-floating .rox-chat-tools button{padding:6px 9px;min-height:32px;border:1px solid transparent;background:transparent;border-radius:9px;color:#556780;font-size:11px;font-weight:550;white-space:nowrap}
#rox-floating .rox-chat-tools button[aria-pressed=true]{background:#e6efff;color:#175dc9;border-color:#d6e5fe}
#rox-floating .rox-chat-tools button:hover{background:#edf3fc;color:#175dc9}
#rox-floating .rox-chat-scope{display:grid;grid-template-columns:minmax(0,1fr) 82px 32px;gap:8px;padding:10px 16px;border-bottom:1px solid #e3eaf2;background:#f3f7fc;flex-shrink:0}
#rox-floating .rox-chat-scope[hidden],#rox-floating [hidden]{display:none}
#rox-floating .rox-chat-scope label{display:grid;gap:3px;font-size:10px;font-weight:600;color:#5c6d83}
#rox-floating .rox-chat-scope select{width:100%;min-width:0;height:34px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;color:#273d5b;font-size:12px;padding:3px 7px}
#rox-floating .rox-chat-scope>button{align-self:end;height:34px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;color:#416a9f;display:grid;place-items:center;padding:0}
#rox-floating .rox-chat-scope-status{grid-column:1/-1;color:#65758b;font-size:10px;line-height:1.4;margin:0}
#rox-floating .rox-chat-transcript{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 18px 10px;scrollbar-width:thin;scrollbar-color:#cdd9e7 transparent;background:radial-gradient(ellipse at 85% 0,#e4efff55,transparent 65%)}
#rox-floating .rox-chat-message{display:flex;flex-direction:column;align-items:flex-start;max-width:100%;margin:0 0 19px;animation:rox-message-in .24s ease-out}
#rox-floating .rox-chat-message.is-user{align-items:flex-end}
#rox-floating .rox-chat-bubble{max-width:95%;padding:13px 15px;border:1px solid #e5eaf1;border-radius:17px 17px 17px 5px;background:#fff;box-shadow:0 2px 4px #24385503;overflow-wrap:anywhere;color:#23334a}
#rox-floating .is-user .rox-chat-bubble{max-width:88%;background:linear-gradient(140deg,#287efa,#1765e2);color:white;border:1px solid #2574eb;border-radius:17px 17px 5px 17px;box-shadow:0 3px 9px #287efa1a}
#rox-floating .rox-chat-copy{white-space:pre-wrap;font-size:13px;line-height:1.7;margin:0;color:inherit}
#rox-floating .rox-chat-note{font-size:11px;line-height:1.65;color:#708099;margin:8px 0 0}
#rox-floating .is-user .rox-chat-note{color:#e6f0ff}
#rox-floating .rox-chat-message time{font-size:9px;line-height:1.4;color:#8491a4;padding:5px 3px 0}
#rox-floating .rox-chat-answer{padding:12px 0 0;margin-top:10px;border:0;border-top:1px solid #e7edf4;background:none;border-radius:0;box-shadow:none}
#rox-floating .rox-chat-answer h3{font-size:13px;margin:6px 0;font-weight:600;color:#203b5f}
#rox-floating .rox-chat-source-label{font-size:9px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:#56739c;display:block;margin:0 0 7px}
#rox-floating .rox-chat-answer details,#rox-floating .rox-chat-citation{font-size:11px;color:#687991;margin:12px 0 0}
#rox-floating details summary{cursor:pointer;color:#365e96;font-size:11px}
#rox-floating details p{line-height:1.65;margin:8px 0 0}
#rox-floating .rox-chat-reference{border-top:1px solid #e4ebf4;padding:12px 0 0;margin-top:12px}
#rox-floating .rox-chat-reference summary{font-size:12px;font-weight:600;color:#264d81;line-height:1.6}
#rox-floating .rox-chat-reference summary span{display:block;color:#8793a5;font-size:10px;font-weight:400;padding-left:15px}
#rox-floating .rox-chat-reference-limit{background:#eef4ff;border-radius:6px;padding:7px 9px;font-size:10px;color:#47628a}
#rox-floating .rox-chat-citation{border-left:2px solid #d7e6ff;padding-left:9px;font-size:10px}
#rox-floating .rox-chat-citation a{color:#2267c4;text-decoration:underline;text-underline-offset:3px}
#rox-floating .rox-chat-feedback{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}
#rox-floating .rox-chat-feedback button,#rox-floating .rox-chat-retry{padding:5px 8px;border:1px solid #dbe5f1;border-radius:7px;background:#f7faff;color:#42638f;font-size:10px;min-height:30px}
#rox-floating .rox-chat-feedback span{flex-basis:100%;font-size:10px;line-height:1.5;color:#526c8d}
#rox-floating .rox-chat-failure .rox-chat-bubble{border-color:#eed6cf;background:#fffaf8;color:#86482e}
#rox-floating .rox-chat-retry{margin-top:9px}
#rox-floating .rox-typing{display:flex;gap:5px;padding:6px 2px}
#rox-floating .rox-typing i{width:5px;height:5px;border-radius:50%;background:#8cadd8;animation:rox-dot 1s ease-in-out infinite}
#rox-floating .rox-typing i:nth-child(2){animation-delay:.15s}#rox-floating .rox-typing i:nth-child(3){animation-delay:.3s}
#rox-floating .rox-chat-bottom{flex-shrink:0;padding:9px 15px 11px;border-top:1px solid #e7edf5;background:#fff9}
#rox-floating .rox-chat-suggestions{display:flex;gap:6px;margin:0 0 9px;flex-wrap:wrap}
#rox-floating .rox-chat-suggestions button{font-size:10px;line-height:1.4;color:#6c7c94;background:#f2f6fc;border:1px solid #e5ecf6;border-radius:20px;padding:6px 10px;min-height:30px}
#rox-floating .rox-chat-input-wrap{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1px solid #dae4f1;border-radius:15px;padding:7px 7px 7px 12px;box-shadow:0 2px 5px #24385505}
#rox-floating .rox-chat-input-wrap:focus-within{border-color:#7faff4;box-shadow:0 0 0 3px #458df012}
#rox-floating #rox-question{display:block;resize:none;flex:1;min-width:0;min-height:36px;max-height:112px;width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;padding:8px 0;font-size:14px;line-height:20px;color:#23334a;overflow:auto}
#rox-floating #rox-question::placeholder{color:#9aa7b9}
#rox-floating .rox-chat-input-wrap>button{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;padding:8px;border:0;border-radius:11px;background:#2876ed;color:#fff;box-shadow:0 2px 5px #2876ed22}
#rox-floating .rox-chat-input-wrap>button:hover{background:#1766e5}
#rox-floating .rox-chat-compose-status{font-size:10px;color:#7185a1;margin:5px 3px 0;line-height:1.4}
#rox-floating .rox-chat-compose-status:empty{display:none}
#rox-floating .rox-chat-privacy{margin-top:8px;text-align:center}
#rox-floating .rox-chat-privacy summary{font-size:9px;color:#8090a7;list-style:none}
#rox-floating .rox-chat-privacy summary::after{content:' ⓘ'}
#rox-floating .rox-chat-privacy summary::-webkit-details-marker{display:none}
#rox-floating .rox-chat-privacy p{font-size:10px;line-height:1.6;text-align:left;color:#71829a;margin:7px 4px 2px}
#rox-expanded-shell{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
#rox-expanded-shell::backdrop{background:#0c183f52;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
#rox-floating.is-expanded .rox-orb{visibility:hidden;pointer-events:none}
#rox-floating.is-expanded .rox-chat-header{padding:22px 28px;cursor:default}
#rox-floating.is-expanded .rox-chat-tools{padding:12px 28px}
#rox-floating.is-expanded .rox-chat-scope{padding:12px max(24px,calc((100% - 800px)/2))}
#rox-floating.is-expanded .rox-chat-transcript{padding:30px max(24px,calc((100% - 800px)/2)) 12px}
#rox-floating.is-expanded .rox-chat-bottom{padding:13px max(24px,calc((100% - 800px)/2)) 20px}
#rox-floating.is-expanded .rox-chat-copy{font-size:15px}
#rox-floating.is-expanded .rox-chat-bubble{padding:17px 20px;max-width:88%}
#rox-floating.is-expanded .rox-chat-input-wrap{padding:10px 10px 10px 16px}
@keyframes rox-liquid-turn{to{transform:rotate(335deg)}}
@keyframes rox-message-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes rox-dot{0%,70%,100%{transform:translateY(0);opacity:.5}35%{transform:translateY(-3px);opacity:1}}
@media(max-width:600px){#rox-chat{border-radius:22px}#rox-floating .rox-chat-header{padding:15px}#rox-floating .rox-chat-header h2{font-size:18px}#rox-floating .rox-chat-window-actions button{width:36px;height:36px;flex-basis:36px}#rox-floating #rox-question{font-size:16px}#rox-floating .rox-chat-transcript{padding:18px 13px 8px}#rox-floating .rox-chat-tools{padding:8px 12px;gap:3px}#rox-floating .rox-chat-tools button{font-size:10px;padding:5px 7px}#rox-floating .rox-chat-privacy summary{font-size:9px}#rox-floating.is-expanded .rox-chat-header{padding:16px}#rox-floating.is-expanded .rox-chat-tools{padding:8px 12px}#rox-floating.is-expanded .rox-chat-transcript{padding:20px 14px 10px}#rox-floating.is-expanded .rox-chat-bottom{padding:10px 13px 14px}#rox-floating.is-expanded .rox-chat-copy{font-size:14px}#rox-floating.is-expanded .rox-chat-bubble{max-width:96%;padding:14px}}
@media(prefers-reduced-motion:reduce){#rox-floating *,#rox-floating *::before,#rox-floating *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#rox-floating .rox-orb:hover{scale:1}}

#rox-floating.is-compact .rox-chat-header{padding:8px 12px}#rox-floating.is-compact .rox-chat-header p{display:none}#rox-floating.is-compact .rox-chat-tools{padding:4px 9px;flex-wrap:nowrap;overflow:auto}#rox-floating.is-compact .rox-chat-tools button{min-height:28px;padding:4px 7px;font-size:10px}#rox-floating.is-compact .rox-chat-scope{padding:5px 12px}#rox-floating.is-compact .rox-chat-scope-status,#rox-floating.is-compact .rox-chat-suggestions,#rox-floating.is-compact .rox-chat-privacy{display:none}#rox-floating.is-compact .rox-chat-bottom{padding:7px 12px}#rox-floating.is-compact .rox-chat-transcript{padding:12px}
