:root body[data-lm-theme="ocean"] #mavi-widget{font-family:Inter,'Segoe UI',Arial,sans-serif}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch{position:fixed!important;left:auto;right:24px;bottom:calc(74px + env(safe-area-inset-bottom,0px));transform:none;z-index:1000;display:flex;align-items:center;gap:7px;width:auto;max-width:none;min-height:54px;padding:3px 16px 3px 3px!important;border:1px solid #8ebad0!important;border-radius:36px!important;background:#e9f5fc!important;color:#184462!important;box-shadow:0 6px 22px #14394f30!important;cursor:pointer;font:700 15px/1.2 Inter,'Segoe UI',Arial,sans-serif;transition:box-shadow .2s,background .2s}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch img{width:68px;height:68px;object-fit:contain;margin-top:-19px;filter:drop-shadow(0 3px 3px #13364d20)}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch span{text-align:left;padding-right:2px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch small{display:block;font-size:10px;font-weight:500;margin-top:4px;color:#416b84}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch:hover{box-shadow:0 7px 27px #5bbce850!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch:focus-visible{outline:3px solid #6bb6d7;outline-offset:4px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch i{display:none;width:8px;height:8px;border-radius:50%;background:#0087b0}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch.has-reply i{display:block}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog{position:fixed;inset:auto 24px calc(160px + env(safe-area-inset-bottom,0px)) auto;margin:0;transform:none;transform-origin:100% 100%;width:min(620px,calc(100vw - 32px));height:min(710px,calc(100dvh - 184px));max-width:none;max-height:none;min-height:300px;padding:0;overflow:hidden;z-index:1100;border:1px solid #80a9c1!important;border-radius:18px!important;background:#f3f8fc!important;color:#153c55!important;box-shadow:0 22px 70px #061f3e50!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog[open]{display:flex;flex-direction:column;animation:mavi-reveal .24s cubic-bezier(.2,.8,.2,1) both}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog.is-closing{animation:mavi-hide .15s ease-in both}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog.is-expanded{width:min(960px,calc(100vw - 48px));height:calc(100dvh - 184px)}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;background:#235a7b;color:#fff}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-heading{display:flex;align-items:center;gap:10px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-heading img{object-fit:contain}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-heading small{font-size:8px;letter-spacing:.18em;color:#cee8f7}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-title{font-size:18px;line-height:1.3;margin:3px 0 0;color:#fff!important}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-window-controls{display:flex;gap:3px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-window-controls button{border:0!important;background:transparent!important;color:#fff!important;width:34px;height:36px;padding:0;min-height:0;cursor:pointer;font-size:24px;border-radius:6px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-window-controls button:hover{background:#ffffff20!important}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-identity{flex:none;display:flex;gap:4px 9px;align-items:center;flex-wrap:wrap;margin:0;padding:10px 18px;background:#e4f0f7;border:0;border-bottom:1px solid #ccdee9;border-radius:0;font-size:11px;color:#244e68}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-identity small{width:auto;font-size:10px;color:#53758a}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-identity strong{font-size:12px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-user-company{width:auto}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-user-company:empty{display:none}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-intro{flex:none;margin:9px 18px 0;font-size:11px;color:#4c7189!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-messages{flex:1;min-height:100px;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:6px 18px 12px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-empty{display:grid;place-content:center;text-align:center;min-height:120px;height:100%;color:#375d75;font-size:17px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog #mavi-empty p{font-size:13px;color:#54788f!important;margin:8px 0}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff!important;color:#153c55!important;border:1px solid #d6e6ef;border-radius:13px 13px 13px 3px;padding:13px 15px;margin:10px 24px 10px 0;font-size:14px;line-height:1.65}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-message.mavi-user{background:#daedf8!important;margin:10px 0 10px 28px;border-color:#c1deed;border-radius:13px 13px 3px 13px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-message small{display:block;font-size:10px;letter-spacing:0;color:#587b91!important;margin-top:8px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-prompts{flex:none;border:0;border-top:1px solid #d6e6ef;padding:7px 18px;background:#edf5fa}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-prompts summary{font-size:11px;font-weight:600;color:#3c6680;cursor:pointer;padding:3px 0}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-suggestions{display:flex;gap:6px;flex-wrap:wrap;padding:7px 0 2px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-suggestions button,:root body[data-lm-theme="ocean"] #mavi-widget #mavi-reset{border:1px solid #b9d4e3!important;background:#f8fcff!important;color:#255c7d!important;border-radius:7px;padding:7px 10px;font-size:11px;cursor:pointer;width:auto;min-height:30px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-form{flex:none;padding:11px 18px 5px;background:#fff;border-top:1px solid #d5e4ed}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog #mavi-form label{display:block;font-size:11px;font-weight:600;color:#355e77!important;margin-bottom:6px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-question{display:block;box-sizing:border-box;width:100%;min-height:60px;max-height:120px;border:1px solid #97bdd2!important;background:#f8fcff!important;color:#153c55!important;border-radius:10px!important;padding:10px 12px;font:14px/1.5 Inter,'Segoe UI',Arial,sans-serif;resize:none;margin:0}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-question::placeholder{color:#65879b!important}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-controls{display:flex;align-items:center;gap:9px;margin-top:8px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-controls>small{font-size:10px;color:#5d7d91;margin-right:auto}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-send{background:#17658e!important;color:white!important;border:1px solid #17658e!important;border-radius:8px;padding:8px 17px;font-size:12px;font-weight:700;width:auto;min-height:35px;cursor:pointer}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog button:disabled{opacity:.55;cursor:wait}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog #mavi-status{flex:none;color:#864800!important;background:#fff;margin:0;padding:4px 18px;font-size:12px;line-height:1.45}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-status:empty{padding:0}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-notice{flex:none;color:#5c788b!important;background:#fff;margin:0;padding:6px 18px 11px;font-size:10px;line-height:1.45}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog a{color:#17648c!important;text-underline-offset:3px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-result-details{white-space:normal;margin-top:12px;border-top:1px solid #c8dfe7;padding-top:8px;font-size:12px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-result-details summary{cursor:pointer;color:#246180;font-weight:700;padding:4px 0}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-result-details section{padding:10px 0;border:0;background:transparent!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-result-details p{margin:4px 0;font-size:12px;color:#345c74!important}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-result-details a{display:block;padding:8px 10px;margin:5px 0;background:#edf6fc;border:1px solid #c8dfe7;border-radius:8px;overflow-wrap:anywhere}
@keyframes mavi-reveal{from{opacity:0;transform:translate3d(0,18px,0) scale(.96)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes mavi-hide{to{opacity:0;transform:translate3d(0,12px,0) scale(.97)}}
@media(max-width:600px){:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog,:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog.is-expanded{inset:8px 8px auto 8px;width:auto;height:calc(100dvh - 16px);min-height:0;border-radius:13px!important}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog header{padding:10px 12px}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-title{font-size:16px}:root body[data-lm-theme="ocean"] #mavi-widget .mavi-window-controls button{width:36px;height:38px}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-expand{display:none}:root body[data-lm-theme="ocean"] #mavi-widget .mavi-controls>small{display:none}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-reset{margin-right:auto}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-question{font-size:16px!important}:root body[data-lm-theme="ocean"] #mavi-widget .mavi-message{font-size:14px;margin-right:10px}:root body[data-lm-theme="ocean"] #mavi-widget .mavi-message.mavi-user{margin-left:16px}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch{right:14px;bottom:calc(74px + env(safe-area-inset-bottom,0px))}:root body[data-lm-theme="ocean"] #mavi-widget .mavi-identity{max-height:68px;overflow:auto}}
@media(prefers-reduced-motion:reduce){:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog[open],:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog.is-closing{animation:none!important}:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch{transition:none!important}}
:root body[data-lm-theme="ocean"][data-ocean-paused="true"] #mavi-widget #mavi-dialog[open],:root body[data-lm-theme="ocean"][data-ocean-paused="true"] #mavi-widget #mavi-dialog.is-closing{animation:none!important}
@media print{:root body[data-lm-theme="ocean"] #mavi-widget{display:none!important}}

:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog{color-scheme:light}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog :focus-visible{outline:2px solid #267199!important;outline-offset:3px!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-controls>small{letter-spacing:0}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-identity{background:#e4f0f7!important;color:#244e68!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-identity :is(strong,span,small){color:#315c75!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-controls>small{color:#527287!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch small{color:#416b84!important}

/* Mavi and decorative motion share one right-hand dock on every page. */
:root body[data-lm-theme] .ocean-motion-home>.ocean-motion-toggle{right:24px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:1000}
@media(max-width:600px){:root body[data-lm-theme] .ocean-motion-home>.ocean-motion-toggle{right:14px}}

@media(min-width:601px) and (max-height:620px){:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog,:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog.is-expanded{top:12px;bottom:auto;height:calc(100dvh - 24px);min-height:0}}

/* 0.9.266: compact non-modal workspace, with page context retained on mobile. */
:root body[data-lm-theme="ocean"] #mavi-widget{font-family:'Source Sans 3','Segoe UI',sans-serif}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch{min-height:48px;padding:4px 14px 4px 5px!important;border-radius:18px!important;font-family:'Source Sans 3','Segoe UI',sans-serif}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-launch img{width:48px;height:48px;margin-top:-8px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog{width:min(440px,calc(100vw - 32px));height:min(580px,calc(100dvh - 158px));bottom:calc(140px + env(safe-area-inset-bottom,0px));border-radius:16px!important;box-shadow:0 16px 48px #102e4540!important}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog header{padding:10px 14px;background:#244e67;border-bottom:1px solid #476e86}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-heading img{width:32px;height:32px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-title{font-size:15px;font-family:Manrope,'Segoe UI',sans-serif}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-heading small{font-size:8px;letter-spacing:.1em}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-identity{padding:8px 14px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-messages{padding:8px 14px;min-height:80px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-empty{min-height:80px;font-size:17px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-form{padding:10px 14px 6px}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-question{font-family:'Source Sans 3','Segoe UI',sans-serif;min-height:52px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-controls>small{display:none}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-reset{margin-right:auto}
:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-notice{padding:6px 14px 10px;font-size:10px}
:root body[data-lm-theme="ocean"] #mavi-widget .mavi-prompts{padding:7px 14px;max-height:120px;overflow:auto}
@media(max-width:600px){
 :root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog,:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog.is-expanded{inset:auto 10px calc(10px + env(safe-area-inset-bottom,0px)) 10px;width:auto;height:min(620px,72dvh);max-height:calc(100dvh - 80px);min-height:0;overflow-y:auto;border-radius:18px!important}
 :root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog header{padding:8px 12px}
 :root body[data-lm-theme="ocean"] #mavi-widget .mavi-window-controls button{width:44px;height:44px}
 :root body[data-lm-theme="ocean"] #mavi-widget #mavi-minimize{display:none}
 :root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog .mavi-intro{display:none}
 :root body[data-lm-theme="ocean"] #mavi-widget .mavi-identity{max-height:42px;padding:6px 12px}
 :root body[data-lm-theme="ocean"] #mavi-widget #mavi-send,:root body[data-lm-theme="ocean"] #mavi-widget #mavi-reset{min-height:40px}
}
@media(min-width:601px) and (max-height:620px){:root body[data-lm-theme="ocean"] #mavi-widget #mavi-dialog{top:12px;bottom:auto;height:calc(100dvh - 24px);min-height:0;overflow-y:auto}}
