#zen-sc{position:fixed;inset:auto 1rem max(5.6rem,calc(env(safe-area-inset-bottom) + 4.6rem)) auto;z-index:9990;font:16px/1.45 system-ui,sans-serif;color:#f7f3ff}
#zen-sc [hidden]{display:none!important}
#zen-sc button,#zen-sc a{font:inherit;cursor:pointer;color:#e4c7ff;background:#292036;border:1px solid #806396;border-radius:.6rem;padding:.42rem .7rem;text-decoration:none}
#zen-sc .zen-open{color:white;background:#43265c;padding:.65rem 1rem;border-radius:2rem}
#zen-sc section{width:min(24rem,calc(100vw - 2rem));background:#17121c;border:1px solid #806396;border-radius:1rem;box-shadow:0 6px 25px #0004;overflow:hidden}
#zen-sc header,#zen-sc form{display:flex;align-items:center;justify-content:space-between;padding:.7rem;gap:.5rem}
#zen-sc .zen-log{height:min(47vh,24rem);height:min(47dvh,24rem);overflow:auto;overscroll-behavior:contain;padding:.45rem .8rem}
#zen-sc .zen-log p{color:inherit;font:inherit;margin:.6rem 0;white-space:pre-line}
#zen-sc .zen-log a,#zen-sc .zen-log button{display:inline-block;margin:.2rem}
#zen-sc .customer{background:#382942;padding:.45rem .7rem;border-radius:.6rem;text-align:right}

#zen-sc *,#zen-sc *::before,#zen-sc *::after{box-sizing:border-box}
#zen-sc section{display:flex;flex-direction:column;max-height:calc(100dvh - 7rem)}
#zen-sc header{flex:none;padding:.8rem 1rem;border-bottom:1px solid #47384e}
#zen-sc .zen-identity{display:flex;align-items:center;gap:.65rem}
#zen-sc .zen-identity strong,#zen-sc .zen-identity small{display:block;line-height:1.25}
#zen-sc .zen-identity small,#zen-sc .zen-note{color:#d0bfda;font-size:.78rem}
#zen-sc .zen-avatar{width:48px;height:48px;object-fit:contain;border-radius:50%}
#zen-sc .zen-log{min-height:0;padding:.35rem 1rem .7rem}
#zen-sc .zen-log .customer{width:fit-content;max-width:88%;margin-inline-start:auto;text-align:start;overflow-wrap:anywhere}
#zen-sc form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:.5rem;padding:.7rem 1rem .35rem;margin:0;border-top:1px solid #47384e}
#zen-sc form input,#zen-sc form button{height:44px;min-height:44px;line-height:1.25;margin:0;border-radius:.65rem;font:inherit}
#zen-sc form input{min-width:0;width:100%;font-size:16px;background:#211927;border:1px solid #877294;color:#fff;padding:0 .75rem}
#zen-sc form input::placeholder{color:#c9b9d1}
#zen-sc form button{padding:0 1rem;background:#dec4f2;color:#291734;border:1px solid #dec4f2;font-weight:650}
#zen-sc :focus-visible{outline:2px solid #f4d69c;outline-offset:2px}
#zen-sc .zen-note{display:block;line-height:1.4;padding:0 1rem .75rem}

