/* =========================================================
   EntryLap Website AI V18
   Chat-first product assistant with single-bubble answers
   ========================================================= */
:root {
  --el-ai-red: #ef4d4d;
  --el-ai-ink: #111827;
  --el-ai-muted: #65748b;
  --el-ai-line: #e2e5ea;
  --el-ai-paper: #ffffff;
  --el-ai-canvas: #faf9f8;
}

body.el-ai-open { overflow: hidden; }

.el-ai-launcher {
  position: fixed;
  z-index: 2147482000;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  animation: elAiLauncherFloat 4s ease-in-out infinite;
  transition: opacity .18s ease, visibility .18s ease;
}
body.el-ai-open .el-ai-launcher { opacity: 0; visibility: hidden; pointer-events: none; animation-play-state: paused; }
.el-ai-launcher img {
  position: absolute;
  z-index: 3;
  inset: 6px;
  width: 52px;
  height: 52px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  transition: transform .24s cubic-bezier(.2,.8,.2,1), filter .24s ease;
}
.el-ai-launcher:hover img,
.el-ai-launcher:focus-visible img { transform: scale(1.05) rotate(-3deg); filter: saturate(1.05); }
.el-ai-launcher:focus-visible { outline: 2px solid var(--el-ai-red); outline-offset: 4px; }
.el-ai-launcher-rings {
  position: absolute;
  z-index: 2;
  inset: 1px;
  border: 2px solid transparent;
  border-top-color: #ef4444;
  border-right-color: #f59e26;
  border-bottom-color: #4fba62;
  border-left-color: #377df6;
  border-radius: 50%;
  animation: elAiIconSpin 5.4s linear infinite reverse;
}
.el-ai-launcher-rings::before,
.el-ai-launcher-rings::after { content: ""; position: absolute; border-radius: 50%; }
.el-ai-launcher-rings::before {
  top: 2px; left: 8px; width: 6px; height: 6px;
  border: 2px solid #fff; background: #f59e26;
  box-shadow: 40px 35px 0 -1px #4fba62;
}
.el-ai-launcher-rings::after {
  right: 1px; top: 9px; width: 5px; height: 5px;
  background: #fff; box-shadow: 0 0 0 3px rgba(239,68,68,.16);
}
.el-ai-launcher-pulse {
  position: absolute;
  z-index: 1;
  inset: 4px;
  border: 1px solid rgba(239,68,68,.32);
  border-radius: 50%;
  animation: elAiLauncherPulse 2.4s ease-out infinite;
}
.el-ai-launcher b,
.el-ai-account-logo b,
.el-ai-avatar b,
.el-ai-message-avatar b {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ef4d4d;
  color: #fff;
  font: 700 7px/1 Arial, sans-serif;
}
.el-ai-launcher b { z-index: 5; right: 0; bottom: 0; width: 23px; height: 23px; }

.el-ai-panel {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
  font-family: Geist, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--el-ai-ink);
}
.el-ai-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.el-ai-panel * { box-sizing: border-box; }
.el-ai-overlay { position: absolute; inset: 0; background: rgba(16,20,30,.42); backdrop-filter: blur(2px); }

