.zfa-root{--zfa-brand:#1579b8;--zfa-ink:#173548;--zfa-soft:#eef6fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--zfa-ink);font-size:14px;line-height:1.5;position:fixed;bottom:22px;right:22px;z-index:1000;text-align:left;color-scheme:light}.zfa-root *{box-sizing:border-box}.zfa-root.zfa-left{right:auto;left:22px}.zfa-root button,.zfa-root textarea,.zfa-root input{font:inherit;letter-spacing:normal;text-transform:none}.zfa-root button{cursor:pointer}.zfa-root button:disabled{cursor:wait;opacity:.5}.zfa-root button:focus-visible,.zfa-root a:focus-visible,.zfa-root input:focus-visible,.zfa-root summary:focus-visible{outline:3px solid #f1a54b;outline-offset:3px}.zfa-root [hidden]{display:none!important}.zfa-root .zfa-launcher{display:flex;align-items:center;gap:11px;background:var(--zfa-brand);border:0;border-radius:50px;box-shadow:0 8px 30px #12384e35;padding:8px 20px 8px 10px;color:white;font-weight:650;min-height:64px}.zfa-root .zfa-launcher img{width:46px;height:54px;object-fit:contain}.zfa-root .zfa-panel{position:absolute;bottom:88px;right:0;width:408px;height:min(620px,calc(100dvh - 130px));display:flex;flex-direction:column;border:1px solid #dbe6ed;border-radius:24px;background:#fff;box-shadow:0 25px 85px #17394b30;overflow:hidden}.zfa-root.zfa-left .zfa-panel{right:auto;left:0}.zfa-root .zfa-header{display:flex;align-items:center;gap:12px;padding:18px 20px;background:#fff;color:var(--zfa-ink);flex:none;border-bottom:1px solid #edf2f6}.zfa-root .zfa-header img{width:46px;height:56px;object-fit:contain}.zfa-root .zfa-header strong{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:750;color:var(--zfa-ink)}.zfa-root .zfa-ai-badge{font-size:9px;letter-spacing:.06em;background:#e7f3fa;color:#1a668d;padding:3px 6px;border-radius:5px}.zfa-root .zfa-header small{display:block;font-size:11px;color:#668091;max-width:265px}.zfa-root .zfa-header button{margin-left:auto;border:0;background:#f1f5f8;color:#557082;font-size:22px;line-height:1;width:31px;height:31px;padding:0;border-radius:50%}.zfa-root .zfa-toolbar{display:flex;gap:4px;padding:7px 14px;background:#fff;flex:none;border-bottom:1px solid #edf2f6}.zfa-root .zfa-toolbar button{border:0;background:transparent;color:#658092;border-radius:8px;padding:6px 9px;font-size:11px}.zfa-root .zfa-toolbar button:hover{background:#edf5fa;color:#216087}.zfa-root .zfa-messages{flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;padding:20px 18px;background:#f8fbfd;scrollbar-width:thin;scrollbar-color:#cedee9 transparent}.zfa-root .zfa-message{max-width:95%;padding:13px 16px;background:#fff;border:1px solid #e4edf3;border-radius:18px 18px 18px 5px;margin:0 0 17px;overflow-wrap:anywhere;box-shadow:0 2px 3px #224c6803}.zfa-root .zfa-speaker{display:block;font-size:10px;font-weight:700;color:#3d7390;margin-bottom:5px}.zfa-root .zfa-message p{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.75;color:var(--zfa-ink);font-weight:400}.zfa-root .zfa-user{margin-left:auto;background:var(--zfa-soft);border-color:#dfebf1;border-radius:18px 18px 5px 18px;max-width:88%}.zfa-root .zfa-user .zfa-speaker{color:#718b9b}.zfa-root .zfa-products{display:grid;gap:8px;margin-top:10px}.zfa-root .zfa-related-label{display:block;margin-top:14px;font-size:10px;color:#638094;letter-spacing:.02em}.zfa-root .zfa-product{display:flex;gap:12px;text-decoration:none;color:var(--zfa-ink);background:#f9fcfe;border:1px solid #e0eaf0;border-radius:12px;padding:12px}.zfa-root .zfa-product:hover{border-color:#9cc5dc}.zfa-root .zfa-product img{width:51px;height:62px;object-fit:contain;background:white;border-radius:7px}.zfa-root .zfa-product strong{font-size:11px;line-height:1.45;display:block;font-weight:650}.zfa-root .zfa-product span{display:block;font-size:13px;font-weight:700;margin-top:4px}.zfa-root .zfa-product small{display:block;color:#69867d;font-size:10px;margin-top:2px}.zfa-root .zfa-references{margin-top:13px;font-size:10px;color:#78909f}.zfa-root summary{cursor:pointer}.zfa-root .zfa-references a{display:block;margin-top:6px;color:#28719b;text-decoration:underline}.zfa-root .zfa-feedback{display:flex;align-items:center;gap:8px;margin-top:13px;font-size:10px;color:#8a9fac}.zfa-root .zfa-feedback button{border:0;border-radius:6px;padding:3px 6px;font-size:10px;background:#f2f7fa;color:#638397}.zfa-root .zfa-listen{border:0;background:transparent;color:#42758f;font-size:10px;border-radius:7px;padding:4px 0;margin-top:7px}.zfa-root .zfa-order{font-size:12px;margin:10px 0}.zfa-root .zfa-order a{color:#256d95}.zfa-root .zfa-suggestions{display:flex;gap:7px;padding:9px 14px 11px;overflow:auto;flex:none;scrollbar-width:none;background:white}.zfa-root .zfa-suggestions button{flex:none;white-space:nowrap;border-radius:50px;background:#f4f9fc;border:1px solid #deebf2;color:#43758e;font-size:10px;padding:7px 10px}.zfa-root .zfa-suggestions button:hover{background:#eaf4fa;border-color:#b7d4e4}.zfa-root .zfa-status{padding:0 18px;font-size:11px;min-height:3px;color:#648398;flex:none}.zfa-root .zfa-privacy{font-size:10px;padding:9px 18px;color:#8296a4;border-top:1px solid #f0f4f7;flex:none;max-height:110px;overflow:auto}.zfa-root .zfa-privacy p{font-size:10px;margin:7px 0;line-height:1.5}.zfa-root .zfa-privacy label{display:flex;align-items:start;gap:7px;margin-top:7px;line-height:1.5}.zfa-root .zfa-privacy input{margin:2px 0 0;flex:none;width:12px;height:12px;accent-color:var(--zfa-brand)}.zfa-root .zfa-form{display:flex;align-items:flex-end;gap:8px;padding:4px 14px 12px;margin:0;flex:none;background:white}.zfa-root textarea{display:block;resize:none;width:100%;height:44px;min-height:44px;max-height:120px;border:1px solid #d7e5ed;border-radius:13px;padding:12px 14px;color:var(--zfa-ink);background:#f9fbfd;box-shadow:none;font-size:13px;line-height:20px;outline:none;overflow-y:auto;appearance:none}.zfa-root textarea:focus{border-color:#90bbd4;box-shadow:0 0 0 3px #1579b80c;background:white}.zfa-root textarea::placeholder{color:#93a6b3}.zfa-root .zfa-form button{background:var(--zfa-brand);color:white;border:0;border-radius:12px;width:43px;height:44px;padding:0;flex:none;font-size:18px;line-height:1}.zfa-root .zfa-footer{font-size:9px;text-align:center;padding:0 10px 12px;color:#98aab6;flex:none;background:white}.zfa-root .zfa-footer a{display:inline-block;color:#7293a6;margin-left:8px;text-decoration:underline}.zfa-root .zfa-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.zfa-root .zfa-stage{display:none}.zfa-root .zfa-typing{display:flex;gap:5px;padding:14px 18px;margin-bottom:15px;width:max-content;border:1px solid #e3edf3;border-radius:18px;background:white}.zfa-root .zfa-typing i{display:block;width:5px;height:5px;border-radius:50%;background:#7aaac4;animation:zfa-dot 1s infinite}.zfa-root .zfa-typing i:nth-child(2){animation-delay:.15s}.zfa-root .zfa-typing i:nth-child(3){animation-delay:.3s}
.zfa-root.zfa-inline{position:relative;bottom:auto;right:auto;left:auto;z-index:1;max-width:100%;margin:22px 0;text-align:left;display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:20px}.zfa-root.zfa-inline .zfa-launcher,.zfa-root.zfa-inline [data-zfa="close"]{display:none}.zfa-root.zfa-inline .zfa-panel{position:relative;bottom:auto;right:auto;left:auto;width:100%;height:var(--zfa-height,620px);max-height:none;box-shadow:0 12px 45px #15384f0c;border-radius:24px}.zfa-root.zfa-inline .zfa-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(155deg,#e9f5fb 0%,#f4faff 50%,#fff6ec 100%);border:1px solid #e2edf3;border-radius:24px;padding:25px 18px;min-width:0;text-align:center}.zfa-root .zfa-stage-orbit{position:absolute;width:190px;height:190px;top:18%;border-radius:50%;background:#fff9;box-shadow:0 0 0 15px #ffffff3a,0 0 0 30px #ffffff22}.zfa-root .zfa-character{position:relative;width:145px;height:210px;display:flex;justify-content:center;align-items:center;margin-bottom:15px;transform-origin:50% 90%;animation:zfa-breathe 4s ease-in-out infinite}.zfa-root .zfa-character img{height:100%;width:100%;object-fit:contain;transform:scale(1.3);filter:drop-shadow(0 12px 12px #72593410)}.zfa-root .zfa-ai-pill{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#47798e;background:#fff9;border:1px solid #ffffffb0;padding:5px 10px;border-radius:50px}.zfa-root .zfa-stage h3{font:750 23px/1.3 ui-sans-serif,system-ui,sans-serif;letter-spacing:-.04em;margin:12px 0 9px;color:#234e65}.zfa-root .zfa-stage p{font-size:12px;line-height:1.7;color:#698694;margin:0;max-width:170px;min-height:42px}.zfa-root .zfa-stage small{font-size:10px;line-height:1.8;color:#9aaab4;margin-top:27px}.zfa-root .zfa-wave{display:flex;align-items:center;justify-content:center;gap:4px;height:28px;margin-top:17px}.zfa-root .zfa-wave i{width:3px;height:5px;border-radius:10px;background:#72accb;transition:height .2s}.zfa-root[data-state=talking] .zfa-wave i,.zfa-root[data-state=thinking] .zfa-wave i{animation:zfa-wave .7s ease-in-out infinite alternate}.zfa-root .zfa-wave i:nth-child(2){animation-delay:.18s}.zfa-root .zfa-wave i:nth-child(3){animation-delay:.35s}.zfa-root .zfa-wave i:nth-child(4){animation-delay:.12s}.zfa-root .zfa-wave i:nth-child(5){animation-delay:.25s}.zfa-root[data-state=talking] .zfa-character{animation:zfa-talk .6s ease-in-out infinite alternate}.zfa-root[data-state=thinking] .zfa-character{animation:zfa-think 1.6s ease-in-out infinite}.zfa-root[data-state=listening] .zfa-character{transform:rotate(-3deg);animation:zfa-breathe 3s ease-in-out infinite}.zfa-root[data-state=talking] .zfa-stage-orbit{animation:zfa-glow 1.4s ease-in-out infinite}.zfa-root[data-state=thinking] .zfa-header img{animation:zfa-think 1.6s ease-in-out infinite}.zfa-root[data-state=talking] .zfa-header img{animation:zfa-talk .6s ease-in-out infinite alternate}
@keyframes zfa-breathe{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}@keyframes zfa-talk{0%{transform:translateY(0) rotate(-2deg)}100%{transform:translateY(-4px) rotate(2deg)}}@keyframes zfa-think{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg) translateY(-2px)}}@keyframes zfa-wave{to{height:22px;background:#2f8ebd}}@keyframes zfa-dot{50%{transform:translateY(-3px);opacity:.5}}@keyframes zfa-glow{50%{box-shadow:0 0 0 20px #ffffff3a,0 0 0 40px #ffffff12}}
@media(max-width:700px){.zfa-root.zfa-inline{grid-template-columns:1fr;gap:12px}.zfa-root.zfa-inline .zfa-stage{min-height:150px;display:grid;grid-template-columns:100px 1fr;grid-template-rows:auto auto auto;text-align:left;padding:15px 20px;column-gap:14px}.zfa-root .zfa-character{grid-column:1;grid-row:1/4;width:100px;height:125px;margin:0}.zfa-root .zfa-stage-orbit{width:105px;height:105px;top:21px;left:18px}.zfa-root .zfa-ai-pill{grid-column:2;justify-self:start;align-self:end}.zfa-root .zfa-stage h3{grid-column:2;font-size:22px;margin:8px 0 3px}.zfa-root .zfa-stage p{grid-column:2;max-width:none;min-height:0;font-size:11px;align-self:start}.zfa-root .zfa-stage small,.zfa-root .zfa-stage .zfa-wave{display:none}.zfa-root.zfa-inline .zfa-panel{border-radius:20px}}
@media(max-width:480px){.zfa-root{bottom:14px;right:14px}.zfa-root.zfa-left{left:14px}.zfa-root.zfa-hide-mobile{display:none}.zfa-root .zfa-panel{width:calc(100vw - 28px);height:min(670px,calc(100dvh - 112px));bottom:80px;border-radius:21px}.zfa-root .zfa-launcher{min-height:57px;padding:6px 15px 6px 8px;font-size:12px}.zfa-root .zfa-launcher img{height:48px;width:39px}.zfa-root .zfa-header{padding:13px 16px}.zfa-root .zfa-header img{height:46px;width:38px}.zfa-root .zfa-header strong{font-size:16px}.zfa-root .zfa-messages{padding:17px 13px}.zfa-root .zfa-message p{font-size:12px}.zfa-root.zfa-inline .zfa-panel{height:var(--zfa-height,620px);bottom:auto;width:100%}}
.zfa-root.zfa-no-animation *{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){.zfa-root *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@container(max-width:700px){.zfa-root.zfa-inline{grid-template-columns:1fr;gap:12px}.zfa-root.zfa-inline .zfa-stage{min-height:150px;display:grid;grid-template-columns:100px 1fr;grid-template-rows:auto auto auto;text-align:left;padding:15px 20px;column-gap:14px}.zfa-root .zfa-character{grid-column:1;grid-row:1/4;width:100px;height:125px;margin:0}.zfa-root .zfa-stage-orbit{width:105px;height:105px;top:21px;left:18px}.zfa-root .zfa-ai-pill{grid-column:2;justify-self:start;align-self:end}.zfa-root .zfa-stage h3{grid-column:2;font-size:22px;margin:8px 0 3px}.zfa-root .zfa-stage p{grid-column:2;max-width:none;min-height:0;font-size:11px;align-self:start}.zfa-root .zfa-stage small,.zfa-root .zfa-stage .zfa-wave{display:none}.zfa-root.zfa-inline .zfa-panel{border-radius:20px}}

@media(max-width:480px){.zfa-root:not(.zfa-inline){bottom:36px;right:14px}.zfa-root.zfa-left:not(.zfa-inline){left:14px;right:auto}.zfa-root:not(.zfa-inline) .zfa-panel{width:min(340px,calc(100vw - 28px));height:min(500px,calc(100dvh - 140px));bottom:68px}.zfa-root:not(.zfa-inline) .zfa-launcher{min-height:48px;padding:5px 13px 5px 8px;font-size:11px}.zfa-root:not(.zfa-inline) .zfa-launcher img{width:31px;height:38px}.zfa-root:not(.zfa-inline) .zfa-header{padding:10px 13px}.zfa-root:not(.zfa-inline) .zfa-header img{width:32px;height:40px}.zfa-root:not(.zfa-inline) .zfa-toolbar{padding:5px 9px}.zfa-root:not(.zfa-inline) .zfa-messages{padding:12px}.zfa-root:not(.zfa-inline) .zfa-message{padding:10px 12px;margin-bottom:12px}.zfa-root:not(.zfa-inline) .zfa-suggestions{padding:7px 10px}.zfa-root:not(.zfa-inline) .zfa-privacy{padding:7px 12px}.zfa-root:not(.zfa-inline) .zfa-form{padding:4px 10px 9px}.zfa-root:not(.zfa-inline) .zfa-footer{padding-bottom:9px}}


.zfa-root.zfa-top-left .zfa-panel,.zfa-root.zfa-top-right .zfa-panel{bottom:auto;top:80px;max-height:calc(100dvh - 120px)}
.zfa-root.zfa-top-left .zfa-panel{right:auto;left:0}

.zfa-root[hidden]{display:none!important}

@media(max-width:700px){
.zfa-root:not(.zfa-inline) .zfa-launcher{min-height:48px;padding:5px 13px 5px 8px;font-size:11px}
.zfa-root:not(.zfa-inline) .zfa-launcher img{width:31px;height:38px}
.zfa-root:not(.zfa-inline) .zfa-header{padding:9px 12px;min-height:58px}
.zfa-root:not(.zfa-inline) .zfa-header img{width:30px;height:38px}
.zfa-root:not(.zfa-inline) .zfa-header div{min-width:0}
.zfa-root:not(.zfa-inline) .zfa-header small{font-size:10px}
.zfa-root:not(.zfa-inline) .zfa-header button{flex-shrink:0}
.zfa-root:not(.zfa-inline) .zfa-toolbar{padding:4px 8px}
.zfa-root:not(.zfa-inline) .zfa-messages{min-height:0;padding:10px}
.zfa-root:not(.zfa-inline) .zfa-suggestions{padding:5px 8px}
.zfa-root:not(.zfa-inline) .zfa-privacy{padding:5px 10px;max-height:75px}
.zfa-root:not(.zfa-inline) .zfa-form{padding:4px 8px 7px;gap:6px}
.zfa-root:not(.zfa-inline) textarea{font-size:16px;min-width:0;padding:10px;line-height:22px}
.zfa-root:not(.zfa-inline) .zfa-form button{flex-shrink:0}
.zfa-root:not(.zfa-inline) .zfa-footer{font-size:9px;padding:0 8px 7px}
}

.zfa-root.zfa-keyboard .zfa-launcher{visibility:hidden}
.zfa-root.zfa-keyboard .zfa-toolbar,.zfa-root.zfa-keyboard .zfa-suggestions,.zfa-root.zfa-keyboard .zfa-footer,.zfa-root.zfa-keyboard .zfa-privacy details{display:none}
.zfa-root.zfa-keyboard .zfa-header{min-height:42px;padding:5px 10px}
.zfa-root.zfa-keyboard .zfa-header img{height:30px}
.zfa-root.zfa-keyboard .zfa-header small{display:none}

.zfa-root .zfa-view-more{display:block;text-align:center;margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--zfa-brand);color:#fff;text-decoration:none;font-size:12px;font-weight:650}
.zfa-root .zfa-product-rank{font-weight:700;font-size:11px;color:var(--zfa-brand)}

/* Exact-artwork fox animator. Original image stays in DOM as accessible fallback. */
.zfa-root .zfa-fox-rig{position:relative;display:inline-block;vertical-align:middle;flex:none;width:46px;height:56px;overflow:visible}
.zfa-root .zfa-fox-rig>img{display:block!important;width:100%!important;height:100%!important;object-fit:contain;opacity:0!important}
.zfa-root .zfa-fox-rig>.zfa-live-fox{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.zfa-root .zfa-launcher .zfa-fox-rig{width:46px;height:54px}
.zfa-root .zfa-header .zfa-fox-rig{width:46px;height:56px}
.zfa-root .zfa-character .zfa-fox-rig{width:100%;height:100%}
.zfa-root .zfa-character .zfa-live-fox{transform:scale(1.3);transform-origin:center;filter:drop-shadow(0 12px 12px #72593410)}
@media(max-width:700px){.zfa-root:not(.zfa-inline) .zfa-launcher .zfa-fox-rig{width:31px;height:38px}.zfa-root:not(.zfa-inline) .zfa-header .zfa-fox-rig{width:30px;height:38px}}
@media(prefers-reduced-motion:reduce){.zfa-root .zfa-fox-rig>img{opacity:1!important}.zfa-root .zfa-live-fox{display:none}}
.zfa-root.zfa-no-animation .zfa-fox-rig>img{opacity:1!important}.zfa-root.zfa-no-animation .zfa-live-fox{display:none}

/* Prominent talking companion, original fox source retained */
.zfa-root .zfa-speaking-stage{display:none;position:relative;align-items:center;gap:14px;flex:none;padding:10px 18px;background:linear-gradient(110deg,#f3f9fd,#fff5e8);border-bottom:1px solid #e5edf2;min-height:145px;overflow:hidden}
.zfa-root.zfa-fox-speaking .zfa-speaking-stage{display:flex}
.zfa-root .zfa-speaking-stage>.zfa-fox-rig{width:120px;height:135px}
.zfa-root .zfa-speaking-stage>.zfa-fox-rig>img{object-fit:contain}
.zfa-root .zfa-speaking-stage .zfa-live-fox{width:120px;height:135px;filter:drop-shadow(0 6px 8px #6b4a2a22)}
.zfa-root .zfa-speaking-label{font-weight:750;color:#164866;font-size:13px;letter-spacing:.01em}
.zfa-root.zfa-fox-speaking .zfa-launcher{box-shadow:0 5px 22px #f6923780}
.zfa-root.zfa-fox-speaking .zfa-launcher .zfa-fox-rig,.zfa-root.zfa-fox-speaking .zfa-launcher img{transform:scale(1.16);transform-origin:center bottom}
@media(max-width:700px){.zfa-root .zfa-speaking-stage{min-height:112px;padding:6px 13px;gap:10px}.zfa-root .zfa-speaking-stage>.zfa-fox-rig,.zfa-root .zfa-speaking-stage .zfa-live-fox{width:92px;height:99px}.zfa-root .zfa-speaking-label{font-size:12px}}

/* Original fox artwork restoration: no synthetic facial features. */
.zfa-root .zfa-speaking-stage.zfa-original-fox-stage{display:none;min-height:200px;padding:12px 24px;gap:25px;align-items:center;justify-content:flex-start;background:linear-gradient(110deg,#f3f9fd,#fff5e8)}
.zfa-root.zfa-fox-speaking .zfa-speaking-stage.zfa-original-fox-stage{display:flex}
.zfa-root .zfa-original-fox-stage .zfa-original-fox{display:block;flex:0 0 auto;width:170px;height:175px;max-width:42%;object-fit:contain;animation:zfa-original-fox-breathe 2.2s ease-in-out infinite;transform-origin:50% 90%}
.zfa-root .zfa-original-fox-stage .zfa-speaking-label{font-weight:750;font-size:15px;color:#164866}
@keyframes zfa-original-fox-breathe{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-3px) rotate(1deg)}}
@media(max-width:700px){.zfa-root .zfa-speaking-stage.zfa-original-fox-stage{min-height:155px;padding:8px 14px;gap:14px}.zfa-root .zfa-original-fox-stage .zfa-original-fox{width:125px;height:137px}.zfa-root .zfa-original-fox-stage .zfa-speaking-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.zfa-root .zfa-original-fox-stage .zfa-original-fox{animation:none}}

/* Layout-stable speech: the mascot grows from its existing header position. */
.zfa-root .zfa-speaking-stage,.zfa-root.zfa-fox-speaking .zfa-speaking-stage{display:none!important}
.zfa-root .zfa-header{overflow:visible;position:relative;z-index:2}
.zfa-root .zfa-header [data-zfa-logo]{display:block;position:relative;z-index:3;transform-origin:50% 50%;transition:transform .22s ease,filter .22s ease}
.zfa-root.zfa-fox-speaking .zfa-header [data-zfa-logo]{transform:scale(2.15);filter:drop-shadow(0 5px 6px #513b292b)}
.zfa-root.zfa-fox-speaking .zfa-header{isolation:isolate}
@media(max-width:700px){.zfa-root.zfa-fox-speaking .zfa-header [data-zfa-logo]{transform:scale(1.85)}}
@media(prefers-reduced-motion:reduce){.zfa-root .zfa-header [data-zfa-logo]{transition:none}}

/* Emergency layout reset: one fox only, original header location, no duplicated speaking panel. */
.zfa-root .zfa-speaking-stage,
.zfa-root.zfa-fox-speaking .zfa-speaking-stage,
.zfa-root .zfa-original-fox-stage{display:none!important;height:0!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.zfa-root .zfa-header{overflow:visible!important}
.zfa-root .zfa-header [data-zfa-logo]{transform:none!important;animation:none!important;filter:none!important;opacity:1!important}
.zfa-root .zfa-header .zfa-fox-rig,.zfa-root .zfa-header .zfa-live-fox{display:none!important}
.zfa-root .zfa-header [data-zfa-logo]{display:block!important}
.zfa-root.zfa-fox-speaking .zfa-header [data-zfa-logo]{transform:scale(1.5)!important;transform-origin:50% 55%;transition:transform .2s ease!important}

/* Final visual rollback: do not render any synthetic extra mouth/ears/eyes.
   The exact character must come from the original asset only. */
.zfa-root .zfa-speaking-stage,.zfa-root .zfa-original-fox-stage,
.zfa-root.zfa-fox-speaking .zfa-speaking-stage {display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important}
.zfa-root .zfa-live-fox{display:none!important}
.zfa-root .zfa-fox-rig{display:contents!important}
.zfa-root .zfa-fox-rig>img{opacity:1!important;visibility:visible!important;display:block!important}
.zfa-root .zfa-header [data-zfa-logo]{transform:none!important;animation:none!important;filter:none!important}
.zfa-root.zfa-fox-speaking .zfa-header [data-zfa-logo]{transform:scale(1.4)!important;transform-origin:center center!important}

/* Safe speaking motion: same original fox, no extra character layers or layout changes. */
@keyframes zfa-safe-speak{0%,100%{transform:scale(1.55) translateY(0)}25%{transform:scale(1.60,1.51) translateY(-1px)}50%{transform:scale(1.55,1.61) translateY(-2px)}75%{transform:scale(1.61,1.53) translateY(-1px)}}
.zfa-root.zfa-fox-speaking .zfa-header img[data-zfa-logo]{animation:zfa-safe-speak .38s ease-in-out infinite!important;transform-origin:50% 55%!important}
.zfa-root.zfa-fox-speaking .zfa-header{overflow:visible!important}
.zfa-root .zfa-speaking-stage{display:none!important}
@media(prefers-reduced-motion:reduce){.zfa-root.zfa-fox-speaking .zfa-header img[data-zfa-logo]{animation:none!important;transform:none!important}}

/* 2026-10-28: fully code-drawn Zushki mascot - no fox bitmap */
.zfa-root .zfa-svg-mascot{display:block;position:relative;flex:0 0 46px;width:46px;height:58px;line-height:0;overflow:visible;transform-origin:50% 52%;transition:transform .2s ease,filter .2s ease}
.zfa-root .zfa-svg-mascot svg{width:100%;height:100%;overflow:visible}
.zfa-root .zfa-header .zfa-svg-mascot{flex-basis:46px;width:46px;height:58px;z-index:4}
.zfa-root.zfa-vector-speaking .zfa-header .zfa-svg-mascot{transform:scale(1.65);filter:drop-shadow(0 4px 8px #5b371d30)}
.zfa-root .zfa-launcher .zfa-svg-mascot{flex:0 0 43px;width:43px;height:51px}
.zfa-root .zfa-character .zfa-svg-mascot{width:100%;height:100%;flex:1}
.zfa-root .zfa-stage .zfa-svg-mascot{width:100%;height:100%}
.zfa-root .zfa-speaking-stage{display:none!important}
.zfa-root .zfa-header{overflow:visible!important}
.zfa-root .zfa-svg-mascot .zfa-v-mouth{transform:scaleY(.1);transform-origin:105px 139px}
@media(max-width:700px){.zfa-root .zfa-header .zfa-svg-mascot{flex-basis:33px;width:33px;height:42px}.zfa-root.zfa-vector-speaking .zfa-header .zfa-svg-mascot{transform:scale(1.65)}.zfa-root .zfa-launcher .zfa-svg-mascot{width:31px;height:38px;flex-basis:31px}}
@media(prefers-reduced-motion:reduce){.zfa-root .zfa-svg-mascot *{animation:none!important;transition:none!important}.zfa-root .zfa-svg-mascot{transform:none!important}}

/* Strict sizing for live vector mascot. Prevent legacy character stage from stretching header. */
.zfa-root .zfa-header .zfa-svg-mascot{display:block!important;flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:58px!important;max-height:58px!important;align-self:center!important}
.zfa-root .zfa-header .zfa-svg-mascot svg{width:46px!important;height:58px!important;max-width:100%!important;max-height:100%!important}
.zfa-root .zfa-launcher .zfa-svg-mascot{display:block!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;height:45px!important;max-height:45px!important}
.zfa-root .zfa-header{min-height:75px!important;align-items:center!important}
.zfa-root .zfa-speaking-stage{display:none!important}
@media(max-width:700px){.zfa-root .zfa-header .zfa-svg-mascot{width:33px!important;min-width:33px!important;max-width:33px!important;flex-basis:33px!important;height:43px!important}.zfa-root .zfa-header .zfa-svg-mascot svg{width:33px!important;height:43px!important}}

/* Launcher hard limits: must never expand to SVG intrinsic dimensions. */
.zfa-root .zfa-launcher{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:54px!important;max-width:235px!important;width:auto!important;padding:5px 14px 5px 8px!important;border-radius:40px!important}
.zfa-root .zfa-launcher .zfa-svg-mascot{display:block!important;position:relative!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:45px!important;max-height:45px!important;overflow:visible!important}
.zfa-root .zfa-launcher .zfa-svg-mascot>svg{width:36px!important;height:45px!important;max-width:36px!important;max-height:45px!important;display:block!important}
.zfa-root .zfa-launcher span:not(.zfa-svg-mascot){font-size:13px!important;white-space:nowrap!important}
.zfa-root .zfa-header .zfa-svg-mascot{width:46px!important;height:58px!important;min-width:46px!important;max-width:46px!important;max-height:58px!important;flex:0 0 46px!important}
.zfa-root .zfa-header .zfa-svg-mascot>svg{width:46px!important;height:58px!important}

/* Stable exact-layout mascot fallback while the faithful rig is prepared. */
.zfa-root .zfa-launcher .zfa-stable-fox{display:block!important;width:36px!important;height:45px!important;min-width:36px!important;max-width:36px!important;object-fit:contain!important;flex:0 0 36px!important;transform:none!important}
.zfa-root .zfa-header .zfa-stable-fox{display:block!important;width:46px!important;height:58px!important;min-width:46px!important;max-width:46px!important;object-fit:contain!important;flex:0 0 46px!important}
.zfa-root .zfa-character .zfa-stable-fox{width:100%!important;height:100%!important;object-fit:contain!important}
.zfa-root .zfa-speaking-stage{display:none!important}
.zfa-root.zfa-fox-speaking .zfa-header .zfa-stable-fox{transform:scale(1.4)!important;transform-origin:50% 50%!important}

/* Zushki fox video avatar (1.3.7). The image stays in place for layout and as fallback. */
.zfa-root .zfa-vfox{position:relative;display:block;flex:0 0 auto;line-height:0}
.zfa-root .zfa-character .zfa-vfox{width:100%;height:100%}
.zfa-root .zfa-vfox-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .15s linear}
/* the loops are framed tighter than fox.webp: match the image's framing exactly */
.zfa-root .zfa-vfox .zfa-vfox-canvas{transform:translateX(-1.75%) scale(.872);transform-origin:50% 50%}
.zfa-root .zfa-character .zfa-vfox .zfa-vfox-canvas{transform:translateX(-1.75%) scale(1.14)}
.zfa-root .zfa-vfox-ready>.zfa-vfox-canvas{opacity:1}
.zfa-root .zfa-vfox.zfa-vfox-ready>img[data-zfa-logo],.zfa-root .zfa-bigfox.zfa-vfox-ready>img{opacity:0!important;visibility:hidden!important;animation:none!important}
.zfa-root.zfa-fox-speaking .zfa-header .zfa-vfox.zfa-vfox-ready>img[data-zfa-logo]{animation:none!important}
.zfa-root .zfa-bigfox{position:fixed;left:-9999px;top:0;width:180px;height:180px;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s linear .25s;z-index:2}
.zfa-root .zfa-bigfox.zfa-on{opacity:1;visibility:visible;transition:opacity .25s ease}
.zfa-root .zfa-bigfox>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform:translateX(1.75%) scale(1.147)}
.zfa-root .zfa-vfox-park{position:fixed;left:0;bottom:0;width:2px;height:2px;overflow:hidden;opacity:.01;pointer-events:none;z-index:-1}
.zfa-root .zfa-vfox-park video{width:2px;height:2px}
/* Phones in landscape (wide but short): put the chat beside the launcher at nearly full height
   so its input stays on screen. */
@media (min-width:701px) and (max-height:520px){
.zfa-root:not(.zfa-inline) .zfa-panel{bottom:0!important;top:auto!important;right:calc(100% + 12px)!important;left:auto!important;height:calc(100dvh - 44px)!important;max-height:none!important}
.zfa-root.zfa-left:not(.zfa-inline) .zfa-panel{right:auto!important;left:calc(100% + 12px)!important}
.zfa-root:not(.zfa-inline) .zfa-panel{overflow-y:auto!important}
.zfa-root:not(.zfa-inline) .zfa-header{min-height:0!important;padding-top:4px!important;padding-bottom:4px!important}
.zfa-root:not(.zfa-inline) .zfa-toolbar{padding-top:3px!important;padding-bottom:3px!important;min-height:0!important}
.zfa-root:not(.zfa-inline) .zfa-suggestions{display:none!important}
}
/* Shorter phones (and any phone while its address bar is expanded): compact the chat so the
   standing fox always has room. */
@media (max-width:700px) and (max-height:760px){
.zfa-root:not(.zfa-inline) .zfa-header{min-height:0!important;padding-top:6px!important;padding-bottom:6px!important}
.zfa-root:not(.zfa-inline) .zfa-toolbar{padding-top:3px!important;padding-bottom:3px!important;min-height:0!important}
.zfa-root:not(.zfa-inline) .zfa-suggestions{display:none!important}
}

/* Live talking (1.8.0) */
.zfa-root .zfa-livebar{display:flex;align-items:center;gap:8px;padding:7px 10px;background:#fff;border-top:1px solid #dce9f1;font-size:12px;color:var(--zfa-ink)}
.zfa-root .zfa-livebar[hidden]{display:none}
.zfa-root .zfa-live-mic{display:inline-flex;align-items:center;gap:5px;font-weight:600;white-space:nowrap}
.zfa-root .zfa-live-mic b{font-weight:600}
.zfa-root .zfa-live-mic i{width:9px;height:9px;border-radius:50%;background:#d92d20;box-shadow:0 0 0 0 rgba(217,45,32,.5);animation:zfa-live-pulse 1.5s infinite}
.zfa-root .zfa-live-state{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5a7384}
.zfa-root .zfa-live-time{font-variant-numeric:tabular-nums;color:#5a7384}
.zfa-root .zfa-live-end{border:0;border-radius:999px;padding:5px 12px;background:#d92d20;color:#fff;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.zfa-root .zfa-live-end:focus-visible{outline:2px solid var(--zfa-brand);outline-offset:2px}
@keyframes zfa-live-pulse{70%{box-shadow:0 0 0 7px rgba(217,45,32,0)}100%{box-shadow:0 0 0 0 rgba(217,45,32,0)}}
@media(prefers-reduced-motion:reduce){.zfa-root .zfa-live-mic i{animation:none}}
.zfa-root .zfa-talkfox{display:inline-flex;align-items:center;gap:5px}
.zfa-root .zfa-talkfox svg{width:14px;height:14px;fill:currentColor;flex:none}
.zfa-root .zfa-talkfox[hidden]{display:none}