/* Isolate the widget from storefront header, input and button styles. */
html body #zen-sc #zen-chat-panel{color:#f8f5fc;background:#18141f;font:16px/1.55 system-ui,-apple-system,sans-serif;text-align:left;}
html body #zen-sc #zen-chat-panel header{display:flex!important;position:static!important;visibility:visible!important;opacity:1!important;flex:0 0 auto;min-height:76px;width:100%;height:auto;margin:0;padding:12px 16px;gap:10px;background:#231b2e;color:#fff;box-shadow:none;border-bottom:1px solid #51415e;}
html body #zen-sc #zen-chat-panel .zen-identity{flex:1;min-width:0;gap:10px;}
html body #zen-sc #zen-chat-panel .zen-avatar{width:40px;height:40px;flex:none;}
html body #zen-sc #zen-chat-panel .zen-identity strong{font:650 16px/1.3 system-ui;color:#fff;}
html body #zen-sc #zen-chat-panel .zen-identity small{font:13px/1.4 system-ui;color:#d9cde3;}
html body #zen-sc #zen-chat-panel button,html body #zen-sc #zen-chat-panel a{font:600 14px/1.4 system-ui;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;margin:0;border:1px solid #806a94;border-radius:10px;background:#30253d;color:#f7efff;text-transform:none;letter-spacing:normal;box-shadow:none;}
html body #zen-sc #zen-chat-panel .zen-close{font-size:13px;padding:8px;}
html body #zen-sc #zen-chat-panel .zen-human{white-space:nowrap;color:#fff;background:#543575;border-color:#9e7fbd;}
html body #zen-sc #zen-chat-panel .zen-log{flex:1 1 auto;min-height:0;height:min(48dvh,420px);padding:16px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
html body #zen-sc #zen-chat-panel .zen-log p{font:400 16px/1.6 system-ui;letter-spacing:normal;color:#f8f5fc;margin:0 0 14px;overflow-wrap:anywhere;}
html body #zen-sc #zen-chat-panel .zen-log .reply{padding:12px 14px;background:#282131;border:1px solid #473b53;border-radius:4px 14px 14px;}
html body #zen-sc #zen-chat-panel .zen-log .customer{padding:10px 14px;background:#503668;border:1px solid #806392;border-radius:14px 4px 14px 14px;}
html body #zen-sc #zen-chat-panel .zen-log a,html body #zen-sc #zen-chat-panel .zen-log button{margin:0 6px 12px 0;max-width:100%;}
html body #zen-sc #zen-chat-panel form{display:grid!important;flex:0 0 auto;grid-template-columns:minmax(0,1fr) 64px;gap:8px;align-items:center;background:#231b2e;padding:12px 12px 8px;margin:0;border-top:1px solid #51415e;}
html body #zen-sc #zen-chat-panel form input{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:48px;min-height:48px;margin:0;padding:0 12px;background:#30273b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #9b84ac!important;border-radius:10px;font:400 16px/1.4 system-ui!important;box-shadow:none!important;}
html body #zen-sc #zen-chat-panel form input::placeholder{color:#d6c9df!important;-webkit-text-fill-color:#d6c9df!important;opacity:1;}
html body #zen-sc #zen-chat-panel form button{height:48px;padding:0;background:#dfc5f2;color:#251330;border-color:#dfc5f2;font-size:15px;}
html body #zen-sc #zen-chat-panel form button:disabled{opacity:.55;cursor:wait;}
html body #zen-sc #zen-chat-panel :focus-visible{outline:2px solid #e3c8fb!important;outline-offset:2px;}
html body #zen-sc #zen-chat-panel .zen-note{flex:0 0 auto;display:block;margin:0;background:#231b2e;color:#d6c9df;font:12px/1.4 system-ui;padding:0 14px 12px;}
@media(max-width:767px){
 html.zen-chat-active,html.zen-chat-active body{overflow:hidden!important;overscroll-behavior:none;}
 html body #zen-sc,html body #zen-sc.zen-chat-docked{z-index:2147483000!important;}
 html body #zen-sc #zen-chat-panel{position:fixed!important;top:var(--zen-view-top,0px)!important;left:0!important;right:0!important;bottom:auto!important;width:100%!important;max-width:none!important;height:var(--zen-view-height,100dvh)!important;max-height:none!important;border:0!important;border-radius:0!important;display:flex;flex-direction:column;box-shadow:none!important;}
 html body #zen-sc #zen-chat-panel[hidden]{display:none!important;}
 html body #zen-sc #zen-chat-panel header{padding-top:max(12px,env(safe-area-inset-top));}
 html body #zen-sc #zen-chat-panel .zen-log{height:auto;}
 html body #zen-sc #zen-chat-panel .zen-note{padding-bottom:max(10px,env(safe-area-inset-bottom));}
}

html body #zen-sc #zen-chat-panel [hidden]{display:none!important;}
html body #zen-sc #zen-chat-panel .zen-support-choices{padding:24px 20px;display:flex;flex-direction:column;gap:12px;flex:1;overflow:auto;}
html body #zen-sc #zen-chat-panel .zen-support-choices h2{font:650 22px/1.3 system-ui;color:#fff;margin:0;}
html body #zen-sc #zen-chat-panel .zen-support-choices p{font:400 16px/1.55 system-ui;color:#e4d9eb;margin:0 0 8px;}
html body #zen-sc #zen-chat-panel .zen-support-choices button,html body #zen-sc #zen-chat-panel .zen-support-choices a{width:100%;min-height:52px;font-size:16px;}
html body #zen-sc #zen-chat-panel .zen-support-choices button{background:#dfc5f2;border-color:#dfc5f2;color:#251330;}
html body #zen-sc #zen-chat-panel .zen-support-choices .zen-support-number{font-size:14px;text-align:center;}
html body #zen-sc #zen-chat-panel .zen-text-handoff{margin-top:12px;}
