/* Grade pages for search engines (public/grades.html and public/*-math.html, built by tools/build-seo.js) */
.seo-page { max-width: 820px; }
.seo-page h2.seo-h { margin-top: 34px; }
.seo-crumbs { font-size: .9rem; color: #6c6c80; }
.seo-crumbs a { color: inherit; }
.seo-cta { margin: 18px 0; }
.seo-cta .btn { display: inline-block; text-decoration: none; }
.seo-topics { list-style: none; padding-left: 0 !important; display: grid; gap: 10px; }
.seo-topics li { background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 2px 0 rgba(0,0,0,.05); border-left: 6px solid var(--c, #7950f2); }
.seo-topics a { color: inherit; text-decoration: none; }
.seo-topics a:hover b { text-decoration: underline; }
.seo-topics span { color: #55586a; font-size: .95rem; }
.seo-pager { display: flex; justify-content: space-between; gap: 12px; margin: 30px 0 10px; font-weight: 700; }
.seo-grades { list-style: none; padding-left: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.seo-grades a { display: block; height: 100%; box-sizing: border-box; background: #fff; border-radius: 16px; padding: 14px; border-top: 8px solid var(--c); color: inherit; text-decoration: none; box-shadow: 0 2px 0 rgba(0,0,0,.05); }
.seo-grades b { display: block; font-size: 1.15rem; }
.seo-grades span { color: #55586a; font-size: .9rem; }
.seo-links { max-width: 820px; margin: 0 auto 6px; font-size: .85rem; line-height: 1.9; }
.seo-links a { white-space: nowrap; }
