
html.ep313-embed,html.ep313-embed body{margin:0!important;overflow:hidden!important;background:#edf6f3}
html.ep313-embed .topbar,html.ep313-embed .desktop-primary-nav,html.ep313-embed .bottom-nav,html.ep313-embed .site-legal-footer{display:none!important}
html.ep313-embed .ep-messenger__topbar,html.ep313-embed .ep-messenger__breadcrumbs{display:none!important}
html.ep313-embed .ep-messenger__workspace{width:100%;max-width:none;margin:0;grid-template-columns:240px minmax(0,1fr)}
html.ep313-embed .ep-messenger__subbar{display:none}html.ep313-embed .ep-messenger__sidebar-head{padding-top:17px}
html.ep313-embed .ep-messenger__room-head{background:#155462;color:white}
html.ep313-embed .ep-messenger__room-heading strong,html.ep313-embed .ep-messenger__room-heading small{color:#fff!important}
html.ep313-embed .ep-messenger__stage{background:#edf6f3}
html.ep313-embed .chat-bubble{background:white;border-color:#dcebe5}
html.ep313-embed .chat-message.is-mine .chat-bubble{background:#d2eee3;border-color:#b4d9cc}
html.ep313-embed .chat-composer{background:#fff}
html.ep313-embed .chat-send-button{background:#0b887c!important}
html.ep313-embed .ep-messenger__room-helper{font-size:11px}
.ep313-guest-note{font-size:11px!important;color:#587970!important;padding:7px 12px!important;background:#edf7f2;margin:0!important}
.ep313-alert-link{display:block;margin:12px 0;font-size:12px;color:#087e73!important}
@media(max-width:850px){html.ep313-embed .ep-messenger__workspace{grid-template-columns:minmax(0,1fr)}html.ep313-embed .ep-messenger__sidebar{position:absolute;inset:0 auto 0 0;width:min(290px,85%);transform:translateX(-105%);transition:transform .2s}html.ep313-embed .ep-messenger__sidebar.is-open{transform:translateX(0)}html.ep313-embed .ep-messenger__rooms-btn,html.ep313-embed .ep-messenger__sidebar-close{display:grid!important}html.ep313-embed .ep-messenger__sidebar.is-open~.ep-messenger__main{min-width:0}html.ep313-embed .ep-messenger__workspace .ep-messenger__shade:not([hidden]){display:block;position:absolute;inset:0;background:#123b4580;z-index:3}}
@media(prefers-reduced-motion:reduce){html.ep313-embed .ep-messenger__sidebar{transition:none}}


html.ep313-embed .ep-messenger__mobile-compose{display:none!important}

/* The parent owns keyboard geometry. Never apply a second viewport offset here. */
html.ep313-embed,html.ep313-embed body{height:100%!important;min-height:0!important;overscroll-behavior:none}
/* The legacy page wrapper is phone-sized at tablet widths and contains layout. */
html.ep313-embed body.ep-messenger-ready :is(.page-wrap,.app-shell,main.main-content){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;position:static!important;contain:none!important;container-type:normal!important;content-visibility:visible!important;transform:none!important;filter:none!important;perspective:none!important;will-change:auto!important}
html.ep313-embed body.ep-messenger-ready .ep-messenger{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}
html.ep313-embed .ep-messenger__workspace{min-height:0!important;overflow:hidden}
html.ep313-embed .ep-messenger__chat-shell>.chat-live-frame{height:auto!important;flex:1 1 0!important}
html.ep313-embed .ep-messenger__room-head{flex-shrink:0}
html.ep313-embed .ep-messenger__chat-shell .chat-composer{flex-shrink:0!important}
@media(max-width:1100px){
 html.ep313-embed .ep-messenger__chat-shell .chat-text-field textarea{font-size:16px!important;line-height:1.35!important;min-height:42px!important;padding:10px!important}
 html.ep313-embed .ep-messenger__chat-shell .chat-composer{padding:6px 8px!important;min-height:56px!important}
 html.ep313-embed .ep-messenger__chat-shell .chat-photo-picker,html.ep313-embed .ep-messenger__chat-shell .chat-send-button{min-height:40px!important;height:40px!important}
}
@media(max-height:500px){
 html.ep313-embed .ep-messenger__room-head{min-height:44px;max-height:44px;padding-block:4px}
 html.ep313-embed .ep-messenger__room-heading small{display:none}
 html.ep313-embed .chat-safety-note{display:none!important}
 html.ep313-embed .ep313-guest-note{font-size:10px!important;padding:4px 8px!important}
}

