/* Eliot AI Voice Agents v0.2.1 - scoped .eav-* */
.eav-wrap{--eav-g:#007330;--eav-d:#062b1f;--eav-l:#e8f5ec;box-sizing:border-box;width:100%;max-width:1160px;margin:0 auto;padding:40px 16px;color:#fff;font-family:inherit}
.eav-wrap *,.eav-overlay *{box-sizing:border-box}
.eav-wrap .eav-h2{margin:0 0 8px;font-size:clamp(28px,7vw,44px);line-height:1.08;font-weight:800;color:#fff;text-align:center}
.eav-wrap .eav-lead{margin:0 auto 24px;max-width:640px;text-align:center;font-size:17px;line-height:1.5;color:#d7eadf}
.eav-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:640px){.eav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.eav-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.eav-card{background:#fff;color:var(--eav-d,#062b1f);border-radius:18px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;box-shadow:0 6px 24px rgba(0,0,0,.18);min-width:0}
.eav-card-hs{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:top;border:3px solid #007330}
.eav-card h3{margin:4px 0 0;font-size:21px;line-height:1.2;color:#062b1f;font-weight:800}
.eav-card p{margin:0;font-size:15.5px;line-height:1.5;color:#21443a}
.eav-card p strong{color:#062b1f}
/* Talk button (also used on enhanced live cards) */
.eav-talk{margin-top:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:999px;border:2px solid #007330;background:#007330;color:#fff;font:inherit;font-size:15px;font-weight:700;line-height:1;cursor:pointer;transition:background .15s,transform .15s;-webkit-tap-highlight-color:transparent}
.eav-talk:hover{background:#005a26;border-color:#005a26}
.eav-talk:active{transform:scale(.97)}
.eav-talk:focus-visible{outline:3px solid #9be3b3;outline-offset:2px}
.eav-has-talk{display:flex;flex-direction:column}
.eav-has-talk .eav-talk{margin-top:12px;align-self:flex-start}
/* Panel */
html.eav-lock,html.eav-lock body{overflow:hidden}
.eav-overlay{position:fixed;inset:0;z-index:999999;background:rgba(3,20,14,.62);display:flex;align-items:flex-end;justify-content:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.eav-overlay[hidden]{display:none}
.eav-sheet{position:relative;width:100%;max-width:520px;max-height:92vh;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#062b1f;border-radius:22px 22px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.3);animation:eav-up .22s ease-out;font-family:inherit}
@media(min-width:640px){.eav-overlay{align-items:center}.eav-sheet{border-radius:22px;padding:24px}}
@keyframes eav-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.eav-x{position:absolute;top:10px;right:10px;width:44px;height:44px;border-radius:50%;border:0;background:#eef5f0;color:#062b1f;font-size:28px;line-height:1;cursor:pointer}
.eav-head{display:flex;align-items:center;gap:14px;padding-right:48px}
.eav-av{position:relative;flex:none;width:72px;height:72px}
.eav-av img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:top;border:3px solid #007330;position:relative;z-index:1;background:#e8f5ec}
.eav-ring{position:absolute;inset:-6px;border-radius:50%;border:3px solid #007330;opacity:0}
.eav-speaking .eav-ring{animation:eav-pulse 1.1s ease-out infinite}
.eav-listening .eav-ring{border-color:#c62828;animation:eav-pulse 1.1s ease-out infinite}
@keyframes eav-pulse{0%{transform:scale(.92);opacity:.9}100%{transform:scale(1.25);opacity:0}}
.eav-name{font-size:22px;font-weight:800;line-height:1.1;color:#062b1f}
.eav-role{font-size:14px;color:#2c5546;margin-top:2px}
.eav-status{font-size:13px;font-weight:700;color:#007330;margin-top:4px;min-height:1em}
.eav-log{margin:16px 0 12px;display:flex;flex-direction:column;gap:8px;max-height:34vh;overflow-y:auto}
.eav-msg{padding:10px 14px;border-radius:16px;font-size:16px;line-height:1.45;max-width:92%;word-wrap:break-word}
.eav-agent{background:#e8f5ec;color:#062b1f;border-bottom-left-radius:4px;align-self:flex-start}
.eav-user{background:#007330;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}
.eav-chips-label{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#2c5546;margin:4px 0 8px}
.eav-chips{display:flex;flex-wrap:wrap;gap:8px}
.eav-chip{min-height:40px;padding:9px 14px;border-radius:999px;border:1.5px solid #007330;background:#fff;color:#062b1f;font:inherit;font-size:14.5px;font-weight:600;line-height:1.25;text-align:left;cursor:pointer;max-width:100%}
.eav-chip:hover,.eav-chip:focus-visible{background:#e8f5ec;outline:none}
.eav-bar{display:flex;gap:8px;margin-top:14px;align-items:center}
.eav-mic{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:999px;border:0;background:#062b1f;color:#fff;font:inherit;font-size:15.5px;font-weight:700;cursor:pointer}
.eav-listening .eav-mic{background:#c62828}
.eav-stop,.eav-mute{min-height:48px;border-radius:999px;border:1.5px solid #c9dccf;background:#fff;color:#062b1f;font:inherit;font-size:14px;font-weight:700;cursor:pointer;padding:0 14px;display:inline-flex;align-items:center;justify-content:center}
.eav-stop{width:48px;padding:0}
.eav-mute[aria-pressed="true"]{background:#062b1f;color:#fff;border-color:#062b1f}
.eav-cta{display:block;width:100%;border:0;cursor:pointer;font-family:inherit;margin-top:12px;text-align:center;min-height:50px;line-height:50px;border-radius:999px;background:#007330;color:#fff!important;font-weight:800;font-size:16px;text-decoration:none!important}
.eav-cta:hover{background:#005a26}
.eav-foot{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:12px;line-height:1.4;color:#40655a}
.eav-foot img{border-radius:50%;flex:none}
@media(prefers-reduced-motion:reduce){.eav-sheet,.eav-speaking .eav-ring,.eav-listening .eav-ring{animation:none}.eav-speaking .eav-ring{opacity:1}}
/* 0.2.0 */
.eav-sheet [hidden],.eav-overlay[hidden]{display:none!important}
.eav-thinking .eav-ring{border-color:#7fbf95;animation:eav-pulse 1.6s ease-out infinite}
.eav-mic-on .eav-mic{background:#c62828}
.eav-mic-on .eav-ring{border-color:#c62828}
.eav-unlock{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin:14px 0 0;border-radius:999px;border:0;background:#007330;color:#fff;font:inherit;font-size:16px;font-weight:800;cursor:pointer}
.eav-overlay audio{display:none}
.eg-card .eav-nm{color:inherit;font-weight:800}
.eav-talk span{white-space:nowrap}
.eav-sheet{-webkit-text-size-adjust:100%}
.eav-overlay{overflow:hidden;max-width:100vw}
@media(min-width:640px) and (max-width:1024px){.eav-sheet{max-width:560px}}
@media(prefers-reduced-motion:reduce){.eav-thinking .eav-ring{animation:none;opacity:1}}
/* keep the site chat bubble from covering the panel's buttons while it is open */
.eav-overlay{z-index:2147483000}
html.eav-lock chat-widget,html.eav-lock #lc_chat_layout,html.eav-lock .lc_text-widget{visibility:hidden!important;pointer-events:none!important}
