/* Empire Live Quotes assistant */
.elq-chat-root { --cb: var(--brand, #2B59F2); --ci: #141a2e; --cm: #586178; font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; }
.elq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.elq-fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 20px 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--cb); color: #fff; font: 700 1rem 'Atkinson Hyperlegible', sans-serif;
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--cb) 80%, #000), 0 0 0 4px rgba(255,255,255,.9);
}
.elq-fab:hover { filter: brightness(1.08); }
.elq-fab:focus-visible { outline: 3px solid #141a2e; outline-offset: 3px; }
@media (max-width: 560px) { .elq-fab span { display: none; } .elq-fab { padding: 0; width: 58px; justify-content: center; } }
.is-open .elq-fab { display: none; }

.elq-nudge { position: fixed; right: 18px; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 60; max-width: 260px; background: #fff; color: var(--ci); border-radius: 18px 18px 6px 18px; padding: 14px 34px 14px 16px; box-shadow: 0 18px 40px -16px rgba(20,26,46,.45); font-weight: 700; animation: elq-pop .35s cubic-bezier(.2,.8,.2,1); }
.elq-nudge p { margin: 0; cursor: pointer; }
.elq-nudge-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; background: none; color: var(--cm); font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
@keyframes elq-pop { from { transform: translateY(8px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

.elq-chat {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70;
  width: min(400px, calc(100vw - 36px)); height: min(640px, calc(100vh - 110px));
  display: flex; flex-direction: column; background: #fff; color: var(--ci); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(20,26,46,.45), 0 0 0 1px rgba(20,26,46,.06); animation: elq-pop .28s cubic-bezier(.2,.8,.2,1);
}
.elq-chat[hidden] { display: none; }
@media (max-width: 560px) { .elq-chat { right: 0; left: 0; bottom: 0; width: 100%; height: 88vh; border-radius: 24px 24px 0 0; } }
.elq-chat header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 16px; background: var(--cb); color: #fff; }
.elq-who { display: flex; align-items: center; gap: 10px; }
.elq-av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.elq-chat h2 { margin: 0; font: 700 1.05rem 'Bricolage Grotesque', 'Atkinson Hyperlegible', sans-serif; }
.elq-chat header p { margin: 0; font-size: .82rem; opacity: .85; }
.elq-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 1.4rem; cursor: pointer; }
.elq-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #f6f8fc, #fff 140px); }
.elq-msg { max-width: 88%; padding: 11px 14px; border-radius: 18px; line-height: 1.45; font-size: .98rem; animation: elq-pop .22s ease-out; }
.elq-bot { align-self: flex-start; background: #fff; border: 1px solid #e3e8f1; border-bottom-left-radius: 6px; }
.elq-me { align-self: flex-end; background: var(--cb); color: #fff; border-bottom-right-radius: 6px; }
.elq-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.elq-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 14px; border-radius: 14px; background: var(--cb); color: #fff; text-decoration: none; font-weight: 700; text-align: center; flex-wrap: wrap; }
.elq-btn.elq-call { background: #12a87a; }
.elq-btn .num { font-weight: 400; opacity: .9; }
.elq-btn:hover { filter: brightness(1.07); }
.elq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 12px; max-height: 34%; overflow-y: auto; border-top: 1px solid #eef1f6; }
.elq-chips:empty { display: none; }
.elq-chip { --cc: var(--cb); border: 1.5px solid color-mix(in srgb, var(--cc) 55%, #fff); background: color-mix(in srgb, var(--cc) 8%, #fff); color: color-mix(in srgb, var(--cc) 85%, #000); border-radius: 999px; padding: 9px 14px; font: 700 .93rem 'Atkinson Hyperlegible', sans-serif; cursor: pointer; }
.elq-chip:hover { background: color-mix(in srgb, var(--cc) 16%, #fff); }
.elq-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e3e8f1; }
.elq-input input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #d6dde8; border-radius: 14px; color: var(--ci); }
.elq-input input:focus { outline: none; border-color: var(--cb); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cb) 20%, transparent); }
.elq-input button { width: 48px; border: 0; border-radius: 14px; background: var(--cb); color: #fff; cursor: pointer; display: grid; place-items: center; }
@media (prefers-reduced-motion: reduce) { .elq-chat, .elq-msg, .elq-nudge { animation: none; } }
