.kftec-wa,.kftec-wa *{box-sizing:border-box}
.kftec-wa{--wa-green:#075e54;--wa-bright:#25d366;--wa-ink:#172b28;--wa-size:62px;position:fixed;right:24px;bottom:24px;z-index:999999;font-family:Arial,Helvetica,sans-serif;line-height:1.4;color:var(--wa-ink)}
.kftec-wa [hidden]{display:none!important}
.kftec-wa button{font-family:inherit;cursor:pointer}
.kftec-wa__launcher,.kftec-wa__launcher:hover,.kftec-wa__launcher:focus,.kftec-wa__launcher:active{display:grid!important;place-items:center;width:var(--wa-size)!important;height:var(--wa-size)!important;min-width:var(--wa-size)!important;max-width:var(--wa-size)!important;min-height:var(--wa-size)!important;max-height:var(--wa-size)!important;aspect-ratio:1!important;flex:none;margin-left:auto;padding:0!important;border:0!important;border-radius:50%!important;background:var(--wa-bright)!important;background-image:none!important;color:#fff!important;box-shadow:0 7px 24px rgba(0,0,0,.24)!important;line-height:1!important;appearance:none;transition:transform .18s,box-shadow .18s}
.kftec-wa__launcher:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.28)!important}
.kftec-wa__launcher-icon{display:block;width:34px;height:34px;object-fit:contain;filter:brightness(0) invert(1)}
.kftec-wa__callout{position:absolute;right:0;bottom:calc(var(--wa-size) + 13px);width:max-content;max-width:calc(100vw - 32px);padding:10px 14px;border-radius:14px;background:var(--wa-callout-bg,#fff);color:var(--wa-callout-color,#164b3e);box-shadow:0 6px 22px rgba(15,40,35,.18);font-size:13px;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;pointer-events:none;animation:kftec-wa-callout-in .25s ease-out both}
.kftec-wa__callout::after{content:"";position:absolute;right:22px;bottom:-7px;width:14px;height:14px;background:var(--wa-callout-bg,#fff);transform:rotate(45deg);box-shadow:3px 3px 5px rgba(15,40,35,.05)}
.kftec-wa.is-open .kftec-wa__callout{display:none}
@keyframes kftec-wa-callout-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.kftec-wa__panel{display:flex;flex-direction:column;width:360px;max-width:calc(100vw - 32px);height:460px;max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px);margin-bottom:14px;overflow:hidden;border:1px solid rgba(0,0,0,.06);border-radius:18px;background:#fff;box-shadow:0 14px 45px rgba(15,40,35,.24)}
.kftec-wa__header{display:flex;align-items:center;gap:11px;min-height:72px;padding:12px 14px;background:var(--wa-green);color:#fff}
.kftec-wa__avatar{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--wa-green)}
.kftec-wa__avatar-icon{display:block;width:27px;height:27px;object-fit:contain}
.kftec-wa__identity{display:flex;flex-direction:column;min-width:0;flex:1}
.kftec-wa__identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;color:#fff}
.kftec-wa__identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#e3f3ef}
.kftec-wa__close,.kftec-wa__close:hover,.kftec-wa__close:focus{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0!important;border-radius:50%!important;background:transparent!important;color:#fff!important;font-size:28px;font-weight:300;line-height:1;box-shadow:none!important}
.kftec-wa__close:hover{background:rgba(255,255,255,.15)!important}
.kftec-wa__conversation{flex:1;min-height:0;padding:24px 16px;overflow-y:auto;background-color:#efeae2;background-image:radial-gradient(rgba(255,255,255,.32) 1px,transparent 1px);background-size:22px 22px}
.kftec-wa__bubble{max-width:88%;width:max-content;padding:10px 13px;border-radius:3px 13px 13px 13px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.12);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.kftec-wa__composer{display:flex;align-items:flex-end;gap:9px;padding:12px 12px 8px;background:#f5f6f6}
.kftec-wa__composer textarea{display:block;flex:1;min-width:0;min-height:44px;max-height:110px;margin:0;padding:11px 13px;resize:vertical;border:1px solid #dce4e1;border-radius:20px;background:#fff;color:#233b35;font:inherit;font-size:14px;line-height:1.35;box-shadow:none}
.kftec-wa__composer textarea:focus{outline:2px solid #81cdb3;outline-offset:1px;border-color:#81cdb3}
.kftec-wa button.kftec-wa__send,.kftec-wa button.kftec-wa__send:hover,.kftec-wa button.kftec-wa__send:focus,.kftec-wa button.kftec-wa__send:active{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;aspect-ratio:1!important;box-sizing:border-box!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:var(--wa-green)!important;background-image:none!important;color:#fff!important;box-shadow:none!important;line-height:1!important;appearance:none!important;overflow:hidden!important}
.kftec-wa button.kftec-wa__send:hover{background:#0b7569!important}
.kftec-wa button.kftec-wa__send svg{display:block!important;flex:none!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;transform:translate(-1px,1px)}
.kftec-wa__handoff{margin:0;padding:0 12px 11px;background:#f5f6f6;color:#667773;text-align:center;font-size:10px}
.kftec-wa__launcher:focus-visible,.kftec-wa__close:focus-visible,.kftec-wa__send:focus-visible{outline:3px solid #122c27!important;outline-offset:3px}
@media(max-width:600px){.kftec-wa{--wa-size:58px;right:16px;bottom:16px}.kftec-wa__panel{width:min(360px,calc(100vw - 32px));height:min(460px,calc(100dvh - 100px));margin-bottom:12px;border-radius:16px}}
@media(max-height:470px){.kftec-wa__panel{height:calc(100dvh - 90px)}}
@media(prefers-reduced-motion:reduce){.kftec-wa__callout{animation:none}.kftec-wa__launcher{transition:none}}
