#rt-assistant-root{--rt-teal:#0e6b5c;--rt-mint:#e3f6ef;--rt-ink:#10201b;--rt-muted:#5b6b64;--rt-line:#d7e1dc;--rt-white:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--rt-ink);line-height:1.5;z-index:1000;position:fixed;right:22px;bottom:22px}
#rt-assistant-root *{box-sizing:border-box}
.rt-chat-toggle{width:62px;height:62px;border:0;border-radius:50%;background:var(--rt-teal);color:#fff;box-shadow:0 8px 28px #0e6b5c40;display:grid;place-items:center;cursor:pointer;transition:transform .18s ease,background .18s ease}
.rt-chat-toggle:hover{background:#0b594c;transform:translateY(-2px)}
.rt-chat-toggle svg{width:28px;height:28px}
.rt-chat-panel{position:absolute;right:0;bottom:76px;width:min(390px,calc(100vw - 28px));height:min(600px,calc(100dvh - 118px));min-height:380px;background:var(--rt-white);border:1px solid var(--rt-line);border-radius:20px;box-shadow:0 18px 54px #10201b26;display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom right;animation:rt-chat-in .18s ease-out}
.rt-chat-panel[hidden]{display:none}
@keyframes rt-chat-in{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.rt-chat-head{padding:16px 18px;background:linear-gradient(135deg,#0e6b5c,#0b5647);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}
.rt-chat-brand{display:flex;align-items:center;gap:11px;min-width:0}
.rt-chat-mark{width:38px;height:38px;border-radius:12px;background:#ffffff1c;display:grid;place-items:center;font-weight:800;font-size:18px;flex:none}
.rt-chat-title{font-size:15px;font-weight:800;line-height:1.25}.rt-chat-subtitle{font-size:11px;color:#d3f2e8;margin-top:3px}
.rt-chat-close{border:0;color:#fff;background:#ffffff1a;width:34px;height:34px;border-radius:10px;font-size:21px;cursor:pointer;flex:none}
.rt-chat-messages{padding:16px;display:flex;flex-direction:column;gap:12px;overflow-y:auto;flex:1;background:#fafcfb;scroll-behavior:smooth}
.rt-chat-msg{max-width:94%;padding:12px 13px;border-radius:14px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.rt-chat-msg.assistant{align-self:flex-start;background:#fff;border:1px solid var(--rt-line);border-top-left-radius:5px;box-shadow:0 2px 7px #10201b08}
.rt-chat-msg.user{align-self:flex-end;background:var(--rt-teal);color:#fff;border-top-right-radius:5px}
.rt-chat-msg p+p{margin-top:8px}
.rt-chat-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.rt-chat-chip{border:1px solid #b8ded2;background:#f0faf6;color:var(--rt-teal);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer;text-align:left}
.rt-chat-chip:hover{background:#e0f3ec}
.rt-chat-picker-label{display:block;margin:0 0 7px;font-size:11px;font-weight:800;color:#355249}
.rt-chat-picker{display:block;width:100%;min-height:42px;border:1px solid #b8cfc4;border-radius:10px;background:#fff;color:#10201b;padding:9px 10px;font:600 12px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.rt-chat-picker:focus{outline:2px solid #0e6b5c;outline-offset:2px}
.rt-chat-picker:disabled{color:#718078;background:#f6f8f7}
.rt-chat-facts{list-style:none;margin:9px 0 0;padding:0;display:grid;gap:7px}
.rt-chat-facts li{padding:8px 10px;border-radius:9px;background:#f2f8f5;border:1px solid #e1eee8;font-size:12px}
.rt-chat-status{display:inline-flex;margin-top:9px;padding:4px 8px;border-radius:999px;background:#e3f6ef;color:#0e6b5c;font-size:10px;font-weight:800}
.rt-chat-status.pending{background:#fff4d8;color:#8a5600}
.rt-chat-code{display:block;margin-top:9px;padding:10px 12px;border-radius:10px;background:#e6f6ef;border:1px solid #b8ded2;color:#075548;font:700 17px/1.25 "JetBrains Mono",monospace;letter-spacing:.04em;text-align:center;user-select:all}
.rt-chat-source{display:inline-flex;margin-top:10px;color:var(--rt-teal);font-weight:800;text-decoration:none;font-size:11px}
.rt-chat-source:hover{text-decoration:underline}
.rt-chat-foot{padding:9px 15px 0;background:#fff;color:#718078;font-size:10px}
.rt-chat-form{display:flex;gap:8px;padding:11px 13px 13px;background:#fff;border-top:1px solid var(--rt-line)}
.rt-chat-input{min-width:0;flex:1;border:1px solid #cbd8d1;border-radius:12px;padding:11px 12px;font:inherit;font-size:13px;outline:none;background:#fff;color:var(--rt-ink)}
.rt-chat-input:focus{border-color:var(--rt-teal);box-shadow:0 0 0 3px #0e6b5c18}
.rt-chat-send{width:44px;border:0;border-radius:12px;background:var(--rt-teal);color:#fff;font-size:18px;font-weight:800;cursor:pointer}
.rt-chat-send:disabled{opacity:.5;cursor:wait}
@media(max-width:600px){#rt-assistant-root{right:14px;bottom:14px}.rt-chat-toggle{width:56px;height:56px}.rt-chat-panel{position:fixed;inset:auto 8px 8px;width:auto;height:min(680px,calc(100dvh - 16px));min-height:350px;border-radius:19px}.rt-chat-head{padding:14px 15px}.rt-chat-messages{padding:13px}}
@media(prefers-reduced-motion:reduce){.rt-chat-toggle,.rt-chat-panel,.rt-chat-messages{transition:none;animation:none;scroll-behavior:auto}}

