#p360-lhc-launcher{position:fixed;right:22px;bottom:22px;z-index:999999;border:0;border-radius:999px;width:60px;height:60px;background:#1458d6;color:#fff;box-shadow:0 6px 24px #0003;cursor:pointer;font-size:25px;display:flex;align-items:center;justify-content:center}
#p360-lhc-launcher:focus-visible,#p360-lhc-panel button:focus-visible{outline:3px solid #f4bf42;outline-offset:3px}
#p360-lhc-panel{position:fixed;right:22px;bottom:94px;width:min(365px,calc(100vw - 28px));height:min(550px,calc(100vh - 125px));z-index:999999;background:#fff;color:#1e293b;border-radius:16px;box-shadow:0 12px 50px #0003;border:1px solid #dbe3ee;display:none;overflow:hidden;font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}
#p360-lhc-panel.p360-open{display:flex;flex-direction:column}
.p360-lhc-head{background:#1458d6;color:white;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}
.p360-lhc-head strong{display:block;font-size:16px}.p360-lhc-head small{opacity:.9}
.p360-lhc-close{border:0;background:#ffffff22;color:#fff;border-radius:8px;padding:6px 10px;cursor:pointer;font-size:18px}
.p360-lhc-offline{padding:10px 13px;background:#fff7df;color:#654d12;border-bottom:1px solid #f0dfab;font-size:12px}
.p360-lhc-log{padding:13px;overflow-y:auto;flex:1;background:#f7f9fc;display:flex;flex-direction:column;gap:9px}
.p360-lhc-empty{margin:auto;text-align:center;color:#64748b;max-width:240px}
.p360-lhc-bubble{max-width:86%;padding:9px 11px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #e2e8f0;align-self:flex-start}
.p360-lhc-bubble.p360-mine{background:#e8f1ff;border-color:#c7dcff;align-self:flex-end}
.p360-lhc-bubble small{display:block;margin-top:5px;color:#64748b;font-size:10px}
.p360-lhc-bubble a{display:block;margin-top:5px;color:#1458d6;overflow-wrap:anywhere}
.p360-lhc-form{padding:10px;border-top:1px solid #e2e8f0;background:white}
.p360-lhc-compose{display:flex;gap:7px;align-items:flex-end}
.p360-lhc-compose textarea{flex:1;min-width:0;max-height:100px;resize:vertical;border:1px solid #cbd5e1;border-radius:9px;padding:9px;font:inherit}
.p360-lhc-send{border:0;background:#1458d6;color:white;border-radius:9px;padding:10px 13px;font-weight:700;cursor:pointer}
.p360-lhc-file-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;font-size:12px;color:#475569}
.p360-lhc-file-row input{max-width:220px;font-size:11px}
.p360-lhc-error{color:#b91c1c;font-size:12px;margin-top:6px;min-height:16px}
.p360-lhc-footnote{font-size:10px;color:#94a3b8;text-align:center;margin-top:5px}
.p360-lhc-admin-grid{display:grid;grid-template-columns:minmax(260px,35%) 1fr;gap:18px;margin-top:18px}
.p360-lhc-settings{background:#fff;border:1px solid #dcdcde;padding:16px;max-width:900px}
.p360-lhc-admin-grid section{background:#fff;border:1px solid #dcdcde;padding:16px;min-width:0}
#p360-lhc-conversations{margin-top:12px;max-height:560px;overflow:auto}
.p360-lhc-convo{display:block;width:100%;text-align:left;padding:12px;border:1px solid #dcdcde;background:#fff;margin-bottom:7px;cursor:pointer;border-radius:5px}
.p360-lhc-convo.active{border-color:#2271b1;background:#f0f6fc}
.p360-lhc-convo strong,.p360-lhc-convo small{display:block}
.p360-lhc-convo small{color:#646970;margin-top:4px}
.p360-lhc-messages{height:400px;overflow:auto;background:#f6f7f7;padding:12px;display:flex;flex-direction:column;gap:8px;margin:12px 0}
.p360-lhc-admin-msg{padding:9px 11px;border:1px solid #dcdcde;background:white;border-radius:8px;max-width:85%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}
.p360-lhc-admin-msg.admin{align-self:flex-end;background:#e8f1ff}
.p360-lhc-admin-msg small{display:block;color:#646970;font-size:10px;margin-top:4px}
.p360-lhc-admin-msg a{display:block}
/* Responsive visitor chat and WordPress admin interface */
.p360-lhc-admin-grid section,.p360-lhc-settings{box-sizing:border-box}
.p360-lhc-admin-grid section{overflow:hidden}
.p360-lhc-admin-grid textarea{box-sizing:border-box;max-width:100%}
.p360-lhc-icon-setting input{max-width:100%;vertical-align:middle}
#p360-lhc-admin-status{display:inline-block;margin:8px 0;color:#2271b1}
@media(max-width:782px){
 .p360-lhc-admin{margin-right:10px!important}
 .p360-lhc-admin-grid{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px}
 .p360-lhc-admin-grid section,.p360-lhc-settings{padding:12px;width:100%;max-width:none}
 .p360-lhc-admin-grid section h2{font-size:18px;line-height:1.3}
 #p360-lhc-conversations{max-height:38vh;max-height:38dvh}
 .p360-lhc-messages{height:42vh;height:42dvh;min-height:220px;max-height:420px;margin:8px 0;padding:9px}
 #p360-lhc-admin-form p{display:flex;gap:8px;flex-wrap:wrap}
 #p360-lhc-admin-form .button{min-height:38px}
 #p360-lhc-admin-reply{width:100%;max-width:100%;box-sizing:border-box}
 .p360-lhc-convo{padding:10px;overflow-wrap:anywhere}
}
@media(max-width:480px){
 #p360-lhc-launcher{width:54px;height:54px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));font-size:23px}
 #p360-lhc-panel{left:8px;right:8px;bottom:calc(74px + env(safe-area-inset-bottom,0px));width:auto;height:min(560px,calc(100vh - 100px));height:min(560px,calc(100dvh - 100px));border-radius:14px;max-width:none}
 .p360-lhc-head{padding:12px}
 .p360-lhc-log{padding:10px}
 .p360-lhc-form{padding:8px}
 .p360-lhc-compose{gap:6px}
 .p360-lhc-compose textarea{font-size:16px;max-height:110px}
 .p360-lhc-send{padding:10px 12px;min-height:40px}
 .p360-lhc-file-row{align-items:flex-start;flex-direction:column}
 .p360-lhc-file-row input{max-width:100%;width:100%;font-size:12px}
 .p360-lhc-admin-grid section{padding:9px}
 .p360-lhc-messages{min-height:200px}
 .p360-lhc-admin-msg{max-width:94%;box-sizing:border-box}
}
@media(max-width:360px){#p360-lhc-panel{left:5px;right:5px} .p360-lhc-compose{align-items:stretch}.p360-lhc-send{padding:8px}}


#p360-lhc-launcher .p360-lhc-launcher-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:inherit}

#p360-lhc-launcher{z-index:2147483000!important;overflow:hidden!important;isolation:isolate}#p360-lhc-launcher .p360-lhc-launcher-image{position:relative;z-index:1;flex:0 0 100%;width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}#p360-lhc-launcher .p360-lhc-close-mark{position:absolute;z-index:3;inset:0;display:flex;align-items:center;justify-content:center;background:inherit;color:#fff;font-size:28px}

#p360-lhc-launcher{position:fixed!important;z-index:2147483647!important;isolation:isolate!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}#p360-lhc-launcher img{display:block!important;visibility:visible!important;opacity:1!important}#p360-lhc-launcher .p360-lhc-close-mark{position:absolute!important;inset:0!important;z-index:2!important;display:flex;align-items:center;justify-content:center;background:inherit;color:#fff;font-size:28px}
