.app-home-inner .home-side-bottom { display: block; }
.home-progress-wrap { position: relative; min-height: 190px; margin-bottom: 36px; }
.home-progress-wrap > .home-metrics-panel { position: absolute; top: 0; left: 0; width: 244px; z-index: 1; }
/* One cube lattice; topic contours follow only the cells belonging to that topic. */
.home-syllabus-heading { --muted: #808084; font-family: var(--font-ui); position: absolute; top: 0; right: 0; left: 0; height: 28px; margin: 0; }
.home-syllabus-map { position: relative; height: var(--home-syllabus-height, 422px); box-sizing: border-box; padding: 44px 10px 10px; isolation: isolate; }
.home-syllabus-map::before { content: ''; position: absolute; inset: 34px 0 0; z-index: -1; border-radius: 28px; background: #87ceeb; }
.home-syllabus-map #homeSyllabusGrid { position: relative; display: block; height: 100%; min-width: 0; overflow: hidden; outline-offset: 3px; touch-action: pan-x pinch-zoom; }
.home-syllabus-page { position: absolute; inset: 0; }
.home-syllabus-page[hidden] { display: none; }
.home-syllabus-map .analytics-accuracy-cluster { position: absolute; box-sizing: border-box; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; pointer-events: none; }
.home-syllabus-map .analytics-accuracy-square { position: absolute; flex: 0 0 40px; box-sizing: border-box; width: 40px; height: 40px; min-width: 0; min-height: 0; padding: 0; border-radius: 8px; pointer-events: auto; }
.home-syllabus-map .analytics-accuracy-square:focus-visible { outline: 2px solid #35617b; outline-offset: 2px; }
.home-syllabus-pagination { position: absolute; top: calc(100% + 6px); bottom: auto; right: 0; width: auto; height: 24px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; color: #203f51; }
.home-syllabus-pagination[hidden] { display: none; }
.home-syllabus-pagination button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.home-syllabus-pagination button:hover { background: #ffffff50; }
.home-syllabus-pagination button:disabled { opacity: .3; cursor: default; }
.home-syllabus-pagination button:focus-visible { outline: 2px solid #35617b; outline-offset: 1px; }
.home-syllabus-pagination svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.home-syllabus-page-dots { display: flex; flex-direction: row; max-width: 180px; overflow-x: auto; scrollbar-width: none; }
.home-syllabus-page-dots button { height: 24px; width: 18px; flex: 0 0 18px; }
.home-syllabus-page-dots span { width: 4px; height: 4px; border-radius: 6px; background: #203f5140; transition: height .2s ease, background .2s ease; }
.home-syllabus-page-dots [aria-current] span { height: 13px; background: #35617b; }
.home-syllabus-page-count { font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: center; }
.home-syllabus-loading { position: absolute; inset: 0; pointer-events: none; }
.home-syllabus-loading span { position: absolute; width: 40px; height: 40px; border-radius: 8px; background: #ffffff70; }
@media (min-width: 1001px) {
 .home-progress-wrap > .home-metrics-panel { width: calc(50% - 14px); }
 .home-syllabus-map::before { background: var(--syllabus-surface) center / 100% 100% no-repeat; }
}
@media (max-width: 1000px) {

 .home-progress-wrap { min-height: 0; }
 .home-progress-wrap > .home-metrics-panel { position: static; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .home-syllabus-page-dots span { transition: none; } }

.home-syllabus-contour { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.home-syllabus-contour path { fill: #c5e7f4; stroke: #87ceeb; stroke-width: 10; stroke-linejoin: round; }

[data-theme="dark"] .home-syllabus-heading { --muted: #98989f; }
