.k-launch,.k-chat{--navy:#071c34;--navy2:#0b2a4a;--cyan:#00c2d9;--blue:#0787ff;--gray:#8ca3b3;--off:#f7f9fb;--line:#dbe4eb;--text:#0b203a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}.k-launch *,.k-chat *,.k-launch,.k-chat{box-sizing:border-box}.k-chat button,.k-chat input,.k-chat textarea{font:inherit}.k-launch{position:fixed;right:24px;bottom:24px;width:64px;height:64px;border:0;border-radius:50%;background:linear-gradient(145deg,var(--navy2),var(--navy));box-shadow:0 16px 42px #071c3440;color:#fff;cursor:pointer;display:grid;place-items:center;z-index:9998}.k-mark,.k-icon,.k-avatar{font-weight:900;letter-spacing:-4px;color:var(--cyan);transform:rotate(0deg)}.k-launch .k-mark{font-size:34px}.k-ping{position:absolute;right:3px;top:2px;width:13px;height:13px;border-radius:50%;background:#12c7ad;border:2px solid white}.k-chat{position:fixed;right:24px;bottom:100px;width:min(390px,calc(100vw - 24px));height:min(650px,calc(100vh - 125px));background:#fff;border-radius:24px;box-shadow:0 24px 70px #071c3438;overflow:hidden;z-index:9999;display:flex;flex-direction:column;border:1px solid #e2e9ee;transform-origin:bottom right;transition:.2s ease}.k-chat.hidden{opacity:0;pointer-events:none;transform:translateY(14px) scale(.96)}.k-head{height:82px;flex:0 0 82px;background:linear-gradient(110deg,var(--navy),#0a3156);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.k-brand{display:flex;align-items:center;gap:12px}.k-icon{width:42px;height:42px;border-radius:50%;background:#0b3155;display:grid;place-items:center;font-size:25px}.k-brand strong{display:block;font-size:18px;letter-spacing:.3px}.k-brand small{display:block;color:#c8d5df;margin-top:1px}.k-actions{display:flex;gap:8px}.k-actions button{border:0;background:transparent;color:#dce8f0;font-size:25px;cursor:pointer;width:34px;height:34px}.k-body{flex:1;overflow:auto;padding:14px 18px 18px;background:#fff}.k-day{width:max-content;margin:0 auto 14px;padding:5px 13px;border-radius:12px;background:#f0f3f5;color:#6f8290;font-size:12px}.k-row{display:flex;gap:9px;align-items:flex-start}.k-avatar{flex:0 0 31px;height:31px;border-radius:50%;background:var(--navy);display:grid;place-items:center;font-size:17px;margin-top:5px}.k-bubble{background:#f2f4f6;border-radius:15px;padding:14px 15px;font-size:14px;line-height:1.42;max-width:290px}.k-row.user{justify-content:flex-end;margin:10px 0}.k-row.user .k-bubble{background:linear-gradient(135deg,#087cff,#006fea);color:white;border-bottom-right-radius:5px}.k-quick{display:grid;gap:8px;margin:15px 0 0 39px}.k-quick button{display:flex;align-items:center;text-align:left;gap:11px;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--text);cursor:pointer;transition:.15s}.k-quick button:hover{border-color:#86cdfc;background:#f8fcff;transform:translateY(-1px)}.k-quick b{width:26px;text-align:center;font-size:20px;color:var(--navy)}.k-quick span{flex:1}.k-quick strong,.k-quick small{display:block}.k-quick strong{font-size:14px}.k-quick small{font-size:11px;color:#778b9b;margin-top:2px}.k-quick i{font-style:normal;font-size:24px;color:#7990a0}.k-foot{padding:11px 18px 13px;border-top:1px solid #edf1f4;background:#fff}.k-foot form{display:flex;gap:8px}.k-foot input{flex:1;min-width:0;border:1px solid var(--line);border-radius:13px;padding:12px 13px;outline:none;color:var(--text)}.k-foot input:focus{border-color:#70c9ff;box-shadow:0 0 0 3px #0787ff12}.k-foot form button{width:43px;border:0;border-radius:50%;background:var(--navy);color:#fff;cursor:pointer}.k-foot p{text-align:center;color:#8294a2;font-size:10px;line-height:1.35;margin:8px 0 0}.typing{display:inline-flex;gap:4px}.typing i{width:6px;height:6px;background:#90a1ad;border-radius:50%;animation:b 1s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}@keyframes b{50%{transform:translateY(-4px);opacity:.45}}@media(max-width:600px){.k-launch{right:16px;bottom:16px}.k-chat{inset:0;width:100%;height:100%;border-radius:0;border:0}.k-head{height:74px;flex-basis:74px}.k-body{padding:13px}.k-foot{padding-bottom:max(13px,env(safe-area-inset-bottom))}.k-quick{margin-left:39px}}

/* ---- integração Kasiski: estados, sugestões, formulário de atendimento ---- */
.k-launch svg,.k-icon svg,.k-avatar svg{display:block}
.k-row{margin:6px 0}
.k-bubble a{color:inherit;text-decoration:underline}
.k-bubble code{background:#e3e9ee;border-radius:5px;padding:1px 5px;font-size:12.5px;font-family:inherit;font-weight:600;color:#0b3155}
.k-row.user .k-bubble code{background:#ffffff30;color:#fff}
.k-bubble.erro{background:#fbeae8;color:#8f2218}
.k-sugestoes{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px 40px}
.k-sugestoes button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 11px;font-size:12.5px;color:var(--navy2);cursor:pointer}
.k-sugestoes button:hover{border-color:#86cdfc;background:#f8fcff}
.k-sugestoes button.k-humano{border-color:var(--navy);color:var(--navy);font-weight:600}
.k-handoff{margin:8px 0 6px 40px;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fbfcfd;display:grid;gap:8px}
.k-handoff b{font-size:13.5px}
.k-handoff input,.k-handoff textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px 10px;font-size:13.5px;color:var(--text);background:#fff;outline:none}
.k-handoff input:focus,.k-handoff textarea:focus{border-color:#70c9ff;box-shadow:0 0 0 3px #0787ff12}
.k-handoff textarea{min-height:64px;resize:vertical}
.k-handoff .k-acoes{display:flex;gap:8px;justify-content:flex-end}
.k-handoff button{border:0;border-radius:10px;padding:9px 14px;cursor:pointer;font-weight:600}
.k-handoff button[type=submit]{background:var(--navy);color:#fff}
.k-handoff button[type=button]{background:transparent;color:#5d7282}
.k-handoff small{color:#8f2218}
.k-foot form button:disabled{opacity:.5;cursor:wait}

@media print{.k-launch,.k-chat{display:none!important}}

.k-bubble.equipe{background:#e6f8fa;border:1px solid #b7e9ef}.k-equipe{display:block;font-size:11px;font-weight:700;color:#0a7f8c;letter-spacing:.02em;margin-bottom:4px}

/* WhatsApp de atendimento (mesmo número KASISKI dos dois produtos) */
.k-wa{display:inline-flex;align-items:center;gap:7px;background:#1f8f55;color:#fff!important;border-radius:999px;padding:7px 13px;font-size:12.5px;font-weight:600;text-decoration:none}
.k-wa:hover{background:#18784a}
.k-handoff .k-wa{justify-content:center;border-radius:10px;padding:10px 14px;font-size:13.5px}
.k-ou{text-align:center;font-size:12px;color:#7a8d9b}
.k-quick-wa{display:flex;align-items:center;text-align:left;gap:11px;width:100%;padding:11px 12px;border:1px solid #bfe3cf;border-radius:13px;background:#f3fbf6;color:var(--text);text-decoration:none;transition:.15s}
.k-quick-wa:hover{border-color:#1f8f55;transform:translateY(-1px)}
.k-quick-wa b{width:26px;display:grid;place-items:center;color:#1f8f55}
.k-quick-wa span{flex:1}.k-quick-wa strong,.k-quick-wa small{display:block}.k-quick-wa strong{font-size:14px}.k-quick-wa small{font-size:11px;color:#5f7d6c;margin-top:2px}
.k-quick-wa i{font-style:normal;font-size:24px;color:#7990a0}
.k-wa-topo{display:grid;place-items:center;width:34px;height:34px;color:#7ee2a8}
.k-wa-topo[hidden]{display:none}
