/* Daily To Do List */
.todo-summary {
  font-size: 12px;
  color: var(--text-muted);
  margin: -4px 0 8px;
}

.todo-list {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 2px 14px;
  margin-bottom: 10px;
}

.todo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.todo-row + .todo-row {
  border-top: 1px solid var(--border);
}

.todo-title {
  flex: 1;
  min-width: 0;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.todo-row.is-completed .todo-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.todo-empty {
  padding: 28px 16px;
}

.todo-add {
  display: flex;
  gap: 8px;
}

.todo-add input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--text-primary);
  font: inherit;
}

.todo-add input:focus {
  outline: none;
  border-color: var(--accent);
}

.todo-add .btn {
  flex: none;
  padding: 10px 18px;
}
