/* edvo.io chapter notes (added 2026-11-17).
   Styles the <section class="notes"> on chapter test pages.
   Uses the site's own variables (see /style.css?v17), so it matches the
   light theme; there is no dark theme on the site (color-scheme: light).
   If this file fails to load, notes still read fine with the generic styles.
   This file is additive only: it does not change any existing rule. */
.notes { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 20px 0; overflow: hidden; }
.notes > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; font-size: 26px; }
.notes h3 { font-size: 20px; margin: 24px 0 8px; }
.notes h4 { font-size: 17px; margin: 18px 0 8px; }
.notes p:last-child, .notes ul:last-child, .notes ol:last-child { margin-bottom: 0; }
/* Book-note asides (a handful of notes use <blockquote> for these). */
.notes blockquote { background: var(--primary-light); border-left: 4px solid var(--primary); padding: 12px 18px; border-radius: 0 10px 10px 0; margin: 16px 0; }
.notes blockquote p { margin: 0; }
/* "Start the test" link at the end of the notes. */
.notes-next { margin: 24px 0 0; }
.notes-next a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; background: var(--primary); color: #ffffff; border-radius: var(--radius); font-family: var(--font-heading); font-weight: 700; text-decoration: none; }
.notes-next a:hover { background: var(--primary-hover); color: #ffffff; text-decoration: none; }
@media (max-width: 600px) {
  .notes { padding: 16px; }
  .notes > h2:first-child { font-size: 22px; }
}
