/* Estrategic Legacy - website assistant styles */
.elc{position:fixed;right:20px;bottom:20px;z-index:60;font-family:'Nunito Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.5;color:#12264A}
.elc *{box-sizing:border-box}
.elc [hidden]{display:none!important}
.elc button,.elc input,.elc textarea{font:inherit}

.elc-fab{display:flex;align-items:center;gap:10px;min-height:56px;margin-left:auto;padding:0 22px 0 18px;border:0;border-radius:999px;background:linear-gradient(135deg,#1D5FD6,#3F8CF0);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 12px 30px rgba(29,95,214,.4);transition:transform .2s,box-shadow .2s}
.elc-fab:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(29,95,214,.5)}
.elc-fab:focus-visible{outline:3px solid #12264A;outline-offset:3px}

.elc-panel{position:absolute;right:0;bottom:70px;display:flex;flex-direction:column;width:380px;max-width:calc(100vw - 32px);height:min(580px,calc(100vh - 110px));background:#fff;border:1px solid #D5E4FA;border-radius:24px;box-shadow:0 24px 60px rgba(18,38,74,.28);overflow:hidden}

.elc-head{display:flex;align-items:center;gap:12px;padding:14px 12px 14px 16px;background:linear-gradient(135deg,#1D5FD6,#3F8CF0);color:#fff}
.elc-badge{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:#fff}
.elc-badge img{width:30px;height:auto;display:block}
.elc-titles{flex:1;min-width:0}
.elc-title{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-weight:800;font-size:17px;line-height:1.2}
.elc-sub{font-size:13px;opacity:.95}
.elc-close{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;cursor:pointer}
.elc-close:hover{background:rgba(255,255,255,.3)}
.elc-close:focus-visible,.elc-send:focus-visible,.elc-chip:focus-visible,.elc-go:focus-visible{outline:3px solid #12264A;outline-offset:2px}
.elc-head .elc-close:focus-visible{outline-color:#fff}

.elc-log{flex:1;overflow-y:auto;padding:16px;background:#F6F9FF;display:flex;flex-direction:column;gap:10px}
.elc-log:focus-visible{outline:3px solid #1D5FD6;outline-offset:-3px}
.elc-msg{max-width:88%;padding:10px 14px;border-radius:18px;word-wrap:break-word;overflow-wrap:anywhere}
.elc-msg.bot{align-self:flex-start;background:#fff;border:1px solid #D5E4FA;border-bottom-left-radius:5px}
.elc-msg.user{align-self:flex-end;background:#1D5FD6;color:#fff;border-bottom-right-radius:5px}
.elc-msg a{color:#1D5FD6;font-weight:700;text-decoration:underline}
.elc-li{position:relative;padding-left:16px;margin-top:2px}
.elc-li::before{content:"";position:absolute;left:3px;top:.62em;width:6px;height:6px;border-radius:50%;background:#FF6B57}
.elc-gap{height:8px}

.elc-typing{display:flex;gap:5px;align-items:center;padding:14px 16px}
.elc-typing span{width:8px;height:8px;border-radius:50%;background:#7FA6E8}
@media (prefers-reduced-motion:no-preference){
  .elc-typing span{animation:elcb 1s infinite ease-in-out}
  .elc-typing span:nth-child(2){animation-delay:.15s}
  .elc-typing span:nth-child(3){animation-delay:.3s}
  @keyframes elcb{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-5px);opacity:1}}
}

.elc-chips{display:flex;flex-wrap:wrap;gap:8px;max-height:190px;overflow-y:auto;padding:10px 14px;border-top:1px solid #D5E4FA;background:#fff}
.elc-chips:empty{display:none}
.elc-chip{min-height:40px;padding:6px 14px;border:2px solid #D5E4FA;border-radius:999px;background:#fff;color:#12264A;font-weight:700;font-size:15px;cursor:pointer;transition:border-color .15s,background .15s}
.elc-chip:hover{border-color:#1D5FD6;background:#EEF5FF}

.elc-form{display:flex;gap:8px;align-items:center;padding:10px 14px;border-top:1px solid #D5E4FA;background:#fff}
.elc-form input{flex:1;min-width:0;height:46px;padding:0 16px;border:2px solid #D5E4FA;border-radius:999px;background:#fff;color:#12264A}
.elc-form input:focus{outline:3px solid #1D5FD6;outline-offset:1px;border-color:#1D5FD6}
.elc-send{flex:none;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:0;border-radius:50%;background:#1D5FD6;color:#fff;cursor:pointer}
.elc-send:hover{background:#174FB4}
.elc-note{margin:0;padding:0 16px 12px;background:#fff;color:#4F6280;font-size:12.5px}
.elc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.elc-lead{margin-top:10px}
.elc-row{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}
.elc-row label{font-weight:700;font-size:14px}
.elc-row input,.elc-row textarea{width:100%;padding:10px 12px;border:2px solid #D5E4FA;border-radius:12px;background:#fff;color:#12264A;resize:vertical}
.elc-row input:focus,.elc-row textarea:focus{outline:3px solid #1D5FD6;outline-offset:1px;border-color:#1D5FD6}
.elc-trap{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.elc-go{min-height:44px;padding:0 20px;border:0;border-radius:999px;background:#1D5FD6;color:#fff;font-weight:800;cursor:pointer}
.elc-go:hover{background:#174FB4}
.elc-go:disabled{opacity:.6;cursor:default}
.elc-status{min-height:1.4em;margin-top:8px;font-size:14px;font-weight:700;color:#B3261E}
.elc-consent{margin-top:6px;font-size:12.5px;color:#4F6280}

@media (max-width:560px){
  .elc{right:12px;bottom:12px}
  .elc-panel{right:0;bottom:68px;width:calc(100vw - 24px);height:calc(100vh - 96px);height:calc(100dvh - 96px)}
}
@media print{.elc{display:none}}
