/* JEC Ask AI widget styles — gold glass, own identity. */
.jec-ai-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 3.2rem; height: 3.2rem; border-radius: 999px; border: 1px solid rgba(245, 185, 66, 0.45);
  background: linear-gradient(135deg, #f5b942, #c98a1b);
  color: #1a1206; font-size: 1.3rem; font-weight: 700; cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(245, 185, 66, 0.3);
}
.jec-ai-fab:hover { transform: translateY(-2px); }
.jec-ai-panel {
  position: fixed; right: 1.1rem; bottom: 5rem; z-index: 60;
  width: min(92vw, 24rem); max-height: min(70vh, 32rem); display: none; flex-direction: column;
  border-radius: 1.1rem; border: 1px solid rgba(245, 185, 66, 0.25); overflow: hidden;
  background: rgba(10, 20, 40, 0.96); color: #f2f5fb;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
.jec-ai-panel.open { display: flex; }
.jec-ai-head { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(245, 185, 66, 0.2); font-weight: 600; }
.jec-ai-head button { background: transparent; border: 1px solid rgba(245, 185, 66, 0.35); color: inherit; border-radius: 0.6rem; width: 1.9rem; height: 1.9rem; cursor: pointer; }
.jec-ai-log { padding: 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; font-size: 0.88rem; line-height: 1.5; }
.jec-ai-msg { padding: 0.55rem 0.75rem; border-radius: 0.9rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(245, 185, 66, 0.12); }
.jec-ai-msg.me { background: rgba(245, 185, 66, 0.18); align-self: flex-end; }
.jec-ai-msg a { color: #f5b942; }
.jec-ai-form { display: flex; gap: 0.5rem; padding: 0.6rem; border-top: 1px solid rgba(245, 185, 66, 0.2); }
.jec-ai-form input { flex: 1; border-radius: 999px; border: 1px solid rgba(245, 185, 66, 0.3); background: rgba(255, 255, 255, 0.05); color: inherit; padding: 0.55rem 0.9rem; font-size: 0.88rem; }
.jec-ai-form button { border-radius: 999px; border: none; padding: 0.55rem 1rem; font-weight: 600; cursor: pointer; color: #1a1206; background: linear-gradient(135deg, #f5b942, #c98a1b); }
.jec-ai-typing { opacity: 0.7; }
@media (prefers-reduced-motion: reduce) { .jec-ai-fab:hover { transform: none; } }
