.ra-agent-launch{position:fixed;inset-inline-end:22px;bottom:22px;z-index:120;background:#153c37;color:#fff;border:1px solid #75d9b6;border-radius:30px;padding:14px 22px;font:700 15px system-ui;box-shadow:0 8px 30px #0b30252b;cursor:pointer}.ra-agent-launch[hidden]{display:none}.ra-agent-dialog{border:1px solid #cedcd6;border-radius:22px;background:#f9fcfa;color:#173332;padding:0;width:min(660px,calc(100vw - 24px));max-height:90dvh;box-shadow:0 24px 90px #0b30254a}.ra-agent-dialog::backdrop{background:#092b315c}.ra-agent-dialog header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;border-bottom:1px solid #dbe5df;background:linear-gradient(110deg,#e0f4e9,#f6faf7)}.ra-agent-dialog h2{margin:6px 0;font:700 26px system-ui}.ra-agent-dialog header p{margin:6px 0;font-size:14px}.ra-agent-kicker{font:700 10px system-ui;letter-spacing:1.7px;color:#426d5f}.ra-agent-dialog button,.ra-agent-dialog textarea{font:inherit}.ra-agent-dialog button{min-height:44px;border:1px solid #c1d7ca;border-radius:10px;padding:10px 13px;background:white;color:#173e35;cursor:pointer}.ra-agent-dialog button:disabled{opacity:.55;cursor:wait}.ra-agent-dialog button.primary{background:#215e4b;color:white}.ra-agent-dialog [data-agent-close]{font-size:24px;line-height:1;min-width:44px}.ra-agent-body{padding:24px;font:15px/1.55 system-ui}.ra-agent-suggestions,.ra-agent-actions{display:flex;flex-wrap:wrap;gap:8px}.ra-agent-suggestions button{text-align:start;font-size:13px}.ra-agent-response{margin:24px 0;overflow-wrap:anywhere}.ra-agent-answer{white-space:pre-line}.ra-agent-record{display:flex;flex-direction:column;border:1px solid #dde7e1;border-radius:12px;padding:14px;margin:8px 0;background:#fff}.ra-agent-record span{font-size:13px}.ra-agent-actions{margin-top:14px}.ra-agent-source{font-size:12px;color:#586f66}.ra-agent-dialog label{display:block;font-weight:650}.ra-agent-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #b3c9bb;background:#fff;border-radius:12px;padding:12px;margin:8px 0;resize:vertical}.ra-agent-dialog .ra-agent-disable{border:0;font-size:12px;margin-top:18px;color:#526b60;background:transparent}.ra-agent-facts{background:white;border:1px solid #dbe5df;border-radius:14px;padding:18px}.ra-agent-facts p{white-space:pre-line}.ra-agent-dialog [role=alert]{color:#953c27}@media(max-width:600px){.ra-agent-launch{bottom:18px;inset-inline-end:14px}.ra-agent-dialog header,.ra-agent-body{padding:18px}.ra-agent-dialog{max-height:94dvh}.ra-agent-suggestions{flex-direction:column}.ra-agent-suggestions button,.ra-agent-actions button{width:100%;text-align:start}}

/* Keep the current page visible alongside the assistant on desktop. */
.ra-agent-dialog{position:fixed;inset:16px 16px 16px auto;margin:0;width:min(470px,calc(100vw - 32px));height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}.ra-agent-dialog::backdrop{background:#092b3124}@media(max-width:600px){.ra-agent-dialog{inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}}

.ra-agent-dialog select{width:100%;min-height:44px;font:inherit;border:1px solid #b3c9bb;border-radius:10px;background:white;padding:10px;margin:8px 0}

/* The same friendly bot, kept within the existing assistant footprint. */
.ra-agent-launch{display:flex;align-items:center;gap:7px;background:#fff;color:#0F2440;border-color:#DCE5E0;padding:5px 17px 5px 7px;box-shadow:0 5px 24px #0F244014}.ra-agent-launch img{width:45px;height:45px;object-fit:contain}.ra-agent-launch:hover{background:#F0FAF5;border-color:#0B8A57}.ra-agent-dialog{background:#fff;color:#0F2440}.ra-agent-dialog header{background:#F3F5F8;position:relative;min-height:110px}.ra-agent-dialog header>div{padding-right:92px}.ra-agent-portrait{position:absolute;width:110px;height:110px;right:63px;top:17px;pointer-events:none}.ra-agent-dialog h2{color:#0F2440}.ra-agent-kicker{color:#0B8A57;letter-spacing:1px}.ra-agent-dialog button.primary{background:#0B8A57}.ra-agent-dialog button{color:#0F2440}.ra-agent-dialog .ra-agent-source{color:#52647B}@media(max-width:600px){.ra-agent-portrait{width:85px;height:85px;right:53px;top:25px}.ra-agent-dialog header>div{padding-right:74px}.ra-agent-dialog h2{font-size:23px}.ra-agent-launch{bottom:18px}}
