/* =========================================================
   Eduskyline — Chat with AI: graphs inside lessons   v0.5.7
   FILE: eduskyline-ai-chat/assets/ai-lesson.css
   Loaded on every portal page (teachers and students) so a graph inserted
   into a lesson keeps its look after the lesson is saved. Scoped to the
   .es-ai-graph-* classes only.
   ========================================================= */
.es-ai-graph-block { display: block; max-width: 760px; margin: 16px auto !important; padding: 12px 12px 14px; border-radius: 16px; border: 1px solid rgba(138, 58, 174, .18); background: #fff; text-align: center !important; user-select: none; }
.es-ai-graph-block .es-ai-graph-img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 10px; }
.es-ai-graph-block .es-ai-graph-cta { margin: 10px 0 2px !important; text-align: center !important; }
.es-ai-graph-block a.es-ai-graph-btn,
.es-ai-graph-block a.es-ai-graph-btn:visited {
  display: inline-block !important; padding: 9px 20px !important; border-radius: 999px !important;
  background: linear-gradient(135deg, #D47AB8, #8A3AAE) !important; color: #fff !important;
  font-weight: 800 !important; font-size: 15px !important; text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(138, 58, 174, .25); cursor: pointer;
}
.es-ai-graph-block a.es-ai-graph-btn:hover { background: linear-gradient(135deg, #8A3AAE, #3E1C62) !important; }
.es-ai-graph-block .es-ai-graph-sub { margin: 4px 0 0 !important; font-size: 12px !important; color: #7A6899 !important; text-align: center !important; }
