.reading { max-width: 1320px; margin: 0 auto; padding: clamp(26px, 3vw, 48px) 0 56px; }
.reading h2, .reading p { margin: 0; }
.list-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: clamp(18px, 2.5vw, 34px); }
.list-progress { display: grid; width: clamp(104px, 15vw, 180px); gap: 7px; padding-bottom: 5px; }
.list-progress output { text-align: right; color: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.progress-track { height: 4px; background: var(--line); overflow: hidden; }
#progressBar { height: 100%; background: var(--accent); }
.task-filters { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.task-filters input[type="search"] { width: min(230px, 56%); margin: 0; padding: 6px 10px; font-size: 14px; background: var(--surface); }
.task-filters button { padding: 6px 10px; color: var(--soft); font-size: 13px; border-radius: 5px; }
.task-filters button:hover { background: var(--tint); }
.task-filters button[aria-pressed="true"] { color: white; background: var(--accent); }
.reading #noTasks { color: var(--soft); padding: 12px 0; }
#tasks { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; }
#tasks::after { content: ""; flex: 1000 1 0; }
.reading .task { flex: 1 0 auto; min-height: 36px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); white-space: nowrap; font-size: 14px; line-height: 1.45; text-align: center; }
.reading .task[aria-checked="true"] { color: #546e86; border-color: #b3c8d9; background: #e2edf5; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-decoration-skip-ink: none; }
@media (hover: hover) {
  .reading .task:hover { border-color: #7c99b1; }
}
@media (max-width: 690px) {
  .reading { padding: 23px 0 42px; }
  .list-heading { padding-bottom: 20px; }
  .list-progress { gap: 5px; padding-bottom: 3px; }
  .list-progress output { font-size: 12px; }
  .task-filters { padding: 9px 0; }
  #tasks { gap: 5px; padding-top: 12px; }
  .reading .task { min-height: 33px; padding: 5px 9px; font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  #progressBar { transition: width .18s ease-out; }
}
