
#ep313Chat{font-family:Arial,sans-serif;color:#153d49}#ep313Chat *,#ep313Chat *:before,#ep313Chat *:after{box-sizing:border-box}#ep313Chat [hidden]{display:none!important}
.ep313-launch{position:fixed;right:22px;bottom:24px;z-index:8500;display:flex;align-items:center;gap:12px;border:1px solid #ffffff60;border-radius:50px;padding:10px 20px 10px 10px;background:#102f41;color:#e3efef;box-shadow:0 8px 30px #102b4533;cursor:pointer;text-align:left;font:14px/1.3 Arial,sans-serif}
.ep313-launch strong{display:block;font-size:19px;color:#fff;margin-top:2px}.ep313-launch-mark{background:#149e87;position:relative;border-radius:50%;width:49px;height:49px;display:grid;place-items:center;color:#fff;font-size:20px;font-weight:800}.ep313-launch-mark>span{position:absolute;right:-3px;bottom:-3px;font-size:25px;color:#9aebd7}.ep313-unread{position:absolute;right:-3px;top:-5px;min-width:25px;height:25px;padding:0 6px;border:2px solid #fff;border-radius:20px;display:grid;place-items:center;background:#df425f;color:white;font-size:12px}.ep313-unread.is-new{animation:ep313-pulse .9s ease-in-out 3}@keyframes ep313-pulse{50%{transform:scale(1.16)}}
.ep313-chat-panel{position:fixed;right:22px;bottom:22px;width:min(520px,calc(100vw - 44px));height:min(750px,calc(100dvh - 44px));display:flex;flex-direction:column;overflow:hidden;background:#f4faf8;border:1px solid #c6ddd8;border-radius:20px;box-shadow:0 20px 80px #0d30454d;z-index:9002;transition:width .3s ease,height .3s ease,border-radius .3s ease;transform-origin:bottom right;animation:ep313-chat-in .28s cubic-bezier(.2,.8,.2,1)}@keyframes ep313-chat-in{from{opacity:0;transform:translateY(20px) scale(.94)}to{opacity:1;transform:none}}
.ep313-chat-panel.is-expanded{width:min(1480px,calc(100vw - 64px));height:calc(100dvh - 44px);right:50%;transform:translateX(50%);bottom:22px}.ep313-chat-shade{position:fixed;inset:0;background:#102d4570;backdrop-filter:blur(7px);z-index:9001}
.ep313-chat-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;gap:10px;background:linear-gradient(100deg,#102c40,#145762);color:#fff;border-bottom:3px solid #21b59d;flex:none}.ep313-chat-brand{font-size:16px;letter-spacing:-.5px;color:#fff!important;text-decoration:none!important;font-weight:700}.ep313-chat-brand>strong{color:#8fe7d3}.ep313-chat-brand>small{display:block;font-size:9px;letter-spacing:0;font-weight:400;margin-top:4px;color:#dbedec}.ep313-chat-bar>div{display:flex;gap:4px;align-items:center}.ep313-chat-bar button,.ep313-chat-bar>div>a{display:grid;place-items:center;padding:7px 9px;min-width:34px;height:34px;border:0;border-radius:8px;color:white!important;background:#ffffff18;font:13px Arial,sans-serif;cursor:pointer;text-decoration:none!important}.ep313-chat-bar button:hover,.ep313-chat-bar>div>a:hover{background:#ffffff30}.ep313-chat-bar [data-chat-size],.ep313-chat-bar [data-chat-hide]{font-size:22px}.ep313-frame-slot{position:relative;flex:1;min-height:0}.ep313-frame-slot iframe{border:0;width:100%;height:100%;display:block}.ep313-loading{padding:30px;text-align:center;font-size:14px;color:#56747b}.ep313-people{position:absolute;top:70px;right:12px;width:280px;max-width:calc(100% - 24px);max-height:70%;overflow:auto;z-index:6;padding:17px;background:#fff;border:1px solid #d7e6e1;border-radius:12px;box-shadow:0 12px 30px #10304333}.ep313-people>strong{display:block;font-size:14px;margin-bottom:12px}.ep313-person{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #edf3f0;color:#1d444e!important;text-decoration:none!important;font-size:13px}.ep313-person>span:first-child{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e2f4ee;font-weight:bold;flex:none;overflow:hidden}.ep313-person img{width:32px;height:32px;object-fit:cover}.ep313-person small{display:block;font-size:10px;color:#608078;margin-top:3px}
@media(max-width:1100px){.ep313-launch{bottom:calc(90px + env(safe-area-inset-bottom));right:16px}.ep313-chat-panel{bottom:calc(88px + env(safe-area-inset-bottom));height:min(740px,calc(100dvh - 110px))}.ep313-chat-panel.is-expanded{height:calc(100dvh - 26px);bottom:13px;width:calc(100vw - 28px)}}
@media(max-width:650px){.ep313-launch{padding:8px 15px 8px 8px;gap:9px;right:12px;font-size:12px;bottom:calc(85px + env(safe-area-inset-bottom))}.ep313-launch strong{font-size:16px}.ep313-launch-mark{width:44px;height:44px;font-size:19px}.ep313-chat-panel,.ep313-chat-panel.is-expanded{inset:0;right:0;bottom:0;transform:none;width:100%;height:100dvh;height:var(--ep313-viewport,100dvh);border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom);animation:none}.ep313-chat-bar{padding:11px 12px}.ep313-chat-bar [data-chat-size]{display:none}.ep313-chat-brand{font-size:15px}}
@media(prefers-reduced-motion:reduce){.ep313-chat-panel{animation:none;transition:none}.ep313-unread.is-new{animation:none}}


@media(max-width:1100px){
 .ep313-chat-panel,.ep313-chat-panel.is-expanded{inset:var(--ep313-viewport-top,0px) auto auto var(--ep313-viewport-left,0px)!important;transform:none!important;width:var(--ep313-viewport-width,100vw)!important;height:var(--ep313-viewport,100dvh)!important;min-height:0!important;max-height:none;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom);transition:none!important;animation:none!important}
 .ep313-chat-bar [data-chat-size]{display:none}
 .ep313-chat-bar{padding:8px 12px;min-height:54px}
 .ep313-chat-bar>div{flex:none}
 .ep313-chat-bar button,.ep313-chat-bar>div>a{min-width:38px;height:38px}
 .ep313-launch{padding:7px 12px 7px 7px;gap:7px;font-size:0}
 .ep313-launch>span:nth-child(2){font-size:0}
 .ep313-launch strong{font-size:0;margin:0}
 .ep313-launch strong:after{content:"Ealing chat";font-size:13px}
 .ep313-launch-mark{width:34px;height:34px;font-size:15px}
 .ep313-launch-mark>span{font-size:18px}
}
html.ep313-chat-modal{overscroll-behavior:none}
@media(max-width:650px){.ep313-launch{padding:7px 12px 7px 7px;gap:7px;font-size:0}.ep313-launch>span:nth-child(2){font-size:0}.ep313-launch strong{font-size:13px;margin:0}.ep313-launch-mark{width:34px;height:34px;font-size:15px}.ep313-launch-mark>span{font-size:18px}.ep313-launch strong{font-size:0}.ep313-launch strong:after{content:"Ealing chat";font-size:13px}.ep313-unread{min-width:22px;height:22px;font-size:11px}}


/* EP327: compact polished chat launcher, matched to the sculpted navigation icons. */
#ep313Chat .ep313-launch{isolation:isolate;gap:8px;padding:6px 15px 6px 7px;min-height:52px;border:1px solid #80c9ca;border-radius:28px;background:linear-gradient(155deg,#315e6b 0%,#174555 45%,#0b2d43 100%);box-shadow:inset 0 1px 1px #d1fff35c,inset 0 -2px 2px #051c306b,0 3px 0 #0a263c55,0 7px 18px #102b452b;color:#fff;font-size:13px;transition:box-shadow .18s ease,transform .18s ease}
#ep313Chat .ep313-launch:before{content:"";position:absolute;z-index:-1;inset:1px 3px 50%;border-radius:25px 25px 8px 8px;background:linear-gradient(#d4fff219,transparent);pointer-events:none}
#ep313Chat .ep313-launch-mark{flex:none;width:38px;height:38px;background:none;border:0;box-shadow:none;border-radius:0}
#ep313Chat .ep313-launch-mark>svg{display:block;width:38px;height:38px;filter:drop-shadow(0 2px 1px #001d3333)}
#ep313Chat .ep313-launch>.ep327-launch-label{font:750 13px/1.2 Arial,sans-serif;letter-spacing:.05px;text-shadow:0 1px 1px #061f3466;white-space:nowrap}
#ep313Chat .ep313-launch:focus-visible{outline:3px solid #38d9ba;outline-offset:3px}
@media(hover:hover){#ep313Chat .ep313-launch:hover{transform:translateY(-2px);box-shadow:inset 0 1px 1px #d1fff370,inset 0 -2px 2px #051c306b,0 4px 0 #0a263c55,0 10px 22px #102b4533}}
#ep313Chat .ep313-launch:active{transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){#ep313Chat .ep313-launch{transition:none}}

/* EP399: dock to the page until the user moves the compact chat by its bar. */
@media(min-width:1101px){
 html body #ep313Chat .ep313-chat-panel:not(.is-expanded) .ep313-chat-bar{cursor:grab;touch-action:none;user-select:none;}
 html body #ep313Chat[data-position=manual] .ep313-chat-panel:not(.is-expanded){left:var(--ep399-manual-left)!important;top:var(--ep399-manual-top)!important;right:auto!important;bottom:auto!important;animation:none!important;}
 html body #ep313Chat.ep399-dragging .ep313-chat-bar{cursor:grabbing;}
 html body #ep313Chat.ep399-dragging .ep313-chat-panel{transition:none!important;animation:none!important;}
 html body #ep313Chat.ep399-dragging iframe{pointer-events:none;}
 html body #ep313Chat .ep313-launch{right:var(--ep399-launch-right,18px)!important;}
 html body #ep313Chat .ep313-chat-panel:not(.is-expanded){
  right:var(--ep399-chat-right,18px)!important;
  width:var(--ep399-chat-width,520px);
 }
}
