.kc-root{--kc-gold:#c9b26a;--kc-dark:#1f1f1f;font-family:Montserrat,Arial,sans-serif;position:fixed;right:20px;bottom:20px;z-index:99999}
.kc-root *{box-sizing:border-box;font-family:inherit}
.kc-btn{display:flex;align-items:center;gap:8px;background:var(--kc-gold);color:#fff;border:0;border-radius:28px;padding:14px 20px;font-weight:600;font-size:15px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.kc-btn:focus-visible,.kc-panel button:focus-visible,.kc-panel input:focus-visible,.kc-panel textarea:focus-visible{outline:3px solid #222;outline-offset:2px}
.kc-btn svg{width:22px;height:22px;fill:#fff}
.kc-panel{position:absolute;right:0;bottom:64px;width:360px;max-width:calc(100vw - 40px);height:520px;max-height:calc(100vh - 120px);background:#fff;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden}
.kc-panel[hidden]{display:none}
.kc-head{background:var(--kc-gold);color:#fff;padding:14px 40px;display:flex;align-items:center;justify-content:center;position:relative;text-align:center}
.kc-head h2{margin:0;font-size:16px;font-weight:600;color:#fff}.kc-head p{margin:2px 0 0;font-size:12px;opacity:.95}
.kc-close{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:4px 8px}
.kc-log{flex:1;overflow-y:auto;padding:14px;background:#faf8f2;display:flex;flex-direction:column;gap:8px}
.kc-msg{max-width:85%;padding:10px 12px;border-radius:12px;font-size:14px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.kc-bot{background:#fff;color:var(--kc-dark);border:1px solid #eee5cc;align-self:flex-start;border-bottom-left-radius:4px}
.kc-me{background:var(--kc-gold);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.kc-msg a{color:inherit;text-decoration:underline}
.kc-typing{align-self:flex-start;background:#fff;border:1px solid #eee5cc;border-radius:12px;padding:10px 14px;display:flex;gap:4px}
.kc-typing span{width:7px;height:7px;border-radius:50%;background:var(--kc-gold);animation:kc-b 1.2s infinite}
.kc-typing span:nth-child(2){animation-delay:.2s}.kc-typing span:nth-child(3){animation-delay:.4s}
@keyframes kc-b{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.kc-typing span{animation:none}}
.kc-contact{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #eee5cc;border-radius:12px;padding:10px;align-self:stretch}
.kc-contact input{border:1px solid #ccc;border-radius:8px;padding:8px;font-size:14px}
.kc-contact button{background:var(--kc-gold);color:#fff;border:0;border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer}
.kc-form{display:flex;align-items:center;gap:8px;padding:10px;border-top:1px solid #eee;position:relative}
.kc-form textarea,.kc-send{margin:0;height:44px;min-height:44px;border-radius:8px;font-size:15px;box-sizing:border-box;align-self:center}
.kc-form textarea{flex:1;resize:none;border:1px solid #ccc;padding:11px 12px;line-height:20px;max-height:100px;overflow-y:auto}
.kc-send{flex-shrink:0;padding:0 16px;border:1px solid transparent;background:var(--kc-gold);color:#fff;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.kc-foot{font-size:11px;text-align:center;padding:0 10px 8px;color:#666}.kc-foot a{color:#8a7633}
.kc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
@media (max-width:600px){.kc-root{right:12px;bottom:12px}.kc-btn .kc-lbl{display:none}.kc-btn{padding:14px}
 .kc-root.kc-open{left:0;right:0;top:0;bottom:0}.kc-root.kc-open .kc-btn{display:none}
 .kc-panel{position:fixed;left:0;right:0;top:0;bottom:0;width:100%;max-width:none;height:auto;max-height:none;border-radius:0}}
.kc-status{align-self:flex-start;font-size:12px;color:#7a6a3a;margin:-4px 0 0 4px;font-style:italic}
