.kics-chatter{--kc-brand:#17457c;--kc-navy:#102f55;--kc-accent:#26a69a;--kc-ink:#18324f;--kc-muted:#63758a;--kc-line:#d7e0e9;--kc-soft:#f3f7fa;box-sizing:border-box;color:var(--kc-ink);font-family:"Roboto Condensed",Arial,sans-serif;font-size:clamp(14px,1.2vw,15px);line-height:1.45}
.kics-chatter *{box-sizing:border-box}.kics-chatter button,.kics-chatter input,.kics-chatter textarea,.kics-chatter select{font-family:"Roboto Condensed",Arial,sans-serif;font-size:inherit}.kics-chatter button{cursor:pointer}.kics-chatter h1,.kics-chatter h2,.kics-chatter h3,.kics-chatter h4,.kics-chatter h5,.kics-chatter h6,.kics-chatter__header strong{font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;font-weight:600}
.kics-chatter--floating{position:fixed;z-index:99990;right:clamp(12px,2vw,24px);bottom:clamp(12px,2vw,24px)}.kics-chatter--floating.kics-chatter--left{right:auto;left:clamp(12px,2vw,24px)}
.kics-chatter__launcher{display:flex;align-items:center;gap:9px;padding:13px 18px;color:#fff;background:linear-gradient(135deg,var(--kc-navy),var(--kc-brand));border:0;border-radius:999px;box-shadow:0 14px 38px #102f5540;font-weight:700}.kics-chatter__launcher:hover{filter:brightness(1.08);transform:translateY(-1px)}
.kics-chatter__panel{display:flex;flex-direction:column;width:min(440px,calc(100vw - 24px));height:min(690px,calc(100dvh - 100px));overflow:hidden;background:#fff;border:1px solid var(--kc-line);border-radius:20px;box-shadow:0 26px 75px #102f5540}
.kics-chatter--floating .kics-chatter__panel{position:absolute;right:0;bottom:64px}.kics-chatter--floating.kics-chatter--left .kics-chatter__panel{right:auto;left:0}.kics-chatter__panel[hidden]{display:none}
.kics-chatter__header{position:relative;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;color:#f7f7f4;background:linear-gradient(135deg,#050505 0%,#111 58%,#1b1b1b 100%);border-bottom:3px solid #ffc400}
.kics-chatter__header::after{position:absolute;right:-36px;bottom:-58px;width:150px;height:150px;border:1px solid #ffc40024;border-radius:50%;content:"";pointer-events:none}
.kics-chatter__identity{display:flex;align-items:center;min-width:0;gap:12px}.kics-chatter__identity>div:last-child{min-width:0}.kics-chatter__header strong{display:block;overflow:hidden;color:#f7f7f4;font-size:18px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.kics-chatter__header small{display:block;color:#b8b8b3;font-size:11px;letter-spacing:.04em}.kics-chatter__header i{display:inline-block;width:7px;height:7px;margin-right:5px;background:#ffc400;border-radius:50%;box-shadow:0 0 0 3px #ffc40024}
.kics-chatter__header button{position:relative;z-index:1;padding:6px 10px;color:#ffc400;background:#ffc40012;border:1px solid #ffc4008c;border-radius:10px 0;transition:background-color .25s ease,color .25s ease,transform .25s ease}.kics-chatter__header button:hover,.kics-chatter__header button:focus-visible{color:#050505;background:#ffc400;transform:translateY(-1px)}
.kics-chatter__header-actions{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:5px}.kics-chatter__session-status{display:flex;flex:0 0 auto;align-items:center;gap:5px;padding:6px 8px;color:#deded9;background:#ffffff12;border:1px solid #ffffff2e;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.kics-chatter__session-status i{width:7px;height:7px;background:#8c8f94;border-radius:50%;box-shadow:0 0 0 2px #8c8f9440}.kics-chatter__session-status.is-ready i{background:#ffc400;box-shadow:0 0 0 2px #ffc40035}.kics-chatter__session-status.is-checking i{background:#dba617;box-shadow:0 0 0 2px #dba61735}.kics-chatter__session-status.is-active{color:#dff8e7;border-color:#43b86466;background:#43b86420}.kics-chatter__session-status.is-active i{background:#43d16b;box-shadow:0 0 0 2px #43d16b35}.kics-chatter__session-status.is-expired{color:#ffe7b0;border-color:#dba61766;background:#dba6171e}.kics-chatter__session-status.is-expired i{background:#dba617;box-shadow:0 0 0 2px #dba61735}.kics-chatter__session-status.is-unavailable{color:#ffd9d7;border-color:#e5484d66;background:#e5484d20}.kics-chatter__session-status.is-unavailable i{background:#e5484d;box-shadow:0 0 0 2px #e5484d35}
.kics-wolf{position:relative;display:grid;place-items:center;flex:0 0 64px;width:64px;height:52px;overflow:visible;background:radial-gradient(circle at 50% 45%,#f7f7f426 0%,#f7f7f412 58%,transparent 72%);border:1px solid #ffc40038;border-radius:16px 0;box-shadow:inset 0 0 20px #fff0,0 8px 20px #0005;transform-origin:50% 100%}.kics-wolf__image{display:none;width:58px;height:46px;object-fit:contain;background:transparent;filter:drop-shadow(0 2px 2px #0009) saturate(1.08) contrast(1.06)}.kics-wolf.is-idle .kics-wolf__image--idle,.kics-wolf.is-walking .kics-wolf__image--walking,.kics-wolf.is-impatient .kics-wolf__image--impatient,.kics-wolf.is-talking .kics-wolf__image--talking,.kics-wolf.is-sleeping .kics-wolf__image--sleeping{display:block}
.kics-wolf.is-walking{animation:kc-wolf-walk 2.4s ease-in-out infinite}.kics-wolf.is-sleeping{animation:kc-wolf-breathe 2.8s ease-in-out infinite}.kics-wolf.is-impatient{animation:kc-wolf-impatient .42s ease-in-out infinite alternate}.kics-wolf.is-talking{animation:kc-wolf-talk .34s ease-in-out infinite alternate}
@keyframes kc-wolf-walk{0%,100%{transform:translateX(-3px) rotate(-1deg)}50%{transform:translateX(6px) rotate(1deg)}}@keyframes kc-wolf-breathe{0%,100%{transform:translateY(1px) scale(.98)}50%{transform:translateY(-1px) scale(1)}}@keyframes kc-wolf-impatient{from{transform:translateX(-2px) rotate(-1.5deg)}to{transform:translateX(2px) rotate(1.5deg)}}@keyframes kc-wolf-talk{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-2px) rotate(1deg)}}
.kics-chatter__modes{display:grid;flex:0 0 auto;grid-template-columns:1fr 1fr;gap:6px;padding:9px 12px;background:#fff;border-bottom:1px solid var(--kc-line)}.kics-chatter__modes button{position:relative;padding:9px 8px;color:var(--kc-brand);background:var(--kc-soft);border:1px solid transparent;border-radius:9px;font-weight:700}.kics-chatter__modes button.is-active{color:#fff;background:var(--kc-brand);box-shadow:0 4px 12px #17457c2b}.kics-chatter__modes button.has-notice::after{position:absolute;top:6px;right:7px;width:8px;height:8px;background:#e5484d;border:2px solid #fff;border-radius:50%;content:""}
.kics-chatter__chat-mode{display:flex;flex:1;min-height:0;flex-direction:column}.kics-chatter__chat-mode[hidden],.kics-chatter__contact[hidden]{display:none}
.kics-chatter__messages{display:flex;flex:1;min-height:0;overflow:auto;flex-direction:column;gap:10px;padding:15px;background:linear-gradient(180deg,#e1e3e5 0%,#f2f3f4 48%,#fff 100%)}.kics-chatter__message{max-width:88%;padding:10px 13px;color:#20252b;white-space:pre-wrap;background:linear-gradient(135deg,#e4e6e8,#c9cdd1);border:1px solid #b8bdc2;border-radius:14px 14px 14px 4px;box-shadow:0 2px 7px #30363c14;line-height:1.5}.kics-chatter__message strong{color:#15191d;font-weight:750}.kics-chatter__message--user{align-self:flex-end;color:#15191d;background:linear-gradient(135deg,#c7cbd0,#aeb4ba);border-color:#9fa5ab;border-radius:14px 14px 4px 14px}
.kics-chatter__quick{display:flex;flex-wrap:wrap;gap:6px;padding:0 15px 10px}.kics-chatter__quick button{padding:7px 9px;color:var(--kc-brand);background:#eef5fb;border:1px solid #c8d9e8;border-radius:999px;font-size:12px}
.kics-chatter__chat-form{display:grid;grid-template-columns:1fr auto;gap:7px;margin:0 12px 10px;padding:6px;background:#fff;border:1px solid #b8c7d6;border-radius:12px}.kics-chatter__input{min-height:42px;max-height:100px;padding:9px;resize:none;background:#fff;border:0;outline:0}.kics-chatter__chat-form button,.kics-chatter__contact button[type=submit]{padding:9px 15px;color:#fff;background:var(--kc-brand);border:0;border-radius:9px;font-weight:700}
.kics-chatter__contact{display:flex;flex:1;min-height:0;overflow:auto;flex-direction:column;padding:16px;background:var(--kc-soft)}.kics-chatter__contact h3{margin:0 0 3px;color:var(--kc-navy);font-size:20px}.kics-chatter__contact p{margin:0 0 11px;color:var(--kc-muted);font-size:12px}.kics-chatter__contact>input,.kics-chatter__contact>textarea{width:100%;margin:4px 0;padding:10px 11px;color:var(--kc-ink);background:#fff;border:1px solid #aebdcb;border-radius:8px}.kics-chatter__contact>textarea{min-height:96px;resize:vertical}.kics-chatter__contact label{display:flex;gap:8px;margin:9px 0;color:#40566d;font-size:11px;line-height:1.4}.kics-chatter__contact label input[type=checkbox]{flex:0 0 auto;margin-top:2px}.kics-chatter__contact label a{color:var(--kc-brand);text-decoration:underline}.kics-chatter__captcha{align-items:center;justify-content:space-between;padding:8px 10px;background:#e6eef5;border-radius:8px}.kics-chatter__captcha input{width:100px;padding:7px;border:1px solid #93a6b8;border-radius:7px}.kics-chatter__contact>div{display:flex;justify-content:flex-end;gap:7px;margin-top:9px}.kics-chatter__cancel{padding:8px 10px;color:var(--kc-brand);background:#fff;border:1px solid var(--kc-line);border-radius:9px}
.kics-chatter footer{display:flex;flex:0 0 auto;justify-content:space-between;gap:10px;padding:8px 15px;color:var(--kc-muted);background:#fff;border-top:1px solid var(--kc-line);font-size:10px}.kics-chatter footer a{color:var(--kc-brand)}.kics-chatter__error{flex:0 0 auto;margin:0;padding:8px 15px;color:#9f231d;background:#fff1f0;border-top:1px solid #f2c6c3;font-size:12px}
.kics-chatter--inline .kics-chatter__panel{width:100%;max-width:780px;height:min(720px,85dvh);margin:auto}.kics-chatter button:focus-visible,.kics-chatter input:focus-visible,.kics-chatter textarea:focus-visible{outline:3px solid #26a69a66;outline-offset:2px}
.kics-chatter__contact h3{font-size:clamp(19px,3vw,22px);line-height:1.15}
@media(max-width:782px){.kics-chatter__panel{width:min(430px,calc(100vw - 16px))}.kics-chatter__modes button{min-height:42px}.kics-chatter__contact>input,.kics-chatter__contact>textarea,.kics-chatter__captcha input,.kics-chatter__input{font-size:16px}}
@media(max-width:560px){.kics-chatter--floating{right:0;bottom:0}.kics-chatter--floating.kics-chatter--left{left:0}.kics-chatter--floating .kics-chatter__panel{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}.kics-chatter__header{padding:calc(10px + env(safe-area-inset-top)) 9px 10px;gap:6px}.kics-wolf{flex-basis:46px;width:46px;height:40px}.kics-chatter__identity{gap:6px}.kics-chatter__header strong{font-size:15px}.kics-chatter__header small{font-size:9px}.kics-chatter__session-status{padding:5px 7px}.kics-chatter__session-status span{max-width:86px;overflow:hidden;text-overflow:ellipsis}.kics-chatter__header button{padding:6px 7px}.kics-chatter__modes{padding:7px 8px}.kics-chatter__contact{padding:12px}.kics-chatter__contact>textarea{min-height:82px}.kics-chatter__captcha{align-items:stretch;flex-direction:column}.kics-chatter__captcha input{width:100%}.kics-chatter__launcher{margin:0 8px 8px}.kics-chatter__launcher span:last-child{display:none}}
@media(max-height:650px) and (min-width:561px){.kics-chatter__panel{height:calc(100dvh - 82px)}.kics-chatter__contact{padding:11px}.kics-chatter__contact>textarea{min-height:70px}.kics-wolf{height:42px}}
@media(prefers-reduced-motion:reduce){.kics-wolf,.kics-wolf *,.kics-chatter__launcher{animation:none!important;transition:none!important}}
