:root {
  --ec-ai-navy: #071531;
  --ec-ai-orange: #ff5001;
  --ec-ai-sand: #f7f4ef;
  --ec-ai-line: #e4e8ee;
  --ec-ai-muted: #607086;
  --ec-ai-radius: 22px;
  --ec-ai-shadow: 0 18px 48px rgba(7, 21, 49, .10);
}

html.ec-ai-active { background: var(--ec-ai-sand); }
body.ec-ai-active { background: var(--ec-ai-sand); color: var(--ec-ai-navy); }
body.ec-ai-active :where(main) { min-height: 58vh; }
body.ec-ai-active :where(button, .button, .btn, .primary, [type="submit"]) { border-radius: 14px; }
body.ec-ai-active :where(input, select, textarea) { border-radius: 14px; }
body.ec-ai-active :where(a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible) { outline: 3px solid rgba(255, 80, 1, .26); outline-offset: 3px; }

.ec-ai-fab {
  position: fixed; z-index: 9998; right: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 9px; min-height: 52px;
  padding: 5px 16px 5px 6px; border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px; background: rgba(7,21,49,.96); color: #fff;
  box-shadow: 0 18px 42px rgba(7,21,49,.28); cursor: pointer;
  font-weight: 800; font-size: .88rem; backdrop-filter: blur(14px);
}
.ec-ai-fab img { width:40px; height:40px; border-radius:50%; object-fit:cover; border:2px solid #ff9a6b; }
.ec-ai-fab::after { content:""; width:8px; height:8px; border-radius:50%; background:#37bf78; box-shadow:0 0 0 3px var(--ec-ai-navy); position:absolute; left:35px; bottom:6px; }
.ec-ai-fab:hover { transform: translateY(-2px); }
.ec-ai-fab.is-loading { opacity:.74; pointer-events:none; }

.ec-ai-active :where(.ec-seo-card, .ecx-event-card, .ecx-static-discovery-card, .card, .experience-card) { overflow:hidden; border-radius:var(--ec-ai-radius); }
.ec-ai-active :where(.ec-seo-card, .ecx-event-card, .ecx-static-discovery-card) { border:1px solid var(--ec-ai-line); box-shadow:0 10px 26px rgba(7,21,49,.06); transition:transform .22s ease, box-shadow .22s ease; }
.ec-ai-active :where(.ec-seo-card, .ecx-event-card, .ecx-static-discovery-card):hover { transform:translateY(-4px); box-shadow:var(--ec-ai-shadow); }
@media (max-width: 700px) { .ec-ai-fab { right:14px; bottom:max(14px, env(safe-area-inset-bottom)); padding-right:12px; } }
@media (prefers-reduced-motion: reduce) { .ec-ai-active *, .ec-ai-active *::before, .ec-ai-active *::after { transition:none !important; animation:none !important; } }
