/* XZ Floating Contact V1.1.0 — right-edge dock + adjacent popovers */
.xzfc-root,.xzfc-root *,.xzfc-root *::before,.xzfc-root *::after{box-sizing:border-box}
.xzfc-root{--xzfc-primary:#2F6BFF;--xzfc-deep:#1658EC;--xzfc-accent:#08C8F4;--xzfc-size:54px;--xzfc-tabw:calc(var(--xzfc-size) + 13px);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans SC",Arial,sans-serif;color:#101c35;line-height:1.5}
.xzfc-root [hidden]{display:none!important}
.xzfc-root .xzfc-bar{position:fixed!important;z-index:2147482000;right:0;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin:0!important;padding:0!important;width:auto;list-style:none;overflow:visible}
.xzfc-root .xzfc-button{position:relative;isolation:isolate;display:flex!important;align-items:center!important;justify-content:center!important;flex:none;width:var(--xzfc-tabw)!important;height:var(--xzfc-size)!important;min-height:0!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px 0 0 999px!important;background:linear-gradient(115deg,var(--xzfc-primary) 5%,var(--xzfc-deep) 95%)!important;box-shadow:0 5px 14px rgba(25,84,211,.16)!important;color:#fff!important;text-decoration:none!important;cursor:pointer;appearance:none;-webkit-appearance:none;transition:width .2s ease,filter .2s ease,box-shadow .2s ease!important}
.xzfc-root .xzfc-button:visited{color:#fff!important}
.xzfc-root .xzfc-button--inquiry{background:linear-gradient(116deg,var(--xzfc-deep),var(--xzfc-primary) 55%,var(--xzfc-accent))!important}
.xzfc-root .xzfc-button--whatsapp{background:linear-gradient(120deg,var(--xzfc-primary),var(--xzfc-accent))!important}
.xzfc-root .xzfc-button--wechat{background:linear-gradient(115deg,#128CFE,var(--xzfc-accent))!important}
.xzfc-root .xzfc-button--top{background:linear-gradient(115deg,var(--xzfc-primary),var(--xzfc-deep))!important}
.xzfc-root .xzfc-button:hover,.xzfc-root .xzfc-button:focus-visible,.xzfc-root .xzfc-button[aria-expanded="true"]{width:calc(var(--xzfc-tabw) + 7px)!important;box-shadow:0 7px 22px rgba(36,107,255,.24)!important;filter:brightness(1.06)}
.xzfc-root .xzfc-button:focus-visible{outline:3px solid #6ce5ff!important;outline-offset:-3px}
.xzfc-root .xzfc-button svg{display:block!important;flex:none;width:23px!important;height:23px!important;margin:0!important;padding:0!important;stroke:#fff!important;color:#fff!important;fill:none!important}
.xzfc-root .xzfc-tip{position:absolute;z-index:10;right:calc(100% + 12px);top:50%;transform:translate(5px,-50%);display:block;white-space:nowrap;pointer-events:none;visibility:hidden;opacity:0;padding:9px 12px;background:#fff;border:1px solid #e7eef8;border-radius:9px;box-shadow:0 7px 20px rgba(7,34,74,.13);color:#152b4b;font-size:13px;font-weight:600;line-height:1.25;transition:opacity .16s ease,transform .16s ease}
.xzfc-root .xzfc-button:hover .xzfc-tip,.xzfc-root .xzfc-button:focus-visible .xzfc-tip{visibility:visible;opacity:1;transform:translate(0,-50%)}
.xzfc-root .xzfc-button[aria-expanded="true"] .xzfc-tip{visibility:hidden!important;opacity:0!important}
/* Popover: anchored by JS to the opened button; NOT an overlay */
.xzfc-root .xzfc-popover{position:fixed!important;z-index:2147482001;right:calc(var(--xzfc-tabw) + 13px)!important;top:16px;display:block!important;width:min(370px,calc(100vw - var(--xzfc-tabw) - 29px));max-height:calc(100dvh - 24px);overflow:visible!important;margin:0!important;padding:24px!important;background:#fff!important;border:1px solid rgba(195,215,245,.9)!important;border-radius:17px!important;box-shadow:0 14px 45px rgba(9,51,112,.18)!important;text-align:left;line-height:1.5;overscroll-behavior:contain}
.xzfc-root .xzfc-popover::after{content:"";position:absolute;right:-7px;top:var(--xzfc-arrow-top,40px);width:13px;height:13px;background:#fff;border-top:1px solid #dce8f7;border-right:1px solid #dce8f7;transform:rotate(45deg);pointer-events:none}
.xzfc-root .xzfc-panel-topline{position:absolute;top:0;left:0;right:0;height:4px;border-radius:16px 16px 0 0;background:linear-gradient(90deg,var(--xzfc-primary),var(--xzfc-accent))}
.xzfc-root .xzfc-close{position:absolute;top:13px;right:13px;z-index:2;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0!important;border:0!important;border-radius:8px!important;background:#F2F7FF!important;color:#6b7890!important;cursor:pointer}
.xzfc-root .xzfc-close:hover,.xzfc-root .xzfc-close:focus-visible{background:#E7F1FF!important;color:var(--xzfc-primary)!important}
.xzfc-root .xzfc-close svg{width:16px;height:16px;stroke:currentColor}
.xzfc-root .xzfc-kicker{display:block;margin:0 0 6px;color:var(--xzfc-primary);font-size:10px;font-weight:800;letter-spacing:.11em}
.xzfc-root .xzfc-pane{display:block;max-height:calc(100dvh - 75px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.xzfc-root .xzfc-pane h2{margin:0 0 6px!important;padding:0!important;color:#101e36!important;font-size:23px!important;font-weight:750!important;line-height:1.33!important;letter-spacing:-.02em}
.xzfc-root .xzfc-desc{margin:0 0 18px!important;padding:0!important;color:#66758b!important;font-size:13px!important;line-height:1.65!important}
.xzfc-root .xzfc-form{margin:0!important;padding:0!important}
.xzfc-root .xzfc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:11px}
.xzfc-root .xzfc-form label:not(.xzfc-consent){display:block;margin:0!important;padding:0!important;color:#293a56!important;font-size:12px!important;font-weight:650!important;line-height:1.65!important}
.xzfc-root .xzfc-form label b{color:#ea4e5b;font-weight:700}
.xzfc-root .xzfc-form input:not([type="checkbox"]),.xzfc-root .xzfc-form textarea{display:block;width:100%!important;max-width:100%!important;min-width:0!important;min-height:39px!important;height:auto;margin:5px 0 0!important;padding:9px 10px!important;border:1px solid #dce7f4!important;border-radius:9px!important;background:#FCFDFF!important;box-shadow:none!important;outline:none;color:#17253f!important;font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important;appearance:none}
.xzfc-root .xzfc-form input:focus,.xzfc-root .xzfc-form textarea:focus{border-color:var(--xzfc-primary)!important;box-shadow:0 0 0 3px rgba(47,107,255,.10)!important}
.xzfc-root .xzfc-form textarea{resize:vertical;min-height:88px!important}
.xzfc-root .xzfc-form .xzfc-wide-field{margin-bottom:11px!important}
.xzfc-root .xzfc-consent{display:flex;gap:8px;align-items:flex-start;margin:10px 0 13px!important;padding:0!important;color:#65738b!important;font-size:11px!important;font-weight:400!important;line-height:1.6!important}
.xzfc-root .xzfc-consent input{flex:none;width:15px;height:15px;min-height:0;margin:1px 0 0!important;accent-color:var(--xzfc-primary)}
.xzfc-root .xzfc-consent a{color:var(--xzfc-primary)!important;text-decoration:underline}
.xzfc-root .xzfc-honeypot{position:absolute;left:-10000px;top:-10000px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.xzfc-root .xzfc-feedback{margin:0 0 8px!important;font-size:12px;line-height:1.5;color:#bf4553}
.xzfc-root .xzfc-feedback[data-success="1"]{color:#148467}
.xzfc-root .xzfc-submit{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;width:100%!important;min-height:42px!important;padding:9px 14px!important;margin:0!important;border:0!important;border-radius:9px!important;background:linear-gradient(105deg,var(--xzfc-deep),var(--xzfc-primary),var(--xzfc-accent))!important;box-shadow:none!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:1.5!important;cursor:pointer}
.xzfc-root .xzfc-submit:disabled{opacity:.65;cursor:wait}
.xzfc-root .xzfc-submit:hover:not(:disabled){filter:brightness(1.05)}
/* WeChat popup */
.xzfc-root .xzfc-wx-heading{display:flex;align-items:center;gap:12px;margin:0 25px 16px 0}
.xzfc-root .xzfc-wx-heading h2{margin:0!important;font-size:20px!important}
.xzfc-root .xzfc-wx-mark{display:flex;align-items:center;justify-content:center;flex:none;width:41px;height:41px;border-radius:14px;background:linear-gradient(135deg,#1CC9D9,var(--xzfc-primary));color:#fff}
.xzfc-root .xzfc-wx-mark svg{width:26px;height:26px;stroke:#fff}
.xzfc-root .xzfc-wx-person{margin:0 0 8px!important;font-size:15px;font-weight:700;text-align:center;color:#162749}
.xzfc-root .xzfc-qr-frame{position:relative;display:flex;align-items:center;justify-content:center;width:100%;margin:0 auto 12px;padding:13px;border:1px solid #DCEBFD;border-radius:14px;background:linear-gradient(135deg,#F4FAFF 0%,#FFFFFF 56%,#EDF8FF 100%)}
.xzfc-root .xzfc-qr-frame img{display:block!important;width:min(100%,240px)!important;height:auto!important;max-height:250px!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:5px!important;box-shadow:none!important;background:#fff}
.xzfc-root .xzfc-wx-caption{margin:0!important;color:#6c7890!important;text-align:center;font-size:12px!important;line-height:1.6!important}
/* Tablet / phone */
@media(max-width:767px){
 .xzfc-root{--xzfc-mobile-size:45px;--xzfc-tabw:56px}
 .xzfc-root .xzfc-bar{top:auto;bottom:16vh;transform:none;gap:6px}
 .xzfc-root .xzfc-button{width:56px!important;height:45px!important}
 .xzfc-root .xzfc-button:hover,.xzfc-root .xzfc-button:focus-visible,.xzfc-root .xzfc-button[aria-expanded="true"]{width:58px!important}
 .xzfc-root .xzfc-button svg{width:21px!important;height:21px!important}
 .xzfc-root .xzfc-tip{display:none!important}
 .xzfc-root .xzfc-popover{right:68px!important;width:min(340px,calc(100vw - 80px))!important;max-height:calc(100dvh - 20px);padding:20px 16px!important;border-radius:14px!important}
 .xzfc-root .xzfc-popover::after{display:none}
 .xzfc-root .xzfc-form-row{grid-template-columns:1fr;gap:9px}
 .xzfc-root .xzfc-form .xzfc-wide-field{margin-bottom:9px!important}
 .xzfc-root .xzfc-pane h2{font-size:21px!important}
 .xzfc-root .xzfc-qr-frame img{max-height:210px!important}
}
@media(max-height:560px){.xzfc-root .xzfc-bar{gap:3px}.xzfc-root .xzfc-button{height:40px!important}.xzfc-root .xzfc-button svg{width:19px!important;height:19px!important}}
@media(prefers-reduced-motion:reduce){.xzfc-root .xzfc-button,.xzfc-root .xzfc-tip{transition:none!important}}
/* Keep the native hidden state stronger than the visible popover declarations. */
.xzfc-root .xzfc-popover[hidden],.xzfc-root .xzfc-pane[hidden]{display:none!important}
