/* Keep the home-page override inside the mobile viewport too. */
body.platform-v2 .emma-launcher,body.home-v2 .emma-launcher,.emma-launcher,.emma-panel>header{background:#05635e!important;border-color:#05635e!important}
body.platform-v2 .emma-launcher:hover,body.home-v2 .emma-launcher:hover,.emma-launcher:hover{background:#05635e!important;border-color:#05635e!important}
.emma-launcher,.emma-composer button{transition:none!important}
.emma-composer button{background:#087f78!important;border-color:#087f78!important}
.emma-composer button:hover{background:#05635e!important;border-color:#05635e!important}
.emma-panel{grid-template-rows:auto 1fr auto auto}
.emma-intro{display:none!important}
.emma-disclaimer{background:#05635e!important;color:#fff!important}
@media(max-width:640px){
 body.home-v2 .emma-panel{right:max(7px,env(safe-area-inset-right));bottom:max(65px,calc(env(safe-area-inset-bottom) + 61px));width:calc(100vw - 14px);height:min(588px,calc(var(--emma-vh,100dvh) - 76px))}
 body.home-v2 .emma-panel.keyboard-open{right:4px;bottom:4px;width:calc(100vw - 8px);height:calc(var(--emma-vh) - 8px)}
}
.emma-messages{overflow-anchor:none}
.emma-message{max-width:86%;white-space:pre-wrap;overflow-wrap:anywhere}
.emma-message.assistant{background:#fff;border:1px solid #dce4ea}
.emma-message.user{margin-left:auto;background:var(--brand-dark);color:#fff}
.emma-message p{white-space:pre-wrap}
.emma-turn-tail{width:1px;min-height:calc(100% + 16px);visibility:hidden;pointer-events:none}
.emma-jump{position:absolute;z-index:2;right:16px;bottom:112px;min-height:0;padding:7px 11px;border:1px solid #bfd0dd;border-radius:999px;background:#fff;color:var(--brand-dark);box-shadow:0 3px 12px rgba(0,0,0,.14);font-size:.78rem;font-weight:700}
.emma-jump[hidden]{display:none}
@media(max-width:640px){.emma-jump{right:12px;bottom:108px}}
