/* KEVIMA Kevi: isolated, compact and responsive helper. */
#kevima-kevi-root{all:initial;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#291d44;font-size:14px;line-height:1.45;position:fixed;right:18px;bottom:18px;z-index:1100;box-sizing:border-box}
#kevima-kevi-root *,#kevima-kevi-root *::before,#kevima-kevi-root *::after{box-sizing:border-box}
#kevima-kevi-root button,#kevima-kevi-root input{font:inherit}
#kevima-kevi-root [hidden]{display:none!important}
#kevima-kevi-root .kevi-launch{width:70px;height:70px;border:2px solid #efe3ff;background:white;border-radius:22px;box-shadow:0 6px 20px #35204b35;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:2px;position:relative;transition:transform .15s ease}
#kevima-kevi-root .kevi-launch:hover{transform:translateY(-3px)}
#kevima-kevi-root .kevi-launch img{width:64px;height:64px;object-fit:contain}
#kevima-kevi-root .kevi-dot{position:absolute;right:-3px;top:-3px;width:12px;height:12px;background:#2ca271;border:2px solid white;border-radius:50%}
#kevima-kevi-root .kevi-restore{position:fixed;right:0;bottom:24px;border:1px solid #e1d4f6;border-right:0;border-radius:12px 0 0 12px;background:#f7f0ff;color:#5735a6;font-weight:750;padding:9px 9px 9px 12px;cursor:pointer;box-shadow:0 4px 12px #35204b1e;font-size:12px}
#kevima-kevi-root .kevi-restore:hover{background:#ede0ff}
#kevima-kevi-root .kevi-panel{position:absolute;right:0;bottom:82px;width:min(380px,calc(100vw - 28px));height:auto;max-height:min(590px,calc(100dvh - 112px));background:#fff;border:1px solid #e5d8f6;border-radius:20px;box-shadow:0 15px 50px #1b103a40;display:flex;flex-direction:column;overflow:hidden}
#kevima-kevi-root .kevi-top{display:flex;gap:10px;align-items:center;background:linear-gradient(120deg,#5d34ae,#8a53ce);color:white;padding:10px 12px;flex-shrink:0}
#kevima-kevi-root .kevi-top img{height:44px;width:44px;object-fit:contain;background:#ffffff20;border-radius:13px}
#kevima-kevi-root .kevi-top b{display:block;font-size:17px}
#kevima-kevi-root .kevi-top small{display:block;color:#f0eaff;font-size:12px}
#kevima-kevi-root .kevi-minimize,#kevima-kevi-root .kevi-hide{border:0;background:#ffffff25;color:white;border-radius:10px;width:34px;height:34px;cursor:pointer;font-size:22px;line-height:1;flex-shrink:0}
#kevima-kevi-root .kevi-minimize{margin-left:auto}
#kevima-kevi-root .kevi-hide{font-size:19px}
#kevima-kevi-root .kevi-minimize:hover,#kevima-kevi-root .kevi-hide:hover{background:#ffffff40}
#kevima-kevi-root .kevi-messages{min-height:132px;max-height:290px;overflow-y:auto;padding:13px;background:#fcfaff;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
#kevima-kevi-root .kevi-message{max-width:93%;border-radius:15px;padding:10px 12px;overflow-wrap:anywhere;white-space:pre-line;font-size:13px;flex-shrink:0}
#kevima-kevi-root .kevi-bot{align-self:flex-start;background:#f0e9fb;color:#2e2052;border-bottom-left-radius:4px}
#kevima-kevi-root .kevi-person{align-self:flex-end;background:#6943b3;color:#fff;border-bottom-right-radius:4px}
#kevima-kevi-root .kevi-answer-link{display:table;max-width:100%;margin-top:11px;padding:8px 10px;background:white;border:1px solid #d5c5ef;border-radius:10px;color:#5630a7;font-weight:750;text-decoration:none;line-height:1.3}
#kevima-kevi-root .kevi-answer-link:hover{background:#e8dcfa}
#kevima-kevi-root .kevi-shortcuts{display:flex;gap:6px;flex-wrap:wrap;padding:10px 11px 5px;border-top:1px solid #eee7f8;background:white;max-height:106px;overflow-y:auto}
#kevima-kevi-root .kevi-shortcuts button{border:1px solid #dfd1f2;background:#f6f1ff;color:#493077;padding:6px 9px;border-radius:18px;font-size:11px;cursor:pointer}
#kevima-kevi-root .kevi-shortcuts button:hover{background:#e8dcfa}
#kevima-kevi-root .kevi-form{display:flex;gap:7px;padding:9px 11px 12px;margin:0;background:white}
#kevima-kevi-root .kevi-form input{border:1px solid #d8caec;border-radius:12px;padding:11px;min-width:0;flex:1;background:white;color:#291d44;outline:0;font-size:13px}
#kevima-kevi-root .kevi-form input:focus{border-color:#7c4eca}
#kevima-kevi-root .kevi-send{border:0;background:#6639b1;color:white;border-radius:12px;min-width:46px;cursor:pointer;font-weight:800}
#kevima-kevi-root button:focus-visible,#kevima-kevi-root a:focus-visible{outline:3px solid #dab8ff;outline-offset:3px}
@media(max-width:540px){#kevima-kevi-root{right:10px;bottom:10px}#kevima-kevi-root .kevi-launch{width:62px;height:62px;border-radius:19px}#kevima-kevi-root .kevi-launch img{width:57px;height:57px}#kevima-kevi-root .kevi-panel{width:calc(100vw - 20px);bottom:72px;max-height:calc(100dvh - 94px)}#kevima-kevi-root .kevi-messages{max-height:calc(100dvh - 300px);min-height:110px}}
@media(prefers-reduced-motion:reduce){#kevima-kevi-root .kevi-launch{transition:none}}
