/* Evan Converts AI assistant (chat.js) */
.ecc-panel [hidden],.ecc-chips[hidden]{display:none!important}
.ecc-fab{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:120;width:60px;height:60px;border-radius:50%;border:0;background:#2563EB;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 14px 34px -8px rgba(37,99,235,.85),0 0 0 1px rgba(255,255,255,.12) inset;transition:transform .3s cubic-bezier(.2,.7,.2,1),bottom .35s cubic-bezier(.2,.7,.2,1),opacity .2s;-webkit-tap-highlight-color:transparent}
.ecc-fab:hover{transform:translateY(-2px) scale(1.04)}
.ecc-fab:focus-visible{outline:3px solid #60A5FA;outline-offset:3px}
.ecc-fab svg{width:27px;height:27px}
.ecc-fab .ecc-dot{position:absolute;top:3px;right:3px;width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid #2563EB}
.ecc-fab.lift{bottom:calc(86px + env(safe-area-inset-bottom))}
.ecc-fab.away{transform:scale(.6);opacity:0;pointer-events:none}
.ecc-open .ecc-fab{transform:scale(.6);opacity:0;pointer-events:none}
.ecc-tip{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(90px + env(safe-area-inset-bottom));z-index:119;max-width:240px;padding:12px 34px 12px 14px;border-radius:16px 16px 4px 16px;background:#fff;color:#0a0c11;font:500 14px/1.4 Inter,system-ui,-apple-system,sans-serif;box-shadow:0 18px 40px -12px rgba(0,0,0,.6);opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s,bottom .35s;pointer-events:none}
.ecc-tip.show{opacity:1;transform:none;pointer-events:auto;cursor:pointer}
.ecc-tip.lift{bottom:calc(158px + env(safe-area-inset-bottom))}
.ecc-tip b{font-weight:700}
.ecc-tip button{position:absolute;top:6px;right:6px;width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:#6b7280;font-size:18px;line-height:1;cursor:pointer}
.ecc-open .ecc-tip{display:none}
.ecc-panel{position:fixed;z-index:130;right:20px;bottom:20px;width:384px;height:min(620px,calc(100vh - 40px));display:flex;flex-direction:column;background:#0a0c11;color:#f5f7fb;border:1px solid rgba(255,255,255,.12);border-radius:22px;box-shadow:0 30px 80px -20px rgba(0,0,0,.85),0 0 0 1px rgba(37,99,235,.12);overflow:hidden;font:400 15px/1.45 Inter,system-ui,-apple-system,sans-serif;opacity:0;transform:translateY(16px) scale(.98);transform-origin:bottom right;pointer-events:none;visibility:hidden;transition:opacity .22s,transform .28s cubic-bezier(.2,.7,.2,1),visibility 0s .28s}
.ecc-open .ecc-panel{opacity:1;transform:none;pointer-events:auto;visibility:visible;transition:opacity .22s,transform .28s cubic-bezier(.2,.7,.2,1),visibility 0s}
.ecc-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;background:#050608;border-bottom:1px solid rgba(255,255,255,.09);flex:none}
.ecc-av{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#1D4ED8,#3B82F6);display:grid;place-items:center;flex:none;position:relative}
.ecc-av svg{width:30px;height:30px}
.ecc-av::after{content:"";position:absolute;right:-2px;bottom:-2px;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid #050608}
.ecc-ttl{flex:1;min-width:0}
.ecc-ttl b{display:block;font-size:15.5px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ecc-ttl span{display:block;font-size:12.5px;color:#a3a9b8}
.ecc-x{width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.06);color:#f5f7fb;display:grid;place-items:center;cursor:pointer;flex:none}
.ecc-x:hover{background:rgba(255,255,255,.12)}
.ecc-x:focus-visible,.ecc-send:focus-visible,.ecc-chip:focus-visible,.ecc-act:focus-visible{outline:2px solid #60A5FA;outline-offset:2px}
.ecc-log{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:16px 14px 12px;display:flex;flex-direction:column;gap:10px}
.ecc-m{max-width:86%;padding:10px 14px;border-radius:18px;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}
.ecc-b{align-self:flex-start;background:#161a23;border:1px solid rgba(255,255,255,.07);border-bottom-left-radius:6px}
.ecc-u{align-self:flex-end;background:#2563EB;color:#fff;border-bottom-right-radius:6px}
.ecc-acts{align-self:flex-start;display:flex;flex-wrap:wrap;gap:8px;margin:-2px 0 2px}
.ecc-act{border:0;border-radius:999px;padding:10px 16px;font:600 14px/1.1 Inter,system-ui,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ecc-act.p{background:#2563EB;color:#fff;box-shadow:0 8px 20px -8px rgba(37,99,235,.9)}
.ecc-act.p:hover{background:#1D4ED8}
.ecc-act.s{background:transparent;color:#f5f7fb;border:1px solid rgba(255,255,255,.22)}
.ecc-act.s:hover{border-color:#60A5FA}
.ecc-typing{align-self:flex-start;display:flex;gap:5px;padding:14px 16px;background:#161a23;border:1px solid rgba(255,255,255,.07);border-radius:18px;border-bottom-left-radius:6px}
.ecc-typing i{width:7px;height:7px;border-radius:50%;background:#a3a9b8;animation:ecc-bl 1.2s infinite}
.ecc-typing i:nth-child(2){animation-delay:.15s}.ecc-typing i:nth-child(3){animation-delay:.3s}
@keyframes ecc-bl{0%,60%,100%{opacity:.25;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.ecc-chips{display:flex;gap:8px;padding:2px 14px 10px;overflow-x:auto;scrollbar-width:none;flex:none}
.ecc-chips::-webkit-scrollbar{display:none}
.ecc-chip{flex:none;border:1px solid rgba(96,165,250,.45);background:rgba(37,99,235,.1);color:#dbe7ff;border-radius:999px;padding:8px 13px;font:500 13.5px/1.1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.ecc-chip:hover{background:rgba(37,99,235,.22)}
.ecc-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.09);background:#050608;flex:none}
.ecc-in{flex:1;min-width:0;resize:none;max-height:120px;min-height:44px;padding:11px 14px;border-radius:22px;border:1px solid rgba(255,255,255,.14);background:#0f1218;color:#f5f7fb;font:400 16px/1.35 Inter,system-ui,-apple-system,sans-serif;outline:none}
.ecc-in::placeholder{color:#7c8394}
.ecc-in:focus{border-color:#2563EB;box-shadow:0 0 0 3px rgba(37,99,235,.25)}
.ecc-send{width:44px;height:44px;border-radius:50%;border:0;background:#2563EB;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
.ecc-send:disabled{opacity:.45;cursor:default}
.ecc-send svg{width:20px;height:20px}
.ecc-note{text-align:center;font-size:11.5px;color:#7c8394;padding:0 12px 8px;background:#050608;flex:none}
.ecc-lead{align-self:stretch;background:#11141c;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:12px;display:grid;gap:8px}
.ecc-lead p{margin:0 0 2px;font-size:13.5px;color:#a3a9b8}
.ecc-lead input{width:100%;box-sizing:border-box;height:44px;padding:0 12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:#0a0c11;color:#f5f7fb;font:400 16px Inter,system-ui,sans-serif;outline:none}
.ecc-lead input:focus{border-color:#2563EB}
.ecc-lead input[aria-invalid=true]{border-color:#f87171}
.ecc-lead .ecc-act{justify-self:start}
.ecc-lead .ecc-err{color:#fca5a5;font-size:13px;margin:0}
.ecc-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.ecc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:600px){
  .ecc-panel{left:0;right:0;top:0;bottom:auto;width:100%;height:100%;height:100dvh;border-radius:0;border:0;transform:translateY(24px)}
  .ecc-head{padding-top:calc(12px + env(safe-area-inset-top))}
  .ecc-fab{width:56px;height:56px;right:16px}
  .ecc-tip{right:16px;bottom:calc(84px + env(safe-area-inset-bottom))}
}
html.ecc-lock,html.ecc-lock body{overflow:hidden}
@media (prefers-reduced-motion:reduce){.ecc-fab,.ecc-panel,.ecc-tip{transition:none}.ecc-typing i{animation:none;opacity:.7}.ecc-log{scroll-behavior:auto}}
html.rm .ecc-fab,html.rm .ecc-panel,html.rm .ecc-tip{transition:none}

/* Oct 27 2026: consent line + stronger keyboard focus */
.ecc-lead .ecc-fine{font-size:12.5px;line-height:1.5;color:#a3a9b8;margin:2px 0}
.ecc-lead .ecc-fine a{color:#60A5FA;text-decoration:underline;text-underline-offset:2px}
.ecc-lead input:focus-visible{border-color:#60A5FA;box-shadow:0 0 0 3px rgba(96,165,250,.45)}
.ecc-in:focus-visible{border-color:#60A5FA;box-shadow:0 0 0 3px rgba(96,165,250,.45)}