.el-ai-shell {
  position: relative;
  z-index: 2;
  width: min(1420px, calc(100vw - 16px));
  height: min(900px, calc(100vh - 16px));
  display: grid;
  grid-template-rows: 62px minmax(0,1fr) 72px;
  overflow: hidden;
  border: 1px solid #9aa0a8;
  border-radius: 0;
  background:
    linear-gradient(rgba(231,224,220,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231,224,220,.24) 1px, transparent 1px),
    radial-gradient(circle at 72% 10%, rgba(239,77,77,.055), transparent 32%),
    #fff;
  background-size: 40px 40px, 40px 40px, auto, auto;
  box-shadow: none;
  transform: translateY(14px) scale(.992);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.el-ai-panel.is-open .el-ai-shell { transform: none; }

.el-ai-topbar {
  display: grid;
  grid-template-columns: minmax(230px,1fr) auto auto 42px;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid #e3e5e8;
  background: rgba(255,255,255,.97);
}
.el-ai-account { display: flex; align-items: center; gap: 10px; min-width: 0; }
.el-ai-account-logo { position: relative; flex: 0 0 36px; width: 36px; height: 36px; }
.el-ai-account-logo img { width: 36px; height: 36px; display: block; }
.el-ai-account-logo b { right: -2px; bottom: -2px; width: 16px; height: 16px; font-size: 12px; }
.el-ai-account div { min-width: 0; }
.el-ai-account small { display: block; color: var(--el-ai-red); font-size:10px; font-weight: 800;  }
.el-ai-account strong { display: block; margin-top: 1px; font-size: 15px; line-height: 1.1; }
.el-ai-account span { display: block; margin-top: 2px; color: var(--el-ai-muted); font-size: 12px; }
.el-ai-state { display: flex; align-items: center; gap: 7px; color: #5d6b7d; font-size: 12px; white-space: nowrap; }
.el-ai-state i { width: 7px; height: 7px; border-radius: 50%; background: #48ad67; box-shadow: 0 0 0 5px rgba(72,173,103,.08); }
.el-ai-reset,
.el-ai-close { border: 1px solid #e0e3e7; border-radius: 0; background: #fff; color: #637187; cursor: pointer; }
.el-ai-reset { height: 34px; padding: 0 10px; display: flex; align-items: center; gap: 7px; font: 700 9px/1 inherit; }
.el-ai-reset:hover { border-color: #efb2ae; color: var(--el-ai-red); background: #fff8f7; }
.el-ai-close { width: 38px; height: 38px; display: grid; place-items: center; background: #777; color: #fff; border-color: #777; }
.el-ai-close:hover { background: #252c38; border-color: #252c38; }

.el-ai-scroll {
  min-height: 0;
  overflow: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 28px clamp(18px,4vw,74px) 54px;
}
.el-ai-scroll::-webkit-scrollbar { display: none; }
.el-ai-intro {
  width: min(1120px,100%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr);
  gap: 16px;
  align-items: start;
}
.el-ai-avatar { position: relative; display: block; }
.el-ai-avatar--large { width: 56px; height: 56px; }
.el-ai-avatar--large::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid transparent;
  border-top-color: #ef4444;
  border-right-color: #f59e26;
  border-bottom-color: #4fba62;
  border-left-color: #377df6;
  border-radius: 50%;
  animation: elAiIconSpin 7s linear infinite;
}
.el-ai-avatar img { width: 56px; height: 56px; display: block; border-radius: 50%; background: #fff; }
.el-ai-avatar b { right: -4px; bottom: -3px; width: 18px; height: 18px; }
.el-ai-intro small { color: var(--el-ai-red); font-size:10px; font-weight: 800;  }
.el-ai-intro h2 { margin: 7px 0 4px; max-width: 960px; font-size: clamp(22px,2.6vw,38px); line-height: 1.08;  }
.el-ai-intro p { margin: 0; color: #5e6d83; font-size: 12px; line-height: 1.6; }

.el-ai-topics {
  width: min(1120px,100%);
  margin: 0 auto 24px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  padding-bottom: 2px;
}
.el-ai-topics::-webkit-scrollbar { display: none; width: 0; height: 0; }
.el-ai-topics button {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  overflow: hidden;
  border: 1px dashed #dce1e7;
  border-radius: 0;
  background: rgba(255,255,255,.92);
  color: #536780;
  font: 700 9px/1.15 inherit;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.el-ai-topics button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.78) 48%, transparent 76%);
  transform: translateX(-125%);
  pointer-events: none;
}
.el-ai-topics button i { color: #718399; }
.el-ai-topics button:hover { border-color: color-mix(in srgb, var(--topic-accent) 45%, #dce1e7); color: #172033; }
.el-ai-topics button.is-active {
  border-style: solid;
  border-color: var(--topic-accent);
  background: color-mix(in srgb, var(--topic-accent) 8%, #fff);
  color: #172033;
  animation: elAiTabButtonIn .42s cubic-bezier(.2,.8,.2,1) both;
}
.el-ai-topics button.is-active i { color: var(--topic-accent); }
.el-ai-topics button.is-active::after { animation: elAiTabSheen .58s ease-out both; }

.el-ai-conversation {
  width: min(1120px,100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.el-ai-message {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  animation: elAiMessageIn .3s ease both;
}
.el-ai-message.is-user { grid-template-columns: minmax(0,1fr); justify-items: end; }
.el-ai-message-avatar { position: relative; width: 34px; height: 34px; margin-top: 2px; }
.el-ai-message-avatar img { display: block; width: 34px; height: 34px; border-radius: 50%; }
.el-ai-message-avatar b { right: -3px; bottom: -3px; width: 15px; height: 15px; font-size: 12px; }
.el-ai-message-bubble {
  max-width: min(760px,88%);
  padding: 11px 14px;
  border: 1px solid #202838;
  border-radius: 0;
  background: #172033;
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
}
.el-ai-welcome-bubble {
  max-width: 760px;
  padding: 14px 16px;
  border-left: 2px solid var(--el-ai-red);
  background: linear-gradient(120deg,#fff5f4,#fff 55%,#fafcfa);
}
.el-ai-welcome-bubble small { color: var(--el-ai-red); font-size:10px; font-weight: 800;  }
.el-ai-welcome-bubble p { margin: 7px 0 0; color: #53667d; font-size: 12px; line-height: 1.7; }

.el-ai-thinking {
  width: fit-content;
  min-width: 260px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-left: 2px solid #dfe3e8;
  background: rgba(248,249,251,.94);
  color: #617188;
  font-size: 12px;
}
.el-ai-thinking span { margin-right: 4px; }
.el-ai-thinking i { width: 5px; height: 5px; border-radius: 50%; background: #61b876; animation: elAiThinking 1.05s ease-in-out infinite; }
.el-ai-thinking i:nth-of-type(2) { animation-delay: .13s; }
.el-ai-thinking i:nth-of-type(3) { animation-delay: .26s; }

.el-ai-answer-bubble {
  position: relative;
  width: min(900px,100%);
  padding: 15px 17px 16px;
  border-left: 2px solid var(--el-ai-red);
  background: linear-gradient(125deg,rgba(255,246,245,.97),rgba(255,255,255,.98) 48%,rgba(249,252,250,.98));
  color: #26384e;
}
.el-ai-answer-bubble.is-error { border-left-color: #c99131; background: linear-gradient(120deg,#fffaf0,#fff); }
.el-ai-answer-name { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.el-ai-answer-name span { color: var(--el-ai-red); font-size:10px; font-weight: 800;  }
.el-ai-answer-name i { width: 5px; height: 5px; border-radius: 50%; background: #52ad68; }
.el-ai-answer-text {
  min-height: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #31465e;
  font-size: 13px;
  line-height: 1.76;
}
.el-ai-answer-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  background: #56ad6b;
  vertical-align: -.12em;
  animation: elAiCursor .75s steps(1) infinite;
}
.el-ai-answer-after { margin-top: 14px; opacity: 0; transform: translateY(5px); transition: opacity .24s ease, transform .24s ease; }
.el-ai-answer-after.is-visible { opacity: 1; transform: none; }
.el-ai-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #2e9a63;
  border-radius: 0;
  background: #2e9a63;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.el-ai-inline-cta:hover { background: #247d50; border-color: #247d50; color: #fff; }
.el-ai-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.el-ai-suggestions button {
  min-height: 30px;
  padding: 6px 9px;
  border: 1px dashed #d9dee5;
  border-radius: 0;
  background: rgba(255,255,255,.92);
  color: #52667f;
  font: 700 8px/1.3 inherit;
  cursor: pointer;
}
.el-ai-suggestions button:hover { border-color: #ef8b82; color: #172033; background: #fff7f6; }

.el-ai-composer {
  margin: 0 28px 12px;
  align-self: end;
  display: grid;
  grid-template-columns: 18px auto minmax(0,1fr) auto 40px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 7px 8px 7px 16px;
  border: 1px solid #efc8c4;
  border-radius: 0;
  background: linear-gradient(90deg,#fff5f4,#fff);
}
.el-ai-composer > i { color: var(--el-ai-red); font-size: 12px; }
.el-ai-composer label { color: var(--el-ai-red); font-size: 12px; font-weight: 800; white-space: nowrap; }
.el-ai-composer input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #111827; font: 500 12px/1.2 inherit; }
.el-ai-composer input::placeholder { color: #8894a5; }
.el-ai-composer-note { display: inline-flex; align-items: center; gap: 5px; color: #8490a0; font-size: 12px; white-space: nowrap; }
.el-ai-composer-note i { color: #62ad76; }
.el-ai-composer button { width: 38px; height: 38px; border: 0; border-radius: 0; background: var(--el-ai-red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.el-ai-composer button:disabled { opacity: .45; cursor: wait; }
.el-ai-composer:focus-within { border-color: var(--el-ai-red); }

@keyframes elAiLauncherFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes elAiIconSpin { to { transform: rotate(360deg); } }
@keyframes elAiLauncherPulse { 0% { transform: scale(.86); opacity: .78; } 72%,100% { transform: scale(1.34); opacity: 0; } }
@keyframes elAiTabButtonIn { 0% { opacity: .76; transform: translateY(2px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes elAiTabSheen { 0% { transform: translateX(-125%); opacity: 0; } 28% { opacity: .62; } 100% { transform: translateX(125%); opacity: 0; } }
@keyframes elAiMessageIn { 0% { opacity: 0; transform: translateY(7px); } 100% { opacity: 1; transform: none; } }
@keyframes elAiThinking { 0%,70%,100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }
@keyframes elAiCursor { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

@media (max-width: 900px) {
  .el-ai-topbar { grid-template-columns: minmax(200px,1fr) auto 40px; gap: 8px; }
  .el-ai-state { display: none; }
  .el-ai-composer { grid-template-columns: 18px minmax(0,1fr) 40px; }
  .el-ai-composer label,
  .el-ai-composer-note { display: none; }
}

@media (max-width: 680px) {
  .el-ai-panel { padding: 0; }
  .el-ai-shell { width: 100vw; height: 100dvh; border: 0; grid-template-rows: 58px minmax(0,1fr) 66px; }
  .el-ai-topbar { grid-template-columns: minmax(0,1fr) 36px; padding: 0 9px; }
  .el-ai-reset { display: none; }
  .el-ai-close { width: 36px; height: 36px; }
  .el-ai-scroll { padding: 18px 12px 38px; }
  .el-ai-intro { grid-template-columns: 44px minmax(0,1fr); gap: 11px; margin-bottom: 14px; }
  .el-ai-avatar--large,
  .el-ai-avatar img { width: 44px; height: 44px; }
  .el-ai-intro h2 { font-size: 20px; }
  .el-ai-intro p { font-size: 12px; }
  .el-ai-topics { margin-bottom: 18px; }
  .el-ai-message { grid-template-columns: 29px minmax(0,1fr); gap: 7px; }
  .el-ai-message-avatar,
  .el-ai-message-avatar img { width: 29px; height: 29px; }
  .el-ai-message-bubble { max-width: 92%; }
  .el-ai-answer-bubble { padding: 13px 12px 14px; }
  .el-ai-answer-text { font-size: 12px; line-height: 1.68; }
  .el-ai-inline-cta { width: 100%; justify-content: center; }
  .el-ai-composer { margin: 0 8px 8px; padding-left: 11px; }
  .el-ai-launcher { right: 10px; bottom: 10px; width: 57px; height: 57px; }
  .el-ai-launcher img { width: 45px; height: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  .el-ai-launcher,
  .el-ai-launcher-rings,
  .el-ai-launcher-pulse,
  .el-ai-avatar--large::before,
  .el-ai-topics button.is-active,
  .el-ai-topics button.is-active::after,
  .el-ai-thinking i,
  .el-ai-answer-text.is-typing::after { animation: none !important; }
  .el-ai-panel,
  .el-ai-shell,
  .el-ai-answer-after { transition: none !important; }
}


/* =========================================================
   EntryLap Website AI V18 — typography, hierarchy and CTA
   ========================================================= */
.el-ai-shell {
  grid-template-rows: 58px minmax(0,1fr) 68px;
}

.el-ai-topbar {
  grid-template-columns: minmax(220px,1fr) auto 38px;
  gap: 12px;
  padding: 0 14px;
}
.el-ai-account { gap: 9px; }
.el-ai-account-logo,
.el-ai-account-logo img { width: 32px; height: 32px; }
.el-ai-account-logo { flex-basis: 32px; }
.el-ai-account-logo b { width: 14px; height: 14px; font-size: 12px; }
.el-ai-account small { font-size: 12px; line-height: 1.1; }
.el-ai-account strong { margin-top: 2px; font-size:11px; line-height: 1.05;  }
.el-ai-account span { margin-top: 2px; font-size: 12px; line-height: 1.15; }

.el-ai-top-install {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  overflow: hidden;
  border: 1px solid #2f9861;
  border-radius: 0;
  background: #359e67;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.el-ai-top-install::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.22) 48%, transparent 76%);
  transform: translateX(-130%);
  pointer-events: none;
}
.el-ai-top-install:hover {
  border-color: #267c50;
  background: #267c50;
  color: #fff;
  transform: translateY(-1px);
}
.el-ai-top-install:hover::after { animation: elAiTopInstallSheen .58s ease-out both; }
.el-ai-top-install:focus-visible { outline: 2px solid rgba(53,158,103,.28); outline-offset: 2px; }
.el-ai-close { width: 36px; height: 36px; }

.el-ai-scroll { padding-top: 24px; }
.el-ai-intro {
  grid-template-columns: 48px minmax(0,1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.el-ai-avatar--large,
.el-ai-avatar img { width: 48px; height: 48px; }
.el-ai-avatar b { width: 16px; height: 16px; font-size: 12px; }
.el-ai-intro small { font-size: 12px; line-height: 1.1; }
.el-ai-intro h2 {
  max-width: 900px;
  margin: 6px 0 4px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.12;
  
}
.el-ai-intro p {
  max-width: 820px;
  font-size: 12px;
  line-height: 1.55;
}

.el-ai-topics {
  gap: 6px;
  margin-bottom: 20px;
}
.el-ai-topics button {
  min-height: 31px;
  padding: 6px 9px;
  gap: 6px;
  font-family: inherit;
  font-size:10px;
  font-weight: 650;
  line-height: 1.15;
  
}
.el-ai-topics button i { font-size: 12px; }

.el-ai-conversation { gap: 16px; }
.el-ai-message { animation: elAiMessageInV18 .34s cubic-bezier(.2,.8,.2,1) both; }
.el-ai-message-bubble {
  max-width: min(720px,84%);
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.52;
}
.el-ai-welcome-bubble {
  max-width: 780px;
  padding: 13px 15px;
}
.el-ai-welcome-bubble small { font-size: 12px; }
.el-ai-welcome-bubble p { margin-top: 6px; font-size: 12px; line-height: 1.62; }

.el-ai-answer-bubble {
  width: min(920px,100%);
  padding: 16px 18px 17px;
  background:
    linear-gradient(90deg, rgba(239,77,77,.035), transparent 28%),
    linear-gradient(125deg,rgba(255,248,247,.98),rgba(255,255,255,.99) 48%,rgba(249,252,250,.99));
  animation: elAiAnswerRevealV18 .42s cubic-bezier(.2,.8,.2,1) both;
}
.el-ai-answer-name { gap: 6px; margin-bottom: 8px; }
.el-ai-answer-name span { font-size: 12px; line-height: 1; }
.el-ai-answer-text {
  max-width: 880px;
  min-height: 22px;
  color: #2b4059;
  font-size:12px;
  line-height: 1.72;
  
}
.el-ai-answer-after { margin-top: 13px; }
.el-ai-answer-after.is-visible .el-ai-inline-cta,
.el-ai-answer-after.is-visible .el-ai-suggestions button {
  animation: elAiAnswerActionInV18 .34s cubic-bezier(.2,.8,.2,1) both;
}
.el-ai-answer-after.is-visible .el-ai-suggestions button:nth-child(2) { animation-delay: .04s; }
.el-ai-answer-after.is-visible .el-ai-suggestions button:nth-child(3) { animation-delay: .08s; }

.el-ai-inline-cta {
  min-height: 34px;
  padding: 7px 10px;
  gap: 7px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}
.el-ai-inline-cta i { font-size: 12px; }

.el-ai-suggestions {
  gap: 6px;
  margin-top: 10px;
}
.el-ai-suggestions button {
  min-height: 28px;
  padding: 5px 8px;
  border-color: #dfe3e8;
  color: #566a82;
  font-family: inherit;
  font-size:10px;
  font-weight: 600;
  line-height: 1.3;
  
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.el-ai-thinking {
  min-width: 240px;
  min-height: 42px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
}

.el-ai-composer {
  min-height: 54px;
  margin: 0 24px 10px;
  padding: 6px 7px 6px 14px;
  gap: 9px;
}
.el-ai-composer label { font-size: 12px; }
.el-ai-composer input {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
}
.el-ai-composer-note { font-size: 12px; }
.el-ai-composer button { width: 36px; height: 36px; }

@keyframes elAiTopInstallSheen {
  0% { transform: translateX(-130%); opacity: 0; }
  30% { opacity: .8; }
  100% { transform: translateX(130%); opacity: 0; }
}
@keyframes elAiMessageInV18 {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes elAiAnswerRevealV18 {
  0% { opacity: 0; transform: translateY(7px); background-position: 20px 0, 0 0; }
  100% { opacity: 1; transform: translateY(0); background-position: 0 0, 0 0; }
}
@keyframes elAiAnswerActionInV18 {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .el-ai-topbar { grid-template-columns: minmax(180px,1fr) auto 36px; }
  .el-ai-intro h2 { font-size: clamp(22px,3.6vw,28px); }
  .el-ai-answer-text { font-size: 13.5px; }
}

@media (max-width: 680px) {
  .el-ai-shell { grid-template-rows: 56px minmax(0,1fr) 64px; }
  .el-ai-topbar { grid-template-columns: minmax(0,1fr) auto 34px; gap: 7px; padding: 0 8px; }
  .el-ai-account-logo,
  .el-ai-account-logo img { width: 29px; height: 29px; }
  .el-ai-account-logo { flex-basis: 29px; }
  .el-ai-account strong { font-size: 12px; }
  .el-ai-account span { display: none; }
  .el-ai-top-install { min-height: 31px; padding: 0 8px; font-size: 12px; gap: 5px; }
  .el-ai-top-install span { max-width: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .el-ai-close { width: 34px; height: 34px; }
  .el-ai-scroll { padding-top: 16px; }
  .el-ai-intro { grid-template-columns: 40px minmax(0,1fr); gap: 10px; }
  .el-ai-avatar--large,
  .el-ai-avatar img { width: 40px; height: 40px; }
  .el-ai-intro h2 { margin-top: 5px; font-size: 19px; line-height: 1.15; }
  .el-ai-intro p { font-size: 12px; line-height: 1.5; }
  .el-ai-topics button { min-height: 29px; padding: 5px 8px; font-size: 12px; }
  .el-ai-answer-bubble { padding: 14px 13px 15px; }
  .el-ai-answer-text { font-size: 13px; line-height: 1.67; }
  .el-ai-suggestions button { font-size: 12px; }
  .el-ai-composer { margin: 0 7px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .el-ai-top-install,
  .el-ai-message,
  .el-ai-answer-bubble,
  .el-ai-answer-after.is-visible .el-ai-inline-cta,
  .el-ai-answer-after.is-visible .el-ai-suggestions button { animation: none !important; transition: none !important; }
}

/* =========================================================
   EntryLap Website AI V18 — unique question suggestions
   ========================================================= */
.el-ai-suggestions {
  transition: opacity .14s ease, transform .14s ease, max-height .18s ease, margin .18s ease;
  transform-origin: left top;
}
.el-ai-suggestions.is-retiring {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
}
.el-ai-suggestions button.is-selected,
.el-ai-suggestions button:disabled {
  opacity: .38;
  pointer-events: none;
}
.el-ai-topics.is-complete {
  min-height: 0;
  margin-bottom: 8px;
  border-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .el-ai-suggestions { transition: none !important; }
}
