/* lessons.css - the video lessons panel and the study content panel (styles for lessons.js only). */
#lessonsPanel, #aiPanel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; margin-top: 16px; }
#lessonsPanel h2, #aiPanel h2 { margin-top: 0; }
#lessonsPanel h3 { font-size: 1rem; margin: 12px 0 6px; }
#lessonsPanel .lessonState { font-weight: 600; margin: 10px 0 2px; }
#lessonsPanel .lessonBar { max-width: 420px; }
#lessonsPanel .lessonBar.indeterminate > i { animation: lessonPulse 1.4s ease-in-out infinite; }
#lessonsPanel .lessonDone { color: var(--ok); font-weight: 600; }
#lessonsPanel .lessonError { color: var(--bad); overflow-wrap: anywhere; }
#lessonsPanel .credit { margin-bottom: 0; }
#aiPanel .aiMsg { overflow-wrap: anywhere; }
@keyframes lessonPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #lessonsPanel .lessonBar.indeterminate > i { animation: none; } }
#aiPanel .aiPage { margin: 8px 0 0; }
#aiPanel .aiPage a { font-weight: 600; }
#lessonsPanel .ytList { list-style: none; padding: 0; }
#lessonsPanel .ytItem { margin: 8px 0; }
#lessonsPanel .ytEditor { margin-top: 6px; }
#lessonsPanel .ytText { display: block; width: 100%; max-width: 640px; margin: 6px 0; box-sizing: border-box; }
#lessonsPanel .ytMsg { overflow-wrap: anywhere; }
