/* Self-paced sefer: contents by the book's own structure, not a daily track. */
html[data-mode="self"] .daynav,
html[data-mode="self"] .away { display: none; }
html[data-mode="self"] .part:not(.self-on) { display: none; }
html:not([data-mode="self"]) .part.self-view { display: none; }

.sp-toc { padding: 0 0 2.75rem; }
.sp-continue { margin: .15rem 0 1rem; }
.sp-back { margin: .2rem 0 .55rem; }
.sp-back .linkish { min-height: 2.75rem; }

.sp-group {
  display: flex; flex-direction: column; gap: .12rem;
  margin: 1.15rem 0 .4rem; font-weight: 600;
}
.sp-group:first-child { margin-top: .2rem; }
.sp-group-he { font-family: var(--he); font-size: 1.05rem; }
.sp-group-en { font-family: var(--en-text); font-size: .78rem; font-weight: 500; color: var(--muted); }

.sp-list { display: flex; flex-direction: column; gap: .4rem; margin: 0 0 .65rem; }
.sp-row { width: 100%; }
.sp-row .lib-sub { display: block; }
.sp-row.seen { position: relative; }
.sp-row.seen::after {
  content: ''; width: .35rem; height: .35rem; border-radius: 50%;
  background: var(--muted); opacity: .4; margin-inline-start: .15rem;
}
.sp-note, .sp-count { margin: 1rem 0 0; font-family: var(--en-text); font-size: .8rem; color: var(--muted); }

.sp-pager {
  display: flex; justify-content: space-between; gap: .6rem;
  margin: 1.35rem 0 0; padding-top: .4rem;
}
.sp-pager .dn { flex: 1 1 0; min-width: 0; }
