/* KDMigrator – chat AI (1.6.0) */
.kds2w-chat{--kc-navy:#10274F;--kc-accent:#1675E9;--kc-teal:#0D9488;--kc-text:#3B4A61;--kc-muted:#53657A;--kc-border:#E3E8F0;--kc-soft:#F1F6FD;position:fixed;right:20px;bottom:20px;z-index:99990;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;color:var(--kc-text)}
.kds2w-chat *{box-sizing:border-box}
.kds2w-chat [hidden]{display:none!important}
.kds2w-launch{display:flex;align-items:center;gap:10px;margin-left:auto;padding:10px 18px 10px 10px;border:0;border-radius:999px;background:var(--kc-navy);color:#fff;font:600 15px/1.2 Inter,system-ui,sans-serif;box-shadow:0 8px 24px rgba(16,39,79,.28);cursor:pointer;transition:transform .15s,box-shadow .15s}
.kds2w-launch:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,39,79,.34)}
.kds2w-launch:focus-visible,.kds2w-chat button:focus-visible,.kds2w-chat textarea:focus-visible,.kds2w-chat input:focus-visible{outline:3px solid #7FB3F5;outline-offset:2px}
.kds2w-launch img{width:28px;height:28px;border-radius:50%;background:#fff;padding:3px}
.kds2w-chat.is-open .kds2w-launch{display:none}
.kds2w-panel{display:flex;flex-direction:column;width:380px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 40px);background:#fff;border:1px solid var(--kc-border);border-radius:18px;box-shadow:0 18px 48px rgba(16,39,79,.25);overflow:hidden}
.kds2w-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;background:var(--kc-navy);color:#fff}
.kds2w-head img{background:#fff;border-radius:50%;padding:3px}
.kds2w-head div{flex:1;min-width:0}
.kds2w-head strong{display:block;font:700 15px/1.2 "Plus Jakarta Sans",Inter,sans-serif}
.kds2w-head small{display:block;color:#C5D0E0;font-size:12.5px}
.kds2w-head button{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.kds2w-head .kds2w-reset{font-size:18px}
.kds2w-head button:hover{background:rgba(255,255,255,.12)}
.kds2w-log{flex:1;overflow-y:auto;padding:16px;background:var(--kc-soft);display:flex;flex-direction:column;gap:10px}
.kds2w-msg{max-width:88%;padding:10px 13px;border-radius:14px;word-wrap:break-word}
.kds2w-msg p{margin:0 0 6px}.kds2w-msg p:last-child{margin:0}
.kds2w-msg ul{margin:4px 0 6px;padding-left:18px}.kds2w-msg li{margin:2px 0}
.kds2w-msg--bot{align-self:flex-start;background:#fff;border:1px solid var(--kc-border);border-bottom-left-radius:4px}
.kds2w-msg--user{align-self:flex-end;background:var(--kc-accent);color:#fff;border-bottom-right-radius:4px}
.kds2w-msg a{color:var(--kc-accent);font-weight:600;text-decoration:underline}
.kds2w-typing{display:flex;gap:4px;padding:14px}
.kds2w-typing span{width:7px;height:7px;border-radius:50%;background:#9AA8BB;animation:kds2w-dot 1.2s infinite}
.kds2w-typing span:nth-child(2){animation-delay:.2s}.kds2w-typing span:nth-child(3){animation-delay:.4s}
@keyframes kds2w-dot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.kds2w-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px;background:var(--kc-soft)}
.kds2w-chips:empty{display:none}
.kds2w-chip{padding:7px 12px;border:1px solid #BCD6F8;border-radius:999px;background:#fff;color:var(--kc-navy);font:500 13.5px/1.2 Inter,sans-serif;cursor:pointer}
.kds2w-chip:hover{background:#EAF3FE}
.kds2w-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid var(--kc-border)}
.kds2w-form textarea{flex:1;resize:none;min-height:42px;max-height:120px;padding:10px 12px;border:1px solid var(--kc-border);border-radius:12px;font:15px/1.4 Inter,sans-serif;color:var(--kc-text)}
.kds2w-send{width:42px;height:42px;flex:none;border:0;border-radius:12px;background:var(--kc-accent);color:#fff;font-size:17px;cursor:pointer}
.kds2w-send:disabled{opacity:.5;cursor:default}
.kds2w-foot{display:flex;flex-direction:column;gap:2px;padding:0 14px 10px;font-size:12px;color:var(--kc-muted)}
.kds2w-link{align-self:flex-start;padding:0;border:0;background:none;color:var(--kc-accent);font:600 13px/1.4 Inter,sans-serif;text-decoration:underline;cursor:pointer}
.kds2w-btn{padding:10px 16px;border:0;border-radius:10px;background:var(--kc-teal);color:#fff;font:600 14px/1.2 Inter,sans-serif;cursor:pointer}
.kds2w-btn:disabled{opacity:.6}
.kds2w-btn--inline{align-self:flex-start}
.kds2w-lead{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-top:1px solid var(--kc-border);background:#fff;max-height:60%;overflow-y:auto}
.kds2w-lead__t{margin:0;font-weight:700;color:var(--kc-navy)}
.kds2w-lead input[type=email],.kds2w-lead input[type=text],.kds2w-lead textarea{width:100%;padding:9px 11px;border:1px solid var(--kc-border);border-radius:10px;font:14px/1.4 Inter,sans-serif}
.kds2w-check{display:flex;gap:8px;align-items:flex-start;font-size:13px}
.kds2w-check input{margin-top:3px}
.kds2w-check a{color:inherit;text-decoration:underline}
.kds2w-priv{margin:0 14px 6px;font-size:12px;line-height:1.4;color:#53657A}
.kds2w-priv[hidden]{display:none}
.kds2w-priv.is-err{color:#b32d2e;font-weight:600}
.kds2w-lead__row{display:flex;align-items:center;gap:14px}
.kds2w-lead__msg{margin:0;font-size:13px;color:#B32D2E}
.kds2w-lead__msg:empty{display:none}
.kds2w-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
@media (max-width:767px){
.kds2w-chat{right:12px;bottom:12px}
.kds2w-launch span{display:none}
.kds2w-launch{padding:10px}
.kds2w-launch img{width:32px;height:32px}
.kds2w-chat.is-open{left:0;right:0;bottom:0;top:0}
.kds2w-chat.is-open .kds2w-panel{width:100%;max-width:none;height:100%;max-height:none;border-radius:0;border:0}
}
@media (prefers-reduced-motion:reduce){.kds2w-launch,.kds2w-typing span{transition:none;animation:none}}
@media print{.kds2w-chat{display:none}}
