#ilc-chat-launch,#ilc-chat{position:fixed;right:18px;bottom:calc(74px + env(safe-area-inset-bottom));z-index:9100;font-family:var(--default-font)}
#ilc-chat-launch{display:grid;place-items:center;width:50px;height:50px;border:1px solid #91d2a5;border-radius:16px;background:#123e29;color:#fff;font-size:22px;box-shadow:0 5px 18px #11372636;transition:transform .18s}
#ilc-chat-launch:hover{transform:translateY(-3px)}
#ilc-chat[hidden],#ilc-chat-launch[hidden],#ilc-chat-suggestions:empty,#ilc-chat-status:empty{display:none}
body:has(#ilcads-cookie-banner:not([hidden])) #ilc-chat-launch,body:has(#ilcads-cookie-banner:not([hidden])) #ilc-chat,body.mobile-nav-active #ilc-chat-launch,body.mobile-nav-active #ilc-chat{visibility:hidden}
#ilc-chat{width:min(430px,calc(100vw - 36px));max-height:min(580px,calc(100dvh - 94px));display:flex;flex-direction:column;border:1px solid #b9d7c3;border-radius:18px;background:#fbfdfb;overflow:hidden;box-shadow:0 18px 58px #112b1e46;color:#20392b}
#ilc-chat header{background:#123e29;color:#fff;padding:12px;display:flex;align-items:center;gap:8px}
#ilc-chat header div{flex:1}#ilc-chat header small{display:block;color:#d5eadd;font-size:11px}
#ilc-chat button{cursor:pointer}#ilc-chat header button{width:35px;height:37px;border:1px solid #557e64;color:#fff;background:transparent;border-radius:8px}
#ilc-chat-log{min-height:70px;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:8px;padding:12px;font-size:14px}
.ilc-chat-message{margin:0;padding:10px 12px;background:#e8f2ea;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ilc-chat-user{align-self:flex-end;background:#1b5738;color:#fff}
.ilc-chat-sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.ilc-chat-sources a{color:#07572c;text-decoration:underline;font-size:12px}
#ilc-chat-suggestions{display:flex;flex-wrap:wrap;gap:5px;padding:0 12px 8px;overflow:auto;max-height:116px}
#ilc-chat-suggestions button{border:1px solid #a8cbb3;border-radius:8px;background:#fff;color:#204631;font-size:12px;padding:5px 8px}
#ilc-chat-form{display:flex;gap:8px;padding:8px 12px}#ilc-chat-input{min-width:0;flex:1;resize:none;border:1px solid #8eb69b;border-radius:8px;padding:6px;font-size:16px}
#ilc-chat-form button{background:#155236;color:#fff;border:0;border-radius:8px;padding:0 11px}
#ilc-chat-status,.ilc-chat-privacy{padding:0 12px;margin:0 0 7px;color:#305543;font-size:12px}
@media(max-width:600px){#ilc-chat,#ilc-chat-launch{right:10px}#ilc-chat{width:calc(100vw - 20px);bottom:max(10px,env(safe-area-inset-bottom));max-height:calc(var(--ilc-chat-viewport,100dvh) - 16px)}}
@media(prefers-reduced-motion:reduce){#ilc-chat-launch{transition:none}}

@media(max-width:991px){
    #header #ilc-chat-launch.ilc-chat-in-header{
        position:static;order:3;flex:0 0 34px;width:34px;height:36px;margin-inline:0 6px;
        color:#007e39;background:#f1f7f2;border:1px solid #00883d20;
        border-radius:10px;box-shadow:none;font-size:17px;
    }
    #header #ilc-chat-launch.ilc-chat-in-header:hover,
    #header #ilc-chat-launch.ilc-chat-in-header[aria-expanded=true]{
        transform:none;background:#e6f2e9;border-color:#00883d55;
    }
}

.ilc-chat-feedback{display:flex;gap:.35rem;margin-top:.4rem}
.ilc-chat-feedback button{display:grid;place-items:center;min-width:36px;min-height:36px;border:1px solid #737e8d;border-radius:7px;background:#fff;color:#243453;cursor:pointer}
.ilc-chat-feedback button:hover,.ilc-chat-feedback button[aria-pressed=true]{background:#243453;color:#fff}
.ilc-chat-feedback button:focus-visible{outline:2px solid #243453;outline-offset:2px}
