/* R10 original movable assistant design: works on V9 and Work Form pages. */
.r10-moby-host{position:fixed;left:calc(100% - 104px);top:calc(100% - 112px);z-index:1800;width:82px;height:91px;user-select:none;touch-action:none}
.r10-moby-host[hidden],.r10-moby-panel[hidden]{display:none!important}
.r10-moby-launcher{height:91px;width:82px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:0;background:transparent!important;box-shadow:none!important;color:#253d7d;cursor:grab;padding:0!important;outline-offset:3px;touch-action:none}
.r10-moby-launcher:active{cursor:grabbing;transform:none!important}
.r10-moby-launcher svg{width:70px;height:76px;filter:drop-shadow(0 5px 8px #24345e6b);animation:r10MobyFloat 3s ease-in-out infinite}
.r10-moby-label{font:800 11px/1 'Segoe UI',sans-serif;letter-spacing:.04em;color:#344886;background:#fffdf4e8;padding:2px 8px;border:1px solid #ced8fa;border-radius:20px;margin-top:-5px}
.r10-moby-launcher:hover svg{filter:drop-shadow(0 6px 9px #5d59c39a)}
.r10-moby-eye{animation:r10MobyBlink 6.2s infinite;transform-origin:center}
.r10-moby-arm{transform-origin:19px 67px;animation:r10MobyWave 6s ease-in-out infinite}
.r10-moby-arm.second{transform-origin:71px 67px;animation-delay:-1s}
.r10-moby-antenna{animation:r10MobyAntenna 4s ease-in-out infinite;transform-origin:45px 20px}
@keyframes r10MobyFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes r10MobyBlink{0%,45%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.12)}}
@keyframes r10MobyWave{0%,75%,100%{transform:rotate(0)}84%{transform:rotate(-14deg)}90%{transform:rotate(10deg)}}
@keyframes r10MobyAntenna{0%,100%{transform:rotate(0)}55%{transform:rotate(9deg)}}
.r10-moby-panel{position:fixed;z-index:1850;width:min(372px,calc(100vw - 20px));height:min(520px,calc(100dvh - 20px));display:flex;flex-direction:column;background:#f9fbff;color:#193c65;border:1px solid #afc7ec;border-radius:17px;overflow:hidden;box-shadow:0 20px 65px #101d4380;resize:both;animation:r10MobyOpen .2s cubic-bezier(.16,1,.3,1) both}
@keyframes r10MobyOpen{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.r10-moby-header{background:linear-gradient(110deg,#142d70,#3957b3 58%,#6954bc);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:12px 13px;gap:8px;flex-shrink:0}
.r10-moby-title{display:flex;align-items:center;gap:9px;min-width:0}.r10-moby-title>span{font-size:23px}.r10-moby-title strong{font:750 14px/1.3 'Segoe UI',sans-serif;display:block}.r10-moby-title small{display:block;font:400 10px/1.4 'Segoe UI',sans-serif;color:#ddeafa}
.r10-moby-header>div:last-child{display:flex;gap:5px;flex-shrink:0}.r10-moby-header button{min-width:31px;min-height:31px;border-radius:8px;border:1px solid #91a8ee66;color:#fff!important;background:#ffffff26!important;cursor:pointer}
.r10-moby-feed{display:flex;flex:1;flex-direction:column;overflow:auto;gap:11px;padding:14px;scrollbar-width:thin;overscroll-behavior:contain}
.r10-moby-msg{display:flex;flex-direction:column;max-width:94%;align-self:flex-start;gap:5px}.r10-moby-msg.user{align-self:flex-end;align-items:flex-end}.r10-moby-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:13px 13px 13px 4px;background:#e8efff;border:1px solid #cbdaf6;padding:10px 12px;font:12px/1.58 'Segoe UI',sans-serif;color:#204269}
.r10-moby-msg.user .r10-moby-bubble{border-radius:13px 13px 4px 13px;background:#3c5fce;color:#fff;border-color:#3152bf}
.r10-moby-sources{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font:10px 'Segoe UI',sans-serif}.r10-moby-source{background:#edf5ff;border-radius:6px;padding:3px 5px;border:1px solid #c7d9f0;color:#20508f}
.r10-moby-wait{align-self:flex-start;border-radius:12px;margin:0;background:#e8efff;color:#496a91;padding:10px 13px;font-size:12px;animation:r10MobyPulse 1.1s ease-in-out infinite alternate}
@keyframes r10MobyPulse{from{opacity:.48}to{opacity:1}}
.r10-moby-compose{display:flex;gap:7px;padding:10px;background:#fff;border-top:1px solid #dde8fa;flex-shrink:0}.r10-moby-compose textarea{flex:1;min-width:0;max-height:90px;min-height:43px;border:1px solid #bcd2ef;border-radius:10px;padding:10px;resize:vertical;color:#183a60;background:white;font:12px/1.45 'Segoe UI',sans-serif;box-sizing:border-box}
.r10-moby-compose button{min-width:44px;height:43px;align-self:end;border:0;border-radius:11px;background:#2967db;color:#fff;font-size:19px;cursor:pointer}.r10-moby-compose button:disabled{opacity:.5;cursor:not-allowed}
.r10-moby-foot{background:#fff;border-top:1px solid #edf1f8;padding:7px;text-align:center;font:10px 'Segoe UI',sans-serif;color:#687e9a;flex-shrink:0}
.r10-moby-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:550px){.r10-moby-host{width:65px;height:75px}.r10-moby-launcher{width:65px;height:75px}.r10-moby-launcher svg{width:62px;height:65px}.r10-moby-panel{resize:none;max-height:calc(100dvh - 24px)}.r10-moby-foot{font-size:9px}}
@media(prefers-reduced-motion:reduce){.r10-moby-launcher svg,.r10-moby-eye,.r10-moby-antenna,.r10-moby-arm,.r10-moby-panel,.r10-moby-wait{animation:none!important}}

/* R10 guided, source-grounded question hints. Compact and keyboard accessible. */
.r10-moby-help{flex:0 0 auto;background:#f1f6ff;border-bottom:1px solid #dce5f6;color:#274c7b;font:600 11px/1.4 'Segoe UI',sans-serif}
.r10-moby-help summary{cursor:pointer;padding:7px 13px;outline-offset:-2px}
.r10-moby-examples{display:flex;gap:5px;flex-wrap:wrap;padding:0 10px 9px}
.r10-moby-examples button{border:1px solid #b9d2f4;border-radius:16px;padding:5px 8px;background:#fff;color:#23518e;font:650 10px 'Segoe UI',sans-serif;cursor:pointer}
.r10-moby-examples button:hover{background:#e2edff}
.r10-moby-meta{font:9px/1.4 'Segoe UI',sans-serif;color:#617e9f;overflow-wrap:anywhere;max-width:100%}
html[data-work-theme="classic-white"][data-theme="dark"] .r10-moby-help{background:#203852;color:#e8f4ff;border-color:#466588}
html[data-work-theme="classic-white"][data-theme="dark"] .r10-moby-examples button{background:#274b76;color:#f1f8ff;border-color:#5071a0}
html[data-work-theme="classic-white"][data-theme="dark"] .r10-moby-meta{color:#b9d4ee}
