.list-heading h2 { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-heading { gap: 8px; }
.list-heading-actions { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.task-filter-button { width: 38px; min-height: 38px; display: grid; place-items: center; background: white; color: var(--accent); border: 1px solid var(--accent-border); border-radius: 11px; position: relative; }
.task-filter-button .icon { width: 18px; height: 18px; }
.task-filter-button.is-active { background: #e1f3fa; border-color: #81c3d8; }
.task-filter-button.is-active::after { content: ''; width: 6px; height: 6px; background: #1688ac; border-radius: 50%; position: absolute; right: 6px; top: 6px; }
.task-filter-options { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 7px; }
.task-filter-options legend { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.task-filter-options label { display: flex; align-items: center; gap: 9px; padding: 10px 12px; min-height: 44px; border: 1px solid #d5e6ee; background: white; border-radius: 11px; cursor: pointer; }
.task-filter-options label:has(input:checked) { background: #eaf7fc; border-color: #91cbdc; }
.task-filter-options input { width: 18px; height: 18px; margin: 0; accent-color: #1589a8; }
.task-filter-note { font-size: 12px; color: var(--muted); margin: 15px 0; }
.task-filter-actions { display: flex; align-items: center; gap: 10px; }
.task-filter-actions .primary-button { flex: 1; }
.task-filter-actions .back-button { padding: 10px 14px; }
.task-pagination { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; }
.task-page-size select { min-height: 40px; padding: 6px 8px; font-size: 12px; font-weight: 650; color: var(--muted); border: 1px solid #c6dde7; background: white; border-radius: 10px; }
.task-page-controls { display: flex; align-items: center; gap: 7px; }
.task-page-controls button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 10px; }
#task-next-page .icon { transform: rotate(180deg); }
#task-page-label { font-size: 12px; color: var(--muted); min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.completed-selection { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; padding: 5px 8px; border: 1px solid #cce4ed; border-radius: 12px; background: #eff9fc; }
.select-completed-page { display: flex; align-items: center; gap: 7px; min-height: 40px; color: var(--muted); font-size: 12px; font-weight: 650; cursor: pointer; }
.select-completed-page input { width: 18px; height: 18px; margin: 0; }
.delete-selected-tasks { display: flex; align-items: center; gap: 5px; min-height: 40px; padding: 7px 9px; border: 1px solid #eccabc; border-radius: 9px; background: #fff0e9; color: #98412e; font-size: 12px; font-weight: 650; }
.delete-selected-tasks .icon { width: 16px; height: 16px; }
.task-list-entry { position: relative; min-width: 0; }
.task-list-entry.has-selection .card-footer { padding-left: 26px; }
.task-select-control { position: absolute; left: 12px; bottom: 13px; height: 32px; width: 24px; display: grid; place-items: center; cursor: pointer; }
.task-select-control input { width: 18px; height: 18px; margin: 0; }
.task-list-entry:has([data-select-task]:checked) .task-card { background: #effaf6; border-color: #89cbb4; }
@media (max-width: 959px) {
  .task-filter-button { width: 44px; min-height: 44px; }
  .task-page-controls button, .task-page-size select, .select-completed-page, .delete-selected-tasks { min-height: 44px; }
  .task-list-entry.has-selection .card-footer { padding-left: 32px; }
  .task-select-control { width: 30px; height: 44px; }
}
