/* Anchor the complete grade header below the fixed navigation, not its title baseline. */
html:has(.learning-body) { scroll-padding-top: 0; }
.learning-body .grade-shelf[id] { scroll-margin-top: calc(var(--topbar-height, 64px) + 20px); }
/* A fragment target must have stable geometry before the reveal observer runs. */
.learning-body .grade-shelf:target { opacity: 1; transform: none; transition: none; }
