.rtm-ai-v34-header-launcher{height:48px!important;min-width:132px!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:15px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;cursor:pointer!important;background:linear-gradient(135deg,#2479ff 0%,#7158ee 58%,#8d4ff3 100%)!important;color:#fff!important;box-shadow:0 8px 22px rgba(65,86,238,.34),0 0 0 3px rgba(82,213,255,.08)!important;font:800 15px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:.01em!important;white-space:nowrap!important;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;flex:0 0 auto!important;margin-inline-start:8px!important}.rtm-ai-v34-header-launcher span{font-size:20px!important;filter:drop-shadow(0 0 7px rgba(255,255,255,.72))}.rtm-ai-v34-header-launcher strong{font-size:16px!important}.rtm-ai-v34-header-launcher i{font-style:normal!important;font-size:9px!important;font-weight:900!important;opacity:.82!important;border-inline-start:1px solid rgba(255,255,255,.32)!important;padding-inline-start:7px!important}.rtm-ai-v34-header-launcher:hover{transform:translateY(-1px) scale(1.02)!important;box-shadow:0 12px 28px rgba(65,86,238,.44),0 0 0 4px rgba(82,213,255,.11)!important;filter:saturate(1.08)!important}.rtm-ai-v34-header-launcher:focus-visible{outline:3px solid rgba(48,208,255,.45)!important;outline-offset:2px!important}
.rtm-ai-v33-launcher{position:fixed;left:16px;bottom:16px;right:auto;z-index:2147482000;border:0;border-radius:999px;padding:12px 16px;display:none;gap:8px;align-items:center;cursor:pointer;background:linear-gradient(135deg,#2479ff,#7758ef);color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.28);font:800 14px/1.1 system-ui,-apple-system,"Segoe UI",sans-serif}.rtm-ai-v33-launcher span{font-size:18px}.rtm-ai-v33-launcher i{display:none}.rtm-ai-v33-launcher:hover{transform:translateY(-1px)}
.rtm-ai-v33-open{overflow:hidden}.rtm-ai-v33-modal{position:fixed;inset:0;z-index:2147483000;background:rgba(5,10,24,.58);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:18px}.rtm-ai-v33-card{width:min(820px,100%);height:min(790px,92vh);background:var(--surface,#fff);color:var(--text,#172033);border:1px solid rgba(100,116,139,.24);border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.33);display:flex;flex-direction:column;overflow:hidden;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.rtm-ai-v33-head{display:flex;justify-content:space-between;gap:18px;padding:20px 22px 14px;border-bottom:1px solid rgba(100,116,139,.18)}.rtm-ai-v33-head h2{margin:3px 0 4px;font-size:25px}.rtm-ai-v33-head p{margin:0;color:var(--muted,#6b7280);font-size:13px;line-height:1.55}.rtm-ai-v33-kicker{font-size:11px;font-weight:900;letter-spacing:.06em;color:var(--muted,#667085)}.rtm-ai-v33-close{border:0;background:transparent;color:inherit;font-size:25px;line-height:1;cursor:pointer;padding:2px 6px;align-self:flex-start}.rtm-ai-v33-context{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 22px;background:rgba(99,102,241,.055);border-bottom:1px solid rgba(100,116,139,.13);font-size:12px}.rtm-ai-v33-context span{margin-inline-end:auto}.rtm-ai-v33-context b{background:rgba(99,102,241,.11);padding:5px 9px;border-radius:999px}.rtm-ai-v33-context em{font-style:normal;color:var(--muted,#6b7280)}.rtm-ai-v33-context em.ok{color:#087a55;font-weight:800}.rtm-ai-v33-context em.err{color:#b42318;font-weight:800}.rtm-ai-v33-quick{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;overflow:visible;border-bottom:1px solid rgba(100,116,139,.14)}.rtm-ai-v33-quick button{white-space:nowrap;border:1px solid rgba(99,102,241,.28);border-radius:999px;padding:8px 12px;background:transparent;color:inherit;font-weight:750;cursor:pointer}.rtm-ai-v33-quick button:first-child{background:rgba(99,102,241,.09);border-color:rgba(99,102,241,.45)}.rtm-ai-v33-chat{flex:1;overflow:auto;padding:18px;background:rgba(248,250,252,.48)}.rtm-ai-v33-msg{display:flex;margin:0 0 14px}.rtm-ai-v33-msg.user{justify-content:flex-start}.rtm-ai-v33-msg.assistant{justify-content:flex-end}.rtm-ai-v33-bubble{max-width:84%;padding:13px 15px;border-radius:18px;background:#eef0ff;border:1px solid rgba(99,102,241,.16);line-height:1.65}.rtm-ai-v33-msg.user .rtm-ai-v33-bubble{background:#111a35;color:#fff;border-color:#111a35}.rtm-ai-v33-msg.error .rtm-ai-v33-bubble{background:#fff4f2;border-color:#f4b4aa;color:#7a271a}.rtm-ai-v33-bubble>span{display:block;font-size:10px;font-weight:900;opacity:.65;margin-bottom:5px}.rtm-ai-v33-answer p{margin:0 0 8px}.rtm-ai-v33-answer p:last-child{margin-bottom:0}.rtm-ai-v33-answer ul{margin:6px 0 10px;padding-inline-start:22px}.rtm-ai-v33-answer li{margin:3px 0}.rtm-ai-v33-answer strong{font-weight:850}.rtm-ai-v33-answer code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:rgba(15,23,42,.07);padding:1px 4px;border-radius:4px}.rtm-ai-v33-gap{height:5px}.rtm-ai-v33-bubble small{display:block;margin-top:7px;font-size:10px;opacity:.52;direction:ltr;text-align:start}.rtm-ai-v33-form{padding:13px 16px 16px;border-top:1px solid rgba(100,116,139,.16);background:var(--surface,#fff)}.rtm-ai-v33-form textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:92px;max-height:190px;border:2px solid rgba(71,118,255,.75);border-radius:15px;padding:13px 14px;background:transparent;color:inherit;font:inherit;line-height:1.45;outline:none}.rtm-ai-v33-form textarea:focus{box-shadow:0 0 0 4px rgba(71,118,255,.1)}.rtm-ai-v33-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px}.rtm-ai-v33-actions small{font-size:10px;color:var(--muted,#6b7280)}.rtm-ai-v33-actions button{border:0;border-radius:11px;padding:10px 16px;background:#111a35;color:#fff;font-weight:850;cursor:pointer}.rtm-ai-v33-actions button:disabled{opacity:.42;cursor:not-allowed}
html[data-theme="dark"] .rtm-ai-v33-card,body.dark .rtm-ai-v33-card{background:#0d1728;color:#f5f7fb}html[data-theme="dark"] .rtm-ai-v33-chat,body.dark .rtm-ai-v33-chat{background:rgba(8,15,29,.66)}html[data-theme="dark"] .rtm-ai-v33-bubble,body.dark .rtm-ai-v33-bubble{background:#18233c;border-color:#344467}html[data-theme="dark"] .rtm-ai-v33-msg.error .rtm-ai-v33-bubble,body.dark .rtm-ai-v33-msg.error .rtm-ai-v33-bubble{background:#3a1b1b;border-color:#7f3b32;color:#ffd6d0}
@media(max-width:1100px){.rtm-ai-v34-header-launcher{min-width:112px!important;height:44px!important;padding:0 12px!important}.rtm-ai-v34-header-launcher i{display:none!important}}
@media(max-width:760px){.rtm-ai-v34-header-launcher{display:none!important}.rtm-ai-v33-launcher{display:flex}.rtm-ai-v33-modal{padding:0;align-items:flex-end}.rtm-ai-v33-card{height:94vh;border-radius:20px 20px 0 0}.rtm-ai-v33-head{padding:17px 16px 12px}.rtm-ai-v33-head h2{font-size:21px}.rtm-ai-v33-context{padding:8px 16px}.rtm-ai-v33-context em{width:100%;margin:0}.rtm-ai-v33-chat{padding:13px}.rtm-ai-v33-bubble{max-width:94%}.rtm-ai-v33-quick button{font-size:12px}}

/* V37: user-message contrast lock — site/global typography must never darken text inside the navy user bubble. */
.rtm-ai-v33-msg.user .rtm-ai-v33-bubble,.rtm-ai-v33-msg.user .rtm-ai-v33-bubble *{color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;opacity:1!important}
.rtm-ai-v33-msg.user .rtm-ai-v33-bubble>span{color:#dbe7ff!important;-webkit-text-fill-color:#dbe7ff!important;opacity:.82!important}
.rtm-ai-v33-msg.user .rtm-ai-v33-answer p,.rtm-ai-v33-msg.user .rtm-ai-v33-answer div{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* V38 conversation UX */
.rtm-ai-v38-new{border:1px solid rgba(99,102,241,.24);background:transparent;color:inherit;border-radius:999px;padding:5px 9px;font:750 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;white-space:nowrap}.rtm-ai-v38-new:hover{background:rgba(99,102,241,.09)}
.rtm-ai-v33-quick{scrollbar-width:none}.rtm-ai-v33-quick::-webkit-scrollbar{display:none}
@media(max-width:760px){.rtm-ai-v33-quick{gap:6px;padding:10px 12px}.rtm-ai-v33-quick button{white-space:normal;flex:1 1 calc(50% - 6px);min-width:130px;line-height:1.25}.rtm-ai-v38-new{margin-inline-start:auto}}

/* V39 beginner UX: never create a horizontal help-row scrollbar. */
.rtm-ai-v33-card,.rtm-ai-v33-head,.rtm-ai-v33-context,.rtm-ai-v33-chat,.rtm-ai-v33-form{max-width:100%;box-sizing:border-box;overflow-x:hidden}
.rtm-ai-v33-quick{display:flex!important;flex-wrap:wrap!important;overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box!important}
.rtm-ai-v33-quick button{white-space:normal!important;line-height:1.25!important;max-width:100%!important;flex:1 1 150px!important}
@media(min-width:761px){.rtm-ai-v33-quick button{flex:1 1 170px!important}}
